narrative-prompt-polish
One-click prompt polisher for the DSH composer: a ✨ button next to the message box opens a side-chat where an agent refines your rough draft over multiple turns, then you copy the result back. Replays the session prefix to hit the prompt cache, with a full → partial → none fallback for oversized or non-live sessions, per-call JSONL tracing, and a trust fence plus CAS write-back that refuses to overwrite a draft changed since the request. Requires omdsh-dev/DSH-better-sidebar (>=0.16.1); errors explicitly if it is missing rather than failing silently.
DSH 主输入框旁的 ✨ 一键提示词打磨:点击后在侧边对话中由 Agent 多轮改写草稿,再手动回填。复刻会话前缀以命中 prompt cache,超大或非 live 会话按 full → partial → none 降级;每次调用留 JSONL trace;API 路由带信任围栏,CAS 写回在草稿已变时拒绝覆盖。需先安装 omdsh-dev/DSH-better-sidebar(>=0.16.1),缺失时显式报错而非静默失效。
How to install
dsh plugin add github:shengyvself/narrative-prompt-polish About
narrative-prompt-polish Shengyv's Writing Architecture 的提示词优化插件:主会话输入框右座 ✨ 一键把草稿 改写成清晰、具体、可直接交给 AI Agent 执行的提示词——并可在侧栏对话中与 Agent 多轮打磨,满意后手动回填主输入框。 核心特性 **主框 ✨ → 侧栏对话打磨(默认主流程,0.0.20+)**:点击主框 ✨ 不再直接改草稿, 而是启动 better-sidebar 侧边对话(sidechat 子会话)——继承主会话完整上下文 + preset/provider/model,任务书投递后 Agent 在侧栏开始打磨;可多轮追问,满意后 用 SideChatView 自带复制按钮手动回填主输入框。better-sidebar 不可用时直接报错 (红线:不兑底到普通单次 polish)。 **C 方案(full,默认)**:ctx.sessions.get() → deriveMessages() + requestHeader().system/config, 完整复刻 [system]+[...history] 前缀直调 ctx.llm.stream——前缀与主会话一致即命中 prompt cache, 只增量计算草稿与润色指令。非 live 会话走 sessionQuery.readSession() 离线折…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-02
- Created
- 2026-08-28
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek, deepseek-harness, dsh, dsh-better-sidebar, dsh-plugin, sidebar
Related plugins
DesktopCommanderMCP
wonderwhy-er/DesktopCommanderMCP
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
tongflow
tong-io/tongflow/tree/main/packages/dsh-tongflow
TongFlow film-crew studio for image, voice, music and video production: the agent writes per-asset TongFlow workflow files (.tongflow.json) that run through TongFlow plugins, with an embedded workflow canvas, a shot/character/take project layout and a manga-drama template; sessions starting with @tongflow open the Studio view.
gstack
garrytan/gstack
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
pipedream
PipedreamHQ/pipedream
Connect APIs, remarkably fast. Free for developers.