Repository navigation
v0.1.0 - route allowlist guard
Install (once npm credentials are restored): dsh plugin add dsh-plugin-safe-route
Changes:
- Adds the read-only /route-check command: audits provider/model routes used in the current session against a configurable allowlist.
- Configurable deny rules (deny wins over allow), glob wildcards, JSON output via /route-check --json.
- Default allowlist: opencode-go/hy4-flash-free and opencode-go/longcat-2.5-free.
- Ships bilingual README, TypeScript build with declarations, and 15 offline tests.
Known limitations:
- npm publish is pending a valid npm token; until then install from source with npm install && npm test.
- Only routes recorded in request/header and request/context events are audited.
- This plugin does not block calls - it reports and scores them.