Commit graph

6 commits

Author SHA1 Message Date
xmanrui
4c4c748864 fix(commands): support both Harness command argument formats
Keep images for newer Harness endpoints and retry without it only when an older gateway rejects the field before dispatch. Preserve cancellation and never retry business failures.

Add regression coverage, rebuild the Host bundle, and document the compatibility fix. Follow-up to #75.
2026-08-27 22:11:13 +08:00
OpenClaw Agent
03565e5a69 fix(commands): send empty images list to the commands Typert endpoint
The Harness commands execute descriptor declares agentId, line, and images
as required JSON wire fields (strict codec, no acceptsUndefined). The Host
command executor only sent agentId and line, so the Typert gateway rejected
every IM /compact call with arguments-invalid before the command could run.

Send images: [] so /compact works from every IM channel.
2026-08-27 19:40:50 +08:00
xmanrui
eea29fe296 feat: add agent preset chat commands 2026-08-22 04:04:44 +08:00
xmanrui
01576f65c6 fix: complete per-bot agent preset lifecycle 2026-08-22 00:20:23 +08:00
xmanrui
8a64f2bc8c fix: honor Harness default agent preset for IM sessions 2026-08-19 03:26:02 +08:00
xmanrui
1cc7a26f30 feat: support compact command across IM channels 2026-08-18 23:20:05 +08:00