refactor: update plugin handlers and shared utils

Minor updates to config handler, plugin detector, index entry, and builtin command templates.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-22 22:48:36 +09:00
parent dda502a697
commit ff92a4caa2
5 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export function detectExternalNotificationPlugin(directory: string): ExternalNot
export function getNotificationConflictWarning(pluginName: string): string {
return `[oh-my-opencode] External notification plugin detected: ${pluginName}
⚠️ Both oh-my-opencode and ${pluginName} listen to session.idle events.
Both oh-my-opencode and ${pluginName} listen to session.idle events.
Running both simultaneously can cause crashes on Windows.
oh-my-opencode's session-notification has been auto-disabled.