Expand description
Message protocol for wasmsh host adapters.
Defines versioned, serializable messages exchanged between a host and
wasmsh-runtime, including the progressive StartRun / PollRun
execution flow in addition to one-shot Run.
An experimental typed WIT projection of the same surface lives in
crates/wasmsh-protocol/wit/worker-protocol.wit. The serde enums remain
the canonical contract today; the WIT world is additive and intended for
future component-model embedders.
§Protocol version
Current version: 0.1.0
Enums§
- Diagnostic
Level - Diagnostic severity level.
- Host
Command - A command sent from the host to the worker.
- Worker
Event - An event sent from the worker to the host.
Constants§
- PROTOCOL_
VERSION - Protocol version string.