Commit graph

42 commits

Author SHA1 Message Date
xmanrui
f0b6b38b45 fix: use in-process Harness API for local plugin connections 2026-08-28 01:24:17 +08:00
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
25d0b2fb0b Revert "fix(whatsapp): handle group mentions and caller allowlists"
This reverts commit 9664e85599.
2026-08-26 18:01:08 +08:00
xmanrui
9664e85599 fix(whatsapp): handle group mentions and caller allowlists 2026-08-26 17:07:29 +08:00
xmanrui
7cbed3aefb fix: surface actionable channel message errors 2026-08-25 14:54:50 +08:00
xmanrui
36cbbe48e7 Merge pull request #48 from luochen211/fix/weixin-long-reply-chunking
fix: chunk long WeChat replies for iLink
2026-08-24 21:53:51 +08:00
cuidong233
5e07137c44 fix(weixin): align long-reply limits across runtime 2026-08-24 19:29:02 +08:00
xmanrui
a1427a8db6 Merge pull request #47 from luochen211/fix/telegram-proxy-diagnostics
fix: explain Telegram proxy connection failures
2026-08-24 19:02:09 +08:00
xmanrui
bd9c58cf9e fix(feishu): stabilize post-merge card workflows 2026-08-24 18:49:32 +08:00
cuidong233
860faad380 fix(telegram): explain proxy-related connection failures 2026-08-24 12:17:54 +08:00
xmanrui
596848ffcb fix: isolate channel activation failures 2026-08-24 11:43:35 +08:00
Zaakir
dcd7cd64d8 feat(i18n): add English support for host-side chat messages
Wrap all user-facing chat text in src/channels with a host-side t()
translator (Chinese is the identity default, so untranslated text is
always sent verbatim in Chinese). English is selected via the host
plugin config `language: en` or the DSH_IM_LANGUAGE environment
variable, and the settings UI keeps following the DSH web locale.

- add src/channels/shared/i18n.mjs with setImHostLanguage/t() and a
  Chinese-key -> English dictionary split by area (shared + channels)
- complete the English dictionary for every t() key in src/channels,
  including the feishu channel (welcome/help, repair flow, interactive
  cards, watch flow) and the shared command/approval/stream text
- wrap previously untranslated chat-facing strings in feishu bridge,
  feishu runtime, editable-message-stream, harness-client,
  connection-test and image-prompt
- dedupe dictionary entries that existed in multiple channel files and
  canonicalize conflicting translations into the shared dictionaries
- extend the i18n unit test to decode string-literal escapes so keys
  containing \n are checked correctly
- document the language switch in README.md, README.en.md and
  CHANGELOG.md, and rebuild lib/index.js

Added English support for bot chat messages across all nine IM
channels and AI Office without changing any Chinese output.
2026-08-24 00:32:30 +05:00
xmanrui
0a26d7df92 feat: support inbound files across all channels 2026-08-23 22:39:26 +08:00
xmanrui
9b65dd3d6b feat(whatsapp): add access modes 2026-08-23 21:28:50 +08:00
xmanrui
d472dd5a75 feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
xmanrui
f7d2fe7047 fix(feishu): honor proxy settings for REST and WebSocket 2026-08-22 14:45:25 +08:00
xmanrui
eea29fe296 feat: add agent preset chat commands 2026-08-22 04:04:44 +08:00
xmanrui
7bf12628ce feat(feishu): add group message permission authorization 2026-08-22 02:29:59 +08:00
xmanrui
9950261a49 feat(feishu): add configurable group response mode 2026-08-22 01:26:29 +08:00
xmanrui
01576f65c6 fix: complete per-bot agent preset lifecycle 2026-08-22 00:20:23 +08:00
iamyaojie
3161816cc4 feat: 按机器人选择 Agent Preset
在九个渠道的设置页卡片上选择 Host 已有预设;未选则跟随默认,只影响之后新建的会话。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 19:19:45 +08:00
xmanrui
c1a3b0cf97 fix(feishu): add one-click card callback repair 2026-08-21 13:43:02 +08:00
xmanrui
24e690498b fix: preserve Telegram compatibility and stabilize Office 2026-08-21 01:37:21 +08:00
pompy
3fa2cc05b2 feat: execute AI Office jobs in Harness 2026-08-20 12:22:30 +08:00
pompy
b0606159e0 feat: secure Telegram access and connect AI Office 2026-08-20 11:58:27 +08:00
xmanrui
99ce38e9a4 feat: add model and turn control commands 2026-08-20 01:28:51 +08:00
xmanrui
7e96c9ce55 merge: honor Harness default agent preset 2026-08-19 11:29:44 +08:00
xmanrui
fb61c4235f feat: send test messages during bot connection checks 2026-08-19 03:52:52 +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
xmanrui
44dd50216a feat: support per-bot workspace switching 2026-08-17 23:56:27 +08:00
xmanrui
7d44861a07 feat: add Slack bot integration 2026-08-17 14:53:11 +08:00
xmanrui
c54463843f feat: add WhatsApp QR channel 2026-08-16 17:30:38 +08:00
xmanrui
5e90962b6d fix: bundle Feishu SDK for script-free installs 2026-08-16 15:40:37 +08:00
xmanrui
cb74e1c4c7 Add Telegram and Discord IM channels 2026-08-16 14:47:16 +08:00
xmanrui
7123fce47a Add manual IM bot credential access 2026-08-16 01:54:06 +08:00
xmanrui
4874d3e354 Add WeCom QR bot channel 2026-08-15 20:53:35 +08:00
xmanrui
601271a7f8 Add QQ bot channel 2026-08-15 17:51:48 +08:00
xmanrui
bd469f58f8 Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
xmanrui
af7e6a2296 Add DingTalk to unified IM plugin 2026-08-15 06:09:19 +08:00
xmanrui
b8bd681a79 Add unified IM channel plugin 2026-08-15 04:39:56 +08:00