@anthropic-ai/claude-code 2.1.234 → 2.1.236

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 +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.234",
3
+ "version": "2.1.236",
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.234",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.234",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.234",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.234",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.234",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.234",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.234",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.234"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.236",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.236",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.236",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.236",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.236",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.236",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.236",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.236"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -401,6 +401,7 @@ export type ArtifactOutput =
401
401
  | {
402
402
  url: string;
403
403
  path: string;
404
+ artifact_id?: string;
404
405
  title?: string;
405
406
  version?: string;
406
407
  capabilities?: unknown;
@@ -2966,17 +2967,27 @@ export interface ArtifactInput {
2966
2967
  */
2967
2968
  force?: boolean;
2968
2969
  /**
2969
- * read_asset and delete_asset: the asset's id (32 hex characters), from a list_assets or upload_asset result.
2970
+ * read_asset: directory to save the file into (default: the working directory); the file is named by the asset id plus the extension for its type.
2970
2971
  */
2971
- asset_id?: string;
2972
+ out_dir?: string;
2972
2973
  /**
2973
- * read_asset only: directory to save the file into (default: the working directory). The file is named by the asset id plus the extension for its type.
2974
+ * read_asset and delete_asset: the asset's id (32 hex characters), from a list_assets or upload_asset result.
2974
2975
  */
2975
- out_dir?: string;
2976
+ asset_id?: string;
2976
2977
  /**
2977
2978
  * list_assets only: the `next` value from a previous list_assets result, to continue that listing.
2978
2979
  */
2979
2980
  after?: string;
2981
+ /**
2982
+ * Runtime capabilities this page declares, as {name: config}. The control plane is the authority on valid names and config shapes. An empty object clears any previously stored declaration; omit the field on a redeploy to carry the stored declaration forward unchanged. Before declaring any capability, load the `artifact-capabilities` skill for the current contract and per-capability guidance.
2983
+ */
2984
+ capabilities?: {
2985
+ [k: string]: unknown;
2986
+ };
2987
+ /**
2988
+ * The artifact's runtime version. Omit to keep its current version (the default); 'latest' to upgrade; a specific version to pin or roll back. Changing it changes how the published page behaves — pass only when the author explicitly intends the change, never as a side effect of editing.
2989
+ */
2990
+ contract?: "latest" | string;
2980
2991
  }
2981
2992
  export interface PushNotificationInput {
2982
2993
  /**