@anthropic-ai/claude-code 2.1.200 → 2.1.202

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 +16 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.200",
3
+ "version": "2.1.202",
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.200",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.200",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.200",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.200",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.200",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.200",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.200",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.200"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.202",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.202",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.202",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.202",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.202",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.202",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.202",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.202"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2518,17 +2518,21 @@ export interface CronDeleteInput {
2518
2518
  export interface CronListInput {}
2519
2519
  export interface ScheduleWakeupInput {
2520
2520
  /**
2521
- * Seconds from now to wake up. Clamped to [60, 3600] by the runtime.
2521
+ * Seconds from now to wake up. Clamped to [60, 3600] by the runtime. Required unless `stop` is true.
2522
2522
  */
2523
- delaySeconds: number;
2523
+ delaySeconds?: number;
2524
2524
  /**
2525
- * One short sentence explaining the chosen delay. Goes to telemetry and is shown to the user. Be specific.
2525
+ * One short sentence explaining the chosen delay. Goes to telemetry and is shown to the user. Be specific. Required unless `stop` is true.
2526
2526
  */
2527
- reason: string;
2527
+ reason?: string;
2528
2528
  /**
2529
- * The /loop input to fire on wake-up. Pass the same /loop input verbatim each turn so the next firing re-enters the skill and continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` instead (the dynamic-pacing variant, not the CronCreate-mode `<<autonomous-loop>>`).
2529
+ * The /loop input to fire on wake-up. Pass the same /loop input verbatim each turn so the next firing re-enters the skill and continues the loop. For autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` instead (the dynamic-pacing variant, not the CronCreate-mode `<<autonomous-loop>>`). Required unless `stop` is true.
2530
2530
  */
2531
- prompt: string;
2531
+ prompt?: string;
2532
+ /**
2533
+ * Set to true to end the dynamic loop immediately instead of scheduling another wakeup. When true, all other fields are ignored and no further wakeups fire.
2534
+ */
2535
+ stop?: boolean;
2532
2536
  }
2533
2537
  export interface RemoteTriggerInput {
2534
2538
  action: "list" | "get" | "create" | "update" | "run";
@@ -3355,6 +3359,8 @@ export interface ArtifactOutput {
3355
3359
  [k: string]: unknown;
3356
3360
  };
3357
3361
  };
3362
+ warnings?: string[];
3363
+ contract?: string;
3358
3364
  }
3359
3365
  export interface RemoteTriggerOutput {
3360
3366
  status: number;
@@ -3378,6 +3384,10 @@ export interface ScheduleWakeupOutput {
3378
3384
  * True if the requested delaySeconds was outside [60, 3600]
3379
3385
  */
3380
3386
  wasClamped: boolean;
3387
+ /**
3388
+ * True when the model ended the loop via `stop: true`
3389
+ */
3390
+ stopped?: boolean;
3381
3391
  }
3382
3392
  export interface MonitorOutput {
3383
3393
  /**