@infinity_cheng/dsh-prompt-editor 0.1.1 → 0.1.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 +9 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -185,11 +185,17 @@ draft + context
|
|
|
185
185
|
|
|
186
186
|
## 兼容性
|
|
187
187
|
|
|
188
|
-
- 验证于 DSH Desktop `0.2.2-rc.
|
|
189
|
-
- `engines.dsh`:`>=0.2.2-rc.1 <0.3.0
|
|
190
|
-
- 需要 Node `>=
|
|
188
|
+
- 验证于 DSH Desktop `0.2.2-rc.5` / dsh `0.2.2-rc.5`(2026-12-02)
|
|
189
|
+
- `engines.dsh`:`>=0.2.2-rc.1 <0.3.0`;rc.1–rc.4 未逐版本回归
|
|
190
|
+
- 需要 Node `>=24.9.0`(DSH `0.2.2-rc.5` 的运行时要求)
|
|
191
191
|
- 纯宿主插件,无浏览器半侧、无额外前端构建
|
|
192
192
|
|
|
193
|
+
### 0.1.2 适配记录
|
|
194
|
+
|
|
195
|
+
- 在 DSH `0.2.2-rc.5` / Node `24.9+` 上重新验证 `enhance_prompt`:`intent-first`、`strict`、`contextPath` 和真实模型调用均正常。
|
|
196
|
+
- `dsh-tools` 的 `defineTool`、`ctx.llm.stream`、`ctx.fs.readText`、`ctx.agentDefaultModel.currentSelection()` 在本版本未发生破坏性变化,无需改代码。
|
|
197
|
+
- 仅更新 `engines.node` 到 `>=24.9.0`,版本升到 `0.1.2`。
|
|
198
|
+
|
|
193
199
|
## 限制
|
|
194
200
|
|
|
195
201
|
- **Phase 0 没有输入框按钮**:需要模型调用 `enhance_prompt`,或用户明确要求增强。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infinity_cheng/dsh-prompt-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Rewrite a rough prompt draft into a clear, executable prompt for DeepSeek Harness, with fact-preservation checks and an UNCHANGED fast path.",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"engines": {
|
|
27
27
|
"dsh": ">=0.2.2-rc.1 <0.3.0",
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=24.9.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|