@istarry/dsh-chat-edit 0.0.0-stage → 0.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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Chat Edit",
4
+ "description": "Edit a user message and regenerate from it, or edit an assistant reply's body and branch into a new conversation that continues from your wording — the original conversation stays untouched."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "对话编辑",
4
+ "description": "用户消息改完即从那条重新生成;AI 回复的正文也能改,改完开一条新对话从改过的内容继续,原对话结构一点不动。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,88 @@
1
1
  {
2
2
  "name": "@istarry/dsh-chat-edit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "description": "DSH 对话编辑:用户消息改完即重新生成,AI 回复的正文也能改——改完开一条新对话从改过的内容继续,原对话结构一点不动",
4
+ "version": "0.1.0",
5
+ "icon": "./icon.svg",
6
+ "type": "module",
7
+ "main": "lib/index.js",
8
+ "license": "MIT",
9
+ "keywords": [
10
+ "dsh",
11
+ "dsh-plugin",
12
+ "deepseek-harness",
13
+ "chat",
14
+ "edit",
15
+ "regenerate",
16
+ "fork",
17
+ "conversation"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/iStarryDust/dsh-chat-edit.git"
25
+ },
26
+ "homepage": "https://github.com/iStarryDust/dsh-chat-edit#readme",
27
+ "bugs": {
28
+ "url": "https://github.com/iStarryDust/dsh-chat-edit/issues"
29
+ },
30
+ "exports": {
31
+ ".": "./lib/index.js",
32
+ "./client": "./lib/client.js",
33
+ "./typert": "./lib/typert.host.js",
34
+ "./remote": "./lib/typert.remote-client.js",
35
+ "./cordis.patch.yml": "./cordis.patch.yml",
36
+ "./locale/*.json": "./locale/*.json",
37
+ "./package.json": "./package.json"
38
+ },
39
+ "files": [
40
+ "icon.svg",
41
+ "locale/*.json",
42
+ "lib/index.js",
43
+ "lib/client.js",
44
+ "lib/client.js.map",
45
+ "lib/typert.host.js",
46
+ "lib/typert.remote-client.js",
47
+ "cordis.patch.yml",
48
+ "LICENSE",
49
+ "README*.md"
50
+ ],
51
+ "dsh": {
52
+ "bundle": {
53
+ "patch": "./cordis.patch.yml"
54
+ },
55
+ "client": {
56
+ "inject": [
57
+ "@deepseek-ai/dsh-api-remotes",
58
+ "@deepseek-ai/dsh-api-session-controller",
59
+ "@deepseek-ai/dsh-api-workspace-controller",
60
+ "@deepseek-ai/dsh-client-file-upload",
61
+ "@deepseek-ai/dsh-client-locale",
62
+ "@deepseek-ai/dsh-client-ui-chat",
63
+ "@deepseek-ai/dsh-client-ui-conversation",
64
+ "@deepseek-ai/dsh-client-ui-renderer",
65
+ "@deepseek-ai/dsh-client-ui-session",
66
+ "@deepseek-ai/dsh-client-ui-slots",
67
+ "@deepseek-ai/dsh-client-ui-workspace"
68
+ ],
69
+ "platform": "web"
70
+ }
71
+ },
72
+ "scripts": {
73
+ "build": "node build.mjs",
74
+ "check": "node build.mjs --check",
75
+ "staging": "node build.mjs --staging",
76
+ "clean": "node -e \"require('fs').rmSync('lib',{recursive:true,force:true});require('fs').rmSync('.build',{recursive:true,force:true})\"",
77
+ "tooling": "cd tooling && pnpm install"
78
+ },
79
+ "peerDependencies": {
80
+ "@deepseek-ai/cordis": ">=0.2.1-rc.2 <0.3.0-0",
81
+ "@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.3.0-0",
82
+ "@deepseek-ai/dsh-session": ">=0.2.1-rc.2 <0.3.0-0",
83
+ "@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2 <0.3.0-0"
84
+ },
85
+ "engines": {
86
+ "dsh": ">=0.2.1-rc.2 <0.3.0-0"
87
+ }
88
+ }