Last active
February 14, 2026 15:30
-
-
Save zsnmwy/457499f65a6d25c382ee78cc2ae44152 to your computer and use it in GitHub Desktop.
~/.config/opencode/oh-my-opencode.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", | |
| "google_auth": false, | |
| "tmux": { | |
| "enabled": true, | |
| "layout": "main-vertical", | |
| "main_pane_size": 60, | |
| "main_pane_min_width": 120, | |
| "agent_pane_min_width": 40 | |
| }, | |
| "agents": { | |
| "sisyphus": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "hephaestus": { | |
| "model": "zenmux/openai/gpt-5.2-codex", | |
| "variant": "xhigh" | |
| }, | |
| "atlas": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "sisyphus-junior": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "prometheus": { | |
| "disable": false, | |
| "model": "zenmux/anthropic/claude-opus-4.6", | |
| "variant": "max", | |
| "prompt_append": "在编码的规划中,需要将项目中“docs/编码规范.md”中的规范文档应用到编码中,需要强制做到Plan里面,指导后续的编码工作。如果项目中没有该文件,则不需要应用。" | |
| }, | |
| "plan": { | |
| "model": "zenmux/anthropic/claude-opus-4.6" | |
| }, | |
| "oracle": { | |
| "model": "zenmux/openai/gpt-5.2", | |
| "variant": "xhigh" | |
| }, | |
| "OpenCode-Builder": { | |
| "model": "zenmux/openai/gpt-5.2-codex", | |
| "variant": "xhigh" | |
| }, | |
| "metis": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "momus": { | |
| "model": "zenmux/openai/gpt-5.2", | |
| "variant": "xhigh" | |
| }, | |
| "librarian": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "explore": { | |
| "model": "zenmux/x-ai/grok-code-fast-1" | |
| }, | |
| "frontend-ui-ux-engineer": { | |
| "model": "google/gemini-3-pro-preview" | |
| }, | |
| "document-writer": { | |
| "model": "google/gemini-3-flash-preview", | |
| "prompt_append": "当你无法读取文件的时候,尝试使用cat,sed等文本工具进行读取。" | |
| }, | |
| "multimodal-looker": { | |
| "model": "google/gemini-3-flash-preview" | |
| }, | |
| "General": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| } | |
| }, | |
| "categories": { | |
| "general": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "visual-engineering": { | |
| "model": "google/gemini-3-pro-preview" | |
| }, | |
| "artistry": { | |
| "model": "google/gemini-3-pro-preview" | |
| }, | |
| "writing": { | |
| "model": "google/gemini-3-flash-preview" | |
| }, | |
| "quick": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "unspecified-low": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| }, | |
| "unspecified-high": { | |
| "model": "zhipuai-coding-plan/glm-5" | |
| } | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tmux Shell
后台任务可以单独显示在面板里面,当跑完之后,又回自己关闭。
这个能力依托于 opencode 的远程attach。
版本要求在
v3.1.0之后,可以将版本直接设置成latesthttps://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.1.0
~/.config/opencode/oh-my-opencode.json{ "tmux": { "enabled": true, "layout": "main-vertical", "main_pane_size": 60, "main_pane_min_width": 120, "agent_pane_min_width": 40 } }下面的脚本可以加入到
.zshrc或者.bashrc中,输入oc即可享受该 feature。