gpt-5 codex

This commit is contained in:
Arafatkatze
2025-09-16 12:39:53 -07:00
parent 8cd8d94f27
commit 5b4789af39
2 changed files with 2 additions and 5 deletions
-2
View File
@@ -25,7 +25,6 @@ import { clineEnvConfig } from "@/config"
import { HostProvider } from "@/hosts/host-provider"
import { ExtensionRegistryInfo } from "@/registry"
import { AuthService } from "@/services/auth/AuthService"
import { featureFlagsService } from "@/services/feature-flags"
import { getDistinctId } from "@/services/logging/distinctId"
import { telemetryService } from "@/services/telemetry"
import { ShowMessageType } from "@/shared/proto/host/window"
@@ -222,7 +221,6 @@ export class Controller {
this.workspaceManager = await setupWorkspaceManager({
stateManager: this.stateManager,
detectRoots: detectWorkspaceRoots,
isMultiRootEnabled: featureFlagsService.getMultiRootEnabled(),
})
const cwd = this.workspaceManager?.getPrimaryRoot()?.path || (await getCwd(getDesktopDir()))
+2 -3
View File
@@ -1,4 +1,5 @@
import { HostProvider } from "@/hosts/host-provider"
import { featureFlagsService } from "@/services/feature-flags"
import { telemetryService } from "@/services/telemetry"
import type { HistoryItem } from "@/shared/HistoryItem"
import { ShowMessageType } from "@/shared/proto/host/window"
@@ -18,16 +19,14 @@ type DetectRoots = () => Promise<WorkspaceRoot[]>
export async function setupWorkspaceManager({
stateManager,
detectRoots,
isMultiRootEnabled,
}: {
stateManager: StateManager
historyItem?: HistoryItem
detectRoots: DetectRoots
isMultiRootEnabled: boolean
}): Promise<WorkspaceRootManager> {
const cwd = await getCwd(getDesktopDir())
const startTime = performance.now()
const isMultiRootEnabled = featureFlagsService.getMultiRootEnabled()
try {
let manager: WorkspaceRootManager
// Multi-root mode condition which is always false for now as isMultiRootEnabled is hardcoded to false