@sparkelf/dsh-plus-standalone 0.1.0-rc.26

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/standalone/plus-standalone/README.md
5
+ README.md: 8bd85e1755d46688ee70d0881d94377bdc9d80d2
6
+ README.zh.md: 76b49efa5f5a47cd3c8718437b45d73ac4236868
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ ---
2
+ description: "Registry installation entry point for DeepSeek Harness Plus: pins the runtime and every reviewed plugin, and carries the generated mount order."
3
+ kind: "package-reference"
4
+ ---
5
+
6
+ # @sparkelf/dsh-plus-standalone
7
+
8
+ English | [中文](README.zh.md)
9
+
10
+ Install DeepSeek Harness Plus from the registry and reach the browser UI without a source checkout, a build, or git.
11
+
12
+ ## Table of Contents
13
+
14
+ - [Use this package](#use-this-package)
15
+ - [Model Experience](#model-experience)
16
+ - [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
17
+ - [Dev Note](#dev-note)
18
+
19
+ -----
20
+
21
+ ## Summary
22
+
23
+ One `npm install` brings the official runtime, the Plus distribution, and every reviewed plugin. `dsh-plus start` then writes the profile the launcher boots, picks a free port, starts the server, and prints the URL. The remaining commands cover what the launcher leaves to the user: stop, status, update, and a doctor check. The package is a manifest whose dependencies and bundle order are generated from the distribution, so a plugin added there cannot reach this package without reaching its mount order too.
24
+
25
+ ## Use this package
26
+
27
+ ```sh
28
+ npm install -g @sparkelf/dsh-plus-standalone
29
+ dsh-plus start
30
+ ```
31
+
32
+ | Command | Effect |
33
+ |---|---|
34
+ | `dsh-plus start` | Writes the profile on first run, picks a free port, starts the server, prints the URL |
35
+ | `dsh-plus stop` | Ends a background server within its grace period |
36
+ | `dsh-plus status` | Reports whether the server is running and on which port |
37
+ | `dsh-plus update` | Moves to a newer published release; `--check` reports without installing |
38
+ | `dsh-plus doctor` | Checks Node, the distribution, the profile, and the port |
39
+
40
+ ## Model Experience
41
+
42
+ ### Standalone installation
43
+
44
+ #### What the model sees
45
+
46
+ Nothing. `@sparkelf/dsh-plus-standalone` selects the runtime and the plugins a profile mounts; it registers no tool, prompt section, or Session event of its own. The model meets only what the mounted plugins expose.
47
+
48
+ #### Token effect
49
+
50
+ Zero. The package adds no model-request tokens.
51
+
52
+ #### KV Cache effect
53
+
54
+ None. It contributes no prompt content, so it cannot shift a cache prefix.
55
+
56
+ ## Known Limitations and Deferred Work
57
+
58
+ No invariant companion is published because this package selects other packages and observes no relation of its own.
59
+
60
+ - `dsh-plus update` changes the profile and reinstalls, but a running server keeps the version it started with; restart to load the new release.
61
+ - The manifest carries peer overrides for three published plugins whose declared ranges cannot match the shipped runtime. The overrides are derived and disappear once a plugin fixes its range, but until then that plugin's own declared range stays unsatisfied.
62
+
63
+ ### Dev Note
64
+
65
+ <details>
66
+ <summary>Working context for maintainers, click to expand</summary>
67
+
68
+ 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.
69
+
70
+ - The [standalone distribution Agent Note](../../../.agents/notes/proposed/feature/2026-09-11-standalone-distribution.md) owns the installation decision; `package.json` and the `dsh-plus` command in [`packages/bundle/plus/`](../../bundle/plus/README.md) own current behavior.
71
+ - Regenerate this manifest with `pnpm exec tsx scripts/standalone/generate-manifest.ts --distribution packages/bundle/plus --out packages/standalone/plus-standalone/package.json --runtime-version <version>`; it rewrites the derived fields and leaves the identity fields in place.
72
+
73
+ </details>
package/README.zh.md ADDED
@@ -0,0 +1,77 @@
1
+ ---
2
+ description: "DeepSeek Harness Plus 的 registry 安装入口:pin runtime 与全部受审 plugin,并携带生成的挂载顺序。"
3
+ kind: "package-reference"
4
+ ---
5
+
6
+ # @sparkelf/dsh-plus-standalone
7
+
8
+ [English](README.md) | 中文
9
+
10
+ 从 registry 安装 DeepSeek Harness Plus,无需 source checkout、无需构建、无需 git 即可到达浏览器 UI。
11
+
12
+ ## 目录
13
+
14
+ - [使用此软件包](#use-this-package)
15
+ - [模型体验](#model-experience)
16
+ - [已知限制和延期工作](#known-limitations-and-deferred-work)
17
+ - [开发备注](#dev-note)
18
+
19
+ -----
20
+
21
+ ## 概述
22
+
23
+ 一次 `npm install` 带来 official runtime、Plus distribution 与全部受审 plugin。随后 `dsh-plus start` 写出 launcher 启动所需的 profile、选择空闲端口、启动 server 并打印 URL。其余命令覆盖 launcher 留给用户的部分:stop、status、update 与 doctor 检查。该 package 是一份 manifest,其 dependencies 与 bundle 顺序由 distribution 生成,因此加入其中的 plugin 不可能只进入 distribution 而不进入这里的挂载顺序。
24
+
25
+ <a id="use-this-package"></a>
26
+ ## 使用此软件包
27
+
28
+ ```sh
29
+ npm install -g @sparkelf/dsh-plus-standalone
30
+ dsh-plus start
31
+ ```
32
+
33
+ | Command | Effect |
34
+ |---|---|
35
+ | `dsh-plus start` | 首次运行写出 profile、选择空闲端口、启动 server、打印 URL |
36
+ | `dsh-plus stop` | 在 grace period 内结束后台 server |
37
+ | `dsh-plus status` | 报告 server 是否运行及端口 |
38
+ | `dsh-plus update` | 移到更新的已发布 release;`--check` 只报告不安装 |
39
+ | `dsh-plus doctor` | 检查 Node、distribution、profile 与端口 |
40
+
41
+ <a id="model-experience"></a>
42
+ ## 模型体验
43
+
44
+ ### Standalone installation
45
+
46
+ #### What the model sees
47
+
48
+ Nothing。`@sparkelf/dsh-plus-standalone` 选择 profile 挂载的 runtime 与 plugins;它自身不注册任何 tool、prompt section 或 Session event。model 只会遇到被挂载 plugins 所暴露的内容。
49
+
50
+ #### Token effect
51
+
52
+ Zero。该 package 不增加任何 model-request tokens。
53
+
54
+ #### KV Cache effect
55
+
56
+ None。它不贡献 prompt 内容,因此无法移动 cache prefix。
57
+
58
+ <a id="known-limitations-and-deferred-work"></a>
59
+ ## 已知限制和延期工作
60
+
61
+ No invariant companion is published because 该 package 只选择其它 package、自身不观察任何关系。
62
+
63
+ - `dsh-plus update` 会修改 profile 并重装,但正在运行的 server 保持其启动时的版本;restart 才会加载新 release。
64
+ - manifest 为三个已发布 plugin 携带 peer overrides,它们声明的范围无法匹配所交付的 runtime。overrides 是推导出来的,plugin 修正其范围后即消失;在那之前该 plugin 自己声明的范围仍未被满足。
65
+
66
+ <a id="dev-note"></a>
67
+ ### 开发备注
68
+
69
+ <details>
70
+ <summary>维护者工作上下文,点击展开</summary>
71
+
72
+ 本 Dev Note 是维护者的工作上下文;已交付行为、限制与理由位于上文各节、package code 与所链接的 Agent Note。
73
+
74
+ - [独立发行版 Agent Note](../../../.agents/notes/proposed/feature/2026-09-11-standalone-distribution.zh.md) 负责安装决策;`package.json` 与 [`packages/bundle/plus/`](../../bundle/plus/README.zh.md) 中的 `dsh-plus` command 负责当前行为。
75
+ - 用 `pnpm exec tsx scripts/standalone/generate-manifest.ts --distribution packages/bundle/plus --out packages/standalone/plus-standalone/package.json --runtime-version <version>` 重新生成该 manifest;它会重写派生字段并保留身份字段。
76
+
77
+ </details>
package/lib/index.js ADDED
@@ -0,0 +1,30 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { join } from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ //#region lib/types/index.js
5
+ /**
6
+ * The standalone Plus distribution.
7
+ *
8
+ * This package exists to be installed, not to be called: its manifest pins the
9
+ * distribution and its runtime, and the profile it needs is written by `dsh-plus
10
+ * start`. The module exports the two facts a consumer or a gate may want to read
11
+ * without parsing the distribution's own manifest.
12
+ *
13
+ * @module @sparkelf/dsh-plus-standalone
14
+ */
15
+ /** Profile this installation owns. */
16
+ const PROFILE = "plus";
17
+ /** Distribution package this installation pins. */
18
+ const DISTRIBUTION = "@sparkelf/dsh-plus";
19
+ /**
20
+ * Official runtime version this installation targets.
21
+ *
22
+ * @returns the pinned `@deepseek-ai/dsh` version.
23
+ */
24
+ function runtimeVersion() {
25
+ const pinned = JSON.parse(readFileSync(join(fileURLToPath(new URL("..", import.meta.url)), "../../package.json"), "utf8")).dependencies?.["@deepseek-ai/dsh"];
26
+ if (pinned === void 0) throw new Error("the standalone manifest pins no @deepseek-ai/dsh version");
27
+ return pinned;
28
+ }
29
+ //#endregion
30
+ export { DISTRIBUTION, PROFILE, runtimeVersion };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The standalone Plus distribution.
3
+ *
4
+ * This package exists to be installed, not to be called: its manifest pins the
5
+ * distribution and its runtime, and the profile it needs is written by `dsh-plus
6
+ * start`. The module exports the two facts a consumer or a gate may want to read
7
+ * without parsing the distribution's own manifest.
8
+ *
9
+ * @module @sparkelf/dsh-plus-standalone
10
+ */
11
+ /** Profile this installation owns. */
12
+ export declare const PROFILE = "plus";
13
+ /** Distribution package this installation pins. */
14
+ export declare const DISTRIBUTION = "@sparkelf/dsh-plus";
15
+ /**
16
+ * Official runtime version this installation targets.
17
+ *
18
+ * @returns the pinned `@deepseek-ai/dsh` version.
19
+ */
20
+ export declare function runtimeVersion(): string;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The standalone Plus distribution.
3
+ *
4
+ * This package exists to be installed, not to be called: its manifest pins the
5
+ * distribution and its runtime, and the profile it needs is written by `dsh-plus
6
+ * start`. The module exports the two facts a consumer or a gate may want to read
7
+ * without parsing the distribution's own manifest.
8
+ *
9
+ * @module @sparkelf/dsh-plus-standalone
10
+ */
11
+ import { readFileSync } from 'node:fs';
12
+ import { join } from 'node:path';
13
+ import { fileURLToPath } from 'node:url';
14
+ /** Profile this installation owns. */
15
+ export const PROFILE = 'plus';
16
+ /** Distribution package this installation pins. */
17
+ export const DISTRIBUTION = '@sparkelf/dsh-plus';
18
+ /**
19
+ * Official runtime version this installation targets.
20
+ *
21
+ * @returns the pinned `@deepseek-ai/dsh` version.
22
+ */
23
+ export function runtimeVersion() {
24
+ const manifest = JSON.parse(readFileSync(join(fileURLToPath(new URL('..', import.meta.url)), '../../package.json'), 'utf8'));
25
+ const pinned = manifest.dependencies?.['@deepseek-ai/dsh'];
26
+ if (pinned === undefined)
27
+ throw new Error('the standalone manifest pins no @deepseek-ai/dsh version');
28
+ return pinned;
29
+ }
30
+ //# sourceMappingURL=index.js.map
package/package.json ADDED
@@ -0,0 +1,109 @@
1
+ {
2
+ "dependencies": {
3
+ "@changfenhuang/dsh-genui": "0.9.9",
4
+ "@deepseek-ai/dsh": ">=0.1.5-rc.2",
5
+ "@huanlin/dsh-plugin-better-locale": "0.4.1",
6
+ "@huanlin/dsh-plugin-better-sidebar-plugin-office": "0.2.0",
7
+ "@sparkelf/dsh-api-client": "0.5.1",
8
+ "@sparkelf/dsh-mineru": "0.1.2",
9
+ "@sparkelf/dsh-mobile-bridge": ">=0.2.11",
10
+ "@sparkelf/dsh-officecli": "0.1.2",
11
+ "@sparkelf/dsh-plugin-supervisor": "0.1.5",
12
+ "@sparkelf/dsh-ssh-manager": "0.7.2",
13
+ "@sparkelf/dsh-workbench-vault": "0.1.2",
14
+ "dsh-better-sidebar": "0.19.1",
15
+ "dsh-sql-workbench": "0.5.1",
16
+ "dsh-video-preview": "0.1.4",
17
+ "dshmarket": ">=1.45.1",
18
+ "semver": ">=7.7.3",
19
+ "yaml": ">=2.9.0"
20
+ },
21
+ "description": "Install and run DeepSeek Harness Plus from the registry: no source checkout and no build.",
22
+ "devDependencies": {
23
+ "@deepseek-ai/cordis": "^4.0.2"
24
+ },
25
+ "dshPlusStandalone": {
26
+ "allowBuilds": {
27
+ "@officecli/officecli": true,
28
+ "cpu-features": false,
29
+ "node-pty": true,
30
+ "oracledb": true,
31
+ "protobufjs": false,
32
+ "ssh2": true
33
+ },
34
+ "bundles": [
35
+ "@deepseek-ai/dsh-base",
36
+ "@deepseek-ai/dsh-web-app",
37
+ "@sparkelf/dsh-mineru",
38
+ "@sparkelf/dsh-officecli",
39
+ "@sparkelf/dsh-mobile-bridge",
40
+ "dshmarket",
41
+ "@huanlin/dsh-plugin-better-locale",
42
+ "dsh-better-sidebar",
43
+ "@huanlin/dsh-plugin-better-sidebar-plugin-office",
44
+ "dsh-video-preview",
45
+ "@changfenhuang/dsh-genui",
46
+ "@sparkelf/dsh-plugin-supervisor",
47
+ "@sparkelf/dsh-plus",
48
+ "dsh-sql-workbench",
49
+ "@sparkelf/dsh-ssh-manager",
50
+ "@sparkelf/dsh-api-client"
51
+ ],
52
+ "formatVersion": 1,
53
+ "peerOverrides": [
54
+ {
55
+ "name": "@huanlin/dsh-plugin-better-locale",
56
+ "reason": "dsh-better-sidebar@0.19.1 declares ^0.1.0, which 0.1.5-rc.2 does not satisfy",
57
+ "version": "0.4.1"
58
+ },
59
+ {
60
+ "name": "dsh-better-sidebar",
61
+ "reason": "@huanlin/dsh-plugin-better-sidebar-plugin-office@0.2.0 declares ^0.17.0, which 0.1.5-rc.2 does not satisfy",
62
+ "version": "0.19.1"
63
+ },
64
+ {
65
+ "name": "@deepseek-ai/dsh-settings",
66
+ "reason": "dshmarket@>=1.45.1 declares ^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.2, which 0.1.5-rc.2 does not satisfy",
67
+ "version": "0.1.5-rc.2"
68
+ }
69
+ ],
70
+ "profile": "plus"
71
+ },
72
+ "exports": {
73
+ ".": {
74
+ "default": "./lib/index.js",
75
+ "types": "./lib/types/index.d.ts"
76
+ },
77
+ "./package.json": "./package.json"
78
+ },
79
+ "files": [
80
+ "lib/**/*.js",
81
+ "lib/**/*.d.ts",
82
+ "README.md",
83
+ "README.zh.md",
84
+ "README.i18n.yaml"
85
+ ],
86
+ "license": "MIT",
87
+ "main": "lib/index.js",
88
+ "name": "@sparkelf/dsh-plus-standalone",
89
+ "overrides": {
90
+ "@deepseek-ai/dsh-settings": "0.1.5-rc.2",
91
+ "@huanlin/dsh-plugin-better-locale": "0.4.1",
92
+ "dsh-better-sidebar": "0.19.1"
93
+ },
94
+ "peerDependencies": {
95
+ "@deepseek-ai/cordis": ">=4.0.2"
96
+ },
97
+ "private": false,
98
+ "publishConfig": {
99
+ "access": "public"
100
+ },
101
+ "repository": {
102
+ "directory": "packages/standalone/plus-standalone",
103
+ "type": "git",
104
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git"
105
+ },
106
+ "type": "module",
107
+ "types": "lib/types/index.d.ts",
108
+ "version": "0.1.0-rc.26"
109
+ }