Prompt Fusion prerelease: one DSH button for prompt rewriting, fidelity checks, visible failure reasons, stop and undo; shared CLI, Skills, MCP and REST.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/Merziller/prompt-fusion/releases/download/v0.5.2-rc.1/prompt-fusion-0.5.2-rc.1.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Merziller/prompt-fusion
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Turn a rough draft into a usable prompt without performing its task. Produced by 禾杨智绘工作室, developed by Merziller. Apache-2.0, zero runtime dependencies. One semantic core serves the DSH button, portable Skills, CLI, MCP stdio, MCP Streamable HTTP and REST/OpenAPI.
Current stable version: 0.5.2. Promoted from published 0.5.2-rc.1. Its 18 runtime files change only the core version literal, with no new behavior. It includes Chinese descriptive-phrase fixes, visible failure feedback, stopping after clearing a draft, and stale-result protection. See scope and verification and the stable release.
Seven actual DSH interaction checks belong to the development candidate. This promotion adds stable-package regression and offline installation checks, not a separate stable GUI retest. The narrow-window Desktop crash of undetermined cause and incomplete theme coverage remain disclosed; a stable label does not claim those limitations were fixed.
The original RC and 0.5.1 historical evidence remain intact. Historical 0.4.0 scores are not this release's scores or universal guarantees. Marketplace submission and acceptance are separate statuses.
中文 · Universal access · Platform evidence · Specification · Verification · Sources and licenses
What changed
- Rewrite the actual request, order its requirements and add only relevant missing detail—not a copied original wrapped in generic headings.
- Keep goals, language, facts, exact literals, negative constraints, uncertainty and task stage. Deep does not mean long. An already clear draft may remain unchanged.
- Separate rewriting from fidelity review. A corrected review is verified again; numeric, code, path and conversational-gate checks also run.
- Preserve the original on missing models, timeout or failed validation, with an explicit warning. Cancel and undo do not send the task.
- Expose the same model pipeline through every adapter, rather than implementing semantic enhancement only behind the DSH button.
These are safeguards, not a proof of semantic equivalence. Models and checks can miss errors. Quality is measured using the frozen evaluation protocol, retaining unsuccessful rounds.
DSH: still one button
Enhance → Stop → Undo enhancement. No mode/domain/depth/context selectors or extra microphone button. DSH's own voice input remains unchanged.
Only the current draft is sent to the selected host model, whose identity is pinned for the whole operation. There is no automatic history, workspace or credential collection. Plain text uses the native revision-checked replacement; atomic references use exact-prefix append. Later edits, session switches and sending invalidate stale results.
The project is free; your model provider may charge. An eligible surface edit can use one call only after deterministic equivalence checks pass. Complex prompts normally use two calls; verification and bounded JSON-contract retries can add calls. audit.modelCalls and audit.route record the actual work, not a billing estimate.
Install the prebuilt release archive; no build hook or npm account is needed:
dsh plugin --profile desktop add https://github.com/Merziller/prompt-fusion/releases/download/v0.5.2/prompt-fusion-0.5.2.tgz
# Or download the archive and install in a Node project offline
npm install --offline --ignore-scripts /absolute/path/prompt-fusion-0.5.2.tgz
Replacing a profile's existing development-directory link may require restarting DSH. Trust the plugin manager's application result; the historical EPERM update failure is retained rather than claimed as a successful in-place upgrade.
Use DSH's plugin manager to select the local project directory for development. Target: DSH 0.2.2-rc.5. Native service, GUI, IPC and packaged-install results are recorded separately; marketplace submission is not the same as listing.
CLI and explicit model access
Node.js ≥22.19.0. No runtime package installation required:
git clone https://github.com/Merziller/prompt-fusion.git
cd prompt-fusion
node bin/prompt-fusion.mjs --help
Configure your own OpenAI-compatible Chat Completions endpoint using FUSION_BASE_URL, FUSION_MODEL and optional FUSION_API_KEY. Standalone adapters only read them when --model is explicit.
node bin/prompt-fusion.mjs enhance --model "Clarify this existing brief without changing the stack or writing code."
node bin/prompt-fusion.mjs enhance --model --file prompt.txt
node bin/prompt-fusion.mjs enhance --model --json < request.json
# No model: unchanged draft plus MODEL_REQUIRED warning, not a claimed enhancement
node bin/prompt-fusion.mjs enhance "A rough idea"
# Explicit legacy offline rules; outside the new semantic quality claim
node bin/prompt-fusion.mjs enhance "A rough idea" --mode standard --layout append
{"input":"Organize customer follow-up for a one-person company; do not send messages.","mode":"smart","domain":"auto","intensity":"deep","layout":"structured","fallback":true}
Agent-neutral adapters
| Host capability | Entry |
|---|---|
| Standard Agent Skills + Node | Self-contained SKILL.md in the host's documented directory |
| Command MCP | node /absolute/path/bin/prompt-fusion.mjs mcp --model |
| MCP Streamable HTTP | serve --model, then /mcp; stateless JSON responses |
| HTTP/OpenAPI tools | POST /v1/enhance, GET /openapi.json |
| Shell tools | CLI stdin, JSON or file |
| Plain chat only | Manual copy, not native plugin installation |
node bin/prompt-fusion.mjs install --target AnyAgent --skills-dir /absolute/host-skills --dry-run
node bin/prompt-fusion.mjs install --target AnyAgent --skills-dir /absolute/host-skills
node bin/prompt-fusion.mjs config --target generic --model
node bin/prompt-fusion.mjs serve --host 127.0.0.1 --port 8765 --model
node bin/prompt-fusion.mjs config --target http --server-url https://YOUR_HOST/mcp
Presets are conveniences, not a brand allowlist. Codex, Claude Code, Antigravity, OpenClaw, OpenCode, pi, Hermes, Kimi Code CLI and WorkBuddy use their documented paths or config shapes. Grok Bot, the researched Muse project and future hosts can use a matching neutral interface. Protocol and fixture tests do not establish native compatibility for every vendor application. See the matrix.
External binding requires an explicit token. Provide your own HTTPS gateway, reachable network and secret storage. No automatic public deployment, TLS/OAuth server, legacy HTTP+SSE or browser CORS frontend is included. A phone's or cloud machine's localhost is not your desktop.
Results and limits
- Defaults:
smart/deep/structured/auto.engine:model-rewriteidentifies the model pipeline; a valid review may retain clear wording.engine:unchangedwith warnings identifies missing models or an unsuccessful enhancement. auditrecords calls, stages and checks, not a quality score.originalPreservedis only an exact-substring property;reorganizedis only a change flag. Neither proves fidelity.- Prompt content is data. The core has no tools for executing code, shell commands, messages or publication.
- Input48KiB, output80KiB, each explicit context8KiB, strict JSON/UTF-8/options, bounded concurrency and cancellation. A failed check does not silently truncate or overwrite the draft.
- One JSON correction retry per stage shares the total deadline. Mechanical literal checks and model review have false positives/negatives; no universal semantic guarantee is claimed.
- Context and previous drafts are explicit opt-ins. No telemetry or implicit long-term memory. Credential-pattern checks are not a complete redaction system.
Verify and reproduce
npm run build
npm test
npm run check
npm run test:report
npm pack --dry-run
node scripts/sdk-smoke.mjs --sdk-root /absolute/node_modules/@modelcontextprotocol/sdk
node scripts/score-evaluation.mjs evals/semantic-rounds/semantic-round-03
Historical 0.4.0 quality scores and current release engineering evidence are distinct. Twelve historical and twelve transfer inputs were tested with four candidates and two anonymous reversed orders. Both set means must reach95, every case90, with zero critical errors. Round 10 overall means: feiwell 94.63, ChosenXu 96.65, Fishsb 97.75, Prompt Fusion 99.46. All ten rounds, outages and failed attempts remain visible in the recorded report. Unequal model budgets and repeated tuning on the same benchmark limit generalization; this is not a universal superiority claim. The older approximately61 author review uses a different scale and remains as history.
Uninstall, licensing and contact
Disable/remove DSH through its plugin settings. Preview Skill removal with uninstall --skill-dir EXACT_DIRECTORY --dry-run; receipts and hashes protect edited user files. Remove only MCP entries you added. Stop the foreground serve process to stop its service.
Runtime implementation is independent, inspired by feiwell, ChosenXu and Fishsb. Separate evaluation records reproduce attributed upstream prompts under their retained licenses. Acknowledgment does not invent contributor status or endorsement. Third-party notices.
Production and attribution
The product name remains Prompt Fusion. Its short Chinese name is 禾杨灵词.
Produced by 禾杨智绘工作室(绍兴市柯桥区禾杨智绘软件开发工作室); developed and maintained by Merziller (子墨).
禾杨智绘工作室(绍兴市柯桥区禾杨智绘软件开发工作室)出品 · Merziller 开发
Copyright 2026 绍兴市柯桥区禾杨智绘软件开发工作室 (禾杨智绘) & Merziller (子墨)
These attribution notices do not modify Apache-2.0 or upstream ownership. See authors and public contacts, NOTICE and the license.
WeChat Merziller · QQ 1411574209 · k26789228@gmail.com, explicitly confirmed for public project use.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10669
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10669
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8366
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7489
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5362
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1070
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.