DSH Plugins
返回列表
⚙️

dsh-jspace-trigger

工作流 更新于 2026.08.18

在终端中运行以下命令:

dsh plugin install EricWang1358/dsh-jspace-trigger

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 终端中运行 dsh plugin install EricWang1358/dsh-jspace-trigger 即可安装,源码详见 https://github.com/EricWang1358/dsh-jspace-trigger

插件介绍

J-Space Cognition Suite gives agents powerful capabilities like deep reasoning, cross-file research, and architecture review, but injecting it every single turn wastes tokens, muddles the model's focus, and dilutes the user's real intent. dsh-jspace-trigger targets exactly this timing problem: instead of blanket injection or forced system-prompt rewriting, it watches real user messages, runs them through a configurable rule engine (regex, keywords, message length, weighted score, explicit commands), and only when a rule fires does it append a lightweight near-field nudge to the agent inbox suggesting J-Space. When nothing matches, it stays completely silent. A built-in opt-out rule holds the highest priority, so a single phrase like "do not use j-space" overrides every other keyword trigger without exception.

The rule set spans from silent greeting suppression and explicit-command broadcast to loop-capacity nudges for repo-level multi-stage tasks, and full deep-reasoning suggestions for architecture reviews and comprehensive research. Each rule independently configures action, pass, modules, matchMode, and excludePatterns for fine-grained control. An observe-only mode records hits without injecting anything, letting you validate rule hit-rates in a live workflow before flipping on automatic nudges. A privacy-safe analytics funnel (rule → delivery → toolCalls → jspaceSkillLoaded) reconstructs the full path of every invocation using timestamps and event IDs, storing no user-message text or tool arguments. Skill detection and installation are strictly on-demand: the plugin never downloads J-Space automatically, only reports absence and waits for explicit user confirmation.

This plugin is built for teams who already use J-Space in a DSH workflow and want trigger timing to be auditable, reversible, and silence-capable. It coexists cleanly with Router Standard and Liangshen mode without system-prompt collisions, because it appends a near-field message rather than rewriting any preset persona or tool surface. Zero runtime npm dependencies, pure Node built-ins, and a single cordis.patch.yml to tweak make forking and customizing rules straightforward.

If you are the person who keeps asking "why is the agent always talking about J-space when I just said hello?"—or "why did it skip the perfect moment to suggest deep-reasoning?"—this is the missing middle layer: a nudge-only, never-rewriting, fully silent-by-default trigger. It does not replace your workflow; it simply makes sure the right tool is on the table at the right moment, and nowhere else.

使用场景

  • 在 DSH 工作流中按需触发 J-Space 深度推理,避免每轮盲目注入浪费 token
  • 为跨文件、多阶段仓库级任务自动建议 loop + capacity 模式,复杂调研时切换 full 推理
  • 先用 observe-only 模式验证规则命中率,确认有效后再启用自动近场提示

适合人员

  • 已在 DSH 中使用 J-Space 但希望触发时机更精准、可审计、可逆的团队
  • 需要与 Router Standard 或梁神模式共存且不想产生 system-prompt 冲突的开发者
  • 偏好零运行时依赖、单文件配置即可定制规则的轻量工具用户