mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 04:31:10 +00:00
823 B
823 B
Gateway Protocol Boundary
This directory defines the Gateway wire contract for operator clients and nodes.
Public Contracts
- Docs:
docs/gateway/protocol.mddocs/gateway/bridge-protocol.mddocs/concepts/architecture.md
- Definition files:
src/gateway/protocol/schema.tssrc/gateway/protocol/schema/*.tssrc/gateway/protocol/index.ts
Boundary Rules
- Treat schema changes as protocol changes, not local refactors.
- Prefer additive evolution. If a change is incompatible, handle versioning explicitly and update all affected clients.
- Keep schema, runtime validators, docs, tests, and generated client artifacts in sync.
- New Gateway methods, events, or payload fields should land through the typed protocol definitions here rather than ad hoc JSON shapes elsewhere.