@anthropic-ai/claude-code 2.1.73 → 2.1.75
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.
- package/cli.js +2317 -2269
- package/package.json +1 -1
- package/sdk-tools.d.ts +20 -1
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -110,6 +110,17 @@ export type AgentOutput =
|
|
|
110
110
|
* Whether the calling agent has Read/Bash tools to check progress
|
|
111
111
|
*/
|
|
112
112
|
canReadOutputFile?: boolean;
|
|
113
|
+
}
|
|
114
|
+
| {
|
|
115
|
+
status: "queued_to_running";
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the running agent
|
|
118
|
+
*/
|
|
119
|
+
agentId: string;
|
|
120
|
+
/**
|
|
121
|
+
* The prompt that was queued
|
|
122
|
+
*/
|
|
123
|
+
prompt: string;
|
|
113
124
|
};
|
|
114
125
|
export type FileReadOutput =
|
|
115
126
|
| {
|
|
@@ -135,6 +146,10 @@ export type FileReadOutput =
|
|
|
135
146
|
* Total number of lines in the file
|
|
136
147
|
*/
|
|
137
148
|
totalLines: number;
|
|
149
|
+
/**
|
|
150
|
+
* True when output was clipped to the byte cap (partial content)
|
|
151
|
+
*/
|
|
152
|
+
resultWasTruncated?: boolean;
|
|
138
153
|
};
|
|
139
154
|
}
|
|
140
155
|
| {
|
|
@@ -279,7 +294,7 @@ export interface AgentInput {
|
|
|
279
294
|
*/
|
|
280
295
|
run_in_background?: boolean;
|
|
281
296
|
/**
|
|
282
|
-
* Name for the spawned agent
|
|
297
|
+
* Name for the spawned agent. Makes it addressable via SendMessage({to: name}) while running.
|
|
283
298
|
*/
|
|
284
299
|
name?: string;
|
|
285
300
|
/**
|
|
@@ -2262,6 +2277,10 @@ export interface BashOutput {
|
|
|
2262
2277
|
* True if the user manually backgrounded the command with Ctrl+B
|
|
2263
2278
|
*/
|
|
2264
2279
|
backgroundedByUser?: boolean;
|
|
2280
|
+
/**
|
|
2281
|
+
* True if assistant-mode auto-backgrounded a long-running blocking command
|
|
2282
|
+
*/
|
|
2283
|
+
assistantAutoBackgrounded?: boolean;
|
|
2265
2284
|
/**
|
|
2266
2285
|
* Flag to indicate if sandbox mode was overridden
|
|
2267
2286
|
*/
|