dsh-rig 0.0.0 → 0.1.1
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 +35 -0
- package/NOTICE +18 -0
- package/README.en.md +100 -0
- package/README.md +92 -12
- package/cordis.patch.yml +3 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/preview.svg +40 -0
- package/docs/screenshot-detail.png +0 -0
- package/docs/screenshot-panel.png +0 -0
- package/icon.svg +8 -0
- package/lib/client.js +618 -0
- package/lib/http/routes.js +222 -0
- package/lib/index.js +133 -0
- package/lib/lab/browser.js +221 -0
- package/lib/lab/constants.js +68 -0
- package/lib/lab/core-bin.js +29 -0
- package/lib/lab/diagnostics.js +34 -0
- package/lib/lab/driver.js +52 -0
- package/lib/lab/layout.js +38 -0
- package/lib/lab/log-buffer.js +50 -0
- package/lib/lab/naming.js +77 -0
- package/lib/lab/probe.js +56 -0
- package/lib/lab/process.js +48 -0
- package/lib/lab/redact.js +23 -0
- package/lib/lab/registry.js +89 -0
- package/lib/lab/report.js +162 -0
- package/lib/lab/runtime.js +106 -0
- package/lib/lab/seed.js +80 -0
- package/lib/lab/spawn-plan.js +114 -0
- package/lib/lab/supervisor.js +419 -0
- package/lib/lab/ui/cdp-impl.js +190 -0
- package/lib/lab/ui/playwright-impl.js +185 -0
- package/lib/lab/ui-session.js +100 -0
- package/lib/lab/versions.js +107 -0
- package/lib/tools/lab-tool.js +130 -0
- package/lib/tools/lab-ui-tool.js +67 -0
- package/lib/tools/mount.js +64 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +71 -9
- package/index.js +0 -11
package/package.json
CHANGED
|
@@ -1,23 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-rig",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Right-sidebar plugin lab for DeepSeek Harness: a real, process-isolated DSH you can start, restart, version-switch, lock or take over — crashes stay inside the lab.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"icon": "./icon.svg",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./lib/index.js",
|
|
10
|
+
"./client": "./lib/client.js",
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
"./icon": "./icon.svg",
|
|
13
|
+
"./locale/*.json": "./locale/*.json"
|
|
14
|
+
},
|
|
7
15
|
"files": [
|
|
8
|
-
"
|
|
16
|
+
"lib/",
|
|
17
|
+
"cordis.patch.yml",
|
|
18
|
+
"locale/",
|
|
19
|
+
"docs/",
|
|
20
|
+
"icon.svg",
|
|
21
|
+
"NOTICE",
|
|
9
22
|
"README.md",
|
|
23
|
+
"README.en.md",
|
|
24
|
+
"CHANGELOG.md",
|
|
10
25
|
"LICENSE"
|
|
11
26
|
],
|
|
12
27
|
"license": "Apache-2.0",
|
|
13
28
|
"author": "gezi-wen",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=22",
|
|
31
|
+
"dsh": ">=0.2.0-rc.1"
|
|
32
|
+
},
|
|
33
|
+
"dsh": {
|
|
34
|
+
"bundle": {
|
|
35
|
+
"patch": "./cordis.patch.yml"
|
|
36
|
+
},
|
|
37
|
+
"client": {
|
|
38
|
+
"platform": "web",
|
|
39
|
+
"inject": []
|
|
40
|
+
},
|
|
41
|
+
"compatibility": {
|
|
42
|
+
"dsh": ">=0.2.0-rc.1",
|
|
43
|
+
"dshReleases": {
|
|
44
|
+
"0.2.2-rc.5": "compatible"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
50
|
+
"playwright": ">=1.40.0",
|
|
51
|
+
"react": "^18.0.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"playwright": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"react": "^18.0.0"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"test": "node --test test/pure.test.mjs test/probe.test.mjs test/structure.test.mjs test/report.test.mjs test/mount.test.mjs",
|
|
63
|
+
"check:client": "node --check lib/client.js",
|
|
64
|
+
"check:host": "node --check lib/index.js"
|
|
65
|
+
},
|
|
66
|
+
"repository": {
|
|
67
|
+
"type": "git",
|
|
68
|
+
"url": "git+https://github.com/gezi-wen/dsh-rig.git"
|
|
69
|
+
},
|
|
70
|
+
"homepage": "https://github.com/gezi-wen/dsh-rig#readme",
|
|
71
|
+
"bugs": {
|
|
72
|
+
"url": "https://github.com/gezi-wen/dsh-rig/issues"
|
|
73
|
+
},
|
|
14
74
|
"keywords": [
|
|
15
75
|
"dsh",
|
|
16
76
|
"dsh-plugin",
|
|
77
|
+
"deepseek",
|
|
17
78
|
"deepseek-harness",
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
79
|
+
"cordis",
|
|
80
|
+
"plugin-development",
|
|
81
|
+
"devtools",
|
|
82
|
+
"sandbox",
|
|
83
|
+
"lab"
|
|
84
|
+
]
|
|
23
85
|
}
|
package/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Name reservation only.
|
|
3
|
-
*
|
|
4
|
-
* `dsh-rig` will be a DeepSeek Harness bundle that opens a real, process-isolated
|
|
5
|
-
* DSH instance in the right sidebar, with restart / refresh / version switching
|
|
6
|
-
* and a lock-the-surface switch between "agent only" and "user can step in".
|
|
7
|
-
*
|
|
8
|
-
* This 0.0.0 release deliberately exports nothing and declares no `dsh` field,
|
|
9
|
-
* so it cannot be installed as a bundle. The first working release is 0.1.0.
|
|
10
|
-
*/
|
|
11
|
-
export function apply() {}
|