External Agent slash commands cannot wake suspended sessions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 146
- Forks
- 20
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Observed behavior
When an external Agent's Run (or the underlying agent session) is suspended/paused, slash commands such as model selection cannot be used to wake or resume it. Invoking a slash command while the Agent is suspended does not proceed.
The user must first send a normal conversational message to the Agent. That interaction resumes the underlying session; only after that can slash commands such as selecting a model be used successfully.
Reproduction
- Start or open an external Agent.
- Leave it in a suspended/paused state, including when the underlying session is suspended.
- Invoke a slash command, such as model selection.
- Observe that the command cannot wake/resume the Agent or complete.
- Send a normal conversational message first.
- After the session resumes, invoke the same slash command; it works.
Open question
Please determine whether this is intentional lifecycle behavior (slash commands require an active Agent turn/session by design) or a bug. If it is a bug, slash commands that are valid session-level operations should be able to resume or target a suspended external Agent, or should provide a clear state-specific explanation and recovery path.
Investigation directions
- Trace slash-command dispatch and the normal-message dispatch paths for suspended external Agents.
- Compare how each path acquires/resumes the underlying Agent session and turn lease.
- Check whether model selection and similar commands are incorrectly gated on an already-active turn.
- Define expected behavior for suspended, idle, and terminated sessions, including an explicit user-facing error if wake-up is intentionally unsupported.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the slash-command dispatch and normal-message dispatch paths for suspended external Agents, then compare how each acquires or resumes the underlying session and turn lease. Check model selection and similar commands for active-turn gating. Done means the intended behavior is defined for suspended, idle, and terminated sessions, with commands either resuming valid sessions or providing a clear recovery error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100