zhaoxiagongsi001/dsh-prompt-forge ↗★ 0

dsh-prompt-forge

Prompt optimizer for the DSH web GUI: one button beside the composer rewrites the current draft through a configured LLM channel (host-side, no key duplication), streams the result into a side-by-side dialog, and only writes back on Accept. 适合需要通过大模型流式重写和优化输入框草稿的网页端用户。

패키지
dsh-prompt-forge
호환성
미검증
Harness peer 범위
>=0.1.0-0 <0.1.1-0 || >=0.1.1-0 <0.1.2-0 || >=0.1.2-0 <0.1.3-0 || >=0.1.3-0 <0.1.4-0 || >=0.1.4-0 <0.1.5-0 || >=0.1.5-0 <0.1.6-0 || >=0.1.6-0 <0.1.7-0 || >=0.1.7-0 <0.1.8-0 || >=0.2.0-0 <0.3.0-0
Cordis peer 범위
^4.0.4
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 1.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhaoxiagongsi001/dsh-prompt-forge

3. 先跑通配置

打开 设置 → 提示词优化:

  1. 确认「渠道」下拉能列出你配置的渠道(如 ofox),「模型」下拉能列出该渠道的聊天模型
  2. 选好默认模型(默认 ofox / deepseek/deepseek-v4.1-flash)
  3. 温度保持 0.3
  4. 需要时改主提示词,或在「预设」里增删

模型下拉会自动过滤掉图像、embedding 等非聊天模型 —— 它们在网关的 /models 里和聊天模型混在一起。


使用

  1. 在输入框里写一段草稿(中文或英文都行)
  2. 点输入框左下角的 优化 按钮
  3. 右侧流式出结果,可以直接改
  4. Ctrl+Enter 或点「采纳」写回输入框;不采纳则原稿一字不动。生成中采纳键呈禁用态(Ctrl+Enter 同样被拒),等输出结束再采纳;中断后用「复制」取走已有内容

草稿为空、插件被关闭、或草稿超过 20000 字时,按钮会禁用并说明原因。