@anthropic-ai/claude-code 2.0.76 → 2.0.77

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.
Files changed (3) hide show
  1. package/cli.js +3028 -2879
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.0.76",
3
+ "version": "2.0.77",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -26,7 +26,8 @@ export type ToolInputSchemas =
26
26
  | TodoWriteInput
27
27
  | WebFetchInput
28
28
  | WebSearchInput
29
- | AskUserQuestionInput;
29
+ | AskUserQuestionInput
30
+ | ConfigInput;
30
31
 
31
32
  export interface AgentInput {
32
33
  /**
@@ -50,7 +51,7 @@ export interface AgentInput {
50
51
  */
51
52
  resume?: string;
52
53
  /**
53
- * Set to true to run this agent in the background. Use TaskOutput to read the output later.
54
+ * Set to true to run this agent in the background. The tool result will include an output_file path - use Read tool or Bash tail to check on output.
54
55
  */
55
56
  run_in_background?: boolean;
56
57
  }
@@ -95,11 +96,11 @@ export interface TaskOutputInput {
95
96
  /**
96
97
  * Whether to wait for completion
97
98
  */
98
- block?: boolean;
99
+ block: boolean;
99
100
  /**
100
101
  * Max wait time in ms
101
102
  */
102
- timeout?: number;
103
+ timeout: number;
103
104
  }
104
105
  export interface ExitPlanModeInput {
105
106
  [k: string]: unknown;
@@ -1484,3 +1485,13 @@ export interface AskUserQuestionInput {
1484
1485
  [k: string]: string;
1485
1486
  };
1486
1487
  }
1488
+ export interface ConfigInput {
1489
+ /**
1490
+ * The setting key (e.g., "theme", "model", "permissions.defaultMode")
1491
+ */
1492
+ setting: string;
1493
+ /**
1494
+ * The new value. Omit to get current value.
1495
+ */
1496
+ value?: string | boolean | number;
1497
+ }