メインコンテンツまでスキップ

Variable: PluginRuntimeRpcResponseBodySchema

const PluginRuntimeRpcResponseBodySchema: TObject<{ error: TOptional<TObject<{ code: TString; details: TOptional<TUnknown>; message: TString; retryable: TBoolean; }>>; ok: TBoolean; requestId: TString; result: TOptional<TUnknown>; workerEpoch: TInteger; workerId: TInteger; }>

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

RPC_RESPONSE control payload (host → worker via the runtime, §15.2). Mirrors the worker bridge rpc-response so the runtime can route by requestId; the echoed worker identity lets it drop responses that race a worker restart.