Skip to content

Slash commands (/usage) still can't run while a turn is streaming — regression on #694 #1173

Backlog

Description

@Wulgaren

Summary

Slash commands cannot be run while a turn is streaming. Mid-run, /usage (and /status, /context, /model) stay unavailable until the agent finishes, so checking usage or switching model means waiting out — or interrupting — a long run.

This looks like a regression against #694 ("Allow subcommands to run during active session"), which was closed as completed on 2026-08-28 after a maintainer said /usage mid-turn was already being worked on.

Expected Behavior

Local, non-mutating slash commands execute while a run is active: /usage, /status, /context, /help, /export. /model and /effort should be accepted and apply from the next message, as suggested in #694. Commands that would disturb the in-flight turn (/clear, /compact, /exit) can stay blocked or confirm first.

Actual Behavior

While the agent is working, the command is not executed and there is no way to run it until the turn ends.

Steps to reproduce the issue

  1. Start a long multi-step turn, e.g. cmd "run the test suite and fix the failures".
  2. While it is streaming, type /usage and press Enter.
  3. No usage panel appears; the command only becomes available once the turn finishes.

Command Code Version

1.93.2

Operating System

macOS

Terminal/IDE

rex

Shell

zsh

Additional context

macOS 27.2.1. Related: #694 (closed as completed), #897 (queued messages cannot be removed mid-run).

Fix prompt (optional)

Let the slash-command dispatcher handle commands while a turn is active. Whitelist local, non-mutating commands (/usage, /status, /context, /help, /export) to run immediately without touching the in-flight run; queue /model and /effort to take effect on the next turn; keep /clear, /compact and /exit blocked or confirm-first.

Activity

  1. vipulgupta2048 commented on Nov 24, 2026

    @vipulgupta2048
    Member

    Thanks for reporting that, some commands were allowed to be used. Will work on a fix for this and see what we can allow again for mid turn usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions