Melosic/dsh-invoke1

@dsh-external/dsh-invoke

Prompt Vault & Invoker for DeepSeek Harness — 管理、分类、快速调用提示词,支持侧边栏 GUI

包名
@dsh-external/dsh-invoke
版本
0.2.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Melosic/dsh-invoke

Command-Line Usage (Optional)

Most operations can be done via the sidebar; the command line targets keyboard-driven users and fallback scenarios. Current commands:

CommandDescription
/promptList all prompts (with category, built-in marker, description)
/prompt-listList all prompts grouped by category
/aliasList all registered aliases and the prompts they point to
/ [content]Invoke the aliased prompt: renders it and copies to the clipboard

Alias System

  • Open the alias dialog via the link-icon action on a prompt card (or by clicking the alias badge on the card). Each prompt can be bound to one alias.
  • Alias rules: lowercase letters / digits / hyphens; must not collide with reserved commands (prompt, prompt-list, alias, help, clear, exit) or existing aliases. Validated server-side.
  • Invocation: / content — the text after the command fills the template variables. A single-variable prompt receives the whole text; a multi-variable prompt splits it in declaration order using ||. Missing required variables produce a usage hint.
  • On success the rendered prompt is copied to the system clipboard (when the clipboard is unavailable, the body is echoed for manual copy) and the usage counter increments.
  • Deleting a prompt cascades to delete its alias.
  • Alias data lives in the user-level aliases.json (global, not workspace-scoped).