refactor: remove redundant re-export proxies

This commit is contained in:
digua committed 2026-07-16 20:09:18 +08:00
1 parent 35c696b1a4
commit 5a5fae880a
19 files changed
+25 -128

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
/**
* Server-side remote LLM API operations.
* Thin wrapper over @openchatlab/node-runtime shared implementation.
*/
export {
fetchRemoteModels,
validateApiKey,
type RemoteModel,
type FetchRemoteModelsResult,
type RemoteApiOptions,
} from '@openchatlab/node-runtime'
+1 -1
View File
@@ -38,11 +38,11 @@ import {
getDefaultNodeUserDataDir,
getPendingNodeDataDirMigration,
AnalyticsService,
MergeSessionCache,
type SemanticIndexRuntime,
} from '@openchatlab/node-runtime'
import { registerSharedRoutes } from '@openchatlab/http-routes'
import type { HttpRouteContext } from '@openchatlab/http-routes'
import { MergeSessionCache } from '../../../merger/merge-cache'
import { registerImportRoutes } from './import'
import { openDirectoryPath, showPathInFolder } from './cache'
import { getVersion } from '../../../version'
-1
View File
@@ -1 +0,0 @@
export { MergeSessionCache } from '@openchatlab/node-runtime'
+2 -2
View File
@@ -10,9 +10,9 @@ import { PreferencesManager, createDatabaseManagerAdapter, ownerProfileService }
import type { PathProvider } from '@openchatlab/core'
import { DataSourceManager, PullEngine, initScheduler, stopAllTimers, reloadTimer, stopTimer } from '@openchatlab/sync'
import type { SyncLogger } from '@openchatlab/sync'
import { NodeFetcher, DirectImporter, NoopNotifier } from './adapters'
import { registerAutomationRoutes } from './routes'
import { registerAutomationRoutes } from '@openchatlab/http-routes'
import type { AutomationRouteContext } from '@openchatlab/http-routes'
import { NodeFetcher, DirectImporter, NoopNotifier } from './adapters'
export interface SyncRouteContext {
automation: AutomationRouteContext
-1
View File
@@ -1 +0,0 @@
export { registerAutomationRoutes } from '@openchatlab/http-routes'