@anthropic-ai/claude-code 2.1.156 → 2.1.158

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 +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.156",
3
+ "version": "2.1.158",
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.156",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.156",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.156",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.156",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.156",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.156",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.156",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.156"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.158",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.158",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.158",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.158",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.158",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.158",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.158",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.158"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2958,6 +2958,10 @@ export interface AskUserQuestionOutput {
2958
2958
  answers: {
2959
2959
  [k: string]: string;
2960
2960
  };
2961
+ /**
2962
+ * Freeform text the user typed instead of selecting a structured option
2963
+ */
2964
+ response?: string;
2961
2965
  /**
2962
2966
  * Optional per-question annotations from the user (e.g., notes on preview selections). Keyed by question text.
2963
2967
  */