@anthropic-ai/claude-code 2.1.152 → 2.1.154

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 +31 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.152",
3
+ "version": "2.1.154",
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.152",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.152",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.152",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.152",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.152",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.152",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.152",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.152"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.154",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.154",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.154",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.154",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.154",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.154",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.154",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.154"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2282,7 +2282,7 @@ export interface WorkflowInput {
2282
2282
  */
2283
2283
  title?: string;
2284
2284
  /**
2285
- * Optional input value exposed to the script as the global `args`. Use for parameterized named workflows (e.g. a research question).
2285
+ * Optional input value exposed to the script as the global `args`, verbatim. Pass arrays/objects as actual JSON values, NOT as a JSON-encoded string — a stringified list breaks `args.filter`/`args.map` in the script. Use for parameterized named workflows (e.g. a research question).
2286
2286
  */
2287
2287
  args?: {
2288
2288
  [k: string]: unknown;
@@ -2458,6 +2458,36 @@ export interface BashOutput {
2458
2458
  * Model-facing system-reminder appended when a gh command reports a GitHub API rate-limit error
2459
2459
  */
2460
2460
  ghRateLimitHint?: string;
2461
+ /**
2462
+ * @internal 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.
2463
+ */
2464
+ gitOperation?: {
2465
+ commit?: {
2466
+ sha: string;
2467
+ kind: "committed" | "amended" | "cherry-picked";
2468
+ };
2469
+ push?: {
2470
+ branch: string;
2471
+ };
2472
+ branch?: {
2473
+ ref: string;
2474
+ action: "merged" | "rebased";
2475
+ };
2476
+ pr?: {
2477
+ number: number;
2478
+ url?: string;
2479
+ action:
2480
+ | "created"
2481
+ | "edited"
2482
+ | "merged"
2483
+ | "commented"
2484
+ | "closed"
2485
+ | "ready"
2486
+ | "draft"
2487
+ | "auto-merge-enabled"
2488
+ | "auto-merge-disabled";
2489
+ };
2490
+ };
2461
2491
  }
2462
2492
  export interface ExitPlanModeOutput {
2463
2493
  /**