dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
让 Agent 的思考过程也自动使用中文。 A DSH plugin that makes the agent think, plan and reason in Chinese — automatically.
DSH 插件:在每步推理前向 System Prompt 最顶部注入语言约束,防止 Agent 的思维链(chain-of-thought)在工具返回英文内容后发生"语言漂移"(language drift)。
A DSH plugin that injects a language constraint at the top of the system prompt before every reasoning step, preventing language drift in the agent's chain-of-thought after tool calls return foreign-language content.
dsh plugin --profile web add @deepseek-ai/dsh-language-control
或从 DSH 应用市场(dsh-market)中搜索 language-control 一键安装。
插件安装后自动生效,无需额外操作。每次 Agent 推理 step 前,System Prompt 最顶部会注入语言约束(默认要求中文思考与回答)。
可在 DSH 设置 → 插件 → 语言控制(Language Control) 中:
| 层 | 机制 |
|---|---|
| 注入时机 | systemPrompt.section(),每次 assemble() 重新求值(即每个推理 step 前) |
| 注入位置 | order: -200,System Prompt 第一行 |
| 服务端 | 注册 HTTP 路由 /language-control/{status,update,reset} 读写约束文本 |
| 客户端 | dsh.client.inject 注册设置面板到 settings.section |
MIT