@sparkelf/dsh-plus 0.2.1-rc.2.4 → 0.2.2-alpha.2.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.md +7 -5
- package/README.zh.md +7 -5
- package/lib/apply-08huHfLG.js +665 -0
- package/lib/apply-DmICvIGh.js +653 -0
- package/lib/apply.js +1 -1
- package/lib/bin.js +188 -45
- package/lib/types/apply.d.ts +1 -1
- package/lib/types/apply.js +56 -117
- package/lib/types/patch-set.d.ts +59 -0
- package/lib/types/patch-set.js +132 -0
- package/lib/types/standalone-cli.js +93 -2
- package/lib/types/standalone-profile.d.ts +8 -1
- package/lib/types/standalone-profile.js +126 -49
- package/package.json +602 -175
- package/patches/approval-allow-policy.patch +108 -0
- package/patches/atomic-write-zombie-lock-holder.patch +53 -0
- package/patches/bootstrap-exempt-names.patch +32 -0
- package/patches/browser-auth-mode.patch +127 -0
- package/patches/composer-popover-boundaries.patch +337 -0
- package/patches/diagram-preview.patch +562 -0
- package/patches/image-offload-hoist-replay.patch +533 -0
- package/patches/legacy-code-preset.patch +148 -0
- package/patches/llm-pi-ai-transport-truncation.patch +33 -0
- package/patches/mobile-journal-generation.patch +76 -0
- package/patches/office-preview-stable-load.patch +34 -0
- package/patches/officecli-deliverables.patch +42 -0
- package/patches/ptc-mcp-schema-types.patch +156 -0
- package/patches/responses-reasoning-status.patch +289 -0
- package/patches/session-envelope-ignorable.patch +63 -0
- package/patches/session-export-chinese.patch +85 -0
- package/patches/session-format-legacy-restart.patch +35 -0
- package/patches/session-log-trajectory-toolbar.patch +352 -0
- package/patches/state-dot-brand-blue.patch +185 -0
- package/patches/ui-settings-compact-phone.patch +76 -0
- package/patches/web-runtime-compat.patch +83 -0
- package/patches/workspace-storage-restore.patch +186 -0
- package/patches/wsl-native-open.patch +265 -0
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 selected Office, MinerU, mobile, market, GenUI, and Supervisor packages, four in-repository Plus capability packages, and
|
|
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 one embedded patch set over official DSH. It owns ordered composition, minimum compatibility metadata, dependency closure, explicit materialization, and the credential-free deployment lock; the patch set carries every accepted official delta, while capability behavior stays in its owning plugin.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -23,15 +23,17 @@ This distribution composes official `@deepseek-ai/dsh-base` and `@deepseek-ai/ds
|
|
|
23
23
|
<a id="use-this-package"></a>
|
|
24
24
|
## Use this package
|
|
25
25
|
|
|
26
|
-
Install
|
|
26
|
+
Install one edition into a profile:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
|
|
30
|
-
dsh
|
|
29
|
+
npm install -g @sparkelf/dsh-plus
|
|
30
|
+
dsh-plus install --edition personal # or --edition team
|
|
31
31
|
dsh --profile plus
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
The
|
|
34
|
+
The CLI writes the profile's `package.json` from `dshPlus.editions`; there is no separate standalone package. The personal and team editions are different package manifests over the same patch set: personal carries the individual workflow, and team adds the shared plugins and defaults a team deployment needs. The DataOps container installs the team edition.
|
|
35
|
+
|
|
36
|
+
For a source checkout, the explicit apply step requires the exact official revision declared by `dshPlus.sourceBase.revision`, applies the embedded `dshPlus.patchSet` to that checkout, configures the npm patches the set declares, 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 its pinned third-party and Plus capability packages from npm. Version conflicts, source mismatches, missing bundles, and runtime closure drift stop promotion.
|
|
35
37
|
|
|
36
38
|
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
39
|
|
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 Office、MinerU、mobile、market、GenUI及Supervisor packages、四个in-repository Plus capability packages
|
|
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及一个内嵌于发行包的官方DSH patch set组合起来。它持有ordered composition、minimum compatibility metadata、dependency closure、explicit materialization及credential-free deployment lock;patch set承载每条已接受的官方增量,capability behavior仍属于各自插件。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -23,15 +23,17 @@ kind: "package-bundle"
|
|
|
23
23
|
<a id="use-this-package"></a>
|
|
24
24
|
## 使用此软件包
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
安装一个版本到 profile:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
|
|
30
|
-
dsh
|
|
29
|
+
npm install -g @sparkelf/dsh-plus
|
|
30
|
+
dsh-plus install --edition personal # 或 --edition team
|
|
31
31
|
dsh --profile plus
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
CLI 按 `dshPlus.editions` 写 profile 的`package.json`;不再有单独的 standalone 包。personal 与 team 是同一 patch set 上的两套包清单:personal 承载个人工作流,team 增加团队部署需要的共享插件与默认值。DataOps 容器按 team edition 安装。
|
|
35
|
+
|
|
36
|
+
source checkout 的显式 apply 步骤要求`dshPlus.sourceBase.revision`声明的精确official revision,把内嵌的`dshPlus.patchSet`应用到该checkout,配置patch set声明的npm patches,并以`0600` mode写入`.dsh-plus/patchset.lock.json`。profile中的patched official source workspaces始终覆盖clean CLI packages。profile从npm解析其pinned third-party与Plus capability packages。version conflict、source mismatch、bundle缺失和runtime closure drift都会阻止promotion。
|
|
35
37
|
|
|
36
38
|
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
39
|
|