返回插件目录

henryZhouLikeStudy /

henryZhouLikeStudy/dsh-lattice-protocol

仅 Topic 仓库

DSH Lattice V1 canonical protocol: schemas, types, validators and JSON Schema

1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
README来源: main@cb2c8f60

dsh-lattice-protocol

Versioned canonical schemas, types, validators, and contract-test fixtures for DSH Lattice V1.

Scope

This package defines the normative data contract for DSH Lattice:

  • Canonical types for Project, Run, Room, Agent, Task, Assignment, Message, Result, Artifact, and SessionLink.
  • Events, deterministic result/error envelopes, adapter manifests, capabilities, and session modes.
  • JSON Schema export and runtime validators.
  • RFC 2119 invariants and reusable contract-test fixtures.

Usage

import {
  projectSchema,
  runSchema,
  DEFAULT_RUN_TIMEOUT_MS,
  makeIdempotencyKey,
} from "dsh-lattice-protocol";

const parsed = projectSchema.safeParse(rawProject);

License

Apache-2.0. See LICENSE and NOTICE.

/ 5

暂无评分

社区评论

还没有评论,来写第一条。