opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: Support custom default agent

Open observerw opened this issue 2 weeks ago • 7 comments

Fix https://github.com/sst/opencode/issues/4443.

This pr is intend to replace https://github.com/sst/opencode/pull/4447 since it seems buggy.

observerw avatar Dec 10 '25 08:12 observerw

@rekram1-node I added a default_agent field in config, and a default field in Agent.Info to indicate if an agent is assigned to default. Some related logic in TUI and ACP had been updated. If I missed anything pls let me know.

observerw avatar Dec 10 '25 15:12 observerw

thanks! ill have to give it a test

rekram1-node avatar Dec 10 '25 15:12 rekram1-node

/review

rekram1-node avatar Dec 10 '25 15:12 rekram1-node

/review

rekram1-node avatar Dec 10 '25 16:12 rekram1-node

lgtm

github-actions[bot] avatar Dec 10 '25 16:12 github-actions[bot]

Wait I found several places (e.g. desktop app) need to be updated

observerw avatar Dec 11 '25 07:12 observerw

@rekram1-node I think we are ready here

observerw avatar Dec 18 '25 03:12 observerw