pax-beehive/dsh-hub-cli--packages-schemas2

@dsh-plugin-hub/schemas

便携式 DSH 插件包、配置文件和插件市场 API 的 Zod 模式及 TypeScript 类型定义。

AI 分析

提供 DSH 插件和配置清单的格式校验规范。适合正在开发 DSH 插件、集成工具、验证器或自定义客户端的 TypeScript 开发者。

包名
@dsh-plugin-hub/schemas
版本
0.2.0
许可证
MIT
最近更新
2026年9月2日

安装

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