白桃 (@baitao) 在 opencode+oh-my-opencode+Tmux 集成 中发帖
Tmux 集成说明
在单独的 tmux 窗格中运行后台子代理,实现可视化的多代理执行。观看您的代理并行工作,每个代理各自在自己的终端窗格中。
食用教程(需要先参考 https://linux.do/t/topic/1513858 进行基础配置)
1.在oh-my-opencode.json 中启用 tmux 集成
{
"tmux": {
"enabled": true,
"layout": "main-vertical",
"main_pane_size": 60,
"main_pane_min_width": 120,
"agent_pane_min_width": 40
}
}
▶
详细参数
2.安装 tmux
mac 系统直接运行: brew install tmux
linux 系统:apt install tmux ...