@anthropic-ai/claude-code 2.1.245 → 2.1.247
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/package.json +9 -9
- package/sdk-tools.d.ts +5 -21
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.247",
|
|
4
4
|
"bin": {
|
|
5
5
|
"claude": "bin/claude.exe"
|
|
6
6
|
},
|
|
@@ -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.247",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.247",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.247",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.247",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.247",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.247",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.247",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.247"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -103,22 +103,6 @@ export type ToolOutputSchemas =
|
|
|
103
103
|
export type AgentOutput =
|
|
104
104
|
| {
|
|
105
105
|
agentId: string;
|
|
106
|
-
/**
|
|
107
|
-
* @internal Count of leading harness-authored content blocks (hand-back provenance bookkeeping; not a stable consumer field)
|
|
108
|
-
*/
|
|
109
|
-
harnessNoteCount?: number;
|
|
110
|
-
/**
|
|
111
|
-
* @internal Count of trailing harness-authored content blocks (hand-back provenance bookkeeping; not a stable consumer field)
|
|
112
|
-
*/
|
|
113
|
-
harnessTailCount?: number;
|
|
114
|
-
/**
|
|
115
|
-
* @internal Fingerprint binding the harness section counts to the exact content they were computed against; a hook rewrite invalidates the counts rather than misplacing rewritten bytes
|
|
116
|
-
*/
|
|
117
|
-
harnessSectionHash?: string;
|
|
118
|
-
/**
|
|
119
|
-
* @internal The handoff review was skipped because the provenance frame covers this delivery (tengu_auto_mode_config.classifyHandoff: false); the tool_result mapper MUST compose the frame when set, regardless of a fresh flag read
|
|
120
|
-
*/
|
|
121
|
-
handoffReviewSkipped?: boolean;
|
|
122
106
|
agentType?: string;
|
|
123
107
|
content: {
|
|
124
108
|
type: "text";
|
|
@@ -3060,7 +3044,7 @@ export interface ProposeGoalInput {
|
|
|
3060
3044
|
}
|
|
3061
3045
|
export interface ArtifactInput {
|
|
3062
3046
|
/**
|
|
3063
|
-
* Omit (or 'publish') to publish file_path. 'list' enumerates artifacts — the user's own by default, see `scope`; only `limit` and `scope` may accompany it. 'read' returns the content of the published artifact at `url` (raw HTML for the user's own; an isolated summary, steered by the optional `prompt`, for one shared with them, though a page published in this session's own Slack channel can come back in full as untrusted content) — see **To read an existing artifact's content**. 'watch', 'unwatch', and 'status' manage live-update subscriptions that notify a session when an artifact is republished elsewhere, and those aren't available in this session: 'watch' only reports that — no republish notification reaches this session — and 'status' lists this session's artifact watches (pass `url` to check one). 'upload_asset' adds one local media, PDF, or
|
|
3047
|
+
* Omit (or 'publish') to publish file_path. 'list' enumerates artifacts — the user's own by default, see `scope`; only `limit` and `scope` may accompany it. 'read' returns the content of the published artifact at `url` (raw HTML for the user's own; an isolated summary, steered by the optional `prompt`, for one shared with them, though a page published in this session's own Slack channel can come back in full as untrusted content) — see **To read an existing artifact's content**. 'watch', 'unwatch', and 'status' manage live-update subscriptions that notify a session when an artifact is republished elsewhere, and those aren't available in this session: 'watch' only reports that — no republish notification reaches this session — and 'status' lists this session's artifact watches (pass `url` to check one). 'upload_asset' adds one local media, PDF, font, or text file to an existing artifact — pass `url` and `file_path`. 'list_assets' lists the files in an artifact's asset store (pass `url`; `after` continues a listing), 'read_asset' saves one of them to a local file named by its id (pass `url` and `asset_id`, optionally `out_dir`), and 'delete_asset' permanently removes one (pass `url` and `asset_id`). See **Artifact assets** above.
|
|
3064
3048
|
*/
|
|
3065
3049
|
action?:
|
|
3066
3050
|
| "publish"
|
|
@@ -3074,7 +3058,7 @@ export interface ArtifactInput {
|
|
|
3074
3058
|
| "read_asset"
|
|
3075
3059
|
| "delete_asset";
|
|
3076
3060
|
/**
|
|
3077
|
-
* Path to the .html file to render. Required to publish (the default action). Use a short, distinctive basename — it is the last-resort title when the HTML has no <title> and no `title` parameter is given. For 'upload_asset', the local image, video, PDF, or
|
|
3061
|
+
* Path to the .html file to render. Required to publish (the default action). Use a short, distinctive basename — it is the last-resort title when the HTML has no <title> and no `title` parameter is given. For 'upload_asset', the local image, video, PDF, font, or text (CSV, Markdown, JSON, plain text) file to upload.
|
|
3078
3062
|
*/
|
|
3079
3063
|
file_path?: string;
|
|
3080
3064
|
/**
|
|
@@ -3237,7 +3221,7 @@ export interface BashOutput {
|
|
|
3237
3221
|
*/
|
|
3238
3222
|
ghRateLimitHint?: string;
|
|
3239
3223
|
/**
|
|
3240
|
-
*
|
|
3224
|
+
* Structured classification of git/gh operations detected in this command (commit/push/merge/rebase/PR). Client-facing — lets clients render git activity without re-parsing stdout; not surfaced to the model.
|
|
3241
3225
|
*/
|
|
3242
3226
|
gitOperation?: {
|
|
3243
3227
|
commit?: {
|
|
@@ -3358,7 +3342,7 @@ export interface FileWriteOutput {
|
|
|
3358
3342
|
*/
|
|
3359
3343
|
content: string;
|
|
3360
3344
|
/**
|
|
3361
|
-
* Diff patch showing the changes
|
|
3345
|
+
* Diff patch showing the changes (empty when nothing changed, the diff timed out, or — with originalFile null on an update — the previous content was too large to diff)
|
|
3362
3346
|
*/
|
|
3363
3347
|
structuredPatch: {
|
|
3364
3348
|
oldStart: number;
|
|
@@ -3368,7 +3352,7 @@ export interface FileWriteOutput {
|
|
|
3368
3352
|
lines: string[];
|
|
3369
3353
|
}[];
|
|
3370
3354
|
/**
|
|
3371
|
-
* The original file content before the write (null for new files)
|
|
3355
|
+
* The original file content before the write (null for new files, or when the previous content was too large to include)
|
|
3372
3356
|
*/
|
|
3373
3357
|
originalFile: string | null;
|
|
3374
3358
|
gitDiff?: {
|