From 391b909b2ba45ef076baffaa6cfaf3ece96b6361 Mon Sep 17 00:00:00 2001
From: binyangzhu000-sudo
<224954946+binyangzhu000-sudo@users.noreply.github.com>
Date: Wed, 15 Jul 2026 16:26:44 +0800
Subject: [PATCH] feat: add Atlas Cloud provider preset
---
README.md | 4 ++--
src/stores/featureStore.ts | 3 ++-
webview-ui/settings/features.ts | 5 +++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index e713a9c..2adacb3 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Ask questions in plain language — *"where do we refresh the auth token?"* —
- **OAuth sign-in** — connect your existing **Claude Code**, **OpenAI Codex**, or **Google Antigravity** account and use your subscription's models directly in VS Code.
-- **API keys** — OpenAI, Anthropic, Gemini, OpenRouter presets out of the box.
+- **API keys** — OpenAI, Anthropic, Gemini, OpenRouter, Atlas Cloud presets out of the box.
- **Custom providers** — add any OpenAI-compatible or Anthropic-style endpoint (base URL + key). Run multiple providers at once; models are fetched live and mixable in the picker.
- **Auto mode** — a judge model routes each task to the best enabled model. Per-model reasoning effort, thinking mode, and context-size options.
@@ -59,7 +59,7 @@ Ask questions in plain language — *"where do we refresh the auth token?"* —
2. Open the OpenCursor sidebar and pick a provider:
- **Local:** one-click llama.cpp install, or point at a running Ollama.
- **Account:** sign in with Claude Code / OpenAI Codex / Google Antigravity.
- - **API:** paste a key for OpenAI, Anthropic, Gemini, OpenRouter, or any custom endpoint.
+ - **API:** paste a key for OpenAI, Anthropic, Gemini, OpenRouter, Atlas Cloud, or any custom endpoint.
3. Start chatting. `Ctrl+L` sends your selection to the chat.
> Native runtime dependencies (ONNX runtime, image processing) are downloaded once on first activation with integrity checks — they're too heavy to ship in the VSIX.
diff --git a/src/stores/featureStore.ts b/src/stores/featureStore.ts
index 6ab4b14..0723cac 100644
--- a/src/stores/featureStore.ts
+++ b/src/stores/featureStore.ts
@@ -45,7 +45,7 @@ export interface HookDef {
enabled: boolean;
}
-export type ProviderKind = "openai" | "anthropic" | "google" | "openrouter" | "ollama" | "llamacpp";
+export type ProviderKind = "openai" | "anthropic" | "google" | "openrouter" | "atlascloud" | "ollama" | "llamacpp";
/** Where a model can be served from: API provider kinds + OAuth account kinds. */
export type ModelKind = ProviderKind | "claude-code" | "codex" | "antigravity";
@@ -272,6 +272,7 @@ export const PROVIDER_PRESETS: Record