@sparkelf/dsh-plus 0.1.0-rc.9 → 0.2.0-rc.2
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.i18n.yaml +2 -2
- package/README.md +7 -4
- package/README.zh.md +7 -4
- package/cordis.patch.yml +17 -14
- package/lib/apply-e0aMC4B4.js +601 -0
- package/lib/apply.js +2 -374
- package/lib/bin.js +1030 -3
- package/lib/types/apply.d.ts +19 -0
- package/lib/types/apply.js +642 -0
- package/lib/types/bin.js +32 -0
- package/lib/types/index.js +9 -0
- package/lib/types/registry-versions.d.ts +31 -0
- package/lib/types/registry-versions.js +61 -0
- package/lib/types/standalone-cli.d.ts +17 -0
- package/lib/types/standalone-cli.js +359 -0
- package/lib/types/standalone-profile.d.ts +170 -0
- package/lib/types/standalone-profile.js +504 -0
- package/lib/types/standalone-server.d.ts +70 -0
- package/lib/types/standalone-server.js +158 -0
- package/package.json +142 -84
- package/lib/invariant.js +0 -19
- package/lib/types/invariant.d.ts +0 -16
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/bundle/plus/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 6bba650085777934ec620db2c4595f1f86902fd0
|
|
6
|
+
README.zh.md: f4326b76dc011c2f41693105937e6532a5a277b0
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
This distribution composes official `@deepseek-ai/dsh-base` and `@deepseek-ai/dsh-web-app` with
|
|
12
|
+
This distribution composes official `@deepseek-ai/dsh-base` and `@deepseek-ai/dsh-web-app` with selected Office, MinerU, mobile, market, GenUI, and Supervisor packages, four in-repository Plus capability packages, and twelve independent patch packages. It owns only ordered composition, minimum compatibility metadata, dependency closure, explicit materialization, and the credential-free deployment lock; capability behavior and patch payloads stay in their owning packages.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -31,9 +31,11 @@ dsh plugin --profile plus exec dsh-plus apply --dsh-root /path/to/official-dsh
|
|
|
31
31
|
dsh --profile plus
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
The explicit apply step requires official revision `
|
|
34
|
+
The explicit rc24 apply step requires official revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`, applies every pending source payload, configures exact npm patches, removes retired Plus-owned entries, and writes `.dsh-plus/patchset.lock.json` with mode `0600`. Patched official source workspaces always replace clean CLI packages in the profile scope. The profile resolves SQL Workbench 0.5.0, Workbench Vault 0.1.1, SSH Manager 0.7.0, API Client 0.5.0, Supervisor 0.1.4, GenUI 0.9.9, dshmarket 1.45.1, OfficeCLI 0.1.1, MinerU 0.1.1, and Mobile Bridge 0.2.11 from npm. Version conflicts, source mismatches, missing bundles, and runtime closure drift stop promotion.
|
|
35
35
|
|
|
36
|
-
Official DSH supplies onboarding, Workspace selection, Session export, Turn folding
|
|
36
|
+
Official DSH supplies Sidebar navigation, file and text preview, Session search, generic file upload, durable attachment cards, read-only model paths, onboarding, Workspace selection, Session export, and Turn folding. Plus configures the official SQLite Session query provider to open on first search with a durable derived index at `$DSH_HOME/storages/session-query.sqlite`; canonical compressed JSONL remains the history source. Plus adds an OfficeCLI tool for original DOCX/XLSX/PPTX production and a MinerU PDF tool that consumes the official uploaded-file path without a prompt hook. It replaces mixed English `Session` wording in the Simplified-Chinese export UI, places the desktop Session-log action immediately before Trajectory search while retaining its Header position on phones, and keeps composer permission and model popovers inside the center column with 12px horizontal clearance. `@changfenhuang/dsh-genui@0.9.9` now contains the previously patched streaming EChart behavior. The registry-pinned Supervisor manages the materialized runtime and restores Sessions interrupted by its own restart. DataOps and MinerU mount only when their endpoint environment variables exist. Agent Teams remains excluded because official shipped profiles disable those private experimental packages.
|
|
37
|
+
|
|
38
|
+
Plus explicitly selects `browserAuthentication: disabled`: its Web URL is clean and opens without a process-token exchange or browser cookie, while Connection still applies the official Host/Origin trust fence. Every process that can reach an accepted authority can therefore use the complete Host API, including Shell, files, and Sessions. The official `web` profile keeps the upstream `required` default; only the Plus composition opts out.
|
|
37
39
|
|
|
38
40
|
-----
|
|
39
41
|
|
|
@@ -68,6 +70,7 @@ Independent by itself. The profile changes a request prefix only when one of its
|
|
|
68
70
|
|
|
69
71
|
This Dev Note is working context for maintainers; shipped behavior, limits, and rationale live in the sections above, the package code, and the linked Agent Note.
|
|
70
72
|
|
|
71
|
-
- The [distribution Agent Note](../../../.agents/notes/
|
|
73
|
+
- The [distribution Agent Note](../../../.agents/notes/implemented/architecture/2026-08-29-ranged-plus-patchset-distribution.md) owns package forms, inventory, materialization, and deletion rules; `src/apply.ts` and `cordis.patch.yml` own the executable profile behavior.
|
|
74
|
+
- No runtime invariant companion is published because profile and patchset validity is checked before materialization and the bundle owns no independent runtime observation.
|
|
72
75
|
|
|
73
76
|
</details>
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-bundle"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
该distribution把official `@deepseek-ai/dsh-base`及`@deepseek-ai/dsh-web-app`与selected
|
|
12
|
+
该distribution把official `@deepseek-ai/dsh-base`及`@deepseek-ai/dsh-web-app`与selected Office、MinerU、mobile、market、GenUI及Supervisor packages、四个in-repository Plus capability packages及十二个independent patch packages组合起来。它只持有ordered composition、minimum compatibility metadata、dependency closure、explicit materialization及credential-free deployment lock;capability behavior和patch payloads仍属于各自package。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -31,9 +31,11 @@ dsh plugin --profile plus exec dsh-plus apply --dsh-root /path/to/official-dsh
|
|
|
31
31
|
dsh --profile plus
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
explicit apply
|
|
34
|
+
rc24 explicit apply步骤固定official revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`,一次应用全部pending source payloads,配置exact npm patches,删除retired Plus-owned entries,并以`0600` mode写入`.dsh-plus/patchset.lock.json`。profile中的patched official source workspaces始终覆盖clean CLI packages。profile从npm解析SQL Workbench 0.5.0、Workbench Vault 0.1.1、SSH Manager 0.7.0、API Client 0.5.0、Supervisor 0.1.4、GenUI 0.9.9、dshmarket 1.45.1、OfficeCLI 0.1.1、MinerU 0.1.1及Mobile Bridge 0.2.11。version conflict、source mismatch、bundle缺失和runtime closure drift都会阻止promotion。
|
|
35
35
|
|
|
36
|
-
Official DSH提供onboarding、Workspace selection、Session export
|
|
36
|
+
Official DSH提供Sidebar navigation、file与text preview、Session search、generic file upload、durable attachment cards、model-visible readonly paths、onboarding、Workspace selection、Session export及Turn folding。Plus把official SQLite Session query provider配置为首次搜索时打开,持久派生索引位于`$DSH_HOME/storages/session-query.sqlite`,canonical compressed JSONL仍为history source。Plus增加用于生成原始DOCX/XLSX/PPTX的OfficeCLI工具,以及无需prompt hook、直接消费official uploaded-file path的MinerU PDF工具;同时把简体中文导出界面中混用的英文`Session`替换为中文,在桌面端把会话日志操作放到Trajectory搜索框紧邻左侧,在手机上保留其Header位置,并让composer permission与model popover保持在center column内且水平边缘各留12px间距。`@changfenhuang/dsh-genui@0.9.9`已内含此前patch的streaming EChart behavior。registry-pinned Supervisor管理materialized runtime并恢复被自身restart中断的Sessions。DataOps和MinerU仅在对应endpoint environment variables存在时mount。Agent Teams仍被排除,因为official shipped profiles禁用这些private experimental packages。
|
|
37
|
+
|
|
38
|
+
Plus显式选择`browserAuthentication: disabled`:其Web URL保持clean,无需process-token exchange或browser cookie即可打开,同时Connection仍执行official Host/Origin trust fence。因此所有能访问accepted authority的进程都能使用包含Shell、files与Sessions在内的完整Host API。official `web` profile保留upstream `required` default;只有Plus composition选择关闭。
|
|
37
39
|
|
|
38
40
|
-----
|
|
39
41
|
|
|
@@ -68,6 +70,7 @@ Official DSH提供onboarding、Workspace selection、Session export、Turn foldi
|
|
|
68
70
|
|
|
69
71
|
该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
|
|
70
72
|
|
|
71
|
-
- [Distribution Agent Note](../../../.agents/notes/
|
|
73
|
+
- [Distribution Agent Note](../../../.agents/notes/implemented/architecture/2026-08-29-ranged-plus-patchset-distribution.zh.md)持有package forms、inventory、materialization及deletion rules;`src/apply.ts`和`cordis.patch.yml`持有executable profile behavior。
|
|
74
|
+
- 该package不发布`./invariant` companion,因为profile与patchset validity会在materialization前检查,且bundle没有independent runtime observation。
|
|
72
75
|
|
|
73
76
|
</details>
|
package/cordis.patch.yml
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
- id: subagent-model-selection-settings
|
|
2
2
|
disabled: true
|
|
3
3
|
|
|
4
|
+
- id: connection
|
|
5
|
+
config:
|
|
6
|
+
trustedHosts: !!js ctx.webRuntime.trustedHosts
|
|
7
|
+
browserAuthentication: disabled
|
|
8
|
+
|
|
9
|
+
- id: session-query-sqlite
|
|
10
|
+
config:
|
|
11
|
+
path: !!js dshHomePath('storages/session-query.sqlite')
|
|
12
|
+
openAt: first-search
|
|
13
|
+
|
|
4
14
|
- insert:
|
|
5
15
|
- id: plus-backup
|
|
6
16
|
name: '@sparkelf/dsh-plugin-backup'
|
|
@@ -17,21 +27,14 @@
|
|
|
17
27
|
toolCallTimeoutMs: 60000
|
|
18
28
|
failOnStartupError: false
|
|
19
29
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
provider: mineru
|
|
25
|
-
maxDirectMarkdownBytes: 1048576
|
|
26
|
-
maxRequestBytes: 402653184
|
|
27
|
-
|
|
28
|
-
- id: plus-document-parser-mineru
|
|
29
|
-
name: '@sparkelf/dsh-plugin-document-attachments/mineru'
|
|
30
|
-
disabled: !!js "!process.env.DSH_MINERU_ENDPOINT"
|
|
30
|
+
# A disabled root node carries the package's Web Settings entry into the
|
|
31
|
+
# client inventory; the startup nodes below exclusively own Host schemas.
|
|
32
|
+
- id: plus-subagent-settings-client
|
|
33
|
+
name: '@sparkelf/dsh-plugin-subagent-settings'
|
|
31
34
|
config:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
provider: spawn
|
|
36
|
+
enabled: false
|
|
37
|
+
enableRunInBackground: false
|
|
35
38
|
|
|
36
39
|
- id: plus-subagent-settings
|
|
37
40
|
name: '@sparkelf/dsh-plugin-subagent-settings/startup'
|