openclaw/extensions/telegram
Aaron Ring 340e947d49 feat(exec-approvals): batch approval for rapid-fire commands
When an agent issues multiple commands requiring approval in rapid
succession, users previously had to approve each one individually.
This adds smart batching that collects requests and presents them as a
single message listing all pending commands:

- Initial 1.5s window collects rapid-fire commands
- Extended 10s window when session already has pending approvals
- Maximum 30s cap prevents indefinite batching
- `/approve-batch <batch-id> allow-once|deny` command works on all channels

On Telegram, the batched message includes "Approve All (N)" / "Deny All"
inline buttons. Other channels receive the same grouped text and can use
the `/approve-batch` command manually.

Also fixes a command-routing bug where `/approve-batch` was intercepted
by the `/approve` handler due to prefix matching, causing batch buttons
to silently fail.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 22:27:22 -08:00
..
src feat(exec-approvals): batch approval for rapid-fire commands 2026-01-26 22:27:22 -08:00
clawdbot.plugin.json fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
index.ts fix: enforce strict config validation 2026-01-19 03:39:25 +00:00
package.json chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00