Variable: MessageGenerationMetaSchema
constMessageGenerationMetaSchema:TObject<{durationMs:TInteger;generationId:TString;model:TString;providerConfigId:TUnion<[TString,TNull]>;providerKind:TUnion<[TString,TNull]>;providerSource:TUnion<[TString,TNull]>;usage:TUnion<[TObject<{completionTokens:TInteger;promptTokens:TInteger;totalTokens:TInteger; }>,TNull]>; }>
Defined in: packages/contracts/src/message.ts:125
Terminal generation bookkeeping persisted on the assistant message under
meta.generation. providerConfigId/providerKind are null when the
built-in echo fallback produced the reply (no configured provider);
providerSource mirrors the audit's resolution of settings.source
(string or null); usage is null when the provider reported none.