@anthropic-ai/claude-code 2.1.311 → 2.1.312

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.311",
3
+ "version": "2.1.312",
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.311",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.311",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.311",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.311",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.311",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.311",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.311",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.311"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.312",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.312",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.312",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.312",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.312",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.312",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.312",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.312"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -3978,6 +3978,10 @@ export interface AskUserQuestionOutput {
3978
3978
  * Free-text notes the user added to their selection.
3979
3979
  */
3980
3980
  notes?: string;
3981
+ /**
3982
+ * How the question went unanswered: 'skipped' (the user skipped it), 'replied_in_chat' (the user sent a chat message instead), or 'dismissed' (the user closed the card). The model does not see this field; put the text it should read in `answers`. Absent when the question was answered, and also when the answering client did not report it (in a session that does not advertise ask_user_question_unanswered_v1, from an older client, or in an older transcript): then only the text in `answers` says how it ended. Treat any other value as absent.
3983
+ */
3984
+ unanswered?: "skipped" | "replied_in_chat" | "dismissed";
3981
3985
  };
3982
3986
  };
3983
3987
  /**