HuanLinOTO/dsh-plugin-preface-context0

@huanlin/dsh-plugin-preface-context

在每次会话开头固定注入一段用户配置的文本上下文(设置页输入框可编辑),作为模型可见的 instructions 注入第一轮请求。 | Injects a user-configured text block as model-visible instructions context at the start of every DSH session (editable from the settings page).

包名
@huanlin/dsh-plugin-preface-context
版本
0.1.0
最近更新
2026年9月3日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-preface-context

配置

设置页卡片中:

  • 启用:开关关闭时不注入任何文本。
  • 上下文文本:输入要注入的文本(支持多行)。文本为空时不注入。

也可通过 cordis.patch.yml 的 plugin-row config 块提供 composition base(默认 enabled: true, contextText: '')。