Skip to content

fix(commands): pass args to select_session action - #522

Merged
sudo-tee merged 1 commit into
sudo-tee:mainfrom
wzj-zz:fix/select-session-args
Oct 13, 2026
Merged

sudo-tee merged 1 commit into
sudo-tee:mainfrom
wzj-zz:fix/select-session-args

Conversation

@wzj-zz

@wzj-zz wzj-zz commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Fixes #520

The select_session command was dropping its args table (scope, parent_id) by calling state.select_session() with no arguments.

This change passes the args through so that commands like :OpenCode select_session project\ work correctly.

Fixes sudo-tee#520

The select_session command was dropping its args table (scope, parent_id)
by calling state.select_session() with no arguments.
@sudo-tee

Copy link
Copy Markdown
Owner

Thanks for the fix :)

@sudo-tee
sudo-tee merged commit 00284bc into sudo-tee:main Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

select_session command drops its args (scope/parent_id never reach the action)

2 participants