@anthropic-ai/claude-code 2.1.190 → 2.1.191

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 +9 -9
  2. package/sdk-tools.d.ts +13 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.190",
3
+ "version": "2.1.191",
4
4
  "bin": {
5
5
  "claude": "bin/claude.exe"
6
6
  },
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "dependencies": {},
23
23
  "optionalDependencies": {
24
- "@anthropic-ai/claude-code-darwin-arm64": "2.1.190",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.190",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.190",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.190",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.190",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.190",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.190",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.190"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.191",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.191",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.191",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.191",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.191",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.191",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.191",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.191"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2776,7 +2776,7 @@ export interface GlobOutput {
2776
2776
  */
2777
2777
  durationMs: number;
2778
2778
  /**
2779
- * Total number of files found
2779
+ * Number of file paths returned (after any truncation)
2780
2780
  */
2781
2781
  numFiles: number;
2782
2782
  /**
@@ -2787,6 +2787,14 @@ export interface GlobOutput {
2787
2787
  * Whether results were truncated (limited to 100 files)
2788
2788
  */
2789
2789
  truncated: boolean;
2790
+ /**
2791
+ * Total number of matching files before truncation. A lower bound when countIsComplete is false. Absent on results persisted by CLI versions predating this field.
2792
+ */
2793
+ totalMatches?: number;
2794
+ /**
2795
+ * Whether totalMatches is the exact total (true) or a floor because the underlying search truncated its own output (false). Absent on results persisted by CLI versions predating this field.
2796
+ */
2797
+ countIsComplete?: boolean;
2790
2798
  }
2791
2799
  export interface GrepOutput {
2792
2800
  mode?: "content" | "files_with_matches" | "count";
@@ -2821,6 +2829,10 @@ export interface NotebookEditOutput {
2821
2829
  * The new source code that was written to the cell
2822
2830
  */
2823
2831
  new_source: string;
2832
+ /**
2833
+ * The previous cell source (replace/delete only). Enables cell-relative diff rendering without re-reading the notebook.
2834
+ */
2835
+ old_source?: string;
2824
2836
  /**
2825
2837
  * The ID of the cell that was edited
2826
2838
  */