opencode icon indicating copy to clipboard operation
opencode copied to clipboard

List subagent sessions

Open dbpolito opened this issue 2 months ago • 5 comments

Currently we can only navigate between subagent sessions using <super> left / right, this PR introduces:

  • New keybinding, defaulting to none
  • /subagent-sessions command
image image image image

Not sure i'm 100% happy with the naming as you open to see subagent sessions but you can select Main vs Subagent... Maybe we need better name.

Also the code is a bit inconsistent, internal vars calls child vs user facing uses subagent, etc. I tried to keep consistency.

dbpolito avatar Nov 21 '25 00:11 dbpolito

Test failed on the comment of the type, which has that inconsistency child session / subagent session, not sure what to do there...

image

dbpolito avatar Nov 21 '25 00:11 dbpolito

@dbpolito I think it failed because you didn't update the sdk:

./packages/sdk/js/script/build.ts

rekram1-node avatar Nov 21 '25 01:11 rekram1-node

@rekram1-node thx, it ended up doing this change and working now

dbpolito avatar Nov 21 '25 01:11 dbpolito

this is great news , which version to install to get this feature?

Dapicom avatar Nov 25 '25 09:11 Dapicom

@rekram1-node i've updated the PR to remove the default keybinding to make it easier for merge and avoid conflicting with user's one.

dbpolito avatar Dec 26 '25 16:12 dbpolito