HuanLinOTO/dsh-plugin-preface-context0

@huanlin/dsh-plugin-preface-context

在每次会话开头固定注入用户配置的文本上下文作为首轮请求系统指令的 DSH 插件。

AI 分析

实现全局个性化系统提示词注入。适合需要为所有新会话统一设定角色背景、回复偏好或工作流约束的用户。

套件
@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: '')。