@omni-work/protocol-ts
v0.1.1
Published
Shared protocol types, schemas, and pairing utilities for OmniWork.
Maintainers
Readme
@omni-work/protocol-ts
Shared TypeScript protocol types, runtime schemas, and pairing utilities for OmniWork.
Install
npm install @omni-work/protocol-tsUsage
import {
createMessage,
parseMessageEnvelope,
PROTOCOL_VERSION,
} from "@omni-work/protocol-ts";
const message = createMessage("session.list", { sessions: [] });
const parsed = parseMessageEnvelope(message);
console.log(PROTOCOL_VERSION, parsed);This package is ESM-only and requires Node.js 20.19 or newer when used in Node.
Source and issue tracking are available in the OmniWork repository.
