@cometix/claude-code 2.1.275 → 2.1.277

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 +0 -92
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometix/claude-code",
3
- "version": "2.1.275",
3
+ "version": "2.1.277",
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.275",
35
- "@cometix/claude-code-darwin-x64": "2.1.275",
36
- "@cometix/claude-code-linux-arm64": "2.1.275",
37
- "@cometix/claude-code-linux-x64": "2.1.275",
38
- "@cometix/claude-code-linux-arm64-musl": "2.1.275",
39
- "@cometix/claude-code-linux-x64-musl": "2.1.275",
40
- "@cometix/claude-code-win32-arm64": "2.1.275",
41
- "@cometix/claude-code-win32-x64": "2.1.275",
42
- "@cometix/claude-code-android-arm64": "2.1.275",
34
+ "@cometix/claude-code-darwin-arm64": "2.1.277",
35
+ "@cometix/claude-code-darwin-x64": "2.1.277",
36
+ "@cometix/claude-code-linux-arm64": "2.1.277",
37
+ "@cometix/claude-code-linux-x64": "2.1.277",
38
+ "@cometix/claude-code-linux-arm64-musl": "2.1.277",
39
+ "@cometix/claude-code-linux-x64-musl": "2.1.277",
40
+ "@cometix/claude-code-win32-arm64": "2.1.277",
41
+ "@cometix/claude-code-win32-x64": "2.1.277",
42
+ "@cometix/claude-code-android-arm64": "2.1.277",
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
@@ -11,7 +11,6 @@
11
11
  export type ToolInputSchemas =
12
12
  | AgentInput
13
13
  | BashInput
14
- | TaskOutputInput
15
14
  | ExitPlanModeInput
16
15
  | FileEditInput
17
16
  | FileReadInput
@@ -38,7 +37,6 @@ export type ToolInputSchemas =
38
37
  | TaskGetInput
39
38
  | TaskUpdateInput
40
39
  | TaskListInput
41
- | REPLInput
42
40
  | WorkflowInput
43
41
  | CronCreateInput
44
42
  | CronDeleteInput
@@ -92,7 +90,6 @@ export type ToolOutputSchemas =
92
90
  | ProposeSkillsOutput
93
91
  | ProposeGoalOutput
94
92
  | EnterPlanModeOutput
95
- | REPLOutput
96
93
  | WorkflowOutput
97
94
  | CronCreateOutput
98
95
  | CronDeleteOutput
@@ -822,20 +819,6 @@ export interface BashInput {
822
819
  */
823
820
  dangerouslyDisableSandbox?: boolean;
824
821
  }
825
- export interface TaskOutputInput {
826
- /**
827
- * The task ID to get output from
828
- */
829
- task_id: string;
830
- /**
831
- * Whether to wait for completion
832
- */
833
- block: boolean;
834
- /**
835
- * Max wait time in ms
836
- */
837
- timeout: number;
838
- }
839
822
  export interface ExitPlanModeInput {
840
823
  /**
841
824
  * Deprecated: no longer used.
@@ -2849,20 +2832,6 @@ export interface TaskUpdateInput {
2849
2832
  };
2850
2833
  }
2851
2834
  export interface TaskListInput {}
2852
- export interface REPLInput {
2853
- /**
2854
- * JavaScript code to execute. Supports top-level await. State persists across calls.
2855
- */
2856
- code: string;
2857
- /**
2858
- * Clear, concise description of what this script does in active voice (5-10 words). E.g. "Trace upgrade message to its GrowthBook flag"
2859
- */
2860
- description?: string;
2861
- /**
2862
- * Optional timeout in milliseconds (default 30000, max 600000)
2863
- */
2864
- timeout?: number;
2865
- }
2866
2835
  export interface WorkflowInput {
2867
2836
  /**
2868
2837
  * Self-contained workflow script. Must begin with `export const meta = { name, description, phases }` (pure literal, no computed values) followed by the script body using agent()/parallel()/pipeline()/phase().
@@ -4109,67 +4078,6 @@ export interface EnterPlanModeOutput {
4109
4078
  */
4110
4079
  message: string;
4111
4080
  }
4112
- export interface REPLOutput {
4113
- /**
4114
- * The code that was executed
4115
- */
4116
- code: string;
4117
- /**
4118
- * Return value from the code execution
4119
- */
4120
- result?: {
4121
- [k: string]: unknown;
4122
- };
4123
- /**
4124
- * Captured console.log output
4125
- */
4126
- stdout: string;
4127
- /**
4128
- * Captured console.error output
4129
- */
4130
- stderr: string;
4131
- /**
4132
- * Error message if execution failed
4133
- */
4134
- error?: string;
4135
- /**
4136
- * True on an async-dispatch receipt or refusal: the script was handed to the async dispatcher (queued — outcome arrives later as a poll event — or refused at the queue cap), so this Output carries no execution output and resume replay must skip the block
4137
- */
4138
- asyncDispatched?: boolean;
4139
- /**
4140
- * Images returned by inner Read calls — surfaced as image content blocks
4141
- */
4142
- images?: {
4143
- base64: string;
4144
- mediaType: string;
4145
- }[];
4146
- /**
4147
- * Count of inner-Read images dropped by the per-result image cap; surfaced as a note in the tool_result
4148
- */
4149
- imagesOmitted?: number;
4150
- /**
4151
- * Pages of inner page-range Reads that could not be processed as an image; surfaced as one note each in the tool_result
4152
- */
4153
- imagePagesFailed?: {
4154
- page: number;
4155
- file?: string;
4156
- error?: string;
4157
- }[];
4158
- /**
4159
- * Count of failed-page notes dropped by the per-result note cap; surfaced as a note in the tool_result
4160
- */
4161
- imagePagesFailedOmitted?: number;
4162
- /**
4163
- * PDFs returned by inner Read calls — surfaced as document content blocks
4164
- */
4165
- documents?: {
4166
- base64: string;
4167
- }[];
4168
- /**
4169
- * Count of inner-Read PDFs dropped by the per-result document cap; surfaced as a note in the tool_result
4170
- */
4171
- documentsOmitted?: number;
4172
- }
4173
4081
  export interface WorkflowOutput {
4174
4082
  status: "async_launched" | "remote_launched";
4175
4083
  taskId: string;