Settings Reference¶
All settings use the sidekick.* prefix. Open VS Code Settings (Ctrl+,) and search for "sidekick".
Provider¶
| Setting | Default | Description |
|---|---|---|
sidekick.inferenceProvider |
auto |
AI provider: auto, claude-max, claude-api, opencode, codex |
sidekick.claudePath |
(empty) | Custom path to Claude CLI (for pnpm/yarn/non-standard installs) |
sidekick.sidekickCliPath |
(empty) | Custom path to the sidekick CLI executable (leave empty to auto-detect) |
sidekick.authMode is a deprecated compatibility setting (max-subscription or api-key, default max-subscription). Use sidekick.inferenceProvider for new configuration.
Updates¶
| Setting | Default | Description |
|---|---|---|
sidekick.updateCheck.enabled |
true |
Notify when a newer Sidekick Agent Hub extension is published (since 0.30.1) |
The extension checks 30 seconds after startup and then twice a day. It asks the registry your editor installs from: the Visual Studio Marketplace in VS Code, and Open VSX in Cursor, VSCodium, Windsurf and other forks. The notification offers Update (installs the new version, then offers a window reload), Release Notes, and Skip This Version. The same version is announced at most every 12 hours, across all open windows. Sidekick: Check for Updates checks on demand, even with the setting off. The CLI announces its own updates in the terminal; see CLI update notifications.
Accounts¶
| Setting | Default | Description |
|---|---|---|
sidekick.accounts.autoSwitchThreshold |
0 |
Quota utilization percentage (1–100) that triggers automatic switching to a healthier saved account. Set to 0 to disable. |
sidekick.accounts.keepAlive |
false |
Refresh saved-but-inactive accounts through the official claude / codex CLIs in their isolated profiles after activation and every six hours, so they do not expire while unused. |
When the threshold is greater than 0, the extension host watches multi-provider quota and switches to another saved account for the active provider once utilization crosses the threshold. Account sign-in and switching are available from the Accounts view, the status bar badge, and the Command Palette (Sidekick: Add Account…, Sidekick: Switch Account…, Ctrl+K Ctrl+Shift+A). See the Account Switcher guide and Account Management.
z.ai (OpenCode routing)¶
| Setting | Default | Description |
|---|---|---|
sidekick.zai.tier |
auto |
Deprecated compatibility setting from the former z.ai estimator. Authoritative z.ai quota now comes from the z.ai quota API and does not use local tier math. |
When OpenCode is configured with a z.ai Coding Plan (GLM), Sidekick reads authoritative 5-hour and weekly quota percentages from z.ai's quota endpoint using the z.ai token stored by OpenCode, with fallback support for the official plugin's ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables.
See OpenCode → z.ai Coding Plan quota for details and limitations.
Model Selection¶
All model settings accept: auto (recommended), a tier (fast/balanced/powerful), a legacy name (haiku/sonnet/opus), or a full model ID.
| Setting | Default | Auto Tier |
|---|---|---|
sidekick.inlineModel |
auto |
fast |
sidekick.transformModel |
auto |
powerful |
sidekick.commitMessageModel |
auto |
balanced |
sidekick.docModel |
auto |
fast |
sidekick.explanationModel |
auto |
balanced |
sidekick.errorModel |
auto |
balanced |
sidekick.inlineChatModel |
auto |
balanced |
sidekick.reviewModel |
auto |
balanced |
sidekick.prDescriptionModel |
auto |
balanced |
A literal fable also works: Claude Max passes it to Claude Code, and the Claude API client maps it to claude-fable-5-2. Each feature also asks for an effort (minimal for inline completions and commit messages, medium for code review and transforms, low otherwise), which the client turns into the settings the resolved model accepts.
See Model Resolution for details on how tiers map to models and how requests are tuned.
Inline Completions¶
| Setting | Default | Description |
|---|---|---|
sidekick.enabled |
true |
Enable inline completions |
sidekick.debounceMs |
0 |
Delay before a triggered completion request is sent (ms) |
sidekick.inlineContextLines |
30 |
Lines of context before/after cursor |
sidekick.multiline |
false |
Enable multi-line completions (prose files always use multiline) |
sidekick.transformContextLines |
50 |
Lines of context for transforms |
sidekick.showCompletionHint |
true |
Briefly show the Trigger Completion shortcut in the status bar after you pause typing, until you have used it once |
sidekick.completionHintDelayMs |
1500 |
Delay before showing hint (ms) |
Session Monitoring¶
| Setting | Default | Description |
|---|---|---|
sidekick.enableSessionMonitoring |
true |
Enable CLI agent session monitoring (requires a window reload) |
sidekick.sessionProvider |
auto |
Which agent to monitor: auto, claude-code, opencode, codex |
sidekick.enableSessionMonitoring is read once at activation, so changing it prompts you to reload the window. While it is false, the Agent Hub container keeps the Session Analytics view — which shows a placeholder with an Enable session monitoring button — and the Accounts view, and hides Mind Map, Activity Map, Kanban Board, Plans, Project Timeline, Latest Files Touched, Knowledge Notes, Subagents, and Event Stream.
Activity Map¶
| Setting | Default | Description |
|---|---|---|
sidekick.activityMap.motion |
auto |
auto follows VS Code's reduce-motion setting and the OS; full, reduced (fades only) or none |
sidekick.activityMap.layout |
you-top |
you-top, or you-bottom to put the network and browser at the top |
sidekick.activityMap.coreName |
"" |
What the centre says, up to ten characters; empty shows the agent's name |
sidekick.activityMap.labels |
names |
names shows names only; descriptive adds the short description the agent wrote for a command (also in exports and the HTML report); none uses fixed words only |
sidekick.activityMap.memory |
{"paths":[],"mcpServers":[],"commands":[]} |
Extra memory sources: paths (path fragments), mcpServers, commands |
sidekick.activityMap.stationOverrides |
{} |
Map a tool name or mcp__server__* to a station (files, network, memory, …) |
Classification settings (labels, memory, stationOverrides) apply to activity read after the change. See Activity Map.
Commit Messages¶
| Setting | Default | Description |
|---|---|---|
sidekick.commitMessageStyle |
conventional |
Format: conventional or simple |
sidekick.commitMessageGuidance |
(empty) | Default guidance for all commits |
sidekick.showCommitButton |
true |
Show sparkle button in Source Control |
Explanations¶
| Setting | Default | Description |
|---|---|---|
sidekick.explanationComplexity |
imposter-syndrome |
Default level: eli5, curious-amateur, imposter-syndrome, senior, phd |
Peak Hours¶
Only applies when the inference provider is Claude Max and the session provider is Claude Code. See Peak Hours for background.
| Setting | Default | Description |
|---|---|---|
sidekick.peakHours.enabled |
true |
Show Claude peak-hours indicator in the dashboard and status bar. Polls promoclock.co (third-party) every 15 minutes while the dashboard is open. |
sidekick.peakHours.notifyOnTransition |
false |
Show a one-time VS Code notification when peak hours start or end. |
Notifications¶
| Setting | Default | Description |
|---|---|---|
sidekick.notifications.enabled |
true |
Enable session notifications |
sidekick.notifications.triggers.env-access |
true |
Alert on credential file access |
sidekick.notifications.triggers.destructive-cmd |
true |
Alert on destructive commands |
sidekick.notifications.triggers.tool-error |
true |
Alert on tool error bursts |
sidekick.notifications.triggers.compaction |
true |
Alert on context compaction |
sidekick.notifications.triggers.sensitive-path-write |
true |
Alert on writes to sensitive paths |
sidekick.notifications.triggers.cycle-detected |
true |
Alert on detected agent retry cycles |
sidekick.notifications.tokenThreshold |
5000000 |
Total-token (incl. cache) threshold; warns once per session, then at most every 30 min (0 = disabled) |
sidekick.notifications.triggers.quota-threshold |
true |
Alert when a subscription window crosses a threshold |
sidekick.notifications.quotaFiveHourThresholds |
[80, 95] |
Five-hour window percentages that alert (highest is an error); ignored on plans without one (Ultra) |
sidekick.notifications.quotaSevenDayThresholds |
[90] |
Seven-day window percentages that alert (highest is an error) |
Deprecated
sidekick.inlineTimeout is deprecated and will be removed in a future release. Use sidekick.timeouts.inlineCompletion instead.
Timeouts¶
The dotted timeout names below describe fields of the sidekick.timeouts object. In settings.json, configure that object rather than separate dotted keys:
Omitted fields retain their defaults. sidekick.timeoutPerKb and the other scaling settings are separate top-level settings.
| Setting | Default | Description |
|---|---|---|
sidekick.timeouts.inlineCompletion |
15000 |
Inline completion timeout (ms) |
sidekick.timeouts.explanation |
30000 |
Explanation timeout (ms) |
sidekick.timeouts.commitMessage |
30000 |
Commit message timeout (ms) |
sidekick.timeouts.documentation |
45000 |
Documentation timeout (ms) |
sidekick.timeouts.codeTransform |
60000 |
Code transform timeout (ms) |
sidekick.timeouts.review |
45000 |
Pre-commit review timeout (ms) |
sidekick.timeouts.prDescription |
45000 |
PR description timeout (ms) |
sidekick.timeouts.inlineChat |
60000 |
Inline chat timeout (ms) |
sidekick.timeouts.errorExplanation |
30000 |
Error explanation timeout (ms) |
sidekick.timeoutPerKb |
500 |
Additional timeout per KB of context (ms) |
sidekick.maxTimeout |
120000 |
Maximum timeout cap (ms) |
sidekick.autoRetryOnTimeout |
false |
Auto-retry on timeout |
Event Logging¶
| Setting | Default | Description |
|---|---|---|
sidekick.enableEventLog |
false |
Record events to JSONL audit trail |
sidekick.eventLogMaxSizeMB |
500 |
Max total event log size before cleanup |
sidekick.eventLogMaxAgeDays |
30 |
Max age for event log files |
Pricing & Cost Tracking¶
| Setting | Default | Description |
|---|---|---|
sidekick.pricing.hydrateFromLiteLLM |
true |
Fetch the LiteLLM catalog — prices and context window sizes — on activation |
sidekick.pricing.cacheTtlHours |
24 |
How long to cache the LiteLLM catalog (hours) |
sidekick.customModelPricing |
{} |
Your own per-model prices, USD per million tokens (see below) |
sidekick.customModelPricingOnlyIfMissing |
false |
Use custom prices only where no catalog has an exact price |
The catalog is cached at ~/.config/sidekick/pricing-catalog.json with a 3s fetch timeout and stale-cache fallback. If the network is down, the last good cache is used; if there is no cache, the built-in table ships as a fallback.
Costs never read $0 when nothing was priced:
—when nothing was priced(partial)when some calls had no price; the figure covers only the priced calls(est.)marks catalog estimates (CLI only)
The VS Code dashboard adds an "N model(s) unpriced" note. The dashboard Health tab and Sidekick: Run Doctor (sidekick doctor in the CLI) name the pricing basis: catalog source, age, entry count and a digest.
Custom model prices¶
sidekick.customModelPricing prices models the catalogs don't know, such as local or private deployments, or applies negotiated rates:
"sidekick.customModelPricing": {
"my-local-model": {
"inputCostPerMillion": 0.5,
"outputCostPerMillion": 1.5,
"cacheReadCostPerMillion": 0.05,
"cacheWriteCostPerMillion": 0.625
}
}
- Keys are model ids as sessions report them. A key also matches the model's dated,
[1m], Bedrock and provider-prefixed spellings. - Cache rates default to the input rate when omitted, which usually overstates cache reads, so set them for accurate costs.
- Precedence: by default these prices win over the catalogs. Enable
sidekick.customModelPricingOnlyIfMissingto use them only to fill gaps. - Applying and checking: changes apply immediately, and the Health tab lists what was applied and any entry that was ignored.
The CLI reads the same shape from pricing.models in ~/.config/sidekick/cli-config.json (see CLI → Usage reports).
Context window sizes¶
The same catalog supplies context window sizes — it is literally named model_prices_and_context_window.json — so a newly released model sizes its context gauge correctly without waiting for an update.
Lookup is layered, most-trusted first: Claude Code's [1m] marker, then a window a provider actually reported, then the catalog, then the built-in table. Within that order an exact match in any layer beats a prefix match in every layer, so a known model is never sized from a catalog key that merely happens to be a prefix of its ID.
Windows that a provider reports for itself are remembered across runs in ~/.config/sidekick/observed-context-windows.json. Codex reports one on every token count, and it reflects the window your account tier actually gets — often well below the model's published maximum — which is why it outranks the catalog. That file is written locally, never fetched, and needs no setting of its own.
Session Handoff¶
| Setting | Default | Description |
|---|---|---|
sidekick.autoHandoff |
off |
Handoff mode: off, generate-only, generate-and-notify |
sidekick.handoffUrlTemplate |
(empty) | External URL with {sessionId}, {provider}, and {projectPath} identifier fields |