@michengai/dsh-codex-suite 0.1.13 → 0.1.15

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.
Files changed (3) hide show
  1. package/README.md +24 -22
  2. package/README.zh-CN.md +24 -24
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # DSH Codex Suite
2
2
 
3
- `@michengai/dsh-codex-suite` is the one-click combo: Codex UI, expert management, skill management, archive management, IM Assistant, and scheduled tasks.
3
+ `@michengai/dsh-codex-suite` remains the compatibility aggregate for profiles installed with the old `dsh plugin add` command. For new installs and migration, use the lightweight `@michengai/dsh-codex-suite-installer`; it adds the six members as **direct dependencies**.
4
4
 
5
5
  ## Plugin combo
6
6
 
@@ -13,47 +13,49 @@
13
13
  | IM Assistant | `@michengai/dsh-im-connect` |
14
14
  | Scheduled tasks | `@michengai/dsh-automation` |
15
15
 
16
- `dshmarket` is not part of the suite. Install it separately when needed.
16
+ Each Suite release pins one exact, verified member set. The separate installer has no member runtime dependency tree of its own, so `npx` can start immediately and let DSH install the members directly. `dshmarket` remains optional.
17
17
 
18
- Each suite release pins an exact, tested version of every member plugin. Component upgrades are delivered by publishing a new suite version rather than resolving floating `latest` dependencies during installation.
18
+ ## One-click installation
19
19
 
20
- ## Installation
21
-
22
- `dsh plugin add` forwards to `pnpm add` in the profile directory. Without a version and official registry, a local mirror or minimum-release-age policy can leave you on an older build.
23
-
24
- Run this from any PowerShell directory:
20
+ Node.js 22+ is required, and the current DSH `dsh` command must be on PATH. Run from any directory:
25
21
 
26
22
  ```powershell
27
23
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
28
24
  $OutputEncoding = [System.Text.Encoding]::UTF8
29
- dsh plugin --profile web add @michengai/dsh-codex-suite@latest --registry=https://registry.npmjs.org/
30
- dsh --profile web --dump-config
25
+ npx --yes @michengai/dsh-codex-suite-installer@latest --profile web
31
26
  ```
32
27
 
33
- If `dsh` is not on PATH, replace the leading `dsh` with `npx --yes @deepseek-ai/dsh`.
28
+ The installer:
29
+
30
+ 1. installs all six exact member versions from the official npm registry in one `dsh plugin add`;
31
+ 2. records every member as a direct profile dependency and bundle;
32
+ 3. promotes all members before removing a legacy aggregate Suite dependency;
33
+ 4. validates the result with `dsh --profile web --dump-config`.
34
+
35
+ Restart DSH Web and hard-refresh the browser afterwards. Set `DSH_BIN` when `dsh` is not on PATH.
34
36
 
35
- Restart DSH Web and hard-refresh the browser. The configuration output should contain `codex-ui`, `agency-agents`, `skills-manager`, `archive-manager`, `im-connect`, and `dsh-automation`.
37
+ ## New custom Web profile
36
38
 
37
- Individual and aggregate installation are mutually exclusive. If the profile already has any of the six plugins, uninstall them before adding the suite.
39
+ Keep the same `DSH_HOME` and choose another profile name:
40
+
41
+ ```powershell
42
+ npx --yes @michengai/dsh-codex-suite-installer@latest --profile codex
43
+ ```
44
+
45
+ DSH supplies `@deepseek-ai/dsh-base` when it creates a custom profile. The installer places DSH's built-in `@deepseek-ai/dsh-web-app` before the six member bundles without creating a separate Home or reinstalling the official Web package from npm.
38
46
 
39
47
  ## Install Codex UI only
40
48
 
41
49
  ```powershell
42
- [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
43
- $OutputEncoding = [System.Text.Encoding]::UTF8
44
50
  dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
45
51
  ```
46
52
 
47
53
  ## Local verification
48
54
 
49
- From the repository root:
55
+ Preview the installation plan from a repository checkout:
50
56
 
51
57
  ```powershell
52
- [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
53
- $OutputEncoding = [System.Text.Encoding]::UTF8
54
- dsh plugin --profile web add .\packages\dsh-codex-suite
58
+ node .\packages\dsh-codex-suite\bin.mjs --profile codex --dry-run
55
59
  ```
56
60
 
57
- ## pnpm layout
58
-
59
- DSH resolves the suite patch from the profile root. If the profile uses a strict pnpm layout, set `nodeLinker: hoisted` in the profile `pnpm-workspace.yaml` and reinstall. Otherwise the packages may install but fail to resolve at startup.
61
+ Remove `--dry-run` to apply it. The checkout path resolves the local `workspace:*` entry to the root package version.
package/README.zh-CN.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # DSH Codex Suite
2
2
 
3
- `@michengai/dsh-codex-suite` 是一键套件:一次安装 Codex UI、专家、技能、归档、IM 助理和定时任务。
3
+ `@michengai/dsh-codex-suite` 保留为兼容旧版 `dsh plugin add` 的聚合包。新安装和旧版迁移请使用轻量的 `@michengai/dsh-codex-suite-installer`,它会把六个成员写成目标 profile 的**直接依赖**。
4
4
 
5
5
  ## 插件组合
6
6
 
