wsz987/dsh-channels--packages-channel-verify ↗★ 2

@wsz987/channel-verify

Offline verification CLI for third-party DeepSeek Harness channel adapters (dsh channels verify) 核心用途是在本地离线对 DSH 渠道适配器包进行静态与运行检查并生成报告。适合开发第三方 DSH 渠道插件、需要进行 CI 自动化测试的开发者。

Package
@wsz987/channel-verify
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. 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

FlagEffect
dirAdapter package directory (default .)
--testRun the adapter's own test suite (pnpm test) as the contract check
--allow-unsupportedTreat 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 idWhat it verifies
packagepackage.json exists and has name, version, main, types, exports
adapter-surfaceThe package entry can be imported and exposes an adapter
manifestThe adapter exposes a structurally valid compatibility manifest
capabilitiescapabilities is a valid ChannelCapabilities object
fixturesfixtures//*.json cases are present and valid
credentialsNo real credentials / secret values are committed in config or fixtures
contractThe 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

Related

License

MIT