dsh-plugin-message-edit 1.0.1 → 1.1.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/LICENSE +24 -24
- package/README.en.md +9 -3
- package/README.md +9 -3
- package/cordis.patch.yml +7 -7
- package/docs/ARCHITECTURE.md +13 -9
- package/docs/DEVELOPMENT.md +16 -4
- package/docs/TREE_DATA_MODEL.md +96 -96
- package/lib/index.js +30 -20
- package/lib/session-record.js +17 -2
- package/lib/tree-logic.js +343 -343
- package/package.json +70 -66
package/package.json
CHANGED
|
@@ -1,66 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-plugin-message-edit",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"description": "ChatGPT-style message editing for DeepSeek Harness: edit a past prompt to rewind and branch the conversation, switch versions with a counter under the bubble, and browse branches in a tree.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"default": "./lib/index.js"
|
|
10
|
-
},
|
|
11
|
-
"./client": {
|
|
12
|
-
"default": "./lib/client.js"
|
|
13
|
-
},
|
|
14
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
15
|
-
"./package.json": "./package.json"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"lib",
|
|
19
|
-
"docs",
|
|
20
|
-
"cordis.patch.yml",
|
|
21
|
-
"plugin.client.js"
|
|
22
|
-
],
|
|
23
|
-
"license": "MIT",
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/SpookySandwich/dsh-plugin-message-edit.git"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"dsh",
|
|
30
|
-
"dsh-plugin",
|
|
31
|
-
"deepseek-harness",
|
|
32
|
-
"cordis-plugin",
|
|
33
|
-
"message-edit",
|
|
34
|
-
"edit",
|
|
35
|
-
"branch",
|
|
36
|
-
"version-tree"
|
|
37
|
-
],
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "node scripts/build-client.mjs",
|
|
40
|
-
"pretest": "npm run build",
|
|
41
|
-
"test": "node scripts/build-client.mjs --check && node --test test/*.test.mjs",
|
|
42
|
-
"prepack": "npm run build",
|
|
43
|
-
"check:package": "node scripts/check-package.mjs"
|
|
44
|
-
},
|
|
45
|
-
"dsh": {
|
|
46
|
-
"bundle": {
|
|
47
|
-
"patch": "./cordis.patch.yml"
|
|
48
|
-
},
|
|
49
|
-
"client": {
|
|
50
|
-
"platform": "web",
|
|
51
|
-
"inject": [
|
|
52
|
-
"@deepseek-ai/dsh-api-session-controller",
|
|
53
|
-
"@deepseek-ai/dsh-client-locale",
|
|
54
|
-
"@deepseek-ai/dsh-client-ui-
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-conversation",
|
|
56
|
-
"@deepseek-ai/dsh-client-modules"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@deepseek-ai/cordis": "^4.0.2",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"react
|
|
65
|
-
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-plugin-message-edit",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "ChatGPT-style message editing for DeepSeek Harness: edit a past prompt to rewind and branch the conversation, switch versions with a counter under the bubble, and browse branches in a tree.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"default": "./lib/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./client": {
|
|
12
|
+
"default": "./lib/client.js"
|
|
13
|
+
},
|
|
14
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"lib",
|
|
19
|
+
"docs",
|
|
20
|
+
"cordis.patch.yml",
|
|
21
|
+
"plugin.client.js"
|
|
22
|
+
],
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/SpookySandwich/dsh-plugin-message-edit.git"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"dsh",
|
|
30
|
+
"dsh-plugin",
|
|
31
|
+
"deepseek-harness",
|
|
32
|
+
"cordis-plugin",
|
|
33
|
+
"message-edit",
|
|
34
|
+
"edit",
|
|
35
|
+
"branch",
|
|
36
|
+
"version-tree"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "node scripts/build-client.mjs",
|
|
40
|
+
"pretest": "npm run build",
|
|
41
|
+
"test": "node scripts/build-client.mjs --check && node --test test/*.test.mjs",
|
|
42
|
+
"prepack": "npm run build",
|
|
43
|
+
"check:package": "node scripts/check-package.mjs"
|
|
44
|
+
},
|
|
45
|
+
"dsh": {
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": "./cordis.patch.yml"
|
|
48
|
+
},
|
|
49
|
+
"client": {
|
|
50
|
+
"platform": "web",
|
|
51
|
+
"inject": [
|
|
52
|
+
"@deepseek-ai/dsh-api-session-controller",
|
|
53
|
+
"@deepseek-ai/dsh-client-locale",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
56
|
+
"@deepseek-ai/dsh-client-modules"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
62
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2",
|
|
63
|
+
"jsdom": "^29.1.1",
|
|
64
|
+
"react": "^19.2.8",
|
|
65
|
+
"react-dom": "^19.2.8"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"dsh": ">=0.1.5-rc.2 <0.1.6-0"
|
|
69
|
+
}
|
|
70
|
+
}
|