Relay Semantic Router for DeepSeek Harness
Stable 0.2.3 is verified on official DSH 0.1.5-rc.2 and 0.1.6-alpha.1. No implementation adaptation was required; its peer metadata declares both exact releases. Install it from npm · Compatibility evidence.
Release channels: latest → 0.2.3; next → 0.2.3-rc.2.
npx @deepseek-ai/dsh@0.1.6-alpha.1 plugin --profile web add relay-dsh-plugin-events@next relay-dsh-plugin-semantic-router@next
npx @deepseek-ai/dsh@0.1.6-alpha.1 web
English | 中文
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 older internal npm channel remains available for integration testing and
does not carry this compatibility guarantee. Use the exact 0.2.1
versions in the latest-DSH command above; do not substitute @internal.
dsh plugin --profile web add --save-exact \
relay-dsh-plugin-events@internal \
relay-dsh-plugin-semantic-router@internal
Configure, replace, or disable an existing DSH LLM route from DSH Settings → Waiting
events. Environment variables RELAY_ROUTER_PROVIDER and RELAY_ROUTER_MODEL are
startup fallbacks. Missing or disabled configuration is a visible contained state;
Events continues exact fallback routing without restart.
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 references: 0.1.1-rc.2 at
b150a551b8d465e31e418e1b2eaf5e79bbb7d28e, 0.1.2-alpha.2 at
0a53fb55bea101816fa226bb964ae2bed71c343b, and 0.1.2-alpha.3 at dd6322d604e00eec1ba5e0c8541159906a21094a.