@linxin666/dsh-liangshen 0.4.1 → 0.4.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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +15 -15
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# node scripts/verify-docs.mjs --write <dir>
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: f3b6a3c60a7974b821bc908eb0e40707241afcad
|
|
6
|
+
README.zh.md: 495e16388f33cf3b8b2787698c8d637c19df0035
|
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ All fields are editable in the web settings surface (plugin config) or through t
|
|
|
130
130
|
- The preset carries the same trust level as shell access — review `presets/liangshen/` before installing;
|
|
131
131
|
- The plugin makes no network requests and adds no telemetry;
|
|
132
132
|
- Do not switch presets mid-conversation;
|
|
133
|
-
- Requires DSH 0.1.7-rc.
|
|
133
|
+
- Requires DSH 0.1.7-rc.2+ (preset mechanism, the `system-prompt/assemble` waterfall, the persona `prefix` schema, and the PTC presentation API).
|
|
134
134
|
|
|
135
135
|
## License
|
|
136
136
|
|
package/README.zh.md
CHANGED
|
@@ -130,7 +130,7 @@ dsh plugin --profile web remove @linxin666/dsh-liangshen
|
|
|
130
130
|
- preset 与 shell 访问具有相同信任等级,安装前可自行审阅 `presets/liangshen/`;
|
|
131
131
|
- 插件不发起网络请求,也不增加遥测;
|
|
132
132
|
- 不要在已经产生内容的会话中途切换 preset;
|
|
133
|
-
- 需要 DSH 0.1.7-rc.
|
|
133
|
+
- 需要 DSH 0.1.7-rc.2+(preset 机制、`system-prompt/assemble` 瀑布、persona 的 `prefix` schema,以及 PTC 呈现 API)。
|
|
134
134
|
|
|
135
135
|
## 许可
|
|
136
136
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-liangshen",
|
|
3
3
|
"description": "LiangShen (梁神) agent preset plus its composer lever for the dsh web GUI. The host half declares the bundled preset to the harness's agent-preset registry at activation (declare = enabled), so the preset is selectable for new sessions without writing anything into the harness home; the preset keeps a minimal persona with standing working discipline while the harness's own user-role agent-instructions injection delivers the workspace instructions (the optional `instructionSource: system-prompt` mode lifts them into the prompt instead), and declares one tool presentation for the session's whole lifetime (default `presentation: 'both'`, where the wire collapses to the `run_code` transport and every other tool is reached through the generated SDK; `native` keeps the assembled roster, `ptc` keeps only the transport). High-fan-out tool families (default `mcp__*`) stay paged out of the wire until the preset's own `tool_activate` tool loads their namespace (LRU cap three, state replayed from the durable session event stream), and the tool catalog — exactly the on-wire tools plus paged-out namespace summaries — and a one-line working-context projection travel as durable user messages republished only on change. The browser half adds a slot-machine lever left of the model selector on the new-session screen to toggle the mode. Hot-pluggable via cordis.patch.yml + profile symlink, no dsh source changes.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dsh": {
|
|
25
25
|
"engines": {
|
|
26
|
-
"dsh": ">=0.1.7-rc.
|
|
26
|
+
"dsh": ">=0.1.7-rc.2"
|
|
27
27
|
},
|
|
28
28
|
"bundle": {
|
|
29
29
|
"patch": "./cordis.patch.yml"
|
|
@@ -40,25 +40,25 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/dsh": ">=0.1.7-rc.
|
|
43
|
+
"@deepseek-ai/dsh": ">=0.1.7-rc.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@deepseek-ai/schemastery": "^3.18.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
50
|
-
"@deepseek-ai/dsh-agent-preset-registry": "^0.1.7-rc.
|
|
51
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.7-rc.
|
|
52
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1.7-rc.
|
|
53
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.7-rc.
|
|
54
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.7-rc.
|
|
55
|
-
"@deepseek-ai/dsh-client-store": "^0.1.7-rc.
|
|
56
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.7-rc.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-rc.
|
|
58
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.7-rc.
|
|
59
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.7-rc.
|
|
60
|
-
"@deepseek-ai/dsh-settings": "^0.1.7-rc.
|
|
61
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.7-rc.
|
|
50
|
+
"@deepseek-ai/dsh-agent-preset-registry": "^0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-store": "^0.1.7-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.7-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.7-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.7-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-settings": "^0.1.7-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.7-rc.2",
|
|
62
62
|
"@testing-library/react": "^16.1.0",
|
|
63
63
|
"@types/node": "^22.20.0",
|
|
64
64
|
"@types/react": "~18.3.1",
|