@rezti/dsh-rez-suite 0.1.41 → 0.1.45

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/README.md CHANGED
@@ -2,18 +2,24 @@
2
2
 
3
3
  雷泽插件的**唯一安装入口**。Odoo / 企微 / HA / TAPD / GSC / 企查查(仅法务助理房间) / 天眼查(仅老板) / 工作区(老板三室 + 全员助理)都由这一包拉齐,不要再逐个 `plugin add`,**不要**再装 `@rezti/dsh-rez-boss-desk`。
4
4
 
5
- 发版顺序:先发 `@rezti/dsh-rez-sso@0.1.11`,再发 `@rezti/dsh-rez-suite@0.1.34`(或更高)。suite 读取 SSO 的 `REZ_DEFAULT_CONNECTIONS.qcc`;缺字段时用官方 URL 兜底,避免插件加载失败把微信面板一起拖垮。
5
+ 发版顺序:先发 `@rezti/dsh-rez-sso@0.1.13` 与 `@rezti/dsh-rez-nextcloud@0.1.10`,再发 `@rezti/dsh-rez-suite@0.1.45`。suite 读取 SSO 的 `REZ_DEFAULT_CONNECTIONS.qcc`;缺字段时用官方 URL 兜底,避免插件加载失败把微信面板一起拖垮。
6
6
 
7
7
  设置里选身份后,左侧自己出现对应房间(全员三助理;老板另加搞钱/产品/运营),不必手动添加工作区。
8
8
 
9
9
  ```bash
10
- # 第一次
11
- dsh plugin --profile web add @rezti/dsh-rez-suite
10
+ # 第一次、以后升级都是这一条
11
+ dsh plugin --profile web add @rezti/dsh-rez-suite@latest
12
+ ```
13
+
14
+ DSH 新 profile 默认 `minimumReleaseAge: 1440`(新包要满 24 小时才让装)。当天发的 suite 会被当成「太新」而退回更旧的版(例如卡在 `0.1.19`)。发版当天先改:
12
15
 
13
- # 以后升级(只记这一条)
14
- dsh plugin --profile web update @rezti/dsh-rez-suite
16
+ ```bash
17
+ # ~/.dsh/profiles/web/pnpm-workspace.yaml
18
+ minimumReleaseAge: 0
15
19
  ```
16
20
 
21
+ 然后再跑上面的 `add @latest`。不要用裸 `dsh plugin update`(不会拉 latest)。
22
+
17
23
  包名是 `@rezti/dsh-rez-suite`,不是 `dsh-rezti-suite`。不要对同一 profile 再单独 add 子包,会重复注册。
18
24
 
19
25
  拆分包(`dsh-rez-odoo` 等)给开发改代码用。Web 面板(含微信扫码)暂时仍在本包。
package/README.zh.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-rez-suite
2
2
 
3
- **用户只装这一包。** 升级只记:`dsh plugin --profile web update @rezti/dsh-rez-suite`。拆分包给开发改代码;不要对同一 profile 再单独 add 子包。
3
+ **用户只装这一包。** 升级只记:`dsh plugin --profile web add @rezti/dsh-rez-suite@latest`(不要用裸 `update`,那不会拉 npm 最新版)。拆分包给开发改代码;不要对同一 profile 再单独 add 子包。
4
4
 
5
5
  DSH Web GUI 的「Rez Suite」插件包:在插件内部启动一个 MCP Host,支持 **stdio** 与 **streamable-http** 两种 MCP 连接;提供 Web 配置面板(连通性一键验证)、按角色动态筛选 MCP 工具的 Preset 加载器,以及 SQLite 本地 Token/审计账本。
6
6
 
@@ -31,7 +31,7 @@ DSH Web GUI 的「Rez Suite」插件包:在插件内部启动一个 MCP Host
31
31
  "args": ["nextcloud-mcp-server", "run", "--transport", "stdio"],
32
32
  "env": {
33
33
  "NEXTCLOUD_HOST": "https://cloud.rez-ti.com",
34
- "NEXTCLOUD_USERNAME": "rez-ti-2",
34
+ "NEXTCLOUD_USERNAME": "<组 rezti 成员>",
35
35
  "NEXTCLOUD_PASSWORD": "<password>"
36
36
  }
