@inhuman.tools/harness-contract
Wire storage DDL (SQLite & PostgreSQL), Electric/LiveShape update lanes, WebSocket Presence frames, and the composed HTTP oRPC v2 OpenAPI specification (spec/openapi.json).
Requires Node.js 22+.
Install
npm install @inhuman.tools/harness-contract
Entry points
@inhuman.tools/harness-contract — full composed wire schemas and RPC metadata re-exports
@inhuman.tools/harness-contract/schema — Drizzle schemas (HARNESS_POSTGRES_DDL, SQLite schema, lane shapes, presence frames)
@inhuman.tools/harness-contract/migrations — packaged Drizzle SQL migrations
The generated OpenAPI 3.1 spec is included in spec/openapi.json and summarized in spec/README.md.
License
MIT.