You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given I have the `IDE AGENT` active.
When I use the top level built in `/commands`
Then I see the list of commands installed under `$OC_CONFIG/command/ide/*`
And then I see `/ide` as the command `$OC_CONFIG/command/ide/default.md`
Another scenario:
Given I have the `IDE AGENT` active.
And given there exists an unrelated user-defined/built-in command `/ide`
When I use the top level built in `/commands`
Then I see the list of commands installed under `$OC_CONFIG/command/ide/*`
And then I see `/ide_ide` as the command `$OC_CONFIG/command/ide/default.md`
are you just saying slash commands should handle collisions differently? Because the title is confusing me
Apologies. I am suggesting there should be a new built-in /commands, complimentary to /models, /agents, /themes.
And that the commands shown are conditional on the primary agent that is activated (bottom right corner in TUI)
A user employing opencode configured for a IDE role (hit tab until IDE AGENT).
The same user employing opencode configured for a TA role (hit tab until TA AGENT).
In each of those cases it is reasonable to anticipate that the set of Commands that have been introduced are quite different.
When the agent is IDE AGENT the list returned by /commands should not include any of the Commands that are in scope when the agent is switched to TA AGENT, and vice versa.
When the agent is IDE AGENT the list returned by /commands should not include any of the Commands that are in scope when the agent is switched to TA AGENT, and vice versa.
Hm currently specifying an agent in the command is configuring what agent to use when executing the command, it doesn't mean that you have to currently be using that agent
Hm currently specifying an agent in the command is configuring what agent to use when executing the command
I believe I am addressing different behavior in the TUI regarding whether the command is listed or considered in-scope or "available".
Selecting the primary agent (tab action), sets the commands that are shown by /commands,
When I have the agent/ide.md as the active agent (IDE AGENT), then when I use the built-in /commands I do not want to see listed the commands: /grade, /comment, /appeal, /research that use the sub-agents of agent/ta.md (as you point out).
Similarly, when I have the agent/ta.md as the active agent (TA AGENT), then when I use the built-in /commands I do not want to see listed the commands: /ticket, /comment, /debug, /research that use the sub-agents of agent/ide.md.
Imagine the primary agent, by being set as the active agent (the TUI display in the lower right corner), sets rules common to all sub-agents and the commands listed in the TUI displays.
Note the overlapping commands /research and /comment. One pair under command/ide/ the other pair under command/ta/
Activity
rekram1-node commentedon Oct 12, 2025
are you just saying slash commands should handle collisions differently? Because the title is confusing me
taqtiqa-mark commentedon Oct 12, 2025
Apologies. I am suggesting there should be a new built-in
/commands, complimentary to/models,/agents,/themes.And that the commands shown are conditional on the
primaryagent that is activated (bottom right corner in TUI)taqtiqa-mark commentedon Oct 13, 2025
Take two different use cases:
tabuntilIDE AGENT).tabuntilTA AGENT).In each of those cases it is reasonable to anticipate that the set of Commands that have been introduced are quite different.
When the agent is
IDE AGENTthe list returned by/commandsshould not include any of the Commands that are in scope when the agent is switched toTA AGENT, and vice versa.[-]feat: /commands[/-][+]feat: Top level built-in command: `/commands`[/+]rekram1-node commentedon Oct 13, 2025
Hm currently specifying an agent in the command is configuring what agent to use when executing the command, it doesn't mean that you have to currently be using that agent
Especially since you can specify a subagent
taqtiqa-mark commentedon Oct 13, 2025
I believe I am addressing different behavior in the TUI regarding whether the command is listed or considered in-scope or "available".
Selecting the primary agent (
tabaction), sets the commands that are shown by/commands,When I have the
agent/ide.mdas the active agent (IDE AGENT), then when I use the built-in/commandsI do not want to see listed the commands:/grade,/comment,/appeal,/researchthat use the sub-agents ofagent/ta.md(as you point out).Similarly, when I have the
agent/ta.mdas the active agent (TA AGENT), then when I use the built-in/commandsI do not want to see listed the commands:/ticket,/comment,/debug,/researchthat use the sub-agents ofagent/ide.md.Imagine the primary agent, by being set as the active agent (the TUI display in the lower right corner), sets rules common to all sub-agents and the commands listed in the TUI displays.
Note the overlapping commands
/researchand/comment. One pair undercommand/ide/the other pair undercommand/ta/Ideally this would then look like
and
etc.
taqtiqa-mark commentedon Nov 24, 2025
There is now a
/commands. It went in a different direction. Nonetheless this is strictly obsolete.