跳到主要内容

relay-dsh-plugin-semantic-router

已验证

relay-dsh-plugin-semantic-router · v0.2.3 · MIT

Recall-oriented semantic Event router for Relay Events on DeepSeek Harness.

安装

dsh plugin add relay-dsh-plugin-semantic-router

用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。

源码

标签

说明文档

面向 DeepSeek Harness 的 Relay Semantic Router

稳定版 0.2.3 已在官方 DSH 0.1.5-rc.2 和 0.1.6-alpha.1 上验证。 无需修改实现,peer 元数据已声明两个精确版本。从 npm 安装 · 兼容性证据。

发布通道: latest → 0.2.3;next → 0.2.3-rc.2。

npx @deepseek-ai/[email protected] plugin --profile web add relay-dsh-plugin-events@next relay-dsh-plugin-semantic-router@next
npx @deepseek-ai/[email protected] web

DSH 兼容版本

English | 中文

relay-dsh-plugin-semantic-router 为 relay-dsh-plugin-events 注册一个偏重召回的 模型 Router。它根据规范化 Event 与精简的活动 Wait 快照决定 deliver、escalate 或 dismiss。它自身不存储数据,也不会准入 DSH Session。

旧的 internal npm 通道继续用于集成测试,不包含此次兼容保证。请使用上方最新版 DSH 命令中精确的 0.2.1 版本,不要替换为 @internal。

dsh plugin --profile web add --save-exact \
  relay-dsh-plugin-events@internal \
  relay-dsh-plugin-semantic-router@internal

在 DSH“设置 → 等待事件”中配置、替换或停用已有 DSH LLM 路由; RELAY_ROUTER_PROVIDER 与 RELAY_ROUTER_MODEL 仅作为启动回退。缺少或停用配置时, 界面会展示受控的未启用状态,Events 无需重启即可继续使用精确匹配回退。

构建时将 DSH_ROOT 指向准备好的官方 DSH 只读检出,然后执行 npm ci --ignore-scripts && npm run verify && npm pack,并同时安装生成的 tarball。 npm 包包含已构建的 lib/,原始 GitHub 源码不包含。每次模型尝试最长 60 秒,共 1–3 次;卸载会取消当前请求,不会再发起一次重试。

详见 SPEC.md 与投递场景。

已验证的官方 DSH:0.1.1-rc.2 / b150a551b8d465e31e418e1b2eaf5e79bbb7d28e 、0.1.2-alpha.2 / 0a53fb55bea101816fa226bb964ae2bed71c343b,以及 0.1.2-alpha.3 / dd6322d604e00eec1ba5e0c8541159906a21094a。