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
{{ message }}
Repository navigation
[FEATURE]: Configure worktree startup scripts in opencode.jsonc #57850
Thanks for the request! You'd like to define the worktree startup command in the repo's opencode.jsonc, so everyone working on the repo gets the same setup without registering the command in project settings themselves.
Today, V2 stores the setup script only in each project's settings (added in #44455 for #44151). The worktree section of the config only supports directory for now. Maintainers will consider this.
Activity
opencode-agent commentedon Oct 21, 2026
Thanks for the request! You'd like to define the worktree startup command in the repo's
opencode.jsonc, so everyone working on the repo gets the same setup without registering the command in project settings themselves.Today, V2 stores the setup script only in each project's settings (added in #44455 for #44151). The
worktreesection of the config only supportsdirectoryfor now. Maintainers will consider this.Related:
--worktreestartup flag for V2