Commit graph

53 commits

Author SHA1 Message Date
xmanrui
75ebaebf2e feat: split group and direct context enhancement 2026-09-01 02:06:22 +08:00
xmanrui
a0845a7a25 chore: release v4.2.1 2026-08-31 03:33:15 +08:00
xmanrui
14519060f0 fix(telegram): isolate long polling transport 2026-08-31 03:31:07 +08:00
xmanrui
02ddea0054 chore: release v4.2.0 2026-08-31 01:38:31 +08:00
xmanrui
347acceffb fix(feishu): integrate slash command permissions 2026-08-31 01:21:38 +08:00
xmanrui
29aa138b3b Merge remote-tracking branch 'origin/main' into codex/pr94-updated
# Conflicts:
#	CHANGELOG.md
2026-08-31 01:21:34 +08:00
xmanrui
4496c9601e chore: release v4.1.1 2026-08-31 00:50:07 +08:00
xmanrui
4d18cc4de0 fix(qq): respond to all mentioned group members 2026-08-31 00:45:59 +08:00
C3H3-AI
64ba1463a8 feat(feishu): register native Slash Command panel on startup
The Feishu bot now calls the app_slash_commands OpenAPI at startup to register its common commands (menu, new, help, status, compact, sessionlist, workspacelist, watch, unwatch, watchlist, archived) as native Slash Commands, so typing / in a Feishu direct-message input box pops the command panel and tapping a command triggers it.

The command list is owned and pushed by dsh-im; it does not depend on the dsh/Harness backend. Registration is best-effort and runs asynchronously, so it never blocks the long-connection startup or message delivery when the app lacks the application:app_slash_command:read/write scopes.

Adds src/channels/feishu/slash-command-registry.mjs (manifest, list/create/delete, idempotent sync), wires it into feishu-runtime.mjs (slashCommands config flag + status fields), and covers it with tests.
2026-08-30 23:40:59 +08:00
xmanrui
e08c3e9576 chore: release v4.1.0 2026-08-30 13:08:14 +08:00
xmanrui
b90cb805c7 feat: add proactive delivery HTTP endpoint 2026-08-30 11:52:01 +08:00
xmanrui
31792d7bc8 feat: add stable proactive delivery 2026-08-30 11:24:53 +08:00
xmanrui
92ec91b7bd chore: release v4.0.1 2026-08-30 07:02:50 +08:00
xmanrui
8794a46e81 chore: release v4.0.0 2026-08-29 20:26:00 +08:00
xmanrui
72ffd7115c chore: release v3.2.0 2026-08-29 10:49:19 +08:00
xmanrui
57eef234b1 feat(ui): add manual update commands and simplify update dialog 2026-08-28 15:32:09 +08:00
xmanrui
45c0a7f77f chore: release v3.1.1 2026-08-28 10:53:30 +08:00
xmanrui
6c6d4af936 fix(feishu): preserve long streaming replies
Keep a bounded streaming preview, then deliver the complete final answer across multiple cards. Preserve all provider message IDs and cover long snapshots and Unicode boundaries with regression tests.

Fixes #78
2026-08-28 10:50:35 +08:00
xmanrui
71ca552113 chore: release v3.1.0 2026-08-28 06:42:16 +08:00
xmanrui
f3cefd8a84 feat: add npm update checks and manual installation
Add profile-scoped npm updates for Desktop and Web, protect source installations, and keep restarts manual. Cover stale status recovery, request races, and dialog focus with regression tests.

Verified with npm run check (1626 tests) and isolated Desktop/Web npm installation flows.

Refs #61
2026-08-28 06:37:40 +08:00
xmanrui
8c6c31a1b6 feat: add bounded history previews across nine channels
Add shared /history parsing, read-only session access, message filtering, and bounded replies. Default to three messages, cap at five, and exclude saved history commands.

Include channel integration tests, translations, command help, and the Issue #62 implementation plan.
2026-08-28 03:01:53 +08:00
xmanrui
bf0e157cd4 chore: release v3.0.8 2026-08-28 01:32:15 +08:00
xmanrui
f4ded46278 chore: release v3.0.7 2026-08-27 22:37:34 +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
xmanrui
c93f42f1cc chore: release v3.0.6 2026-08-26 22:24:25 +08:00
xmanrui
64587b3b61 chore: release v3.0.5 2026-08-26 18:54:12 +08:00
xmanrui
50d55090b9 chore: release v3.0.4 2026-08-26 18:04:31 +08:00
xmanrui
a9bb0ed3ba chore: release v3.0.3 2026-08-26 17:41:28 +08:00
xmanrui
54468bbe1e chore: release v3.0.2 2026-08-26 14:36:51 +08:00
xmanrui
fb8a9df652 chore: release v3.0.1 2026-08-26 09:24:02 +08:00
xmanrui
40b5a46516 chore: release v3.0.0 2026-08-25 22:58:11 +08:00
xmanrui
1ce8126edb feat(settings): move IM bot to top-level menu
Remove the legacy Plugins-tab registrations, keep the channel-logo navigation, and harden upgrade/package verification.
2026-08-25 22:42:41 +08:00
xmanrui
d33ae50643 chore: release v2.6.0 2026-08-25 17:18:29 +08:00
xmanrui
aa8fd71b93 chore: release v2.5.0 2026-08-25 15:11:55 +08:00
xmanrui
cb34e3f8de feat(weixin): show typing indicator during turns 2026-08-25 13:53:21 +08:00
xmanrui
7211534aef chore: release v2.4.0 2026-08-25 12:26:58 +08:00
xmanrui
10ca7eec2c fix(feishu): complete permissions repair flow 2026-08-25 04:25:21 +08:00
xmanrui
02cd4bb0b6 chore: release v2.3.0 2026-08-25 02:41:25 +08:00
xmanrui
f6cc1cae30 chore: release v2.2.1 2026-08-25 01:17:08 +08:00
xmanrui
2cc3a42d45 fix(whatsapp): respond to linked-account group messages 2026-08-25 01:12:55 +08:00
xmanrui
9657107a21 chore: release v2.2.0 2026-08-25 00:52:54 +08:00
xmanrui
60d19eb45d chore: release v2.1.0 2026-08-24 18:53:59 +08:00
xmanrui
dea9a8f2d1 chore: release v2.0.1 2026-08-24 11:46:38 +08:00
xmanrui
596848ffcb fix: isolate channel activation failures 2026-08-24 11:43:35 +08:00
xmanrui
e577e66a93 chore: release v2.0.0 2026-08-24 04:12:18 +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
3ff8c2a519 chore: release v1.5.0 2026-08-24 03:28:19 +08:00
xmanrui
1d7f6a5a0a chore: release v1.4.0 2026-08-24 01:22:11 +08:00
xmanrui
26417d3666 chore: release v1.3.0 2026-08-23 22:42:18 +08:00
xmanrui
29bcb67a64 chore: release v1.2.0 2026-08-23 21:36:05 +08:00