@michengai/dsh-im-connect 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/CHANGELOG.zh-CN.md +16 -0
- package/README.en.md +0 -1
- package/README.md +0 -1
- package/client.js +509 -60
- package/lib/channels/factory.d.ts +2 -0
- package/lib/channels/factory.d.ts.map +1 -1
- package/lib/channels/factory.js +22 -7
- package/lib/channels/factory.js.map +1 -1
- package/lib/channels/meta.js +3 -3
- package/lib/channels/meta.js.map +1 -1
- package/lib/client.js +509 -60
- package/lib/engine/approval.d.ts +4 -1
- package/lib/engine/approval.d.ts.map +1 -1
- package/lib/engine/approval.js +38 -11
- package/lib/engine/approval.js.map +1 -1
- package/lib/engine/gateway.d.ts +32 -1
- package/lib/engine/gateway.d.ts.map +1 -1
- package/lib/engine/gateway.js +417 -17
- package/lib/engine/gateway.js.map +1 -1
- package/lib/engine/question.d.ts +56 -0
- package/lib/engine/question.d.ts.map +1 -0
- package/lib/engine/question.js +196 -0
- package/lib/engine/question.js.map +1 -0
- package/lib/engine/router.d.ts +10 -7
- package/lib/engine/router.d.ts.map +1 -1
- package/lib/engine/router.js +47 -27
- package/lib/engine/router.js.map +1 -1
- package/lib/engine/session-id.d.ts +6 -4
- package/lib/engine/session-id.d.ts.map +1 -1
- package/lib/engine/session-id.js +4 -2
- package/lib/engine/session-id.js.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -1
- package/lib/index.js.map +1 -1
- package/lib/manager.d.ts +51 -6
- package/lib/manager.d.ts.map +1 -1
- package/lib/manager.js +311 -66
- package/lib/manager.js.map +1 -1
- package/package.json +1 -1
- package/src/channels/factory.ts +15 -9
- package/src/channels/meta.ts +3 -3
- package/src/engine/approval.ts +40 -13
- package/src/engine/gateway.ts +451 -21
- package/src/engine/question.ts +228 -0
- package/src/engine/router.ts +53 -33
- package/src/engine/session-id.ts +10 -6
- package/src/index.ts +9 -2
- package/src/manager.ts +332 -75
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
The five most recent published versions are listed below. Git tags and GitHub Releases now mirror these entries; historical sections retain links to their original release commits.
|
|
6
6
|
|
|
7
|
+
## 0.1.28 — 2026-09-01
|
|
8
|
+
|
|
9
|
+
- Added multiple isolated accounts for WeChat, WeCom, QQ, DingTalk, Feishu, Lark, and Telegram, with independent workspace, model, permission, private-access, credential, allowlist, and session state.
|
|
10
|
+
- Redesigned IM Assistant settings around channel-local account creation, persistent account selection, account-specific configuration, clear empty states, on-demand QR pairing, and responsive desktop layouts.
|
|
11
|
+
- Hardened public private chats so unapproved users cannot approve local tool calls, made legacy approval routes fail closed when an account is ambiguous, and explicitly cancelled pending approvals and questions when an account reloads.
|
|
12
|
+
|
|
13
|
+
Published package: [`@michengai/dsh-im-connect@0.1.28`](https://www.npmjs.com/package/@michengai/dsh-im-connect/v/0.1.28).
|
|
14
|
+
|
|
15
|
+
## 0.1.27 — 2026-08-31
|
|
16
|
+
|
|
17
|
+
- Routed DSH tool approvals and structured user questions through the originating IM conversation, with text replies for approvals, single-choice, multiple-choice, and custom answers.
|
|
18
|
+
- Kept current and legacy DSH interaction contracts compatible while serializing same-session prompts and restricting group replies to the initiating user.
|
|
19
|
+
- Hardened prompt delivery and cancellation so partial sends, failed deliveries, aborts, session resets, and plugin disposal cannot leave an active stale interaction.
|
|
20
|
+
|
|
21
|
+
Published package: [`@michengai/dsh-im-connect@0.1.27`](https://www.npmjs.com/package/@michengai/dsh-im-connect/v/0.1.27).
|
|
22
|
+
|
|
7
23
|
## 0.1.26 — 2026-08-28
|
|
8
24
|
|
|
9
25
|
- Enabled npm Trusted Publishing through the repository's GitHub Actions release workflow.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录最近发布的五个版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 0.1.28 — 2026-09-01
|
|
8
|
+
|
|
9
|
+
- 微信、企业微信、QQ、钉钉、飞书、Lark 与 Telegram 现可接入多个相互隔离的账号;每个账号独立保存工作区、模型、权限、私聊准入、凭据、白名单与会话状态。
|
|
10
|
+
- 重新设计 IM 助理设置:按渠道添加账号、记住账号选择、独立编辑账号配置,并补齐空状态、按需二维码与桌面窄窗口响应式布局。
|
|
11
|
+
- 加强公开私聊安全边界:未批准用户不能审批本机工具调用;旧版审批接口在账号不明确时安全失败;账号重载会主动取消仍在等待的工具审批和结构化问题。
|
|
12
|
+
|
|
13
|
+
发布包:[`@michengai/dsh-im-connect@0.1.28`](https://www.npmjs.com/package/@michengai/dsh-im-connect/v/0.1.28)。
|
|
14
|
+
|
|
15
|
+
## 0.1.27 — 2026-08-31
|
|
16
|
+
|
|
17
|
+
- 将 DSH 工具审批和结构化用户问题路由到发起任务的 IM 会话,通过文字回复完成审批、单选、多选和自定义回答。
|
|
18
|
+
- 同时兼容 DSH 当前及旧版交互契约;同一会话的提示按顺序处理,群聊只允许发起用户作答。
|
|
19
|
+
- 加强提示发送与取消处理,避免分片发送、投递失败、任务中止、会话重置或插件卸载后留下仍可响应的过期交互。
|
|
20
|
+
|
|
21
|
+
发布包:[`@michengai/dsh-im-connect@0.1.27`](https://www.npmjs.com/package/@michengai/dsh-im-connect/v/0.1.27)。
|
|
22
|
+
|
|
7
23
|
## 0.1.26 — 2026-08-28
|
|
8
24
|
|
|
9
25
|
- 启用仓库 GitHub Actions 发布工作流的 npm Trusted Publishing。
|
package/README.en.md
CHANGED
|
@@ -106,7 +106,6 @@ This product can be installed independently or used through the desktop app or W
|
|
|
106
106
|
| --- | --- |
|
|
107
107
|
| [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | The host runtime that provides models, sessions, tools, and the plugin system |
|
|
108
108
|
| [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop) | A ready-to-install desktop product with this product and the other five feature products built in |
|
|
109
|
-
| [DSH Codex Suite](https://github.com/MichengAI/dsh-codex-ui/tree/main/packages/dsh-codex-suite) | A one-click suite for existing DSH Web environments that installs this product and the other five feature products |
|
|
110
109
|
| Six feature products | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) · [IM Connect](https://github.com/MichengAI/dsh-im-connect) · [Automation](https://github.com/MichengAI/dsh-automation) · [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) · [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) · [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) |
|
|
111
110
|
|
|
112
111
|
## Prerequisites
|
package/README.md
CHANGED
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
| --- | --- |
|
|
107
107
|
| [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | 本产品的运行宿主,提供模型、会话、工具和插件系统 |
|
|
108
108
|
| [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop) | 下载安装即用的桌面产品,已内置本产品和其他 5 个功能产品 |
|
|
109
|
-
| [DSH Codex Suite](https://github.com/MichengAI/dsh-codex-ui/tree/main/packages/dsh-codex-suite) | 面向已有 DSH Web 环境的一键套件,会安装本产品和其他 5 个功能产品 |
|
|
110
109
|
| 6 个功能产品 | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) · [IM Connect](https://github.com/MichengAI/dsh-im-connect) · [Automation](https://github.com/MichengAI/dsh-automation) · [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) · [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) · [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) |
|
|
111
110
|
|
|
112
111
|
## 前置条件
|