@michengai/dsh-codex-ui 0.2.93 → 0.2.94

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
@@ -4,6 +4,14 @@
4
4
 
5
5
  This changelog records recent releases of DSH Codex UI and its one-click installer. Earlier changes remain available in the [Git history](https://github.com/MichengAI/dsh-codex-ui/commits/main).
6
6
 
7
+ ## 0.2.94 — 2026-08-30
8
+
9
+ Companion release: `@michengai/dsh-codex-suite-installer@0.1.11`.
10
+
11
+ ### Safety
12
+
13
+ - Completed symmetric validation of the public Desktop services: if either `desktopProfiles` or `desktopPnpm` is exposed without the other, dependency management now fails safely instead of falling back to an ambient CLI that could mutate another profile.
14
+
7
15
  ## 0.2.93 — 2026-08-30
8
16
 
9
17
  ### Compatibility
@@ -4,6 +4,14 @@
4
4
 
5
5
  本日志记录 DSH Codex UI 及其一键安装器的最近发布;更早的变更可查看 [Git 提交历史](https://github.com/MichengAI/dsh-codex-ui/commits/main)。
6
6
 
7
+ ## 0.2.94 — 2026-08-30
8
+
9
+ 配套版本:`@michengai/dsh-codex-suite-installer@0.1.11`。
10
+
11
+ ### 安全性
12
+
13
+ - 完成 Desktop 公开服务的双向完整性校验:`desktopProfiles` 与 `desktopPnpm` 任意一项单独存在时,依赖管理都会安全失败,不再回退到可能修改其他 Profile 的环境 CLI。
14
+
7
15
  ## 0.2.93 — 2026-08-30
8
16
 
9
17
  ### 兼容性
package/dist/index.mjs CHANGED
@@ -82,6 +82,7 @@ function resolveDependencyRuntime(ctx, options = {}) {
82
82
  const home = options.homeDir ?? homedir();
83
83
  const profiles = optionalService(ctx, "desktopProfiles");
84
84
  const desktopPnpm = optionalService(ctx, "desktopPnpm");
85
+ if (profiles === void 0 && desktopPnpm !== void 0) throw new Error("DSH Desktop Profile 服务尚未就绪,请重启 Desktop 后重试。");
85
86
  if (profiles !== void 0) {
86
87
  const current = profiles.current;
87
88
  if (!validProfileName(current?.name) || typeof current.dir !== "string" || !isAbsolute(current.dir)) throw new Error("DSH Desktop 当前 Profile 信息无效,请重启 Desktop 后重试。");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "0.2.93",
3
+ "version": "0.2.94",
4
4
  "description": "以 Codex 风格重构 DSH Web 侧栏的独立客户端插件",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {