Relay Semantic Router for DeepSeek Harness

August 31, 2026 · View on GitHub

未发布适配:本分支已迁移到 DSH 0.1.2-alpha.2。npm 版本和标签尚未更新;下方已发布版本的安装示例不代表新版兼容性。见适配说明

relay-dsh-plugin-semantic-router registers a recall-oriented model Router with relay-dsh-plugin-events. It decides deliver, escalate, or dismiss from a normalized Event and compact active-Wait snapshot. It stores nothing and never admits a DSH Session itself.

The internal npm channel is public for integration testing. It has no stability or compatibility guarantee and must not be treated as latest, next, or a production release.

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

Configure an existing DSH LLM route with RELAY_ROUTER_PROVIDER and RELAY_ROUTER_MODEL. Missing configuration is a contained inactive state; Events continues exact fallback routing.

Build this repository with DSH_ROOT pointing to a prepared official DSH checkout: npm ci --ignore-scripts && npm run verify && npm pack. Install the resulting tarballs together. The npm package includes built lib/; raw GitHub source does not. Each model attempt is bounded to at most 60 seconds, with 1–3 attempts. Unloading cancels the active request without starting another retry.

See SPEC.md and delivery scenarios. Tested official DSH reference: b150a551b8d465e31e418e1b2eaf5e79bbb7d28e.