From 969b44452e8c8825403d6c982e100698eee9f429 Mon Sep 17 00:00:00 2001 From: Justin Carlson <40642470+justcarlson@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:47:50 -0500 Subject: [PATCH] fix(plugin): add missing telegram-bot.ts to registry (#55) Fixes #39 - Plugin crash on startup when using advanced profile. The telegram-notify.ts plugin imports SimpleTelegramBot from ./lib/telegram-bot, but the lib/telegram-bot.ts file was not included in the registry.json component list. This caused the installer to skip downloading the required dependency, resulting in a module resolution failure that crashed the application on startup with garbled ANSI escape sequences. Changes: - Add telegram-bot as a new plugin component in registry.json - Add plugin:telegram-bot as a dependency of telegram-notify - Include plugin:telegram-bot in business, full, and advanced profiles Co-authored-by: FrancoStino <32127923+FrancoStino@users.noreply.github.com> Co-authored-by: AVert --- registry.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/registry.json b/registry.json index e17a3fe..8222a94 100644 --- a/registry.json +++ b/registry.json @@ -462,6 +462,20 @@ } ], "plugins": [ + { + "id": "telegram-bot", + "name": "Telegram Bot Library", + "type": "plugin", + "path": ".opencode/plugin/lib/telegram-bot.ts", + "description": "Simple Telegram Bot wrapper for sending notifications", + "tags": [ + "telegram", + "bot", + "library" + ], + "dependencies": [], + "category": "specialized" + }, { "id": "telegram-notify", "name": "Telegram Notifications", @@ -474,7 +488,8 @@ "integration" ], "dependencies": [ - "tool:env" + "tool:env", + "plugin:telegram-bot" ], "category": "specialized" }, @@ -790,6 +805,7 @@ "tool:env", "tool:gemini", "plugin:notify", + "plugin:telegram-bot", "plugin:telegram-notify", "context:essential-patterns", "context:project-context", @@ -822,6 +838,7 @@ "tool:env", "tool:gemini", "plugin:notify", + "plugin:telegram-bot", "plugin:telegram-notify", "context:essential-patterns", "context:project-context", @@ -871,6 +888,7 @@ "tool:env", "tool:gemini", "plugin:notify", + "plugin:telegram-bot", "plugin:telegram-notify", "context:essential-patterns", "context:project-context",