klarkxy's DSH plugins

Clarify

@klarkxy/dsh-mood

When a request is ambiguous, pin down the goal, scope, and acceptance before the agent starts.

Install

 dsh plugin --profile web add @klarkxy/dsh-ai-services
 dsh plugin --profile web add @klarkxy/dsh-mood

This plugin depends on AI Services; the commands install them in order.

Replace web with your profile name. Restart the profile after installing; the plugin then shows up under Settings → Plugins.

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

Publishing · License

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.