dsh-edit-turn 0.2.21 → 0.3.0
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 +82 -25
- package/lib/client.js +401 -13
- package/lib/index.js +211 -30
- package/lib/patch.js +260 -0
- package/package.json +11 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-edit-turn",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Edit any message in DeepSeek Harness in place: a prompt is replaced where it stands
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Edit any message in DeepSeek Harness in place: a prompt is replaced where it stands; a model reply block (answer text or reasoning) is patched through a plugin record and a message projection, so the turn stays where it is, later turns are untouched and the log grows by one small record. Falls back to the replay splice on hosts without the projection API. The append-only session log is never rewritten.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"lib/index.js",
|
|
14
14
|
"lib/client.js",
|
|
15
|
+
"lib/patch.js",
|
|
15
16
|
"cordis.patch.yml"
|
|
16
17
|
],
|
|
17
18
|
"keywords": [
|
|
@@ -21,8 +22,9 @@
|
|
|
21
22
|
"edit",
|
|
22
23
|
"message",
|
|
23
24
|
"turn",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
25
|
+
"projection",
|
|
26
|
+
"reasoning",
|
|
27
|
+
"surface-replace"
|
|
26
28
|
],
|
|
27
29
|
"license": "MIT",
|
|
28
30
|
"repository": {
|
|
@@ -46,11 +48,12 @@
|
|
|
46
48
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
|
-
"@deepseek-ai/dsh-session": "^0.1
|
|
51
|
+
"@deepseek-ai/dsh-session": "^0.2.1-rc.2"
|
|
50
52
|
},
|
|
51
53
|
"peerDependencies": {
|
|
52
54
|
"@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.2 || ^0.1.3-alpha.2 || ^0.1.5-alpha.1 || ^0.2.0-rc.1",
|
|
53
|
-
"@deepseek-ai/dsh-tools": "^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.2 || ^0.1.3-alpha.2 || ^0.1.5-alpha.1 || ^0.2.0-rc.1"
|
|
55
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.2 || ^0.1.3-alpha.2 || ^0.1.5-alpha.1 || ^0.2.0-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-session": "^0.2.0-rc.1 || ^0.2.1-rc.2"
|
|
54
57
|
},
|
|
55
58
|
"dsh": {
|
|
56
59
|
"bundle": {
|
|
@@ -70,7 +73,8 @@
|
|
|
70
73
|
},
|
|
71
74
|
"compatibility": {
|
|
72
75
|
"dshReleases": {
|
|
73
|
-
"0.1.6-alpha.2": "compatible"
|
|
76
|
+
"0.1.6-alpha.2": "compatible",
|
|
77
|
+
"0.2.1-rc.2": "compatible"
|
|
74
78
|
}
|
|
75
79
|
}
|
|
76
80
|
}
|