The owner bundle and the Relay must agree on the frames they exchange and on how one viewer identity is keyed, without either depending on the other. This package carries both halves: the owner/worker IPC frames, the gateway frames the Relay forwards without interpreting, and the provider-neutral identity contract with its loopback mock. `parseGatewayFrame` answers undefined for input this build does not understand instead of failing the connection, and `unsupportedFrameRefusal` turns such a frame into the refusal to send back. The package is registered as a release member, a doc-standard library, a tsconfig host and client program, and carries the coverage lane the wire codec needs. Its Further Exploration list names the owner bundle and the Relay without linking to packages this layer does not add yet.
6 lines
199 B
JSON
6 lines
199 B
JSON
{
|
|
"dir": "host->worker",
|
|
"note": "a command this worker does not know: it must be refused rather than acted on",
|
|
"frame": { "type": "set-share-mode", "shareId": "share-one", "mode": "view" }
|
|
}
|