@anthropic-ai/claude-code 2.1.202 → 2.1.203
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 +39 -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.203",
|
|
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.203",
|
|
25
|
+
"@anthropic-ai/claude-code-darwin-x64": "2.1.203",
|
|
26
|
+
"@anthropic-ai/claude-code-linux-x64": "2.1.203",
|
|
27
|
+
"@anthropic-ai/claude-code-linux-arm64": "2.1.203",
|
|
28
|
+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.203",
|
|
29
|
+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.203",
|
|
30
|
+
"@anthropic-ai/claude-code-win32-x64": "2.1.203",
|
|
31
|
+
"@anthropic-ai/claude-code-win32-arm64": "2.1.203"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/claude.exe",
|
package/sdk-tools.d.ts
CHANGED
|
@@ -345,6 +345,30 @@ export type McpOutput =
|
|
|
345
345
|
| {
|
|
346
346
|
[k: string]: unknown;
|
|
347
347
|
};
|
|
348
|
+
export type ArtifactOutput =
|
|
349
|
+
| {
|
|
350
|
+
url: string;
|
|
351
|
+
path: string;
|
|
352
|
+
title?: string;
|
|
353
|
+
version?: string;
|
|
354
|
+
capabilities?: unknown;
|
|
355
|
+
stored?: {
|
|
356
|
+
contract: string;
|
|
357
|
+
capabilities?: {
|
|
358
|
+
[k: string]: unknown;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
warnings?: string[];
|
|
362
|
+
contract?: string;
|
|
363
|
+
}
|
|
364
|
+
| {
|
|
365
|
+
artifacts: {
|
|
366
|
+
title: string;
|
|
367
|
+
url: string;
|
|
368
|
+
updatedAt?: string;
|
|
369
|
+
}[];
|
|
370
|
+
truncated?: boolean;
|
|
371
|
+
};
|
|
348
372
|
export type ProjectsOutput =
|
|
349
373
|
| {
|
|
350
374
|
method: "project_info";
|
|
@@ -399,6 +423,7 @@ export type ProjectsOutput =
|
|
|
399
423
|
doc_uuid: string;
|
|
400
424
|
replaced: boolean;
|
|
401
425
|
present_to_user?: boolean;
|
|
426
|
+
local_path?: string;
|
|
402
427
|
}
|
|
403
428
|
| {
|
|
404
429
|
method: "project_delete";
|
|
@@ -2575,13 +2600,21 @@ export interface MonitorInput {
|
|
|
2575
2600
|
}
|
|
2576
2601
|
export interface ArtifactInput {
|
|
2577
2602
|
/**
|
|
2578
|
-
*
|
|
2603
|
+
* Omit (or 'publish') to publish file_path. 'list' enumerates the user's published artifacts; only `limit` may accompany it.
|
|
2579
2604
|
*/
|
|
2580
|
-
|
|
2605
|
+
action?: "publish" | "list";
|
|
2581
2606
|
/**
|
|
2582
|
-
*
|
|
2607
|
+
* Path to an .html or .md file to render. Required to publish (the default action). Use a short, distinctive basename — it is the fallback title if the HTML has no <title>.
|
|
2583
2608
|
*/
|
|
2584
|
-
|
|
2609
|
+
file_path?: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Required to publish. Keep stable across redeploys; change only on a hard topic pivot.
|
|
2612
|
+
*/
|
|
2613
|
+
favicon?: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* list only: maximum artifacts to return (default 25).
|
|
2616
|
+
*/
|
|
2617
|
+
limit?: number;
|
|
2585
2618
|
/**
|
|
2586
2619
|
* One-sentence subtitle shown on the gallery card. Say what the page is or does.
|
|
2587
2620
|
*/
|
|
@@ -2591,7 +2624,7 @@ export interface ArtifactInput {
|
|
|
2591
2624
|
*/
|
|
2592
2625
|
label?: string;
|
|
2593
2626
|
/**
|
|
2594
|
-
* Existing artifact URL to
|
|
2627
|
+
* Existing artifact URL to update in place. Pass whenever the user wants to update an artifact this conversation did not publish — "update my artifact", "keep the same link", a pasted artifact URL — and find the URL with action: "list" if you don't have it; without this, a conversation that didn't publish the artifact always mints a new URL. Omit for new artifacts and same-conversation redeploys. Must be an artifact the user owns.
|
|
2595
2628
|
*/
|
|
2596
2629
|
url?: string;
|
|
2597
2630
|
/**
|
|
@@ -2612,7 +2645,7 @@ export interface EnterWorktreeInput {
|
|
|
2612
2645
|
*/
|
|
2613
2646
|
name?: string;
|
|
2614
2647
|
/**
|
|
2615
|
-
* Path to an existing worktree
|
|
2648
|
+
* Path to an existing worktree to switch into instead of creating a new one. Must appear in `git worktree list` for the current repo — or, on first entry from the launch directory, for a repo nested inside it (multi-repo workspace). Mutually exclusive with `name`.
|
|
2616
2649
|
*/
|
|
2617
2650
|
path?: string;
|
|
2618
2651
|
}
|
|
@@ -3347,21 +3380,6 @@ export interface TaskListOutput {
|
|
|
3347
3380
|
blockedBy: string[];
|
|
3348
3381
|
}[];
|
|
3349
3382
|
}
|
|
3350
|
-
export interface ArtifactOutput {
|
|
3351
|
-
url: string;
|
|
3352
|
-
path: string;
|
|
3353
|
-
title?: string;
|
|
3354
|
-
version?: string;
|
|
3355
|
-
capabilities?: unknown;
|
|
3356
|
-
stored?: {
|
|
3357
|
-
contract: string;
|
|
3358
|
-
capabilities?: {
|
|
3359
|
-
[k: string]: unknown;
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
warnings?: string[];
|
|
3363
|
-
contract?: string;
|
|
3364
|
-
}
|
|
3365
3383
|
export interface RemoteTriggerOutput {
|
|
3366
3384
|
status: number;
|
|
3367
3385
|
json: string;
|