-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I will write this issue in English (see our Language Policy)
- I have searched existing issues to avoid duplicates
- I am using the latest version of oh-my-opencode
- I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
Bug Description
Even with tmux.enabled=true, subagents won't spawn in separate tmux panes.
Based on code analysis, this is due to the health check at https://github.com/code-yeongyu/oh-my-opencode/blob/dev/src/shared/tmux/tmux-utils/server-health.ts#L13 using /health as the endpoint path to check server health (which returns a http 403 due to the endpoint not existing, therefore skipping tmux integration), while the actual endpoint in opencode is /global/health (see https://github.com/anomalyco/opencode/blob/dev/packages/opencode/src/server/routes/global.ts#L18-L21).
Steps to Reproduce
- Configure oh-my-openocde.json with
{ "tmux": { "enabled":true } } - start opencode with
opencode -p 4096 - submit a query that uses subagents
Expected Behavior
agents should spawn in separate tmux pane splits
Actual Behavior
agents run in same window
Doctor Output
Opencode version: 1.2.15
oh-my-opencode version: 3.9.0Error Logs
Configuration
Additional Context
No response
Operating System
macOS
OpenCode Version
1.2.15
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working