{"version":"2.1.333","anchor":"host-first-turn-plugin-fetch-timeout","canonical_anchor":"host-first-turn-plugin-fetch-timeout","heading":"New time limit on plugin checks during a hosted session's first turn","tier":"use","area":"Plugins","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/host-first-turn-plugin-fetch-timeout","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### New time limit on plugin checks during a hosted session's first turn\n\nSetting `CLAUDE_CODE_HOST_FIRST_TURN_PLUGIN_FETCH_TIMEOUT_MS` puts a time limit on the check for removed plugins at the start of a headless session\n\n**What**\n\nWhen Claude Code runs headless (without its interactive screen, for example under another program) and installs plugins, it checks for plugins that have been removed from a marketplace. If `CLAUDE_CODE_HOST_FIRST_TURN_PLUGIN_FETCH_TIMEOUT_MS` is set, that check now runs with a time limit in milliseconds.\n\nAlso, when Claude Code refreshes a marketplace after failing to find a plugin, it now skips the refresh if that refresh was turned off while it was waiting to start.\n\n**Why**\n\nA program hosting Claude Code can stop plugin fetching from holding up the first turn of a session.\n\n- Area: Plugins\n- Names: `CLAUDE_CODE_HOST_FIRST_TURN_PLUGIN_FETCH_TIMEOUT_MS`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}