All plugins

DSH / BUNDLE / CLIENT-UI

@xyavid/dsh-prompt-polish

v0.3.0xyavid / dsh-prompt-polish0d6429378c

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

@xyavid/dsh-prompt-polish

dsh Web 插件:在输入框模型名左侧加一个小星星按钮,一键把当前草稿交给模型改写成结构化提示词,可一键撤回。

README / EN

Package documentation

Registry summary

dsh Web 插件:在输入框模型名左侧加一个小星星按钮,一键把当前草稿交给模型改写成结构化提示词,可一键撤回。

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

| Item | Detail | |---|---| | Single button per session | The client admits one in-flight polish at a time; a cancelled call's late response is discarded by request id | | Undo window needs the settings domain | The button reads `undoWindowMs` through the client-side `configForms` mirror; if a composition mounts no settings domain the window silently falls back to 60 s | | No context awareness | The session history is never read; the draft is polished on its own | | Chips are refused | `/command` and `@reference` drafts are rejected rather than rewritten, because filling text back would destroy the chips | | Route prefix is load-bearing | Keep the endpoint under `/api` unless you add your own trust check | | Older dsh versions | Built for the `0.1.7-rc.1` line: settings ride the schema's `.volatile()` fields plus the client `configForms` mirror. The 0.1.5 line's `ctx.settings.register` / `settingsScope` were removed upstream and are no longer supported |