pax-beehive/dsh-hub-cli--packages-schemas ↗★ 2

@dsh-plugin-hub/schemas

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

Package
@dsh-plugin-hub/schemas
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Sep 2, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.