@cometix/claude-code 2.1.291 → 2.1.292

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 +10 -10
  2. package/sdk-tools.d.ts +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometix/claude-code",
3
- "version": "2.1.291",
3
+ "version": "2.1.292",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
@@ -31,15 +31,15 @@
31
31
  "smol-toml": "^1.8.0"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@cometix/claude-code-darwin-arm64": "2.1.291",
35
- "@cometix/claude-code-darwin-x64": "2.1.291",
36
- "@cometix/claude-code-linux-arm64": "2.1.291",
37
- "@cometix/claude-code-linux-x64": "2.1.291",
38
- "@cometix/claude-code-linux-arm64-musl": "2.1.291",
39
- "@cometix/claude-code-linux-x64-musl": "2.1.291",
40
- "@cometix/claude-code-win32-arm64": "2.1.291",
41
- "@cometix/claude-code-win32-x64": "2.1.291",
42
- "@cometix/claude-code-android-arm64": "2.1.291",
34
+ "@cometix/claude-code-darwin-arm64": "2.1.292",
35
+ "@cometix/claude-code-darwin-x64": "2.1.292",
36
+ "@cometix/claude-code-linux-arm64": "2.1.292",
37
+ "@cometix/claude-code-linux-x64": "2.1.292",
38
+ "@cometix/claude-code-linux-arm64-musl": "2.1.292",
39
+ "@cometix/claude-code-linux-x64-musl": "2.1.292",
40
+ "@cometix/claude-code-win32-arm64": "2.1.292",
41
+ "@cometix/claude-code-win32-x64": "2.1.292",
42
+ "@cometix/claude-code-android-arm64": "2.1.292",
43
43
  "@img/sharp-darwin-arm64": "0.34.5",
44
44
  "@img/sharp-darwin-x64": "0.34.5",
45
45
  "@img/sharp-linux-arm": "0.34.5",
package/sdk-tools.d.ts CHANGED
@@ -468,6 +468,8 @@ export type ArtifactOutput =
468
468
  pinned?: boolean;
469
469
  }[];
470
470
  truncated?: boolean;
471
+ total?: number;
472
+ total_at_least?: true;
471
473
  pins_enabled?: boolean;
472
474
  scope?: "shared" | "all";
473
475
  external_listed?: true;
@@ -779,6 +781,10 @@ export interface AgentInput {
779
781
  * Optional model override for this agent. Takes precedence over the agent definition's model frontmatter and the configured default subagent model. If omitted, uses the agent definition's model, else the default (inherits from the parent unless a default subagent model is configured). Ignored for subagent_type: "fork" — forks always inherit the parent model.
780
782
  */
781
783
  model?: "sonnet" | "opus" | "haiku" | "fable";
784
+ /**
785
+ * Reasoning effort for this agent. Set this ONLY when the user, or instructions such as CLAUDE.md or a skill, explicitly ask that this agent or delegated work run at a specific effort level, never on your own judgment; otherwise omit it and the agent runs at its usual effort.
786
+ */
787
+ effort?: "low" | "medium" | "high" | "xhigh" | "max";
782
788
  /**
783
789
  * Agents run in the background by default; you will be notified when one completes. Set to false only when your very next action depends on this agent's result and nothing else could usefully happen while it runs — otherwise leave it in the background so the user can hand you other work.
784
790
  */
@@ -3302,7 +3308,7 @@ export interface BashOutput {
3302
3308
  */
3303
3309
  backgroundCwdHint?: string;
3304
3310
  /**
3305
- * True when this backgrounded command is owned by a synchronous subagent and is therefore terminated when that agent gives its final response; absent when the command survives (main loop, async subagents)
3311
+ * True when this backgrounded command is terminated at its caller's final response, so no completion notification can follow (a synchronous subagent's command, or a headless session that takes no further input and is not waiting for background commands); absent when the command survives
3306
3312
  */
3307
3313
  backgroundEndsWithFinalResponse?: true;
3308
3314
  /**
@@ -4048,11 +4054,19 @@ export interface ReadNotificationsOutput {
4048
4054
  * Verbatim notification body.
4049
4055
  */
4050
4056
  content: string;
4057
+ /**
4058
+ * RFC3339 timestamp, by this machine's clock, of when the notification reached this session's queue. Missing from results saved before this field existed.
4059
+ */
4060
+ arrived_at?: string;
4051
4061
  }[];
4052
4062
  /**
4053
4063
  * Notifications still queued after this drain (drains are size-budgeted); call the tool again to read them.
4054
4064
  */
4055
4065
  remaining: number;
4066
+ /**
4067
+ * RFC3339 timestamp, by this machine's clock, of when this call read the queue. Missing from results saved before this field existed.
4068
+ */
4069
+ read_at?: string;
4056
4070
  }
4057
4071
  export interface ScheduleWakeupOutput {
4058
4072
  /**