@nodeskai/genehub-types
v2026.3.5-1
Published
GeneHub 共享类型定义与 Zod schemas
Downloads
3,237
Readme
@nodeskai/genehub-types
GeneHub 共享类型定义与 Zod schemas,供 Registry、SDK、CLI 共用。
安装
npm install @nodeskai/genehub-types导出内容
Zod Schemas
GeneManifestSchema-- 基因 Manifest 完整校验AuthorSchema-- 作者信息CompatibilityEntrySchema-- 产品兼容性SkillSchema/RuleSchema/McpServerSchema-- 技能、规则、MCP 配置
枚举
GeneCategory--development|data|operations|network|creative|communication|security|efficiencyGeneTag--ability|personality|knowledge|toolGeneSource--official|clawhub|evomap|community|agent|githubReviewStatus--draft|pending|approved|rejected|flaggedProductId--openclaw|nanobot|deskclaw
实体类型
Gene/GeneVersion/GeneManifest-- 基因相关Genome/GenomeVersion-- 基因组相关Author-- 作者
API 类型
GeneListParams/GenomeListParams-- 列表查询参数GeneUpdateInput/GenomeUpdateInput-- 更新输入FederatedSearchParams/FederatedSearchResult-- 联邦搜索ResolveResult-- 依赖解析结果
适配器接口
GeneAdapter-- 产品适配器标准接口(install/uninstall/list/detect)
开发
pnpm build # 构建
pnpm dev # 开发模式(watch)
pnpm test # 运行测试