narrative-prompt-polish
DSH 主输入框旁的 ✨ 一键提示词打磨:点击后在侧边对话中由 Agent 多轮改写草稿,再手动回填。复刻会话前缀以命中 prompt cache,超大或非 live 会话按 full → partial → none 降级;每次调用留 JSONL trace;API 路由带信任围栏,CAS 写回在草稿已变时拒绝覆盖。需先安装 omdsh-dev/DSH-better-sidebar(>=0.16.1),缺失时显式报错而非静默失效。
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 plugin add github:shengyvself/narrative-prompt-polish 简介
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() 离线折…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-02
- 创建于
- 2026-08-28
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek, deepseek-harness, dsh, dsh-better-sidebar, dsh-plugin, sidebar
同类推荐
DesktopCommanderMCP
wonderwhy-er/DesktopCommanderMCP
这是面向Claude的MCP服务器,为其提供终端控制、文件系统搜索和diff文件编辑能力
tongflow
tong-io/tongflow/tree/main/packages/dsh-tongflow
基于 TongFlow 的“片场”插件,用于图片、配音、音乐与视频制作:agent 为每个资产生成 TongFlow 工作流文件(.tongflow.json)并通过 TongFlow 插件执行,内嵌工作流画布,按镜头/角色/take 组织项目,附漫剧模板;以 @tongflow 开头的会话进入 Studio 界面。
gstack
garrytan/gstack
使用Garry Tan的精确Claude Code设置:23个固执己见的工具,充当CEO、设计师、工程经理、发布经理、文档工程师和QA。