openclaw/extensions/telegram
liuyang bf12835995 fix(telegram): make buttons schema optional in message tool
The Telegram plugin injects a `buttons` property into the message tool
schema via `createMessageToolButtonsSchema()`, but without wrapping it
in `Type.Optional()`. This causes TypeBox to include `buttons` in the
JSON Schema `required` array.

In isolated sessions (e.g. cron jobs) where no `currentChannel` is set,
all plugin schemas are merged into the message tool. When the LLM calls
the message tool without a `buttons` parameter, AJV validation fails
with: `buttons: must have required property 'buttons'`.

Wrap the buttons schema in `Type.Optional()` so it is not required.
2026-03-23 14:43:41 +05:30
..
src fix(telegram): make buttons schema optional in message tool 2026-03-23 14:43:41 +05:30
allow-from.ts perf: split telegram audit runtime seams 2026-03-22 00:53:12 +00:00
api.ts refactor: route extension seams through public apis 2026-03-19 03:20:10 +00:00
index.ts refactor: clean extension api boundaries 2026-03-17 09:38:21 -07:00
openclaw.plugin.json chore: Run `pnpm format:fix`. 2026-01-31 21:13:13 +09:00
package.json build: bump version to 2026.3.22 2026-03-22 11:58:33 -07:00
runtime-api.ts fix: harden plugin docker e2e 2026-03-22 23:42:34 -07:00
setup-entry.ts refactor: clean extension api boundaries 2026-03-17 09:38:21 -07:00