dsh-enhance-prompt
Agent 与会话 活跃维护

dsh-enhance-prompt

devilzyl/dsh-enhance-prompt

轻量级 Composer 插件,调用自选模型把聊天草稿重写成更清晰具体的提示词,一键增强、一键还原,保留原稿随时回退,输入体验直接顺畅。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
3.3 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:devilzyl/dsh-enhance-prompt
git clone https://github.com/devilzyl/dsh-enhance-prompt.git
git clone git@github.com:devilzyl/dsh-enhance-prompt.git
README.md main
Prompt Enhance # dsh-enhance-prompt **Turn a rough draft into a precise prompt — one click, right inside DeepSeek Harness.** [English](https://github.com/devilzyl/dsh-enhance-prompt/blob/main/README.md) · [简体中文](https://github.com/devilzyl/dsh-enhance-prompt/blob/main/README.zh-CN.md) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/devilzyl/dsh-enhance-prompt/main/LICENSE) [![Platform](https://img.shields.io/badge/platform-DeepSeek%20Harness-4D6BFE.svg)](https://www.deepseek.com) [![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](https://raw.githubusercontent.com/devilzyl/dsh-enhance-prompt/main/) [![Zero telemetry](https://img.shields.io/badge/telemetry-none-success.svg)](https://raw.githubusercontent.com/devilzyl/dsh-enhance-prompt/main/#-privacy--data-flow) One click turns your draft into a clear, specific prompt. Not happy? One more click reverts it. [Features](#-features) · [Installation](#-installation) · [Configuration](#%EF%B8%8F-configuration) · [Privacy](#-privacy--data-flow) Prompt Enhance demo: a rough draft becomes a precise prompt

✨ Features

One-click rewrite One tap on ✨ turns your draft into a clear prompt.
Answers, not questions Missing details? It fills them in and marks them "Assume: …" — no back-and-forth.
Instant revert Click ↺ to restore. Start typing and the offer disappears.
Cancel anytime Click the spinner to cancel; it stops on its own after 60 seconds.
Language preserved Chinese stays Chinese, English stays English, mixed stays mixed.
Protects @ references Drafts with @ chips are left untouched, so references never break.
Bilingual UI Follows the app language, switches live.
Zero footprint No storage, no caching, no telemetry.

📦 Installation

Open the plugin installer in DeepSeek Harness and paste one of the following:

Source Paste this
npm
recommended
dsh-enhance-prompt
GitHub https://github.com/devilzyl/dsh-enhance-prompt
Local folder the absolute path to a checkout of this repository

[!NOTE]
If the npm name does not resolve yet, use the GitHub or local-folder source.

After installing or updating the plugin, refresh the page once before use.

Uninstall

Remove the bundle named dsh-enhance-prompt from the plugin manager.

⚙️ Configuration

Works out of the box. To adjust, edit the plugin row's config in the bundle patch:

- id: prompt-enhance
  config:
    maxInputChars: 4000      # draft limit; longer drafts return 413
    maxOutputTokens: 1024    # output ceiling for the rewrite
    temperature: 0.4         # optional; omitted means the parameter is not sent

🔒 Privacy & Data Flow

  • What is sent — Only the plain text of your draft. No attachments, no files, nothing from other sessions.
  • Where it goes — To your local Harness, then to the model provider you configured. The plugin never goes online by itself and never sees your API keys.
  • What is stored — Nothing. No files, no cache, no telemetry.
  • Who can call it — Only a logged-in browser session (401 otherwise); cross-site requests are rejected (403); if the auth service is down, everything is refused (503).

📄 License

MIT © dsh-enhance-prompt contributors