@rezti/dsh-rez-suite 0.1.76 → 0.1.77

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 CHANGED
@@ -5,13 +5,17 @@
5
5
  升级:
6
6
 
7
7
  ```bash
8
- dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.76
8
+ dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.77
9
9
  ```
10
10
 
11
11
  不要用裸 `plugin update`,不要写 `latest`(新 profile 有 24 小时发布冷却,当天可能装不上)。不要装 **0.1.46**(GitHub 子依赖会被 DSH 拦住)。不要装 **0.1.51** / **0.1.69**(误用 `npm publish` 把 `workspace:` 打进包了)。
12
12
 
13
13
 
14
- ## 0.1.76 · 2026-09-13
14
+ ## 0.1.77 · 2026-09-17
15
+
16
+ 修复微信/企微共用回复适配层:通过官方 sessionController.follow 获取最新快照,不再把 throughSeq=-1 当最新游标。接口错误直接报告;连续两轮回复相同文本可正常返回。企微按 UTF-8 字节限制回复,最终发送失败可返回错误提示,重复投递不打断当前轮,取消可释放队列。wechat 0.1.24;需 Harness 0.1.5-rc.2。Kelvin 已确认本地微信/企微实测通过。
17
+
18
+ ## 0.1.75 · 2026-09-13
15
19
 
16
20
  **修「网页有回复、微信没有」。** dsh 0.1.5 可见文字多半先走 `text-chunks`,末条 `assistant/message` 常是纯工具调用;shim 以前只读 message 的 text,等不到就一直挂着。现从 `text-chunks` 抽可见文,并用 prompt 后的 `turn/end` seq 判定本轮结束。企微长回复截断,并保证 stream `finish` 收尾。wechat `@0.1.23`。
17
21
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  雷泽插件的**唯一安装入口**。Odoo / 企微 / HA / TAPD / GSC / 企查查(仅法务助理房间) / 天眼查(仅老板) / 工作区(老板三室 + 全员助理)都由这一包拉齐,不要再逐个 `plugin add`,**不要**再装 `@rezti/dsh-rez-boss-desk`。
4
4
 
5
- 发版顺序(必做):先发 `@rezti/dsh-rez-sso@0.1.17` → `@rezti/dsh-rez-suite@0.1.64`。**发 suite 必须用 `pnpm publish`**(会把 `workspace:` 写成真实版本),不要用 `npm publish`。`@deepseek-ai/*` 钉死 `0.1.5-rc.2`,不要写成 `^`。员工机启动脚本跟 npm 满 24h 的 latest,不必改安装包里的钉死号。看图旁路在设置里二选一:Kimi 开放平台或 Kimi Code(两套 key 不能混用)。
5
+ 发版顺序(必做):先发 `@rezti/dsh-rez-wechat@0.1.24` → `@rezti/dsh-rez-suite@0.1.77`。**发 suite 必须用 `pnpm publish`**(会把 `workspace:` 写成真实版本),不要用 `npm publish`。`@deepseek-ai/*` 钉死 `0.1.5-rc.2`,不要写成 `^`。员工机启动脚本跟 npm 满 24h 的 latest,不必改安装包里的钉死号。看图旁路在设置里二选一:Kimi 开放平台或 Kimi Code(两套 key 不能混用)。
6
6
 
7
7
  设置里选身份后,左侧自己出现对应房间(全员三助理;工程师另加实验室;运营另加设计、发布、电商;老板另加搞钱/产品/运营),不必手动添加工作区。实验室:大模型写 YAML、调 MCP、给下载链接。
8
8
 
@@ -11,8 +11,8 @@
11
11
  员工机启动脚本装 npm 上已满 24 小时的最新 suite(不必钉死版本)。左下角「升级」仍可当天装(profile `minimumReleaseAge: 0`)。不要用裸 `plugin update`。
12
12
 
13
13
  ```bash
14
- # 第一次 / 升级(钉死版本,避开 24h 发布冷却)
15
- dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.64
14
+ # 第一次 / 升级(需 Harness 0.1.5-rc.2;当天安装须允许新包)
15
+ dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.77
16
16
  ```
17
17
 
18
18
  本版改了什么:见 [CHANGELOG.md](./CHANGELOG.md)。
package/README.zh.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-rez-suite
2
2
 
3
- **用户只装这一包。** 升级只记:`dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.63`(不要用裸 `update`;不要 latest;不要 0.1.46 / 0.1.47 / 0.1.51)。本版改了什么见 [CHANGELOG.md](./CHANGELOG.md)。拆分包给开发改代码;不要对同一 profile 再单独 add 子包。
3
+ **用户只装这一包。** 升级只记:`dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.77`(不要用裸 `update`;不要 latest;不要 0.1.46 / 0.1.47 / 0.1.51)。本版改了什么见 [CHANGELOG.md](./CHANGELOG.md)。拆分包给开发改代码;不要对同一 profile 再单独 add 子包。
4
4
 
