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

Variable: PluginRuntimeLogBatchPayloadSchema

const PluginRuntimeLogBatchPayloadSchema: TObject<{ droppedCount: TInteger; records: TArray<TObject<{ at: TInteger; count: TOptional<TInteger>; level: TUnion<TLiteral<"error" | "debug" | "log" | "info" | "warn" | "trace">[]>; message: TString; }>>; seq: TInteger; }>

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

Worker-encoded LOG_BATCH payload (decoded exactly once by the host; §15.1). droppedCount counts records dropped/coalesced-past-budget since the previous batch — the host MUST emit the synthetic suppressed-record [NT] N plugin log records suppressed when it is non-zero (§9.1.1 rule 9).