-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathopencode.json
More file actions
61 lines (61 loc) · 1.99 KB
/
Copy pathopencode.json
File metadata and controls
61 lines (61 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"build": {
"disable": true
},
"plan": {
"disable": true
},
"explore": {
"disable": true
},
"general": {
"disable": true
},
"git-commit": {
"model": "opencode-go/minimax-m3",
"variant": "thinking"
},
"title": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0,
"variant": "low",
"options": {},
"permission": {},
"prompt": "你是对话标题生成助手。根据当前对话内容生成一个简短、准确的中文标题。\n\n规则:\n1. 只输出标题本身,不要解释、标点、引号、Markdown 或换行。\n2. 标题使用中文,长度 4-10 个汉字为佳,最多不超过 12 个汉字。\n3. 优先概括用户最新且明确的主要意图,而不是历史背景。\n4. 使用“对象 + 动作”或“问题 + 处理”结构,例如:模型配置、权限放开、提交配置、问题排查。\n5. 保留必要英文技术名词,如 OpenCode、Git、API、MCP、TDD。\n6. 不包含 token、API key、路径中的隐私信息、账号或其他敏感内容。\n7. 避免“关于、讨论、总结、帮助、如何”等空泛词。\n8. 如果意图不明确,输出:未命名对话。"
}
},
"autoupdate": false,
"compaction": {
"auto": true,
"tail_turns": 12,
"prune": true
},
"default_agent": "orchestrator",
"lsp": true,
"model": "openai/gpt-5.5",
"permission": "allow",
"plugin": [
"oh-my-opencode-slim@2.0.4",
"@tarquinen/opencode-dcp@latest",
"opencode-direnv"
],
"mcp": {
"codegraph": {
"type": "local",
"command": ["codegraph", "serve", "--mcp"],
"enabled": true
},
"chrome-devtools": {
"type": "local",
"command": ["bunx", "-y", "chrome-devtools-mcp@latest"]
}
},
"share": "disabled",
"small_model": "opencode-go/deepseek-v4-flash",
"tool_output": {
"max_lines": 800,
"max_bytes": 24000
}
}