跳过主要内容
Y

relay-dsh-plugin-semantic-router

yangbobo2021/relay-dsh-plugin-semantic-router

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

安装

dsh plugin --profile web add github:yangbobo2021/relay-dsh-plugin-semantic-router

README

Relay Semantic Router for DeepSeek Harness

Now supports DSH 0.1.2-rc.1 while retaining 0.1.2-alpha.3 compatibility. Plugin 0.2.2 is verified on both releases. Install it from npm · Compatibility evidence.

Release channels: latest0.2.2; next0.2.1-rc.1.

npx @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add relay-dsh-plugin-events@0.2.3-rc.1 relay-dsh-plugin-semantic-router@0.2.3-rc.1
npx @deepseek-ai/dsh@0.1.2-rc.1 web

DSH compatibility

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.

相关插件