@anthropic-ai/claude-code 2.1.83 → 2.1.84
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 +2403 -2110
- package/package.json +1 -1
- package/sdk-tools.d.ts +6 -1
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export type ToolOutputSchemas =
|
|
|
63
63
|
export type AgentOutput =
|
|
64
64
|
| {
|
|
65
65
|
agentId: string;
|
|
66
|
+
agentType?: string;
|
|
66
67
|
content: {
|
|
67
68
|
type: "text";
|
|
68
69
|
text: string;
|
|
@@ -455,7 +456,7 @@ export interface GrepInput {
|
|
|
455
456
|
*/
|
|
456
457
|
type?: string;
|
|
457
458
|
/**
|
|
458
|
-
* Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 0 (
|
|
459
|
+
* Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 250 when unspecified. Pass 0 for unlimited (use sparingly — large result sets waste context).
|
|
459
460
|
*/
|
|
460
461
|
head_limit?: number;
|
|
461
462
|
/**
|
|
@@ -2301,6 +2302,10 @@ export interface ExitPlanModeOutput {
|
|
|
2301
2302
|
* Whether the Agent tool is available in the current context
|
|
2302
2303
|
*/
|
|
2303
2304
|
hasTaskTool?: boolean;
|
|
2305
|
+
/**
|
|
2306
|
+
* True when the user edited the plan (CCR web UI or Ctrl+G); determines whether the plan is echoed back in tool_result
|
|
2307
|
+
*/
|
|
2308
|
+
planWasEdited?: boolean;
|
|
2304
2309
|
/**
|
|
2305
2310
|
* When true, the teammate has sent a plan approval request to the team leader
|
|
2306
2311
|
*/
|