From 110fa35d04601dbf3328c92d137710eec94ba361 Mon Sep 17 00:00:00 2001 From: backryun Date: Mon, 11 May 2026 09:20:39 +0900 Subject: [PATCH] fix: restore cloud agent provider exports and logger import (#2138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Integrated into release/v3.8.0 — cloud agent provider exports and logger import fixes were already present in the release branch. Thank you for the quick response to the crash report! --- open-sse/services/autoCombo/virtualFactory.ts | 2 +- src/shared/constants/providers.ts | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/open-sse/services/autoCombo/virtualFactory.ts b/open-sse/services/autoCombo/virtualFactory.ts index a38c45421a..123af3bda7 100644 --- a/open-sse/services/autoCombo/virtualFactory.ts +++ b/open-sse/services/autoCombo/virtualFactory.ts @@ -5,7 +5,7 @@ import { AutoVariant } from "./autoPrefix"; import { getProviderConnections } from "@/lib/db/providers"; import { getProviderRegistry } from "./providerRegistryAccessor"; import type { ConnectionFields } from "@/lib/db/encryption"; -import { log } from "@omniroute/open-sse/utils/logger"; +import { defaultLogger as log } from "@omniroute/open-sse/utils/logger"; /** Minimal connection shape needed for virtual auto-combo factory */ interface VirtualFactoryConn extends ConnectionFields { diff --git a/src/shared/constants/providers.ts b/src/shared/constants/providers.ts index 3c01070b24..335115835a 100644 --- a/src/shared/constants/providers.ts +++ b/src/shared/constants/providers.ts @@ -1880,6 +1880,37 @@ export function isSelfHostedChatProvider(providerId: unknown): boolean { return typeof providerId === "string" && SELF_HOSTED_CHAT_PROVIDER_IDS.has(providerId); } +// ── Cloud Agent Providers ─────────────────────────────────────────────────── +export const CLOUD_AGENT_PROVIDERS = { + jules: { + id: "jules", + alias: "jules", + name: "Jules", + icon: "engineering", + color: "#EAB308", + textIcon: "JU", + website: "https://jules.google.com", + }, + devin: { + id: "devin", + alias: "devin", + name: "Devin", + icon: "smart_toy", + color: "#2563EB", + textIcon: "DV", + website: "https://devin.ai", + }, + "codex-cloud": { + id: "codex-cloud", + alias: "codex-cloud", + name: "Codex Cloud", + icon: "code", + color: "#10B981", + textIcon: "CX", + website: "https://chatgpt.com/codex", + }, +}; + // ── System Providers (virtual, not user-connectable) ────────────────────────── export const SYSTEM_PROVIDERS = { auto: {