forked from agents/opencode
Compare commits
28 Commits
de299e0261
...
codex
| Author | SHA1 | Date | |
|---|---|---|---|
| 8400b997b7 | |||
| b3df515775 | |||
| d9f89b3b28 | |||
| cdabb9fd16 | |||
| caf20d861d | |||
| b4569fa6a9 | |||
| db8880c833 | |||
| 681d8340cb | |||
| f8a349f478 | |||
| 8fdfb38e84 | |||
| 9c768870e3 | |||
| 8978eeb5de | |||
| 3a35190250 | |||
| b9650bfde8 | |||
| 8573f89db7 | |||
| 069684079a | |||
| 472294b787 | |||
| f087f34a96 | |||
| cd4dd39670 | |||
| 9de3f60156 | |||
| 9384469551 | |||
| 09407f9980 | |||
| 12d944efb4 | |||
| 8ca07bcdf5 | |||
| 8ea1baccf2 | |||
| f4cc4c6f29 | |||
| 294451814e | |||
| 0296ca6564 |
@@ -7,4 +7,4 @@ EXA_API_KEY=
|
||||
CONTEXT7_API_KEY=
|
||||
|
||||
# Windows
|
||||
OPENCODE_GIT_BASH_PATH=%USERPROFILE%\scoop\apps\git\current\bin\bash.exe
|
||||
OPENCODE_GIT_BASH_PATH=%USERPROFILE%\scoop\shims\bash.exe
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,4 +4,3 @@ bun.lock
|
||||
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.env
|
||||
|
||||
5
AGENTS.md
Normal file
5
AGENTS.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# AGENTS.md
|
||||
|
||||
- Always reply in Simplified Chinese by default.
|
||||
- Use English only if the user explicitly asks for it.
|
||||
- Keep code, commands, file paths, logs, and identifiers unchanged.
|
||||
@@ -1,27 +1,32 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
||||
"agents": {
|
||||
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
||||
"sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
|
||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"librarian": { "model": "litellm/minimax-m2.5" },
|
||||
"explore": { "model": "litellm/grok-code-fast-1" },
|
||||
"librarian": { "model": "openai/gpt-5.4-mini" },
|
||||
"explore": { "model": "openai/gpt-5.4-mini" },
|
||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
||||
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
||||
"prometheus": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"metis": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
||||
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
||||
"atlas": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"sisyphus-junior": { "model": "openai/gpt-5.4", "variant": "medium" }
|
||||
},
|
||||
"categories": {
|
||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"visual-engineering": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.3-codex", "variant": "xhigh" },
|
||||
"deep": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
|
||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"quick": { "model": "anthropic/claude-haiku-4-5" },
|
||||
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
||||
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
||||
"writing": { "model": "google/gemini-3-flash-preview" }
|
||||
"artistry": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
||||
"unspecified-low": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"unspecified-high": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"writing": { "model": "openai/gpt-5.4", "variant": "medium" }
|
||||
},
|
||||
"experimental": {
|
||||
"dynamic_context_pruning": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"git_master": {
|
||||
"commit_footer": false,
|
||||
|
||||
135
opencode.jsonc
135
opencode.jsonc
@@ -1,40 +1,10 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"autoupdate": false,
|
||||
"model": "anthropic/claude-opus-4-6",
|
||||
"small_model": "anthropic/claude-haiku-4-5",
|
||||
"experimental": {
|
||||
"disable_paste_summary": true
|
||||
},
|
||||
"plugin": ["oh-my-opencode@latest"],
|
||||
"autoupdate": false,
|
||||
"model": "openai/gpt-5.4",
|
||||
"small_model": "openai/gpt-5.4-mini",
|
||||
"provider": {
|
||||
"anthropic": {
|
||||
"npm": "@ai-sdk/anthropic",
|
||||
"options": {
|
||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
||||
"apiKey": "{env:LITELLM_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"claude-opus-4-6": {
|
||||
"name": "Claude Opus 4.6",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 1000000, "output": 128000 }
|
||||
},
|
||||
"claude-sonnet-4-6": {
|
||||
"name": "Claude Sonnet 4.6",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 200000, "output": 64000 }
|
||||
},
|
||||
"claude-haiku-4-5": {
|
||||
"name": "Claude Haiku 4.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 200000, "output": 64000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"openai": {
|
||||
"npm": "@ai-sdk/openai",
|
||||
"options": {
|
||||
@@ -53,102 +23,17 @@
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"google": {
|
||||
"npm": "@ai-sdk/google",
|
||||
"options": {
|
||||
"baseURL": "{env:LITELLM_BASE_URL}/v1beta",
|
||||
"apiKey": "{env:LITELLM_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"gemini-3.1-pro-preview": {
|
||||
"name": "Gemini 3.1 Pro",
|
||||
"gpt-5.4-mini": {
|
||||
"name": "GPT-5.4 mini",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 1048576, "output": 65536 }
|
||||
},
|
||||
"gemini-3-flash-preview": {
|
||||
"name": "Gemini 3 Flash",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 1048576, "output": 65536 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"litellm": {
|
||||
"name": "LiteLLM",
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"options": {
|
||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
||||
"apiKey": "{env:LITELLM_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
// Grok
|
||||
"grok-code-fast-1": {
|
||||
"name": "Grok Code Fast 1",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 256000, "output": 10000 }
|
||||
},
|
||||
|
||||
// GLM
|
||||
"glm-5": {
|
||||
"name": "GLM-5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
"glm-4.7": {
|
||||
"name": "GLM-4.7",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
|
||||
// Kimi
|
||||
"kimi-k2.5": {
|
||||
"name": "Kimi K2.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 262144 }
|
||||
},
|
||||
|
||||
// MiniMax
|
||||
"minimax-m2.5": {
|
||||
"name": "MiniMax-M2.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
|
||||
// Qwen
|
||||
"qwen3.5-plus": {
|
||||
"name": "Qwen3.5 Plus",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 1000000, "output": 65536 }
|
||||
},
|
||||
"qwen3-max": {
|
||||
"name": "Qwen3 Max",
|
||||
"reasoning": false,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 65536 }
|
||||
},
|
||||
"qwen3-coder-next": {
|
||||
"name": "Qwen3 Coder Next",
|
||||
"reasoning": false,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 65536 }
|
||||
},
|
||||
"qwen3-coder-plus": {
|
||||
"name": "Qwen3 Coder Plus",
|
||||
"reasoning": false,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 1000000, "output": 65536 }
|
||||
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"experimental": {
|
||||
"disable_paste_summary": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user