Commit graph

45 commits

Author SHA1 Message Date
xmanrui
840e5aa857 feat: add unified IM access policies 2026-09-01 10:46:41 +08:00
xmanrui
31792d7bc8 feat: add stable proactive delivery 2026-08-30 11:24:53 +08:00
xmanrui
0cb79f74e9 feat: add message source context enhancement 2026-08-29 10:46:06 +08:00
xmanrui
da01e3acee feat: add status reactions across messaging channels 2026-08-25 17:12:28 +08:00
xmanrui
068cf57259 feat: add private chat batch input commands 2026-08-25 02:39:31 +08:00
xmanrui
d4b8666495 fix: harden host language switching 2026-08-24 03:55:55 +08:00
xmanrui
3741dd8fd9 Merge pull request #46 from zaakirio/feat/host-i18n-en
feat(i18n): add English support for host-side chat messages
2026-08-24 03:51:43 +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
5b3db16097 fix(discord): close thread recovery races 2026-08-24 03:32:06 +08:00
xmanrui
2609ae20e8 fix(discord): request managed thread message content 2026-08-24 03:32:01 +08:00
xmanrui
47cf028914 feat(discord): route guild conversations into threads 2026-08-24 03:31:58 +08:00
xmanrui
0a26d7df92 feat: support inbound files across all channels 2026-08-23 22:39:26 +08:00
xmanrui
908941f303 release: prepare dsh-im 1.1.0 2026-08-23 20:10:02 +08:00
xmanrui
d472dd5a75 feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
xmanrui
9a5a7941af release: prepare dsh-im 1.0.2 2026-08-22 14:48:46 +08:00
xmanrui
b9ceac0779 release: prepare dsh-im 1.0.1 2026-08-22 04:22:27 +08:00
xmanrui
616aac85a9 release: prepare dsh-im 1.0.0 2026-08-22 04:06:33 +08:00
xmanrui
2ad6f1a44e release: prepare dsh-im 0.19.0 2026-08-22 02:46:16 +08:00
xmanrui
bbd9aad8bf release: prepare dsh-im 0.18.0 2026-08-22 00:24:27 +08:00
xmanrui
7fbb459e00 release: prepare dsh-im 0.17.1 2026-08-21 19:09:07 +08:00
xmanrui
c3b3a29f27 release: prepare dsh-im 0.17.0 2026-08-21 16:57:10 +08:00
xmanrui
0579c24b13 release: prepare dsh-im 0.16.0 2026-08-21 13:45:56 +08:00
xmanrui
1a8bc2af69 release: prepare dsh-im 0.15.0 2026-08-21 10:32:22 +08:00
xmanrui
f12315e30d release: prepare dsh-im 0.14.0 2026-08-21 04:08:23 +08:00
xmanrui
e3ae772106 release: prepare dsh-im 0.13.0 2026-08-20 03:16:26 +08:00
xmanrui
926a98a608 release: prepare dsh-im 0.12.0 2026-08-20 01:32:35 +08:00
xmanrui
ffdf92ead6 release: prepare dsh-im 0.11.0 2026-08-19 12:43:37 +08:00
xmanrui
fb61c4235f feat: send test messages during bot connection checks 2026-08-19 03:52:52 +08:00
xmanrui
0e7a0931c4 release: prepare dsh-im 0.10.0 2026-08-19 02:57:34 +08:00
xmanrui
65c842c045 feat: support image prompts across IM channels 2026-08-19 02:56:14 +08:00
xmanrui
99a877c640 release: prepare dsh-im 0.9.0 2026-08-18 23:28:32 +08:00
xmanrui
7169b43e6d release: prepare dsh-im 0.8.0 2026-08-18 22:20:16 +08:00
xmanrui
f0bb6db79f release: prepare dsh-im 0.7.2 2026-08-18 16:49:31 +08:00
xmanrui
ce8b9e80e7 release: prepare dsh-im 0.7.1 2026-08-18 14:16:25 +08:00
xmanrui
cd8175d341 fix: support Harness interactions across IM channels 2026-08-18 14:13:10 +08:00
xmanrui
6cb97c6a11 release: prepare dsh-im 0.7.0 2026-08-18 03:03:03 +08:00
xmanrui
c51334ebc3 release: prepare dsh-im 0.6.0 2026-08-18 00:42:07 +08:00
xmanrui
c44340accb release: prepare dsh-im 0.5.0 2026-08-18 00:03:33 +08:00
xmanrui
adcace3512 release: prepare dsh-im 0.4.0 2026-08-17 18:39:44 +08:00
xmanrui
4453a40daa release: prepare dsh-im 0.3.0 2026-08-17 15:39:32 +08:00
xmanrui
7d8f7b6568 release: prepare dsh-im 0.2.2 2026-08-16 23:30:50 +08:00
xmanrui
fcd492e2f0 release: prepare dsh-im 0.2.1 2026-08-16 23:13:01 +08:00
xmanrui
1ddcfcdbdf release: prepare dsh-im 0.2.0 2026-08-16 17:38:31 +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