pax-beehive/dsh-hub-cli--packages-schemas ↗★ 2
@dsh-plugin-hub/schemas
Portable DSH bundle, profile, and Hub API schemas
AI 分析
提供 DSH 插件和配置清单的格式校验规范。适合正在开发 DSH 插件、集成工具、验证器或自定义客户端的 TypeScript 开发者。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Usage
import {
dshPackageManifestSchema,
dshProfileManifestSchema,
} from "@dsh-plugin-hub/schemas";
const plugin = dshPackageManifestSchema.parse(packageJson);
const profile = dshProfileManifestSchema.parse(profilePackageJson);
The package exports Zod schemas and inferred TypeScript types for portable DSH bundle manifests, Plugin Hub records, Profile drafts and immutable releases. Use it when building a DSH plugin, integration, validator, or custom Hub client.
Version 0.2.0 is released in lockstep with the CLI, registry, and DSH adapter.
This package performs local validation only: it makes no network request and
collects no telemetry. Anonymous lifecycle telemetry belongs exclusively to the
@dsh-plugin-hub/cli runtime and follows that package's documented controls.
This is an independent community project and is not affiliated with or endorsed by DeepSeek.