fix(skill/command): add user_message param to skill tool, fix command priority order

- BUG-20: Add optional user_message parameter to skill tool for command arguments
- BUG-19: Reorder command discovery: user > project > opencode-project > opencode-global > builtin
- Update AGENTS.md to reflect slashcommand removal and skill tool changes
This commit is contained in:
YeonGyu-Kim
2026-02-21 02:16:11 +09:00
parent 7fa22aebdf
commit 945c7e658a
4 changed files with 12 additions and 8 deletions
+4 -4
View File
@@ -76,10 +76,10 @@ export function discoverCommandsSync(directory?: string): CommandInfo[] {
}))
return [
...builtinCommands,
...opencodeProjectCommands,
...projectCommands,
...opencodeGlobalCommands,
...userCommands,
...projectCommands,
...opencodeProjectCommands,
...opencodeGlobalCommands,
...builtinCommands,
]
}