Variable: PromptContextPreviewSchema
constPromptContextPreviewSchema:TObject<{budget:TObject<{contextLimit:TInteger;promptTokens:TInteger;reservedForReply:TInteger; }>;chatTemplateId:TUnion<[TString,TNull]>;contextStrategy:TString;diagnostics:TArray<TString>;entries:TArray<TObject<{content:TString;exclusionReason:TUnion<[TLiteral<"disabled">,TLiteral<"empty">,TLiteral<"manual">,TLiteral<"context-shift">,TLiteral<"final-budget">,TLiteral<"interceptor">,TLiteral<"model-mismatch">,TLiteral<"none">]>;identifier:TString;included:TBoolean;name:TOptional<TString>;order:TInteger;role:TUnion<[TLiteral<"system">,TLiteral<"user">,TLiteral<"assistant">,TLiteral<"tool">,TLiteral<"plugin">]>;source:TString;tokens:TInteger; }>>;model:TString;promptTemplateId:TUnion<[TString,TNull]>;promptTemplateMode:TUnion<[TLiteral<"chat">,TLiteral<"text">]>;providerConfigId:TUnion<[TString,TNull]>;providerKind:TString;providerMessages:TArray<TObject<{content:TString;name:TOptional<TUnion<[TString,TNull]>>;role:TUnion<[TLiteral<"system">,TLiteral<"user">,TLiteral<"assistant">,TLiteral<"tool">,TLiteral<"plugin">]>; }>>;providerSource:TUnion<[TString,TNull]>;tokenizer:TObject<{approximate:TBoolean;profile:TString; }>; }>
Defined in: packages/contracts/src/promptAudit.ts:118
Pipeline output needed by context meters. Unlike an audit, a preview has no generation/chat identity because it is never persisted or sent upstream.