@anthropic-ai/claude-code 2.1.217 → 2.1.218

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.217",
3
+ "version": "2.1.218",
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.217",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.217",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.217",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.217",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.217",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.217",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.217",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.217"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.218",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.218",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.218",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.218",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.218",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.218",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.218",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.218"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -2864,7 +2864,7 @@ export interface ArtifactInput {
2864
2864
  */
2865
2865
  url?: string;
2866
2866
  /**
2867
- * Overwrite without a conflict check. Use only after a 409 when you have reconciled with the other session's version and intend to replace it. The tracked baseVersion is always sent; with force:true the server treats it as informational and overwrites. Omit (or false) so a concurrent write 409s instead of being silently clobbered.
2867
+ * Last-resort overwrite that DISCARDS another session's published version. On a 409 conflict the normal fix is to re-read the artifact, merge your edits on top of the newer content, and publish again — not force. Pass force:true only when the user explicitly wants to replace the other session's version. The tracked baseVersion is still sent; with force:true the server treats it as informational and overwrites. Omit (or false) so a concurrent write 409s instead of being silently clobbered.
2868
2868
  */
2869
2869
  force?: boolean;
2870
2870
  }