wsz987/dsh-channels--packages-channel-verify2

@wsz987/channel-verify

Offline verification CLI for third-party DeepSeek Harness channel adapters (dsh channels verify)

包名
@wsz987/channel-verify
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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