{"version":"2.1.259","anchor":"artifact-tool-gains-a-publish-time-pin-parameter-behind-a","canonical_anchor":"artifact-publish-gains-a-pin-action-to-pin-to-the-claudea","heading":"Artifact publish gains a pin option","tier":"use","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259\/e\/artifact-tool-gains-a-publish-time-pin-parameter-behind-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259","markdown":"### Artifact publish gains a `pin` option\n\nThe artifact publish action can offer a pin field, but it is refused outright in cloud sessions and otherwise depends on an env var or gate.\n\nThe artifacts\/files tool's publish action now accepts a `pin` boolean parameter; when true, publishing also pins the artifact to the user's claude.ai sidebar, where it shows up the next time the sidebar loads. On success the tool reply includes a note that it was pinned to the sidebar; if pinning fails, the publish itself still succeeds and the reply appends a note that the pin didn't go through. This is wired into the publish tool's response builder at two call sites, gated by the tool's Zod schema still exposing a `pin` literal in its `action` shape.\n\nWhether the field is even offered to the model is controlled by a check (`$Ot()`) that returns false outright for remote\/cloud sessions (unless `Jd()`), otherwise reads the `CLAUDE_CODE_ARTIFACT_PIN` env var or falls back to a gate.\n\n- Flag `tengu_cobalt_plinth_holly`: Off in both readings (read for one account on one subscription tier against v2.1.259; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Artifacts\n- Names: `CLAUDE_CODE_ARTIFACT_PIN`, `pin`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}