-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
14 lines (14 loc) · 822 Bytes
/
opencode.json
File metadata and controls
14 lines (14 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["./src/index.ts"],
"command": {
"mood": {
"description": "Set the assistant's mood [mood: bored, angry, lethargic] [duration: message, session, permanent]",
"template": "Call the setMood tool to set the mood to the mood and duration requested by the user. If the duration is not mentioned assume session."
},
"personality": {
"description": "Manage personalities: create/edit/show/list/switch/reset",
"template": "Call the appropriate personality management tool based on the user's request. Supports: create (new personality), edit (modify active), show (--all for full file), list (all personalities), switch <name> (change active), and reset (--name <name> to remove specific, or --confirm to reset all)."
}
}
}