refactor(background-notification): remove chat.message handler

- Remove unused chat message notification handler
- Remove formatDuration and formatNotifications helpers
- Simplify to event-only handling
- Remove chat.message hook call from main plugin

Background task notifications now rely on event-based system only.

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-12 20:36:39 +09:00
parent efe37d4cfc
commit 5ba1d9f3c3
3 changed files with 2 additions and 83 deletions

View File

@@ -180,7 +180,6 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
"chat.message": async (input, output) => {
await claudeCodeHooks["chat.message"]?.(input, output);
await backgroundNotificationHook["chat.message"](input, output);
},
config: async (config) => {