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 <AVert@users.noreply.github.com>
This commit is contained in:
parent
bad7b8f58a
commit
969b44452e
1 changed files with 19 additions and 1 deletions
|
|
@ -462,6 +462,20 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"plugins": [
|
"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",
|
"id": "telegram-notify",
|
||||||
"name": "Telegram Notifications",
|
"name": "Telegram Notifications",
|
||||||
|
|
@ -474,7 +488,8 @@
|
||||||
"integration"
|
"integration"
|
||||||
],
|
],
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"tool:env"
|
"tool:env",
|
||||||
|
"plugin:telegram-bot"
|
||||||
],
|
],
|
||||||
"category": "specialized"
|
"category": "specialized"
|
||||||
},
|
},
|
||||||
|
|
@ -790,6 +805,7 @@
|
||||||
"tool:env",
|
"tool:env",
|
||||||
"tool:gemini",
|
"tool:gemini",
|
||||||
"plugin:notify",
|
"plugin:notify",
|
||||||
|
"plugin:telegram-bot",
|
||||||
"plugin:telegram-notify",
|
"plugin:telegram-notify",
|
||||||
"context:essential-patterns",
|
"context:essential-patterns",
|
||||||
"context:project-context",
|
"context:project-context",
|
||||||
|
|
@ -822,6 +838,7 @@
|
||||||
"tool:env",
|
"tool:env",
|
||||||
"tool:gemini",
|
"tool:gemini",
|
||||||
"plugin:notify",
|
"plugin:notify",
|
||||||
|
"plugin:telegram-bot",
|
||||||
"plugin:telegram-notify",
|
"plugin:telegram-notify",
|
||||||
"context:essential-patterns",
|
"context:essential-patterns",
|
||||||
"context:project-context",
|
"context:project-context",
|
||||||
|
|
@ -871,6 +888,7 @@
|
||||||
"tool:env",
|
"tool:env",
|
||||||
"tool:gemini",
|
"tool:gemini",
|
||||||
"plugin:notify",
|
"plugin:notify",
|
||||||
|
"plugin:telegram-bot",
|
||||||
"plugin:telegram-notify",
|
"plugin:telegram-notify",
|
||||||
"context:essential-patterns",
|
"context:essential-patterns",
|
||||||
"context:project-context",
|
"context:project-context",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue