Skip to content
Reference

Settings and configuration

Sprocket app settings, server ports, environment variables, local data directories, and credential storage.

App settings

Open Settings or switch between light and dark mode from the sidebar.

General

SettingDefault
Automatically name threadsOn
Continue agents automatically after restarts and crashesOn
Settle threads when their PRs mergeOff

Version control

SettingDefault
Add Sprocket as a co-author on agent commitsOn
Pull the latest code automaticallyOff

See Pull the latest code for how automatic pulls work.

Other settings pages cover account and AI usage, providers, payments, and connectors.

Environment variables

VariableEffectDefault
SPROCKET_PORTPort for the local server. The desktop app reads it too.17731
SPROCKET_HOSTAddress the server listens on. It accepts connections only from this machine.127.0.0.1
SPROCKET_DATA_DIRData directory. The desktop app reads it too.~/.sprocket
SPROCKET_WAKATIME_CLIOpt in to WakaTime or Hackatime AI activity tracking with this CLI executable.Off
SPROCKET_DESKTOP_EXECUTABLEPath to the desktop app that sprocket opens.The path in desktop-executable
RUST_LOGLog filter, such as info or sprocket_host=debug. sprocket_server logs stay at errors only.error,sprocket_agent=info,sprocket_transcript=warn

Data directory

Sprocket keeps its local state in ~/.sprocket on every OS. On Windows without HOME set, it uses %USERPROFILE%\.sprocket.

Each data directory is a separate profile with its own sign-in. To run a second profile alongside the first, set both SPROCKET_DATA_DIR and a different SPROCKET_PORT.

PathContents
credentials/Your sign-in, when stored in a file
transcripts/Cached thread transcripts, attachments, and command logs
tools/Tools Sprocket installs for the agent
connectors/Installed connector files
desktop-executableWhere the desktop app is, saved each time it starts
cli-server.logLog of the temporary server the CLI starts

Transcript files

Thread files live in transcripts/<user-id>/<thread-id>/:

PathContents
parts/00000000.jsonlParts 0-99, sorted by number. Filenames start each 100-part range.
attachments/Downloaded and uploaded attachments, with their metadata.
command-logs/Command output and session details.

Convex holds the full transcript. Sprocket downloads the newest parts first, and downloads older parts only while the thread is open in a tab or an agent is running in it.

From the thread directory, cat parts/*.jsonl reads cached parts in order. The cache can have gaps while older history downloads.

Credentials

Sprocket stores your sign-in in the OS keyring when one is available. Otherwise it uses an unencrypted file in the data directory that only your user can read. sprocket login tells you when it uses this fallback.

To choose the store yourself:

sprocket logout
sprocket login --credential-store keyring

Use --credential-store file to always use the file. Your choice applies to this data directory.