From 8afeb8e629615d7c262a6a82e8c45233d8b159a2 Mon Sep 17 00:00:00 2001 From: Roomote Date: Fri, 20 Nov 2026 19:20:13 +0000 Subject: [PATCH 1/2] [Chore] Archive broken and unmaintained marketplace entries Remove 35 dead or misconfigured MCP entries from mcps.yml and remove the io-intelligence provider, which has no operator entity, privacy policy, or terms. - Archived sources, missing repositories, deprecated upstreams, and entries with no push in over 12 months are removed. - Entries whose configuration does not work (dead endpoints, deprecated packages, wrong flags) are removed. - io-intelligence moves to retiredProviderIdentifiers so existing profiles show the retired-provider message instead of breaking. - tradehand and metoro stay; they need author decisions. Closes #2624 --- .../utils/__tests__/context-window.test.ts | 1 - .../src/__tests__/io-intelligence.test.ts | 26 - .../__tests__/provider-identifiers.test.ts | 3 +- .../src/__tests__/provider-model-id.test.ts | 1 - packages/types/src/global-settings.ts | 1 - packages/types/src/provider-identifiers.ts | 2 +- packages/types/src/provider-settings.ts | 7 - packages/types/src/providers/index.ts | 3 - .../types/src/providers/io-intelligence.ts | 31 - src/api/__tests__/index.spec.ts | 2 - src/api/index.ts | 3 - .../__tests__/io-intelligence.spec.ts | 435 ---- .../__tests__/model-catalog-adapters.spec.ts | 15 - .../__tests__/io-intelligence.spec.ts | 199 -- .../fetchers/__tests__/modelCache.spec.ts | 47 - src/api/providers/fetchers/io-intelligence.ts | 106 - src/api/providers/fetchers/modelCache.ts | 4 - src/api/providers/index.ts | 1 - src/api/providers/io-intelligence.ts | 221 -- src/assets/marketplace/mcps.yml | 1823 +---------------- .../config/__tests__/ContextProxy.spec.ts | 19 - .../webview/__tests__/ClineProvider.spec.ts | 4 - ...webviewMessageHandler.routerModels.spec.ts | 109 - .../__tests__/webviewMessageHandler.spec.ts | 9 - src/core/webview/webviewMessageHandler.ts | 17 - src/shared/__tests__/ProfileValidator.spec.ts | 17 +- src/shared/api.ts | 1 - webview-ui/playwright/gallery/stories.tsx | 33 - .../src/components/settings/ApiOptions.tsx | 12 - .../src/components/settings/ModelPicker.tsx | 1 - .../ApiOptions.interactions.spec.tsx | 2 - .../ApiOptions.provider-filtering.spec.tsx | 1 - .../settings/__tests__/ApiOptions.spec.tsx | 1 - .../settings/__tests__/ModelPicker.spec.tsx | 81 - .../SettingsView.unsaved-changes.spec.tsx | 81 - .../src/components/settings/constants.ts | 1 - .../settings/providers/IOIntelligence.tsx | 102 - .../__tests__/IOIntelligence.spec.tsx | 182 -- .../__tests__/IOIntelligence.visual.tsx | 10 - .../providers/__tests__/NanoGPT.spec.tsx | 1 - .../components/settings/providers/index.ts | 1 - .../__tests__/providerModelConfig.spec.ts | 8 - .../settings/utils/providerModelConfig.ts | 5 - .../hooks/__tests__/useSelectedModel.spec.ts | 98 - .../components/ui/hooks/useSelectedModel.ts | 23 +- webview-ui/src/i18n/locales/ca/settings.json | 6 - webview-ui/src/i18n/locales/de/settings.json | 6 - webview-ui/src/i18n/locales/en/settings.json | 6 - webview-ui/src/i18n/locales/es/settings.json | 6 - webview-ui/src/i18n/locales/fr/settings.json | 6 - webview-ui/src/i18n/locales/hi/settings.json | 6 - webview-ui/src/i18n/locales/id/settings.json | 6 - webview-ui/src/i18n/locales/it/settings.json | 6 - webview-ui/src/i18n/locales/ja/settings.json | 6 - webview-ui/src/i18n/locales/ko/settings.json | 6 - webview-ui/src/i18n/locales/nl/settings.json | 6 - webview-ui/src/i18n/locales/pl/settings.json | 6 - .../src/i18n/locales/pt-BR/settings.json | 6 - webview-ui/src/i18n/locales/ru/settings.json | 6 - webview-ui/src/i18n/locales/tr/settings.json | 6 - webview-ui/src/i18n/locales/vi/settings.json | 6 - .../src/i18n/locales/zh-CN/settings.json | 6 - .../src/i18n/locales/zh-TW/settings.json | 6 - .../src/utils/__tests__/validate.spec.ts | 22 - webview-ui/src/utils/validate.ts | 5 - 65 files changed, 51 insertions(+), 3834 deletions(-) delete mode 100644 packages/types/src/__tests__/io-intelligence.test.ts delete mode 100644 packages/types/src/providers/io-intelligence.ts delete mode 100644 src/api/providers/__tests__/io-intelligence.spec.ts delete mode 100644 src/api/providers/fetchers/__tests__/io-intelligence.spec.ts delete mode 100644 src/api/providers/fetchers/io-intelligence.ts delete mode 100644 src/api/providers/io-intelligence.ts delete mode 100644 webview-ui/src/components/settings/providers/IOIntelligence.tsx delete mode 100644 webview-ui/src/components/settings/providers/__tests__/IOIntelligence.spec.tsx delete mode 100644 webview-ui/src/components/settings/providers/__tests__/IOIntelligence.visual.tsx diff --git a/apps/cli/src/lib/utils/__tests__/context-window.test.ts b/apps/cli/src/lib/utils/__tests__/context-window.test.ts index 0fd5f8c209..83420592ef 100644 --- a/apps/cli/src/lib/utils/__tests__/context-window.test.ts +++ b/apps/cli/src/lib/utils/__tests__/context-window.test.ts @@ -14,7 +14,6 @@ describe("getContextWindow", () => { [providerIdentifiers.vercelAiGateway, "vercelAiGatewayModelId"], [providerIdentifiers.opencodeGo, "opencodeGoModelId"], [providerIdentifiers.kenari, "kenariModelId"], - [providerIdentifiers.ioIntelligence, "ioIntelligenceModelId"], [providerIdentifiers.nanogpt, "nanoGptModelId"], [providerIdentifiers.zooGateway, "zooGatewayModelId"], ] as const)("uses the provider-specific model field for %s", (provider, modelField) => { diff --git a/packages/types/src/__tests__/io-intelligence.test.ts b/packages/types/src/__tests__/io-intelligence.test.ts deleted file mode 100644 index d448ef0ade..0000000000 --- a/packages/types/src/__tests__/io-intelligence.test.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { - dynamicProviders, - getModelId, - getProviderDefaultModelId, - ioIntelligenceDefaultModelId, - isSecretStateKey, - providerIdentifiers, - providerSettingsSchema, -} from "../index.js" - -describe("IO Intelligence shared contract", () => { - it("registers the stable dynamic-provider identity and default model", () => { - expect(providerIdentifiers.ioIntelligence).toBe("io-intelligence") - expect(dynamicProviders).toContain(providerIdentifiers.ioIntelligence) - expect(getProviderDefaultModelId(providerIdentifiers.ioIntelligence, {})).toBe(ioIntelligenceDefaultModelId) - }) - - it("classifies the API key as secret and resolves the configured model", () => { - expect(isSecretStateKey("ioIntelligenceApiKey")).toBe(true) - const settings = providerSettingsSchema.parse({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "model", - }) - expect(getModelId(settings)).toBe("model") - }) -}) diff --git a/packages/types/src/__tests__/provider-identifiers.test.ts b/packages/types/src/__tests__/provider-identifiers.test.ts index 4b1106da5a..5cf41e8268 100644 --- a/packages/types/src/__tests__/provider-identifiers.test.ts +++ b/packages/types/src/__tests__/provider-identifiers.test.ts @@ -35,7 +35,6 @@ const expectedProviderIdentifiers = [ "opencode-go", "kenari", "nanogpt", - "io-intelligence", "ollama", "lmstudio", "vscode-lm", @@ -71,6 +70,7 @@ const expectedRetiredProviderIdentifiers = [ "featherless", "groq", "huggingface", + "io-intelligence", "roo", ] /* eslint-enable zoo/no-raw-provider-identifiers */ @@ -112,7 +112,6 @@ describe("provider identifiers", () => { providerIdentifiers.opencodeGo, providerIdentifiers.kenari, providerIdentifiers.nanogpt, - providerIdentifiers.ioIntelligence, providerIdentifiers.kimiCode, providerIdentifiers.friendli, ]) diff --git a/packages/types/src/__tests__/provider-model-id.test.ts b/packages/types/src/__tests__/provider-model-id.test.ts index 69d77122aa..e25341e4c3 100644 --- a/packages/types/src/__tests__/provider-model-id.test.ts +++ b/packages/types/src/__tests__/provider-model-id.test.ts @@ -21,7 +21,6 @@ const expectedModelIdKeys = [ "opencodeGoModelId", "kenariModelId", "nanoGptModelId", - "ioIntelligenceModelId", "zooGatewayModelId", ] as const diff --git a/packages/types/src/global-settings.ts b/packages/types/src/global-settings.ts index 2bd5573039..ef812b01bb 100644 --- a/packages/types/src/global-settings.ts +++ b/packages/types/src/global-settings.ts @@ -385,7 +385,6 @@ export const SECRET_STATE_KEYS = [ "vercelAiGatewayApiKey", "opencodeGoApiKey", "kenariApiKey", - "ioIntelligenceApiKey", "nanoGptApiKey", "basetenApiKey", ] as const diff --git a/packages/types/src/provider-identifiers.ts b/packages/types/src/provider-identifiers.ts index 605e7d24d2..55bbac0ae2 100644 --- a/packages/types/src/provider-identifiers.ts +++ b/packages/types/src/provider-identifiers.ts @@ -15,7 +15,6 @@ export const providerIdentifiers = { opencodeGo: "opencode-go", kenari: "kenari", nanogpt: "nanogpt", - ioIntelligence: "io-intelligence", ollama: "ollama", lmstudio: "lmstudio", vscodeLm: "vscode-lm", @@ -54,6 +53,7 @@ export const retiredProviderIdentifiers = { featherless: "featherless", groq: "groq", huggingface: "huggingface", + ioIntelligence: "io-intelligence", roo: "roo", } as const diff --git a/packages/types/src/provider-settings.ts b/packages/types/src/provider-settings.ts index a61a0321af..6bb8c07c1c 100644 --- a/packages/types/src/provider-settings.ts +++ b/packages/types/src/provider-settings.ts @@ -100,7 +100,6 @@ export const dynamicProviders = [ providerIdentifiers.opencodeGo, providerIdentifiers.kenari, providerIdentifiers.nanogpt, - providerIdentifiers.ioIntelligence, providerIdentifiers.kimiCode, providerIdentifiers.friendli, ] as const @@ -316,7 +315,6 @@ export const modelIdKeys = [ "opencodeGoModelId", "kenariModelId", "nanoGptModelId", - "ioIntelligenceModelId", "zooGatewayModelId", ] as const satisfies readonly ModelIdKey[] @@ -558,11 +556,6 @@ export const MODELS_BY_PROVIDER: Record< }, [providerIdentifiers.opencodeGo]: { id: providerIdentifiers.opencodeGo, label: "Opencode Go", models: [] }, [providerIdentifiers.kenari]: { id: providerIdentifiers.kenari, label: "Kenari", models: [] }, - [providerIdentifiers.ioIntelligence]: { - id: providerIdentifiers.ioIntelligence, - label: "IO Intelligence", - models: [], - }, [providerIdentifiers.nanogpt]: { id: providerIdentifiers.nanogpt, label: "NanoGPT", models: [] }, [providerIdentifiers.zooGateway]: { id: providerIdentifiers.zooGateway, label: "Zoo Gateway", models: [] }, diff --git a/packages/types/src/providers/index.ts b/packages/types/src/providers/index.ts index 63c1585fdf..b5d42a0edb 100644 --- a/packages/types/src/providers/index.ts +++ b/packages/types/src/providers/index.ts @@ -30,7 +30,6 @@ export * from "./xai.js" export * from "./vercel-ai-gateway.js" export * from "./opencode-go.js" export * from "./kenari.js" -export * from "./io-intelligence.js" export * from "./nanogpt.js" export * from "./kimi-code.js" export * from "./zai.js" @@ -49,7 +48,6 @@ import { fireworksProviderDefinition } from "./fireworks.js" import { friendliProviderDefinition } from "./friendli.js" import { geminiProviderDefinition } from "./gemini.js" import { geminiCliProviderDefinition } from "./gemini-cli.js" -import { ioIntelligenceProviderDefinition } from "./io-intelligence.js" import { kenariProviderDefinition } from "./kenari.js" import { kimiCodeProviderDefinition } from "./kimi-code.js" import { litellmProviderDefinition } from "./litellm.js" @@ -114,7 +112,6 @@ export const providerDefinitionList = [ opencodeGoProviderDefinition, kenariProviderDefinition, nanoGptProviderDefinition, - ioIntelligenceProviderDefinition, zooGatewayProviderDefinition, basetenProviderDefinition, ] as const satisfies readonly ProviderDefinition[] diff --git a/packages/types/src/providers/io-intelligence.ts b/packages/types/src/providers/io-intelligence.ts deleted file mode 100644 index 74fe2e7b46..0000000000 --- a/packages/types/src/providers/io-intelligence.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { z } from "zod" - -import { type ModelInfo } from "../model.js" -import { providerIdentifiers } from "../provider-identifiers.js" -import { baseProviderSettingsShape, createModelIdAccessor, createProviderDefinition } from "./common.js" - -export const IO_INTELLIGENCE_BASE_URL = "https://api.intelligence.io.solutions/api/v1" - -export const ioIntelligenceDefaultModelId = "meta-llama/Llama-3.3-70B-Instruct" - -export const ioIntelligenceDefaultModelInfo: ModelInfo = { - maxTokens: 8192, - contextWindow: 128_000, - supportsImages: false, - supportsPromptCache: false, - description: "IO Intelligence model. The full model catalog is resolved dynamically from the /models endpoint.", -} - -const IO_INTELLIGENCE_MODEL_ID_FIELD = "ioIntelligenceModelId" - -export const ioIntelligenceProviderDefinition = createProviderDefinition({ - apiProvider: providerIdentifiers.ioIntelligence, - modelIdKey: IO_INTELLIGENCE_MODEL_ID_FIELD, - getModelId: createModelIdAccessor(IO_INTELLIGENCE_MODEL_ID_FIELD), - getDefaultModelId: () => ioIntelligenceDefaultModelId, - schema: { - ...baseProviderSettingsShape, - ioIntelligenceApiKey: z.string().optional(), - [IO_INTELLIGENCE_MODEL_ID_FIELD]: z.string().optional(), - }, -}) diff --git a/src/api/__tests__/index.spec.ts b/src/api/__tests__/index.spec.ts index 7601641511..525e46a096 100644 --- a/src/api/__tests__/index.spec.ts +++ b/src/api/__tests__/index.spec.ts @@ -56,7 +56,6 @@ import { FireworksHandler, FriendliHandler, GeminiHandler, - IOIntelligenceHandler, KenariHandler, KimiCodeHandler, LiteLLMHandler, @@ -120,7 +119,6 @@ const expectedHandlers = { [providerIdentifiers.vercelAiGateway]: VercelAiGatewayHandler, [providerIdentifiers.opencodeGo]: OpencodeGoHandler, [providerIdentifiers.kenari]: KenariHandler, - [providerIdentifiers.ioIntelligence]: IOIntelligenceHandler, [providerIdentifiers.nanogpt]: NanoGptHandler, [providerIdentifiers.zooGateway]: ZooGatewayHandler, [providerIdentifiers.minimax]: MiniMaxHandler, diff --git a/src/api/index.ts b/src/api/index.ts index e737ebd4bd..3d4138cbce 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -45,7 +45,6 @@ import { VercelAiGatewayHandler, OpencodeGoHandler, KenariHandler, - IOIntelligenceHandler, NanoGptHandler, ZooGatewayHandler, MiniMaxHandler, @@ -272,8 +271,6 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler { return new OpencodeGoHandler(options) case providerIdentifiers.kenari: return new KenariHandler(options) - case providerIdentifiers.ioIntelligence: - return new IOIntelligenceHandler(options) case providerIdentifiers.nanogpt: return new NanoGptHandler(options) case providerIdentifiers.zooGateway: diff --git a/src/api/providers/__tests__/io-intelligence.spec.ts b/src/api/providers/__tests__/io-intelligence.spec.ts deleted file mode 100644 index 084dbc64b3..0000000000 --- a/src/api/providers/__tests__/io-intelligence.spec.ts +++ /dev/null @@ -1,435 +0,0 @@ -vi.mock("vscode", () => ({ - workspace: { getConfiguration: () => ({ get: (_key: string, defaultValue?: unknown) => defaultValue }) }, -})) - -import { Anthropic } from "@anthropic-ai/sdk" -import OpenAI from "openai" - -import { ioIntelligenceDefaultModelId, providerIdentifiers } from "@roo-code/types" - -import { buildApiHandler } from "../../index" -import { asyncStreamFrom, collectStream } from "../../../test-utils/stream" -import { clearAllMocks } from "../../../test-utils/reset" -import { IOIntelligenceHandler } from "../io-intelligence" -import { getModels } from "../fetchers/modelCache" - -vi.mock("openai") -vi.mock("../fetchers/modelCache", () => ({ - getModels: vi.fn().mockResolvedValue({ - "meta-llama/Llama-3.3-70B-Instruct": { - maxTokens: 8192, - contextWindow: 128000, - supportsImages: false, - supportsPromptCache: false, - }, - }), - getModelsFromCache: vi.fn(), - refreshModels: vi.fn().mockResolvedValue({}), -})) - -const mockCreate = vi.fn() -vi.mocked(OpenAI).mockImplementation(function () { - return { chat: { completions: { create: mockCreate } } } as unknown as OpenAI -}) - -const messages: Anthropic.Messages.MessageParam[] = [{ role: "user", content: "Hello" }] - -/** Flattens every argument of every console.error call into one searchable string. */ -const loggedText = (spy: { mock: { calls: unknown[][] } }) => - spy.mock.calls - .flat() - .map((arg) => (typeof arg === "string" ? arg : JSON.stringify(arg))) - .join("\n") - -describe("IOIntelligenceHandler", () => { - beforeEach(() => { - clearAllMocks() - vi.mocked(getModels).mockResolvedValue({ - "meta-llama/Llama-3.3-70B-Instruct": { - maxTokens: 8192, - contextWindow: 128000, - supportsImages: false, - supportsPromptCache: false, - }, - }) - mockCreate.mockResolvedValue(asyncStreamFrom([])) - }) - - it("is constructed by the backend provider registry", () => { - expect(buildApiHandler({ apiProvider: providerIdentifiers.ioIntelligence })).toBeInstanceOf( - IOIntelligenceHandler, - ) - }) - - it("resolves the default model when none is configured", async () => { - const handler = new IOIntelligenceHandler({}) - await collectStream(handler.createMessage("system", messages)) - expect(mockCreate).toHaveBeenCalledWith( - expect.objectContaining({ model: ioIntelligenceDefaultModelId }), - expect.objectContaining({ signal: undefined }), - ) - }) - - it("uses the configured model id and streams text, reasoning, and tool calls", async () => { - mockCreate.mockResolvedValue( - asyncStreamFrom([ - { choices: [{ delta: { content: "answer" } }] }, - { choices: [{ delta: { reasoning_content: "thinking" } }] }, - { - choices: [ - { - delta: { - tool_calls: [ - { index: 0, id: "call-1", function: { name: "read_file", arguments: '{"path":' } }, - ], - }, - }, - ], - }, - ]), - ) - const chunks = await collectStream( - new IOIntelligenceHandler({ - ioIntelligenceModelId: "deepseek-ai/DeepSeek-V3.2", - }).createMessage("sys", messages), - ) - expect(mockCreate).toHaveBeenCalledWith( - expect.objectContaining({ model: "deepseek-ai/DeepSeek-V3.2" }), - expect.objectContaining({ signal: undefined }), - ) - expect(chunks).toEqual([ - { type: "text", text: "answer" }, - { type: "reasoning", text: "thinking" }, - { type: "tool_call_partial", index: 0, id: "call-1", name: "read_file", arguments: '{"path":' }, - ]) - }) - - it("forwards native tools, usage streaming, max_tokens, and cancellation", async () => { - const signal = new AbortController().signal - const tools: OpenAI.Chat.ChatCompletionTool[] = [ - { type: "function", function: { name: "read_file", description: "Read", parameters: { type: "object" } } }, - ] - const handler = new IOIntelligenceHandler({ - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - modelTemperature: 0.7, - }) - await collectStream( - handler.createMessage("sys", messages, { - taskId: "task", - tools, - tool_choice: "required", - parallelToolCalls: false, - abortSignal: signal, - }), - ) - expect(mockCreate).toHaveBeenCalledWith( - expect.objectContaining({ - model: "meta-llama/Llama-3.3-70B-Instruct", - messages: [ - { role: "system", content: "sys" }, - { role: "user", content: "Hello" }, - ], - stream: true, - stream_options: { include_usage: true }, - max_tokens: 8192, - temperature: 0.7, - tools: [ - expect.objectContaining({ - type: "function", - function: expect.objectContaining({ name: "read_file", description: "Read" }), - }), - ], - tool_choice: "required", - parallel_tool_calls: false, - }), - { signal }, - ) - expect(mockCreate.mock.calls[0][0]).not.toHaveProperty("max_completion_tokens") - }) - - it("maps usage from the final chunk", async () => { - mockCreate.mockResolvedValue( - asyncStreamFrom([ - { - choices: [], - usage: { - prompt_tokens: 20, - completion_tokens: 10, - prompt_tokens_details: { cached_tokens: 5 }, - }, - }, - ]), - ) - expect( - await collectStream( - new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }).createMessage( - "sys", - messages, - ), - ), - ).toEqual([ - { - type: "usage", - inputTokens: 20, - outputTokens: 10, - cacheReadTokens: 5, - }, - ]) - }) - - it("preserves a zero cache-read count instead of coercing it away", async () => { - mockCreate.mockResolvedValue( - asyncStreamFrom([ - { - choices: [], - usage: { - prompt_tokens: 20, - completion_tokens: 10, - prompt_tokens_details: { cached_tokens: 0 }, - }, - }, - ]), - ) - expect( - await collectStream( - new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }).createMessage( - "sys", - messages, - ), - ), - ).toEqual([ - { - type: "usage", - inputTokens: 20, - outputTokens: 10, - cacheReadTokens: 0, - }, - ]) - }) - - it("redacts the API key from streaming errors and from the logged error", async () => { - const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {}) - try { - mockCreate.mockRejectedValue(new Error("upstream rejected secret-key")) - const handler = new IOIntelligenceHandler({ - ioIntelligenceApiKey: "secret-key", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - await expect(collectStream(handler.createMessage("sys", messages))).rejects.toMatchObject({ - message: "IO Intelligence streaming error: upstream rejected [REDACTED]", - }) - // The error handler logs message + stack before the transformer runs, - // so the key must already be gone from both. - expect(consoleErrorSpy).toHaveBeenCalledWith( - "[IO Intelligence] API error:", - expect.objectContaining({ - message: "upstream rejected [REDACTED]", - stack: expect.stringContaining("[REDACTED]"), - }), - ) - expect(loggedText(consoleErrorSpy)).not.toContain("secret-key") - } finally { - consoleErrorSpy.mockRestore() - } - }) - - it("redacts the API key from the SDK's raw error metadata before it is logged", async () => { - const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {}) - try { - // The OpenAI SDK attaches the upstream body as `error.metadata.raw`, - // which the error handler prefers over `message` when logging. - mockCreate.mockRejectedValue( - Object.assign(new Error("Request failed"), { - error: { metadata: { raw: '{"detail":"invalid key secret-key"}' } }, - }), - ) - const handler = new IOIntelligenceHandler({ - ioIntelligenceApiKey: "secret-key", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - await expect(collectStream(handler.createMessage("sys", messages))).rejects.toMatchObject({ - message: 'IO Intelligence streaming error: {"detail":"invalid key [REDACTED]"}', - }) - expect(consoleErrorSpy).toHaveBeenCalledWith( - "[IO Intelligence] API error:", - expect.objectContaining({ message: '{"detail":"invalid key [REDACTED]"}' }), - ) - expect(loggedText(consoleErrorSpy)).not.toContain("secret-key") - } finally { - consoleErrorSpy.mockRestore() - } - }) - - it("serializes and redacts an object-valued raw error body and keeps the status", async () => { - const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {}) - try { - mockCreate.mockRejectedValue( - Object.assign(new Error("Request failed"), { - status: 401, - error: { metadata: { raw: { detail: "invalid key secret-key" } } }, - }), - ) - const handler = new IOIntelligenceHandler({ - ioIntelligenceApiKey: "secret-key", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - await expect(collectStream(handler.createMessage("sys", messages))).rejects.toMatchObject({ - message: 'IO Intelligence streaming error: {"detail":"invalid key [REDACTED]"}', - status: 401, - }) - expect(consoleErrorSpy).toHaveBeenCalledWith( - "[IO Intelligence] API error:", - expect.objectContaining({ message: '{"detail":"invalid key [REDACTED]"}', status: 401 }), - ) - expect(loggedText(consoleErrorSpy)).not.toContain("secret-key") - } finally { - consoleErrorSpy.mockRestore() - } - }) - - it("redacts the API key from non-Error rejections and their log line", async () => { - const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {}) - try { - mockCreate.mockRejectedValue("upstream rejected secret-key") - const handler = new IOIntelligenceHandler({ - ioIntelligenceApiKey: "secret-key", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - await expect(collectStream(handler.createMessage("sys", messages))).rejects.toMatchObject({ - message: "IO Intelligence streaming error: upstream rejected [REDACTED]", - }) - expect(consoleErrorSpy).toHaveBeenCalledWith( - "[IO Intelligence] Non-Error exception:", - "upstream rejected [REDACTED]", - ) - expect(loggedText(consoleErrorSpy)).not.toContain("secret-key") - } finally { - consoleErrorSpy.mockRestore() - } - }) - - it("completePrompt wraps upstream errors without a configured key", async () => { - const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {}) - try { - mockCreate.mockRejectedValue(new Error("boom")) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - await expect(handler.completePrompt("ping")).rejects.toMatchObject({ - message: "IO Intelligence completion error: boom", - }) - } finally { - consoleErrorSpy.mockRestore() - } - }) - - it("completePrompt sends the prompt as a single user message with the model's max_tokens", async () => { - mockCreate.mockResolvedValue({ - choices: [{ message: { role: "assistant", content: "ok" } }], - }) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - expect(await handler.completePrompt("ping")).toBe("ok") - expect(mockCreate).toHaveBeenCalledWith( - { - model: "meta-llama/Llama-3.3-70B-Instruct", - messages: [{ role: "user", content: "ping" }], - max_tokens: 8192, - stream: false, - }, - undefined, - ) - }) - - it("completePrompt returns an empty string when the response has no choices", async () => { - mockCreate.mockResolvedValue({ choices: [] }) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - expect(await handler.completePrompt("ping")).toBe("") - }) - - it("completePrompt without options forwards no request options", async () => { - mockCreate.mockResolvedValue({ - choices: [{ message: { role: "assistant", content: "ok" } }], - }) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - expect(await handler.completePrompt("ping")).toBe("ok") - // The OpenAI SDK rejects a present-but-undefined `timeout` key, so a bare - // call must not pass request options at all. - expect(mockCreate.mock.calls[0][1]).toBeUndefined() - }) - - it("completePrompt forwards abort and timeout options when provided", async () => { - mockCreate.mockResolvedValue({ - choices: [{ message: { role: "assistant", content: "ok" } }], - }) - const signal = new AbortController().signal - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - await handler.completePrompt("ping", { abortSignal: signal, timeoutMs: 5_000 }) - expect(mockCreate).toHaveBeenCalledWith(expect.objectContaining({ stream: false }), { signal, timeout: 5_000 }) - }) - - it.each([ - { label: "a whole-number", input: 3000, forwarded: 3000 }, - { label: "a fractional", input: 12.5, forwarded: 13 }, - { label: "an over-cap", input: 2_147_483_648, forwarded: 2_147_483_647 }, - ])("completePrompt forwards $label timeoutMs as $forwarded", async ({ input, forwarded }) => { - mockCreate.mockResolvedValue({ choices: [{ message: { role: "assistant", content: "ok" } }] }) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - await handler.completePrompt("ping", { timeoutMs: input }) - expect(mockCreate.mock.calls[0][1]).toEqual({ timeout: forwarded }) - }) - - it.each([0, -5, Number.NaN, Number.POSITIVE_INFINITY])( - "completePrompt does not forward an unusable timeoutMs (%s)", - async (timeoutMs) => { - mockCreate.mockResolvedValue({ choices: [{ message: { role: "assistant", content: "ok" } }] }) - const handler = new IOIntelligenceHandler({ ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct" }) - await handler.completePrompt("ping", { timeoutMs }) - expect(mockCreate.mock.calls[0][1]).toBeUndefined() - }, - ) - - it("does not send the OpenAI Compatible custom headers to the fixed endpoint", () => { - new IOIntelligenceHandler({ - ioIntelligenceApiKey: "test-key", - openAiHeaders: { "X-Custom-Header": "leaked" }, - }) - expect(vi.mocked(OpenAI)).toHaveBeenCalledTimes(1) - const clientOptions = vi.mocked(OpenAI).mock.calls[0][0] - expect(clientOptions?.defaultHeaders).not.toHaveProperty("X-Custom-Header") - }) - - it("omits temperature for a model that does not support it", async () => { - vi.mocked(getModels).mockResolvedValue({ - "openai/o3-mini": { - maxTokens: 8192, - contextWindow: 128000, - supportsImages: false, - supportsPromptCache: false, - }, - }) - const handler = new IOIntelligenceHandler({ - ioIntelligenceModelId: "openai/o3-mini", - modelTemperature: 0.7, - }) - - await collectStream(handler.createMessage("system", messages)) - expect(mockCreate).toHaveBeenCalledTimes(1) - expect(mockCreate.mock.calls[0][0]).not.toHaveProperty("temperature") - - mockCreate.mockClear() - mockCreate.mockResolvedValue({ choices: [{ message: { role: "assistant", content: "ok" } }] }) - expect(await handler.completePrompt("ping")).toBe("ok") - expect(mockCreate).toHaveBeenCalledTimes(1) - expect(mockCreate.mock.calls[0][0]).not.toHaveProperty("temperature") - }) - - it("completePrompt forwards the configured temperature", async () => { - mockCreate.mockResolvedValue({ - choices: [{ message: { role: "assistant", content: "ok" } }], - }) - const handler = new IOIntelligenceHandler({ - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - modelTemperature: 0.7, - }) - expect(await handler.completePrompt("ping")).toBe("ok") - expect(mockCreate).toHaveBeenCalledWith(expect.objectContaining({ stream: false, temperature: 0.7 }), undefined) - }) -}) diff --git a/src/api/providers/__tests__/model-catalog-adapters.spec.ts b/src/api/providers/__tests__/model-catalog-adapters.spec.ts index 58c4c2dcbf..6122479114 100644 --- a/src/api/providers/__tests__/model-catalog-adapters.spec.ts +++ b/src/api/providers/__tests__/model-catalog-adapters.spec.ts @@ -11,7 +11,6 @@ import type { ApiHandler, ModelCacheScope } from "../../index" const fetchers = vi.hoisted(() => ({ getDeepSeekModels: vi.fn(), - getIOIntelligenceModels: vi.fn(), getKenariModels: vi.fn(), getKimiCodeModels: vi.fn(), getLiteLLMModels: vi.fn(), @@ -46,10 +45,6 @@ vi.mock("../fetchers/deepseek", async (importOriginal) => ({ ...(await importOriginal()), getDeepSeekModels: fetchers.getDeepSeekModels, })) -vi.mock("../fetchers/io-intelligence", async (importOriginal) => ({ - ...(await importOriginal()), - getIOIntelligenceModels: fetchers.getIOIntelligenceModels, -})) vi.mock("../fetchers/kenari", async (importOriginal) => ({ ...(await importOriginal()), getKenariModels: fetchers.getKenariModels, @@ -109,7 +104,6 @@ vi.mock("../fetchers/zoo-gateway", async (importOriginal) => ({ import { AnthropicHandler } from "../anthropic" import { DeepSeekHandler } from "../deepseek" -import { IOIntelligenceHandler } from "../io-intelligence" import { KenariHandler } from "../kenari" import { KimiCodeHandler } from "../kimi-code" import { LiteLLMHandler } from "../lite-llm" @@ -155,15 +149,6 @@ const cases: AdapterCase[] = [ forwardsSignal: true, prewarms: false, }, - { - name: "IO Intelligence", - create: () => new IOIntelligenceHandler({ ioIntelligenceApiKey: API_KEY }), - fetcher: "getIOIntelligenceModels", - scope: { urlScoped: false, keyScoped: true, authScoped: false }, - expectedArgs: [API_KEY], - forwardsSignal: true, - prewarms: false, - }, { name: "Kenari", create: () => new KenariHandler({ kenariApiKey: API_KEY }), diff --git a/src/api/providers/fetchers/__tests__/io-intelligence.spec.ts b/src/api/providers/fetchers/__tests__/io-intelligence.spec.ts deleted file mode 100644 index 6069cde779..0000000000 --- a/src/api/providers/fetchers/__tests__/io-intelligence.spec.ts +++ /dev/null @@ -1,199 +0,0 @@ -import axios from "axios" - -import { IO_INTELLIGENCE_BASE_URL, ioIntelligenceDefaultModelInfo } from "@roo-code/types" - -import { getIOIntelligenceModels, parseIoIntelligenceModel } from "../io-intelligence" - -vi.mock("axios") - -describe("IO Intelligence model fetcher", () => { - beforeEach(() => vi.clearAllMocks()) - - it("requests the catalog with optional Bearer authorization", async () => { - vi.mocked(axios.get).mockResolvedValue({ data: { data: [] } }) - await getIOIntelligenceModels("key-a") - expect(axios.get).toHaveBeenCalledWith(`${IO_INTELLIGENCE_BASE_URL}/models`, { - headers: { Authorization: "Bearer key-a" }, - timeout: 10_000, - signal: undefined, - }) - }) - - it("supports unauthenticated catalog requests", async () => { - vi.mocked(axios.get).mockResolvedValue({ data: { data: [] } }) - await getIOIntelligenceModels() - expect(axios.get).toHaveBeenCalledWith(`${IO_INTELLIGENCE_BASE_URL}/models`, { - headers: undefined, - timeout: 10_000, - signal: undefined, - }) - }) - - it("forwards the caller's abort signal to the request", async () => { - vi.mocked(axios.get).mockResolvedValue({ data: { data: [] } }) - const controller = new AbortController() - - await getIOIntelligenceModels("test-key", { signal: controller.signal }) - - expect(axios.get).toHaveBeenCalledWith(`${IO_INTELLIGENCE_BASE_URL}/models`, { - headers: { Authorization: "Bearer test-key" }, - timeout: 10_000, - signal: controller.signal, - }) - }) - - it("rejects with an AbortError when the signal aborts the pending request", async () => { - const controller = new AbortController() - vi.mocked(axios.get).mockImplementation((_url, config) => { - // Mirror the HTTP client: a pending request rejects when its signal fires. - return new Promise((_resolve, reject) => { - config?.signal?.addEventListener?.("abort", () => reject(new Error("canceled")), { once: true }) - }) - }) - - const fetchPromise = getIOIntelligenceModels("k", { signal: controller.signal }) - controller.abort() - - await expect(fetchPromise).rejects.toMatchObject({ name: "AbortError" }) - }) - - it("maps detailed metadata and exact per-million pricing for multiple models", async () => { - vi.mocked(axios.get).mockResolvedValue({ - data: { - unknown_top_level: true, - data: [ - { - id: "vision-model", - name: "Vision Model", - created: 1_789_049_414, - owned_by: "io-intelligence", - max_model_len: null, - context_window: 262_144, - max_tokens: 131_072, - supports_tools: true, - supports_reasoning: true, - supports_prompt_cache: true, - input_modalities: ["text", "image"], - input_token_price: 0.000000306, - output_token_price: 0.000001224, - cache_read_token_price: 0.000000153, - unknown: "allowed", - }, - { id: "text-model", input_modalities: ["text"] }, - ], - }, - }) - - const models = await getIOIntelligenceModels() - expect(Object.keys(models)).toEqual(["vision-model", "text-model"]) - expect(models["vision-model"]).toEqual({ - contextWindow: 262_144, - maxTokens: 131_072, - supportsImages: true, - supportsPromptCache: true, - displayName: "Vision Model", - inputPrice: 0.306, - outputPrice: 1.224, - cacheReadsPrice: 0.153, - }) - expect(models["text-model"].supportsImages).toBe(false) - }) - - it("skips malformed records and models explicitly lacking tool support", async () => { - vi.mocked(axios.get).mockResolvedValue({ - data: { - data: [{ id: "eligible" }, { missing: "id" }, { id: "chat-only", supports_tools: false }], - }, - }) - const warning = vi.spyOn(console, "warn").mockImplementation(() => undefined) - expect(await getIOIntelligenceModels()).toEqual({ - eligible: { - contextWindow: ioIntelligenceDefaultModelInfo.contextWindow, - maxTokens: ioIntelligenceDefaultModelInfo.maxTokens, - supportsImages: false, - supportsPromptCache: false, - }, - }) - expect(warning).toHaveBeenCalledOnce() - warning.mockRestore() - }) - - it("keeps a hostile catalog id as an own entry instead of polluting the prototype chain", async () => { - vi.mocked(axios.get).mockResolvedValue({ - data: { data: [{ id: "__proto__", max_tokens: 1 }, { id: "constructor" }] }, - }) - const models = await getIOIntelligenceModels() - expect(Object.getPrototypeOf(models)).toBeNull() - expect(Object.keys(models)).toEqual(["__proto__", "constructor"]) - expect(models["__proto__"]).toMatchObject({ maxTokens: 1 }) - expect(({} as Record).maxTokens).toBeUndefined() - }) - - it("keeps models with null token metadata and prefers context_window over max_model_len", () => { - expect( - parseIoIntelligenceModel({ id: "both", max_model_len: 65_536, context_window: 262_144 }).contextWindow, - ).toBe(262_144) - - const info = parseIoIntelligenceModel({ - id: "legacy-entry", - max_model_len: 65_536, - context_window: null, - max_tokens: null, - }) - expect(info.contextWindow).toBe(65_536) - expect(info.maxTokens).toBe(ioIntelligenceDefaultModelInfo.maxTokens) - }) - - it.each([{ data: null }, [], null])("returns no models for invalid top-level data %#", async (data) => { - vi.mocked(axios.get).mockResolvedValue({ data }) - const warning = vi.spyOn(console, "warn").mockImplementation(() => undefined) - expect(await getIOIntelligenceModels()).toEqual({}) - warning.mockRestore() - }) - - it.each([new Error("network unavailable"), "network unavailable"])( - "returns no models on network failure", - async (error) => { - vi.mocked(axios.get).mockRejectedValue(error) - const consoleError = vi.spyOn(console, "error").mockImplementation(() => undefined) - expect(await getIOIntelligenceModels()).toEqual({}) - consoleError.mockRestore() - }, - ) - - it("rejects negative numeric metadata without leaking the API key in errors", async () => { - vi.mocked(axios.get) - .mockResolvedValueOnce({ - data: { - data: [ - { id: "valid-free", input_token_price: 0, output_token_price: 0 }, - { id: "invalid-price", input_token_price: -1 }, - ], - }, - }) - .mockRejectedValueOnce(new Error("upstream rejected secret-key")) - const warning = vi.spyOn(console, "warn").mockImplementation(() => undefined) - const consoleError = vi.spyOn(console, "error").mockImplementation(() => undefined) - - expect(await getIOIntelligenceModels("secret-key")).toEqual({ - "valid-free": expect.objectContaining({ inputPrice: 0, outputPrice: 0 }), - }) - expect(await getIOIntelligenceModels("secret-key")).toEqual({}) - expect(consoleError).toHaveBeenLastCalledWith( - "Error fetching IO Intelligence models: upstream rejected [REDACTED]", - ) - - warning.mockRestore() - consoleError.mockRestore() - }) - - it("does not invent absent optional metadata", () => { - const info = parseIoIntelligenceModel({ id: "minimal" }) - expect(info).toEqual({ - contextWindow: ioIntelligenceDefaultModelInfo.contextWindow, - maxTokens: ioIntelligenceDefaultModelInfo.maxTokens, - supportsImages: false, - supportsPromptCache: false, - }) - }) -}) diff --git a/src/api/providers/fetchers/__tests__/modelCache.spec.ts b/src/api/providers/fetchers/__tests__/modelCache.spec.ts index 3081b5f3eb..e9818cb709 100644 --- a/src/api/providers/fetchers/__tests__/modelCache.spec.ts +++ b/src/api/providers/fetchers/__tests__/modelCache.spec.ts @@ -77,7 +77,6 @@ const OPENROUTER_SCOPE: ModelCacheScope = { urlScoped: false, keyScoped: false, const LITELLM_SCOPE: ModelCacheScope = { urlScoped: true, keyScoped: true, authScoped: false } const REQUESTY_SCOPE: ModelCacheScope = { urlScoped: true, keyScoped: true, authScoped: false } const NANOGPT_SCOPE: ModelCacheScope = { urlScoped: false, keyScoped: true, authScoped: false } -const IOINTELLIGENCE_SCOPE: ModelCacheScope = { urlScoped: false, keyScoped: true, authScoped: false } const ZOO_SCOPE: ModelCacheScope = { urlScoped: true, keyScoped: true, authScoped: true } const MOONSHOT_SCOPE: ModelCacheScope = { urlScoped: true, keyScoped: true, authScoped: false } @@ -85,7 +84,6 @@ const openRouterHandler = makeHandler(OPENROUTER_SCOPE, vi.fn()) const zooGatewayHandler = makeHandler(ZOO_SCOPE, vi.fn()) const DUMMY_REQUESTY_KEY = "requesty-key-for-testing" -const DUMMY_IOINTELLIGENCE_KEY = "io-intelligence-key-for-testing" describe("getModels with new GetModelsOptions", () => { beforeEach(() => { @@ -231,24 +229,6 @@ describe("getModels with new GetModelsOptions", () => { expect(result).toEqual(mockModels) }) - it("dispatches IO Intelligence with an optional API key", async () => { - const mockModels = { - "meta-llama/Llama-3.3-70B-Instruct": { - maxTokens: 8192, - contextWindow: 128000, - supportsPromptCache: false, - }, - } - const fetchModels = vi.fn().mockResolvedValue(mockModels) - const handler = makeHandler(IOINTELLIGENCE_SCOPE, fetchModels) - - const options = { provider: providerIdentifiers.ioIntelligence, apiKey: DUMMY_IOINTELLIGENCE_KEY } as const - const result = await getModels(options, handler) - - expect(fetchModels).toHaveBeenCalledWith(options, expect.any(AbortSignal)) - expect(result).toEqual(mockModels) - }) - it("handles errors and re-throws them", async () => { const expectedError = new Error("LiteLLM connection failed") const fetchModels = vi.fn().mockRejectedValue(expectedError) @@ -1258,33 +1238,6 @@ describe("NanoGPT key-scoped cache isolation", () => { }) }) -describe("IO Intelligence key-scoped cache isolation", () => { - const ioIntelligenceModels = { - "meta-llama/Llama-3.3-70B-Instruct": { maxTokens: 8_192, contextWindow: 128_000, supportsPromptCache: false }, - } - - let handler: ApiHandler - - beforeEach(() => { - vi.clearAllMocks() - handler = makeHandler(IOINTELLIGENCE_SCOPE, vi.fn().mockResolvedValue(ioIntelligenceModels)) - }) - - it("separates public, key A, and key B cache identities without exposing raw keys", async () => { - const mockCache = vi.mocked(new (vi.mocked(NodeCache))()) - mockCache.get.mockReturnValue(undefined) - - await getModels({ provider: providerIdentifiers.ioIntelligence }, handler) - await getModels({ provider: providerIdentifiers.ioIntelligence, apiKey: "ionet-key-a" }, handler) - await getModels({ provider: providerIdentifiers.ioIntelligence, apiKey: "ionet-key-b" }, handler) - - const cacheKeys = mockCache.set.mock.calls.map(([key]) => key as string) - expect(new Set(cacheKeys).size).toBe(3) - expect(cacheKeys).toContain("io-intelligence") - expect(cacheKeys.every((key) => !key.includes("ionet-key-a") && !key.includes("ionet-key-b"))).toBe(true) - }) -}) - describe("compound cache key derivation across scoping dimensions", () => { // Exercises every branch of getCacheKey via the public getModels() entry point. // litellm is url-scoped AND key-scoped; openrouter is neither, so it hits the bare diff --git a/src/api/providers/fetchers/io-intelligence.ts b/src/api/providers/fetchers/io-intelligence.ts deleted file mode 100644 index 2be495818b..0000000000 --- a/src/api/providers/fetchers/io-intelligence.ts +++ /dev/null @@ -1,106 +0,0 @@ -import axios from "axios" -import { z } from "zod" - -import { - IO_INTELLIGENCE_BASE_URL, - ioIntelligenceDefaultModelInfo, - type ModelInfo, - type ModelRecord, -} from "@roo-code/types" - -import { throwIfAborted } from "../utils/abort-signal" - -const ioIntelligenceModelSchema = z.object({ - id: z.string().min(1), - name: z.string().optional(), - max_model_len: z.number().int().positive().nullish(), - context_window: z.number().int().positive().nullish(), - max_tokens: z.number().int().positive().nullish(), - supports_tools: z.boolean().optional(), - supports_prompt_cache: z.boolean().optional(), - input_modalities: z.array(z.string()).optional(), - input_token_price: z.number().nonnegative().optional(), - output_token_price: z.number().nonnegative().optional(), - cache_read_token_price: z.number().nonnegative().optional(), -}) - -export type IOIntelligenceModel = z.infer - -function getSafeErrorMessage(error: unknown, apiKey?: string): string { - const message = error instanceof Error ? error.message : String(error) - return apiKey ? message.replaceAll(apiKey, "[REDACTED]") : message -} - -const ioIntelligenceModelsResponseSchema = z.object({ - object: z.string().optional(), - data: z.array(z.unknown()), -}) - -export const parseIoIntelligenceModel = (model: IOIntelligenceModel): ModelInfo => ({ - maxTokens: model.max_tokens ?? ioIntelligenceDefaultModelInfo.maxTokens, - contextWindow: model.context_window ?? model.max_model_len ?? ioIntelligenceDefaultModelInfo.contextWindow, - supportsImages: model.input_modalities?.includes("image") ?? false, - supportsPromptCache: model.supports_prompt_cache ?? false, - ...(model.input_token_price !== undefined ? { inputPrice: model.input_token_price * 1_000_000 } : {}), - ...(model.output_token_price !== undefined ? { outputPrice: model.output_token_price * 1_000_000 } : {}), - ...(model.cache_read_token_price !== undefined - ? { cacheReadsPrice: model.cache_read_token_price * 1_000_000 } - : {}), - // The catalog has no free-text description. Its name and id are remote - // strings and ModelInfo.description is rendered as Markdown, so neither is - // copied there; the name is only surfaced as the plain-text displayName. - ...(model.name !== undefined ? { displayName: model.name } : {}), -}) - -/** - * Fetches the public IO Intelligence (io.net) model catalog. - * - * The catalog can be listed without an API key, while a Bearer key scopes the - * visible models for the account (io.net exposes per-tier access). Prices are - * published per token and normalized to per-million-token units. - * - * @param apiKey - Optional Bearer token that scopes the visible catalog. - * @param opts - Optional per-request controls; `signal` cancels the in-flight request. - */ -export async function getIOIntelligenceModels(apiKey?: string, opts?: { signal?: AbortSignal }): Promise { - try { - const response = await axios.get(`${IO_INTELLIGENCE_BASE_URL}/models`, { - headers: apiKey ? { Authorization: `Bearer ${apiKey}` } : undefined, - timeout: 10_000, - signal: opts?.signal, - }) - const responseResult = ioIntelligenceModelsResponseSchema.safeParse(response.data) - if (!responseResult.success) { - console.warn("IO Intelligence models response did not match the expected top-level schema") - return {} - } - - // Use null-prototype object to prevent prototype pollution - const models: ModelRecord = Object.create(null) - for (const rawModel of responseResult.data.data) { - const modelResult = ioIntelligenceModelSchema.safeParse(rawModel) - if (!modelResult.success) { - console.warn("Skipping invalid IO Intelligence model entry") - continue - } - - // Zoo Code is agentic-first: io.net marks a few catalog models as not - // supporting tools. An explicit false is authoritative; an omitted flag - // remains unknown and therefore eligible (mirrors the NanoGPT fetcher). - if (modelResult.data.supports_tools === false) { - continue - } - - models[modelResult.data.id] = parseIoIntelligenceModel(modelResult.data) - } - - return models - } catch (error) { - // Surface cancellation as a rejection: logging and returning here would - // present an aborted fetch to callers as a successful (empty) catalog. - throwIfAborted(opts?.signal) - - console.error(`Error fetching IO Intelligence models: ${getSafeErrorMessage(error, apiKey)}`) - return {} - } -} diff --git a/src/api/providers/fetchers/modelCache.ts b/src/api/providers/fetchers/modelCache.ts index 19ba059da5..a6bd60ec4c 100644 --- a/src/api/providers/fetchers/modelCache.ts +++ b/src/api/providers/fetchers/modelCache.ts @@ -501,10 +501,6 @@ export async function initializeModelCacheRefresh(buildHandler: (provider: Route provider: providerIdentifiers.nanogpt, options: { provider: providerIdentifiers.nanogpt }, }, - { - provider: providerIdentifiers.ioIntelligence, - options: { provider: providerIdentifiers.ioIntelligence }, - }, ] // Refresh each provider in background (fire and forget) diff --git a/src/api/providers/index.ts b/src/api/providers/index.ts index e9beb183e2..33d90b1c16 100644 --- a/src/api/providers/index.ts +++ b/src/api/providers/index.ts @@ -30,7 +30,6 @@ export { FriendliHandler } from "./friendli" export { VercelAiGatewayHandler } from "./vercel-ai-gateway" export { OpencodeGoHandler } from "./opencode-go" export { KenariHandler } from "./kenari" -export { IOIntelligenceHandler } from "./io-intelligence" export { NanoGptHandler } from "./nanogpt" export { ZooGatewayHandler } from "./zoo-gateway" export { MiniMaxHandler } from "./minimax" diff --git a/src/api/providers/io-intelligence.ts b/src/api/providers/io-intelligence.ts deleted file mode 100644 index f5cd7470a0..0000000000 --- a/src/api/providers/io-intelligence.ts +++ /dev/null @@ -1,221 +0,0 @@ -import { Anthropic } from "@anthropic-ai/sdk" -import OpenAI from "openai" - -import { - IO_INTELLIGENCE_BASE_URL, - ioIntelligenceDefaultModelId, - ioIntelligenceDefaultModelInfo, - providerIdentifiers, - type ModelRecord, -} from "@roo-code/types" - -import type { ApiHandlerOptions, GetModelsOptions } from "../../shared/api" - -import type { ApiStream } from "../transform/stream" -import { convertToOpenAiMessages } from "../transform/openai-format" -import type { - ApiHandlerCreateMessageMetadata, - CompletePromptOptions, - ModelCacheScope, - SingleCompletionHandler, -} from "../index" -import { RouterProvider } from "./router-provider" -import { getIOIntelligenceModels } from "./fetchers/io-intelligence" -import { handleProviderError } from "./utils/error-handler" -import { extractReasoningFromDelta } from "./utils/extract-reasoning" -import { hasUsableTimeout, toSdkTimeoutMs } from "./utils/abort-signal" - -/** - * IO Intelligence (io.net) provider. - * - * OpenAI-compatible Chat Completions endpoint: - * https://api.intelligence.io.solutions/api/v1/chat/completions - * - * Model ids are Hugging Face-style `org/name` identifiers and are resolved - * dynamically from the public /models endpoint. Supports text generation, - * reasoning content (DeepSeek/GLM style), tool calls, and non-streaming - * prompt completion. - */ -export class IOIntelligenceHandler extends RouterProvider implements SingleCompletionHandler { - /** Creates a new handler bound to the user's API key and selected model. */ - constructor(options: ApiHandlerOptions) { - super({ - // The endpoint is fixed, so the custom headers configured for the - // OpenAI Compatible provider must not be sent to it. - options: { ...options, openAiHeaders: undefined }, - name: providerIdentifiers.ioIntelligence, - baseURL: IO_INTELLIGENCE_BASE_URL, - apiKey: options.ioIntelligenceApiKey, - modelId: options.ioIntelligenceModelId, - defaultModelId: ioIntelligenceDefaultModelId, - defaultModelInfo: ioIntelligenceDefaultModelInfo, - }) - } - - override getModelCacheScope(): ModelCacheScope { - // Public catalog, but a key can narrow the visible model set. - return { urlScoped: false, keyScoped: true, authScoped: false } - } - - async fetchModels(options: GetModelsOptions, signal?: AbortSignal): Promise { - const fetchOpts: [] | [{ signal: AbortSignal }] = signal ? [{ signal }] : [] - return getIOIntelligenceModels(options.apiKey, ...fetchOpts) - } - - private createSafeError(operation: string, error: unknown): Error { - const apiKey = this.options.ioIntelligenceApiKey - const redact = (text: string) => (apiKey ? text.replaceAll(apiKey, "[REDACTED]") : text) - - // handleProviderError logs the message, stack and the SDK's raw error - // metadata before it applies the transformer, so the key has to be - // scrubbed from the error itself first. - if (error instanceof Error) { - error.message = redact(error.message) - if (error.stack) { - error.stack = redact(error.stack) - } - // handleProviderError calls string methods on this field, so an - // object-valued upstream body is serialized before it is redacted. - const metadata = (error as { error?: { metadata?: { raw?: unknown } } }).error?.metadata - if (metadata && metadata.raw !== undefined && metadata.raw !== null) { - const raw = metadata.raw - metadata.raw = redact(typeof raw === "string" ? raw : (JSON.stringify(raw) ?? String(raw))) - } - } - const safeError = error instanceof Error ? error : redact(String(error)) - - return handleProviderError(safeError, "IO Intelligence", { - messagePrefix: operation, - // The transformer input can also come from `error.error.metadata.raw`. - messageTransformer: (message) => `IO Intelligence ${operation} error: ${redact(message)}`, - }) - } - - /** - * Streams a chat completion response, yielding typed chunks for text, - * reasoning, partial tool calls, and token usage. - */ - override async *createMessage( - systemPrompt: string, - messages: Anthropic.Messages.MessageParam[], - metadata?: ApiHandlerCreateMessageMetadata, - ): ApiStream { - const { id: modelId, info } = await this.fetchModel() - - const openAiMessages: OpenAI.Chat.ChatCompletionMessageParam[] = [ - { role: "system", content: systemPrompt }, - ...convertToOpenAiMessages(messages), - ] - - const body: OpenAI.Chat.ChatCompletionCreateParams = { - model: modelId, - messages: openAiMessages, - max_tokens: info.maxTokens, - stream: true, - stream_options: { include_usage: true }, - tools: this.convertToolsForOpenAI(metadata?.tools), - tool_choice: metadata?.tool_choice, - parallel_tool_calls: metadata?.parallelToolCalls ?? true, - } - - if ( - this.options.modelTemperature !== undefined && - info.supportsTemperature !== false && - this.supportsTemperature(modelId) - ) { - body.temperature = this.options.modelTemperature - } - - try { - const completion = await this.client.chat.completions.create(body, { signal: metadata?.abortSignal }) - - for await (const chunk of completion) { - const delta = chunk.choices[0]?.delta - - // Reasoning models (DeepSeek R1, GLM) stream reasoning via - // reasoning_content with an OpenRouter-style `reasoning` fallback. - const reasoningText = extractReasoningFromDelta(delta) - if (reasoningText) { - yield { type: "reasoning", text: reasoningText } - } - - if (delta?.content) { - yield { type: "text", text: delta.content } - } - - // Emit raw tool call chunks - NativeToolCallParser handles state management. - if (delta?.tool_calls) { - for (const toolCall of delta.tool_calls) { - yield { - type: "tool_call_partial", - index: toolCall.index, - id: toolCall.id, - name: toolCall.function?.name, - arguments: toolCall.function?.arguments, - } - } - } - - if (chunk.usage) { - yield { - type: "usage", - inputTokens: chunk.usage.prompt_tokens || 0, - outputTokens: chunk.usage.completion_tokens || 0, - cacheReadTokens: chunk.usage.prompt_tokens_details?.cached_tokens ?? undefined, - } - } - } - } catch (error) { - throw this.createSafeError("streaming", error) - } - } - - /** - * Performs a non-streaming chat completion and returns the full response text. - * - * @param prompt - The user prompt to send as a single user message. - * @returns The model's reply text, or an empty string if no content is returned. - * @throws Error with an IO Intelligence prefix if the request fails. - */ - async completePrompt(prompt: string, options?: CompletePromptOptions): Promise { - const { id: modelId, info } = await this.fetchModel() - - try { - const requestOptions: OpenAI.Chat.ChatCompletionCreateParams = { - model: modelId, - messages: [{ role: "user", content: prompt }], - max_tokens: info.maxTokens, - stream: false, - } - - if ( - this.options.modelTemperature !== undefined && - info.supportsTemperature !== false && - this.supportsTemperature(modelId) - ) { - requestOptions.temperature = this.options.modelTemperature - } - - // The OpenAI SDK validates a present-but-undefined `timeout` key, so - // request options are only forwarded when they carry a real value. - const completionOptions: OpenAI.RequestOptions = {} - if (options?.abortSignal !== undefined) { - completionOptions.signal = options.abortSignal - } - const timeoutMs = options?.timeoutMs - if (hasUsableTimeout(timeoutMs)) { - completionOptions.timeout = toSdkTimeoutMs(timeoutMs) - } - const hasCompletionOptions = - completionOptions.signal !== undefined || completionOptions.timeout !== undefined - - const response = await this.client.chat.completions.create( - requestOptions, - hasCompletionOptions ? completionOptions : undefined, - ) - return response.choices[0]?.message.content || "" - } catch (error) { - throw this.createSafeError("completion", error) - } - } -} diff --git a/src/assets/marketplace/mcps.yml b/src/assets/marketplace/mcps.yml index 929d7034fa..0990c6c168 100644 --- a/src/assets/marketplace/mcps.yml +++ b/src/assets/marketplace/mcps.yml @@ -33,59 +33,6 @@ items: "type": "streamable-http", "url": "https://api.anysearch.com/mcp" } - - id: apify - name: Apify Actors - description: - Enables AI assistants to interact with Apify's web scraping and automation actors, providing access to - tools for data extraction, web searching, social media analysis, and more. - author: apify - url: https://github.com/apify/actors-mcp-server - tags: - - web-scraping - - data-extraction - - automation - - actor-management - - apify-platform - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@apify/actors-mcp-server"], - "env": { - "APIFY_TOKEN": "{{APIFY_TOKEN}}" - } - } - - name: NPX with Specific Actors - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@apify/actors-mcp-server", "--actors", "{{ACTOR_LIST}}"], - "env": { - "APIFY_TOKEN": "{{APIFY_TOKEN}}" - } - } - parameters: - - name: Actor List - key: ACTOR_LIST - placeholder: lukaskrivka/google-maps-with-contact-details,apify/instagram-scraper - - name: Remote MCP - SSE - content: | - { - "type": "sse", - "url": "https://actors-mcp-server.apify.actor/sse", - "env": { - "APIFY_TOKEN": "{{APIFY_TOKEN}}" - } - } - parameters: - - name: Apify API Token - key: APIFY_TOKEN - placeholder: your_apify_api_token - id: atlassian name: Atlassian description: @@ -179,117 +126,6 @@ items: - name: Jira API Token key: JIRA_API_TOKEN placeholder: your_jira_api_token - - id: aws-kb-retrieval-server - name: AWS Knowledge Base - description: - Retrieves information from AWS Knowledge Base using Bedrock Agent Runtime, supporting RAG-based queries - with customizable result counts. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/aws-kb-retrieval-server - tags: - - aws - - bedrock - - rag - - knowledge-retrieval - - search - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-aws-kb-retrieval"], - "env": { - "AWS_ACCESS_KEY_ID": "{{AWS_ACCESS_KEY_ID}}", - "AWS_SECRET_ACCESS_KEY": "{{AWS_SECRET_ACCESS_KEY}}", - "AWS_REGION": "{{AWS_REGION}}" - } - } - - name: Docker - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": ["run", "-i", "--rm", "-e", "AWS_ACCESS_KEY_ID", "-e", "AWS_SECRET_ACCESS_KEY", "-e", "AWS_REGION", "mcp/aws-kb-retrieval-server"], - "env": { - "AWS_ACCESS_KEY_ID": "{{AWS_ACCESS_KEY_ID}}", - "AWS_SECRET_ACCESS_KEY": "{{AWS_SECRET_ACCESS_KEY}}", - "AWS_REGION": "{{AWS_REGION}}" - } - } - parameters: - - name: AWS Access Key ID - key: AWS_ACCESS_KEY_ID - placeholder: your_aws_access_key_id - - name: AWS Secret Access Key - key: AWS_SECRET_ACCESS_KEY - placeholder: your_aws_secret_access_key - - name: AWS Region - key: AWS_REGION - placeholder: us-east-1 - - id: axiom - name: Axiom - description: - Query and analyze data using Axiom Processing Language (APL), enabling AI agents to interact with Axiom - datasets through natural language. - author: axiomhq - url: https://github.com/axiomhq/mcp-server-axiom - tags: - - data-query - - log-analysis - - apl - - datasets - - analytics - content: - - name: Go Binary - content: | - { - "command": "{{AXIOM_BINARY_PATH}}/axiom-mcp", - "args": ["--config", "{{AXIOM_CONFIG_PATH}}"] - } - parameters: - - name: Axiom Config Path - key: AXIOM_CONFIG_PATH - placeholder: /path/to/config.txt - - name: Go Binary with Environment Variables - content: | - { - "command": "{{AXIOM_BINARY_PATH}}/axiom-mcp", - "env": { - "AXIOM_TOKEN": "{{AXIOM_TOKEN}}", - "AXIOM_URL": "{{AXIOM_URL}}", - "AXIOM_ORG_ID": "{{AXIOM_ORG_ID}}" - } - } - - name: Go Binary with Command Line Flags - content: | - { - "command": "{{AXIOM_BINARY_PATH}}/axiom-mcp", - "args": [ - "-token", "{{AXIOM_TOKEN}}", - "-url", "{{AXIOM_URL}}", - "-query-rate", "1", - "-query-burst", "1", - "-datasets-rate", "1", - "-datasets-burst", "1" - ] - } - parameters: - - name: Axiom Binary Path - key: AXIOM_BINARY_PATH - placeholder: /path/to/axiom-mcp - - name: Axiom Token - key: AXIOM_TOKEN - placeholder: xaat-your-token - - name: Axiom URL - key: AXIOM_URL - placeholder: https://api.axiom.co - - name: Axiom Org ID - key: AXIOM_ORG_ID - placeholder: your-org-id - optional: true - id: azure-devops name: Azure DevOps description: Official Microsoft MCP server for Azure DevOps integration, bringing comprehensive Azure DevOps @@ -329,315 +165,6 @@ items: - name: Azure DevOps Organization key: AZURE_DEVOPS_ORG placeholder: contoso - - id: brave-search - name: Brave Search - description: Integrates Brave Search API to provide comprehensive web and local search capabilities with smart - filtering, pagination, and automatic fallbacks. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/brave-search - tags: - - search-engine - - local-search - - web-search - - brave-api - - content-discovery - prerequisites: - - Brave Search account - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-brave-search"], - "env": { - "BRAVE_API_KEY": "{{BRAVE_API_KEY}}" - } - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "-e", "BRAVE_API_KEY", "mcp/brave-search"], - "env": { - "BRAVE_API_KEY": "{{BRAVE_API_KEY}}" - } - } - parameters: - - name: Brave API Key - key: BRAVE_API_KEY - placeholder: your_brave_api_key_here - - id: browserbase - name: Browserbase - description: - Cloud browser automation server enabling LLMs to interact with web pages, take screenshots, extract data, - and execute JavaScript using Browserbase and Puppeteer. - author: browserbase - url: https://github.com/browserbase/mcp-server-browserbase - tags: - - web-automation - - puppeteer - - screenshot-capture - - data-extraction - - javascript-execution - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@browserbasehq/mcp"], - "env": { - "BROWSERBASE_API_KEY": "{{BROWSERBASE_API_KEY}}", - "BROWSERBASE_PROJECT_ID": "{{BROWSERBASE_PROJECT_ID}}" - } - } - - name: NPX with Proxies - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@browserbasehq/mcp", "--proxies"], - "env": { - "BROWSERBASE_API_KEY": "{{BROWSERBASE_API_KEY}}", - "BROWSERBASE_PROJECT_ID": "{{BROWSERBASE_PROJECT_ID}}" - } - } - - name: NPX with Advanced Stealth - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@browserbasehq/mcp", "--advancedStealth"], - "env": { - "BROWSERBASE_API_KEY": "{{BROWSERBASE_API_KEY}}", - "BROWSERBASE_PROJECT_ID": "{{BROWSERBASE_PROJECT_ID}}" - } - } - - name: NPX with Custom Context - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@browserbasehq/mcp", "--contextId", "{{BROWSERBASE_CONTEXT_ID}}"], - "env": { - "BROWSERBASE_API_KEY": "{{BROWSERBASE_API_KEY}}", - "BROWSERBASE_PROJECT_ID": "{{BROWSERBASE_PROJECT_ID}}" - } - } - parameters: - - name: Browserbase Context ID - key: BROWSERBASE_CONTEXT_ID - placeholder: your_browserbase_context_id - parameters: - - name: Browserbase API Key - key: BROWSERBASE_API_KEY - placeholder: your_browserbase_api_key - - name: Browserbase Project ID - key: BROWSERBASE_PROJECT_ID - placeholder: your_browserbase_project_id - - id: clickup - name: ClickUp - description: - Comprehensive ClickUp MCP server for project management integration with AI through Model Context Protocol. - Supports task management, time tracking, workspace organization, document management, member management, and tag - operations with 36 available tools for complete ClickUp automation. - author: taazkareem - url: https://github.com/TaazKareem/clickup-mcp-server - tags: - - clickup - - project-management - - task-management - - time-tracking - - productivity - - automation - - workflow - - team-collaboration - - workspace - - api-integration - prerequisites: - - ClickUp account - - ClickUp API key - content: - - name: NPX - prerequisites: - - Node.js - content: > - { - "command": "npx", - "args": ["-y", "@taazkareem/clickup-mcp-server@0.8.4", "--hash", "sha512:TuWPCubHFrRNbghj34th+QFdOqwGljs0QP55s+d73JhsFVoKaXFuS4c5bHat8qwV9UyF6hAeX87UP0SmeH/QRg=="], - "env": { - "CLICKUP_API_KEY": "{{CLICKUP_API_KEY}}", - "CLICKUP_TEAM_ID": "{{CLICKUP_TEAM_ID}}", - "DOCUMENT_SUPPORT": "{{DOCUMENT_SUPPORT}}" - } - } - parameters: - - name: ClickUp API Key - key: CLICKUP_API_KEY - placeholder: pk_your_clickup_api_key - - name: ClickUp Team ID - key: CLICKUP_TEAM_ID - placeholder: your_team_id - - name: Document Support - key: DOCUMENT_SUPPORT - placeholder: "true" - optional: true - - id: cloudflare - name: Cloudflare - description: - Manages Cloudflare resources including Workers, KV stores, R2 storage, D1 databases, and analytics through - natural language interactions. - author: cloudflare - url: https://github.com/cloudflare/mcp-server-cloudflare - tags: - - cloudflare - - serverless - - edge-computing - - cloud-storage - - database-management - content: - - name: Remote MCP - Observability - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://observability.mcp.cloudflare.com/sse"] - } - - name: Remote MCP - Workers Bindings - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/sse"] - } - - name: Remote MCP - Documentation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://docs.mcp.cloudflare.com/sse"] - } - - name: Remote MCP - Workers Builds - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://builds.mcp.cloudflare.com/sse"] - } - - name: Remote MCP - Radar - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://radar.mcp.cloudflare.com/sse"] - } - - name: Remote MCP - Browser Rendering - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["mcp-remote", "https://browser.mcp.cloudflare.com/sse"] - } - parameters: - - name: Cloudflare API Token - key: CLOUDFLARE_API_TOKEN - placeholder: your_cloudflare_api_token_here - - id: codegen - name: Codegen - description: - Enables parsing codebases and executing codemods through standardized model inference, supporting various - LLM providers via integration with the Codegen SDK. - author: codegen-sh - url: https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/codegen-mcp-server - tags: - - code-generation - - codemod - - code-parsing - - sdk-integration - - llm-tools - prerequisites: - - uv - - Python 3.12+ - content: - - name: UVX - prerequisites: - - Python and uv - content: > - { - "command": "uvx", - "args": [ - "--from", - "git+https://github.com/codegen-sh/codegen-sdk.git#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server", - "codegen-mcp-server" - ] - } - - name: Direct Execution - prerequisites: - - Python - - uv - content: > - { - "command": "uvx", - "args": ["--from", "git+https://github.com/codegen-sh/codegen-sdk.git#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server", "codegen-mcp-server"] - } - parameters: - - name: Prerequisites - key: PREREQUISITES - placeholder: Requires uv and Python 3.12+ - - id: composer-trade - name: Composer - description: - Official Composer MCP server that enables creation of automated investing strategies, backtesting, strategy - discovery, portfolio monitoring, and live trading through the Composer platform. - author: invest-composer - url: https://github.com/invest-composer/composer-trade-mcp - tags: - - trading - - investing - - backtesting - - portfolio-management - - financial-automation - - strategy-creation - - market-analysis - - composer-api - - algorithmic-trading - - risk-management - content: > - { - "command": "uvx", - "args": ["composer-trade-mcp==0.1.4", "--hash", "sha256:37d8fcfd6ddc9c8155633f755159f3fcb1a63e7acc2a32513613341a851c84e2"], - "env": { - "COMPOSER_API_KEY": "{{COMPOSER_API_KEY}}", - "COMPOSER_SECRET_KEY": "{{COMPOSER_SECRET_KEY}}" - } - } - parameters: - - name: Composer API Key - key: COMPOSER_API_KEY - placeholder: your_composer_api_key - optional: true - - name: Composer Secret Key - key: COMPOSER_SECRET_KEY - placeholder: your_composer_secret_key - optional: true - prerequisites: - - Python and uv - - Composer.trade account (optional for backtesting) - - Composer.trade subscription (required for live trading) - id: context7 name: Context7 description: @@ -782,87 +309,36 @@ items: - name: dbt Host key: DBT_HOST placeholder: cloud.getdbt.com - - id: e2b - name: Code Interpreter + - id: esignatures + name: eSignatures description: - Adds secure code execution capabilities to Claude Desktop using E2B Sandbox, supporting both JavaScript and - Python environments. - author: e2b-dev - url: https://github.com/e2b-dev/mcp-server + Manages digital contract workflows including creation, sending, and template management for electronic + signatures through the eSignatures platform. + author: esignaturescom + url: https://github.com/esignaturescom/mcp-server-esignatures tags: - - code-execution - - sandbox - - javascript - - python - - claude-integration + - digital-signatures + - contracts + - document-management + - templates + - collaboration content: - - name: NPX + - name: UVX prerequisites: - - Node.js + - Python + - uv content: | { - "command": "npx", - "args": ["-y", "@e2b/mcp-server"], + "command": "uvx", + "args": ["mcp-server-esignatures"], "env": { - "E2B_API_KEY": "{{E2B_API_KEY}}" + "ESIGNATURES_SECRET_TOKEN": "{{ESIGNATURES_SECRET_TOKEN}}" } } - - name: Smithery Installation + - name: UV Development prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@smithery/cli", "install", "e2b", "--client", "claude"] - } - - name: Local Development - content: | - { - "command": "node", - "args": ["{{E2B_PATH}}/packages/js/dist/index.js"], - "env": { - "E2B_API_KEY": "{{E2B_API_KEY}}" - } - } - parameters: - - name: E2B Path - key: E2B_PATH - placeholder: /path/to/e2b-mcp-server - optional: true - parameters: - - name: E2B API Key - key: E2B_API_KEY - placeholder: your_e2b_api_key - - id: esignatures - name: eSignatures - description: - Manages digital contract workflows including creation, sending, and template management for electronic - signatures through the eSignatures platform. - author: esignaturescom - url: https://github.com/esignaturescom/mcp-server-esignatures - tags: - - digital-signatures - - contracts - - document-management - - templates - - collaboration - content: - - name: UVX - prerequisites: - - Python - - uv - content: | - { - "command": "uvx", - "args": ["mcp-server-esignatures"], - "env": { - "ESIGNATURES_SECRET_TOKEN": "{{ESIGNATURES_SECRET_TOKEN}}" - } - } - - name: UV Development - prerequisites: - - Python - - uv + - Python + - uv content: | { "command": "uv", @@ -1042,76 +518,6 @@ items: key: FIREBASE_ONLY placeholder: auth,firestore,storage optional: true - - id: fireproof - name: Fireproof - description: A JSON document store server providing CRUD operations and field-based sorting queries, powered by - Fireproof database for seamless integration with AI systems. - author: fireproof-storage - url: https://github.com/fireproof-storage/mcp-database-server - tags: - - document-store - - json - - crud - - database - - storage - content: - - name: Node.js - content: | - { - "command": "node", - "args": ["{{FIREPROOF_PATH}}/build/index.js"] - } - - name: NPM Development - content: | - { - "command": "npm", - "args": ["start"], - "cwd": "{{FIREPROOF_PATH}}" - } - parameters: - - name: Fireproof MCP Path - key: FIREPROOF_PATH - placeholder: /path/to/fireproof-mcp - optional: true - - id: gdrive - name: Google Drive - description: - Enables searching, listing, and reading files from Google Drive, with automatic export of Google Workspace - files to common formats like Markdown, CSV, and PNG. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/gdrive - tags: - - google-drive - - file-management - - document-storage - - workspace - - file-search - prerequisites: - - Google account with Drive API access - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-gdrive"], - "env": { - "GDRIVE_CREDENTIALS_PATH": "{{GDRIVE_CREDENTIALS_PATH}}" - } - } - - name: Docker - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": ["run", "-i", "--rm", "-v", "mcp-gdrive:/gdrive-server", "-e", "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json", "mcp/gdrive"] - } - parameters: - - name: Google Drive Credentials Path - key: GDRIVE_CREDENTIALS_PATH - placeholder: /path/to/.gdrive-server-credentials.json - id: genkit name: Genkit Integration description: @@ -1240,174 +646,6 @@ items: - name: Repo key: REPO placeholder: typescript - - id: github - name: GitHub - description: GitHub's official MCP Server that provides seamless integration with GitHub APIs, enabling advanced - automation and interaction capabilities for developers and tools. - author: github - url: https://github.com/github/github-mcp-server - tags: - - github - - git - - repository-management - - issue-tracking - - pull-requests - - code-scanning - - collaboration - - api-integration - prerequisites: - - Node.js - - GitHub account - - Classic GitHub Personal Access Token (generate at https://github.com/settings/tokens/new) - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-github"], - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "{{GITHUB_PERSONAL_ACCESS_TOKEN}}" - } - } - parameters: - - name: GitHub Personal Access Token - key: GITHUB_PERSONAL_ACCESS_TOKEN - placeholder: "YOUR_GITHUB_PAT (classic PAT from https://github.com/settings/tokens/new)" - - id: gitlab - name: GitLab - description: - Enables comprehensive GitLab project management including file operations, issue tracking, merge requests, - and repository management through the GitLab API. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers/tree/main/src/gitlab - tags: - - gitlab - - git - - repository-management - - collaboration - - ci-cd - prerequisites: - - GitLab account - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-gitlab"], - "env": { - "GITLAB_PERSONAL_ACCESS_TOKEN": "{{GITLAB_PERSONAL_ACCESS_TOKEN}}", - "GITLAB_API_URL": "{{GITLAB_API_URL}}" - } - } - - name: Python/Pip - prerequisites: - - Python - content: | - { - "command": "python", - "args": ["-m", "mcp_server_gitlab"], - "env": { - "GITLAB_PERSONAL_ACCESS_TOKEN": "{{GITLAB_PERSONAL_ACCESS_TOKEN}}", - "GITLAB_API_URL": "{{GITLAB_API_URL}}" - } - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "mcp/gitlab"], - "env": { - "GITLAB_PERSONAL_ACCESS_TOKEN": "{{GITLAB_PERSONAL_ACCESS_TOKEN}}", - "GITLAB_API_URL": "{{GITLAB_API_URL}}" - } - } - parameters: - - name: GitLab Personal Access Token - key: GITLAB_PERSONAL_ACCESS_TOKEN - placeholder: your_gitlab_personal_access_token - - name: GitLab API URL - key: GITLAB_API_URL - placeholder: https://gitlab.com/api/v4 - - id: google-maps - name: Google Maps - description: Provides comprehensive access to Google Maps services including geocoding, place search, directions, - distance calculations, and elevation data through the Google Maps API. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps - tags: - - maps - - geocoding - - navigation - - places-api - - location-data - prerequisites: - - Google Cloud account with Maps API enabled - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-google-maps"], - "env": { - "GOOGLE_MAPS_API_KEY": "{{GOOGLE_MAPS_API_KEY}}" - } - } - - name: Python/Pip - prerequisites: - - Python - content: | - { - "command": "python", - "args": ["-m", "mcp_server_google_maps"], - "env": { - "GOOGLE_MAPS_API_KEY": "{{GOOGLE_MAPS_API_KEY}}" - } - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "mcp/google-maps"], - "env": { - "GOOGLE_MAPS_API_KEY": "{{GOOGLE_MAPS_API_KEY}}" - } - } - parameters: - - name: Google Maps API Key - key: GOOGLE_MAPS_API_KEY - placeholder: your_google_maps_api_key - - id: google-maps-platform-code-assist - name: Google Maps Platform Code Assist - description: - Official Google Maps Platform MCP for AI-powered code assistance. Provides tools to generate client-side - and server-side code for Maps, Routes, and Places APIs, helping developers build geospatial applications faster. - author: googlemaps - url: https://github.com/googlemaps/platform-ai - tags: - - google-maps - - code-generation - - geospatial - - maps - - routes - - places - - api-integration - - ai-assistant - - official - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@googlemaps/code-assist-mcp@0.2.0"] - } - id: google-workspace name: Google Workspace description: @@ -1602,51 +840,6 @@ items: "args": ["artisan", "boost:mcp"] } parameters: [] - - id: linear - name: Linear - description: - Facilitates project management with the Linear API, enabling issue tracking, project organization, and team - management through comprehensive tools for creating, updating, and managing work items. - author: cline - url: https://github.com/cline/linear-mcp - tags: - - project-management - - issue-tracking - - team-collaboration - - linear-api - - workflow - content: - - name: Node.js - prerequisites: - - Node.js - content: | - { - "command": "node", - "args": ["{{LINEAR_PATH}}/build/index.js"], - "env": { - "LINEAR_API_KEY": "{{LINEAR_API_KEY}}" - } - } - - name: NPM Development - prerequisites: - - Node.js - content: | - { - "command": "npm", - "args": ["start"], - "cwd": "{{LINEAR_PATH}}", - "env": { - "LINEAR_API_KEY": "{{LINEAR_API_KEY}}" - } - } - parameters: - - name: Linear API Key - key: LINEAR_API_KEY - placeholder: your_linear_api_key - - name: Linear MCP Path - key: LINEAR_PATH - placeholder: /path/to/linear-mcp - optional: true - id: mailtea name: Mailtea description: @@ -1776,70 +969,6 @@ items: "type": "streamable-http", "url": "https://learn.microsoft.com/api/mcp" } - - id: motherduck - name: MotherDuck - description: Enables database operations with MotherDuck and local DuckDB, providing tools for connection - initialization, schema reading, and query execution. - author: motherduckdb - url: https://github.com/motherduckdb/mcp-server-motherduck - tags: - - duckdb - - motherduck - - sql - - database-management - - query-execution - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-motherduck", "--db-path", "md:", "--motherduck-token", "{{MOTHERDUCK_TOKEN}}"] - } - - name: UVX with Local DuckDB - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-motherduck", "--db-path", "{{DB_PATH}}"] - } - parameters: - - name: Database Path - key: DB_PATH - placeholder: /path/to/your/local.db - - name: UVX with In-Memory Database - prerequisites: - - Python - - uv - content: | - { - "command": "uvx", - "args": ["mcp-server-motherduck", "--db-path", ":memory:"] - } - - name: UVX with Read-Only Mode - prerequisites: - - Python - - uv - content: | - { - "command": "uvx", - "args": ["mcp-server-motherduck", "--db-path", "{{DB_PATH}}", "--read-only"] - } - - name: UVX with SaaS Mode - prerequisites: - - Python - - uv - content: > - { - "command": "uvx", - "args": ["mcp-server-motherduck", "--db-path", "md:", "--motherduck-token", "{{MOTHERDUCK_TOKEN}}", "--saas-mode"] - } - parameters: - - name: MotherDuck Token - key: MOTHERDUCK_TOKEN - placeholder: your_motherduck_token_here - id: n8n-mcp name: n8n-MCP description: @@ -1936,124 +1065,25 @@ items: - name: n8n API Key key: N8N_API_KEY placeholder: your-api-key - - id: needle - name: Needle Search + - id: nia + name: Nia description: - Enables document management and natural language search capabilities through the Needle platform, allowing - users to organize, store, and retrieve documents using Claude's language model. - author: needle-ai - url: https://github.com/needle-ai/needle-mcp + Nia is an API and MCP layer that gives agents continuously updated context from libraries, research papers, + and docs, so they don't hallucinate and you skip manual ingestion. + author: Nozomio Labs + url: https://docs.trynia.ai tags: - - document-management - - search + - documentation - knowledge-base - - needle-api - - content-organization + - repository-indexing + - semantic-search + - research-papers + - code-context + - ai-research + prerequisites: + - Nia account (https://app.trynia.ai) content: - - name: Smithery Installation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@smithery/cli", "install", "needle-mcp", "--client", "claude"] - } - - name: UV with Local Development - content: | - { - "command": "uv", - "args": ["--directory", "{{NEEDLE_PATH}}", "run", "needle-mcp"], - "env": { - "NEEDLE_API_KEY": "{{NEEDLE_API_KEY}}" - } - } - parameters: - - name: Needle Path - key: NEEDLE_PATH - placeholder: /path/to/needle-mcp - optional: true - parameters: - - name: Needle API Key - key: NEEDLE_API_KEY - placeholder: your_needle_api_key - - id: neon - name: Neon Database - description: - Enables natural language interaction with Neon PostgreSQL databases, supporting project management, schema - migrations, SQL queries, and database operations through the Neon API. - author: neondatabase - url: https://github.com/neondatabase/mcp-server-neon - tags: - - postgresql - - database-management - - migrations - - sql - - neon-api - content: - - name: Remote MCP - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.neon.tech/sse"] - } - - name: NPX with API Key - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@neondatabase/mcp-server-neon", "start", "{{NEON_API_KEY}}"] - } - - name: Smithery Installation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@smithery/cli", "install", "neon", "--client", "claude"] - } - - name: Windows CMD - prerequisites: - - Node.js - content: | - { - "command": "cmd", - "args": ["/c", "npx", "-y", "@neondatabase/mcp-server-neon", "start", "{{NEON_API_KEY}}"] - } - - name: Windows WSL - prerequisites: - - Node.js - content: | - { - "command": "wsl", - "args": ["npx", "-y", "@neondatabase/mcp-server-neon", "start", "{{NEON_API_KEY}}"] - } - parameters: - - name: Neon API Key - key: NEON_API_KEY - placeholder: your_neon_api_key - optional: true - - id: nia - name: Nia - description: - Nia is an API and MCP layer that gives agents continuously updated context from libraries, research papers, - and docs, so they don't hallucinate and you skip manual ingestion. - author: Nozomio Labs - url: https://docs.trynia.ai - tags: - - documentation - - knowledge-base - - repository-indexing - - semantic-search - - research-papers - - code-context - - ai-research - prerequisites: - - Nia account (https://app.trynia.ai) - content: - - name: Remote Server + - name: Remote Server content: | { "type": "streamable-http", @@ -2066,80 +1096,6 @@ items: - name: Nia API Key key: NIA_API_KEY placeholder: your_nia_api_key_here - - id: notion - name: Notion - description: Official Notion MCP Server that provides seamless integration with Notion APIs, enabling advanced - automation and interaction capabilities for managing pages, databases, comments, and content within Notion - workspaces. - author: makenotion - url: https://github.com/makenotion/notion-mcp-server - tags: - - notion - - productivity - - note-taking - - database-management - - content-management - - collaboration - - workspace - - api-integration - prerequisites: - - Notion account with integration access - content: - - name: NPX - prerequisites: - - Node.js - content: > - { - "command": "npx", - "args": ["-y", "@notionhq/notion-mcp-server"], - "env": { - "OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer {{NOTION_API_KEY}}\", \"Notion-Version\": \"2022-06-28\"}" - } - } - - name: Docker Hub Image - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": [ - "run", - "--rm", - "-i", - "-e", "OPENAPI_MCP_HEADERS", - "mcp/notion" - ], - "env": { - "OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer {{NOTION_API_KEY}}\", \"Notion-Version\": \"2022-06-28\"}" - } - } - - name: Docker Local Build - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": [ - "run", - "--rm", - "-i", - "-e", - "OPENAPI_MCP_HEADERS={\"Authorization\": \"Bearer {{NOTION_API_KEY}}\", \"Notion-Version\": \"2022-06-28\"}", - "notion-mcp-server" - ] - } - - name: Smithery Installation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@smithery/cli", "install", "@makenotion/notion-mcp-server", "--client", "claude"] - } - parameters: - - name: Notion API Key - key: NOTION_API_KEY - placeholder: ntn_your_notion_integration_token - id: oxylabs name: Oxylabs Scraper description: @@ -2258,442 +1214,6 @@ items: - name: Storage State Path key: STORAGE_STATE_PATH placeholder: /path/to/storage.json - - id: postgres - name: PostgreSQL Reader - description: - Provides read-only access to PostgreSQL databases, allowing LLMs to inspect database schemas and execute - read-only queries within protected transactions. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/postgres - tags: - - postgresql - - database-queries - - schema-inspection - - read-only - - sql - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-postgres", "{{POSTGRESQL_URL}}"] - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "mcp/postgres", "{{POSTGRESQL_URL}}"] - } - parameters: - - name: PostgreSQL URL - key: POSTGRESQL_URL - placeholder: postgresql://user:password@localhost:5432/mydb - - id: postgrest - name: Postgrest - description: - Enables database operations on PostgreSQL through PostgREST, supporting SQL-to-REST conversion and direct - API requests for querying and modifying data. - author: supabase-community - url: https://github.com/supabase-community/mcp-supabase/tree/HEAD/packages/mcp-server-postgrest - tags: - - postgresql - - postgrest - - database-api - - sql - - supabase - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": [ - "-y", - "@supabase/mcp-server-postgrest@0.0.11", - "--apiUrl", - "{{POSTGREST_API_URL}}", - "--apiKey", - "{{POSTGREST_API_KEY}}", - "--schema", - "{{POSTGREST_SCHEMA}}" - ] - } - - name: NPX with Supabase - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": [ - "-y", - "@supabase/mcp-server-postgrest@0.0.11", - "--apiUrl", - "https://{{SUPABASE_PROJECT_REF}}.supabase.co/rest/v1", - "--apiKey", - "{{SUPABASE_ANON_KEY}}", - "--schema", - "public" - ] - } - parameters: - - name: Supabase Project Reference - key: SUPABASE_PROJECT_REF - placeholder: your-project-ref - - name: Supabase Anon Key - key: SUPABASE_ANON_KEY - placeholder: your_supabase_anon_key - - name: Local Development - content: | - { - "command": "node", - "args": ["{{POSTGREST_PATH}}/dist/index.js"], - "env": { - "POSTGREST_API_URL": "{{POSTGREST_API_URL}}", - "POSTGREST_API_KEY": "{{POSTGREST_API_KEY}}", - "POSTGREST_SCHEMA": "{{POSTGREST_SCHEMA}}" - } - } - parameters: - - name: PostgREST MCP Path - key: POSTGREST_PATH - placeholder: /path/to/mcp-server-postgrest - optional: true - parameters: - - name: PostgREST API URL - key: POSTGREST_API_URL - placeholder: https://your-project-ref.supabase.co/rest/v1 - - name: PostgREST API Key - key: POSTGREST_API_KEY - placeholder: your_postgrest_api_key - optional: true - - name: PostgREST Schema - key: POSTGREST_SCHEMA - placeholder: public - - id: puppeteer - name: Puppeteer - description: - Provides browser automation capabilities using Puppeteer, enabling web page interaction, screenshots, and - JavaScript execution in a real browser environment. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/puppeteer - tags: - - web-automation - - screenshots - - browser-control - - javascript - - testing - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-puppeteer"] - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "--init", "-e", "DOCKER_CONTAINER=true", "mcp/puppeteer"] - } - - id: qdrant - name: Qdrant - description: - A semantic memory layer enabling storage and retrieval of vector-based memories using the Qdrant vector - search engine, with support for both cloud and local deployments. - author: qdrant - url: https://github.com/qdrant/mcp-server-qdrant - tags: - - vector-search - - semantic-memory - - embeddings - - storage - - retrieval - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-qdrant"], - "env": { - "QDRANT_URL": "{{QDRANT_URL}}", - "QDRANT_API_KEY": "{{QDRANT_API_KEY}}", - "COLLECTION_NAME": "{{COLLECTION_NAME}}", - "EMBEDDING_MODEL": "{{EMBEDDING_MODEL}}" - } - } - - name: UVX with Local Database - prerequisites: - - Python - - uv - content: | - { - "command": "uvx", - "args": ["mcp-server-qdrant"], - "env": { - "QDRANT_LOCAL_PATH": "{{QDRANT_LOCAL_PATH}}", - "COLLECTION_NAME": "{{COLLECTION_NAME}}", - "EMBEDDING_MODEL": "{{EMBEDDING_MODEL}}" - } - } - parameters: - - name: Qdrant Local Path - key: QDRANT_LOCAL_PATH - placeholder: /path/to/qdrant/database - - name: UVX with SSE Transport - prerequisites: - - Python - - uv - content: | - { - "command": "uvx", - "args": ["mcp-server-qdrant", "--transport", "sse"], - "env": { - "QDRANT_URL": "{{QDRANT_URL}}", - "QDRANT_API_KEY": "{{QDRANT_API_KEY}}", - "COLLECTION_NAME": "{{COLLECTION_NAME}}", - "FASTMCP_PORT": "{{FASTMCP_PORT}}" - } - } - parameters: - - name: FastMCP Port - key: FASTMCP_PORT - placeholder: "8000" - - name: Docker - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": ["run", "-p", "8000:8000", "-e", "QDRANT_URL", "-e", "QDRANT_API_KEY", "-e", "COLLECTION_NAME", "mcp-server-qdrant"], - "env": { - "QDRANT_URL": "{{QDRANT_URL}}", - "QDRANT_API_KEY": "{{QDRANT_API_KEY}}", - "COLLECTION_NAME": "{{COLLECTION_NAME}}" - } - } - - name: Smithery Installation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@smithery/cli", "install", "mcp-server-qdrant", "--client", "claude"] - } - parameters: - - name: Qdrant URL - key: QDRANT_URL - placeholder: https://xyz-example.eu-central.aws.cloud.qdrant.io:6333 - - name: Qdrant API Key - key: QDRANT_API_KEY - placeholder: your_qdrant_api_key - - name: Collection Name - key: COLLECTION_NAME - placeholder: your-collection-name - - name: Embedding Model - key: EMBEDDING_MODEL - placeholder: sentence-transformers/all-MiniLM-L6-v2 - optional: true - - id: raygun - name: Raygun - description: Provides comprehensive access to Raygun's error tracking, crash reporting, and real user monitoring - features through API integration, enabling management of applications, errors, deployments, and performance - metrics. - author: MindscapeHQ - url: https://github.com/MindscapeHQ/mcp-server-raygun - tags: - - error-tracking - - crash-reporting - - performance-monitoring - - debugging - - application-monitoring - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@raygun.io/mcp-server-raygun"], - "env": { - "RAYGUN_PAT_TOKEN": "{{RAYGUN_PAT_TOKEN}}" - } - } - - name: Node.js - content: | - { - "command": "node", - "args": ["{{RAYGUN_PATH}}/build/index.js"], - "env": { - "RAYGUN_PAT_TOKEN": "{{RAYGUN_PAT_TOKEN}}", - "SOURCEMAP_ALLOWED_DIRS": "{{SOURCEMAP_ALLOWED_DIRS}}" - } - } - parameters: - - name: Source Map Allowed Directories - key: SOURCEMAP_ALLOWED_DIRS - placeholder: /path/to/sourcemaps,/another/path - - name: Raygun MCP Path - key: RAYGUN_PATH - placeholder: /path/to/mcp-server-raygun - parameters: - - name: Raygun PAT Token - key: RAYGUN_PAT_TOKEN - placeholder: your_raygun_pat_token - - id: redis - name: Redis - description: - Provides access to Redis key-value stores, enabling operations like setting, getting, deleting, and listing - keys with optional expiration time support. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers/tree/main/src/redis - tags: - - redis - - key-value-store - - caching - - data-storage - - database-operations - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-redis", "--url", "{{REDIS_URL}}"] - } - - name: Python/Pip - prerequisites: - - Python - content: | - { - "command": "python", - "args": ["-m", "mcp_server_redis", "--url", "{{REDIS_URL}}"] - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "mcp/redis", "--url", "{{REDIS_URL}}"] - } - - name: UVX with Authentication - prerequisites: - - Python - - uv - content: > - { - "command": "uvx", - "args": ["mcp-server-redis", "--url", "{{REDIS_URL}}", "--username", "{{REDIS_USERNAME}}", "--password", "{{REDIS_PASSWORD}}"] - } - parameters: - - name: Redis Username - key: REDIS_USERNAME - placeholder: your_redis_username - - name: Redis Password - key: REDIS_PASSWORD - placeholder: your_redis_password - - name: Python/Pip with Authentication - prerequisites: - - Python - content: > - { - "command": "python", - "args": ["-m", "mcp_server_redis", "--url", "{{REDIS_URL}}", "--username", "{{REDIS_USERNAME}}", "--password", "{{REDIS_PASSWORD}}"] - } - parameters: - - name: Redis Username - key: REDIS_USERNAME - placeholder: your_redis_username - - name: Redis Password - key: REDIS_PASSWORD - placeholder: your_redis_password - parameters: - - name: Redis URL - key: REDIS_URL - placeholder: redis://localhost:6379 - - id: riza - name: Riza - description: - Provides a secure code interpreter for executing LLM-generated code, with features for creating, saving, - managing, and executing code tools in an isolated environment. - author: riza-io - url: https://github.com/riza-io/riza-mcp - tags: - - code-execution - - sandbox - - code-interpreter - - tool-management - - security - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["@riza-io/riza-mcp"], - "env": { - "RIZA_API_KEY": "{{RIZA_API_KEY}}" - } - } - parameters: - - name: Riza API Key - key: RIZA_API_KEY - placeholder: your_riza_api_key - - id: sentry - name: Sentry - description: - Retrieves and analyzes error reports, stacktraces, and debugging information from Sentry.io, enabling AI - assistants to inspect and understand application issues. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sentry - tags: - - error-tracking - - debugging - - stacktraces - - issue-monitoring - - application-monitoring - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-sentry", "--auth-token", "{{SENTRY_AUTH_TOKEN}}"] - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "-i", "--rm", "mcp/sentry", "--auth-token", "{{SENTRY_AUTH_TOKEN}}"] - } - - name: Python/Pip - prerequisites: - - Python - content: | - { - "command": "python", - "args": ["-m", "mcp_server_sentry", "--auth-token", "{{SENTRY_AUTH_TOKEN}}"] - } - parameters: - - name: Sentry Auth Token - key: SENTRY_AUTH_TOKEN - placeholder: your_sentry_auth_token_here - id: sequentialthinking name: Sequential Thinking description: @@ -2724,170 +1244,6 @@ items: "command": "docker", "args": ["run", "--rm", "-i", "mcp/sequentialthinking"] } - - id: slack - name: Slack - description: - Enables AI assistants to interact with Slack workspaces, providing tools for messaging, channel management, - reactions, user profiles, and thread management. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/slack - tags: - - slack - - messaging - - team-collaboration - - chat - - workspace-management - prerequisites: - - Slack workspace with bot permissions - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-slack"], - "env": { - "SLACK_BOT_TOKEN": "{{SLACK_BOT_TOKEN}}", - "SLACK_TEAM_ID": "{{SLACK_TEAM_ID}}", - "SLACK_CHANNEL_IDS": "{{SLACK_CHANNEL_IDS}}" - } - } - - name: Docker - prerequisites: - - Docker - content: > - { - "command": "docker", - "args": ["run", "-i", "--rm", "-e", "SLACK_BOT_TOKEN", "-e", "SLACK_TEAM_ID", "-e", "SLACK_CHANNEL_IDS", "mcp/slack"], - "env": { - "SLACK_BOT_TOKEN": "{{SLACK_BOT_TOKEN}}", - "SLACK_TEAM_ID": "{{SLACK_TEAM_ID}}", - "SLACK_CHANNEL_IDS": "{{SLACK_CHANNEL_IDS}}" - } - } - parameters: - - name: Slack Bot Token - key: SLACK_BOT_TOKEN - placeholder: YOUR_SLACK_BOT_TOKEN - - name: Slack Team ID - key: SLACK_TEAM_ID - placeholder: T01234567 - - name: Slack Channel IDs - key: SLACK_CHANNEL_IDS - placeholder: C01234567,C76543210 - optional: true - - id: smartsheet - name: Smartsheet - description: - A Model Context Protocol (MCP) server for interacting with the Smartsheet API. This server provides tools - for searching, retrieving, and updating Smartsheet sheets through the MCP protocol. Please follow the installation - instructions at https://github.com/smartsheet-platform/smar-mcp before using this server. - author: smartsheet-platform - url: https://github.com/smartsheet-platform/smar-mcp - tags: - - smartsheet - - project-management - - collaboration - - api-integration - - automation - - sheets - content: - - name: Local Development - prerequisites: - - Node.js - - npm - - Git - content: | - { - "command": "npm", - "args": ["start"], - "cwd": "{{SMARTSHEET_MCP_PATH}}", - "env": { - "SMARTSHEET_API_KEY": "{{SMARTSHEET_API_KEY}}" - } - } - parameters: - - name: Smartsheet API Key - key: SMARTSHEET_API_KEY - placeholder: your_smartsheet_api_token - - name: Smartsheet MCP Path - key: SMARTSHEET_MCP_PATH - placeholder: /path/to/smar-mcp - optional: true - - id: sqlite - name: SQLite - description: - Provides database interaction and business intelligence capabilities through SQLite, enabling SQL queries, - data analysis, and automated business insight generation. - author: modelcontextprotocol - url: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sqlite - tags: - - sql - - data-analysis - - business-intelligence - - database-management - - sqlite - content: - - name: UVX - prerequisites: - - Python and uv - content: | - { - "command": "uvx", - "args": ["mcp-server-sqlite", "--db-path", "{{DB_PATH}}"] - } - - name: Docker - prerequisites: - - Docker - content: | - { - "command": "docker", - "args": ["run", "--rm", "-i", "-v", "mcp-sqlite:/mcp", "mcp/sqlite", "--db-path", "{{DB_PATH}}"] - } - parameters: - - name: Database Path - key: DB_PATH - placeholder: /path/to/database.db - - id: stripe - name: Stripe - description: - Enables AI agents to interact with Stripe APIs, supporting operations like customer management, payment - processing, product creation, and invoice handling through function calling. - author: stripe - url: https://github.com/stripe/agent-toolkit - tags: - - payments - - billing - - invoicing - - stripe-api - - financial-services - prerequisites: - - Stripe account - content: - - name: NPX - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@stripe/mcp", "--tools=all", "--api-key={{STRIPE_SECRET_KEY}}"] - } - - name: NPX with Environment Variable - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@stripe/mcp", "--tools=all"], - "env": { - "STRIPE_SECRET_KEY": "{{STRIPE_SECRET_KEY}}" - } - } - parameters: - - name: Stripe Secret Key - key: STRIPE_SECRET_KEY - placeholder: sk_test_your_stripe_secret_key - id: supabase name: Supabase description: The official Supabase MCP server connects your AI tools to Supabase to perform tasks like launching @@ -3046,115 +1402,6 @@ items: "type": "streamable-http", "url": "https://tradehand.com/api/mcp" } - - id: verodat - name: Verodat - description: - Enables AI systems to interact with Verodat's data management platform, providing capabilities for dataset - creation, querying, and AI-powered analysis across workspaces and accounts. - author: Verodat - url: https://github.com/Verodat/verodat-mcp-server - tags: - - data-management - - dataset-operations - - workspace-management - - data-validation - - ai-integration - content: - - name: Smithery Installation - prerequisites: - - Node.js - content: | - { - "command": "npx", - "args": ["-y", "@smithery/cli", "install", "@Verodat/verodat-mcp-server", "--client", "claude"] - } - - name: Node.js - Consume Tools - content: | - { - "command": "node", - "args": ["{{VERODAT_PATH}}/build/src/consume.js"], - "env": { - "VERODAT_AI_API_KEY": "{{VERODAT_AI_API_KEY}}", - "VERODAT_API_BASE_URL": "{{VERODAT_API_BASE_URL}}" - } - } - - name: Node.js - Design Tools - content: | - { - "command": "node", - "args": ["{{VERODAT_PATH}}/build/src/design.js"], - "env": { - "VERODAT_AI_API_KEY": "{{VERODAT_AI_API_KEY}}", - "VERODAT_API_BASE_URL": "{{VERODAT_API_BASE_URL}}" - } - } - - name: Node.js - Manage Tools - content: | - { - "command": "node", - "args": ["{{VERODAT_PATH}}/build/src/manage.js"], - "env": { - "VERODAT_AI_API_KEY": "{{VERODAT_AI_API_KEY}}", - "VERODAT_API_BASE_URL": "{{VERODAT_API_BASE_URL}}" - } - } - parameters: - - name: Verodat AI API Key - key: VERODAT_AI_API_KEY - placeholder: your_verodat_ai_api_key - - name: Verodat API Base URL - key: VERODAT_API_BASE_URL - placeholder: https://verodat.io/api/v3 - - name: Verodat MCP Path - key: VERODAT_PATH - placeholder: /path/to/verodat-mcp-server - optional: true - - id: watsonx - name: WatsonX Flows - description: - Enables integration with watsonx.ai Flows Engine, providing tools for Google Books and Wikipedia searches - through a TypeScript-based MCP server implementation. - author: IBM - url: https://github.com/IBM/wxflows/tree/main/examples/mcp/javascript - tags: - - watsonx - - flows-engine - - tool-integration - - search-tools - - ibm-cloud - content: - - name: Node.js - content: | - { - "command": "node", - "args": ["{{WXFLOWS_PATH}}/build/index.js"], - "env": { - "WXFLOWS_APIKEY": "{{WXFLOWS_APIKEY}}", - "WXFLOWS_ENDPOINT": "{{WXFLOWS_ENDPOINT}}" - } - } - - name: NPM Development - content: | - { - "command": "npm", - "args": ["start"], - "cwd": "{{WXFLOWS_PATH}}", - "env": { - "WXFLOWS_APIKEY": "{{WXFLOWS_APIKEY}}", - "WXFLOWS_ENDPOINT": "{{WXFLOWS_ENDPOINT}}" - } - } - parameters: - - name: WatsonX API Key - key: WXFLOWS_APIKEY - placeholder: your_wxflows_api_key - - name: WatsonX Endpoint - key: WXFLOWS_ENDPOINT - placeholder: your_wxflows_endpoint - - name: WatsonX Flows Path - key: WXFLOWS_PATH - placeholder: /path/to/wxflows/examples/mcp/javascript - optional: true - id: youtube name: YouTube Subtitles description: Downloads and extracts YouTube video subtitles using yt-dlp, enabling AI assistants to analyze and diff --git a/src/core/config/__tests__/ContextProxy.spec.ts b/src/core/config/__tests__/ContextProxy.spec.ts index 5d78e16351..4766f87112 100644 --- a/src/core/config/__tests__/ContextProxy.spec.ts +++ b/src/core/config/__tests__/ContextProxy.spec.ts @@ -739,25 +739,6 @@ describe("ContextProxy", () => { }) describe("setProviderSettings", () => { - it("stores and returns the complete IO Intelligence configuration across secret and global state", async () => { - await proxy.setProviderSettings({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "ionet-secret", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - - expect(mockSecrets.store).toHaveBeenCalledWith("ioIntelligenceApiKey", "ionet-secret") - expect(mockGlobalState.update).toHaveBeenCalledWith( - "ioIntelligenceModelId", - "meta-llama/Llama-3.3-70B-Instruct", - ) - expect(proxy.getProviderSettings()).toMatchObject({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "ionet-secret", - ioIntelligenceModelId: "meta-llama/Llama-3.3-70B-Instruct", - }) - }) - it("stores and returns the complete NanoGPT configuration across secret and global state", async () => { await proxy.setProviderSettings({ apiProvider: providerIdentifiers.nanogpt, diff --git a/src/core/webview/__tests__/ClineProvider.spec.ts b/src/core/webview/__tests__/ClineProvider.spec.ts index f0f8c26ef0..b77792e15b 100644 --- a/src/core/webview/__tests__/ClineProvider.spec.ts +++ b/src/core/webview/__tests__/ClineProvider.spec.ts @@ -7185,7 +7185,6 @@ describe("ClineProvider - Router Models", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, @@ -7222,7 +7221,6 @@ describe("ClineProvider - Router Models", () => { .mockRejectedValueOnce(new Error("LiteLLM connection failed")) // litellm fail .mockResolvedValueOnce(mockModels) // opencode-go (public endpoint) .mockResolvedValueOnce(mockModels) // kenari (public endpoint) - .mockResolvedValueOnce(mockModels) // io-intelligence (public endpoint) .mockResolvedValueOnce(mockModels) // nanogpt (public endpoint) .mockResolvedValueOnce(mockModels) // friendli (public endpoint) @@ -7245,7 +7243,6 @@ describe("ClineProvider - Router Models", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, @@ -7352,7 +7349,6 @@ describe("ClineProvider - Router Models", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, diff --git a/src/core/webview/__tests__/webviewMessageHandler.routerModels.spec.ts b/src/core/webview/__tests__/webviewMessageHandler.routerModels.spec.ts index 2107a85a9c..b7da723414 100644 --- a/src/core/webview/__tests__/webviewMessageHandler.routerModels.spec.ts +++ b/src/core/webview/__tests__/webviewMessageHandler.routerModels.spec.ts @@ -134,8 +134,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: @@ -206,8 +204,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: @@ -259,8 +255,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: @@ -511,103 +505,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { expect(getModelsMock).toHaveBeenCalledWith(deepSeekOptions, handlerForProvider(providerIdentifiers.deepseek)) }) - // One catalog per IO Intelligence key, so a fetch made with the wrong key publishes the wrong catalog. - const ioIntelligenceCatalogs: Record< - string, - Record - > = { - "stored-io-key": { "io/stored-key-model": { contextWindow: 8192, supportsPromptCache: false } }, - "unsaved-io-key": { "io/unsaved-key-model": { contextWindow: 8192, supportsPromptCache: false } }, - "": { "io/public-model": { contextWindow: 8192, supportsPromptCache: false } }, - } - - const mockIoIntelligenceCatalogsByKey = () => { - const baseGetModels = getModelsMock.getMockImplementation() - getModelsMock.mockImplementation(async (options) => - options?.provider === providerIdentifiers.ioIntelligence - ? ioIntelligenceCatalogs[options.apiKey] - : baseGetModels?.(options), - ) - } - - const expectPublishedIoIntelligenceCatalog = (apiKey: string) => { - expect(mockProvider.postMessageToWebview).toHaveBeenCalledWith( - expect.objectContaining({ - type: RouterModelsMessageType.routerModels, - routerModels: expect.objectContaining({ - [providerIdentifiers.ioIntelligence]: ioIntelligenceCatalogs[apiKey], - }), - }), - ) - } - - it("fetches IO Intelligence models with the stored key and does not flush the cache", async () => { - mockProvider.getState.mockResolvedValue({ - apiConfiguration: { ioIntelligenceApiKey: "stored-io-key" }, - }) - mockIoIntelligenceCatalogsByKey() - - await webviewMessageHandler(mockProvider, { - type: RouterModelsMessageType.requestRouterModels, - }) - - const ioFlushCalls = flushModelsMock.mock.calls.filter( - (c) => c[0]?.provider === providerIdentifiers.ioIntelligence, - ) - expect(ioFlushCalls.length).toBe(0) - - const ioCalls = getModelsMock.mock.calls.filter((c) => c[0]?.provider === providerIdentifiers.ioIntelligence) - expect(ioCalls.length).toBe(1) - expect(ioCalls[0][0]).toEqual({ provider: providerIdentifiers.ioIntelligence, apiKey: "stored-io-key" }) - expectPublishedIoIntelligenceCatalog("stored-io-key") - }) - - it("flushes IO Intelligence models with an unsaved key from message values instead of the stored key", async () => { - mockProvider.getState.mockResolvedValue({ - apiConfiguration: { ioIntelligenceApiKey: "stored-io-key" }, - }) - mockIoIntelligenceCatalogsByKey() - - await webviewMessageHandler(mockProvider, { - type: RouterModelsMessageType.requestRouterModels, - values: { ioIntelligenceApiKey: "unsaved-io-key" }, - }) - - const ioFlushCalls = flushModelsMock.mock.calls.filter( - (c) => c[0]?.provider === providerIdentifiers.ioIntelligence, - ) - expect(ioFlushCalls.length).toBe(1) - expect(ioFlushCalls[0][0]).toEqual({ provider: providerIdentifiers.ioIntelligence, apiKey: "unsaved-io-key" }) - - const ioCalls = getModelsMock.mock.calls.filter((c) => c[0]?.provider === providerIdentifiers.ioIntelligence) - expect(ioCalls.length).toBe(1) - expect(ioCalls[0][0]).toEqual({ provider: providerIdentifiers.ioIntelligence, apiKey: "unsaved-io-key" }) - expectPublishedIoIntelligenceCatalog("unsaved-io-key") - }) - - it("treats an explicitly empty unsaved IO Intelligence key as the public catalog, not the stored key", async () => { - mockProvider.getState.mockResolvedValue({ - apiConfiguration: { ioIntelligenceApiKey: "stored-io-key" }, - }) - mockIoIntelligenceCatalogsByKey() - - await webviewMessageHandler(mockProvider, { - type: RouterModelsMessageType.requestRouterModels, - values: { ioIntelligenceApiKey: "" }, - }) - - const ioFlushCalls = flushModelsMock.mock.calls.filter( - (c) => c[0]?.provider === providerIdentifiers.ioIntelligence, - ) - expect(ioFlushCalls.length).toBe(1) - expect(ioFlushCalls[0][0]).toEqual({ provider: providerIdentifiers.ioIntelligence, apiKey: "" }) - - const ioCalls = getModelsMock.mock.calls.filter((c) => c[0]?.provider === providerIdentifiers.ioIntelligence) - expect(ioCalls.length).toBe(1) - expect(ioCalls[0][0]).toEqual({ provider: providerIdentifiers.ioIntelligence, apiKey: "" }) - expectPublishedIoIntelligenceCatalog("") - }) - it("fetches Moonshot models when stored Moonshot credentials exist", async () => { mockProvider.getState.mockResolvedValue({ apiConfiguration: { @@ -628,8 +525,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: @@ -720,8 +615,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: @@ -773,8 +666,6 @@ describe("webviewMessageHandler - requestRouterModels provider filter", () => { return { "requesty/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.vercelAiGateway: return { "vercel/model": { contextWindow: 8192, supportsPromptCache: false } } - case providerIdentifiers.ioIntelligence: - return { "io/model": { contextWindow: 8192, supportsPromptCache: false } } case providerIdentifiers.litellm: return { "litellm/model": { contextWindow: 8192, supportsPromptCache: false } } default: diff --git a/src/core/webview/__tests__/webviewMessageHandler.spec.ts b/src/core/webview/__tests__/webviewMessageHandler.spec.ts index d49a9f9c1a..e1cc7dc844 100644 --- a/src/core/webview/__tests__/webviewMessageHandler.spec.ts +++ b/src/core/webview/__tests__/webviewMessageHandler.spec.ts @@ -1186,11 +1186,6 @@ describe("webviewMessageHandler - requestRouterModels", () => { expect.objectContaining({ provider: providerIdentifiers.kenari }), expect.anything(), ) - // IO Intelligence's /models catalog is public and may optionally be scoped by a key. - expect(mockGetModels).toHaveBeenCalledWith( - { provider: providerIdentifiers.ioIntelligence, apiKey: undefined }, - expect.anything(), - ) // NanoGPT's detailed catalog is public and may optionally be scoped by a key. expect(mockGetModels).toHaveBeenCalledWith( { provider: providerIdentifiers.nanogpt, apiKey: undefined }, @@ -1214,7 +1209,6 @@ describe("webviewMessageHandler - requestRouterModels", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, @@ -1514,7 +1508,6 @@ describe("webviewMessageHandler - requestRouterModels", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, @@ -1543,7 +1536,6 @@ describe("webviewMessageHandler - requestRouterModels", () => { .mockRejectedValueOnce(new Error("LiteLLM connection failed")) // litellm .mockResolvedValueOnce(mockModels) // opencode-go .mockResolvedValueOnce(mockModels) // kenari - .mockResolvedValueOnce(mockModels) // io-intelligence .mockResolvedValueOnce(mockModels) // nanogpt await webviewMessageHandler(mockClineProvider, { @@ -1582,7 +1574,6 @@ describe("webviewMessageHandler - requestRouterModels", () => { moonshot: {}, "opencode-go": mockModels, kenari: mockModels, - "io-intelligence": mockModels, nanogpt: mockModels, "kimi-code": {}, friendli: mockModels, diff --git a/src/core/webview/webviewMessageHandler.ts b/src/core/webview/webviewMessageHandler.ts index d20efcb9db..6641ff259f 100644 --- a/src/core/webview/webviewMessageHandler.ts +++ b/src/core/webview/webviewMessageHandler.ts @@ -1222,7 +1222,6 @@ export const webviewMessageHandler = async ( [providerIdentifiers.moonshot]: {}, [providerIdentifiers.opencodeGo]: {}, [providerIdentifiers.kenari]: {}, - [providerIdentifiers.ioIntelligence]: {}, [providerIdentifiers.nanogpt]: {}, [providerIdentifiers.kimiCode]: {}, [providerIdentifiers.friendli]: {}, @@ -1406,22 +1405,6 @@ export const webviewMessageHandler = async ( options: { provider: providerIdentifiers.kenari, apiKey: kenariApiKey }, }) - // IO Intelligence's /models catalog is public; an optional key can scope - // the visible model set. Prefer an explicitly supplied unsaved key. - const ioIntelligenceApiKey = message?.values?.ioIntelligenceApiKey ?? apiConfiguration.ioIntelligenceApiKey - if (message?.values?.ioIntelligenceApiKey !== undefined) { - await flushModels( - { provider: providerIdentifiers.ioIntelligence, apiKey: ioIntelligenceApiKey }, - handlerFor(apiConfiguration, providerIdentifiers.ioIntelligence), - true, - ) - } - - candidates.push({ - key: providerIdentifiers.ioIntelligence, - options: { provider: providerIdentifiers.ioIntelligence, apiKey: ioIntelligenceApiKey }, - }) - // NanoGPT's detailed catalog is public, while an optional key can expose a // different allowlist. Prefer an explicitly supplied unsaved key and use the // same key-scoped options for refresh and retrieval. diff --git a/src/shared/__tests__/ProfileValidator.spec.ts b/src/shared/__tests__/ProfileValidator.spec.ts index 6e8f404872..f480897430 100644 --- a/src/shared/__tests__/ProfileValidator.spec.ts +++ b/src/shared/__tests__/ProfileValidator.spec.ts @@ -31,7 +31,6 @@ describe("ProfileValidator", () => { ["ollama", { ollamaModelId: "model" }], ["requesty", { requestyModelId: "model" }], ["unbound", { unboundModelId: "model" }], - ["ioIntelligence", { ioIntelligenceModelId: "model" }], ["poe", { apiModelId: "model" }], ["moonshot", { apiModelId: "model" }], ["kimiCode", { apiModelId: "model" }], @@ -302,23 +301,23 @@ describe("ProfileValidator", () => { expect(ProfileValidator.isProfileAllowed(profile, allowList)).toBe(true) }) - // Test for io-intelligence provider which uses ioIntelligenceModelId - it(`should extract ioIntelligenceModelId for io-intelligence provider`, () => { + // Test for nanogpt provider which uses nanoGptModelId + it(`should extract nanoGptModelId for nanogpt provider`, () => { const allowList: OrganizationAllowList = { allowAll: false, providers: { - [providerIdentifiers.ioIntelligence]: { allowAll: false, models: ["test-model"] }, + [providerIdentifiers.nanogpt]: { allowAll: false, models: ["test-model"] }, }, } const profile: ProviderSettings = { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "test-model", + apiProvider: providerIdentifiers.nanogpt, + nanoGptModelId: "test-model", } expect(ProfileValidator.isProfileAllowed(profile, allowList)).toBe(true) - expect( - ProfileValidator.isProfileAllowed({ ...profile, ioIntelligenceModelId: "other-model" }, allowList), - ).toBe(false) + expect(ProfileValidator.isProfileAllowed({ ...profile, nanoGptModelId: "other-model" }, allowList)).toBe( + false, + ) }) it("should extract vsCodeLmModelSelector.id for vscode-lm provider", () => { diff --git a/src/shared/api.ts b/src/shared/api.ts index 31197482ec..d65ee30ace 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -184,7 +184,6 @@ const _dynamicProviderExtras = { [providerIdentifiers.moonshot]: {} as { apiKey?: string; baseUrl?: string }, [providerIdentifiers.opencodeGo]: {} as { apiKey?: string }, [providerIdentifiers.kenari]: {} as { apiKey?: string }, - [providerIdentifiers.ioIntelligence]: {} as { apiKey?: string }, [providerIdentifiers.nanogpt]: {} as { apiKey?: string }, [providerIdentifiers.kimiCode]: {} as { apiKey?: string }, [providerIdentifiers.friendli]: {} as object, diff --git a/webview-ui/playwright/gallery/stories.tsx b/webview-ui/playwright/gallery/stories.tsx index b4959e8cca..818e69d199 100644 --- a/webview-ui/playwright/gallery/stories.tsx +++ b/webview-ui/playwright/gallery/stories.tsx @@ -290,39 +290,6 @@ export const stories: Record = { ) }, - "io-intelligence-settings": async () => { - const [{ AppProviders }, { IOIntelligence }, { providerIdentifiers }] = await Promise.all([ - import("../AppProviders"), - import("@/components/settings/providers/IOIntelligence"), - import("@roo-code/types"), - ]) - type ProviderSettings = React.ComponentProps["apiConfiguration"] - - function IOIntelligenceSettingsStory() { - const [apiConfiguration, setApiConfiguration] = useState({ - apiProvider: providerIdentifiers.ioIntelligence, - }) - return ( -
-
- - setApiConfiguration((current) => ({ ...current, [field]: value })) - } - organizationAllowList={{ allowAll: true, providers: {} }} - /> -
-
- ) - } - - return ( - - - - ) - }, "layout-clipped-text": () => (
diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index 27c9e230b1..aff93a377b 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -86,7 +86,6 @@ import { VercelAiGateway, OpenCodeGo, Kenari, - IOIntelligence, NanoGPT, ZooGateway, MiniMax, @@ -716,17 +715,6 @@ const ApiOptions = ({ /> )} - {selectedProvider === providerIdentifiers.ioIntelligence && ( - - )} - {selectedProvider === providerIdentifiers.nanogpt && ( { VercelAiGateway: provider("provider-vercel-ai-gateway"), OpenCodeGo: provider("provider-opencode-go"), Kenari: provider("provider-kenari"), - IOIntelligence: provider("provider-io-intelligence"), NanoGPT: provider("provider-nanogpt"), ZooGateway: provider("provider-zoo-gateway"), MiniMax: provider("provider-minimax"), @@ -404,7 +403,6 @@ describe("ApiOptions interactions", () => { providerIdentifiers.vercelAiGateway, providerIdentifiers.opencodeGo, providerIdentifiers.kenari, - providerIdentifiers.ioIntelligence, providerIdentifiers.nanogpt, providerIdentifiers.zooGateway, providerIdentifiers.fireworks, diff --git a/webview-ui/src/components/settings/__tests__/ApiOptions.provider-filtering.spec.tsx b/webview-ui/src/components/settings/__tests__/ApiOptions.provider-filtering.spec.tsx index 97a0996480..90f62f5fee 100644 --- a/webview-ui/src/components/settings/__tests__/ApiOptions.provider-filtering.spec.tsx +++ b/webview-ui/src/components/settings/__tests__/ApiOptions.provider-filtering.spec.tsx @@ -292,7 +292,6 @@ describe("ApiOptions Provider Filtering", () => { expect(providerValues).toContain("ollama") expect(providerValues).toContain("lmstudio") expect(providerValues).toContain("litellm") - expect(providerValues).toContain("io-intelligence") expect(providerValues).toContain("requesty") }) diff --git a/webview-ui/src/components/settings/__tests__/ApiOptions.spec.tsx b/webview-ui/src/components/settings/__tests__/ApiOptions.spec.tsx index 9a8ed5441b..faa4cd32fc 100644 --- a/webview-ui/src/components/settings/__tests__/ApiOptions.spec.tsx +++ b/webview-ui/src/components/settings/__tests__/ApiOptions.spec.tsx @@ -517,7 +517,6 @@ describe("ApiOptions", () => { expect(optionTexts).toContain("OpenAI") expect(optionTexts).toContain("Anthropic") expect(optionTexts).toContain("NanoGPT") - expect(optionTexts).toContain("IO Intelligence") // Note: The mock doesn't implement search functionality, so we're just verifying // that the select element is rendered with the expected options diff --git a/webview-ui/src/components/settings/__tests__/ModelPicker.spec.tsx b/webview-ui/src/components/settings/__tests__/ModelPicker.spec.tsx index aca8836ae2..2dce9555e9 100644 --- a/webview-ui/src/components/settings/__tests__/ModelPicker.spec.tsx +++ b/webview-ui/src/components/settings/__tests__/ModelPicker.spec.tsx @@ -7,7 +7,6 @@ import { type Mock } from "vitest" import { bedrockDefaultModelId, - ioIntelligenceDefaultModelId, litellmDefaultModelId, type ModelInfo, type ProviderSettings, @@ -372,86 +371,6 @@ describe("ModelPicker", () => { }) }) - describe("IO Intelligence custom model selection", () => { - const ioIntelligenceModels: Record = { - "meta-llama/Llama-3.3-70B-Instruct": { description: "Catalog model", ...modelInfo }, - } - - const renderIOIntelligencePicker = (apiConfiguration: ProviderSettings, setField: SetApiConfigurationField) => - renderWithExtensionState( - , - { queryClient }, - ) - - beforeEach(() => { - mockUseRouterModels.mockReturnValue(createRouterModelsResult({ "io-intelligence": ioIntelligenceModels })) - }) - - it("keeps a custom model ID in the picker instead of reverting to the default", async () => { - // The stored id is what the handler sends requests with, so the picker - // must keep displaying it even though the fetched catalog lacks it. - const customModelId = "custom-org/custom-model" - let apiConfiguration: ProviderSettings = { apiProvider: providerIdentifiers.ioIntelligence } - const setField = vi.fn(function (field: K, value: ProviderSettings[K]) { - apiConfiguration = { ...apiConfiguration, [field]: value } - }) - - const { rerender } = await act(async () => { - return renderIOIntelligencePicker(apiConfiguration, setField) - }) - - expect(screen.getByTestId("model-picker-button")).toHaveTextContent(ioIntelligenceDefaultModelId) - - await act(async () => { - fireEvent.click(screen.getByTestId("model-picker-button")) - }) - await act(async () => { - vi.advanceTimersByTime(100) - }) - await act(async () => { - fireEvent.input(screen.getByTestId("model-input"), { target: { value: customModelId } }) - }) - await act(async () => { - vi.advanceTimersByTime(100) - }) - await act(async () => { - fireEvent.click(screen.getByTestId("use-custom-model")) - }) - await act(async () => { - vi.advanceTimersByTime(100) - }) - - expect(setField).toHaveBeenCalledWith("ioIntelligenceModelId", customModelId) - - await act(async () => { - rerender( - , - ) - }) - - expect(screen.getByTestId("model-picker-button")).toHaveTextContent(customModelId) - expect(screen.getByTestId("model-picker-button")).not.toHaveTextContent(ioIntelligenceDefaultModelId) - }) - }) - describe("Bedrock pasted ARN", () => { const appProfileArn = "arn:aws:bedrock:us-west-2:123456789012:application-inference-profile/abcd1234efgh" const bedrockModels = getStaticModelsForProvider(providerIdentifiers.bedrock) diff --git a/webview-ui/src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx b/webview-ui/src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx index 1bc4ab1afb..758161c148 100644 --- a/webview-ui/src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx +++ b/webview-ui/src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx @@ -757,85 +757,4 @@ describe("SettingsView - Unsaved Changes Detection", () => { expect(onDone).toHaveBeenCalledOnce() expect(postMessage).not.toHaveBeenCalledWith(expect.objectContaining({ type: "upsertApiConfiguration" })) }) - - it("buffers and saves the complete IO Intelligence provider configuration from cached state", async () => { - const liveApiConfiguration = { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "original-key", - ioIntelligenceModelId: "meta-llama/original", - } - ;(useExtensionState as ReturnType).mockReturnValue({ - ...defaultExtensionState, - apiConfiguration: liveApiConfiguration, - }) - vi.mocked(ApiOptions).mockImplementation(({ apiConfiguration, setApiConfigurationField }) => ( -
- setApiConfigurationField("ioIntelligenceApiKey", event.target.value)} - /> - setApiConfigurationField("ioIntelligenceModelId", event.target.value)} - /> -
- )) - - renderWithExtensionState(, { queryClient }) - - expect(await screen.findByTestId("cached-ionet-key")).toHaveValue("original-key") - expect(screen.getByTestId("cached-ionet-model")).toHaveValue("meta-llama/original") - - fireEvent.change(screen.getByTestId("cached-ionet-key"), { target: { value: "unsaved-key" } }) - fireEvent.change(screen.getByTestId("cached-ionet-model"), { target: { value: "zai-org/next" } }) - - expect(liveApiConfiguration).toEqual({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "original-key", - ioIntelligenceModelId: "meta-llama/original", - }) - expect(postMessage).not.toHaveBeenCalledWith(expect.objectContaining({ type: "upsertApiConfiguration" })) - - fireEvent.click(screen.getByTestId("save-button")) - - expect(postMessage).toHaveBeenCalledWith({ - type: "upsertApiConfiguration", - text: "default", - apiConfiguration: { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "unsaved-key", - ioIntelligenceModelId: "zai-org/next", - }, - }) - }) - - it("discards IO Intelligence cached edits and restores the extension values", async () => { - const onDone = vi.fn() - ;(useExtensionState as ReturnType).mockReturnValue({ - ...defaultExtensionState, - apiConfiguration: { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "saved-key", - ioIntelligenceModelId: "meta-llama/saved", - }, - }) - vi.mocked(ApiOptions).mockImplementation(({ apiConfiguration, setApiConfigurationField }) => ( - setApiConfigurationField("ioIntelligenceApiKey", event.target.value)} - /> - )) - - renderWithExtensionState(, { queryClient }) - fireEvent.change(await screen.findByTestId("cached-ionet-key"), { target: { value: "discard-me" } }) - fireEvent.click(screen.getByText("settings:common.done")) - fireEvent.click(await screen.findByText("settings:unsavedChangesDialog.discardButton")) - - await waitFor(() => expect(screen.getByTestId("cached-ionet-key")).toHaveValue("saved-key")) - expect(onDone).toHaveBeenCalledOnce() - expect(postMessage).not.toHaveBeenCalledWith(expect.objectContaining({ type: "upsertApiConfiguration" })) - }) }) diff --git a/webview-ui/src/components/settings/constants.ts b/webview-ui/src/components/settings/constants.ts index 8590e536fe..468010ef6b 100644 --- a/webview-ui/src/components/settings/constants.ts +++ b/webview-ui/src/components/settings/constants.ts @@ -71,7 +71,6 @@ export const PROVIDERS: Array<{ value: string; label: string; proxy: boolean }> { value: providerIdentifiers.vercelAiGateway, label: "Vercel AI Gateway", proxy: false }, { value: providerIdentifiers.opencodeGo, label: "Opencode Go", proxy: false }, { value: providerIdentifiers.kenari, label: "Kenari", proxy: false }, - { value: providerIdentifiers.ioIntelligence, label: "IO Intelligence", proxy: false }, { value: providerIdentifiers.nanogpt, label: "NanoGPT", proxy: false }, { value: providerIdentifiers.zooGateway, label: "Zoo Gateway", proxy: false }, { value: providerIdentifiers.minimax, label: "MiniMax", proxy: false }, diff --git a/webview-ui/src/components/settings/providers/IOIntelligence.tsx b/webview-ui/src/components/settings/providers/IOIntelligence.tsx deleted file mode 100644 index 07a3a1d8bc..0000000000 --- a/webview-ui/src/components/settings/providers/IOIntelligence.tsx +++ /dev/null @@ -1,102 +0,0 @@ -import { useCallback } from "react" -import { useDebounce } from "react-use" -import { VSCodeTextField } from "@vscode/webview-ui-toolkit/react" - -import { - type OrganizationAllowList, - type ProviderSettings, - type RouterModels, - ioIntelligenceDefaultModelId, - providerIdentifiers, - RouterModelsMessageType, -} from "@roo-code/types" - -import { VSCodeButtonLink } from "@src/components/common/VSCodeButtonLink" -import { useAppTranslation } from "@src/i18n/TranslationContext" -import { vscode } from "@src/utils/vscode" - -import { ModelPicker } from "../ModelPicker" -import { inputEventTransform } from "../transforms" - -type IOIntelligenceProps = { - apiConfiguration: ProviderSettings - setApiConfigurationField: (field: K, value: ProviderSettings[K]) => void - routerModels?: RouterModels - organizationAllowList: OrganizationAllowList - modelValidationError?: string - simplifySettings?: boolean -} - -export const IOIntelligence = ({ - apiConfiguration, - setApiConfigurationField, - routerModels, - organizationAllowList, - modelValidationError, - simplifySettings, -}: IOIntelligenceProps) => { - const { t } = useAppTranslation() - - const handleInputChange = useCallback( - ( - field: K, - transform: (event: E) => ProviderSettings[K] = inputEventTransform, - ) => - (event: E | Event) => { - setApiConfigurationField(field, transform(event as E)) - }, - [setApiConfigurationField], - ) - - // Debounced model refresh, only executed 250ms after the user stops - // typing the key (same cadence as the provider refreshes in ApiOptions), - // so each keystroke does not trigger a catalog request. - useDebounce( - () => { - vscode.postMessage({ - type: RouterModelsMessageType.requestRouterModels, - values: { - provider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: apiConfiguration.ioIntelligenceApiKey, - }, - }) - }, - 250, - [apiConfiguration.ioIntelligenceApiKey], - ) - - return ( - <> - - - -
- {t("settings:providers.apiKeyStorageNotice")} -
- {!apiConfiguration.ioIntelligenceApiKey && ( - - {t("settings:providers.ioIntelligence.getApiKey")} - - )} - - - - ) -} diff --git a/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.spec.tsx b/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.spec.tsx deleted file mode 100644 index 954fd92c8d..0000000000 --- a/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.spec.tsx +++ /dev/null @@ -1,182 +0,0 @@ -import { act, fireEvent, render, screen } from "@testing-library/react" - -import { - type OrganizationAllowList, - type ProviderSettings, - type RouterModels, - ioIntelligenceDefaultModelId, - providerIdentifiers, - RouterModelsMessageType, -} from "@roo-code/types" - -import { IOIntelligence } from "../IOIntelligence" - -const { postMessageMock } = vi.hoisted(() => ({ postMessageMock: vi.fn() })) - -vi.mock("@src/utils/vscode", () => ({ vscode: { postMessage: postMessageMock } })) - -vi.mock("@src/i18n/TranslationContext", () => ({ - useAppTranslation: () => ({ t: (key: string) => key }), -})) - -vi.mock("@vscode/webview-ui-toolkit/react", () => ({ - VSCodeTextField: ({ - children, - value, - onInput, - type, - }: React.ComponentProps<"input"> & { children: React.ReactNode }) => ( -
- {children} - -
- ), -})) - -vi.mock("@src/components/common/VSCodeButtonLink", () => ({ - VSCodeButtonLink: ({ children, href }: React.ComponentProps<"a">) => ( - - {children} - - ), -})) - -vi.mock("../../ModelPicker", () => ({ - ModelPicker: ({ - defaultModelId, - models, - modelIdKey, - serviceName, - }: { - defaultModelId: string - models: object - modelIdKey: string - serviceName: string - }) => ( -
- ), -})) - -describe("IOIntelligence", () => { - const organizationAllowList: OrganizationAllowList = { allowAll: true, providers: {} } - const setApiConfigurationField = vi.fn() - const routerModels: RouterModels = { - openrouter: {}, - "vercel-ai-gateway": {}, - "zoo-gateway": {}, - litellm: {}, - requesty: {}, - unbound: {}, - poe: {}, - deepseek: {}, - moonshot: {}, - "opencode-go": {}, - kenari: {}, - nanogpt: {}, - "io-intelligence": { - "meta-llama/Llama-3.3-70B-Instruct": { contextWindow: 128000, maxTokens: 8192, supportsPromptCache: false }, - }, - "kimi-code": {}, - friendli: {}, - ollama: {}, - lmstudio: {}, - } - - const renderComponent = (apiConfiguration: ProviderSettings = {}) => - render( - , - ) - - beforeEach(() => vi.clearAllMocks()) - - afterEach(() => vi.useRealTimers()) - - it("renders the secret key input, CTA, and dynamic model picker", () => { - renderComponent({ ioIntelligenceApiKey: "stored" }) - - expect(screen.getByTestId("ionet-api-key")).toHaveAttribute("type", "password") - expect(screen.getByText("settings:providers.ioIntelligence.apiKey")).toBeInTheDocument() - expect(screen.queryByTestId("ionet-get-key")).not.toBeInTheDocument() - expect(screen.getByTestId("model-picker")).toHaveAttribute( - "data-default-model-id", - ioIntelligenceDefaultModelId, - ) - expect(screen.getByTestId("model-picker")).toHaveAttribute("data-model-id-key", "ioIntelligenceModelId") - expect(screen.getByTestId("model-picker")).toHaveAttribute("data-model-count", "1") - expect(screen.getByText("settings:providers.apiKeyStorageNotice")).toBeInTheDocument() - }) - - it("shows the get-key CTA only when no key is configured", () => { - renderComponent({}) - - expect(screen.getByTestId("ionet-get-key")).toHaveAttribute("href", "https://ai.io.net/ai/api-keys") - expect(screen.getByText("settings:providers.ioIntelligence.getApiKey")).toBeInTheDocument() - }) - - it("updates the cached key with exact values", () => { - renderComponent({ ioIntelligenceApiKey: "" }) - - fireEvent.input(screen.getByTestId("ionet-api-key"), { target: { value: "new-secret" } }) - - expect(setApiConfigurationField).toHaveBeenCalledWith("ioIntelligenceApiKey", "new-secret") - }) - - it("refreshes models with the unsaved cached key 250ms after it stops changing", () => { - vi.useFakeTimers() - const rerenderWithKey = (rerender: ReturnType["rerender"], ioIntelligenceApiKey: string) => - rerender( - , - ) - - const { rerender } = renderComponent({ ioIntelligenceApiKey: "first-key" }) - - act(() => vi.advanceTimersByTime(249)) - expect(postMessageMock).not.toHaveBeenCalled() - act(() => vi.advanceTimersByTime(1)) - expect(postMessageMock).toHaveBeenCalledTimes(1) - expect(postMessageMock).toHaveBeenLastCalledWith({ - type: RouterModelsMessageType.requestRouterModels, - values: { provider: providerIdentifiers.ioIntelligence, ioIntelligenceApiKey: "first-key" }, - }) - - // Each edit restarts the timer, so intermediate values never reach the host. - rerenderWithKey(rerender, "unsaved-") - act(() => vi.advanceTimersByTime(200)) - rerenderWithKey(rerender, "unsaved-key") - act(() => vi.advanceTimersByTime(249)) - expect(postMessageMock).toHaveBeenCalledTimes(1) - - act(() => vi.advanceTimersByTime(1)) - expect(postMessageMock).toHaveBeenCalledTimes(2) - expect(postMessageMock).toHaveBeenLastCalledWith({ - type: RouterModelsMessageType.requestRouterModels, - values: { provider: providerIdentifiers.ioIntelligence, ioIntelligenceApiKey: "unsaved-key" }, - }) - }) - - it("drops a pending model refresh when it unmounts", () => { - vi.useFakeTimers() - const { unmount } = renderComponent({ ioIntelligenceApiKey: "first-key" }) - - unmount() - act(() => vi.advanceTimersByTime(250)) - - expect(postMessageMock).not.toHaveBeenCalled() - }) -}) diff --git a/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.visual.tsx b/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.visual.tsx deleted file mode 100644 index f845abe39e..0000000000 --- a/webview-ui/src/components/settings/providers/__tests__/IOIntelligence.visual.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { expect, test } from "../../../../../playwright/coverage-fixture" -import { mountedStory } from "../../../../../playwright/mounted-story" - -test("renders the IO Intelligence settings for an unconfigured profile", async ({ mount, page }) => { - await page.setViewportSize({ width: 480, height: 480 }) - const component = mountedStory(await mount("io-intelligence-settings")) - const story = component.getByTestId("io-intelligence-settings-story") - - await expect(story).toHaveScreenshot("io-intelligence-settings.png") -}) diff --git a/webview-ui/src/components/settings/providers/__tests__/NanoGPT.spec.tsx b/webview-ui/src/components/settings/providers/__tests__/NanoGPT.spec.tsx index a78ab39a1b..bdc76a0add 100644 --- a/webview-ui/src/components/settings/providers/__tests__/NanoGPT.spec.tsx +++ b/webview-ui/src/components/settings/providers/__tests__/NanoGPT.spec.tsx @@ -103,7 +103,6 @@ describe("NanoGPT", () => { "opencode-go": {}, kenari: {}, nanogpt: { "openai/test": { contextWindow: 1, maxTokens: 1, supportsPromptCache: false } }, - "io-intelligence": {}, "kimi-code": {}, friendli: {}, ollama: {}, diff --git a/webview-ui/src/components/settings/providers/index.ts b/webview-ui/src/components/settings/providers/index.ts index ee583e563e..12ea4cd786 100644 --- a/webview-ui/src/components/settings/providers/index.ts +++ b/webview-ui/src/components/settings/providers/index.ts @@ -26,7 +26,6 @@ export { Friendli } from "./Friendli" export { VercelAiGateway } from "./VercelAiGateway" export { OpenCodeGo } from "./OpenCodeGo" export { Kenari } from "./Kenari" -export { IOIntelligence } from "./IOIntelligence" export { NanoGPT } from "./NanoGPT" export { ZooGateway } from "./ZooGateway" export { MiniMax } from "./MiniMax" diff --git a/webview-ui/src/components/settings/utils/__tests__/providerModelConfig.spec.ts b/webview-ui/src/components/settings/utils/__tests__/providerModelConfig.spec.ts index ee0c1103d1..5ee319ada1 100644 --- a/webview-ui/src/components/settings/utils/__tests__/providerModelConfig.spec.ts +++ b/webview-ui/src/components/settings/utils/__tests__/providerModelConfig.spec.ts @@ -2,7 +2,6 @@ import { type RouterModels, anthropicDefaultModelId, friendliModels, - ioIntelligenceDefaultModelId, mainlandZAiDefaultModelId, nanoGptDefaultModelId, providerIdentifiers, @@ -187,13 +186,6 @@ describe("providerModelConfig", () => { default: nanoGptDefaultModelId, }) }) - - it("returns IO Intelligence's dynamic model field and fallback", () => { - expect(getProviderModelConfig(providerIdentifiers.ioIntelligence)).toEqual({ - field: "ioIntelligenceModelId", - default: ioIntelligenceDefaultModelId, - }) - }) }) describe("getProviderDocsSlug", () => { diff --git a/webview-ui/src/components/settings/utils/providerModelConfig.ts b/webview-ui/src/components/settings/utils/providerModelConfig.ts index 474755e124..c70a36a90d 100644 --- a/webview-ui/src/components/settings/utils/providerModelConfig.ts +++ b/webview-ui/src/components/settings/utils/providerModelConfig.ts @@ -28,7 +28,6 @@ import { vercelAiGatewayDefaultModelId, opencodeGoDefaultModelId, kenariDefaultModelId, - ioIntelligenceDefaultModelId, nanoGptDefaultModelId, zooGatewayDefaultModelId, getZAiModels, @@ -144,10 +143,6 @@ const PROVIDER_MODEL_CONFIG: Partial> }, [providerIdentifiers.opencodeGo]: { field: "opencodeGoModelId", default: opencodeGoDefaultModelId }, [providerIdentifiers.kenari]: { field: "kenariModelId", default: kenariDefaultModelId }, - [providerIdentifiers.ioIntelligence]: { - field: "ioIntelligenceModelId", - default: ioIntelligenceDefaultModelId, - }, [providerIdentifiers.nanogpt]: { field: "nanoGptModelId", default: nanoGptDefaultModelId }, [providerIdentifiers.zooGateway]: { field: "zooGatewayModelId", default: zooGatewayDefaultModelId }, [providerIdentifiers.openai]: { field: "openAiModelId" }, diff --git a/webview-ui/src/components/ui/hooks/__tests__/useSelectedModel.spec.ts b/webview-ui/src/components/ui/hooks/__tests__/useSelectedModel.spec.ts index db0ac6d7b1..5721213679 100644 --- a/webview-ui/src/components/ui/hooks/__tests__/useSelectedModel.spec.ts +++ b/webview-ui/src/components/ui/hooks/__tests__/useSelectedModel.spec.ts @@ -18,8 +18,6 @@ import { BEDROCK_MAX_TOKENS, bedrockModels, litellmDefaultModelInfo, - ioIntelligenceDefaultModelId, - ioIntelligenceDefaultModelInfo, kenariDefaultModelId, kenariDefaultModelInfo, nanoGptDefaultModelId, @@ -1289,102 +1287,6 @@ describe("useSelectedModel", () => { }) }) - describe("io-intelligence provider", () => { - it("uses dynamic metadata for the configured IO Intelligence model", () => { - const dynamicInfo: ModelInfo = { - maxTokens: 8_192, - contextWindow: 131_072, - supportsPromptCache: true, - description: "Dynamic IO Intelligence model", - } - mockUseRouterModels.mockReturnValue( - createRouterModelsResult({ "io-intelligence": { "zai-org/GLM-4.6": dynamicInfo } }), - ) - mockUseOpenRouterModelProviders.mockReturnValue(createOpenRouterModelProvidersResult({})) - - const { result } = renderHook( - () => - useSelectedModel({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "zai-org/GLM-4.6", - }), - { wrapper: createWrapper() }, - ) - - expect(result.current.id).toBe("zai-org/GLM-4.6") - expect(result.current.info).toEqual(dynamicInfo) - }) - - it("uses IO Intelligence's shared fallback when its dynamic catalog is empty", () => { - mockUseRouterModels.mockReturnValue(createRouterModelsResult({ "io-intelligence": {} })) - mockUseOpenRouterModelProviders.mockReturnValue(createOpenRouterModelProvidersResult({})) - - const { result } = renderHook( - () => - useSelectedModel({ - apiProvider: providerIdentifiers.ioIntelligence, - // ioIntelligenceModelId intentionally omitted - }), - { wrapper: createWrapper() }, - ) - - expect(result.current.id).toBe(ioIntelligenceDefaultModelId) - expect(result.current.info).toEqual(ioIntelligenceDefaultModelInfo) - }) - - it("preserves a configured model ID that is absent from the fetched catalog", () => { - mockUseRouterModels.mockReturnValue( - createRouterModelsResult({ - "io-intelligence": { - "meta-llama/Llama-3.3-70B-Instruct": { - maxTokens: 8_192, - contextWindow: 131_072, - supportsPromptCache: false, - }, - }, - }), - ) - mockUseOpenRouterModelProviders.mockReturnValue(createOpenRouterModelProvidersResult({})) - - const { result } = renderHook( - () => - useSelectedModel({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "custom-org/custom-model", - }), - { wrapper: createWrapper() }, - ) - - // The stored id is what requests are sent with, so the picker must show it - // rather than the default; only the metadata falls back. - expect(result.current.id).toBe("custom-org/custom-model") - expect(result.current.info).toEqual(ioIntelligenceDefaultModelInfo) - }) - - it("preserves the configured model ID when the catalog fetch errors", () => { - // A cold /models failure settles the router query with no data. The - // hook must still resolve and keep the configured ID (the handler - // sends requests with it) instead of resetting to the provider default. - mockUseRouterModels.mockReturnValue( - createRouterModelsResult(undefined, { isLoading: false, isError: true }), - ) - mockUseOpenRouterModelProviders.mockReturnValue(createOpenRouterModelProvidersResult({})) - - const { result } = renderHook( - () => - useSelectedModel({ - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "zai-org/GLM-4.6", - }), - { wrapper: createWrapper() }, - ) - - expect(result.current.id).toBe("zai-org/GLM-4.6") - expect(result.current.info).toEqual(ioIntelligenceDefaultModelInfo) - expect(result.current.isError).toBe(true) - }) - }) - describe("openai provider", () => { beforeEach(() => { mockUseRouterModels.mockReturnValue(createRouterModelsResult({ openrouter: {}, requesty: {}, litellm: {} })) diff --git a/webview-ui/src/components/ui/hooks/useSelectedModel.ts b/webview-ui/src/components/ui/hooks/useSelectedModel.ts index 939dbb14ab..76cf42a68b 100644 --- a/webview-ui/src/components/ui/hooks/useSelectedModel.ts +++ b/webview-ui/src/components/ui/hooks/useSelectedModel.ts @@ -30,7 +30,6 @@ import { lMStudioDefaultModelInfo, opencodeGoDefaultModelInfo, kenariDefaultModelInfo, - ioIntelligenceDefaultModelInfo, nanoGptDefaultModelInfo, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, @@ -126,17 +125,16 @@ export const useSelectedModel = (apiConfiguration: ProviderSettings) => { const needLmStudio = typeof lmStudioModelId !== "undefined" const needOllama = typeof ollamaModelId !== "undefined" - // LiteLLM and IO Intelligence may legitimately have no entry in the router - // payload (partial listing, failed fetch, renamed deployment) even though - // the configured ID is a valid selection, so they only need the fetch to - // settle. Other dynamic providers require a populated provider entry - // before the selection is resolved. + // LiteLLM may legitimately have no entry in the router payload (partial + // listing, failed fetch, renamed deployment) even though the configured ID + // is a valid selection, so it only needs the fetch to settle. Other + // dynamic providers require a populated provider entry before the + // selection is resolved. const hasValidRouterData = needRouterModels && dynamicProvider ? dynamicProvider === providerIdentifiers.friendli ? true // static friendliModels cover the window before /v1/models data arrives - : dynamicProvider === providerIdentifiers.litellm || - dynamicProvider === providerIdentifiers.ioIntelligence + : dynamicProvider === providerIdentifiers.litellm ? !routerModels.isLoading : routerModels.data && routerModels.data[dynamicProvider] !== undefined && @@ -571,15 +569,6 @@ function getSelectedModel({ const info = routerModels[providerIdentifiers.kenari]?.[id] ?? kenariDefaultModelInfo return { id, info } } - case providerIdentifiers.ioIntelligence: { - // A configured id is the user's explicit selection (ModelPicker's - // "Use custom model" path stores ids absent from the fetched catalog) - // and the handler sends requests with it, so keep it instead of - // displaying a default model that requests do not use. - const id = apiConfiguration.ioIntelligenceModelId || defaultModelId - const info = routerModels[providerIdentifiers.ioIntelligence]?.[id] ?? ioIntelligenceDefaultModelInfo - return { id, info } - } case providerIdentifiers.nanogpt: { const id = getValidatedModelId( apiConfiguration.nanoGptModelId, diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index d4dd13fe37..69301ec55c 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -392,12 +392,6 @@ "getOpencodeGoApiKey": "Obtenir clau API de Opencode Go", "kenariApiKey": "Clau API de Kenari", "getKenariApiKey": "Obtenir clau API de Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Clau API de IO Intelligence", - "getApiKey": "Obtenir clau API de IO Intelligence", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Clau API de NanoGPT", diff --git a/webview-ui/src/i18n/locales/de/settings.json b/webview-ui/src/i18n/locales/de/settings.json index fbb8cce371..77398b930f 100644 --- a/webview-ui/src/i18n/locales/de/settings.json +++ b/webview-ui/src/i18n/locales/de/settings.json @@ -391,12 +391,6 @@ "getOpencodeGoApiKey": "Opencode Go API-Schlüssel erhalten", "kenariApiKey": "Kenari API-Schlüssel", "getKenariApiKey": "Kenari API-Schlüssel erhalten", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API-Schlüssel", - "getApiKey": "IO Intelligence API-Schlüssel holen", - "model": "Modell" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API-Schlüssel", diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json index 7194b038a8..6d119a1e89 100644 --- a/webview-ui/src/i18n/locales/en/settings.json +++ b/webview-ui/src/i18n/locales/en/settings.json @@ -464,12 +464,6 @@ "getOpencodeGoApiKey": "Get Opencode Go API Key", "kenariApiKey": "Kenari API Key", "getKenariApiKey": "Get Kenari API Key", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API Key", - "getApiKey": "Get IO Intelligence API Key", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API Key", diff --git a/webview-ui/src/i18n/locales/es/settings.json b/webview-ui/src/i18n/locales/es/settings.json index 30f7d63b00..126fcdf40d 100644 --- a/webview-ui/src/i18n/locales/es/settings.json +++ b/webview-ui/src/i18n/locales/es/settings.json @@ -392,12 +392,6 @@ "getOpencodeGoApiKey": "Obtener clave API de Opencode Go", "kenariApiKey": "Clave API de Kenari", "getKenariApiKey": "Obtener clave API de Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Clave API de IO Intelligence", - "getApiKey": "Obtener clave API de IO Intelligence", - "model": "Modelo" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Clave API de NanoGPT", diff --git a/webview-ui/src/i18n/locales/fr/settings.json b/webview-ui/src/i18n/locales/fr/settings.json index ca9f33a709..f9333bfb7c 100644 --- a/webview-ui/src/i18n/locales/fr/settings.json +++ b/webview-ui/src/i18n/locales/fr/settings.json @@ -392,12 +392,6 @@ "getOpencodeGoApiKey": "Obtenir la clé API Opencode Go", "kenariApiKey": "Clé API Kenari", "getKenariApiKey": "Obtenir la clé API Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Clé API IO Intelligence", - "getApiKey": "Obtenir une clé API IO Intelligence", - "model": "Modèle" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Clé API NanoGPT", diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json index 8cc1f845a3..3c73714015 100644 --- a/webview-ui/src/i18n/locales/hi/settings.json +++ b/webview-ui/src/i18n/locales/hi/settings.json @@ -391,12 +391,6 @@ "getOpencodeGoApiKey": "Opencode Go API कुंजी प्राप्त करें", "kenariApiKey": "Kenari API कुंजी", "getKenariApiKey": "Kenari API कुंजी प्राप्त करें", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API कुंजी", - "getApiKey": "IO Intelligence API कुंजी प्राप्त करें", - "model": "मॉडल" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API कुंजी", diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index 15dddffaca..5f441f1a47 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -390,12 +390,6 @@ "getOpencodeGoApiKey": "Dapatkan Opencode Go API Key", "kenariApiKey": "Kenari API Key", "getKenariApiKey": "Dapatkan Kenari API Key", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Kunci API IO Intelligence", - "getApiKey": "Dapatkan Kunci API IO Intelligence", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API Key", diff --git a/webview-ui/src/i18n/locales/it/settings.json b/webview-ui/src/i18n/locales/it/settings.json index 4e3eb81726..bf839c4314 100644 --- a/webview-ui/src/i18n/locales/it/settings.json +++ b/webview-ui/src/i18n/locales/it/settings.json @@ -392,12 +392,6 @@ "getOpencodeGoApiKey": "Ottieni chiave API Opencode Go", "kenariApiKey": "Chiave API Kenari", "getKenariApiKey": "Ottieni chiave API Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Chiave API IO Intelligence", - "getApiKey": "Ottieni chiave API IO Intelligence", - "model": "Modello" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Chiave API NanoGPT", diff --git a/webview-ui/src/i18n/locales/ja/settings.json b/webview-ui/src/i18n/locales/ja/settings.json index a981ca4bca..c425e6ac07 100644 --- a/webview-ui/src/i18n/locales/ja/settings.json +++ b/webview-ui/src/i18n/locales/ja/settings.json @@ -390,12 +390,6 @@ "getOpencodeGoApiKey": "Opencode Go APIキーを取得", "kenariApiKey": "Kenari APIキー", "getKenariApiKey": "Kenari APIキーを取得", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence APIキー", - "getApiKey": "IO Intelligence APIキーを取得", - "model": "モデル" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT APIキー", diff --git a/webview-ui/src/i18n/locales/ko/settings.json b/webview-ui/src/i18n/locales/ko/settings.json index e5dae565cd..5ac86a03db 100644 --- a/webview-ui/src/i18n/locales/ko/settings.json +++ b/webview-ui/src/i18n/locales/ko/settings.json @@ -390,12 +390,6 @@ "getOpencodeGoApiKey": "Opencode Go API 키 받기", "kenariApiKey": "Kenari API 키", "getKenariApiKey": "Kenari API 키 받기", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API 키", - "getApiKey": "IO Intelligence API 키 받기", - "model": "모델" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API 키", diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json index 2df368c2e3..e677731e4d 100644 --- a/webview-ui/src/i18n/locales/nl/settings.json +++ b/webview-ui/src/i18n/locales/nl/settings.json @@ -391,12 +391,6 @@ "getOpencodeGoApiKey": "Opencode Go API-sleutel ophalen", "kenariApiKey": "Kenari API-sleutel", "getKenariApiKey": "Kenari API-sleutel ophalen", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API-sleutel", - "getApiKey": "IO Intelligence API-sleutel ophalen", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API-sleutel", diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json index a58932f6fb..3a6bb834a7 100644 --- a/webview-ui/src/i18n/locales/pl/settings.json +++ b/webview-ui/src/i18n/locales/pl/settings.json @@ -393,12 +393,6 @@ "getOpencodeGoApiKey": "Uzyskaj klucz API Opencode Go", "kenariApiKey": "Klucz API Kenari", "getKenariApiKey": "Uzyskaj klucz API Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Klucz API IO Intelligence", - "getApiKey": "Uzyskaj klucz API IO Intelligence", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Klucz API NanoGPT", diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json index f715ab4e77..537271bb52 100644 --- a/webview-ui/src/i18n/locales/pt-BR/settings.json +++ b/webview-ui/src/i18n/locales/pt-BR/settings.json @@ -392,12 +392,6 @@ "getOpencodeGoApiKey": "Obter chave API do Opencode Go", "kenariApiKey": "Chave API do Kenari", "getKenariApiKey": "Obter chave API do Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Chave de API do IO Intelligence", - "getApiKey": "Obter chave de API do IO Intelligence", - "model": "Modelo" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Chave API do NanoGPT", diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json index aa4d5488bd..1e9ecf2287 100644 --- a/webview-ui/src/i18n/locales/ru/settings.json +++ b/webview-ui/src/i18n/locales/ru/settings.json @@ -393,12 +393,6 @@ "getOpencodeGoApiKey": "Получить ключ API Opencode Go", "kenariApiKey": "Ключ API Kenari", "getKenariApiKey": "Получить ключ API Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "API-ключ IO Intelligence", - "getApiKey": "Получить API-ключ IO Intelligence", - "model": "Модель" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Ключ API NanoGPT", diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json index ef835a4925..3a794dcf0f 100644 --- a/webview-ui/src/i18n/locales/tr/settings.json +++ b/webview-ui/src/i18n/locales/tr/settings.json @@ -391,12 +391,6 @@ "getOpencodeGoApiKey": "Opencode Go API Anahtarı Al", "kenariApiKey": "Kenari API Anahtarı", "getKenariApiKey": "Kenari API Anahtarı Al", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API Anahtarı", - "getApiKey": "IO Intelligence API Anahtarı Al", - "model": "Model" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API Anahtarı", diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json index e77b8acca5..5555e408d8 100644 --- a/webview-ui/src/i18n/locales/vi/settings.json +++ b/webview-ui/src/i18n/locales/vi/settings.json @@ -390,12 +390,6 @@ "getOpencodeGoApiKey": "Lấy khóa API Opencode Go", "kenariApiKey": "Khóa API Kenari", "getKenariApiKey": "Lấy khóa API Kenari", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "Khóa API IO Intelligence", - "getApiKey": "Lấy khóa API IO Intelligence", - "model": "Mô hình" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "Khóa API NanoGPT", diff --git a/webview-ui/src/i18n/locales/zh-CN/settings.json b/webview-ui/src/i18n/locales/zh-CN/settings.json index cd706d4875..c6f97f02bc 100644 --- a/webview-ui/src/i18n/locales/zh-CN/settings.json +++ b/webview-ui/src/i18n/locales/zh-CN/settings.json @@ -390,12 +390,6 @@ "getOpencodeGoApiKey": "获取 Opencode Go API 密钥", "kenariApiKey": "Kenari API 密钥", "getKenariApiKey": "获取 Kenari API 密钥", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API 密钥", - "getApiKey": "获取 IO Intelligence API 密钥", - "model": "模型" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API 密钥", diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json index 199ec0d5a8..d1efa72146 100644 --- a/webview-ui/src/i18n/locales/zh-TW/settings.json +++ b/webview-ui/src/i18n/locales/zh-TW/settings.json @@ -417,12 +417,6 @@ "getOpencodeGoApiKey": "取得 Opencode Go API 金鑰", "kenariApiKey": "Kenari API 金鑰", "getKenariApiKey": "取得 Kenari API 金鑰", - "ioIntelligence": { - "provider": "IO Intelligence", - "apiKey": "IO Intelligence API 金鑰", - "getApiKey": "取得 IO Intelligence API 金鑰", - "model": "模型" - }, "nanoGpt": { "provider": "NanoGPT", "apiKey": "NanoGPT API 金鑰", diff --git a/webview-ui/src/utils/__tests__/validate.spec.ts b/webview-ui/src/utils/__tests__/validate.spec.ts index 1d52f5b481..816d0cefc5 100644 --- a/webview-ui/src/utils/__tests__/validate.spec.ts +++ b/webview-ui/src/utils/__tests__/validate.spec.ts @@ -49,7 +49,6 @@ describe("Model Validation Functions", () => { requesty: {}, unbound: {}, litellm: {}, - "io-intelligence": {}, ollama: {}, lmstudio: {}, "vercel-ai-gateway": {}, @@ -471,27 +470,6 @@ describe("Model Validation Functions", () => { }) }) - describe("IO Intelligence validation", () => { - it("returns an apiKey error when the IO Intelligence API key is unset", () => { - const config: ProviderSettings = { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceModelId: "zai-org/GLM-4.6", - } - - expect(validateApiConfiguration(config, t, mockRouterModels)).toBe("settings:validation.apiKey") - }) - - it("accepts an IO Intelligence API key and selected model", () => { - const config: ProviderSettings = { - apiProvider: providerIdentifiers.ioIntelligence, - ioIntelligenceApiKey: "valid-key", - ioIntelligenceModelId: "zai-org/GLM-4.6", - } - - expect(validateApiConfiguration(config, t, mockRouterModels)).toBeUndefined() - }) - }) - describe("NanoGPT validation", () => { it("returns an apiKey error when the NanoGPT API key is missing", () => { const config: ProviderSettings = { diff --git a/webview-ui/src/utils/validate.ts b/webview-ui/src/utils/validate.ts index 3e84a03c83..aa34fa4e8d 100644 --- a/webview-ui/src/utils/validate.ts +++ b/webview-ui/src/utils/validate.ts @@ -191,11 +191,6 @@ function validateModelsAndKeysProvided( return t("settings:validation.apiKey") } break - case providerIdentifiers.ioIntelligence: - if (!apiConfiguration.ioIntelligenceApiKey) { - return t("settings:validation.apiKey") - } - break case providerIdentifiers.nanogpt: if (!apiConfiguration.nanoGptApiKey) { return t("settings:validation.apiKey") From 3927040459594601cad6c1ffdb6b3aac6da651eb Mon Sep 17 00:00:00 2001 From: Elliott de Launay Date: Fri, 20 Nov 2026 22:55:08 +0000 Subject: [PATCH 2/2] chore(marketplace): remove metoro MCP entry and clean up review findings --- src/assets/marketplace/mcps.yml | 44 ------------------ src/shared/__tests__/ProfileValidator.spec.ts | 19 -------- .../io-intelligence-settings.png | Bin 24805 -> 0 bytes 3 files changed, 63 deletions(-) delete mode 100644 webview-ui/src/components/settings/providers/__tests__/__screenshots__/io-intelligence-settings.png diff --git a/src/assets/marketplace/mcps.yml b/src/assets/marketplace/mcps.yml index 0990c6c168..85876e07b6 100644 --- a/src/assets/marketplace/mcps.yml +++ b/src/assets/marketplace/mcps.yml @@ -905,50 +905,6 @@ items: - name: Memory File Path key: MEMORY_FILE_PATH placeholder: /path/to/custom/memory.json - - id: metoro - name: Kubernetes Observer - description: - Enables interaction with Kubernetes clusters through Metoro's observability platform, providing eBPF-based - telemetry and monitoring capabilities via natural language queries. - author: metoro-io - url: https://github.com/metoro-io/metoro-mcp-server - tags: - - kubernetes - - observability - - ebpf - - telemetry - - microservices - content: - - name: Go Binary - content: | - { - "command": "{{METORO_BINARY_PATH}}/metoro-mcp-server", - "args": [], - "env": { - "METORO_AUTH_TOKEN": "{{METORO_AUTH_TOKEN}}", - "METORO_API_URL": "{{METORO_API_URL}}" - } - } - - name: Demo Cluster - content: > - { - "command": "{{METORO_BINARY_PATH}}/metoro-mcp-server", - "args": [], - "env": { - "METORO_AUTH_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiOThlZDU1M2QtYzY4ZC00MDRhLWFhZjItNDM2ODllNWJiMGUzIiwiZW1haWwiOiJ0ZXN0QGNocmlzYmF0dGFyYmVlLmNvbSIsImV4cCI6MTgyMTI0NzIzN30.7G6alDpcZh_OThYj293Jce5rjeOBqAhOlANR_Fl5auw", - "METORO_API_URL": "https://demo.us-east.metoro.io" - } - } - parameters: - - name: Metoro Binary Path - key: METORO_BINARY_PATH - placeholder: /path/to/metoro-mcp-server - - name: Metoro Auth Token - key: METORO_AUTH_TOKEN - placeholder: your_metoro_auth_token - - name: Metoro API URL - key: METORO_API_URL - placeholder: https://us-east.metoro.io - id: microsoft-learn name: Microsoft Learn description: Official Microsoft Learn MCP server that provides access to Microsoft Learn content, including diff --git a/src/shared/__tests__/ProfileValidator.spec.ts b/src/shared/__tests__/ProfileValidator.spec.ts index f480897430..b2ffd46a73 100644 --- a/src/shared/__tests__/ProfileValidator.spec.ts +++ b/src/shared/__tests__/ProfileValidator.spec.ts @@ -301,25 +301,6 @@ describe("ProfileValidator", () => { expect(ProfileValidator.isProfileAllowed(profile, allowList)).toBe(true) }) - // Test for nanogpt provider which uses nanoGptModelId - it(`should extract nanoGptModelId for nanogpt provider`, () => { - const allowList: OrganizationAllowList = { - allowAll: false, - providers: { - [providerIdentifiers.nanogpt]: { allowAll: false, models: ["test-model"] }, - }, - } - const profile: ProviderSettings = { - apiProvider: providerIdentifiers.nanogpt, - nanoGptModelId: "test-model", - } - - expect(ProfileValidator.isProfileAllowed(profile, allowList)).toBe(true) - expect(ProfileValidator.isProfileAllowed({ ...profile, nanoGptModelId: "other-model" }, allowList)).toBe( - false, - ) - }) - it("should extract vsCodeLmModelSelector.id for vscode-lm provider", () => { const allowList: OrganizationAllowList = { allowAll: false, diff --git a/webview-ui/src/components/settings/providers/__tests__/__screenshots__/io-intelligence-settings.png b/webview-ui/src/components/settings/providers/__tests__/__screenshots__/io-intelligence-settings.png deleted file mode 100644 index af3b2073821ecc72775f924a780c5b85e00de47a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24805 zcmcG#V{m0*+a?;@HafOCw%xJqbl9q z39p-|_A)p*#?02$^#ffI6cW|m9hCj+btr|pm08+KX_|U^g`M_!%X$C0?P=$!U4bq3 zs7!5Ll$N>`R&wK?#IJ4JkYb9$AqlHpAWr+A8Qc#Xfe=PPBL$@ZZh`s#d<#Z*ceg%&*Bg4_=c!=lG{Le{%}l6Z5c=Sx!Oap` z?cvzd_@BGEk87j)Lj^32RoyIU?W@kB+3`)E6a#A~V(T9}N5b7nhoh(X^0#TjXNm{? zv5!2AH7AlEX3xKi$-H9KSC(9Q1ixR@j%GLIk3Nt2^xyYXe73(8ajR4^)9_OWRIxsq zI#i6?B2oj-V9{TGWx^YmylVeKCHFGwMxzK2 zCa}q_PE6<>ol0KXC~Z>keI{3CFs5yceN;wX;oapVdRuFh)%l_hrD0Dc?w(-BEt zK4c{L`u0Fx3c>tfB(QufK9OiJ%b-P|l7q|W?aTw+(-NhL^)P5r{gSpk#OJBf1J#3j zWJz;ropwDJ8TcuUTrJ!zR+H|tx(?Lxubf_^R+63{)$)6wzr?jw`!^6<$GW3tmGf8| zu_9%3%0`DZ8%bFl>>NdYNMPOiE8`|L7!H%mFUXEA9O_C-;bwg`+lby)qV_NOYTYY) z%BnR&oR!|a!0@h6IPu|e_NVCMr>9L?dwDcT_^Al|gV1~aPc$-GB%d^uW9QliX13Z? zaf*TOYl5cc_4Hh{rN*;@+3t64ey=&K4l{pD)i#pZdEsdtIT`#s<*{VbYTYH~s?`)G zvOk}0)4G3QjY;3s4dz4>a#~o$%^-hpe7Y(89gZU0=q18Q=kmNT`Sq1IgWVz_nT7mq^HA$u$DPO_Qplz-N6t(NDH@RZS~>J!2T}tNY=xFa+D_d#f@1bs@w0*6%OfF3@_Cu%NB2oZ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