@infinity_cheng/dsh-prompt-editor 0.5.1 → 0.5.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.md +26 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
它只改草稿——**不发送、不执行**。草稿已经清楚时返回 `UNCHANGED`;检查不通过时保留原文。
|
|
13
13
|
|
|
14
|
+

|
|
15
|
+
|
|
14
16
|
> **Phase 1 已完成**:输入框按钮、选区感知、SSE 流式预览、inline diff、复制、替换/撤销、停止/重试/取消、设置页。没有自动发送,也没有自动应用。
|
|
15
17
|
|
|
16
18
|
## 为什么不是“提示词扩写器”
|
|
@@ -32,6 +34,23 @@
|
|
|
32
34
|
@infinity_cheng/dsh-prompt-editor
|
|
33
35
|
```
|
|
34
36
|
|
|
37
|
+
### 自定义插件索引
|
|
38
|
+
|
|
39
|
+
DSH 0.2.x 没有官方公共索引;可以先启用自定义索引,再在「发现」里添加:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
https://infinity-cheng.github.io/dsh-prompt-editor/market-index.json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
步骤:
|
|
46
|
+
|
|
47
|
+
1. **插件 → 实验性插件 → 启用「自定义插件索引」**
|
|
48
|
+
2. 打开 **发现 → 添加索引源**
|
|
49
|
+
3. 粘贴上面的 URL
|
|
50
|
+
4. 搜索 `dsh-prompt-editor` 并安装
|
|
51
|
+
|
|
52
|
+
索引文件在仓库的 [`docs/market-index.json`](docs/market-index.json),图标和落地页也在 `docs/`。
|
|
53
|
+
|
|
35
54
|
### CLI(DSH 0.2.x)
|
|
36
55
|
|
|
37
56
|
```sh
|
|
@@ -232,6 +251,13 @@ Safari 验证结果。
|
|
|
232
251
|
- Host + Client 两半;Client 是 lazy-CJS bundle,无独立构建步骤
|
|
233
252
|
- Client 槽位:`conversation.input.right`、`settings.section`
|
|
234
253
|
|
|
254
|
+
### 0.5.2 文档与索引
|
|
255
|
+
|
|
256
|
+
- README 增加真实 UI 截图。
|
|
257
|
+
- 增加 DSH 自定义插件索引说明和 `docs/market-index.json`。
|
|
258
|
+
- `package.json` 增加短名搜索关键词 `dsh-prompt-editor`、`prompt-enhancer`。
|
|
259
|
+
- 功能代码与 0.5.1 相同。
|
|
260
|
+
|
|
235
261
|
### 0.5.1 仓库与许可
|
|
236
262
|
|
|
237
263
|
- 新增 GitHub 仓库:<https://github.com/Infinity-cheng/dsh-prompt-editor>。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infinity_cheng/dsh-prompt-editor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Rewrite a rough prompt draft into a clear, executable prompt in DeepSeek Harness: streaming preview, selection-aware replace, and fact-preservation checks.",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"prompt",
|
|
23
23
|
"prompt-engineering",
|
|
24
24
|
"prompt-editor",
|
|
25
|
-
"prompt-rewriting"
|
|
25
|
+
"prompt-rewriting",
|
|
26
|
+
"dsh-prompt-editor",
|
|
27
|
+
"prompt-enhancer"
|
|
26
28
|
],
|
|
27
29
|
"author": "infinity_cheng",
|
|
28
30
|
"license": "MIT",
|
|
@@ -68,7 +70,10 @@
|
|
|
68
70
|
"optional": true
|
|
69
71
|
}
|
|
70
72
|
},
|
|
71
|
-
"repository":
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/Infinity-cheng/dsh-prompt-editor.git"
|
|
76
|
+
},
|
|
72
77
|
"homepage": "https://github.com/Infinity-cheng/dsh-prompt-editor#readme",
|
|
73
78
|
"bugs": {
|
|
74
79
|
"url": "https://github.com/Infinity-cheng/dsh-prompt-editor/issues"
|