-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
12 lines (12 loc) · 1.26 KB
/
opencode.json
File metadata and controls
12 lines (12 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"./plugin.ts"
],
"command": {
"sfx": {
"description": "Manage sound effect themes",
"template": "Help the user manage SFX sound themes. User arguments: $ARGUMENTS\n\nUse these tools based on the argument:\n- (no args) or 'list': sfx_list_themes - list all themes\n- 'view [name]': sfx_view_theme - view theme details\n- 'change [name]': sfx_change_theme - switch theme. If no name given, call sfx_change_theme with no theme parameter to randomly pick a different theme.\n- 'reload': sfx_reload_themes - reload from YAML\n- 'test': sfx_test_sound - play announce sound\n- 'sounds [filter]': sfx_list_sounds - list sound files\n- 'play <file>': sfx_preview_sound - preview a sound\n- 'create': Start theme creation wizard. Use mcp_question to ask the user for: theme name, description, announce sound, question sound, idle sounds (multiple), error sounds (multiple). First use sfx_list_sounds to show available files. After gathering all info, call sfx_create_theme with the collected parameters.\n- 'install': Tell the user to run `opencode-sfx install <url-or-path>` in their terminal to install a theme pack zip file, then `/sfx reload` to pick it up.\n\nBe concise. Show results clearly."
}
}
}