@teechat/ope-protocol
v0.1.1
Published
TypeScript binding for OPE wire protocol (Rust SoT: crates/ope-protocol). Types + NDJSON stream codec only — no crypto.
Readme
@teechat/ope-protocol
TypeScript binding for the OPE Confidential AI wire protocol.
| Layer | Location |
|-------|----------|
| Source of truth | Rust crate crates/ope-protocol |
| This package | Hand-maintained TS types + NDJSON helpers mirroring the Rust API |
Does not include crypto. Use @teechat/ope-wasm / ope-e2e / libope_ffi for encrypt/decrypt.
Install
pnpm add @teechat/ope-protocol
# TeeChat / IE: pin the published version (same train as ope-wasm)
# "@teechat/ope-protocol": "0.1.0"Exports
| Path | Contents |
|------|----------|
| @teechat/ope-protocol | Envelope, trust/epoch, traffic class, engine-plane paths/headers |
| @teechat/ope-protocol/stream | application/ope+json-stream NDJSON frames |
When changing wire shapes, update crates/ope-protocol first, then this binding, bump the package version, and republish (Publish ope-protocol workflow or OPE v* release).
Published artifacts are compiled dist/*.js + .d.ts (not raw src/).
