move api folder to core (#5539)
* move api folder to core * fix incorrect import path mock in test setup * fix import in zai.ts * fix additional import errors
This commit is contained in:
1 parent
f676f2be78
commit
803574e7f3
86 files changed
+248
-222
No files matched your search
@@ -6,7 +6,7 @@ import { ShowMessageType } from "@/shared/proto/host/window"
|
||||
import { getLatestAnnouncementId } from "@/utils/announcements"
|
||||
import { getCwd, getDesktopDir } from "@/utils/path"
|
||||
import { Anthropic } from "@anthropic-ai/sdk"
|
||||
import { buildApiHandler } from "@api/index"
|
||||
import { buildApiHandler } from "@core/api"
|
||||
import { cleanupLegacyCheckpoints } from "@integrations/checkpoints/CheckpointMigration"
|
||||
import { downloadTask } from "@integrations/misc/export-markdown"
|
||||
import { ClineAccountService } from "@services/account/ClineAccountService"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Controller } from "../index"
|
||||
import { Empty } from "@shared/proto/cline/common"
|
||||
import { UpdateApiConfigurationRequest } from "@shared/proto/cline/models"
|
||||
import { buildApiHandler } from "@api/index"
|
||||
import { buildApiHandler } from "@core/api"
|
||||
import { convertProtoToApiConfiguration } from "@shared/proto-conversions/models/api-configuration-conversion"
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,10 +6,10 @@ import {
|
||||
OpenaiReasoningEffort as ProtoOpenaiReasoningEffort,
|
||||
McpDisplayMode as ProtoMcpDisplayMode,
|
||||
} from "@shared/proto/cline/state"
|
||||
import { buildApiHandler } from "../../../api"
|
||||
import { convertProtoApiConfigurationToApiConfiguration } from "../../../shared/proto-conversions/state/settings-conversion"
|
||||
import { TelemetrySetting } from "@/shared/TelemetrySetting"
|
||||
import { OpenaiReasoningEffort } from "@/shared/storage/types"
|
||||
import { buildApiHandler } from "@core/api"
|
||||
import { convertProtoApiConfigurationToApiConfiguration } from "@shared/proto-conversions/state/settings-conversion"
|
||||
import { TelemetrySetting } from "@shared/TelemetrySetting"
|
||||
import { OpenaiReasoningEffort } from "@shared/storage/types"
|
||||
import { McpDisplayMode } from "@/shared/McpDisplayMode"
|
||||
import { telemetryService } from "../../../services/posthog/PostHogClientProvider"
|
||||
import { FocusChainSettings } from "@shared/FocusChainSettings"
|
||||
|
||||
Reference in new issue
Block a user