@resolveio/server-lib 22.1.7 → 22.1.9
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 +9 -0
- package/methods/ai-terminal.js +1714 -1693
- package/methods/ai-terminal.js.map +1 -1
- package/package.json +1 -1
package/methods/ai-terminal.d.ts
CHANGED
|
@@ -127,6 +127,7 @@ export declare function resolveAssistantCollectionOverride(collectionRanking: Re
|
|
|
127
127
|
} | null;
|
|
128
128
|
export declare function resolveAssistantCrossCollectionFallbackCandidates(collection: string): string[];
|
|
129
129
|
export declare function resolveAssistantAvailableCrossCollectionFallbacksFromNames(collection: string, triedCollections: Set<string>, collectionNames: string[]): string[];
|
|
130
|
+
export declare function shouldAcceptAssistantFallbackDocuments(documents: any[]): boolean;
|
|
130
131
|
export declare function collectUserViewPermissions(user: any): string[];
|
|
131
132
|
export declare function userHasInvoiceAccess(user: any): boolean;
|
|
132
133
|
export declare function resolveAssistantUserAccessTier(user: any): 'super_admin' | 'customer_portal' | 'client_user';
|
|
@@ -135,12 +136,19 @@ export declare function resolveCodexThoughtLevel(params?: {
|
|
|
135
136
|
attachmentText?: string;
|
|
136
137
|
requestType?: AssistantRequestType;
|
|
137
138
|
}): 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
139
|
+
export declare function buildAssistantWorkspaceRootCandidates(params?: {
|
|
140
|
+
serverConfig?: Record<string, any>;
|
|
141
|
+
env?: Record<string, any>;
|
|
142
|
+
cwd?: string;
|
|
143
|
+
dirname?: string;
|
|
144
|
+
}): string[];
|
|
138
145
|
export declare function classifyAssistantRequestType(message: string, plannerOutput?: any): AssistantRequestClassification;
|
|
139
146
|
export declare function shouldRunAssistantPlanner(params: {
|
|
140
147
|
plannerEnabled: boolean;
|
|
141
148
|
requestClassification: AssistantRequestClassification;
|
|
142
149
|
hasDeterministicHeuristicFastPath: boolean;
|
|
143
150
|
}): boolean;
|
|
151
|
+
export declare function shouldEnforceAssistantDatedDirective(message: string, plannerOutput: any, requestClassification: AssistantRequestClassification): boolean;
|
|
144
152
|
export declare function collectAssistantAllowedRoutesForUser(user: any, allRoutes: string[], isSuperAdmin: boolean): string[];
|
|
145
153
|
export declare function rankAssistantNavigationRoutes(message: string, routes: string[], limit?: number): string[];
|
|
146
154
|
export declare function shouldUseAssistantNavigationFastPath(message: string, hasAttachments?: boolean): boolean;
|
|
@@ -157,6 +165,7 @@ export declare function buildAssistantChangeHistorySummaryFromCommits(params: {
|
|
|
157
165
|
isSuperAdmin: boolean;
|
|
158
166
|
commits: AssistantChangeHistoryCommit[];
|
|
159
167
|
branch?: string;
|
|
168
|
+
repositoryName?: string;
|
|
160
169
|
now?: Date;
|
|
161
170
|
}): AssistantChangeHistoryFastPathResult;
|
|
162
171
|
export {};
|