@infinity_cheng/dsh-prompt-editor 0.5.0 → 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/LICENSE +21 -0
- package/README.md +34 -0
- package/package.json +13 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Infinity-cheng
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@infinity_cheng/dsh-prompt-editor)
|
|
4
4
|
[](https://www.npmjs.com/package/@infinity_cheng/dsh-prompt-editor)
|
|
5
|
+
[](https://github.com/Infinity-cheng/dsh-prompt-editor)
|
|
5
6
|

|
|
6
7
|
|
|
7
8
|
**把一句“帮我搞一下”,改写成执行者不用追问的任务说明。**
|
|
@@ -10,6 +11,8 @@
|
|
|
10
11
|
|
|
11
12
|
它只改草稿——**不发送、不执行**。草稿已经清楚时返回 `UNCHANGED`;检查不通过时保留原文。
|
|
12
13
|
|
|
14
|
+

|
|
15
|
+
|
|
13
16
|
> **Phase 1 已完成**:输入框按钮、选区感知、SSE 流式预览、inline diff、复制、替换/撤销、停止/重试/取消、设置页。没有自动发送,也没有自动应用。
|
|
14
17
|
|
|
15
18
|
## 为什么不是“提示词扩写器”
|
|
@@ -31,6 +34,23 @@
|
|
|
31
34
|
@infinity_cheng/dsh-prompt-editor
|
|
32
35
|
```
|
|
33
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
|
+
|
|
34
54
|
### CLI(DSH 0.2.x)
|
|
35
55
|
|
|
36
56
|
```sh
|
|
@@ -231,6 +251,20 @@ Safari 验证结果。
|
|
|
231
251
|
- Host + Client 两半;Client 是 lazy-CJS bundle,无独立构建步骤
|
|
232
252
|
- Client 槽位:`conversation.input.right`、`settings.section`
|
|
233
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
|
+
|
|
261
|
+
### 0.5.1 仓库与许可
|
|
262
|
+
|
|
263
|
+
- 新增 GitHub 仓库:<https://github.com/Infinity-cheng/dsh-prompt-editor>。
|
|
264
|
+
- 新增 MIT `LICENSE`,并加入 npm 发布文件。
|
|
265
|
+
- `package.json` 增加 `repository`、`homepage`、`bugs` 元数据。
|
|
266
|
+
- README 增加 GitHub badge 和链接。
|
|
267
|
+
|
|
234
268
|
### 0.5.0 Pro 调优与盲评
|
|
235
269
|
|
|
236
270
|
- 内置 `deepseek-official/deepseek-v4-pro` 自适应档案:temperature 0.12、4x/1800 字符上限、超长重试。
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"index.js",
|
|
10
|
+
"LICENSE",
|
|
10
11
|
"rules.mjs",
|
|
11
12
|
"client.js",
|
|
12
13
|
"cordis.patch.yml",
|
|
@@ -21,7 +22,9 @@
|
|
|
21
22
|
"prompt",
|
|
22
23
|
"prompt-engineering",
|
|
23
24
|
"prompt-editor",
|
|
24
|
-
"prompt-rewriting"
|
|
25
|
+
"prompt-rewriting",
|
|
26
|
+
"dsh-prompt-editor",
|
|
27
|
+
"prompt-enhancer"
|
|
25
28
|
],
|
|
26
29
|
"author": "infinity_cheng",
|
|
27
30
|
"license": "MIT",
|
|
@@ -66,5 +69,13 @@
|
|
|
66
69
|
"@deepseek-ai/dsh-client-locale": {
|
|
67
70
|
"optional": true
|
|
68
71
|
}
|
|
72
|
+
},
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/Infinity-cheng/dsh-prompt-editor.git"
|
|
76
|
+
},
|
|
77
|
+
"homepage": "https://github.com/Infinity-cheng/dsh-prompt-editor#readme",
|
|
78
|
+
"bugs": {
|
|
79
|
+
"url": "https://github.com/Infinity-cheng/dsh-prompt-editor/issues"
|
|
69
80
|
}
|
|
70
81
|
}
|