5
5
  说明书 / 规格书用输入栏**回形针**上传原 PDF(官方对话只收图,不要拖文件;不要用微信发 PDF)。先入 `Marketing/Inbox`,立刻用 Nextcloud MCP 抽字交回对话,TAPD 测试中,凯文跟 Harness 说审批了哪份后,再写入 `Marketing/Publish/…`。看产品图直接贴进对话即可(旁路先转文字),网页对话模型不要改。
6
6
 
package/cordis.patch.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  # 用户只装这一包:`dsh plugin --profile web add @rezti/dsh-rez-suite`
2
- # 升级只记这一条:`dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.76`
2
+ # 升级只记这一条:`dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.77`
3
3
  # 不要再单独 add 子包,会重复注册。
4
4
  #
5
5
  # MCP rows are started by the domain plugins after rezSso resolves secrets.
package/lib/client.js CHANGED
@@ -1011,7 +1011,21 @@ function ChannelTable({ kind, lang }) {
1011
1011
  //#region src/changelog.ts
1012
1012
  const SUITE_CHANGELOG = [
1013
1013
  {
1014
- version: "0.1.76",
1014
+ version: "0.1.77",
1015
+ date: "2026-09-17",
1016
+ sections: [{
1017
+ title: {
1018
+ zh: "微信与企微回复修复",
1019
+ en: "WeChat and WeCom reply fix"
1020
+ },
1021
+ items: [{
1022
+ zh: "复用官方会话快照,修正 throughSeq=-1 导致永远读空;相同文字的连续回复也可返回。企微按 UTF-8 字节截断,发送失败保留提示,重复消息不再打断当前回复。需 Harness 0.1.5-rc.2。",
1023
+ en: "Read official session snapshots instead of an empty throughSeq=-1 page. Preserve repeated replies, enforce UTF-8 limits, report delivery failures and ignore duplicates before cancellation. Requires Harness 0.1.5-rc.2."
1024
+ }]
1025
+ }]
1026
+ },
1027
+ {
1028
+ version: "0.1.75",
1015
1029
  date: "2026-09-13",
1016
1030
  sections: [{
1017
1031
  title: {
@@ -1019,8 +1033,8 @@ const SUITE_CHANGELOG = [
1019
1033
  en: "Fix Harness reply missing on WeChat"
1020
1034
  },
1021
1035
  items: [{
1022
- zh: "从 text-chunks 抽取可见文字(末条 assistant/message 常是纯工具);按 turn/end seq 判定结束。企微截断长回复并保证 finish。wechat@0.1.23。请装 @0.1.76 并重启。",
1023
- en: "Read visible text from text-chunks (final assistant/message is often tool-only); settle on turn/end seq. WeCom clips long replies and always finishes the stream. wechat@0.1.23. Install @0.1.76 and restart."
1036
+ zh: "从 text-chunks 抽取可见文字(末条 assistant/message 常是纯工具);按 turn/end seq 判定结束。企微截断长回复并保证 finish。wechat@0.1.23。请装 @0.1.75 并重启。",
1037
+ en: "Read visible text from text-chunks (final assistant/message is often tool-only); settle on turn/end seq. WeCom clips long replies and always finishes the stream. wechat@0.1.23. Install @0.1.75 and restart."
1024
1038
  }]
1025
1039
  }]
1026
1040
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rezti/dsh-rez-suite",
3
- "description": "ReZ-TI one-package install for DeepSeek Harness. Update with: dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.76",
4
- "version": "0.1.76",
3
+ "description": "ReZ-TI one-package install for DeepSeek Harness. Update with: dsh plugin --profile web add @rezti/dsh-rez-suite@0.1.77",
4
+ "version": "0.1.77",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": "^22.19.0 || >=24.0.0"
@@ -37,18 +37,18 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@modelcontextprotocol/sdk": "^1.30.0",
40
- "@rezti/dsh-rez-comms": "workspace:^0.1.0",
41
- "@rezti/dsh-rez-gsc": "workspace:^0.1.2",
42
- "@rezti/dsh-rez-ha-bridge": "workspace:^0.1.10",
43
- "@rezti/dsh-rez-intent": "workspace:^0.1.6",
44
- "@rezti/dsh-rez-nextcloud": "workspace:^0.1.14",
45
- "@rezti/dsh-rez-odoo": "workspace:^0.1.10",
46
- "@rezti/dsh-rez-publish": "workspace:^0.1.0",
47
- "@rezti/dsh-rez-sso": "workspace:^0.1.18",
48
- "@rezti/dsh-rez-tapd": "workspace:^0.1.2",
49
- "@rezti/dsh-rez-token-manager": "workspace:^0.1.5",
50
- "@rezti/dsh-rez-vision": "workspace:^0.1.4",
51
- "@rezti/dsh-rez-wechat": "workspace:^0.1.23",
40
+ "@rezti/dsh-rez-comms": "^0.1.0",
41
+ "@rezti/dsh-rez-gsc": "^0.1.2",
42
+ "@rezti/dsh-rez-ha-bridge": "^0.1.10",
43
+ "@rezti/dsh-rez-intent": "^0.1.6",
44
+ "@rezti/dsh-rez-nextcloud": "^0.1.14",
45
+ "@rezti/dsh-rez-odoo": "^0.1.10",
46
+ "@rezti/dsh-rez-publish": "^0.1.0",
47
+ "@rezti/dsh-rez-sso": "^0.1.18",
48
+ "@rezti/dsh-rez-tapd": "^0.1.2",
49
+ "@rezti/dsh-rez-token-manager": "^0.1.5",
50
+ "@rezti/dsh-rez-vision": "^0.1.4",
51
+ "@rezti/dsh-rez-wechat": "0.1.24",
52
52
  "@rezti/dsh-web-file-uploader": "0.2.3",
53
53
  "@wecom/cli": "1.1.0",
54
54
  "zod": "^4.4.3"
@@ -102,16 +102,16 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
+ "repository": {
106
+ "type": "git",
107
+ "url": "git+https://github.com/ReZ-TI/deepseek-harness.git",
108
+ "directory": "packages/dsh-rez-suite"
109
+ },
105
110
  "scripts": {
106
111
  "build": "tsc -p tsconfig.build.json && tsdown --config-loader native && node scripts/wrap-client.mjs",
107
112
  "bundle": "tsdown --config-loader native",
108
113
  "watch": "tsdown --config-loader native --watch",
109
114
  "typecheck": "tsc --noEmit",
110
115
  "test": "vitest run"
111
- },
112
- "repository": {
113
- "type": "git",
114
- "url": "git+https://github.com/ReZ-TI/deepseek-harness.git",
115
- "directory": "packages/dsh-rez-suite"
116
116
  }
117
- }
117
+ }
package/src/changelog.ts CHANGED
@@ -21,15 +21,26 @@ export interface ChangelogRelease {
21
21
 
22
22
  export const SUITE_CHANGELOG: readonly ChangelogRelease[] = [
23
23
  {
24
- version: '0.1.76',
24
+ version: '0.1.77',
25
+ date: '2026-09-17',
26
+ sections: [{
27
+ title: { zh: '微信与企微回复修复', en: 'WeChat and WeCom reply fix' },
28
+ items: [{
29
+ zh: '复用官方会话快照,修正 throughSeq=-1 导致永远读空;相同文字的连续回复也可返回。企微按 UTF-8 字节截断,发送失败保留提示,重复消息不再打断当前回复。需 Harness 0.1.5-rc.2。',
30
+ en: 'Read official session snapshots instead of an empty throughSeq=-1 page. Preserve repeated replies, enforce UTF-8 limits, report delivery failures and ignore duplicates before cancellation. Requires Harness 0.1.5-rc.2.',
31
+ }],
32
+ }],
33
+ },
34
+ {
35
+ version: '0.1.75',
25
36
  date: '2026-09-13',
26
37
  sections: [
27
38
  {
28
39
  title: { zh: '修网页有回复微信没有', en: 'Fix Harness reply missing on WeChat' },
29
40
  items: [
30
41
  {
31
- zh: '从 text-chunks 抽取可见文字(末条 assistant/message 常是纯工具);按 turn/end seq 判定结束。企微截断长回复并保证 finish。wechat@0.1.23。请装 @0.1.76 并重启。',
32
- en: 'Read visible text from text-chunks (final assistant/message is often tool-only); settle on turn/end seq. WeCom clips long replies and always finishes the stream. wechat@0.1.23. Install @0.1.76 and restart.',
42
+ zh: '从 text-chunks 抽取可见文字(末条 assistant/message 常是纯工具);按 turn/end seq 判定结束。企微截断长回复并保证 finish。wechat@0.1.23。请装 @0.1.75 并重启。',
43
+ en: 'Read visible text from text-chunks (final assistant/message is often tool-only); settle on turn/end seq. WeCom clips long replies and always finishes the stream. wechat@0.1.23. Install @0.1.75 and restart.',
33
44
  },
34
45
  ],
35
46
  },