{"name":"CLAUDE_CODE_HOST_ARTIFACT_TYPE_COMMANDS","slug":"claude-code-host-artifact-type-commands","family":"env","title":"Environment variables","noun":"environment variable","description":"The new `CLAUDE_CODE_HOST_ARTIFACT_TYPE_COMMANDS` variable lets an app hosting Claude Code list artifact commands, including Motion and Whiteboard","description_source":"entry","described_by":{"version":"2.1.323","anchor":"host-artifact-type-commands-behind-a-new-env-var-motion-wh"},"presence":{"first_seen":"2.1.323","removed_in":null,"in_current_build":true,"newest_mined":"2.1.323","builds":1,"mined_builds":162,"first_cited":{"version":"2.1.323","released_at":"2026-11-12 20:29:28","spans":1}},"aliases":[],"entries":[{"version":"2.1.323","anchor":"host-artifact-type-commands-behind-a-new-env-var-motion-wh","heading":"A host app can turn on Motion and Whiteboard artifact commands","line":"The new `CLAUDE_CODE_HOST_ARTIFACT_TYPE_COMMANDS` variable lets an app hosting Claude Code list artifact commands, including Motion and Whiteboard","released_at":"2026-11-12 20:29:28","reason":"found in this entry's text, named in this entry"},{"version":"2.1.323","anchor":"desktop-host-env-vars-and-new-sdkoverload-env-vars","heading":"New environment variables for the desktop app, SDK tools and overload retries","line":"Claude Code now reads several new environment variables, including one for overload retry waits and one for SDK MCP tool idle time","released_at":"2026-11-12 20:29:28","reason":"found in this entry's text"},{"version":"2.1.323","anchor":"aws-and-anthropic-profile-env-handling-changes","heading":"Anthropic profile settings now reach programs Claude Code starts","line":"Programs Claude Code starts now receive ANTHROPIC_PROFILE and ANTHROPIC_CONFIG_DIR, and three more host variables are cleared","released_at":"2026-11-12 20:29:28","reason":"found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_HOST_AUTH_ENV_VAR","slug":"claude-code-host-auth-env-var","description":"When Claude Code removes certain environment variables, it now keeps the one named by `CLAUDE_CODE_HOST_AUTH_ENV_VAR`"},{"name":"CLAUDE_CODE_HOST_AUTH_REFRESH_TIMEOUT_MS","slug":"claude-code-host-auth-refresh-timeout-ms","description":"Milliseconds Claude Code waits for the SDK host to answer a `host_auth_token_refresh` control request, used by the refresh hook registered when `CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH` is set. Default `30000`; an unset, empty, `0` or non-numeric value uses the default."},{"name":"CLAUDE_CODE_HOST_CREDS_FILE","slug":"claude-code-host-creds-file","description":"A trailing slash in your host credentials file path no longer changes whether the rule matches."},{"name":"CLAUDE_CODE_HOST_GATEWAY_LINEAGE","slug":"claude-code-host-gateway-lineage","description":"New CLAUDE_CODE_HOST_GATEWAY_LINEAGE variable keeps child processes of a Desktop-hosted gateway session treated as host-managed"},{"name":"CLAUDE_CODE_HOST_GUARDS_ARTIFACTS_MCP","slug":"claude-code-host-guards-artifacts-mcp","description":"A remote tool host can now be released after an idle time set remotely, and Claude Code reads status updates from it during a session"},{"name":"CLAUDE_CODE_HOST_OWNED_CONFIG_DIR","slug":"claude-code-host-owned-config-dir","description":"With CLAUDE_CODE_HOST_OWNED_CONFIG_DIR set, a ~\/.claude.json that cannot be read no longer stops Claude Code; it starts on defaults"},{"name":"CLAUDE_CODE_HOST_PLATFORM","slug":"claude-code-host-platform","description":"A value of `win32`, `darwin` or `linux` replaces the real `process.platform` as the `platform` Claude Code reports alongside its version and account ids and in its environment details; any other value falls back to the real platform. The raw value is also reported as `platformRaw` (`linux` when unset) and read as the `hostPlatform` fact during environment detection."},{"name":"CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD","slug":"claude-code-host-prompt-supersedes-record","description":"`CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD`, `CLAUDE_CODE_MCP_SERVE_SETTINGS` and `CLAUDE_CODE_DISABLE_WEB_FETCH` are now passed along"},{"name":"CLAUDE_CODE_HOST_SCHEDULED_RUN","slug":"claude-code-host-scheduled-run","description":"Scheduled-run tasks can now report why they fired, but only if the host explicitly opts in via CLAUDE_CODE_HOST_SCHEDULED_RUN=1"},{"name":"CLAUDE_CODE_HOST_SESSION_ID","slug":"claude-code-host-session-id","description":"Claude Code now recognizes a CLAUDE_CODE_HOST_SESSION_ID environment variable"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-host-artifact-type-commands","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}