Type Alias: SegmentPolicy
Makaio Framework / contracts / SegmentPolicy
Type Alias: SegmentPolicy
Section titled “Type Alias: SegmentPolicy”SegmentPolicy =
z.infer<typeofSegmentPolicySchema>
Defined in: ../../../packages/contracts/src/session/schemas/lifecycle-events.ts:42
Inferred type for SegmentPolicySchema.
Type Composition
Section titled “Type Composition”SegmentPolicyz.infer<typeof SegmentPolicySchema>typeof SegmentPolicySchema
Resolved Shape
Section titled “Resolved Shape”type SegmentPolicy = { fromMessageId: string; toMessageId: string; policy: 'verbatim' | 'summarize' | 'exclude'; stripReasoning?: boolean | undefined; stripToolOutputs?: boolean | undefined; overrides?: Record<string, 'exclude'> | undefined; summaryText?: string | undefined;};