About
From README.md in 0.1.4.
Default-enabled requirements clarification at the Host agent/pre-step boundary.
Requires Node.js ≥22 and DSH 0.1.7-rc.2. 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.