{"version":"2.1.329","anchor":"background-sessions-refused-when-host-chose-added-directory","canonical_anchor":"background-sessions-refused-when-host-chose-added-directory","heading":"Background sessions can be refused when the launching app picks where skills are read","tier":"notice","area":"Background Agents","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/background-sessions-refused-when-host-chose-added-directory","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Background sessions can be refused when the launching app picks where skills are read\n\n`--bg` now refuses to start when the app that launched Claude Code chose where an added directory's skills and plugins are read from\n\n**What**\n\n`--bg` starts a session as a background agent that keeps working after the command returns. When Claude Code was launched by another app, and that app chose where an added directory's skills and plugins are read from, a background session is now refused with: \"Background sessions are unavailable here: the app that launched this session chose where an added directory's skills and plugins are read from, and a background session could not read them from the same place. Run the task in this session instead.\"\n\n**Why**\n\nA background session there would not see the same skills and plugins. If you use Claude Code inside such an app, run the task in your current session instead.\n\n- Area: Background Agents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}