mirror of
https://github.com/Piebald-AI/claude-code-system-prompts.git
synced 2026-11-20 08:01:53 +08:00
9 lines
1020 B
Markdown
9 lines
1020 B
Markdown
<!--
|
|
name: "Data: Artifact runtime capability declarations"
|
|
description: "Defines Artifact runtime capability declaration, carry-forward, clearing, replacement, and contract pinning semantics"
|
|
ccVersion: "2.1.209"
|
|
-->
|
|
# Artifact runtime capabilities
|
|
|
|
A published Artifact page can declare **runtime capabilities** — abilities the claude.ai viewer grants the page at open time — by passing `capabilities: {name: config}` to the Artifact tool. The control plane is the authority on valid names and config shapes. Declaration gestures: **omitting** `capabilities` on a redeploy carries the stored declaration forward unchanged (and preserves the artifact's stored contract pin); an **empty object** `{}` is the explicit clear-all; a **non-empty object** is a full-set declaration (anything stored but not restated is revoked). Moving a republished artifact's runtime version is a deliberate gesture — pass `contract: 'latest'` to upgrade, or a specific version to pin or roll back — never a side effect of editing.
|