@anthropic-ai/claude-code 2.1.181 → 2.1.183

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 +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.181",
3
+ "version": "2.1.183",
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.181",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.181",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.181",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.181",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.181",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.181",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.181",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.181"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.183",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.183",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.183",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.183",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.183",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.183",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.183",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.183"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2861,6 +2861,23 @@ export interface ReadMcpResourceOutput {
2861
2861
  * Human-readable error when the server could not read the resource
2862
2862
  */
2863
2863
  error?: string;
2864
+ /**
2865
+ * Direct children when the URI is a directory resource (SEP-2640 resources/directory/read). Subdirectories appear with mimeType "inode/directory".
2866
+ */
2867
+ resources?: {
2868
+ /**
2869
+ * Child resource URI
2870
+ */
2871
+ uri: string;
2872
+ /**
2873
+ * Child resource name
2874
+ */
2875
+ name: string;
2876
+ /**
2877
+ * Child MIME type
2878
+ */
2879
+ mimeType?: string;
2880
+ }[];
2864
2881
  }
2865
2882
  export interface TodoWriteOutput {
2866
2883
  /**