shifan3/dsh-approve-for-me
shifan3★ 0JavaScript最后同步: 2026-08-17
Approve-for-me mode for DeepSeek Harness: LLM safety auto-approval for approval requests; high-risk destructive commands still ask the user.
README 摘要
dsh-approve-for-me 中文说明见 README.zh.md。 A DeepSeek Harness (DSH) host plugin that adds an approve-for-me approval mode. When enabled, every approval request that reaches the DSH answerer chain is judged by an LLM safety reviewer against a summary of the prior conversation. The model answers ALLOW or REJECT . Destructive high-risk commands — rm -r , rm -rf , drop table , drop database , and friends — skip the model entirely and are sent to the normal interactive user prompt. The plugin does not add a new approve-for-me policy enum (that is hardcoded in the host package dsh-user-approval ). It works inside the existing ask approval policy: the plugin's enabled state is the mode switch. The DSH approval audit events ( approval/asked + approval/decided ) are still recorded normally. Behavior - Listens on approval/request with prepend: true , so it runs before the interactive (user-prompt) answerer. - Extracts the concrete action text for the request: - command from bash-family tool-call arguments, - tool arguments JSON for other tools, - or the request reason as a fallback. - If the action (or the request reason) matches a high-risk pattern → next() , i.e. the normal user approval promp…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 140,164
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 10,272
awesome-dsh-plugin/awesome-dsh-pluginA curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 6,371