feat(plugins): sync plugin commands to Telegram menu and export gateway types

- Add plugin command specs to Telegram setMyCommands for autocomplete
- Export GatewayRequestHandler types in plugin-sdk for plugin authors
- Enables plugins to register gateway methods and appear in command menus
This commit is contained in:
Joshua Mitchell authored and Ayaan Zaidi committed 2026-01-26 22:28:14 +05:30
1 parent ce60c6db1b
commit 0e3340d1fc
2 files changed
+11

No files matched your search

+5
View File
@@ -63,6 +63,11 @@ export type {
ClawdbotPluginService,
ClawdbotPluginServiceContext,
} from "../plugins/types.js";
export type {
GatewayRequestHandler,
GatewayRequestHandlerOptions,
RespondFn,
} from "../gateway/server-methods/types.js";
export type { PluginRuntime } from "../plugins/runtime/types.js";
export { normalizePluginHttpPath } from "../plugins/http-path.js";
export { registerPluginHttpRoute } from "../plugins/http-registry.js";