Saltar al contenido principal

Variable: PluginRuntimeModuleGraphBodySchema

const PluginRuntimeModuleGraphBodySchema: TObject<{ graph: TUnknown; workerEpoch: TInteger; workerId: TInteger; }>

Defined in: packages/contracts/src/pluginRuntime.ts:1079

MODULE_GRAPH payload (host → runtime, Stage A). graph is the signed PluginModuleGraph as opaque plugin payload: the worker re-validates its structure and per-module digests before evaluating anything, so the wire only needs identity routing. workerEpoch must match the record's current epoch; the host learns it from the WORKER_READY frame.