@anthropic-ai/claude-code 2.1.227 → 2.1.228

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.227",
3
+ "version": "2.1.228",
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.227",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.227",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.227",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.227",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.227",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.227",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.227",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.227"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.228",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.228",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.228",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.228",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.228",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.228",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.228",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.228"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -129,6 +129,9 @@ export type AgentOutput =
129
129
  inference_geo?: string | null;
130
130
  speed?: string | null;
131
131
  iterations?: unknown;
132
+ output_tokens_details?: {
133
+ thinking_tokens?: number | null;
134
+ } | null;
132
135
  };
133
136
  toolStats?: {
134
137
  readCount: number;
@@ -2892,7 +2895,7 @@ export interface ArtifactInput {
2892
2895
  */
2893
2896
  scope?: "mine" | "shared" | "all";
2894
2897
  /**
2895
- * Title for the artifact — the name shown in the browser tab and gallery. Prefer a <title> tag at the top of the HTML itself; this parameter fills in only when the file lacks one in the first 8KB of the file, and never overrides the tag. HTML publishes only — Markdown pages keep their filename identity. Content always comes from file_path — there is no inline content parameter.
2898
+ * Title for the artifact — the name shown in the browser tab and gallery. A short, distinctive noun-phrase name — not a generic label, a summary, or a name with an appended explainer. Prefer a <title> tag at the top of the HTML itself; this parameter fills in only when the file lacks one in the first 8KB of the file, and never overrides the tag. HTML publishes only — Markdown pages keep their filename identity. Content always comes from file_path — there is no inline content parameter.
2896
2899
  */
2897
2900
  title?: string;
2898
2901
  /**