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

@wsz987/channel-verify

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

AI 분석

核心用途是在本地离线对 DSH 渠道适配器包进行静态与运行检查并生成报告。适合开发第三方 DSH 渠道插件、需要进行 CI 自动化测试的开发者。

패키지
@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