@crewx/sdk 0.9.0-rc.105 → 0.9.0-rc.107

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.
@@ -43,11 +43,15 @@ export interface ThreadMessage {
43
43
  content: string;
44
44
  timestamp: string;
45
45
  metadata: Record<string, unknown> | null;
46
+ contentTruncated?: boolean;
47
+ originalTokens?: number;
48
+ includedTokens?: number;
46
49
  }
47
50
  export interface ContextBuildParams {
48
51
  maxTokens: number;
49
52
  hotzoneRatio: number;
50
53
  warmzoneRatio: number;
54
+ minGuaranteedPairs?: number;
51
55
  }
52
56
  export interface ContextBuildResponse {
53
57
  hot: ThreadMessage[];
@@ -0,0 +1,11 @@
1
+ import { type ProviderExecutionOptions } from './models.generated.js';
2
+ export type DefaultAgentStage = {
3
+ model: string;
4
+ query: Pick<ProviderExecutionOptions, 'mode' | 'effort'>;
5
+ execute: Pick<ProviderExecutionOptions, 'mode' | 'effort'>;
6
+ };
7
+ export interface DefaultAgentProfile {
8
+ planner: DefaultAgentStage;
9
+ worker: DefaultAgentStage;
10
+ }
11
+ export declare function getDefaultAgentProfile(provider: string): DefaultAgentProfile | undefined;