[BUG] ExitPlanMode is not available when `--dangerously-load-development-channels` is enabled
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I run claude --strict-mcp-config --mcp-config '{"mcpServers":{}}' --setting-sources "" --dangerously-load-development-channels plugin:fakechat@claude-plugins-official --permission-mode plan -p "Is the ExitPlanMode tool available? If so, exit plan mode", Claude Code cannot exit plan mode and reports The ExitPlanMode tool is not available in this session, so I cannot exit plan mode programmatically. You can exit plan mode manually by toggling it off in your Claude Code settings or interface.
I can confirm that ExitPlanMode is available in my current version of Claude Code when not providing the --dangerously-load-development-channels flag.
In 2.1.81, you get this (which is expected):
⏺ Exited plan mode
⏺ Yes, ExitPlanMode is available and plan mode has been exited.
What Should Happen?
- Plan mode should work normally when using
--dangerously-load-development-channels - ExitPlanMode should be available to Claude as a tool even when using
--dangerously-load-development-channels
In 2.1.81, you get this (which is expected):
⏺ Exited plan mode
⏺ Yes, ExitPlanMode is available and plan mode has been exited.
Error Messages/Logs
The ExitPlanMode tool is not available in this session, so I cannot exit plan mode programmatically. You can exit plan mode manually by toggling it off in your Claude Code settings or interface.
Steps to Reproduce
- start Claude Code with --dangerously-load-development-channels: ex.
claude --strict-mcp-config --mcp-config '{"mcpServers":{}}' --setting-sources "" --dangerously-load-development-channels plugin:fakechat@claude-plugins-official - Enter plan mode (shift-tab)
- Prompt: "Is the ExitPlanMode tool available? If so, exit plan mode"
You should get: "The ExitPlanMode tool is not available in this session, so I cannot exit plan mode programmatically. You can exit plan mode manually by toggling it off in your Claude Code settings or interface."
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.81
Claude Code Version
2.1.84 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