pax-beehive/dsh-hub-cli--packages-schemas ↗★ 2
@dsh-plugin-hub/schemas
便携式 DSH 插件包、配置文件和插件市场 API 的 Zod 模式及 TypeScript 类型定义。
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.