@deepslate-labs/proto
Generated TypeScript protobuf bindings for the Deepslate realtime wire protocol.
Internal package. You should not depend on this directly — it is consumed by
@deepslate-labs/core, which owns all proto construction and parsing. Downstream SDKs (e.g.@deepslate-labs/livekit) never touch these bindings.
The bindings are generated from the single shared wire contract at
proto/realtime.proto (package eu.deepslate.realtime.speeq) — the
same file the Python SDK compiles against. Generation uses buf +
@bufbuild/protobuf (protobuf-es v2).
Regenerating
Run from the node/ workspace root:
pnpm run generate
# equivalent to: pnpm --filter @deepslate-labs/proto run generate
# → buf generate ../../../proto --template ../../buf.gen.yaml
# writes src/gen/realtime_pb.ts
Then rebuild:
pnpm --filter @deepslate-labs/proto run build
When changing the wire protocol, edit
proto/realtime.protoand regenerate both languages. Seeproto/README.mdfor the combined Node (buf) and Python (grpc_tools) instructions.
License
Apache License 2.0 — see LICENSE for details.