@anthropic-ai/claude-code 2.1.243 → 2.1.246
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 +4 -4
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.246",
|
|
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.246",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.246",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.246",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.246",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.246",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.246",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.246",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.246"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -3060,7 +3060,7 @@ export interface ProposeGoalInput {
|
|
|
3060
3060
|
}
|
|
3061
3061
|
export interface ArtifactInput {
|
|
3062
3062
|
/**
|
|
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
|
|
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, 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
3064
|
*/
|
|
3065
3065
|
action?:
|
|
3066
3066
|
| "publish"
|
|
@@ -3074,7 +3074,7 @@ export interface ArtifactInput {
|
|
|
3074
3074
|
| "read_asset"
|
|
3075
3075
|
| "delete_asset";
|
|
3076
3076
|
/**
|
|
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
|
|
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, font, or text (CSV, Markdown, JSON, plain text) file to upload.
|
|
3078
3078
|
*/
|
|
3079
3079
|
file_path?: string;
|
|
3080
3080
|
/**
|
|
@@ -3358,7 +3358,7 @@ export interface FileWriteOutput {
|
|
|
3358
3358
|
*/
|
|
3359
3359
|
content: string;
|
|
3360
3360
|
/**
|
|
3361
|
-
* Diff patch showing the changes
|
|
3361
|
+
* 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
3362
|
*/
|
|
3363
3363
|
structuredPatch: {
|
|
3364
3364
|
oldStart: number;
|
|
@@ -3368,7 +3368,7 @@ export interface FileWriteOutput {
|
|
|
3368
3368
|
lines: string[];
|
|
3369
3369
|
}[];
|
|
3370
3370
|
/**
|
|
3371
|
-
* The original file content before the write (null for new files)
|
|
3371
|
+
* The original file content before the write (null for new files, or when the previous content was too large to include)
|
|
3372
3372
|
*/
|
|
3373
3373
|
originalFile: string | null;
|
|
3374
3374
|
gitDiff?: {
|