@anthropic-ai/claude-code 2.1.208 → 2.1.210

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 (2) hide show
  1. package/package.json +9 -9
  2. package/sdk-tools.d.ts +21 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.208",
3
+ "version": "2.1.210",
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.208",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.208",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.208",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.208",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.208",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.208",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.208",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.208"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.210",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.210",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.210",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.210",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.210",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.210",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.210",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.210"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -375,8 +375,10 @@ export type ArtifactOutput =
375
375
  title: string;
376
376
  url: string;
377
377
  updatedAt?: string;
378
+ rel?: "mine" | "shared";
378
379
  }[];
379
380
  truncated?: boolean;
381
+ scope?: "shared" | "all";
380
382
  };
381
383
  export type ProjectsOutput =
382
384
  | {
@@ -2609,11 +2611,11 @@ export interface MonitorInput {
2609
2611
  }
2610
2612
  export interface ArtifactInput {
2611
2613
  /**
2612
- * Omit (or 'publish') to publish file_path. 'list' enumerates the user's published artifacts; only `limit` may accompany it.
2614
+ * 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.
2613
2615
  */
2614
2616
  action?: "publish" | "list";
2615
2617
  /**
2616
- * 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>.
2618
+ * Path to an .html or .md 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.
2617
2619
  */
2618
2620
  file_path?: string;
2619
2621
  /**
@@ -2624,6 +2626,14 @@ export interface ArtifactInput {
2624
2626
  * list only: maximum artifacts to return (default 25).
2625
2627
  */
2626
2628
  limit?: number;
2629
+ /**
2630
+ * list only: 'mine' (default) lists artifacts the user owns — the only ones the update flow can target; 'shared' lists artifacts other people shared with the user (read-only); 'all' lists both. Rows are labeled (mine)/(shared) whenever scope is not 'mine'.
2631
+ */
2632
+ scope?: "mine" | "shared" | "all";
2633
+ /**
2634
+ * Title for the artifact — the name shown in the browser tab and gallery. Prefer a <title> tag in the HTML itself; this parameter fills in only when the file lacks one and never overrides the tag. HTML publishes only — Markdown pages keep their filename identity. Content always comes from file_path — there is no inline content parameter.
2635
+ */
2636
+ title?: string;
2627
2637
  /**
2628
2638
  * One-sentence subtitle shown on the gallery card. Say what the page is or does.
2629
2639
  */
@@ -2697,6 +2707,14 @@ export interface BashOutput {
2697
2707
  * True if the user manually backgrounded the command with Ctrl+B
2698
2708
  */
2699
2709
  backgroundedByUser?: boolean;
2710
+ /**
2711
+ * Set when the command hit its timeout and was auto-backgrounded; the timeout value in ms
2712
+ */
2713
+ timedOutAfterMs?: number;
2714
+ /**
2715
+ * Model-facing note that the session cwd was not changed by a backgrounded command containing a directory-change builtin (cd/pushd/popd/chdir)
2716
+ */
2717
+ backgroundCwdHint?: string;
2700
2718
  /**
2701
2719
  * Flag to indicate if sandbox mode was overridden
2702
2720
  */
@@ -2913,6 +2931,7 @@ export interface GrepOutput {
2913
2931
  numLines?: number;
2914
2932
  numMatches?: number;
2915
2933
  totalFiles?: number;
2934
+ totalLines?: number;
2916
2935
  appliedLimit?: number;
2917
2936
  appliedOffset?: number;
2918
2937
  }