Configuration
App settings, environment variables, local data, and sign-in storage.
App settings
Open Settings or switch between light and dark mode from the sidebar.
General
| Setting | Default |
|---|---|
| Automatically name threads | On |
| Continue agents automatically after restarts and crashes | On |
| Settle threads when their PRs merge | Off |
Version control
| Setting | Default |
|---|---|
| Add Sprocket as a co-author on agent commits | On |
| Pull the latest code automatically | Off |
See Pull the latest code for how automatic pulls work.
Other settings pages cover account and AI usage, providers, payments, and connectors.
Environment variables
| Variable | Effect | Default |
|---|---|---|
SPROCKET_PORT | Port for the local server. The desktop app reads it too. | 17731 |
SPROCKET_HOST | Address the server listens on. It accepts connections only from this machine. | 127.0.0.1 |
SPROCKET_DATA_DIR | Data directory. The desktop app reads it too. | ~/.sprocket |
SPROCKET_WAKATIME_CLI | Opt in to WakaTime or Hackatime AI activity tracking with this CLI executable. | Off |
SPROCKET_DESKTOP_EXECUTABLE | Path to the desktop app that sprocket opens. | The path in desktop-executable |
RUST_LOG | Log 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.
| Path | Contents |
|---|---|
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-executable | Where the desktop app is, saved each time it starts |
cli-server.log | Log of the temporary server the CLI starts |
Transcript files
Thread files live in transcripts/<user-id>/<thread-id>/:
| Path | Contents |
|---|---|
parts/00000000.jsonl | Parts 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 keyringUse --credential-store file to always use the file. Your choice applies to this data directory.