@anthropic-ai/claude-code 2.1.221 → 2.1.223

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 +25 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.221",
3
+ "version": "2.1.223",
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.221",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.221",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.221",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.221",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.221",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.221",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.221",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.221"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.223",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.223",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.223",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.223",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.223",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.223",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.223",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.223"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2432,13 +2432,37 @@ export interface SendFeedbackInput {
2432
2432
  */
2433
2433
  title: string;
2434
2434
  /**
2435
- * Factual, reproducible report: what was attempted, what happened, exact error text if short, repro steps. No speculation, no secrets.
2435
+ * Labeled bullets, in order: **What happened:** (observed vs. expected, exact error text if short); **What the user said:** (quoted, or "User didn't comment; observed by the model."); **Repro:** (minimal steps); **Evidence:** (request IDs, timestamps, paths, versions — omit if none); optionally a final **Cause:** only if verified in-session. One to three lines per bullet. No narrative paragraphs, no speculation, no secrets.
2436
2436
  */
2437
2437
  details: string;
2438
2438
  /**
2439
2439
  * Optional short tag naming the part of Claude Code this is about (e.g. "hooks config", "/help", "file editing"). Leave blank if unclear.
2440
2440
  */
2441
2441
  area?: string;
2442
+ /**
2443
+ * When the report is about MODEL BEHAVIOR (not a product bug), the closest failure mode — or `other` when it is a model-behavior issue that fits no listed value. Omit only when the report is a product/tool bug with no model-behavior component.
2444
+ */
2445
+ failure_mode?:
2446
+ | "instruction_following"
2447
+ | "destructive_actions"
2448
+ | "code_quality"
2449
+ | "repetition_and_looping"
2450
+ | "model_regression"
2451
+ | "overconfidence_and_hallucination"
2452
+ | "context_and_memory"
2453
+ | "overeager"
2454
+ | "over_correction"
2455
+ | "stopping_short"
2456
+ | "dispute_or_decline"
2457
+ | "subagent_overspawn"
2458
+ | "tone_or_preachiness"
2459
+ | "excessive_questions"
2460
+ | "unwanted_scope"
2461
+ | "other";
2462
+ /**
2463
+ * What kind of task the session was doing when the issue occurred — or `other` when it is a clear task that fits no listed value. Omit only if genuinely unclear.
2464
+ */
2465
+ task_category?: "code_edit" | "debug" | "explain" | "plan" | "shell" | "search" | "review" | "other";
2442
2466
  }
2443
2467
  export interface ClaudeDesignInput {
2444
2468
  /**