wsz987/dsh-channels--packages-channel-verify ↗★ 2
@wsz987/channel-verify
Offline verification CLI for third-party DeepSeek Harness channel adapters (dsh channels verify)
AI Analysis
核心用途是在本地离线对 DSH 渠道适配器包进行静态与运行检查并生成报告。适合开发第三方 DSH 渠道插件、需要进行 CI 自动化测试的开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗@wsz987/channel-verify
Offline verification CLI for third-party DeepSeek Harness channel adapters
(dsh channels verify).
verifyAdapter runs a battery of checks against an adapter package directory
and produces a structured report. Everything runs locally — no network, no real
platform credentials — so the CLI is CI-friendly and offline.
Install
pnpm add -D @wsz987/channel-verify
The package ships a CLI binary with hand-rolled argument parsing:
dsh-channels-verify [dir] [--test] [--allow-unsupported]
Or from the repository root:
pnpm verify packages/channel- --test
Options
| Flag | Effect |
|---|---|
dir | Adapter package directory (default .) |
--test | Run the adapter's own test suite (pnpm test) as the contract check |
--allow-unsupported | Treat an unsupported compatibility state as a warning instead of a failure |
Exit code is 0 when the report has no fail items, 1 otherwise; warnings do
not fail the run.
Checks
| Check id | What it verifies |
|---|---|
package | package.json exists and has name, version, main, types, exports |
adapter-surface | The package entry can be imported and exposes an adapter |
manifest | The adapter exposes a structurally valid compatibility manifest |
capabilities | capabilities is a valid ChannelCapabilities object |
fixtures | fixtures//*.json cases are present and valid |
credentials | No real credentials / secret values are committed in config or fixtures |
contract | The adapter passes the @wsz987/channel-testkit contract suite (or its own tests with --test) |
Development
pnpm --filter @wsz987/channel-verify build
pnpm --filter @wsz987/channel-verify typecheck
pnpm --filter @wsz987/channel-verify test