@anthropic-ai/claude-code 2.1.197 → 2.1.198
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/package.json +10 -10
- package/sdk-tools.d.ts +13 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Claude Code
|
|
2
2
|
|
|
3
|
-
 [![npm]](https://www.npmjs.com/package/@anthropic-ai/claude-code)
|
|
4
4
|
|
|
5
5
|
[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-code",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.198",
|
|
4
4
|
"bin": {
|
|
5
5
|
"claude": "bin/claude.exe"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"prepare": "node -e \"if (!process.env.AUTHORIZED) { console.error('ERROR: Direct publishing is not allowed.\\nPlease see the release workflow documentation to publish this package.'); process.exit(1); }\""
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": ">=
|
|
12
|
+
"node": ">=22.0.0"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"author": "Anthropic <support@anthropic.com>",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@anthropic-ai/claude-code-darwin-arm64": "2.1.
|
|
25
|
-
"@anthropic-ai/claude-code-darwin-x64": "2.1.
|
|
26
|
-
"@anthropic-ai/claude-code-linux-x64": "2.1.
|
|
27
|
-
"@anthropic-ai/claude-code-linux-arm64": "2.1.
|
|
28
|
-
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.
|
|
29
|
-
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.
|
|
30
|
-
"@anthropic-ai/claude-code-win32-x64": "2.1.
|
|
31
|
-
"@anthropic-ai/claude-code-win32-arm64": "2.1.
|
|
24
|
+
"@anthropic-ai/claude-code-darwin-arm64": "2.1.198",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.198",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.198",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.198",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.198",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.198",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.198",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.198"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -428,7 +428,7 @@ export interface AgentInput {
|
|
|
428
428
|
*/
|
|
429
429
|
model?: "sonnet" | "opus" | "haiku" | "fable";
|
|
430
430
|
/**
|
|
431
|
-
*
|
|
431
|
+
* Agents run in the background by default; you will be notified when one completes. Set to false to run this agent synchronously when you need its result before continuing.
|
|
432
432
|
*/
|
|
433
433
|
run_in_background?: boolean;
|
|
434
434
|
/**
|
|
@@ -630,7 +630,7 @@ export interface GrepInput {
|
|
|
630
630
|
}
|
|
631
631
|
export interface TaskStopInput {
|
|
632
632
|
/**
|
|
633
|
-
* The ID of the background task to stop
|
|
633
|
+
* The ID of the background task to stop. Agent-team teammates and named background agents are also accepted by agent ID or name.
|
|
634
634
|
*/
|
|
635
635
|
task_id?: string;
|
|
636
636
|
/**
|
|
@@ -3271,6 +3271,10 @@ export interface AskUserQuestionOutput {
|
|
|
3271
3271
|
notes?: string;
|
|
3272
3272
|
};
|
|
3273
3273
|
};
|
|
3274
|
+
/**
|
|
3275
|
+
* Set when the dialog auto-resolved after this many milliseconds of idle (user away from keyboard). Absent on every human-resolved path.
|
|
3276
|
+
*/
|
|
3277
|
+
afkTimeoutMs?: number;
|
|
3274
3278
|
}
|
|
3275
3279
|
export interface EnterWorktreeOutput {
|
|
3276
3280
|
worktreePath: string;
|
|
@@ -3327,7 +3331,13 @@ export interface ArtifactOutput {
|
|
|
3327
3331
|
path: string;
|
|
3328
3332
|
title?: string;
|
|
3329
3333
|
version?: string;
|
|
3330
|
-
|
|
3334
|
+
capabilities?: unknown;
|
|
3335
|
+
stored?: {
|
|
3336
|
+
contract: string;
|
|
3337
|
+
capabilities?: {
|
|
3338
|
+
[k: string]: unknown;
|
|
3339
|
+
};
|
|
3340
|
+
};
|
|
3331
3341
|
}
|
|
3332
3342
|
export interface RemoteTriggerOutput {
|
|
3333
3343
|
status: number;
|