@xpert-ai/chatkit-types 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1205,6 +1205,9 @@ export declare type Col = {
|
|
|
1205
1205
|
|
|
1206
1206
|
export declare type ColorScheme = 'light' | 'dark';
|
|
1207
1207
|
|
|
1208
|
+
/** Reason codes emitted by context-compression events. */
|
|
1209
|
+
export declare type ContextCompressionReason = 'no_messages' | 'no_unprotected_history' | 'no_token_gain' | 'summary_invalid' | 'summary_input_budget' | 'summary_output_budget' | 'summary_work_limit' | 'summary_constraints_lost' | 'summary_service_error' | 'retry_deferred' | 'context_budget_exceeded' | 'context_validation_failed';
|
|
1210
|
+
|
|
1208
1211
|
declare type ControlSize = '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1209
1212
|
|
|
1210
1213
|
declare type ControlVariant = 'solid' | 'soft' | 'outline' | 'ghost';
|
|
@@ -2547,6 +2550,11 @@ export declare type TThreadContextUsageEvent = {
|
|
|
2547
2550
|
agentKey: string;
|
|
2548
2551
|
updatedAt: string;
|
|
2549
2552
|
usage: TThreadContextUsageMetrics;
|
|
2553
|
+
/** Window of the model used by this execution, including fallback models. */
|
|
2554
|
+
effectiveModel?: {
|
|
2555
|
+
model?: string;
|
|
2556
|
+
contextWindow: number;
|
|
2557
|
+
};
|
|
2550
2558
|
};
|
|
2551
2559
|
|
|
2552
2560
|
export declare type TThreadContextUsageMetrics = {
|