@crewx/sdk 0.9.0-rc.227 → 0.9.0-rc.229

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.
@@ -16,3 +16,14 @@ export interface CanonicalizeAgentOptionsResult {
16
16
  }
17
17
  export declare function normalizeProviderMode(providerId: string, mode: string): string;
18
18
  export declare function canonicalizeAgentOptions(input: CanonicalizeAgentOptionsInput): CanonicalizeAgentOptionsResult;
19
+ export interface RouteModelModeIssue {
20
+ path: 'mode.query' | 'mode.execute';
21
+ code: 'required' | 'unsupported_mode';
22
+ message: string;
23
+ }
24
+ export interface ProviderDefaultMode {
25
+ query: string;
26
+ execute: string;
27
+ }
28
+ export declare function validateRouteModelMode(provider: string, mode: unknown): RouteModelModeIssue[];
29
+ export declare function getProviderDefaultMode(provider: string): ProviderDefaultMode | undefined;
@@ -35,11 +35,11 @@ export type ProviderOptionSpec = {
35
35
  };
36
36
  export interface ProviderExecutionOptions {
37
37
  mode: string;
38
- effort: string;
38
+ effort?: string;
39
39
  providerOptions?: Record<string, unknown>;
40
40
  }
41
41
  export interface ProviderDefaultProfile {
42
- model: string;
42
+ model?: string;
43
43
  query: ProviderExecutionOptions;
44
44
  execute: ProviderExecutionOptions;
45
45
  }