@@ -13,49 +13,49 @@
13
13
  | IM 助理 | `@michengai/dsh-im-connect` |
14
14
  | 定时任务 | `@michengai/dsh-automation` |
15
15
 
16
- `dshmarket` 不在套件内,需要时单独安装。
16
+ 每个 Suite 版本锁定一组经过验证的成员精确版本。独立安装器自身不携带成员运行时依赖树,因此 `npx` 可以立即启动,再交给 DSH 直接安装成员。`dshmarket` 不在套件内,需要时单独安装。
17
17
 
18
- 每个套件版本都会锁定一组经过验证的子插件精确版本。子插件升级通过发布新的套件版本统一交付,不在用户安装时动态解析浮动的 `latest`。
18
+ ## 一键安装
19
19
 
20
- ## 安装
21
-
22
- `dsh plugin add` 会转发到 profile 目录里的 `pnpm add`。不写版本、不指定官方源时,本机镜像和最短发布间隔可能让你停在旧版。
23
-
24
- 在任意 PowerShell 目录执行:
20
+ 需要 Node.js 22+,并确保当前 DSH 的 `dsh` 命令在 PATH 中。在任意目录执行:
25
21
 
26
22
  ```powershell
27
23
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
28
24
  $OutputEncoding = [System.Text.Encoding]::UTF8
29
- dsh plugin --profile web add @michengai/dsh-codex-suite@latest --registry=https://registry.npmjs.org/
30
- dsh --profile web --dump-config
25
+ npx --yes @michengai/dsh-codex-suite-installer@latest --profile web
31
26
  ```
32
27
 
33
- 未把 `dsh` 装进 PATH 时,把开头的 `dsh` 换成 `npx --yes @deepseek-ai/dsh`。
28
+ 安装器会:
34
29
 
35
- 重启 DSH Web 并在浏览器硬刷新。配置输出中应包含 `codex-ui`、`agency-agents`、`skills-manager`、`archive-manager`、`im-connect` `dsh-automation`。
30
+ 1. 用官方 npm 源和一次 `dsh plugin add` 安装六个精确版本成员;
31
+ 2. 将成员写成 profile 的直接 dependencies 与 bundles;
32
+ 3. 若存在旧版聚合 Suite,先提升全部成员,再移除旧聚合依赖;
33
+ 4. 运行 `dsh --profile web --dump-config` 验证最终配置。
36
34
 
37
- 独立安装与聚合安装互斥。同一 profile 已单独安装任一子插件时,先卸载全部六个子插件,再安装本聚合包;不要让两套 patch 同时生效。
35
+ 完成后重启 DSH Web 并在浏览器硬刷新。若 `dsh` 不在 PATH,可通过 `DSH_BIN` 指定其可执行文件。
38
36
 
39
- ## 独立安装
37
+ ## 新建自定义 Web profile
40
38
 
41
- 不需要完整套件时,仍可独立安装 Codex UI:
39
+ 保持同一个 `DSH_HOME`,只需换一个 profile 名:
40
+
41
+ ```powershell
42
+ npx --yes @michengai/dsh-codex-suite-installer@latest --profile codex
43
+ ```
44
+
45
+ DSH 创建自定义 profile 时会提供 `@deepseek-ai/dsh-base`。安装器会再把 DSH 自带的 `@deepseek-ai/dsh-web-app` 放到六个成员 bundle 之前,不会创建独立 Home,也不会通过 npm 重装官方 Web 包。
46
+
47
+ ## 只安装 Codex UI
42
48
 
43
49
  ```powershell
44
- [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
45
- $OutputEncoding = [System.Text.Encoding]::UTF8
46
50
  dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
47
51
  ```
48
52
 
49
53
  ## 本地验证
50
54
 
51
- 在仓库根目录执行:
55
+ 仓库检出状态下可先查看安装计划:
52
56
 
53
57
  ```powershell
54
- [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
55
- $OutputEncoding = [System.Text.Encoding]::UTF8
56
- dsh plugin --profile web add .\packages\dsh-codex-suite
58
+ node .\packages\dsh-codex-suite\bin.mjs --profile codex --dry-run
57
59
  ```
58
60
 
59
- ## pnpm 布局
60
-
61
- DSH 从 profile 顶层解析本包 patch 中的子插件。若 profile 使用 pnpm 严格隔离布局,请在 profile 的 `pnpm-workspace.yaml` 设置 `nodeLinker: hoisted` 后重新安装;否则子包可能安装成功但启动时无法解析。
61
+ 正式执行时去掉 `--dry-run`。安装器会读取工作区根包版本替换本地的 `workspace:*`。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-suite",
3
- "version": "0.1.13",
4
- "description": "DSH Codex UI 聚合包:一键安装侧栏、专家、技能、归档、IM 助理和定时任务",
3
+ "version": "0.1.15",
4
+ "description": "DSH Codex UI 兼容聚合包:保留旧版 dsh plugin add 安装方式",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "files": [
@@ -24,6 +24,6 @@
24
24
  "@michengai/dsh-automation": "0.1.14",
25
25
  "@michengai/dsh-im-connect": "0.1.23",
26
26
  "@michengai/dsh-skills-manager": "0.1.24",
27
- "@michengai/dsh-codex-ui": "0.2.81"
27
+ "@michengai/dsh-codex-ui": "0.2.83"
28
28
  }
29
29
  }