mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
When installing the Telegram WASM channel via the web UI, a name collision between registry/tools/telegram.json and registry/channels/telegram.json caused the tool entry to win, installing to ~/.ironclaw/tools/ instead of ~/.ironclaw/channels/. This made activation fail with "WASM runtime not available". - Add `get_with_kind()` to ExtensionRegistry for kind-aware lookup - Use `kind_hint` parameter in `install()` to resolve collisions - Rename tool entries to avoid future collisions: telegram → telegram-mtproto, slack → slack-tool - Fix `_bundles.json` stale reference (tools/slack → tools/slack-tool) - Fix `cache_discovered()` to deduplicate by (name, kind) consistently - Add path traversal validation to install/activate/remove entry points - Add tests for kind-aware lookup, discovery cache, and bundle resolution Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"bundles": {
|
|
"google": {
|
|
"display_name": "Google Suite",
|
|
"description": "Gmail, Calendar, Drive, Docs, Sheets, Slides",
|
|
"extensions": [
|
|
"tools/gmail",
|
|
"tools/google-calendar",
|
|
"tools/google-docs",
|
|
"tools/google-drive",
|
|
"tools/google-sheets",
|
|
"tools/google-slides"
|
|
],
|
|
"shared_auth": "google_oauth_token"
|
|
},
|
|
"messaging": {
|
|
"display_name": "Messaging Channels",
|
|
"description": "Discord, Telegram, Slack, and WhatsApp channels",
|
|
"extensions": [
|
|
"channels/discord",
|
|
"channels/telegram",
|
|
"channels/slack",
|
|
"channels/whatsapp"
|
|
],
|
|
"shared_auth": null
|
|
},
|
|
"default": {
|
|
"display_name": "Recommended Set",
|
|
"description": "Core tools and channels for a productive setup",
|
|
"extensions": [
|
|
"tools/github",
|
|
"tools/gmail",
|
|
"tools/google-calendar",
|
|
"tools/google-drive",
|
|
"tools/slack-tool",
|
|
"channels/telegram",
|
|
"channels/slack"
|
|
],
|
|
"shared_auth": null
|
|
}
|
|
}
|
|
}
|