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
2026-01-25 15:09:01 -06:00
committed by Ayaan Zaidi
parent ce60c6db1b
commit 0e3340d1fc
2 changed files with 11 additions and 0 deletions

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";