37
37
  },
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 update @rezti/dsh-rez-suite`
2
+ # 升级只记这一条:`dsh plugin --profile web add @rezti/dsh-rez-suite@latest`
3
3
  # 不要再单独 add 子包,会重复注册。
4
4
  #
5
5
  # MCP rows are started by the domain plugins after rezSso resolves secrets.
package/lib/index.js CHANGED
@@ -2998,7 +2998,7 @@ function observeQccOutsideLegalRoom(input) {
2998
2998
  }
2999
2999
  function observeComposedServers(input) {
3000
3000
  return composedServersFor(input).map((server) => {
3001
- if (server === "qcc" && !isLegalAssistantRoom(input.room)) return observeQccOutsideLegalRoom(input);
3001
+ if (server === "qcc" && input.room !== void 0 && !isLegalAssistantRoom(input.room)) return observeQccOutsideLegalRoom(input);
3002
3002
  return observeServer(server, input);
3003
3003
  });
3004
3004
  }
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 update @rezti/dsh-rez-suite",
4
- "version": "0.1.41",
3
+ "description": "ReZ-TI one-package install for DeepSeek Harness. Update with: dsh plugin --profile web add @rezti/dsh-rez-suite@latest",
4
+ "version": "0.1.45",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": "^22.19.0 || >=24.0.0"
@@ -40,9 +40,9 @@
40
40
  "@rezti/dsh-rez-gsc": "^0.1.1",
41
41
  "@rezti/dsh-rez-ha-bridge": "^0.1.9",
42
42
  "@rezti/dsh-rez-intent": "^0.1.5",
43
- "@rezti/dsh-rez-nextcloud": "^0.1.9",
43
+ "@rezti/dsh-rez-nextcloud": "^0.1.10",
44
44
  "@rezti/dsh-rez-odoo": "^0.1.9",
45
- "@rezti/dsh-rez-sso": "^0.1.12",
45
+ "@rezti/dsh-rez-sso": "^0.1.13",
46
46
  "@rezti/dsh-rez-tapd": "^0.1.1",
47
47
  "@rezti/dsh-rez-token-manager": "^0.1.4",
48
48
  "@rezti/dsh-rez-wechat": "^0.1.14",
@@ -95,16 +95,16 @@
95
95
  "publishConfig": {
96
96
  "access": "public"
97
97
  },
98
+ "repository": {
99
+ "type": "git",
100
+ "url": "git+https://github.com/ReZ-TI/deepseek-harness.git",
101
+ "directory": "packages/dsh-rez-suite"
102
+ },
98
103
  "scripts": {
99
104
  "build": "tsc -p tsconfig.build.json && tsdown --config-loader native && node scripts/wrap-client.mjs",
100
105
  "bundle": "tsdown --config-loader native",
101
106
  "watch": "tsdown --config-loader native --watch",
102
107
  "typecheck": "tsc --noEmit",
103
108
  "test": "vitest run"
104
- },
105
- "repository": {
106
- "type": "git",
107
- "url": "git+https://github.com/ReZ-TI/deepseek-harness.git",
108
- "directory": "packages/dsh-rez-suite"
109
109
  }
110
- }
110
+ }
@@ -134,7 +134,7 @@ function observeQccOutsideLegalRoom(input: ObserveInput): RezServerStatus {
134
134
 
135
135
  export function observeComposedServers(input: ObserveInput): RezServerStatus[] {
136
136
  return composedServersFor(input).map((server) => {
137
- if (server === 'qcc' && !isLegalAssistantRoom(input.room)) {
137
+ if (server === 'qcc' && input.room !== undefined && !isLegalAssistantRoom(input.room)) {
138
138
  return observeQccOutsideLegalRoom(input)
139
139
  }
140
140
  return observeServer(server, input)
@@ -39,7 +39,7 @@
39
39
 
40
40
  - 货好不好、该不该做:主销 SKU、退货/客诉、认证与交期、明确停做的事。
41
41
  - TAPD 只读阻塞和等老板拍板的;Odoo 只读退货/质量相关。
42
- - 新产品或改产品 Wiki:Wiki **必须**同时写死 Nextcloud RAW 路径,以及 Git 3D 源路径 `products/{slug}/models` 与 `products/{slug}/motion`。缺任一项就说「Wiki 未归档」,不要猜路径。
43
- - 问某产品素材在哪:打开 Nextcloud `Documents/Standards/INDEX.yaml`,再按相对 uri 读路径规则;加上该产品 Wiki **首次创建标题**,不要用会变的 Odoo `name` / 销售标题。
42
+ - 新产品或改产品 Wiki:Wiki **必须**同时写死 Nextcloud RAW 路径、Nextcloud Publish 路径(说明书 / 规格书 / 打标 / 渠道),以及 Git 3D 源路径 `products/{slug}/models` 与 `products/{slug}/motion`。缺任一项就说「Wiki 未归档」,不要猜路径。
43
+ - 问某产品素材在哪:打开 Nextcloud `Documents/Standards/INDEX.yaml`,再按相对 uri 读路径规则;加上该产品 Wiki **首次创建标题**,不要用会变的 Odoo `name` / 销售标题。RAW 在 `Marketing/RAW/…`,给团队用的非 RAW 在 `Marketing/Publish/…`。
44
44
  - 禁止在这里写固件、开辅线、做 HA Add-on、做微信通道。那些走仓库和员工机。
45
45
  - 工商查询请切到法务助理,避免串房间。