@anthropic-ai/claude-code 2.1.261 → 2.1.265

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 +31 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.261",
3
+ "version": "2.1.265",
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.261",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.261",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.261",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.261",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.261",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.261",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.261",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.261"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.265",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.265",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.265",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.265",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.265",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.265",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.265",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.265"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -657,6 +657,27 @@ export type ProjectsOutput =
657
657
  notice?: string;
658
658
  path: string;
659
659
  deleted: boolean;
660
+ }
661
+ | {
662
+ method: "project_memory_list";
663
+ notice?: string;
664
+ files: {
665
+ path: string;
666
+ size_bytes: number;
667
+ updated_at: string | null;
668
+ truncated: boolean;
669
+ }[];
670
+ truncated: boolean;
671
+ }
672
+ | {
673
+ method: "project_memory_read";
674
+ notice?: string;
675
+ path: string;
676
+ content?: string;
677
+ local_file?: string;
678
+ size_bytes: number;
679
+ updated_at: string | null;
680
+ truncated: boolean;
660
681
  };
661
682
 
662
683
  export interface AgentInput {
@@ -2655,9 +2676,16 @@ export interface ClaudeDesignInput {
2655
2676
  };
2656
2677
  }
2657
2678
  export interface ProjectsInput {
2658
- method: "project_info" | "project_read" | "project_search" | "project_write" | "project_delete";
2659
- /**
2660
- * project_read/project_write/project_delete: doc path. project_write: an existing path is replaced in place; a new bare filename (no "/") is namespaced to "claude/<name>".
2679
+ method:
2680
+ | "project_info"
2681
+ | "project_read"
2682
+ | "project_search"
2683
+ | "project_write"
2684
+ | "project_delete"
2685
+ | "project_memory_list"
2686
+ | "project_memory_read";
2687
+ /**
2688
+ * project_read/project_write/project_delete: doc path. project_write: an existing path is replaced in place; a new bare filename (no "/") is namespaced to "claude/<name>". project_memory_read: memory file path as listed by project_memory_list.
2661
2689
  */
2662
2690
  path?: string;
2663
2691
  /**