dsh-enhancement-suite 0.1.3 → 0.1.4
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 +9 -1
- package/README.zh.md +7 -1
- package/bin/dsh-enhance.mjs +3 -0
- package/bin/validate-manifest.mjs +3 -0
- package/package.json +1 -1
- package/plugins.json +7 -0
package/README.md
CHANGED
|
@@ -6,7 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
The official entry point and one-command installer for the four Scorp1o117 plugins that enhance [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH). This suite is a real installer — not a link collection: it drives the official `dsh plugin` CLI, mounts what needs mounting, and checks the result.
|
|
8
8
|
|
|
9
|
-
Version 0.1.
|
|
9
|
+
Version 0.1.4 and newer require DSH `0.1.0-rc.7` or newer and are validated
|
|
10
|
+
with `0.1.0-rc.7`, `0.1.0-rc.8`, and `0.1.1-rc.1`. They also report pnpm
|
|
11
|
+
native-build policy failures explicitly.
|
|
12
|
+
|
|
13
|
+
DSH `0.1.0-rc.6` users must install the last compatible plugin releases
|
|
14
|
+
directly: `dsh-tool-vision@0.6.1`, `dsh-soul-md@0.5.6`,
|
|
15
|
+
`dsh-tdai-memory@0.2.11`, and `dsh-plugin-marketplace@0.2.6`. Do not use the
|
|
16
|
+
suite's unpinned `install` command on rc.6 because it intentionally resolves
|
|
17
|
+
the current releases.
|
|
10
18
|
|
|
11
19
|
> **This repository does not vendor or replace the individual plugins.**
|
|
12
20
|
> **Each plugin remains independently maintained in its own upstream repository.**
|
package/README.zh.md
CHANGED
|
@@ -6,7 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
四个 Scorp1o117 插件的官方总入口和一键安装套件,为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(DSH)增强能力。这是一个真正可用的一键安装器,而不是链接合集:它驱动官方 `dsh plugin` CLI、自动处理挂载、并检查结果。
|
|
8
8
|
|
|
9
|
-
0.1.
|
|
9
|
+
从 `0.1.4` 起最低支持 DSH `0.1.0-rc.7`,已针对 `0.1.0-rc.7`、
|
|
10
|
+
`0.1.0-rc.8` 和 `0.1.1-rc.1` 验证,并会明确识别 pnpm 原生依赖构建策略导致的安装失败。
|
|
11
|
+
|
|
12
|
+
仍使用 DSH `0.1.0-rc.6` 的用户请直接安装最后兼容的插件版本:
|
|
13
|
+
`dsh-tool-vision@0.6.1`、`dsh-soul-md@0.5.6`、`dsh-tdai-memory@0.2.11`
|
|
14
|
+
和 `dsh-plugin-marketplace@0.2.6`。不要在 rc.6 上使用套件不锁版本的 `install`
|
|
15
|
+
命令,因为它会按设计安装当前最新版。
|
|
10
16
|
|
|
11
17
|
> **本仓库不复制、不替代任何独立插件。**
|
|
12
18
|
> **每个插件都在各自的 upstream 仓库独立维护。**
|
package/bin/dsh-enhance.mjs
CHANGED
|
@@ -35,6 +35,7 @@ const DEFAULT_PROFILE = MANIFEST.defaultProfile ?? "web";
|
|
|
35
35
|
/** Short keys and full package names are both accepted for --only. */
|
|
36
36
|
const KEY_ALIASES = new Map(PLUGINS.map((p) => [p.key, p.name]));
|
|
37
37
|
const NODE_MIN = MANIFEST.node ?? ">=22.18";
|
|
38
|
+
const DSH_MIN = MANIFEST.dsh ?? ">=0.1.0-rc.7";
|
|
38
39
|
|
|
39
40
|
const ok = (msg) => console.log(` ✓ ${msg}`);
|
|
40
41
|
const bad = (msg) => console.log(` ✗ ${msg}`);
|
|
@@ -383,6 +384,7 @@ Examples:
|
|
|
383
384
|
|
|
384
385
|
Notes:
|
|
385
386
|
- Install prefers the official CLI: dsh plugin --profile <profile> add <package>
|
|
387
|
+
- Requires DSH ${DSH_MIN}; rc.6 users must install the pinned legacy releases documented in the README
|
|
386
388
|
- Requires Node ${NODE_MIN} (dsh-tdai-memory constraint)
|
|
387
389
|
- This suite never loads plugins through its own dependency graph`);
|
|
388
390
|
}
|
|
@@ -401,6 +403,7 @@ function cmdList(profile) {
|
|
|
401
403
|
}
|
|
402
404
|
head("");
|
|
403
405
|
console.log(`Node requirement: ${NODE_MIN} (running ${process.version})`);
|
|
406
|
+
console.log(`DSH requirement: ${DSH_MIN}`);
|
|
404
407
|
}
|
|
405
408
|
|
|
406
409
|
async function cmdInstall(profile, only, dryRun) {
|
|
@@ -20,6 +20,7 @@ const fail = (message) => {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
const manifest = JSON.parse(readFileSync(join(ROOT, "plugins.json"), "utf8"));
|
|
23
|
+
if (manifest.dsh !== ">=0.1.0-rc.7") fail(`expected dsh requirement >=0.1.0-rc.7, got ${manifest.dsh ?? "missing"}`);
|
|
23
24
|
if (!Array.isArray(manifest.plugins)) {
|
|
24
25
|
fail("plugins.json: missing plugins array");
|
|
25
26
|
} else {
|
|
@@ -28,11 +29,13 @@ if (!Array.isArray(manifest.plugins)) {
|
|
|
28
29
|
const keys = manifest.plugins.map((p) => p.key);
|
|
29
30
|
if (new Set(names).size !== names.length) fail("duplicate plugin names");
|
|
30
31
|
if (new Set(keys).size !== keys.length) fail("duplicate plugin keys");
|
|
32
|
+
const rc6Pins = manifest.rc6Pins ?? {};
|
|
31
33
|
for (const p of manifest.plugins) {
|
|
32
34
|
for (const field of REQUIRED) {
|
|
33
35
|
if (typeof p[field] !== "string" || p[field].length === 0) fail(`${p.name ?? "?"}: missing required field ${field}`);
|
|
34
36
|
}
|
|
35
37
|
if (!/^https:\/\/github\.com\//.test(p.repo ?? "")) fail(`${p.name ?? "?"}: repo must be an https github.com URL`);
|
|
38
|
+
if (!/^\d+\.\d+\.\d+$/.test(rc6Pins[p.name] ?? "")) fail(`${p.name ?? "?"}: missing rc6 compatibility pin`);
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-enhancement-suite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Enhancement suite for DeepSeek Harness — the official installer and registry for Scorp1o117's Vision, Soul/Persona, Memory & Marketplace plugins.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/plugins.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"suite": "dsh-enhancement-suite",
|
|
3
3
|
"node": ">=22.18",
|
|
4
|
+
"dsh": ">=0.1.0-rc.7",
|
|
4
5
|
"defaultProfile": "web",
|
|
6
|
+
"rc6Pins": {
|
|
7
|
+
"dsh-tool-vision": "0.6.1",
|
|
8
|
+
"dsh-soul-md": "0.5.6",
|
|
9
|
+
"dsh-tdai-memory": "0.2.11",
|
|
10
|
+
"dsh-plugin-marketplace": "0.2.6"
|
|
11
|
+
},
|
|
5
12
|
"plugins": [
|
|
6
13
|
{
|
|
7
14
|
"key": "vision",
|