@schemastore/claude-code-settings 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +46 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -130,6 +130,10 @@ export interface ClaudeCodeSettings {
|
|
|
130
130
|
* Path to a script that refreshes AWS authentication
|
|
131
131
|
*/
|
|
132
132
|
awsAuthRefresh?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Glob patterns for CLAUDE.md files to exclude from loading. Useful in monorepos to skip irrelevant instructions from other teams. Patterns match against absolute file paths. Arrays merge across settings layers. Managed policy CLAUDE.md files cannot be excluded. See https://code.claude.com/docs/en/memory#exclude-specific-claudemd-files
|
|
135
|
+
*/
|
|
136
|
+
claudeMdExcludes?: string[];
|
|
133
137
|
/**
|
|
134
138
|
* Number of days to retain chat transcripts (0 to disable cleanup)
|
|
135
139
|
*/
|
|
@@ -228,7 +232,13 @@ export interface ClaudeCodeSettings {
|
|
|
228
232
|
*/
|
|
229
233
|
availableModels?: string[];
|
|
230
234
|
/**
|
|
231
|
-
*
|
|
235
|
+
* Map Anthropic model IDs to provider-specific model IDs such as Bedrock inference profile ARNs, Vertex AI version names, or Foundry deployment names. Each model picker entry uses its mapped value when calling the provider API. Unknown keys are ignored. See https://code.claude.com/docs/en/model-config#override-model-ids-per-version
|
|
236
|
+
*/
|
|
237
|
+
modelOverrides?: {
|
|
238
|
+
[k: string]: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Control Opus 4.6 adaptive reasoning effort. Lower effort is faster and cheaper for straightforward tasks, higher effort provides deeper reasoning. Defaults vary by model and plan (Opus 4.6 defaults to medium for Max and Team subscribers). Use /effort auto to reset to model default. Also configurable via CLAUDE_CODE_EFFORT_LEVEL environment variable. See https://code.claude.com/docs/en/model-config#adjust-effort-level
|
|
232
242
|
*/
|
|
233
243
|
effortLevel?: 'low' | 'medium' | 'high';
|
|
234
244
|
/**
|
|
@@ -239,6 +249,10 @@ export interface ClaudeCodeSettings {
|
|
|
239
249
|
* Require per-session opt-in for fast mode. When true, fast mode does not persist across sessions and users must enable it with /fast each session. Useful for controlling costs. See https://code.claude.com/docs/en/fast-mode
|
|
240
250
|
*/
|
|
241
251
|
fastModePerSessionOptIn?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Probability (0–1) that the session quality survey appears when eligible. A value of 0.05 means 5% of eligible sessions. See https://code.claude.com/docs/en/settings
|
|
254
|
+
*/
|
|
255
|
+
feedbackSurveyRate?: number;
|
|
242
256
|
/**
|
|
243
257
|
* Whether to automatically approve all MCP servers in the project. See https://code.claude.com/docs/en/mcp
|
|
244
258
|
*/
|
|
@@ -297,6 +311,10 @@ export interface ClaudeCodeSettings {
|
|
|
297
311
|
serverUrl: string;
|
|
298
312
|
}
|
|
299
313
|
)[];
|
|
314
|
+
/**
|
|
315
|
+
* Allowlist of environment variable names HTTP hooks may interpolate into headers. When set, each hook's effective allowedEnvVars is the intersection with this list. Undefined = no restriction. Arrays merge across settings sources. See https://code.claude.com/docs/en/settings#hook-configuration
|
|
316
|
+
*/
|
|
317
|
+
httpHookAllowedEnvVars?: string[];
|
|
300
318
|
/**
|
|
301
319
|
* Custom commands to run before/after tool executions. See https://code.claude.com/docs/en/hooks
|
|
302
320
|
*/
|
|
@@ -341,6 +359,18 @@ export interface ClaudeCodeSettings {
|
|
|
341
359
|
* Hooks that run before the context is compacted
|
|
342
360
|
*/
|
|
343
361
|
PreCompact?: HookMatcher[];
|
|
362
|
+
/**
|
|
363
|
+
* Hooks that run after the context is compacted. See https://code.claude.com/docs/en/hooks
|
|
364
|
+
*/
|
|
365
|
+
PostCompact?: HookMatcher[];
|
|
366
|
+
/**
|
|
367
|
+
* Hooks that run when an MCP server requests user input during a tool call. See https://code.claude.com/docs/en/hooks
|
|
368
|
+
*/
|
|
369
|
+
Elicitation?: HookMatcher[];
|
|
370
|
+
/**
|
|
371
|
+
* Hooks that run after a user responds to an MCP elicitation, before the response is sent back to the server. See https://code.claude.com/docs/en/hooks
|
|
372
|
+
*/
|
|
373
|
+
ElicitationResult?: HookMatcher[];
|
|
344
374
|
/**
|
|
345
375
|
* Hooks that run when an agent team teammate is about to go idle. Exit code 2 sends feedback and keeps the teammate working. Does not support matchers. Agent teams are experimental. See https://code.claude.com/docs/en/hooks#teammateidle
|
|
346
376
|
*/
|
|
@@ -382,6 +412,10 @@ export interface ClaudeCodeSettings {
|
|
|
382
412
|
* Disable all hooks and statusLine execution. When true in managed settings, user and project-level disableAllHooks cannot override it. See https://code.claude.com/docs/en/hooks#disable-or-remove-hooks
|
|
383
413
|
*/
|
|
384
414
|
disableAllHooks?: boolean;
|
|
415
|
+
/**
|
|
416
|
+
* Allowlist of URL patterns that HTTP hooks may target. Supports * as a wildcard. When set, hooks with non-matching URLs are blocked. Undefined = no restriction, empty array = block all HTTP hooks. Arrays merge across settings sources. See https://code.claude.com/docs/en/settings#hook-configuration
|
|
417
|
+
*/
|
|
418
|
+
allowedHttpHookUrls?: string[];
|
|
385
419
|
/**
|
|
386
420
|
* (Managed settings only) Prevent loading of user, project, and plugin hooks. Only allows managed hooks and SDK hooks. See https://code.claude.com/docs/en/settings#hook-configuration
|
|
387
421
|
*/
|
|
@@ -665,7 +699,7 @@ export interface ClaudeCodeSettings {
|
|
|
665
699
|
*/
|
|
666
700
|
otelHeadersHelper?: string;
|
|
667
701
|
/**
|
|
668
|
-
* Controls the output style for assistant responses. See https://code.claude.com/docs/en/output-styles
|
|
702
|
+
* Controls the output style for assistant responses. Built-in styles: default, Explanatory, Learning. Custom styles can be added in ~/.claude/output-styles/ or .claude/output-styles/. See https://code.claude.com/docs/en/output-styles
|
|
669
703
|
*/
|
|
670
704
|
outputStyle?: string;
|
|
671
705
|
/**
|
|
@@ -705,7 +739,7 @@ export interface ClaudeCodeSettings {
|
|
|
705
739
|
*/
|
|
706
740
|
allowedDomains?: string[];
|
|
707
741
|
/**
|
|
708
|
-
* (Managed settings only) Only allowedDomains and WebFetch(domain:...) allow rules from managed settings are respected. User, project, local, and flag settings domains are ignored. Denied domains are still respected from all sources.
|
|
742
|
+
* (Managed settings only) Only allowedDomains and WebFetch(domain:...) allow rules from managed settings are respected. User, project, local, and flag settings domains are ignored. Denied domains are still respected from all sources. Non-allowed domains are automatically blocked without user prompts.
|
|
709
743
|
*/
|
|
710
744
|
allowManagedDomainsOnly?: boolean;
|
|
711
745
|
};
|
|
@@ -818,6 +852,15 @@ export interface ClaudeCodeSettings {
|
|
|
818
852
|
* How agent team teammates display: "auto" picks split panes in tmux or iTerm2, in-process otherwise. Agent teams are experimental and disabled by default. Enable them by adding CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to your settings.json or environment. See https://code.claude.com/docs/en/agent-teams
|
|
819
853
|
*/
|
|
820
854
|
teammateMode?: 'auto' | 'in-process' | 'tmux';
|
|
855
|
+
/**
|
|
856
|
+
* Configuration for --worktree sessions. See https://code.claude.com/docs/en/settings
|
|
857
|
+
*/
|
|
858
|
+
worktree?: {
|
|
859
|
+
/**
|
|
860
|
+
* Directories to check out in each worktree via git sparse-checkout (cone mode). Only the listed paths are written to disk, which is faster in large monorepos.
|
|
861
|
+
*/
|
|
862
|
+
sparsePaths?: string[];
|
|
863
|
+
};
|
|
821
864
|
/**
|
|
822
865
|
* (Managed settings only) Custom message appended to the plugin trust warning shown before installation. Use to provide organization-specific context about approved plugins. See https://code.claude.com/docs/en/settings#plugin-settings
|
|
823
866
|
*/
|
package/package.json
CHANGED