@resolveio/server-lib 22.1.6 → 22.1.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/methods/ai-terminal.d.ts +16 -0
- package/methods/ai-terminal.js +1774 -1814
- package/methods/ai-terminal.js.map +1 -1
- package/package.json +1 -1
package/methods/ai-terminal.d.ts
CHANGED
|
@@ -130,7 +130,23 @@ export declare function resolveAssistantAvailableCrossCollectionFallbacksFromNam
|
|
|
130
130
|
export declare function collectUserViewPermissions(user: any): string[];
|
|
131
131
|
export declare function userHasInvoiceAccess(user: any): boolean;
|
|
132
132
|
export declare function resolveAssistantUserAccessTier(user: any): 'super_admin' | 'customer_portal' | 'client_user';
|
|
133
|
+
export declare function resolveCodexThoughtLevel(params?: {
|
|
134
|
+
message?: string;
|
|
135
|
+
attachmentText?: string;
|
|
136
|
+
requestType?: AssistantRequestType;
|
|
137
|
+
}): 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
138
|
+
export declare function buildAssistantWorkspaceRootCandidates(params?: {
|
|
139
|
+
serverConfig?: Record<string, any>;
|
|
140
|
+
env?: Record<string, any>;
|
|
141
|
+
cwd?: string;
|
|
142
|
+
dirname?: string;
|
|
143
|
+
}): string[];
|
|
133
144
|
export declare function classifyAssistantRequestType(message: string, plannerOutput?: any): AssistantRequestClassification;
|
|
145
|
+
export declare function shouldRunAssistantPlanner(params: {
|
|
146
|
+
plannerEnabled: boolean;
|
|
147
|
+
requestClassification: AssistantRequestClassification;
|
|
148
|
+
hasDeterministicHeuristicFastPath: boolean;
|
|
149
|
+
}): boolean;
|
|
134
150
|
export declare function collectAssistantAllowedRoutesForUser(user: any, allRoutes: string[], isSuperAdmin: boolean): string[];
|
|
135
151
|
export declare function rankAssistantNavigationRoutes(message: string, routes: string[], limit?: number): string[];
|
|
136
152
|
export declare function shouldUseAssistantNavigationFastPath(message: string, hasAttachments?: boolean): boolean;
|