klarkxy/dsh-editor--packages-dsh-mood ↗★ 11
@klarkxy/dsh-mood
在智能体执行前自动澄清模糊的需求意图。 适合需要提高智能体执行准确率、减少误操作的复杂任务处理场景。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:klarkxy/dsh-editor#45bfe9acd47ac14d63b602f1f007870fc8c8d7ed&path:packages/dsh-mood說明文件
閱讀完整 README ↗@klarkxy/dsh-mood
Default-enabled requirements clarification at the Host agent/pre-step boundary.
Requires Node.js ≥22 and DSH 0.1.7-alpha.1. The bundle entry starts enabled and remains independently switchable. Mood does not replace native permissions or writing proposal confirmation.
dsh plugin --profile web add @klarkxy/dsh-ai-services
dsh plugin --profile web add @klarkxy/dsh-mood
Enable or disable the feature under Settings → Plugins. When enabled, it uses automatic clarification. The chat card uses seat dsh-editor.chat.events with {sessionId, locale}.
Clear requests do not call mood.analyze. Auto mode only asks when a conservative check finds material ambiguity or risk. Clarification waits in the same pre-step, then resumes that intercepted request once.
From the repository root:
pnpm --filter @klarkxy/dsh-mood typecheck
pnpm exec vitest run packages/dsh-mood/src
pnpm --filter @klarkxy/dsh-mood build
The Editor preinstalls this feature enabled. In the Editor, use Settings → Plugins to switch it without restarting. Standalone DSH must load @klarkxy/dsh-ai-services before this package; installation or removal may require a restart when the host asks for one.