perf(core): trim provider and inbound startup imports (#51927)

* fix(telegram): fail fast on stuck getUpdates

* perf(core): trim provider and inbound startup imports
This commit is contained in:
Vincent Koc
2026-03-21 16:20:42 -07:00
committed by GitHub
parent 9854466a04
commit 80441baa15
10 changed files with 68 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ export type {
export {
describeImageWithModel,
describeImagesWithModel,
} from "../media-understanding/providers/image.js";
} from "../media-understanding/providers/image-runtime.js";
export { transcribeOpenAiCompatibleAudio } from "../media-understanding/providers/openai-compatible-audio.js";
export {
assertOkOrThrowHttpError,

View File

@@ -6,14 +6,10 @@ export type { ProviderAuthResult } from "../plugins/types.js";
export type { ProviderAuthContext } from "../plugins/types.js";
export type { AuthProfileStore, OAuthCredential } from "../agents/auth-profiles/types.js";
export {
CLAUDE_CLI_PROFILE_ID,
CODEX_CLI_PROFILE_ID,
ensureAuthProfileStore,
listProfilesForProvider,
suggestOAuthProfileIdForLegacyDefault,
upsertAuthProfile,
} from "../agents/auth-profiles.js";
export { CLAUDE_CLI_PROFILE_ID, CODEX_CLI_PROFILE_ID } from "../agents/auth-profiles/constants.js";
export { ensureAuthProfileStore } from "../agents/auth-profiles/store.js";
export { listProfilesForProvider, upsertAuthProfile } from "../agents/auth-profiles/profiles.js";
export { suggestOAuthProfileIdForLegacyDefault } from "../agents/auth-profiles/repair.js";
export {
MINIMAX_OAUTH_MARKER,
resolveOAuthApiKeyMarker,