@anthropic-ai/claude-code 2.1.246 → 2.1.248

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 +3 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.246",
3
+ "version": "2.1.248",
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.246",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.246",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.246",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.246",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.246",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.246",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.246",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.246"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.248",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.248",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.248",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.248",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.248",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.248",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.248",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.248"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -103,22 +103,6 @@ export type ToolOutputSchemas =
103
103
  export type AgentOutput =
104
104
  | {
105
105
  agentId: string;
106
- /**
107
- * @internal Count of leading harness-authored content blocks (hand-back provenance bookkeeping; not a stable consumer field)
108
- */
109
- harnessNoteCount?: number;
110
- /**
111
- * @internal Count of trailing harness-authored content blocks (hand-back provenance bookkeeping; not a stable consumer field)
112
- */
113
- harnessTailCount?: number;
114
- /**
115
- * @internal Fingerprint binding the harness section counts to the exact content they were computed against; a hook rewrite invalidates the counts rather than misplacing rewritten bytes
116
- */
117
- harnessSectionHash?: string;
118
- /**
119
- * @internal The handoff review was skipped because the provenance frame covers this delivery (tengu_auto_mode_config.classifyHandoff: false); the tool_result mapper MUST compose the frame when set, regardless of a fresh flag read
120
- */
121
- handoffReviewSkipped?: boolean;
122
106
  agentType?: string;
123
107
  content: {
124
108
  type: "text";
@@ -464,6 +448,7 @@ export type ArtifactOutput =
464
448
  artifacts: {
465
449
  title: string;
466
450
  url: string;
451
+ favicon?: string;
467
452
  updatedAt?: string;
468
453
  rel?: "mine" | "shared";
469
454
  }[];
@@ -3078,7 +3063,7 @@ export interface ArtifactInput {
3078
3063
  */
3079
3064
  file_path?: string;
3080
3065
  /**
3081
- * Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Required to publish. Keep stable across redeploys; change only on a hard topic pivot.
3066
+ * Browser-tab icon: one or two emoji (e.g. "📊"). No markup. Required on a page's first publish; omit on a redeploy (same file path this session, or `url`) to keep the artifact's icon — pass a new one only when the user asks.
3082
3067
  */
3083
3068
  favicon?: string;
3084
3069
  /**
@@ -3237,7 +3222,7 @@ export interface BashOutput {
3237
3222
  */
3238
3223
  ghRateLimitHint?: string;
3239
3224
  /**
3240
- * @internal Structured classification of git/gh operations detected in this command (commit/push/merge/rebase/PR). Client-facing — lets clients render git activity without re-parsing stdout; not surfaced to the model.
3225
+ * Structured classification of git/gh operations detected in this command (commit/push/merge/rebase/PR). Client-facing — lets clients render git activity without re-parsing stdout; not surfaced to the model.
3241
3226
  */
3242
3227
  gitOperation?: {
3243
3228
  commit?: {