refactor: standardize naming conventions across agents, tools, and hooks

- Rename agent "OpenCode-Builder" to "opencode-builder" (kebab-case)
- Rename tool "slashcommand" to "slash_command" (snake_case)
- Add "Hook" suffix to 3 factory functions:
  - createCompactionContextInjector → createCompactionContextInjectorHook
  - createSessionNotification → createSessionNotificationHook
  - createTodoContinuationEnforcer → createTodoContinuationEnforcerHook
- Rename createCommentCheckerHooks → createCommentCheckerHook (singular)

BREAKING CHANGE: Config files using "OpenCode-Builder" must update to "opencode-builder".
BREAKING CHANGE: Agent prompts referencing "slashcommand" must update to "slash_command".
This commit is contained in:
justsisyphus
2026-01-31 13:47:44 +09:00
parent aed5c33ae3
commit 616ee7805c
17 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -781,7 +781,7 @@
}
}
},
"OpenCode-Builder": {
"opencode-builder": {
"type": "object",
"properties": {
"model": {