@michengai/dsh-codex-ui 1.1.24 → 1.1.25

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,28 @@
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
+ ## 1.1.25 - 2026-09-30
8
+
9
+ - Official Desktop no longer fails to start when an old `dsh-client-ui-settings-general` package remains above the profile. The plugin no longer imports that package by name.
10
+
11
+ ## suite-installer-v1.0.31 - 2026-09-30
12
+
13
+ Install or maintain 11 first-party plugins in one step. Included plugins and versions:
14
+
15
+ - `@michengai/dsh-archive-manager@1.0.8`
16
+ - `@michengai/dsh-codex-ui@1.1.23`
17
+ - `@michengai/dsh-skills-manager@1.1.6`
18
+ - `@michengai/dsh-agency-agents@1.0.7`
19
+ - `@michengai/dsh-im-connect@0.1.58`
20
+ - `@michengai/dsh-automation@0.1.53`
21
+ - `@michengai/dsh-btw@0.1.15`
22
+ - `@michengai/dsh-simplify@0.1.12`
23
+ - `@michengai/dsh-pua@0.3.20`
24
+ - `@michengai/dsh-code-review@0.1.9`
25
+ - `@michengai/dsh-codex-pet@0.1.12`
26
+
27
+ The installer uses these exact versions for reproducible installation.
28
+
7
29
  ## 1.1.24 - 2026-09-30
8
30
 
9
31
  - About-page installs on official Desktop now use the host's bundled pnpm instead of launching the dsh command inside the app archive.
@@ -4,6 +4,28 @@
4
4
 
5
5
  本日志记录 DSH Codex UI 及其一键安装器的最近发布;更早的变更可查看 [Git 提交历史](https://github.com/MichengAI/dsh-codex-ui/commits/main)。
6
6
 
7
+ ## 1.1.25 - 2026-09-30
8
+
9
+ - 官方桌面端不再因为 profile 上级残留旧版 `dsh-client-ui-settings-general` 而启动失败。插件不再按包名导入该模块。
10
+
11
+ ## suite-installer-v1.0.31 - 2026-09-30
12
+
13
+ 一键维护安装 11 个自研插件。包含以下插件及版本:
14
+
15
+ - `@michengai/dsh-archive-manager@1.0.8`
16
+ - `@michengai/dsh-codex-ui@1.1.23`
17
+ - `@michengai/dsh-skills-manager@1.1.6`
18
+ - `@michengai/dsh-agency-agents@1.0.7`
19
+ - `@michengai/dsh-im-connect@0.1.58`
20
+ - `@michengai/dsh-automation@0.1.53`
21
+ - `@michengai/dsh-btw@0.1.15`
22
+ - `@michengai/dsh-simplify@0.1.12`
23
+ - `@michengai/dsh-pua@0.3.20`
24
+ - `@michengai/dsh-code-review@0.1.9`
25
+ - `@michengai/dsh-codex-pet@0.1.12`
26
+
27
+ 安装器使用这些精确版本执行安装,确保可复现。
28
+
7
29
  ## 1.1.24 - 2026-09-30
8
30
 
9
31
  - 官方桌面端关于页安装其他插件时,改用宿主自带的 pnpm,不再去启动 asar 里的 dsh 命令。
package/lib/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- import { apply as apply$1 } from "@deepseek-ai/dsh-client-ui-settings-general";
2
1
  import { spawn } from "node:child_process";
3
2
  import { existsSync, readFileSync } from "node:fs";
4
3
  import { lstat, mkdir, open, readFile, readdir, realpath, rename, rm, unlink, writeFile } from "node:fs/promises";
@@ -1895,6 +1894,35 @@ async function moveSessionToWorkspace(services, sessionId, targetWorkspaceId, op
1895
1894
  movingSessions.delete(sessionId);
1896
1895
  }
1897
1896
  }
1897
+ //#endregion
1898
+ //#region src/onboarding-settings.ts
1899
+ /** 0.1.5 及更早的设置服务用这个命名空间保存欢迎提示版本。 */
1900
+ const ONBOARDING_SETTINGS_NAMESPACE = "ui-onboarding";
1901
+ /**
1902
+ * 停用官方设置壳后,仍登记引导设置。
1903
+ * 不能 import `@deepseek-ai/dsh-client-ui-settings-general`:裸模块名会向上解析到
1904
+ * `~/.dsh/profiles/node_modules` 里的 0.1.2 残留,其 `settings.register` 在新宿主上不存在,
1905
+ * 会让整个渲染进程启动失败。
1906
+ */
1907
+ function registerOnboardingSettings(ctx) {
1908
+ ctx.inject(["settings"], (settingsCtx) => {
1909
+ const bound = settingsCtx;
1910
+ const settings = bound.settings;
1911
+ try {
1912
+ if (typeof settings?.configure === "function") return bound.effect(() => {
1913
+ const dispose = settings.configure({ auto: false }, ctx.fiber);
1914
+ return typeof dispose === "function" ? dispose : () => {};
1915
+ });
1916
+ if (typeof settings?.register === "function") {
1917
+ settings.register(ONBOARDING_SETTINGS_NAMESPACE, { welcomeNoticeVersion: { type: "string" } });
1918
+ return;
1919
+ }
1920
+ ctx.logger.warn("[michengai-codex-ui] 当前宿主没有设置 schema 接口,跳过引导设置注册。");
1921
+ } catch (error) {
1922
+ ctx.logger.warn("[michengai-codex-ui] 引导设置注册已跳过:%s", error);
1923
+ }
1924
+ });
1925
+ }
1898
1926
  /** 校验结构和归属;存储兼容模式保留旧 locale 下合法的大小写变体名称。 */
1899
1927
  function parseGroups(value, preserveCaseVariants) {
1900
1928
  if (!Array.isArray(value) || value.length > 100) return void 0;
@@ -2112,7 +2140,7 @@ function sessionMoveAuthenticationError(status, error) {
2112
2140
  }
2113
2141
  /** 提供不泄露地址、命令和凭证的连接器目录。 */
2114
2142
  function apply(ctx) {
2115
- apply$1(ctx);
2143
+ registerOnboardingSettings(ctx);
2116
2144
  const host = hostServices(ctx);
2117
2145
  ctx.effect(() => {
2118
2146
  const foregroundExplorer = new ForegroundExplorer();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "DSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH Web",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {