dsh-deep-ptc-mode 1.6.0 → 1.7.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 +63 -41
- package/README.md +174 -131
- package/README.zh.md +193 -145
- package/lib/adapt.mjs +1 -1
- package/lib/ask-user.mjs +12 -4
- package/lib/base-snapshot.json +13 -0
- package/lib/executor.mjs +35 -28
- package/lib/host.mjs +69 -0
- package/lib/index.mjs +45 -5
- package/lib/jobs-tool.mjs +11 -5
- package/lib/lifecycle.mjs +1 -1
- package/lib/model.mjs +101 -60
- package/lib/official-tools.mjs +8 -0
- package/lib/terminal.mjs +10 -10
- package/lib/tool-compatibility.mjs +7 -0
- package/lib/tool-policy.mjs +141 -0
- package/lib/upstream.mjs +29 -0
- package/package.json +120 -135
package/package.json
CHANGED
|
@@ -1,135 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-deep-ptc-mode",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Deep PTC
|
|
5
|
-
"type": "module",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"dsh-plugin",
|
|
8
|
-
"deepseek-harness",
|
|
9
|
-
"agent-preset",
|
|
10
|
-
"ptc",
|
|
11
|
-
"agent-team",
|
|
12
|
-
"subagent",
|
|
13
|
-
"clarification",
|
|
14
|
-
"background-jobs"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"./
|
|
64
|
-
"./
|
|
65
|
-
"./
|
|
66
|
-
"./
|
|
67
|
-
"./
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"@deepseek-ai/
|
|
83
|
-
"@deepseek-ai/dsh-
|
|
84
|
-
"@deepseek-ai/dsh-client-ui-
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-
|
|
86
|
-
"@deepseek-ai/dsh-client-
|
|
87
|
-
"@deepseek-ai/dsh-
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
},
|
|
90
|
-
"peerDependenciesMeta": {
|
|
91
|
-
"@deepseek-ai/schemastery": {
|
|
92
|
-
"optional": true
|
|
93
|
-
},
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"optional": true
|
|
96
|
-
},
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
"optional": true
|
|
99
|
-
},
|
|
100
|
-
"@deepseek-ai/dsh-
|
|
101
|
-
"optional": true
|
|
102
|
-
},
|
|
103
|
-
"@deepseek-ai/dsh-
|
|
104
|
-
"optional": true
|
|
105
|
-
},
|
|
106
|
-
"@deepseek-ai/dsh-
|
|
107
|
-
"optional": true
|
|
108
|
-
},
|
|
109
|
-
"@deepseek-ai/dsh-
|
|
110
|
-
"optional": true
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"@deepseek-ai/dsh-client-locale": {
|
|
122
|
-
"optional": true
|
|
123
|
-
},
|
|
124
|
-
"@deepseek-ai/dsh-web-app": {
|
|
125
|
-
"optional": true
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"dependencies": {
|
|
129
|
-
"js-yaml": "4.3.2"
|
|
130
|
-
},
|
|
131
|
-
"devDependencies": {
|
|
132
|
-
"react": "18.3.1",
|
|
133
|
-
"react-test-renderer": "18.3.1"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-deep-ptc-mode",
|
|
3
|
+
"version": "1.7.1",
|
|
4
|
+
"description": "Plugin-first Deep PTC for DSH: multi-plugin cooperation, current official PTC fallback and interruptible background jobs. / DSH 深度 PTC:外部插件优先、多插件协作、动态官方工具兜底,保留后台运行与随时插话。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"agent-preset",
|
|
10
|
+
"ptc",
|
|
11
|
+
"agent-team",
|
|
12
|
+
"subagent",
|
|
13
|
+
"clarification",
|
|
14
|
+
"background-jobs",
|
|
15
|
+
"plugin-compatibility",
|
|
16
|
+
"tool-cooperation",
|
|
17
|
+
"official-ptc-fallback"
|
|
18
|
+
],
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "lishize20040802-rgb",
|
|
22
|
+
"email": "lishize20040802@gmail.com",
|
|
23
|
+
"url": "https://github.com/lishize20040802-rgb"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/lishize20040802-rgb/dsh-deep-ptc-mode.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/lishize20040802-rgb/dsh-deep-ptc-mode#readme",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/lishize20040802-rgb/dsh-deep-ptc-mode/issues"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"cordis.patch.yml",
|
|
35
|
+
"lib",
|
|
36
|
+
"compatibility.json",
|
|
37
|
+
"README.md",
|
|
38
|
+
"README.zh.md",
|
|
39
|
+
"CHANGELOG.md",
|
|
40
|
+
"assets/icon.png"
|
|
41
|
+
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=24",
|
|
44
|
+
"dsh": ">=0.2.2-rc.1"
|
|
45
|
+
},
|
|
46
|
+
"dsh": {
|
|
47
|
+
"manifestVersion": 1,
|
|
48
|
+
"bundle": {
|
|
49
|
+
"patch": "./cordis.patch.yml"
|
|
50
|
+
},
|
|
51
|
+
"client": {
|
|
52
|
+
"platform": "web",
|
|
53
|
+
"inject": [
|
|
54
|
+
"@deepseek-ai/dsh-client-locale",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"main": "lib/index.mjs",
|
|
61
|
+
"exports": {
|
|
62
|
+
".": "./lib/index.mjs",
|
|
63
|
+
"./executor": "./lib/executor.mjs",
|
|
64
|
+
"./terminal": "./lib/terminal.mjs",
|
|
65
|
+
"./jobs-tool": "./lib/jobs-tool.mjs",
|
|
66
|
+
"./ask-user": "./lib/ask-user.mjs",
|
|
67
|
+
"./guard": "./lib/guard.mjs",
|
|
68
|
+
"./official-tools": "./lib/official-tools.mjs",
|
|
69
|
+
"./tool-compatibility": "./lib/tool-compatibility.mjs",
|
|
70
|
+
"./environment": "./lib/environment.mjs",
|
|
71
|
+
"./client": "./lib/client.js",
|
|
72
|
+
"./package.json": "./package.json"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"test": "node --test",
|
|
76
|
+
"check": "node scripts/check.mjs",
|
|
77
|
+
"check:upstream": "node scripts/check.mjs --upstream",
|
|
78
|
+
"prepack": "npm run check && npm test",
|
|
79
|
+
"sync:snapshot": "node scripts/sync-snapshot.mjs"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.2-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.2-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.2-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.2-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-web-app": ">=0.2.2-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-base": ">=0.2.2-rc.1"
|
|
89
|
+
},
|
|
90
|
+
"peerDependenciesMeta": {
|
|
91
|
+
"@deepseek-ai/schemastery": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@deepseek-ai/dsh-client-ui-renderer": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-settings": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@deepseek-ai/dsh-web-app": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@deepseek-ai/dsh-base": {
|
|
110
|
+
"optional": true
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"dependencies": {
|
|
114
|
+
"js-yaml": "4.3.2"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"react": "18.3.1",
|
|
118
|
+
"react-test-renderer": "18.3.1"
|
|
119
|
+
}
|
|
120
|
+
}
|