Under the hood
Slash-command resolution logic reworked to distinguish bash, poll-event, and prompt modes
What
The internal logic that determines whether something counts as a resolvable slash command was reworked. It now explicitly treats bash and poll-event modes as never resolvable, while prompt mode is handled separately, including resolving MCP (Model Context Protocol) and non-MCP command names and following subcommand redirection targets.
Why
This is internal logic that governs how slash commands get resolved depending on the context they're invoked from; it should make command resolution more consistent across these different modes.