-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
155 lines (155 loc) · 7.39 KB
/
opencode.json
File metadata and controls
155 lines (155 loc) · 7.39 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "build",
"autoupdate": true,
"share": "manual",
"permission": {
"*": "allow",
"doom_loop": "allow",
"external_directory": {
"~/Codes/Projects/**": "allow"
},
"read": {
"*": "allow"
}
},
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": false
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app",
"enabled": false
}
},
"command": {
"mcp": {
"description": "Manage MCP usage (status|help|doctor|profile|enable|disable)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" $ARGUMENTS`\nShow only the command output."
},
"mcp-help": {
"description": "Show MCP command usage and examples",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" help`\nShow only the command output."
},
"mcp-doctor": {
"description": "Run MCP diagnostics",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" doctor`\nShow only the command output."
},
"mcp-doctor-json": {
"description": "Run MCP diagnostics in JSON",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" doctor --json`\nShow only the command output."
},
"mcp-profile-minimal": {
"description": "Disable all MCP servers",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" profile minimal`\nShow only the command output."
},
"mcp-profile-research": {
"description": "Enable both MCP servers",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" profile research`\nShow only the command output."
},
"mcp-profile-context7": {
"description": "Enable only context7 MCP",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" profile context7`\nShow only the command output."
},
"mcp-profile-ghgrep": {
"description": "Enable only gh_grep MCP",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/mcp_command.py\" profile ghgrep`\nShow only the command output."
},
"plugin": {
"description": "Manage plugin usage (status|doctor|setup-keys|profile|enable|disable)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" $ARGUMENTS`\nShow only the command output."
},
"setup-keys": {
"description": "Show exact key setup snippets for enabled plugins",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" setup-keys`\nShow only the command output."
},
"plugin-help": {
"description": "Show plugin command usage and examples",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" help`\nShow only the command output."
},
"plugin-doctor-json": {
"description": "Show plugin diagnostics in JSON",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" doctor --json`\nShow only the command output."
},
"plugin-enable-notifier": {
"description": "Enable notifier plugin",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" enable notifier`\nShow only the command output."
},
"plugin-enable-supermemory": {
"description": "Enable supermemory plugin",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" enable supermemory`\nShow only the command output."
},
"plugin-enable-wakatime": {
"description": "Enable wakatime plugin",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" enable wakatime`\nShow only the command output."
},
"plugin-enable-morph": {
"description": "Enable morph plugin (experimental)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" enable morph`\nShow only the command output."
},
"plugin-enable-worktree": {
"description": "Enable worktree plugin (experimental)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" enable worktree`\nShow only the command output."
},
"plugin-profile-stable": {
"description": "Switch plugin profile to stable",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" profile stable`\nShow only the command output."
},
"plugin-profile-experimental": {
"description": "Switch plugin profile to experimental",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" profile experimental`\nShow only the command output."
},
"plugin-profile-lean": {
"description": "Switch plugin profile to lean",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/plugin_command.py\" profile lean`\nShow only the command output."
},
"notify": {
"description": "Manage notification controls (status|profile|enable|disable|channel)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" $ARGUMENTS`\nShow only the command output."
},
"notify-help": {
"description": "Show notification command usage",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" help`\nShow only the command output."
},
"notify-profile-all": {
"description": "Enable all notification channels and events",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" profile all`\nShow only the command output."
},
"notify-profile-focus": {
"description": "Keep only visual alerts for important events",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" profile focus`\nShow only the command output."
},
"notify-sound-only": {
"description": "Switch notifications to sound only",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" profile sound-only`\nShow only the command output."
},
"notify-visual-only": {
"description": "Switch notifications to visual only",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/notify_command.py\" profile visual-only`\nShow only the command output."
},
"digest": {
"description": "Generate or show session digests (run|show)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/session_digest.py\" $ARGUMENTS`\nShow only the command output."
},
"digest-run": {
"description": "Generate a manual session digest now",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/session_digest.py\" run --reason manual`\nShow only the command output."
},
"digest-show": {
"description": "Show latest saved session digest",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/session_digest.py\" show`\nShow only the command output."
}
},
"plugin": [
"@mohak34/opencode-notifier@latest",
"opencode-supermemory",
"opencode-wakatime"
],
"instructions": [
"{env:HOME}/Codes/Projects/agents_md/AGENTS.md",
"{env:HOME}/.config/opencode/my_opencode/instructions/shell_strategy.md"
]
}