@anthropic-ai/claude-code 2.1.96 → 2.1.97

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 (3) hide show
  1. package/cli.js +6018 -6316
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.96",
3
+ "version": "2.1.97",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -78,6 +78,15 @@ export type AgentOutput =
78
78
  ephemeral_5m_input_tokens: number;
79
79
  } | null;
80
80
  };
81
+ toolStats?: {
82
+ readCount: number;
83
+ searchCount: number;
84
+ bashCount: number;
85
+ editFileCount: number;
86
+ linesAdded: number;
87
+ linesRemoved: number;
88
+ otherToolCount: number;
89
+ };
81
90
  status: "completed";
82
91
  prompt: string;
83
92
  }
@@ -2262,7 +2271,7 @@ export interface FileEditOutput {
2262
2271
  /**
2263
2272
  * The original file contents before editing
2264
2273
  */
2265
- originalFile: string;
2274
+ originalFile: string | null;
2266
2275
  /**
2267
2276
  * Diff patch showing the changes
2268
2277
  */