fix: resolve build errors after merge with main

This commit is contained in:
Adam Weidman
2026-02-09 13:24:17 -05:00
parent dd4df1bd11
commit 9f7a3d30ea
5 changed files with 667 additions and 6 deletions
+21
View File
@@ -56,6 +56,7 @@ import {
DEFAULT_GEMINI_MODEL_AUTO,
isPreviewModel,
PREVIEW_GEMINI_MODEL,
DEFAULT_THINKING_MODE,
} from './models.js';
import { shouldAttemptBrowserLaunch } from '../utils/browser.js';
import type { MCPOAuthConfig } from '../mcp/oauth-provider.js';
@@ -187,6 +188,18 @@ export interface AgentSettings {
overrides?: Record<string, AgentOverride>;
}
export interface CodebaseInvestigatorSettings {
enabled?: boolean;
maxNumTurns?: number;
maxTimeMinutes?: number;
thinkingBudget?: number;
model?: string;
}
export interface IntrospectionAgentSettings {
enabled?: boolean;
}
export interface CustomTheme {
type: 'custom';
name: string;
@@ -1840,6 +1853,14 @@ export class Config {
return this.agents;
}
getCodebaseInvestigatorSettings(): CodebaseInvestigatorSettings {
return this.codebaseInvestigatorSettings;
}
getIntrospectionAgentSettings(): IntrospectionAgentSettings {
return this.introspectionAgentSettings;
}
isBrowserLaunchSuppressed(): boolean {
return this.getNoBrowser() || !shouldAttemptBrowserLaunch();
}