Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

Add WebBrain Companion provider and download docs

Barack Sokullu6b0c3c0a9634
diff --git a/README.fr.md b/README.fr.md
index 4692581bf..ed483b875 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -77,6 +77,16 @@ Trois modes contrôlent ce que l'agent a le droit de faire :
## Choisir un modèle
+**WebBrain Companion** est notre application de bureau distincte pour les
+modèles locaux et les abonnements compatibles. [Téléchargez-la pour Windows,
+macOS ou Linux](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+puis sélectionnez la carte **WebBrain Companion** dans Fournisseurs. L'adresse
+locale par défaut est `http://127.0.0.1:8327/v1` ; aucune clé API n'est requise
+pour l'extension sur cet ordinateur. Chargez les modèles et testez la connexion.
+Le [guide de configuration](docs/providers-and-models.md#webbrain-companion)
+donne plus de détails. La carte proxy générique reste disponible pour les
+autres passerelles OpenAI compatibles.
+
**WebBrain Compass 1.0** est l'option par défaut : ni clé API, ni configuration
locale.
diff --git a/README.md b/README.md
index b3a54a6f2..d157c4b55 100644
--- a/README.md
+++ b/README.md
@@ -94,9 +94,15 @@ python -m sglang.launch_server --model-path your-model --port 30000
```
LM Studio (`:1234/v1`), Osaurus (`:1337/v1`), Jan (`:1337/v1`), LocalAI (`:8080/v1`), and GPT4All
-(`:4891/v1`) work the same way. A generic **Local OpenAI-compatible Proxy** card
-also supports authenticated loopback gateways such as CLIProxyAPI; see the
-[secure subscription proxy setup](docs/providers-and-models.md#subscription-proxy-example-cliproxyapi).
+(`:4891/v1`) work the same way. **WebBrain Companion** is our separate desktop
+app for local models and supported account subscriptions. [Download it for
+Windows, macOS, or Linux](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+then choose the **WebBrain Companion** provider card, click **Load Models**,
+select a model, and test the connection. The local endpoint defaults to
+`http://127.0.0.1:8327/v1` and needs no API key on this computer. See the
+[Companion setup](docs/providers-and-models.md#webbrain-companion).
+A generic **Local OpenAI-compatible Proxy** card remains available for other
+OpenAI-compatible gateways.
**Unsloth Studio (Local)** uses the same OpenAI-compatible path with the Studio
port and `sk-unsloth-` API key configured by the user; see the
[Unsloth Studio setup](docs/providers-and-models.md#unsloth-studio).
@@ -120,7 +126,7 @@ preview `ollama launch webbrain --model <model>` handoff. Details:
**Cloud APIs** — OpenAI, Anthropic Claude, Google Gemini, Azure OpenAI, AWS
Bedrock, Mistral, DeepSeek, xAI Grok, MiniMax, Kimi, Qwen, z.ai GLM, Groq,
Together, Cloudflare, Nvidia NIM, Hugging Face, Fireworks, OpenRouter, and more.
-The Providers page ships **112 built-in provider cards on Chromium** (111 on Firefox),
+The Providers page ships **114 built-in provider cards on Chromium** (113 on Firefox),
including an endpoint-free local WebGPU option with the tested LFM2.5 2.6B
preset and an experimental custom Hugging Face ONNX repository option —
see the [full catalog](docs/providers-and-models.md#extended-provider-catalog).
diff --git a/README.tr.md b/README.tr.md
index 5fc7fd9e7..fcb65efcf 100644
--- a/README.tr.md
+++ b/README.tr.md
@@ -80,6 +80,14 @@ Yan paneli açmak için WebBrain simgesine tıklayın ve ardından şuna benzer
## Bir model seçin
+**WebBrain Companion**, yerel modeller ve desteklenen abonelikler için ayrı
+masaüstü uygulamamızdır. [Windows, macOS veya Linux için indirin](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+ardından Sağlayıcılar sayfasındaki **WebBrain Companion** kartını seçin.
+Varsayılan yerel adres `http://127.0.0.1:8327/v1`; aynı bilgisayardaki
+eklenti için API anahtarı gerekmez. **Load Models** ile model seçip bağlantıyı
+test edin. Ayrıntılar için [kurulum kılavuzuna](docs/providers-and-models.md#webbrain-companion)
+bakın. Genel proxy kartı diğer OpenAI uyumlu ağ geçitleri için kullanılabilir.
+
**WebBrain Compass 1.0** varsayılan modeldir; herhangi bir API anahtarı veya yerel kurulum gerektirmez.
**Yerel modeller** de API anahtarı gerektirmez. WebBrain'i OpenAI uyumlu herhangi bir
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 61891311a..8db99da64 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -71,6 +71,13 @@ git clone https://github.com/webbrain-one/webbrain.git
## 选择模型
+**WebBrain Companion** 是独立的桌面应用,可使用本地模型和受支持的账户订阅。
+[下载 Windows、macOS 或 Linux 版本](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+然后在“提供商”页面选择 **WebBrain Companion**。默认本地地址为
+`http://127.0.0.1:8327/v1`;同一台电脑上的扩展不需要 API 密钥。点击
+**Load Models** 选择模型,再测试连接。详情参阅[配置指南](docs/providers-and-models.md#webbrain-companion)。
+通用代理卡片仍可用于其他兼容 OpenAI 的网关。
+
**WebBrain Compass 1.0** 是默认选项,无需 API 密钥或本地配置。
**本地模型** 同样无需 API 密钥。将 WebBrain 指向任意 OpenAI 兼容服务即可:
diff --git a/docs/fr/providers-and-models.md b/docs/fr/providers-and-models.md
index 5455ad7e7..0b5fc4962 100644
--- a/docs/fr/providers-and-models.md
+++ b/docs/fr/providers-and-models.md
@@ -1,5 +1,12 @@
# Fournisseurs et Modèles
+**WebBrain Companion** est une application de bureau distincte. [Téléchargez
+la version Windows, macOS ou Linux](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+puis choisissez la carte **WebBrain Companion**. Son adresse par défaut est
+`http://127.0.0.1:8327/v1` ; l'extension sur le même ordinateur n'a pas besoin
+de clé API. Chargez un modèle, enregistrez la carte et testez la connexion.
+Le [guide de l'application](../../webbrain-systray/README.md) détaille l'installation.
+
---
## Interface Fournisseur (`providers/base.js`)
@@ -46,6 +53,7 @@ class BaseLLMProvider {
| `localai` | `openai` | local | (modèle chargé) | Métadonnées auto / surcharge |
| `gpt4all` | `openai` | local | (modèle chargé) | Oui (activé par défaut) |
| `local_openai_proxy` | `openai` | local | (requis) | Désactivée / bascule manuelle |
+| `webbrain_companion` | `openai` | local | (requis) | Désactivée / bascule manuelle |
| `webgpu` (Chromium) | `webgpu` | local | Compass Tiny v2.1 ; Ternary Bonsai 2 2B Vision ; dépôt HF ONNX personnalisé expérimental | Préréglage Bonsai Vision uniquement |
| `azure_openai` | `azure_openai` | cloud | (déploiement) | Bascule manuelle |
| `aws_bedrock` | `aws_bedrock` | cloud | (ID de modèle) | Non |
diff --git a/docs/providers-and-models.md b/docs/providers-and-models.md
index aaf9e3e5a..d17bd83db 100644
--- a/docs/providers-and-models.md
+++ b/docs/providers-and-models.md
@@ -386,6 +386,7 @@ class BaseLLMProvider {
| `sglang` | `openai` | local | (loaded model) | Yes (default on) |
| `localai` | `openai` | local | (loaded model) | Auto metadata / override |
| `gpt4all` | `openai` | local | (loaded model) | Yes (default on) |
+| `webbrain_companion` | `openai` | local | (required) | Off / manual toggle |
| `local_openai_proxy` | `openai` | local | (required) | Off / manual toggle |
| `unsloth` | `openai` | local | (required) | Off / manual toggle |
| `webgpu` (Chromium) | `webgpu` | local | Compass VLD Tiny v5; Compass Tiny v2.1; Ternary Bonsai 2 2B Vision; custom HF repo | Compass VLD and Bonsai Vision presets |
@@ -421,7 +422,7 @@ WebBrain also ships 80 disabled-by-default provider cards. Most are sourced
from the OpenCode provider catalog snapshot at commit
`62e4641235d7847dadc60da37cca8a023dd54fc1`; provider-specific additions use
their official API documentation. Together with the original cards, the
-Providers page lists **113 built-in providers on Chromium** and **112 on Firefox**; the
+Providers page lists **114 built-in providers on Chromium** and **113 on Firefox**; the
difference is the Chromium-only in-browser WebGPU runtime.
| IDs |
@@ -657,9 +658,9 @@ URL, localhost server, or OpenAI-compatible endpoint. Firefox does not expose
the card because its build does not package the Chromium MV3 offscreen/WebGPU
runtime.
-Twelve local endpoint providers are enabled by default. The model runtimes need no
-API key unless the server was started with auth; Unsloth Studio and the generic
-proxy card require their configured client keys:
+Local endpoint providers are enabled by default. Most need no API key unless
+the server was started with auth; Unsloth Studio and the generic proxy card
+require their configured client keys:
- **llama.cpp**: `http://localhost:8080` — runs `llama-server -m model.gguf`
- **Ollama**: `http://localhost:11434/v1` — `ollama serve`, or `ollama launch webbrain --model <model>`
@@ -671,6 +672,8 @@ proxy card require their configured client keys:
- **SGLang**: `http://localhost:30000/v1` — SGLang's OpenAI-compatible server
- **LocalAI**: `http://localhost:8080/v1` — LocalAI's OpenAI-compatible server
- **GPT4All**: `http://localhost:4891/v1` — GPT4All's local API server
+- **WebBrain Companion**: `http://127.0.0.1:8327/v1` — the separate desktop
+ app; local browser extensions need no API key. Load and select a model.
- **Local OpenAI-compatible Proxy**: `http://127.0.0.1:8317/v1` — a generic,
authenticated local gateway; the model and proxy client API key are required.
Its context window is set automatically after **Load Models**, a model pick or
@@ -725,6 +728,23 @@ Unsloth model discovery, chat, interactive Ask streaming, and tool calls use
the existing OpenAI-compatible endpoints. Vision starts off: enable the manual
vision checkbox only when the model loaded in Studio accepts image input.
+#### WebBrain Companion
+
+Download the separate desktop app: [Windows installer](https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-windows-setup.exe),
+[macOS universal app](https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-macos-universal.zip),
+[Linux x64](https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-x64.tar.gz),
+or [Linux Arm64](https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-arm64.tar.gz).
+Its [source and full setup guide](../webbrain-systray/README.md)
+describe supported accounts, the optional Bonsai local model, and the
+platform-specific install steps. In **Providers → LLM → WebBrain Companion**,
+leave the default `http://127.0.0.1:8327/v1` URL unless the app shows another
+port. Click **Load Models**, select an available model, **Save**, and **Test
+Connection** before activating it. The browser extension on the same computer
+does not need an API key. If you enable access from another device, use the
+address and API key shown by the app. Model requests sent to an account
+subscription still go to that upstream provider; the optional Bonsai model
+runs locally. Enable vision only for models that accept images.
+
#### Subscription proxy guide (EasyCLIProxyAPI / CLIProxyAPI)
The generic **Local OpenAI-compatible Proxy** card can connect WebBrain to a
diff --git a/docs/zh-CN/providers-and-models.md b/docs/zh-CN/providers-and-models.md
index 7a50c16c2..9fcefb19a 100644
--- a/docs/zh-CN/providers-and-models.md
+++ b/docs/zh-CN/providers-and-models.md
@@ -1,5 +1,10 @@
# 提供商与模型
+**WebBrain Companion** 是独立桌面应用。[下载 Windows、macOS 或 Linux 版本](https://github.com/esokullu/webbrain/releases/tag/systray-v0.1.2),
+然后选择 **WebBrain Companion** 提供商卡片。默认地址是
+`http://127.0.0.1:8327/v1`;同一台电脑上的扩展无需 API 密钥。加载模型、
+保存卡片并测试连接。[应用指南](../../webbrain-systray/README.md)提供安装说明。
+
---
## 提供商接口(`providers/base.js`)
@@ -46,6 +51,7 @@ class BaseLLMProvider {
| `localai` | `openai` | 本地 | (已加载模型) | 自动元数据 / 覆盖 |
| `gpt4all` | `openai` | 本地 | (已加载模型) | 是(默认开启) |
| `local_openai_proxy` | `openai` | 本地 | (必填) | 默认关闭 / 手动开关 |
+| `webbrain_companion` | `openai` | 本地 | (必填) | 默认关闭 / 手动开关 |
| `webgpu`(Chromium) | `webgpu` | 本地 | Compass Tiny v2.1;Ternary Bonsai 2 2B Vision;实验性自定义 HF ONNX 仓库 | 仅 Bonsai Vision 预设 |
| `azure_openai` | `azure_openai` | 云端 | (部署) | 手动开关 |
| `aws_bedrock` | `aws_bedrock` | 云端 | (模型 ID) | 否 |
diff --git a/scripts/build-docs.mjs b/scripts/build-docs.mjs
index 3916f4c2d..7adafc980 100644
--- a/scripts/build-docs.mjs
+++ b/scripts/build-docs.mjs
@@ -59,25 +59,25 @@ function withGuideNavigation(html, file) {
generated = withApocalypseMode;
}
- const subscriptionProxyHref = isChinese ? '/docs/zh/easy-cli-proxy/' : '/docs/easy-cli-proxy/';
- const subscriptionProxyLabel = isChinese ? '订阅代理' : 'Subscription proxy';
- const escapedSubscriptionProxyHref = subscriptionProxyHref.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
- const escapedSubscriptionProxyLabel = subscriptionProxyLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
- const hasSubscriptionProxyNavigation = new RegExp(
- `<a href="${escapedSubscriptionProxyHref}"[^>]*>${escapedSubscriptionProxyLabel}<\\/a>`,
+ const companionHref = '/companion/';
+ const companionLabel = 'WebBrain Companion';
+ const escapedCompanionHref = companionHref.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
+ const escapedCompanionLabel = companionLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
+ const hasCompanionNavigation = new RegExp(
+ `<a href="${escapedCompanionHref}"[^>]*>${escapedCompanionLabel}<\\/a>`,
).test(generated);
- if (!hasSubscriptionProxyNavigation) {
+ if (!hasCompanionNavigation) {
const providersLink = isChinese
? /(<a href="\/docs\/zh\/providers\/"[^>]*>提供商与模型<\/a>)/
: /(<a href="\/docs\/providers\/"[^>]*>Providers &(?:amp;)? models<\/a>)/;
- const withSubscriptionProxy = generated.replace(
+ const withCompanion = generated.replace(
providersLink,
- `$1<a href="${subscriptionProxyHref}">${subscriptionProxyLabel}</a>`,
+ `$1<a href="${companionHref}">${companionLabel}</a>`,
);
- if (withSubscriptionProxy === generated) {
+ if (withCompanion === generated) {
throw new Error(`${path.relative(REPO_ROOT, file)} is missing the providers guide navigation anchor`);
}
- generated = withSubscriptionProxy;
+ generated = withCompanion;
}
return generated;
diff --git a/src/chrome/src/providers/context-windows.js b/src/chrome/src/providers/context-windows.js
index 5fd6cd108..f55b5d2ec 100644
--- a/src/chrome/src/providers/context-windows.js
+++ b/src/chrome/src/providers/context-windows.js
@@ -321,7 +321,8 @@ export function inferContextWindow(config = {}) {
const category = clean(config.category);
const provider = clean(config.providerName || config.type || config.label);
if (category === 'local') {
- return provider === 'local-openai-proxy' ? LOCAL_OPENAI_PROXY_CONTEXT_WINDOW : DEFAULT_LOCAL_CONTEXT_WINDOW;
+ return ['local-openai-proxy', 'webbrain-companion'].includes(provider)
+ ? LOCAL_OPENAI_PROXY_CONTEXT_WINDOW : DEFAULT_LOCAL_CONTEXT_WINDOW;
}
if (!clean(config.model)) return DEFAULT_CLOUD_CONTEXT_WINDOW;
return inferKnownModelContextWindow(config) ?? DEFAULT_CLOUD_CONTEXT_WINDOW;
diff --git a/src/chrome/src/providers/manager.js b/src/chrome/src/providers/manager.js
index 4a1120f4f..f01f6418b 100644
--- a/src/chrome/src/providers/manager.js
+++ b/src/chrome/src/providers/manager.js
@@ -99,7 +99,7 @@ const WEBBRAIN_CLOUD_PROVIDER_IDS = new Set([
]);
const WEBBRAIN_CLOUD_PROVIDER_LABEL = 'WebBrain Compass';
const DUPLICATE_PROVIDER_SUFFIX = '__duplicate';
-const LOCAL_MODEL_LIST_PROVIDER_IDS = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth', 'freebuff2api'];
+const LOCAL_MODEL_LIST_PROVIDER_IDS = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth', 'freebuff2api'];
const WEBBRAIN_CLOUD_CONTEXT_WINDOW = 1000000;
const WEBBRAIN_CLOUD_LEGACY_CONTEXT_WINDOW = 256000;
const WEBBRAIN_DEVICE_GUID_KEY = 'webbrainDeviceGuid';
@@ -695,6 +695,20 @@ export class ProviderManager {
supportsVision: true,
enabled: true,
},
+ webbrain_companion: {
+ type: 'openai',
+ category: 'local',
+ label: 'WebBrain Companion',
+ providerName: 'webbrain-companion',
+ baseUrl: 'http://127.0.0.1:8327/v1',
+ model: '',
+ requiresModel: true,
+ contextWindow: LOCAL_OPENAI_PROXY_CONTEXT_WINDOW,
+ apiKey: '',
+ supportsAskStreaming: true,
+ supportsVision: false,
+ enabled: true,
+ },
local_openai_proxy: {
type: 'openai',
category: 'local',
@@ -1361,7 +1375,7 @@ export class ProviderManager {
static categoryFor(id, config) {
if (config && config.category) return config.category;
if (config?.type === 'llamacpp' || config?.type === 'webgpu') return 'local';
- if (['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth', 'webgpu'].includes(id)) return 'local';
+ if (['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth', 'webgpu'].includes(id)) return 'local';
if (ROUTER_PROVIDER_IDS.includes(id)) return 'router';
return 'cloud';
}
@@ -2850,7 +2864,7 @@ export class ProviderManager {
* not stick when an unknown model is picked next. Any other value is a user override.
*/
_replaceableContextWindows(id, config) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return [];
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return [];
const auto = Number(config?.autoContextWindow);
const matchesCurrent = Number(config?.contextWindow) === auto;
const isUntouchedDefault = config?.manualContextWindow !== true && !Number.isFinite(auto);
@@ -2863,13 +2877,14 @@ export class ProviderManager {
// A context window the user saved on purpose for the proxy. It protects even a value that equals
// the generic 16k local default, which detection otherwise treats as unset.
_hasExplicitContextWindow(id, config) {
- return this._providerDefinitionId(id, config) === 'local_openai_proxy' && config?.manualContextWindow === true;
+ return ['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))
+ && config?.manualContextWindow === true;
}
// Where the stored auto window came from: a window the proxy itself reported (its model card or a
// live /props) outranks one inferred from the model name or the 64k fallback.
_detectedContextWindowFields(id, config, detected) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return {};
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return {};
return {
autoContextWindow: detected.contextWindow,
manualContextWindow: false,
@@ -2882,7 +2897,7 @@ export class ProviderManager {
// A later probe that cannot reach the proxy's metadata (a timeout, a restart) falls back to the
// name or the 64k default. That must not replace a window the proxy reported for the same model.
_keepsReportedContextWindow(id, config, detected) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return false;
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return false;
if (detected?.reported !== false) return false;
const auto = Number(config?.autoContextWindow);
return config?.autoContextWindowSource === 'reported'
@@ -3006,7 +3021,7 @@ export class ProviderManager {
return { contextWindow, shrinkOverride: true };
}
- if (definitionId === 'local_openai_proxy') {
+ if (definitionId === 'local_openai_proxy' || definitionId === 'webbrain_companion') {
// Nothing describes the window of a model the proxy does not name.
if (!model) return null;
const openAiBase = /\/v1$/i.test(rawBaseUrl) ? rawBaseUrl : `${root}/v1`;
diff --git a/src/chrome/src/ui/locales/provider-guide-copy.mjs b/src/chrome/src/ui/locales/provider-guide-copy.mjs
index d7085852f..5d090a6a4 100644
--- a/src/chrome/src/ui/locales/provider-guide-copy.mjs
+++ b/src/chrome/src/ui/locales/provider-guide-copy.mjs
@@ -1,11 +1,20 @@
export const providerGuideEnglish = Object.freeze({
+ 'st.providers.companion_guide.body': 'Get WebBrain Companion, start it, then load a model. No API key is needed on this computer.',
+ 'st.providers.companion_guide.download': 'Download WebBrain Companion',
'st.providers.subscription_guide.card_body': 'Have a {product} account or subscription instead of an API key?',
'st.providers.subscription_guide.card_link': 'See third-party proxy setup & risks',
'st.providers.subscription_guide.local_body': 'Using EasyCLIProxyAPI or CLIProxyAPI?',
'st.providers.subscription_guide.local_link': 'Read the setup, security & account-risk guide',
});
-export const providerGuideTranslations = Object.freeze({
+const companionGuideTranslations = {
+ es: ['Instala WebBrain Companion, inícialo y carga un modelo. No hace falta una clave API en este equipo.', 'Descargar WebBrain Companion'],
+ fr: ['Installez WebBrain Companion, lancez-le, puis chargez un modèle. Aucune clé API n’est nécessaire sur cet ordinateur.', 'Télécharger WebBrain Companion'],
+ tr: ['WebBrain Companion’ı kurup başlatın ve bir model yükleyin. Bu bilgisayarda API anahtarı gerekmez.', 'WebBrain Companion’ı indir'],
+ zh: ['安装并启动 WebBrain Companion,然后加载模型。本机无需 API 密钥。', '下载 WebBrain Companion'],
+};
+
+export const providerGuideTranslations = Object.freeze(Object.fromEntries(Object.entries({
es: {
'st.providers.subscription_guide.card_body': '¿Tienes una cuenta o suscripción de {product} en lugar de una clave de API?',
'st.providers.subscription_guide.card_link': 'Ver la configuración y los riesgos del proxy de terceros',
@@ -138,4 +147,8 @@ export const providerGuideTranslations = Object.freeze({
'st.providers.subscription_guide.local_body': 'Verwendest du EasyCLIProxyAPI oder CLIProxyAPI?',
'st.providers.subscription_guide.local_link': 'Anleitung zu Einrichtung, Sicherheit und Kontorisiken lesen',
},
-});
+}).map(([code, copy]) => [code, {
+ 'st.providers.companion_guide.body': companionGuideTranslations[code]?.[0] || providerGuideEnglish['st.providers.companion_guide.body'],
+ 'st.providers.companion_guide.download': companionGuideTranslations[code]?.[1] || providerGuideEnglish['st.providers.companion_guide.download'],
+ ...copy,
+}])));
diff --git a/src/chrome/src/ui/provider-icons.js b/src/chrome/src/ui/provider-icons.js
index d0d8205d9..790afd8cb 100644
--- a/src/chrome/src/ui/provider-icons.js
+++ b/src/chrome/src/ui/provider-icons.js
@@ -12,6 +12,7 @@ import {
export const PROVIDER_ICON_FILES = {
webbrain_cloud: 'webbrain_cloud.png',
+ webbrain_companion: 'webbrain_cloud.png',
llamacpp: 'llamacpp.svg',
ollama: 'ollama.svg',
ods: 'ods.png',
@@ -82,6 +83,7 @@ export function providerIconHtml(id, label, className = 'provider-icon', opts =
/** Short display name for a known provider id (sniff hints, menus). */
export const PROVIDER_SHORT_LABELS = {
webbrain_cloud: 'WebBrain Compass',
+ webbrain_companion: 'WebBrain Companion',
llamacpp: 'llama.cpp',
ollama: 'Ollama',
ods: 'ODS',
@@ -148,6 +150,7 @@ export function sniffProviderIdFromBaseUrl(baseUrl) {
if (host === 'localhost' || host === '127.0.0.1' || host === '0.0.0.0' || host.endsWith('.local')) {
if (port === '11434') return 'ollama';
+ if (port === '8327') return 'webbrain_companion';
if (port === '1234') return 'lmstudio';
if (port === '1337') return 'jan';
if (port === '30000') return 'sglang';
diff --git a/src/chrome/src/ui/settings.js b/src/chrome/src/ui/settings.js
index 99ccb9168..5a94813c0 100644
--- a/src/chrome/src/ui/settings.js
+++ b/src/chrome/src/ui/settings.js
@@ -94,6 +94,8 @@ import { AUTO_GROUP_TABS_KEY } from '../tab-group-preference.js';
const VISION_UI_PROVIDER_IDS = new Set(['ollama', ...AUTO_VISION_PROVIDER_IDS]);
const EASY_CLI_PROXY_GUIDE_URL = 'https://webbrain.one/docs/easy-cli-proxy/';
+const WEBBRAIN_COMPANION_SITE_URL = 'https://webbrain.one/companion/#download';
+const WEBBRAIN_COMPANION_DOWNLOAD_BASE = 'https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-';
const SUBSCRIPTION_GUIDE_PRODUCTS = Object.freeze({
openai: 'ChatGPT/Codex',
anthropic: 'Claude',
@@ -3183,6 +3185,15 @@ function providerSearchRank(id, config, query) {
}
function providerSubscriptionGuideHtml(definitionId) {
+ if (definitionId === 'webbrain_companion') {
+ return `<aside class="provider-subscription-guide provider-companion-guide" role="note">
+ <span>${escapeHtml(t('st.providers.companion_guide.body'))}</span>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}windows-setup.exe" target="_blank" rel="noopener noreferrer">Windows ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}macos-universal.zip" target="_blank" rel="noopener noreferrer">macOS ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}linux-x64.tar.gz" target="_blank" rel="noopener noreferrer">Linux x64 ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}linux-arm64.tar.gz" target="_blank" rel="noopener noreferrer">Linux Arm64 ↓</a>
+ </aside>`;
+ }
if (definitionId === 'local_openai_proxy') {
return `<aside class="provider-subscription-guide provider-local-proxy-guide" role="note">
<span class="provider-subscription-guide-icon" aria-hidden="true">🔌</span>
@@ -3195,7 +3206,7 @@ function providerSubscriptionGuideHtml(definitionId) {
return `<aside class="provider-subscription-guide" role="note">
<span class="provider-subscription-guide-icon" aria-hidden="true">🔌</span>
<span>${escapeHtml(t('st.providers.subscription_guide.card_body', { product }))}</span>
- <a href="${EASY_CLI_PROXY_GUIDE_URL}" target="_blank" rel="noopener noreferrer">${escapeHtml(t('st.providers.subscription_guide.card_link'))} ↗</a>
+ <a href="${WEBBRAIN_COMPANION_SITE_URL}" target="_blank" rel="noopener noreferrer">${escapeHtml(t('st.providers.companion_guide.download'))} ↗</a>
</aside>`;
}
@@ -3606,6 +3617,16 @@ function renderProviders() {
PROMPT_TIER_FIELD,
],
},
+ webbrain_companion: {
+ fields: [
+ { key: 'baseUrl', labelKey: 'st.provider.field.server_url', type: 'text', placeholder: 'http://127.0.0.1:8327/v1' },
+ OPTIONAL_LOCAL_API_KEY_FIELD,
+ { key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'model listed in WebBrain Companion' },
+ LOCAL_PROXY_CONTEXT_WINDOW_FIELD,
+ { key: 'supportsVision', labelKey: 'st.provider.field.supports_vision', type: 'checkbox' },
+ PROMPT_TIER_FIELD,
+ ],
+ },
local_openai_proxy: {
fields: [
{ key: 'baseUrl', labelKey: 'st.provider.field.server_url', type: 'text', placeholder: 'http://127.0.0.1:8317/v1' },
@@ -4010,7 +4031,7 @@ function renderProviders() {
</div>
`;
} else {
- const localModelProviders = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth'];
+ const localModelProviders = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth'];
const canLoadModels = localModelProviders.includes(definitionId) && field.key === 'model';
const listAttr = canLoadModels ? `list="models-${id}"` : '';
const datalistHTML = canLoadModels ? `<datalist id="models-${id}"></datalist>` : '';
diff --git a/src/chrome/src/ui/sidepanel.js b/src/chrome/src/ui/sidepanel.js
index 1f21051e8..ba6f99c41 100644
--- a/src/chrome/src/ui/sidepanel.js
+++ b/src/chrome/src/ui/sidepanel.js
@@ -280,7 +280,7 @@ const pinCoachmarkDismissed = (async function initPinCoachmark() {
const localModels = document.getElementById('ob-local-models');
const localModelList = document.getElementById('ob-local-model-list');
const totalSteps = steps.length;
- const LOCAL_PROVIDER_ORDER = ['unsloth', 'local_openai_proxy', 'jan', 'osaurus', 'lmstudio', 'ollama', 'ods', 'llamacpp', 'vllm', 'sglang', 'localai', 'gpt4all'];
+ const LOCAL_PROVIDER_ORDER = ['webbrain_companion', 'unsloth', 'local_openai_proxy', 'jan', 'osaurus', 'lmstudio', 'ollama', 'ods', 'llamacpp', 'vllm', 'sglang', 'localai', 'gpt4all'];
let current = 0;
let scanGeneration = 0;
let dismissed = false;
diff --git a/src/firefox/src/providers/context-windows.js b/src/firefox/src/providers/context-windows.js
index 5fd6cd108..f55b5d2ec 100644
--- a/src/firefox/src/providers/context-windows.js
+++ b/src/firefox/src/providers/context-windows.js
@@ -321,7 +321,8 @@ export function inferContextWindow(config = {}) {
const category = clean(config.category);
const provider = clean(config.providerName || config.type || config.label);
if (category === 'local') {
- return provider === 'local-openai-proxy' ? LOCAL_OPENAI_PROXY_CONTEXT_WINDOW : DEFAULT_LOCAL_CONTEXT_WINDOW;
+ return ['local-openai-proxy', 'webbrain-companion'].includes(provider)
+ ? LOCAL_OPENAI_PROXY_CONTEXT_WINDOW : DEFAULT_LOCAL_CONTEXT_WINDOW;
}
if (!clean(config.model)) return DEFAULT_CLOUD_CONTEXT_WINDOW;
return inferKnownModelContextWindow(config) ?? DEFAULT_CLOUD_CONTEXT_WINDOW;
diff --git a/src/firefox/src/providers/manager.js b/src/firefox/src/providers/manager.js
index 7a4c5b5a9..f3e311848 100644
--- a/src/firefox/src/providers/manager.js
+++ b/src/firefox/src/providers/manager.js
@@ -61,7 +61,7 @@ const WEBBRAIN_CLOUD_PROVIDER_IDS = new Set([
]);
const WEBBRAIN_CLOUD_PROVIDER_LABEL = 'WebBrain Compass';
const DUPLICATE_PROVIDER_SUFFIX = '__duplicate';
-const LOCAL_MODEL_LIST_PROVIDER_IDS = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth', 'freebuff2api'];
+const LOCAL_MODEL_LIST_PROVIDER_IDS = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth', 'freebuff2api'];
const WEBBRAIN_CLOUD_CONTEXT_WINDOW = 1000000;
const WEBBRAIN_CLOUD_LEGACY_CONTEXT_WINDOW = 256000;
const WEBBRAIN_DEVICE_GUID_KEY = 'webbrainDeviceGuid';
@@ -590,6 +590,20 @@ export class ProviderManager {
supportsVision: true,
enabled: true,
},
+ webbrain_companion: {
+ type: 'openai',
+ category: 'local',
+ label: 'WebBrain Companion',
+ providerName: 'webbrain-companion',
+ baseUrl: 'http://127.0.0.1:8327/v1',
+ model: '',
+ requiresModel: true,
+ contextWindow: LOCAL_OPENAI_PROXY_CONTEXT_WINDOW,
+ apiKey: '',
+ supportsAskStreaming: true,
+ supportsVision: false,
+ enabled: true,
+ },
local_openai_proxy: {
type: 'openai',
category: 'local',
@@ -1204,7 +1218,7 @@ export class ProviderManager {
static categoryFor(id, config) {
if (config && config.category) return config.category;
if (config?.type === 'llamacpp') return 'local';
- if (['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth'].includes(id)) return 'local';
+ if (['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth'].includes(id)) return 'local';
if (ROUTER_PROVIDER_IDS.includes(id)) return 'router';
return 'cloud';
}
@@ -2253,7 +2267,7 @@ export class ProviderManager {
* not stick when an unknown model is picked next. Any other value is a user override.
*/
_replaceableContextWindows(id, config) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return [];
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return [];
const auto = Number(config?.autoContextWindow);
const matchesCurrent = Number(config?.contextWindow) === auto;
const isUntouchedDefault = config?.manualContextWindow !== true && !Number.isFinite(auto);
@@ -2266,13 +2280,14 @@ export class ProviderManager {
// A context window the user saved on purpose for the proxy. It protects even a value that equals
// the generic 16k local default, which detection otherwise treats as unset.
_hasExplicitContextWindow(id, config) {
- return this._providerDefinitionId(id, config) === 'local_openai_proxy' && config?.manualContextWindow === true;
+ return ['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))
+ && config?.manualContextWindow === true;
}
// Where the stored auto window came from: a window the proxy itself reported (its model card or a
// live /props) outranks one inferred from the model name or the 64k fallback.
_detectedContextWindowFields(id, config, detected) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return {};
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return {};
return {
autoContextWindow: detected.contextWindow,
manualContextWindow: false,
@@ -2285,7 +2300,7 @@ export class ProviderManager {
// A later probe that cannot reach the proxy's metadata (a timeout, a restart) falls back to the
// name or the 64k default. That must not replace a window the proxy reported for the same model.
_keepsReportedContextWindow(id, config, detected) {
- if (this._providerDefinitionId(id, config) !== 'local_openai_proxy') return false;
+ if (!['local_openai_proxy', 'webbrain_companion'].includes(this._providerDefinitionId(id, config))) return false;
if (detected?.reported !== false) return false;
const auto = Number(config?.autoContextWindow);
return config?.autoContextWindowSource === 'reported'
@@ -2409,7 +2424,7 @@ export class ProviderManager {
return { contextWindow, shrinkOverride: true };
}
- if (definitionId === 'local_openai_proxy') {
+ if (definitionId === 'local_openai_proxy' || definitionId === 'webbrain_companion') {
// Nothing describes the window of a model the proxy does not name.
if (!model) return null;
const openAiBase = /\/v1$/i.test(rawBaseUrl) ? rawBaseUrl : `${root}/v1`;
diff --git a/src/firefox/src/ui/locales/provider-guide-copy.mjs b/src/firefox/src/ui/locales/provider-guide-copy.mjs
index d7085852f..5d090a6a4 100644
--- a/src/firefox/src/ui/locales/provider-guide-copy.mjs
+++ b/src/firefox/src/ui/locales/provider-guide-copy.mjs
@@ -1,11 +1,20 @@
export const providerGuideEnglish = Object.freeze({
+ 'st.providers.companion_guide.body': 'Get WebBrain Companion, start it, then load a model. No API key is needed on this computer.',
+ 'st.providers.companion_guide.download': 'Download WebBrain Companion',
'st.providers.subscription_guide.card_body': 'Have a {product} account or subscription instead of an API key?',
'st.providers.subscription_guide.card_link': 'See third-party proxy setup & risks',
'st.providers.subscription_guide.local_body': 'Using EasyCLIProxyAPI or CLIProxyAPI?',
'st.providers.subscription_guide.local_link': 'Read the setup, security & account-risk guide',
});
-export const providerGuideTranslations = Object.freeze({
+const companionGuideTranslations = {
+ es: ['Instala WebBrain Companion, inícialo y carga un modelo. No hace falta una clave API en este equipo.', 'Descargar WebBrain Companion'],
+ fr: ['Installez WebBrain Companion, lancez-le, puis chargez un modèle. Aucune clé API n’est nécessaire sur cet ordinateur.', 'Télécharger WebBrain Companion'],
+ tr: ['WebBrain Companion’ı kurup başlatın ve bir model yükleyin. Bu bilgisayarda API anahtarı gerekmez.', 'WebBrain Companion’ı indir'],
+ zh: ['安装并启动 WebBrain Companion,然后加载模型。本机无需 API 密钥。', '下载 WebBrain Companion'],
+};
+
+export const providerGuideTranslations = Object.freeze(Object.fromEntries(Object.entries({
es: {
'st.providers.subscription_guide.card_body': '¿Tienes una cuenta o suscripción de {product} en lugar de una clave de API?',
'st.providers.subscription_guide.card_link': 'Ver la configuración y los riesgos del proxy de terceros',
@@ -138,4 +147,8 @@ export const providerGuideTranslations = Object.freeze({
'st.providers.subscription_guide.local_body': 'Verwendest du EasyCLIProxyAPI oder CLIProxyAPI?',
'st.providers.subscription_guide.local_link': 'Anleitung zu Einrichtung, Sicherheit und Kontorisiken lesen',
},
-});
+}).map(([code, copy]) => [code, {
+ 'st.providers.companion_guide.body': companionGuideTranslations[code]?.[0] || providerGuideEnglish['st.providers.companion_guide.body'],
+ 'st.providers.companion_guide.download': companionGuideTranslations[code]?.[1] || providerGuideEnglish['st.providers.companion_guide.download'],
+ ...copy,
+}])));
diff --git a/src/firefox/src/ui/provider-icons.js b/src/firefox/src/ui/provider-icons.js
index 0020c37ad..b2807d9d0 100644
--- a/src/firefox/src/ui/provider-icons.js
+++ b/src/firefox/src/ui/provider-icons.js
@@ -12,6 +12,7 @@ import {
export const PROVIDER_ICON_FILES = {
webbrain_cloud: 'webbrain_cloud.png',
+ webbrain_companion: 'webbrain_cloud.png',
llamacpp: 'llamacpp.svg',
ollama: 'ollama.svg',
ods: 'ods.png',
@@ -81,6 +82,7 @@ export function providerIconHtml(id, label, className = 'provider-icon', opts =
/** Short display name for a known provider id (sniff hints, menus). */
export const PROVIDER_SHORT_LABELS = {
webbrain_cloud: 'WebBrain Compass',
+ webbrain_companion: 'WebBrain Companion',
llamacpp: 'llama.cpp',
ollama: 'Ollama',
ods: 'ODS',
@@ -146,6 +148,7 @@ export function sniffProviderIdFromBaseUrl(baseUrl) {
if (host === 'localhost' || host === '127.0.0.1' || host === '0.0.0.0' || host.endsWith('.local')) {
if (port === '11434') return 'ollama';
+ if (port === '8327') return 'webbrain_companion';
if (port === '1234') return 'lmstudio';
if (port === '1337') return 'jan';
if (port === '30000') return 'sglang';
diff --git a/src/firefox/src/ui/settings.js b/src/firefox/src/ui/settings.js
index 11e29f253..52f9aed14 100644
--- a/src/firefox/src/ui/settings.js
+++ b/src/firefox/src/ui/settings.js
@@ -73,6 +73,8 @@ import { AUTO_GROUP_TABS_KEY } from '../tab-group-preference.js';
const VISION_UI_PROVIDER_IDS = new Set(['ollama', ...AUTO_VISION_PROVIDER_IDS]);
const EASY_CLI_PROXY_GUIDE_URL = 'https://webbrain.one/docs/easy-cli-proxy/';
+const WEBBRAIN_COMPANION_SITE_URL = 'https://webbrain.one/companion/#download';
+const WEBBRAIN_COMPANION_DOWNLOAD_BASE = 'https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-';
const SUBSCRIPTION_GUIDE_PRODUCTS = Object.freeze({
openai: 'ChatGPT/Codex',
anthropic: 'Claude',
@@ -2771,6 +2773,15 @@ function providerSearchRank(id, config, query) {
}
function providerSubscriptionGuideHtml(definitionId) {
+ if (definitionId === 'webbrain_companion') {
+ return `<aside class="provider-subscription-guide provider-companion-guide" role="note">
+ <span>${escapeHtml(t('st.providers.companion_guide.body'))}</span>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}windows-setup.exe" target="_blank" rel="noopener noreferrer">Windows ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}macos-universal.zip" target="_blank" rel="noopener noreferrer">macOS ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}linux-x64.tar.gz" target="_blank" rel="noopener noreferrer">Linux x64 ↓</a>
+ <a href="${WEBBRAIN_COMPANION_DOWNLOAD_BASE}linux-arm64.tar.gz" target="_blank" rel="noopener noreferrer">Linux Arm64 ↓</a>
+ </aside>`;
+ }
if (definitionId === 'local_openai_proxy') {
return `<aside class="provider-subscription-guide provider-local-proxy-guide" role="note">
<span class="provider-subscription-guide-icon" aria-hidden="true">🔌</span>
@@ -2783,7 +2794,7 @@ function providerSubscriptionGuideHtml(definitionId) {
return `<aside class="provider-subscription-guide" role="note">
<span class="provider-subscription-guide-icon" aria-hidden="true">🔌</span>
<span>${escapeHtml(t('st.providers.subscription_guide.card_body', { product }))}</span>
- <a href="${EASY_CLI_PROXY_GUIDE_URL}" target="_blank" rel="noopener noreferrer">${escapeHtml(t('st.providers.subscription_guide.card_link'))} ↗</a>
+ <a href="${WEBBRAIN_COMPANION_SITE_URL}" target="_blank" rel="noopener noreferrer">${escapeHtml(t('st.providers.companion_guide.download'))} ↗</a>
</aside>`;
}
@@ -2971,6 +2982,16 @@ function renderProviders() {
PROMPT_TIER_FIELD,
],
},
+ webbrain_companion: {
+ fields: [
+ { key: 'baseUrl', labelKey: 'st.provider.field.server_url', type: 'text', placeholder: 'http://127.0.0.1:8327/v1' },
+ OPTIONAL_LOCAL_API_KEY_FIELD,
+ { key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'model listed in WebBrain Companion' },
+ LOCAL_PROXY_CONTEXT_WINDOW_FIELD,
+ { key: 'supportsVision', labelKey: 'st.provider.field.supports_vision', type: 'checkbox' },
+ PROMPT_TIER_FIELD,
+ ],
+ },
local_openai_proxy: {
fields: [
{ key: 'baseUrl', labelKey: 'st.provider.field.server_url', type: 'text', placeholder: 'http://127.0.0.1:8317/v1' },
@@ -3349,7 +3370,7 @@ function renderProviders() {
</div>
`;
} else {
- const localModelProviders = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'local_openai_proxy', 'unsloth'];
+ const localModelProviders = ['llamacpp', 'ollama', 'ods', 'lmstudio', 'osaurus', 'jan', 'vllm', 'sglang', 'localai', 'gpt4all', 'webbrain_companion', 'local_openai_proxy', 'unsloth'];
const canLoadModels = localModelProviders.includes(definitionId) && field.key === 'model';
const listAttr = canLoadModels ? `list="models-${id}"` : '';
const datalistHTML = canLoadModels ? `<datalist id="models-${id}"></datalist>` : '';
diff --git a/src/firefox/src/ui/sidepanel.js b/src/firefox/src/ui/sidepanel.js
index ca516136c..89990d990 100644
--- a/src/firefox/src/ui/sidepanel.js
+++ b/src/firefox/src/ui/sidepanel.js
@@ -161,7 +161,7 @@ if (globalThis.browser?.storage?.onChanged) {
const localModels = document.getElementById('ob-local-models');
const localModelList = document.getElementById('ob-local-model-list');
const totalSteps = steps.length;
- const LOCAL_PROVIDER_ORDER = ['unsloth', 'local_openai_proxy', 'jan', 'osaurus', 'lmstudio', 'ollama', 'ods', 'llamacpp', 'vllm', 'sglang', 'localai', 'gpt4all'];
+ const LOCAL_PROVIDER_ORDER = ['webbrain_companion', 'unsloth', 'local_openai_proxy', 'jan', 'osaurus', 'lmstudio', 'ollama', 'ods', 'llamacpp', 'vllm', 'sglang', 'localai', 'gpt4all'];
let current = 0;
let scanGeneration = 0;
let dismissed = false;
diff --git a/test/provider-instances-ui.mjs b/test/provider-instances-ui.mjs
index 703c04b11..9bde91b87 100644
--- a/test/provider-instances-ui.mjs
+++ b/test/provider-instances-ui.mjs
@@ -98,6 +98,18 @@ try {
const card = id => page.locator(`.provider-card[data-provider-id="${id}"]`);
const rootCard = card('llamacpp');
await rootCard.locator('input[data-key="label"]').waitFor();
+ const companionCard = card('webbrain_companion');
+ await companionCard.locator('.provider-header').click();
+ assert.equal(
+ await companionCard.locator('input[data-key="baseUrl"]').inputValue(),
+ 'http://127.0.0.1:8327/v1',
+ );
+ assert.equal(await companionCard.locator('.btn-load-models').count(), 1);
+ const companionDownloads = await companionCard.locator('.provider-companion-guide a').evaluateAll(
+ links => links.map(link => link.href),
+ );
+ assert.equal(companionDownloads.length, 4);
+ assert.ok(companionDownloads.every(href => href.includes('/releases/download/systray-v0.1.2/')));
await rootCard.locator('input[data-key="label"]').fill(' ');
await rootCard.locator('.btn-save').click();
await rootCard.locator('.test-result.fail.show').waitFor();
diff --git a/test/run.js b/test/run.js
index 1aa28db28..a8cca2237 100644
--- a/test/run.js
+++ b/test/run.js
@@ -76053,8 +76053,8 @@ test('extended provider catalog is complete, mirrored, safe, and excluded-provid
]) {
const defaults = new PM()._defaultConfigs();
// Includes the sidepanel-only WebBrain Compass XL runtime profile, which is
- // deliberately omitted from the 113/112 Settings provider cards.
- const expectedDefaultCount = label === 'chrome' ? 114 : 113;
+ // deliberately omitted from the 114/113 Settings provider cards.
+ const expectedDefaultCount = label === 'chrome' ? 115 : 114;
assert.equal(
Object.keys(defaults).length,
expectedDefaultCount,
@@ -77185,6 +77185,54 @@ test('_defaultConfigs: new offline providers present and enabled by default', ()
}
});
+test('WebBrain Companion loads models and chats over its keyless local endpoint', async () => {
+ const originalFetch = globalThis.fetch;
+ const originalChrome = globalThis.chrome;
+ const originalBrowser = globalThis.browser;
+ try {
+ globalThis.chrome = globalThis.browser = { storage: { local: { async set() {} } } };
+ for (const [browser, PM] of [['chrome', ProviderManagerCh], ['firefox', ProviderManagerFx]]) {
+ const manager = new PM();
+ const defaults = manager._defaultConfigs().webbrain_companion;
+ assert.equal(defaults.baseUrl, 'http://127.0.0.1:8327/v1', `${browser}: Companion URL`);
+ assert.equal(defaults.requiresApiKey, undefined, `${browser}: loopback access must be keyless`);
+ assert.equal(defaults.requiresModel, true, `${browser}: model selection must be explicit`);
+ manager.providers.set('webbrain_companion', manager._createProvider('webbrain_companion', defaults));
+ const requests = [];
+ globalThis.fetch = async (url, init = {}) => {
+ requests.push({ url: String(url), headers: init.headers || {}, body: init.body });
+ if (String(url).endsWith('/models')) {
+ return new Response(JSON.stringify({ data: [{ id: 'bonsai-2-27b' }] }), {
+ status: 200, headers: { 'Content-Type': 'application/json' },
+ });
+ }
+ return new Response(JSON.stringify({
+ choices: [{ message: { content: 'companion answer' } }],
+ }), { status: 200, headers: { 'Content-Type': 'application/json' } });
+ };
+ const listed = await manager.listProviderModels('webbrain_companion');
+ assert.equal(listed.ok, true, `${browser}: model loading failed`);
+ assert.deepEqual(listed.models, ['bonsai-2-27b'], `${browser}: model IDs`);
+ const provider = manager._createProvider('webbrain_companion', {
+ ...defaults, model: 'bonsai-2-27b',
+ });
+ const reply = await provider.chat([{ role: 'user', content: 'hello' }]);
+ assert.equal(reply.content, 'companion answer');
+ manager.providers.set('webbrain_companion', provider);
+ assert.equal((await manager.testProvider('webbrain_companion')).ok, true,
+ `${browser}: Test Connection should work without an API key`);
+ assert.equal(requests[0].url, 'http://127.0.0.1:8327/v1/models');
+ const chatRequest = requests.find(request => request.url.endsWith('/chat/completions'));
+ assert.equal(chatRequest.url, 'http://127.0.0.1:8327/v1/chat/completions');
+ assert.equal(chatRequest.headers.Authorization, undefined);
+ }
+ } finally {
+ globalThis.fetch = originalFetch;
+ globalThis.chrome = originalChrome;
+ globalThis.browser = originalBrowser;
+ }
+});
+
test('_defaultConfigs: generic local OpenAI-compatible proxy is safe and configurable', () => {
for (const [label, PM, settingsRel] of [
['chrome', ProviderManagerCh, 'src/chrome/src/ui/settings.js'],
@@ -133684,7 +133732,7 @@ test('message info toggles behaviorally through a semantic button, terminal repl
}
});
-test('Settings limits the subscription proxy guide to relevant provider cards', async () => {
+test('Settings promotes Companion on relevant cards and preserves the legacy proxy guide', async () => {
for (const [label, htmlRel, settingsRel, i18nRel] of [
['chrome', 'src/chrome/src/ui/settings.css', 'src/chrome/src/ui/settings.js', 'src/chrome/src/ui/i18n.js'],
['firefox', 'src/firefox/src/ui/settings.css', 'src/firefox/src/ui/settings.js', 'src/firefox/src/ui/i18n.js'],
@@ -133702,6 +133750,10 @@ test('Settings limits the subscription proxy guide to relevant provider cards',
`${label}: provider filters should remain at the top of the provider list`);
assert.match(settings, /href="\$\{EASY_CLI_PROXY_GUIDE_URL\}" target="_blank" rel="noopener noreferrer"/,
`${label}: provider-card guide links should open securely`);
+ assert.match(settings, /href="\$\{WEBBRAIN_COMPANION_SITE_URL\}" target="_blank" rel="noopener noreferrer"/,
+ `${label}: account cards should promote the Companion download page`);
+ assert.match(settings, /provider-companion-guide[\s\S]*?windows-setup\.exe[\s\S]*?macos-universal\.zip[\s\S]*?linux-x64\.tar\.gz[\s\S]*?linux-arm64\.tar\.gz/,
+ `${label}: Companion card should offer direct packages for all supported platforms`);
for (const [id, product] of [
['openai', 'ChatGPT/Codex'],
@@ -133827,10 +133879,8 @@ test('public EasyCLIProxy guide keeps executable, account, network, and media bo
'docs: the Chinese translation should preserve executable and network-risk warnings');
assert.match(docsCss, /\.trust-ledger \{[\s\S]*?var\(--warn\)[\s\S]*?\.trust-ledger dl > div/,
'docs: the trust boundary should be a deliberate visual component');
- assert.match(docsBuild, /\/docs\/easy-cli-proxy\/[\s\S]*?Subscription proxy/,
- 'docs build: shared English navigation should expose the guide');
- assert.match(docsBuild, /\/docs\/zh\/easy-cli-proxy\/[\s\S]*?订阅代理/,
- 'docs build: shared Chinese navigation should expose the translated guide');
+ assert.match(docsBuild, /companionHref = '\/companion\/'[\s\S]*?companionLabel = 'WebBrain Companion'/,
+ 'docs build: shared navigation should promote Companion');
assert.match(vercel, /mp4\|webm\|vtt/, 'web: Vercel should serve WebVTT as a static asset');
assert.match(sitemap, /<loc>https:\/\/webbrain\.one\/docs\/easy-cli-proxy\/<\/loc>/,
'web: the guide should appear in the generated sitemap');
@@ -133845,13 +133895,13 @@ test('public EasyCLIProxy guide keeps executable, account, network, and media bo
for (const rel of ['index.html', 'settings/index.html', 'providers/index.html', 'safety/index.html', 'formats/index.html', 'mcp/index.html', 'lm-studio/index.html', 'ollama/index.html', 'easy-cli-proxy/index.html']) {
const html = fs.readFileSync(path.join(ROOT, 'web/docs', rel), 'utf8');
- assert.match(html, /<a href="\/docs\/easy-cli-proxy\/"[^>]*>Subscription proxy<\/a>/,
- `docs/${rel}: shared navigation should expose the subscription proxy guide`);
+ assert.match(html, /<a href="\/companion\/"[^>]*>WebBrain Companion<\/a>/,
+ `docs/${rel}: shared navigation should promote Companion`);
}
for (const rel of ['index.html', 'settings/index.html', 'providers/index.html', 'safety/index.html', 'formats/index.html', 'mcp/index.html', 'lm-studio/index.html', 'ollama/index.html', 'apocalypse-mode/index.html', 'easy-cli-proxy/index.html']) {
const html = fs.readFileSync(path.join(ROOT, 'web/docs/zh', rel), 'utf8');
- assert.match(html, /<a href="\/docs\/zh\/easy-cli-proxy\/"[^>]*>订阅代理<\/a>/,
- `docs/zh/${rel}: shared navigation should expose the translated subscription proxy guide`);
+ assert.match(html, /<a href="\/companion\/"[^>]*>WebBrain Companion<\/a>/,
+ `docs/zh/${rel}: shared navigation should promote Companion`);
}
const videoSize = fs.statSync(videoPath).size;
diff --git a/web/build/build.mjs b/web/build/build.mjs
index 4deb83a2f..e94bb129c 100644
--- a/web/build/build.mjs
+++ b/web/build/build.mjs
@@ -31,7 +31,7 @@
* There is NO dependency on npm packages — pure Node ESM.
*/
-import { copyFile, readFile, writeFile, mkdir } from 'node:fs/promises';
+import { copyFile, cp, readFile, writeFile, mkdir } from 'node:fs/promises';
import { existsSync } from 'node:fs';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
@@ -566,6 +566,12 @@ async function main() {
validateFaqRegistry();
await syncLanguageFlagAssets();
await syncProviderIconAssets();
+ // Keep the published Companion download page in sync with the standalone app.
+ await cp(path.join(ROOT, '..', 'webbrain-systray', 'web'), path.join(ROOT, 'companion'), {
+ recursive: true,
+ force: true,
+ filter: (source) => !['build.py', 'README.md', 'tools'].includes(path.basename(source)),
+ });
// Load English first so others can fall back for missing keys.
const en = JSON.parse(await readFile(path.join(LOCALES_DIR, 'en.json'), 'utf8'));
@@ -639,6 +645,8 @@ async function main() {
{ loc: `${SITE_ORIGIN}/docs/settings/` },
{ loc: `${SITE_ORIGIN}/docs/captcha/` },
{ loc: `${SITE_ORIGIN}/docs/providers/` },
+ { loc: `${SITE_ORIGIN}/companion/` },
+ { loc: `${SITE_ORIGIN}/companion/tr/` },
{ loc: `${SITE_ORIGIN}/docs/easy-cli-proxy/`, alternates: 'easy-cli-proxy' },
{ loc: `${SITE_ORIGIN}/docs/safety/` },
{ loc: `${SITE_ORIGIN}/docs/apocalypse-mode/` },
diff --git a/web/companion/assets/fonts/OFL-BricolageGrotesque.txt b/web/companion/assets/fonts/OFL-BricolageGrotesque.txt
new file mode 100644
index 000000000..49135ef7a
--- /dev/null
+++ b/web/companion/assets/fonts/OFL-BricolageGrotesque.txt
@@ -0,0 +1,93 @@
+Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/web/companion/assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2 b/web/companion/assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2
new file mode 100644
index 000000000..6e8caa8a6
Binary files /dev/null and b/web/companion/assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2 differ
diff --git a/web/companion/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2 b/web/companion/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2
new file mode 100644
index 000000000..fcc4eb1eb
Binary files /dev/null and b/web/companion/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2 differ
diff --git a/web/companion/assets/img/add-en-dark.webp b/web/companion/assets/img/add-en-dark.webp
new file mode 100644
index 000000000..c7acec144
Binary files /dev/null and b/web/companion/assets/img/add-en-dark.webp differ
diff --git a/web/companion/assets/img/add-en-light.webp b/web/companion/assets/img/add-en-light.webp
new file mode 100644
index 000000000..a6e485d2f
Binary files /dev/null and b/web/companion/assets/img/add-en-light.webp differ
diff --git a/web/companion/assets/img/add-tr-dark.webp b/web/companion/assets/img/add-tr-dark.webp
new file mode 100644
index 000000000..ecd94331a
Binary files /dev/null and b/web/companion/assets/img/add-tr-dark.webp differ
diff --git a/web/companion/assets/img/add-tr-light.webp b/web/companion/assets/img/add-tr-light.webp
new file mode 100644
index 000000000..0de760580
Binary files /dev/null and b/web/companion/assets/img/add-tr-light.webp differ
diff --git a/web/companion/assets/img/favicon.png b/web/companion/assets/img/favicon.png
new file mode 100644
index 000000000..0ae05433c
Binary files /dev/null and b/web/companion/assets/img/favicon.png differ
diff --git a/web/companion/assets/img/local-en-dark.webp b/web/companion/assets/img/local-en-dark.webp
new file mode 100644
index 000000000..c931db615
Binary files /dev/null and b/web/companion/assets/img/local-en-dark.webp differ
diff --git a/web/companion/assets/img/local-en-light.webp b/web/companion/assets/img/local-en-light.webp
new file mode 100644
index 000000000..c4c3adbc6
Binary files /dev/null and b/web/companion/assets/img/local-en-light.webp differ
diff --git a/web/companion/assets/img/local-tr-dark.webp b/web/companion/assets/img/local-tr-dark.webp
new file mode 100644
index 000000000..7538d9a43
Binary files /dev/null and b/web/companion/assets/img/local-tr-dark.webp differ
diff --git a/web/companion/assets/img/local-tr-light.webp b/web/companion/assets/img/local-tr-light.webp
new file mode 100644
index 000000000..f267c8336
Binary files /dev/null and b/web/companion/assets/img/local-tr-light.webp differ
diff --git a/web/companion/assets/img/logo-128.png b/web/companion/assets/img/logo-128.png
new file mode 100644
index 000000000..e078ac372
Binary files /dev/null and b/web/companion/assets/img/logo-128.png differ
diff --git a/web/companion/assets/img/og.png b/web/companion/assets/img/og.png
new file mode 100644
index 000000000..d738695b3
Binary files /dev/null and b/web/companion/assets/img/og.png differ
diff --git a/web/companion/assets/img/panel-en-dark.webp b/web/companion/assets/img/panel-en-dark.webp
new file mode 100644
index 000000000..285cb20ca
Binary files /dev/null and b/web/companion/assets/img/panel-en-dark.webp differ
diff --git a/web/companion/assets/img/panel-en-light.webp b/web/companion/assets/img/panel-en-light.webp
new file mode 100644
index 000000000..6f08448bc
Binary files /dev/null and b/web/companion/assets/img/panel-en-light.webp differ
diff --git a/web/companion/assets/img/panel-tr-dark.webp b/web/companion/assets/img/panel-tr-dark.webp
new file mode 100644
index 000000000..5b214fe1b
Binary files /dev/null and b/web/companion/assets/img/panel-tr-dark.webp differ
diff --git a/web/companion/assets/img/panel-tr-light.webp b/web/companion/assets/img/panel-tr-light.webp
new file mode 100644
index 000000000..a8a6b2461
Binary files /dev/null and b/web/companion/assets/img/panel-tr-light.webp differ
diff --git a/web/companion/assets/img/tray-glyph.png b/web/companion/assets/img/tray-glyph.png
new file mode 100644
index 000000000..92111753b
Binary files /dev/null and b/web/companion/assets/img/tray-glyph.png differ
diff --git a/web/companion/assets/site.css b/web/companion/assets/site.css
new file mode 100644
index 000000000..3ae566369
--- /dev/null
+++ b/web/companion/assets/site.css
@@ -0,0 +1,308 @@
+/* WebBrain Companion site. Palette and typeface come from the app's own panel
+ (the "brain tissue" colors of the WebBrain mark, Bricolage Grotesque). */
+
+@font-face {
+ font-family: "Bricolage";
+ font-style: normal;
+ font-display: swap;
+ font-weight: 200 800;
+ src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations");
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+@font-face {
+ font-family: "Bricolage";
+ font-style: normal;
+ font-display: swap;
+ font-weight: 200 800;
+ src: url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2-variations");
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
+}
+
+:root {
+ --paper: #fbf6f8;
+ --ink: #2b1426;
+ --muted: #6e5064;
+ --rose: #c42d62;
+ --rose-hover: #a92353;
+ --rose-ink: #ffffff;
+ --rose-mark: #d9396f;
+ --tissue: #f1dbe5;
+ --line: #e8d4de;
+ --plum: #3d1836;
+ --code: #f3e5ec;
+ --focus: #8a2d63;
+ --window: #ffffff;
+ --window-bar: #f6edf1;
+ --shadow: 0 1px 0 rgba(61, 24, 54, .04), 0 28px 56px -28px rgba(61, 24, 54, .42);
+
+ /* Tray menu, light appearance (menus follow the system theme, not the wallpaper). */
+ --menu-bg: rgba(244, 238, 242, .9);
+ --menu-ink: #1d1d1f;
+ --menu-dim: #65616a;
+ --menu-sep: rgba(0, 0, 0, .1);
+ --menu-hi: #2e6bdc;
+
+ --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
+ --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
+ --wrap: 1160px;
+ --gutter: clamp(16px, 4vw, 40px);
+ color-scheme: light;
+}
+
+@media (prefers-color-scheme: dark) {
+ :root:not([data-theme="light"]) {
+ --paper: #1a0f18;
+ --ink: #f7e9f0;
+ --muted: #c3a5b7;
+ --rose: #ff6fa5;
+ --rose-hover: #ff8db8;
+ --rose-ink: #2b0c1f;
+ --rose-mark: #ff6fa5;
+ --tissue: #3a2233;
+ --line: #3a2535;
+ --plum: #2f1429;
+ --code: #261521;
+ --focus: #ffb3cf;
+ --window: #1a0f18;
+ --window-bar: #24151f;
+ --shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 28px 56px -28px rgba(0, 0, 0, .8);
+ --menu-bg: rgba(42, 36, 41, .9);
+ --menu-ink: #f2f2f2;
+ --menu-dim: #a19ca3;
+ --menu-sep: rgba(255, 255, 255, .12);
+ color-scheme: dark;
+ }
+}
+
+*, *::before, *::after { box-sizing: border-box; }
+html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
+body {
+ margin: 0;
+ background: var(--paper);
+ color: var(--ink);
+ font: 400 17px/1.55 var(--font);
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+}
+img { max-width: 100%; }
+a { color: inherit; text-decoration-color: color-mix(in srgb, var(--rose) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
+a:hover { text-decoration-color: var(--rose); }
+:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
+code, pre { font-family: var(--mono); }
+code { font-size: .88em; background: var(--code); padding: .08em .35em; border-radius: 5px; white-space: nowrap; }
+pre code { background: none; padding: 0; font-size: inherit; white-space: pre; }
+h1, h2, h3 { font-family: var(--font); margin: 0; text-wrap: balance; }
+p { margin: 0 0 1em; }
+
+.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
+.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
+.skip:focus { left: 8px; }
+.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
+
+/* Header */
+.site-head { display: flex; align-items: center; gap: 28px; height: 72px; }
+.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
+.brand img { width: 30px; height: 30px; }
+.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
+.site-nav a, .lang { text-decoration: none; color: var(--muted); }
+.site-nav a:hover, .lang:hover { color: var(--ink); }
+.lang { font-size: 15px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
+
+/* Hero */
+.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 104px); }
+.hero h1 {
+ font-size: clamp(2.5rem, 3.2vw + 1.2rem, 4.2rem);
+ font-weight: 760;
+ line-height: .98;
+ letter-spacing: -.032em;
+ margin-bottom: 26px;
+}
+.lede { font-size: clamp(1.08rem, .4vw + 1rem, 1.25rem); line-height: 1.5; max-width: 34em; color: color-mix(in srgb, var(--ink) 88%, var(--paper)); }
+.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
+.cta-note { font-size: 15px; color: var(--muted); max-width: 22em; }
+.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 650; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s; }
+.button.primary { background: var(--rose); color: var(--rose-ink); }
+.button.primary:hover { background: var(--rose-hover); }
+
+/* The symbolic desktop: a plain plum field with one status bar and the real menu. */
+.desk-wrap { margin: 0; }
+.desk {
+ position: relative;
+ height: 460px;
+ border-radius: 22px;
+ background: var(--plum);
+ overflow: hidden;
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
+}
+.desk .bar { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 14px; color: #fff; }
+.desk .bar .s { display: block; background: currentColor; opacity: .5; }
+.desk .bar .s1 { width: 15px; height: 9px; border-radius: 3px; }
+.desk .bar .s2 { width: 11px; height: 11px; border-radius: 50%; }
+.desk .bar .s3 { width: 30px; height: 7px; border-radius: 4px; }
+.desk .icon { display: grid; place-items: center; padding: 3px 7px; border-radius: 5px; background: rgba(255, 255, 255, .24); }
+.desk .glyph { width: 18px; height: 18px; background: currentColor; -webkit-mask: url(img/tray-glyph.png) center / contain no-repeat; mask: url(img/tray-glyph.png) center / contain no-repeat; }
+
+.menu {
+ position: absolute;
+ right: 14px;
+ width: min(380px, calc(100% - 28px));
+ padding: 5px;
+ background: var(--menu-bg);
+ color: var(--menu-ink);
+ -webkit-backdrop-filter: blur(24px) saturate(1.5);
+ backdrop-filter: blur(24px) saturate(1.5);
+ border-radius: 8px;
+ box-shadow: 0 0 0 .5px rgba(0, 0, 0, .35), 0 12px 34px rgba(0, 0, 0, .38);
+ font: 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
+ transform-origin: top right;
+}
+.menu .row { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 12px 0 24px; border-radius: 4px; white-space: nowrap; position: relative; }
+.menu .row > span:first-child { overflow: hidden; text-overflow: ellipsis; }
+.menu .dim { color: var(--menu-dim); }
+.menu .sep { height: 1px; margin: 5px 12px; background: var(--menu-sep); }
+/* One line per plan, spaced the way the app writes it: name, bar, percent. */
+.menu .plan { gap: .7em; }
+.menu .plan > span:first-child { flex: none; }
+.meter { display: inline-flex; gap: 2px; }
+.meter i { width: 6px; height: 9px; border: 1px solid currentColor; border-radius: 1px; transform: skewX(-16deg); }
+.meter i.on { background: currentColor; }
+.menu .hl { background: var(--menu-hi); color: #fff; }
+
+/* Windows: taskbar at the bottom, the menu opens upward. */
+.desk[data-os="win"] .bar { bottom: 0; height: 46px; background: rgba(28, 22, 28, .82); gap: 16px; padding-right: 18px; }
+.desk[data-os="win"] .icon { padding: 7px 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
+.desk[data-os="win"] .menu { bottom: 54px; right: 18px; border-radius: 8px; padding: 4px; font: 13px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; transform-origin: bottom right; }
+.desk[data-os="win"] .menu .row { height: 24px; padding-left: 30px; }
+.desk[data-os="win"] .meter i, .desk[data-os="linux"] .meter i { transform: none; width: 7px; height: 7px; border-radius: 0; }
+
+/* Linux (GNOME with AppIndicator): black top bar, rounder menu. */
+.desk[data-os="linux"] .bar { top: 0; height: 28px; background: #000; }
+.desk[data-os="linux"] .icon { border-radius: 999px; padding: 3px 9px; background: rgba(255, 255, 255, .2); }
+.desk[data-os="linux"] .menu { top: 34px; right: 10px; border-radius: 12px; padding: 6px; font: 13px/1 Cantarell, "Noto Sans", Ubuntu, system-ui, sans-serif; }
+.desk[data-os="linux"] .menu .row { height: 25px; border-radius: 6px; }
+.desk[data-os="mac"] .bar { top: 0; height: 30px; background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
+.desk[data-os="mac"] .menu { top: 33px; }
+
+.os-switch { display: none; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
+.js .os-switch { display: flex; }
+.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tissue); }
+.seg button { font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 6px 13px; border-radius: 999px; cursor: pointer; }
+.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 20, 38, .16); }
+
+/* Sections */
+.section { padding-block: clamp(56px, 6.5vw, 96px); border-top: 1px solid var(--line); }
+.section h2 { font-size: clamp(2rem, 2.2vw + 1.2rem, 3.1rem); font-weight: 730; line-height: 1.02; letter-spacing: -.028em; max-width: 18em; margin-bottom: 22px; }
+.section .intro { max-width: 40em; font-size: 1.1rem; color: color-mix(in srgb, var(--ink) 88%, var(--paper)); }
+.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
+.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
+
+/* Panel windows */
+.windows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin: 48px 0 0; padding: 0; list-style: none; }
+.windows figure { margin: 0; }
+.window { border-radius: 12px; overflow: hidden; background: var(--window); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
+.titlebar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: var(--window-bar); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
+.titlebar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 35%, transparent); }
+.titlebar span { flex: 1; text-align: center; margin-right: 47px; }
+.window img { display: block; width: 100%; height: auto; aspect-ratio: 460 / 760; }
+.windows figcaption { padding: 18px 2px 0; }
+.windows h3 { font-size: 1.2rem; font-weight: 680; letter-spacing: -.01em; margin-bottom: 6px; }
+.windows figcaption p { color: var(--muted); font-size: 16px; margin: 0; }
+
+/* Local model planner table */
+.machines { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
+.machines caption { text-align: left; font-weight: 680; font-size: 1.2rem; padding-bottom: 14px; letter-spacing: -.01em; }
+.machines th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
+.machines td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
+.machines td:first-child { font-weight: 620; width: 30%; }
+.machines td:last-child, .machines th:last-child { white-space: nowrap; padding-right: 0; }
+.vis { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; font-weight: 600; }
+.vis::before { content: ""; width: .66em; height: .66em; border-radius: 50%; border: 2px solid var(--rose); flex: none; }
+.vis.gpu::before { background: var(--rose); }
+.vis.off { color: var(--muted); font-weight: 500; }
+.vis.off::before { border: 0; height: 2px; border-radius: 1px; background: var(--muted); }
+.note { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 46em; }
+
+/* Code */
+.code-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
+pre { margin: 0 0 22px; padding: 18px 20px; background: var(--code); border-radius: 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; tab-size: 2; }
+pre .k { color: var(--rose); }
+
+/* Connect steps: a real sequence, so numbered */
+.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
+.steps li { counter-increment: step; padding-top: 16px; border-top: 1.5px solid var(--ink); }
+.steps li::before { content: counter(step); display: block; margin-bottom: 12px; font-weight: 760; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; color: var(--rose); font-variant-numeric: tabular-nums; }
+.steps b { font-weight: 650; }
+.after-steps { margin-top: 30px; color: var(--muted); }
+
+/* Downloads */
+.downloads { margin-top: 36px; border-top: 1.5px solid var(--ink); }
+.dl { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 1.3fr) minmax(0, 1.6fr); gap: 16px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
+.dl h3 { font-size: 1.6rem; font-weight: 730; letter-spacing: -.02em; }
+.dl .req { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
+.dl .yours { display: none; margin-top: 10px; font-size: 13px; font-weight: 650; color: var(--rose); }
+.dl.current .yours { display: block; }
+.files { display: grid; gap: 10px; align-content: start; margin: 0; padding: 0; list-style: none; }
+.files a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 620; }
+.files a:hover { border-color: var(--rose); }
+.files small { color: var(--muted); font-weight: 450; font-size: 14px; white-space: nowrap; }
+.dl .how { font-size: 15.5px; color: color-mix(in srgb, var(--ink) 82%, var(--paper)); margin: 0; }
+.more-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; font-size: 15px; }
+
+/* Safety */
+.facts { margin: 0; padding-left: 1.15em; }
+.facts li { margin: 0 0 .8em; padding-left: .2em; }
+.facts li::marker { color: var(--rose); }
+.safety h3 { font-size: 1.25rem; font-weight: 680; margin-bottom: 14px; letter-spacing: -.01em; }
+
+/* Footer */
+.site-foot { border-top: 1px solid var(--line); padding-block: 36px 56px; font-size: 14.5px; color: var(--muted); }
+.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) auto; gap: 24px 48px; align-items: start; }
+.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
+.site-foot p { margin: 0; max-width: 46em; }
+
+/* The one orchestrated moment: the menu opens, then the meters fill. */
+@media (prefers-reduced-motion: no-preference) {
+ .js .desk .menu { animation: menu-open .2s ease-out .35s both; }
+ .js .desk[data-os="win"] .menu { animation-name: menu-open-up; }
+ @keyframes menu-open { from { opacity: 0; transform: translateY(-4px) scale(.985); } }
+ @keyframes menu-open-up { from { opacity: 0; transform: translateY(4px) scale(.985); } }
+}
+@media (prefers-reduced-motion: reduce) {
+ html { scroll-behavior: auto; }
+}
+
+/* Narrower screens */
+@media (max-width: 1020px) {
+ .site-nav { display: none; }
+ .lang { margin-left: auto; }
+ .hero { grid-template-columns: 1fr; }
+ .desk-wrap { max-width: 560px; }
+ .split, .split.even { grid-template-columns: minmax(0, 1fr); }
+ .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
+ .dl { grid-template-columns: 1fr 1fr; }
+ .dl > div:first-child { grid-column: 1 / -1; }
+}
+@media (max-width: 760px) {
+ body { font-size: 16px; }
+ .windows { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 330px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
+ .windows > li { scroll-snap-align: start; }
+ .desk { height: 420px; }
+ .menu { font-size: 12px; }
+ .menu .row { height: 21px; padding-left: 20px; padding-right: 10px; }
+ .meter i, .desk[data-os] .meter i { width: 4px; }
+ .desk[data-os="win"] .meter i, .desk[data-os="linux"] .meter i { width: 5px; height: 5px; }
+ .dl { grid-template-columns: 1fr; }
+ .steps { grid-template-columns: 1fr; }
+ .desk[data-os] .menu .row { height: 21px; }
+ .machines thead { display: none; }
+ .machines caption { display: block; }
+ .machines, .machines tbody, .machines tr, .machines td { display: block; width: auto; }
+ .machines tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
+ .machines td { border: 0; padding: 3px 0; }
+ .machines td:first-child { width: auto; font-size: 1.05rem; padding-bottom: 6px; }
+ .machines td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
+ .site-foot .wrap { grid-template-columns: 1fr; }
+}
+@media (max-width: 420px) {
+ .desk { height: 340px; border-radius: 16px; }
+}
diff --git a/web/companion/assets/site.js b/web/companion/assets/site.js
new file mode 100644
index 000000000..d1f0a39d3
--- /dev/null
+++ b/web/companion/assets/site.js
@@ -0,0 +1,55 @@
+// WebBrain Companion site: picks the visitor's system for the download button
+// and the tray illustration, and fills the illustration's usage meters once.
+(() => {
+ const desk = document.querySelector(".desk");
+ const get = document.getElementById("get");
+ const reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
+
+ function detectOS() {
+ const ua = navigator.userAgent || "";
+ const platform = (navigator.userAgentData && navigator.userAgentData.platform) || navigator.platform || "";
+ if (/android|iphone|ipad|ipod/i.test(ua)) return "";
+ if (/mac/i.test(platform) || /Mac OS X/.test(ua)) return "mac";
+ if (/win/i.test(platform) || /Windows/.test(ua)) return "win";
+ if (/linux|x11|cros/i.test(platform + " " + ua)) return "linux";
+ return "";
+ }
+
+ const buttons = document.querySelectorAll(".seg button");
+ function showMenuFor(os) {
+ if (!desk) return;
+ desk.dataset.os = os;
+ buttons.forEach((b) => b.setAttribute("aria-pressed", String(b.dataset.os === os)));
+ }
+ buttons.forEach((b) => b.addEventListener("click", () => showMenuFor(b.dataset.os)));
+
+ const os = detectOS();
+ if (os) {
+ showMenuFor(os);
+ if (get && get.dataset[os]) {
+ get.textContent = get.dataset[os];
+ const href = get.dataset[os + "Href"];
+ if (href) get.href = href;
+ }
+ const row = document.querySelector('.dl[data-os="' + os + '"]');
+ if (row) row.classList.add("current");
+ }
+
+ // The menu opens (CSS), then each meter fills to its value, one after another.
+ if (desk && !reduce) {
+ const meters = Array.from(desk.querySelectorAll(".meter"));
+ const targets = meters.map((m) => m.querySelectorAll("i.on").length);
+ meters.forEach((m) => m.querySelectorAll("i").forEach((i) => i.classList.remove("on")));
+ const start = performance.now() + 600;
+ const step = (now) => {
+ let done = true;
+ meters.forEach((m, k) => {
+ const n = Math.min(targets[k], Math.max(0, Math.floor((now - start - k * 80) / 50)));
+ if (n < targets[k]) done = false;
+ m.querySelectorAll("i").forEach((i, j) => i.classList.toggle("on", j < n));
+ });
+ if (!done) requestAnimationFrame(step);
+ };
+ requestAnimationFrame(step);
+ }
+})();
diff --git a/web/companion/index.html b/web/companion/index.html
new file mode 100644
index 000000000..e6c0bb809
--- /dev/null
+++ b/web/companion/index.html
@@ -0,0 +1,224 @@
+<!doctype html>
+<html lang="en" class="no-js">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>WebBrain Companion: your AI subscriptions in WebBrain</title>
+<meta name="description" content="A small tray app for macOS, Windows and Linux that serves your Claude, ChatGPT, Google, Grok and Kimi subscriptions to WebBrain on 127.0.0.1, shows how much of each plan is left, and runs Bonsai 2 27B on your own machine.">
+<meta name="color-scheme" content="light dark">
+<meta name="theme-color" content="#fbf6f8" media="(prefers-color-scheme: light)">
+<meta name="theme-color" content="#1a0f18" media="(prefers-color-scheme: dark)">
+<link rel="canonical" href="https://webbrain.one/companion/">
+<link rel="alternate" hreflang="en" href="https://webbrain.one/companion/">
+<link rel="alternate" hreflang="tr" href="https://webbrain.one/companion/tr/">
+<link rel="alternate" hreflang="x-default" href="https://webbrain.one/companion/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="WebBrain">
+<meta property="og:title" content="WebBrain Companion">
+<meta property="og:description" content="A small tray app for macOS, Windows and Linux that serves your Claude, ChatGPT, Google, Grok and Kimi subscriptions to WebBrain on 127.0.0.1, shows how much of each plan is left, and runs Bonsai 2 27B on your own machine.">
+<meta property="og:url" content="https://webbrain.one/companion/">
+<meta property="og:image" content="https://webbrain.one/companion/assets/img/og.png">
+<meta property="og:image:width" content="1200">
+<meta property="og:image:height" content="630">
+<meta name="twitter:card" content="summary_large_image">
+<link rel="icon" type="image/png" href="assets/img/favicon.png">
+<link rel="preload" href="assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2" as="font" type="font/woff2" crossorigin>
+<link rel="stylesheet" href="assets/site.css">
+<script>document.documentElement.classList.replace("no-js", "js")</script>
+<script defer src="assets/site.js"></script>
+</head>
+<body>
+<a class="skip" href="#main">Skip to content</a>
+<header class="wrap site-head">
+ <a class="brand" href="./"><img src="assets/img/logo-128.png" alt="" width="30" height="30">WebBrain Companion</a>
+ <nav class="site-nav" aria-label="Sections">
+ <a href="#panel">The panel</a>
+ <a href="#local">Local model</a>
+ <a href="#connect">Connect</a>
+ <a href="#download">Download</a>
+ </nav>
+ <a class="lang" href="tr/" hreflang="tr" lang="tr">Türkçe</a>
+</header>
+
+<main id="main">
+<section class="wrap hero">
+ <div>
+ <h1>The AI plans you already pay for, ready for WebBrain</h1>
+ <p class="lede">WebBrain Companion lives in your menu bar or system tray. Sign in to Claude, ChatGPT, Google, Grok or Kimi once, and WebBrain reaches all of them at one address on your computer. The tray shows how much of each plan is left and when it resets.</p>
+ <div class="cta">
+ <a class="button primary" id="get" href="#download" data-mac="Download for macOS" data-win="Download for Windows" data-linux="Download for Linux" data-mac-href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-macos-universal.zip" data-win-href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-windows-setup.exe" data-linux-href="#download">Download</a>
+ <span class="cta-note">Version 0.1.2 for macOS, Windows and Linux. Free and open source.</span>
+ </div>
+ </div>
+ <div class="desk-wrap">
+ <div class="desk" data-os="mac" role="img" aria-label="Illustration of the Companion&#x27;s tray menu: running, the address to copy, and how much is left of Claude Max, ChatGPT Pro, Google AI Pro and SuperGrok.">
+ <div class="bar" aria-hidden="true"><span class="s s3"></span><span class="s s2"></span><span class="icon"><span class="glyph"></span></span><span class="s s1"></span></div>
+ <div class="menu" aria-hidden="true">
+ <div class="row dim"><span>WebBrain Companion — Running</span></div>
+ <div class="row"><span>Copy&nbsp;&nbsp;http://127.0.0.1:8327/v1</span></div>
+ <div class="sep"></div>
+ <div class="row plan"><span>Claude Max</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i><i></i></span><span>64% · 2h 13m</span></div>
+ <div class="row plan"><span>ChatGPT Pro</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i><i></i></span><span>57% · 4d</span></div>
+ <div class="row plan"><span>Google AI Pro</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i></span><span>71% · 5d</span></div>
+ <div class="row plan"><span>Grok SuperGrok</span><span class="meter"><i class="on"></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span><span>12% · 3d</span></div>
+ <div class="sep"></div>
+ <div class="row"><span>Open panel…</span></div>
+ <div class="row"><span>Quit WebBrain Companion</span></div>
+ </div>
+ </div>
+ <div class="os-switch"><span id="os-label">Menu on</span><span class="seg" role="group" aria-labelledby="os-label"><button type="button" data-os="mac" aria-pressed="true">macOS</button><button type="button" data-os="win" aria-pressed="false">Windows</button><button type="button" data-os="linux" aria-pressed="false">Linux</button></span></div>
+ </div>
+</section>
+
+<section class="section" id="panel" aria-labelledby="panel-h">
+ <div class="wrap">
+ <h2 id="panel-h">Everything else happens in one small panel</h2>
+ <p class="intro">Click the icon to open it. One page holds the address for WebBrain, every plan with what&#x27;s left, and the two local models; click a row for its details, or the gear for settings. It follows your light or dark setting and speaks English and Turkish.</p>
+ <ul class="windows">
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="assets/img/panel-en-dark.webp" media="(prefers-color-scheme: dark)"><img src="assets/img/panel-en-light.webp" width="460" height="760" alt="The panel: the address http://127.0.0.1:8327/v1 with a Copy button, usage meters for Claude Max, ChatGPT Pro, Google AI Pro and SuperGrok, and Bonsai 2 27B running next to the d1 decision model." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>One page</h3><p>The address WebBrain needs, each plan with the limit closest to running out, and the local models with their main button. No API key on this computer.</p></figcaption>
+ </figure></li>
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="assets/img/add-en-dark.webp" media="(prefers-color-scheme: dark)"><img src="assets/img/add-en-light.webp" width="460" height="760" alt="The add subscription sheet listing Claude, ChatGPT, Google, Grok and Kimi, each with how you sign in." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>Add a subscription</h3><p>Sign in on the provider&#x27;s own page. The login stays on your computer.</p></figcaption>
+ </figure></li>
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="assets/img/local-en-dark.webp" media="(prefers-color-scheme: dark)"><img src="assets/img/local-en-light.webp" width="460" height="760" alt="The Bonsai 2 27B details over the panel: running on the Apple GPU with image input on, 65,536 tokens of context, and its options." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>Local models</h3><p>Click Bonsai 2 27B to see where it runs and whether images fit, and to change its options. d1 opens the same way.</p></figcaption>
+ </figure></li>
+ </ul>
+ </div>
+</section>
+
+<section class="section" id="local" aria-labelledby="local-h">
+ <div class="wrap">
+ <h2 id="local-h">Bonsai 2 27B, sized to your machine</h2>
+ <div class="split">
+ <p class="intro">PrismML's Ternary Bonsai 2 27B packs 27 billion parameters into 5.95 GB. The companion installs it with its Q8_0 vision projector and PrismML's build of llama.cpp, or as the MLX pack on Apple Silicon, and lists it next to your subscriptions as <code>bonsai-2-27b</code>.</p>
+ <p class="intro">Before anything downloads, it works out where the model runs and whether image input fits. The vision projector goes on the GPU when about 1 GB of GPU memory is left after the model and its context, on the CPU when only system RAM has room, and stays off otherwise. You can override the choice in the panel.</p>
+ </div>
+ <table class="machines">
+ <caption>What the companion picks on typical machines</caption>
+ <thead><tr><th scope="col">Machine</th><th scope="col">Runs on</th><th scope="col">Image input</th><th scope="col">Context</th></tr></thead>
+ <tbody>
+ <tr><td>MacBook Air, 8 GB</td><td data-label="Runs on">Apple GPU with Metal. It needs more memory than the Mac has, so expect swapping.</td><td data-label="Image input"><span class="vis off">Off</span></td><td data-label="Context">8K tokens</td></tr>
+ <tr><td>MacBook Pro, 16 GB</td><td data-label="Runs on">Apple GPU with Metal</td><td data-label="Image input"><span class="vis gpu">On, GPU</span></td><td data-label="Context">16K tokens</td></tr>
+ <tr><td>Laptop with an RTX 4060 (8 GB) and 16 GB RAM</td><td data-label="Runs on">CUDA, 57 of 64 layers on the GPU</td><td data-label="Image input"><span class="vis cpu">On, CPU</span></td><td data-label="Context">8K tokens</td></tr>
+ <tr><td>Desktop with an RTX 4090 (24 GB) and 64 GB RAM</td><td data-label="Runs on">CUDA, all on the GPU</td><td data-label="Image input"><span class="vis gpu">On, GPU</span></td><td data-label="Context">64K tokens</td></tr>
+ <tr><td>Desktop with a Radeon RX 7600 (8 GB) and 32 GB RAM</td><td data-label="Runs on">Vulkan, 61 of 64 layers on the GPU</td><td data-label="Image input"><span class="vis cpu">On, CPU</span></td><td data-label="Context">8K tokens</td></tr>
+ <tr><td>PC without a graphics card, 16 GB RAM</td><td data-label="Runs on">CPU</td><td data-label="Image input"><span class="vis cpu">On, CPU</span></td><td data-label="Context">8K tokens</td></tr>
+ <tr><td>PC without a graphics card, 8 GB RAM</td><td data-label="Runs on">CPU, with little room to spare</td><td data-label="Image input"><span class="vis off">Off</span></td><td data-label="Context">8K tokens</td></tr>
+ </tbody>
+ </table>
+ <p class="note">Worked out by the companion&#x27;s planner from total and free memory; the numbers on your machine at install time decide. On Apple Silicon the MLX pack carries its own vision tower, so images are always on.</p>
+ </div>
+</section>
+
+<section class="section" id="decision" aria-labelledby="d1-h">
+ <div class="wrap">
+ <h2 id="d1-h">WebBrain&#x27;s decision model, outside the browser</h2>
+ <div class="split">
+ <p class="intro">WebBrain&#x27;s d1 model answers yes/no, choice and score questions about a page and up to four screenshots, such as whether a task is finished. The companion runs it on ONNX Runtime and answers over HTTP, so a browser tab doesn&#x27;t have to load 1.9 GB. Its Go port returns the same tokens and probabilities as WebBrain&#x27;s JavaScript adapter. Native d1 is available on Windows, Linux and Apple Silicon Macs; it is unavailable on Intel Macs.</p>
+ <div>
+ <p class="code-label">Ask</p>
+ <pre><code>curl http://127.0.0.1:8327/companion/v1/decide \
+ -H &quot;Content-Type: application/json&quot; \
+ -d &#x27;{&quot;state&quot;: &quot;Order #1042 is confirmed.&quot;,
+ &quot;questions&quot;: {&quot;completion&quot;: {
+ &quot;type&quot;: &quot;choice&quot;,
+ &quot;instructions&quot;: &quot;Did the task finish?&quot;,
+ &quot;criteria&quot;: {&quot;completed&quot;: &quot;Confirmed&quot;,
+ &quot;not_completed&quot;: &quot;Failed or unfinished&quot;,
+ &quot;unknown&quot;: &quot;Not established&quot;}}}}&#x27;</code></pre>
+ <p class="code-label">Answer (273 ms on the CPU runtime)</p>
+ <pre><code>{&quot;answers&quot;: {&quot;completion&quot;: {
+ &quot;choice&quot;: &quot;completed&quot;,
+ &quot;confidence&quot;: 0.99997,
+ &quot;probabilities&quot;: {&quot;completed&quot;: 0.99997,
+ &quot;not_completed&quot;: 0.000002,
+ &quot;unknown&quot;: 0.000033}}},
+ &quot;diagnostics&quot;: {&quot;runtime&quot;: &quot;onnxruntime 1.31.0 (CPU)&quot;, …}}</code></pre>
+ </div>
+ </div>
+ </div>
+</section>
+
+<section class="section" id="connect" aria-labelledby="connect-h">
+ <div class="wrap">
+ <h2 id="connect-h">Connect WebBrain</h2>
+ <p class="intro">You do this once. Apps on this computer need no API key.</p>
+ <ol class="steps">
+ <li>Install the companion and open it. Add a subscription in its panel and finish the sign-in in your browser.</li>
+ <li>Copy the address, <code>http://127.0.0.1:8327/v1</code>, from the panel or the tray menu.</li>
+ <li>In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu), choose <b>Local OpenAI-compatible Proxy</b> and paste the address in place of the 8317 WebBrain fills in. WebBrain asks for an API key: type anything.</li>
+ <li>Click <b>Load models</b>, pick a model, and run <b>Test Connection</b>. Turn on vision only for a model that accepts images.</li>
+ </ol>
+ <p class="after-steps">Any OpenAI, Anthropic or Gemini client on this computer can use the same address. To use it from another device, turn on network access in the panel&#x27;s settings; that device then needs the API key the panel shows.</p>
+ </div>
+</section>
+
+<section class="section" id="download" aria-labelledby="download-h">
+ <div class="wrap">
+ <h2 id="download-h">Download</h2>
+ <p class="intro">Version 0.1.2. Each package holds a single program; your settings and logins live in your user folder.</p>
+ <div class="downloads">
+ <div class="dl" data-os="mac">
+ <div><h3>macOS</h3><p class="req">macOS 12 or later, Apple Silicon and Intel (d1 requires Apple Silicon)</p><span class="yours">Your system</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-macos-universal.zip">Universal app <small>zip, 36 MB</small></a></li></ul>
+ <p class="how">Move WebBrain Companion to Applications. The build is not notarized by Apple: the first time, allow it in System Settings, Privacy &amp; Security (Open Anyway). On macOS 14 and earlier, Control-click it and choose Open.</p>
+ </div>
+ <div class="dl" data-os="win">
+ <div><h3>Windows</h3><p class="req">Windows 10 and 11, x64 and Arm64</p><span class="yours">Your system</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-windows-setup.exe">Installer <small>setup.exe, 23 MB</small></a></li></ul>
+ <p class="how">Run the installer: it installs for your account, without an administrator prompt, and adds WebBrain Companion to the Start menu. Until the installer is code-signed, SmartScreen may say &quot;Windows protected your PC&quot;: choose More info, then Run anyway.</p>
+ </div>
+ <div class="dl" data-os="linux">
+ <div><h3>Linux</h3><p class="req">x64 and Arm64</p><span class="yours">Your system</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-x64.tar.gz">x64 <small>tar.gz, 20 MB</small></a></li><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-arm64.tar.gz">Arm64 <small>tar.gz, 18 MB</small></a></li></ul>
+ <p class="how">Unpack and run webbrain-companion. The icon needs a StatusNotifierItem tray: KDE, XFCE, or GNOME with the AppIndicator extension.</p>
+ </div>
+ </div>
+ <p class="more-links"><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-SHA256SUMS.txt">SHA-256 checksums</a><a href="https://github.com/esokullu/webbrain/tree/main/webbrain-systray">Source code</a><a href="https://github.com/esokullu/webbrain/releases">All releases</a></p>
+ </div>
+</section>
+
+<section class="section safety" id="safety" aria-labelledby="safety-h">
+ <div class="wrap">
+ <h2 id="safety-h">Before you sign in</h2>
+ <div class="split even">
+ <div>
+ <h3>What stays on your computer</h3>
+ <ul class="facts">
+ <li>On this computer no API key is needed: the companion answers only requests from 127.0.0.1 and turns away web pages, so a site you visit can&#x27;t spend your plans. Browser extensions such as WebBrain and apps on this computer can use it.</li>
+ <li>Other devices can connect only if you turn on network access in the panel&#x27;s settings. It then listens on 0.0.0.0, and they need the API key the panel shows.</li>
+ <li>Logins are stored in your user folder and sent only to the provider they belong to.</li>
+ <li>There are no analytics. Apart from the providers you sign in to, it only fetches CLIProxyAPI&#x27;s public model list, and, when you install a model, its files from Hugging Face, GitHub and, for MLX, PyPI.</li>
+ <li>Prompts sent to a subscription still go to that provider. Only Bonsai 2 27B and d1 run on your machine.</li>
+ </ul>
+ </div>
+ <div>
+ <h3>What your provider decides</h3>
+ <ul class="facts">
+ <li>A subscription that works through a proxy is not the same as one the provider allows. Anthropic&#x27;s consumer terms restrict automated access outside an API key, and Google&#x27;s Gemini CLI terms say its sign-in may not be used with third-party tools.</li>
+ <li>Check the terms of your plan and region before you add it. If an account matters to you, a provider API key is the safer route.</li>
+ <li>Keep network access off on public Wi-Fi, and never forward port 8327 to the internet. The API key is not internet-grade security.</li>
+ </ul>
+ <p><a href="https://webbrain.one/docs/providers/#companion">Connect WebBrain to Companion</a></p>
+ </div>
+ </div>
+ </div>
+</section>
+</main>
+
+<footer class="site-foot">
+ <div class="wrap">
+ <p>WebBrain Companion is free software under the GPL-3.0-or-later license and embeds CLIProxyAPI. It is not affiliated with Anthropic, OpenAI, Google, xAI, Moonshot AI, Meta or Cognition.</p>
+ <nav aria-label="More"><a href="https://webbrain.one/">WebBrain</a><a href="https://github.com/esokullu/webbrain/tree/main/webbrain-systray">Source code</a><a href="tr/" hreflang="tr" lang="tr">Türkçe</a></nav>
+ </div>
+</footer>
+</body>
+</html>
diff --git a/web/companion/tr/index.html b/web/companion/tr/index.html
new file mode 100644
index 000000000..8b5b4b985
--- /dev/null
+++ b/web/companion/tr/index.html
@@ -0,0 +1,224 @@
+<!doctype html>
+<html lang="tr" class="no-js">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>WebBrain Companion: yapay zekâ aboneliklerin WebBrain&#x27;de</title>
+<meta name="description" content="Claude, ChatGPT, Google, Grok ve Kimi aboneliklerini WebBrain&#x27;e 127.0.0.1 üzerinden sunan, her planda ne kadar hakkın kaldığını gösteren ve Bonsai 2 27B&#x27;yi kendi bilgisayarında çalıştıran küçük bir tepsi uygulaması. macOS, Windows ve Linux için.">
+<meta name="color-scheme" content="light dark">
+<meta name="theme-color" content="#fbf6f8" media="(prefers-color-scheme: light)">
+<meta name="theme-color" content="#1a0f18" media="(prefers-color-scheme: dark)">
+<link rel="canonical" href="https://webbrain.one/companion/tr/">
+<link rel="alternate" hreflang="en" href="https://webbrain.one/companion/">
+<link rel="alternate" hreflang="tr" href="https://webbrain.one/companion/tr/">
+<link rel="alternate" hreflang="x-default" href="https://webbrain.one/companion/">
+<meta property="og:type" content="website">
+<meta property="og:site_name" content="WebBrain">
+<meta property="og:title" content="WebBrain Companion">
+<meta property="og:description" content="Claude, ChatGPT, Google, Grok ve Kimi aboneliklerini WebBrain&#x27;e 127.0.0.1 üzerinden sunan, her planda ne kadar hakkın kaldığını gösteren ve Bonsai 2 27B&#x27;yi kendi bilgisayarında çalıştıran küçük bir tepsi uygulaması. macOS, Windows ve Linux için.">
+<meta property="og:url" content="https://webbrain.one/companion/tr/">
+<meta property="og:image" content="https://webbrain.one/companion/assets/img/og.png">
+<meta property="og:image:width" content="1200">
+<meta property="og:image:height" content="630">
+<meta name="twitter:card" content="summary_large_image">
+<link rel="icon" type="image/png" href="../assets/img/favicon.png">
+<link rel="preload" href="../assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2" as="font" type="font/woff2" crossorigin>
+<link rel="stylesheet" href="../assets/site.css">
+<script>document.documentElement.classList.replace("no-js", "js")</script>
+<script defer src="../assets/site.js"></script>
+</head>
+<body>
+<a class="skip" href="#main">İçeriğe geç</a>
+<header class="wrap site-head">
+ <a class="brand" href="./"><img src="../assets/img/logo-128.png" alt="" width="30" height="30">WebBrain Companion</a>
+ <nav class="site-nav" aria-label="Bölümler">
+ <a href="#panel">Panel</a>
+ <a href="#local">Yerel model</a>
+ <a href="#connect">Bağlantı</a>
+ <a href="#download">İndir</a>
+ </nav>
+ <a class="lang" href="../" hreflang="en" lang="en">English</a>
+</header>
+
+<main id="main">
+<section class="wrap hero">
+ <div>
+ <h1>Zaten ödediğin yapay zekâ aboneliklerini WebBrain&#x27;de kullan</h1>
+ <p class="lede">WebBrain Companion menü çubuğunda ya da sistem tepsisinde durur. Claude, ChatGPT, Google, Grok veya Kimi hesabına bir kez giriş yap; WebBrain hepsine bilgisayarındaki tek bir adresten ulaşsın. Tepsi, her planda ne kadar hakkın kaldığını ve ne zaman sıfırlanacağını gösterir.</p>
+ <div class="cta">
+ <a class="button primary" id="get" href="#download" data-mac="macOS için indir" data-win="Windows için indir" data-linux="Linux için indir" data-mac-href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-macos-universal.zip" data-win-href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-windows-setup.exe" data-linux-href="#download">İndir</a>
+ <span class="cta-note">Sürüm 0.1.2; macOS, Windows ve Linux için. Ücretsiz ve açık kaynak.</span>
+ </div>
+ </div>
+ <div class="desk-wrap">
+ <div class="desk" data-os="mac" role="img" aria-label="Companion&#x27;ın tepsi menüsünün çizimi: çalışıyor, kopyalanacak adres ve Claude Max, ChatGPT Pro, Google AI Pro ile SuperGrok&#x27;ta ne kadar hak kaldığı.">
+ <div class="bar" aria-hidden="true"><span class="s s3"></span><span class="s s2"></span><span class="icon"><span class="glyph"></span></span><span class="s s1"></span></div>
+ <div class="menu" aria-hidden="true">
+ <div class="row dim"><span>WebBrain Companion — Çalışıyor</span></div>
+ <div class="row"><span>Kopyala&nbsp;&nbsp;http://127.0.0.1:8327/v1</span></div>
+ <div class="sep"></div>
+ <div class="row plan"><span>Claude Max</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i><i></i></span><span>%64 · 2 sa 13 dk</span></div>
+ <div class="row plan"><span>ChatGPT Pro</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i><i></i></span><span>%57 · 4 gün</span></div>
+ <div class="row plan"><span>Google AI Pro</span><span class="meter"><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i class="on"></i><i></i><i></i><i></i></span><span>%71 · 5 gün</span></div>
+ <div class="row plan"><span>Grok SuperGrok</span><span class="meter"><i class="on"></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span><span>%12 · 3 gün</span></div>
+ <div class="sep"></div>
+ <div class="row"><span>Paneli aç…</span></div>
+ <div class="row"><span>WebBrain Companion&#x27;dan çık</span></div>
+ </div>
+ </div>
+ <div class="os-switch"><span id="os-label">Menü</span><span class="seg" role="group" aria-labelledby="os-label"><button type="button" data-os="mac" aria-pressed="true">macOS</button><button type="button" data-os="win" aria-pressed="false">Windows</button><button type="button" data-os="linux" aria-pressed="false">Linux</button></span></div>
+ </div>
+</section>
+
+<section class="section" id="panel" aria-labelledby="panel-h">
+ <div class="wrap">
+ <h2 id="panel-h">Gerisi tek bir küçük panelde</h2>
+ <p class="intro">Paneli simgeye tıklayarak açarsın. Tek sayfada WebBrain&#x27;in adresi, her planda kalan hak ve iki yerel model durur; ayrıntılar için bir satıra, ayarlar için dişli simgesine tıkla. Panel açık ya da koyu temana uyar; Türkçe ve İngilizce konuşur.</p>
+ <ul class="windows">
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="../assets/img/panel-tr-dark.webp" media="(prefers-color-scheme: dark)"><img src="../assets/img/panel-tr-light.webp" width="460" height="760" alt="Panel: Kopyala düğmesiyle http://127.0.0.1:8327/v1 adresi; Claude Max, ChatGPT Pro, Google AI Pro ve SuperGrok kullanım göstergeleri; çalışan Bonsai 2 27B ve d1 karar modeli." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>Tek sayfa</h3><p>WebBrain&#x27;in istediği adres, her planın bitmeye en yakın sınırı ve ana düğmeleriyle yerel modeller. Bu bilgisayarda API anahtarı yok.</p></figcaption>
+ </figure></li>
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="../assets/img/add-tr-dark.webp" media="(prefers-color-scheme: dark)"><img src="../assets/img/add-tr-light.webp" width="460" height="760" alt="Abonelik ekleme penceresi: Claude, ChatGPT, Google, Grok ve Kimi, her birinin giriş yöntemiyle." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>Abonelik ekleme</h3><p>Girişi sağlayıcının kendi sayfasında yaparsın. Oturum bilgisi bilgisayarında kalır.</p></figcaption>
+ </figure></li>
+ <li><figure>
+ <div class="window"><div class="titlebar" aria-hidden="true"><i></i><i></i><i></i><span>WebBrain Companion</span></div>
+ <picture><source srcset="../assets/img/local-tr-dark.webp" media="(prefers-color-scheme: dark)"><img src="../assets/img/local-tr-light.webp" width="460" height="760" alt="Panelin üzerinde Bonsai 2 27B ayrıntıları: Apple GPU&#x27;da görsel girdi açık çalışıyor, 65.536 token bağlam ve seçenekleri." loading="lazy" decoding="async"></picture></div>
+ <figcaption><h3>Yerel modeller</h3><p>Bonsai 2 27B&#x27;ye tıkla: nerede çalıştığını ve görsellerin sığıp sığmadığını görür, seçeneklerini değiştirirsin. d1 de aynı şekilde açılır.</p></figcaption>
+ </figure></li>
+ </ul>
+ </div>
+</section>
+
+<section class="section" id="local" aria-labelledby="local-h">
+ <div class="wrap">
+ <h2 id="local-h">Bonsai 2 27B, makinene göre ayarlanır</h2>
+ <div class="split">
+ <p class="intro">PrismML'in Ternary Bonsai 2 27B modeli 27 milyar parametreyi 5,95 GB'a sığdırır. Companion onu Q8_0 görsel projektörüyle ve PrismML'in llama.cpp sürümüyle, Apple Silicon'da istersen MLX paketi olarak kurar ve aboneliklerinin yanında <code>bonsai-2-27b</code> adıyla sunar.</p>
+ <p class="intro">Daha hiçbir şey inmeden modelin nerede çalışacağını ve görsel girdinin sığıp sığmayacağını hesaplar. Model ve bağlamı yerleştikten sonra GPU&#x27;da yaklaşık 1 GB yer kalıyorsa görsel projektör GPU&#x27;ya, yalnızca sistem belleğinde yer varsa CPU&#x27;ya gider; ikisi de yoksa kapalı kalır. Bu seçimi panelden değiştirebilirsin.</p>
+ </div>
+ <table class="machines">
+ <caption>Tipik makinelerde Companion&#x27;ın seçtikleri</caption>
+ <thead><tr><th scope="col">Makine</th><th scope="col">Nerede çalışır</th><th scope="col">Görsel girdi</th><th scope="col">Bağlam</th></tr></thead>
+ <tbody>
+ <tr><td>MacBook Air, 8 GB</td><td data-label="Nerede çalışır">Apple GPU&#x27;da Metal. Mac&#x27;teki bellekten fazlasını ister, takas (swap) beklenir.</td><td data-label="Görsel girdi"><span class="vis off">Kapalı</span></td><td data-label="Bağlam">8K token</td></tr>
+ <tr><td>MacBook Pro, 16 GB</td><td data-label="Nerede çalışır">Apple GPU&#x27;da Metal</td><td data-label="Görsel girdi"><span class="vis gpu">Açık, GPU</span></td><td data-label="Bağlam">16K token</td></tr>
+ <tr><td>RTX 4060 (8 GB) ve 16 GB RAM&#x27;li dizüstü</td><td data-label="Nerede çalışır">CUDA, 64 katmanın 57&#x27;si GPU&#x27;da</td><td data-label="Görsel girdi"><span class="vis cpu">Açık, CPU</span></td><td data-label="Bağlam">8K token</td></tr>
+ <tr><td>RTX 4090 (24 GB) ve 64 GB RAM&#x27;li masaüstü</td><td data-label="Nerede çalışır">CUDA, tamamı GPU&#x27;da</td><td data-label="Görsel girdi"><span class="vis gpu">Açık, GPU</span></td><td data-label="Bağlam">64K token</td></tr>
+ <tr><td>Radeon RX 7600 (8 GB) ve 32 GB RAM&#x27;li masaüstü</td><td data-label="Nerede çalışır">Vulkan, 64 katmanın 61&#x27;i GPU&#x27;da</td><td data-label="Görsel girdi"><span class="vis cpu">Açık, CPU</span></td><td data-label="Bağlam">8K token</td></tr>
+ <tr><td>Ekran kartı olmayan, 16 GB RAM&#x27;li PC</td><td data-label="Nerede çalışır">CPU</td><td data-label="Görsel girdi"><span class="vis cpu">Açık, CPU</span></td><td data-label="Bağlam">8K token</td></tr>
+ <tr><td>Ekran kartı olmayan, 8 GB RAM&#x27;li PC</td><td data-label="Nerede çalışır">CPU, payı çok az</td><td data-label="Görsel girdi"><span class="vis off">Kapalı</span></td><td data-label="Bağlam">8K token</td></tr>
+ </tbody>
+ </table>
+ <p class="note">Companion&#x27;ın planlayıcısı toplam ve boş belleğe bakarak hesaplar; son kararı kurulum anında makinendeki değerler verir. Apple Silicon&#x27;da MLX paketi kendi görsel katmanını taşır, görsel girdi her zaman açıktır.</p>
+ </div>
+</section>
+
+<section class="section" id="decision" aria-labelledby="d1-h">
+ <div class="wrap">
+ <h2 id="d1-h">WebBrain&#x27;in karar modeli, tarayıcının dışında</h2>
+ <div class="split">
+ <p class="intro">WebBrain&#x27;in d1 modeli bir sayfa ve en fazla dört ekran görüntüsü hakkında evet/hayır, seçim ve puan sorularını yanıtlar; örneğin bir görevin bitip bitmediğini. Companion modeli ONNX Runtime ile çalıştırır ve HTTP üzerinden yanıtlar; böylece 1,9 GB&#x27;lık modeli bir tarayıcı sekmesi yüklemek zorunda kalmaz. Go&#x27;ya taşınan sürüm, WebBrain&#x27;in JavaScript adaptörüyle aynı token&#x27;ları ve olasılıkları verir. Yerel d1 Windows, Linux ve Apple Silicon Mac&#x27;lerde kullanılabilir; Intel Mac&#x27;lerde kullanılamaz.</p>
+ <div>
+ <p class="code-label">Soru</p>
+ <pre><code>curl http://127.0.0.1:8327/companion/v1/decide \
+ -H &quot;Content-Type: application/json&quot; \
+ -d &#x27;{&quot;state&quot;: &quot;Order #1042 is confirmed.&quot;,
+ &quot;questions&quot;: {&quot;completion&quot;: {
+ &quot;type&quot;: &quot;choice&quot;,
+ &quot;instructions&quot;: &quot;Did the task finish?&quot;,
+ &quot;criteria&quot;: {&quot;completed&quot;: &quot;Confirmed&quot;,
+ &quot;not_completed&quot;: &quot;Failed or unfinished&quot;,
+ &quot;unknown&quot;: &quot;Not established&quot;}}}}&#x27;</code></pre>
+ <p class="code-label">Yanıt (CPU&#x27;da 273 ms)</p>
+ <pre><code>{&quot;answers&quot;: {&quot;completion&quot;: {
+ &quot;choice&quot;: &quot;completed&quot;,
+ &quot;confidence&quot;: 0.99997,
+ &quot;probabilities&quot;: {&quot;completed&quot;: 0.99997,
+ &quot;not_completed&quot;: 0.000002,
+ &quot;unknown&quot;: 0.000033}}},
+ &quot;diagnostics&quot;: {&quot;runtime&quot;: &quot;onnxruntime 1.31.0 (CPU)&quot;, …}}</code></pre>
+ </div>
+ </div>
+ </div>
+</section>
+
+<section class="section" id="connect" aria-labelledby="connect-h">
+ <div class="wrap">
+ <h2 id="connect-h">WebBrain&#x27;i bağla</h2>
+ <p class="intro">Bunu bir kez yaparsın. Bu bilgisayardaki uygulamaların API anahtarına ihtiyacı yok.</p>
+ <ol class="steps">
+ <li>Companion'ı kur ve aç. Panelinden bir abonelik ekle ve girişi tarayıcında tamamla.</li>
+ <li>Adresi (<code>http://127.0.0.1:8327/v1</code>) panelden ya da tepsi menüsünden kopyala.</li>
+ <li>WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>), <b>Local OpenAI-compatible Proxy</b>'yi seç ve adresi WebBrain'in doldurduğu 8317 yerine yapıştır. WebBrain API anahtarı ister: herhangi bir şey yaz.</li>
+ <li><b>Modelleri yükle</b>'ye bas, bir model seç ve <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.</li>
+ </ol>
+ <p class="after-steps">Bu bilgisayardaki OpenAI, Anthropic ya da Gemini uyumlu her istemci aynı adresi anahtarsız kullanabilir. Başka bir cihazdan kullanmak için panelin ayarlarından ağ erişimini aç; o cihaz panelin gösterdiği API anahtarını kullanmalı.</p>
+ </div>
+</section>
+
+<section class="section" id="download" aria-labelledby="download-h">
+ <div class="wrap">
+ <h2 id="download-h">İndir</h2>
+ <p class="intro">Sürüm 0.1.2. Her paket tek bir program içerir; ayarların ve girişlerin kullanıcı klasöründe durur.</p>
+ <div class="downloads">
+ <div class="dl" data-os="mac">
+ <div><h3>macOS</h3><p class="req">macOS 12 ve sonrası, Apple Silicon ve Intel (d1 için Apple Silicon gerekli)</p><span class="yours">Senin sistemin</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-macos-universal.zip">Universal uygulama <small>zip, 36 MB</small></a></li></ul>
+ <p class="how">WebBrain Companion&#x27;ı Uygulamalar klasörüne taşı. Sürüm Apple onayından (notarization) geçmedi: ilk açılışta Sistem Ayarları, Gizlilik ve Güvenlik bölümünden izin ver (Yine de Aç). macOS 14 ve öncesinde Control tuşuyla tıklayıp Aç&#x27;ı seçmen yeterli.</p>
+ </div>
+ <div class="dl" data-os="win">
+ <div><h3>Windows</h3><p class="req">Windows 10 ve 11, x64 ve Arm64</p><span class="yours">Senin sistemin</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-windows-setup.exe">Kurulum dosyası <small>setup.exe, 23 MB</small></a></li></ul>
+ <p class="how">Kurulum dosyasını çalıştır: yönetici izni istemeden senin hesabına kurar ve WebBrain Companion&#x27;ı Başlat menüsüne ekler. Kurulum dosyası kod imzalı olana kadar SmartScreen &quot;Windows bilgisayarınızı korudu&quot; diyebilir: Ek bilgi&#x27;yi, ardından Yine de çalıştır&#x27;ı seç.</p>
+ </div>
+ <div class="dl" data-os="linux">
+ <div><h3>Linux</h3><p class="req">x64 ve Arm64</p><span class="yours">Senin sistemin</span></div>
+ <ul class="files"><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-x64.tar.gz">x64 <small>tar.gz, 20 MB</small></a></li><li><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-linux-arm64.tar.gz">Arm64 <small>tar.gz, 18 MB</small></a></li></ul>
+ <p class="how">Arşivi aç ve webbrain-companion&#x27;ı çalıştır. Simge için StatusNotifierItem destekli bir tepsi gerekir: KDE, XFCE ya da AppIndicator eklentili GNOME.</p>
+ </div>
+ </div>
+ <p class="more-links"><a href="https://github.com/esokullu/webbrain/releases/download/systray-v0.1.2/WebBrain-Companion-0.1.2-SHA256SUMS.txt">SHA-256 özetleri</a><a href="https://github.com/esokullu/webbrain/tree/main/webbrain-systray">Kaynak kodu</a><a href="https://github.com/esokullu/webbrain/releases">Tüm sürümler</a></p>
+ </div>
+</section>
+
+<section class="section safety" id="safety" aria-labelledby="safety-h">
+ <div class="wrap">
+ <h2 id="safety-h">Giriş yapmadan önce</h2>
+ <div class="split even">
+ <div>
+ <h3>Bilgisayarında kalanlar</h3>
+ <ul class="facts">
+ <li>Bu bilgisayarda API anahtarı gerekmez: Companion yalnızca 127.0.0.1&#x27;den gelen istekleri yanıtlar ve web sayfalarını geri çevirir; böylece girdiğin bir site planlarını harcayamaz. WebBrain gibi tarayıcı eklentileri ve bu bilgisayardaki uygulamalar onu kullanabilir.</li>
+ <li>Diğer cihazlar yalnızca panelin ayarlarından ağ erişimini açarsan bağlanabilir. Companion o zaman 0.0.0.0&#x27;da dinler ve o cihazlar panelin gösterdiği API anahtarını kullanmalıdır.</li>
+ <li>Girişler kullanıcı klasöründe saklanır ve yalnızca ait oldukları sağlayıcıya gönderilir.</li>
+ <li>Analitik yok. Giriş yaptığın sağlayıcılar dışında yalnızca CLIProxyAPI&#x27;nin herkese açık model listesini alır; bir model kurduğunda da dosyalarını Hugging Face&#x27;ten, GitHub&#x27;dan ve MLX için PyPI&#x27;dan indirir.</li>
+ <li>Bir aboneliğe giden istemler yine o sağlayıcıya gider. Bilgisayarında çalışan yalnızca Bonsai 2 27B ve d1&#x27;dir.</li>
+ </ul>
+ </div>
+ <div>
+ <h3>Sağlayıcının belirledikleri</h3>
+ <ul class="facts">
+ <li>Bir aboneliğin proxy üzerinden çalışması, sağlayıcının buna izin verdiği anlamına gelmez. Anthropic&#x27;in tüketici koşulları API anahtarı dışındaki otomatik erişimi kısıtlar; Google&#x27;ın Gemini CLI koşulları da bu girişin üçüncü taraf araçlarla kullanılamayacağını söyler.</li>
+ <li>Eklemeden önce planının ve bölgenin koşullarına bak. Hesabın senin için önemliyse sağlayıcının API anahtarı daha güvenli yoldur.</li>
+ <li>Herkese açık Wi-Fi&#x27;da ağ erişimini kapalı tut ve 8327 portunu asla internete yönlendirme. API anahtarı internete dayanacak bir güvenlik sağlamaz.</li>
+ </ul>
+ <p><a href="https://webbrain.one/docs/providers/#companion">WebBrain&#x27;i Companion&#x27;a bağlama rehberi (İngilizce)</a></p>
+ </div>
+ </div>
+ </div>
+</section>
+</main>
+
+<footer class="site-foot">
+ <div class="wrap">
+ <p>WebBrain Companion, GPL-3.0-or-later lisanslı özgür bir yazılımdır ve CLIProxyAPI&#x27;yi içinde barındırır. Anthropic, OpenAI, Google, xAI, Moonshot AI, Meta ya da Cognition ile bağlantılı değildir.</p>
+ <nav aria-label="Bağlantılar"><a href="https://webbrain.one/">WebBrain</a><a href="https://github.com/esokullu/webbrain/tree/main/webbrain-systray">Kaynak kodu</a><a href="../" hreflang="en" lang="en">English</a></nav>
+ </div>
+</footer>
+</body>
+</html>
diff --git a/web/docs/apocalypse-mode/index.html b/web/docs/apocalypse-mode/index.html
index 6da6c4f7f..75f21bfda 100644
--- a/web/docs/apocalypse-mode/index.html
+++ b/web/docs/apocalypse-mode/index.html
@@ -16,7 +16,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/" aria-label="Open the Chinese documentation overview"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/" aria-current="page">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain">Source code ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/" aria-current="page">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain">Source code ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Apocalypse Mode</div>
<section class="doc-hero"><div class="eyebrow">WebBrain, ready when the internet isn’t</div><h1>Prepare local intelligence and practical knowledge before you need them.</h1><p class="lede">Apocalypse Mode assembles an offline-ready kit inside your browser: on-device text and vision models on supported Chromium systems, a searchable Wikipedia archive, and an Emergency Box of books and field references.</p><div class="mode-strip" aria-label="The three essentials in the Chromium Apocalypse Mode setup"><div class="mode ask"><strong>Text model</strong><span>2.2 GB · local WebGPU inference</span></div><div class="mode act"><strong>Vision model</strong><span>optional · screenshots stay local</span></div><div class="mode dev"><strong>Wikipedia</strong><span>Simple English · searchable offline</span></div></div></section>
diff --git a/web/docs/captcha/index.html b/web/docs/captcha/index.html
index ec4fc7dfb..cc2b798d5 100644
--- a/web/docs/captcha/index.html
+++ b/web/docs/captcha/index.html
@@ -19,7 +19,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/captcha/" aria-current="page">CAPTCHA solvers</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">Technical docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/captcha/" aria-current="page">CAPTCHA solvers</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">Technical docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / CAPTCHA solvers</div>
<section class="doc-hero"><div class="eyebrow">Optional · bring your own account</div><h1>CAPTCHA solvers and fallback</h1><p class="lede">Enable the services you want WebBrain to use, choose their order, and see which challenges each service supports.</p><div class="meta">API coverage checked September 29, 2026 · Chrome and Firefox</div></section>
diff --git a/web/docs/easy-cli-proxy/index.html b/web/docs/easy-cli-proxy/index.html
index 1e0e38399..d680bf093 100644
--- a/web/docs/easy-cli-proxy/index.html
+++ b/web/docs/easy-cli-proxy/index.html
@@ -25,7 +25,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/easy-cli-proxy/" aria-label="Read in Chinese"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/docs/easy-cli-proxy/" aria-current="page">Subscription proxy</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/easy-cli-proxy/" aria-current="page">Subscription proxy</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / <a href="/docs/providers/">Providers &amp; models</a> / Subscription proxy</div>
<section class="doc-hero"><div class="eyebrow">Independent local compatibility path</div><h1>Bring an account, not an API key—without pretending the trust boundary disappears.</h1><p class="lede">EasyCLIProxyAPI can expose supported provider accounts through one local OpenAI-compatible endpoint. WebBrain can use that endpoint, but it does not build, audit, distribute, or endorse the proxy executable.</p><p class="meta">Last verified 26 August 2026 · EasyCLIProxyAPI v0.2.62</p></section>
diff --git a/web/docs/formats/index.html b/web/docs/formats/index.html
index cb173e907..cfa8fb3a6 100644
--- a/web/docs/formats/index.html
+++ b/web/docs/formats/index.html
@@ -16,7 +16,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/formats/" aria-label="Read in Chinese"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/" aria-current="page">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/export-and-workflow-formats.md">Format reference ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/" aria-current="page">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/export-and-workflow-formats.md">Format reference ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Exports & saved workflows</div>
<section class="doc-hero"><div class="eyebrow">Portable, with boundaries</div><h1>Choose an export—or teach a workflow—by what you need to reuse.</h1><p class="lede">A readable conversation, a diagnostic trace, a Settings backup, and a reusable workflow are different artifacts. The safest choice is the narrowest one that fits your goal; when you already know the steps, Teacher mode can learn them from one manual demonstration.</p></section>
diff --git a/web/docs/index.html b/web/docs/index.html
index c5db488e5..fb9d18851 100644
--- a/web/docs/index.html
+++ b/web/docs/index.html
@@ -42,7 +42,7 @@
</div>
<div class="sidebar-group">
<div class="sidebar-label">Use WebBrain</div>
- <nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/captcha/">CAPTCHA solvers</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav>
+ <nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/captcha/">CAPTCHA solvers</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav>
</div>
<div class="sidebar-group">
<div class="sidebar-label">For builders</div>
diff --git a/web/docs/lm-studio/index.html b/web/docs/lm-studio/index.html
index dbd4d2559..5c7af9591 100644
--- a/web/docs/lm-studio/index.html
+++ b/web/docs/lm-studio/index.html
@@ -25,7 +25,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/" aria-current="page">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">LM Studio source</div><nav><a href="https://lmstudio.ai/webbrain/web-tools">Hub listing ↗</a><a href="https://github.com/webbrain-one/webbrain/tree/main/lmstudio-plugin">Plugin package ↗</a><a href="https://lmstudio.ai/docs/typescript/plugins">LM Studio plugin docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/" aria-current="page">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">LM Studio source</div><nav><a href="https://lmstudio.ai/webbrain/web-tools">Hub listing ↗</a><a href="https://github.com/webbrain-one/webbrain/tree/main/lmstudio-plugin">Plugin package ↗</a><a href="https://lmstudio.ai/docs/typescript/plugins">LM Studio plugin docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / LM Studio plugin</div>
diff --git a/web/docs/mcp/index.html b/web/docs/mcp/index.html
index 9d6108a00..aeb0f3cf3 100644
--- a/web/docs/mcp/index.html
+++ b/web/docs/mcp/index.html
@@ -25,7 +25,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/" aria-current="page">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">MCP source</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/mcp-server">Server package ↗</a><a href="https://www.npmjs.com/package/@webbrain/mcp-server">npm package ↗</a><a href="/blog/mcp-server-introduction">Launch article ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/" aria-current="page">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">MCP source</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/mcp-server">Server package ↗</a><a href="https://www.npmjs.com/package/@webbrain/mcp-server">npm package ↗</a><a href="/blog/mcp-server-introduction">Launch article ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / MCP server</div>
diff --git a/web/docs/ollama/index.html b/web/docs/ollama/index.html
index dad5989e1..51b14f2e4 100644
--- a/web/docs/ollama/index.html
+++ b/web/docs/ollama/index.html
@@ -25,7 +25,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/" aria-current="page">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Ollama handoff</div><nav><a href="/blog/ollama-launch-handoff/">Launch article ↗</a><a href="https://github.com/esokullu/ollama/tree/codex/ollama-webbrain-launch-handoff">Preview branch ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md#ollama-launch-handoff-preview">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers &amp; models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety &amp; privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports &amp; workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/" aria-current="page">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Ollama handoff</div><nav><a href="/blog/ollama-launch-handoff/">Launch article ↗</a><a href="https://github.com/esokullu/ollama/tree/codex/ollama-webbrain-launch-handoff">Preview branch ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md#ollama-launch-handoff-preview">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Ollama</div>
diff --git a/web/docs/providers/index.html b/web/docs/providers/index.html
index 5454dea64..5b01a2135 100644
--- a/web/docs/providers/index.html
+++ b/web/docs/providers/index.html
@@ -16,14 +16,15 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/providers/" aria-label="Read in Chinese"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/" aria-current="page">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/" aria-current="page">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">Provider internals ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Providers & models</div>
- <section class="doc-hero"><div class="eyebrow">The model behind the panel</div><h1>Choose the setup that matches your patience, privacy, and budget.</h1><p class="lede">WebBrain includes 112 provider cards spanning its built-in cloud option, direct cloud APIs, model routers, and local OpenAI-compatible servers. You only need one active provider.</p></section>
+ <section class="doc-hero"><div class="eyebrow">The model behind the panel</div><h1>Choose the setup that matches your patience, privacy, and budget.</h1><p class="lede">WebBrain includes 114 provider cards spanning its built-in cloud option, direct cloud APIs, model routers, and local OpenAI-compatible servers. You only need one active provider.</p></section>
+ <section class="doc-section" id="companion"><h2>WebBrain Companion</h2><p>Use our separate desktop app for a local model or supported account subscriptions. <a href="/companion/#download">Download WebBrain Companion for Windows, macOS, or Linux</a>. In Providers, choose the WebBrain Companion card, keep the default <code>http://127.0.0.1:8327/v1</code> address unless the app shows a different port, then load a model, save, and test the connection. The extension on this computer needs no API key. Account-backed requests still reach the upstream provider; the optional Bonsai model runs locally.</p></section>
<section class="doc-section" id="quick-choice"><h2>The quick choice</h2><div class="card-grid"><div class="card"><span class="tab-key">Fewest steps</span><h3>WebBrain Compass</h3><p>Built in, active by default, and includes a free daily allowance. No model server or API key setup.</p></div><div class="card"><span class="tab-key">Private & offline-capable</span><h3>Local model</h3><p>Use llama.cpp, Ollama, ODS, LM Studio, Jan, vLLM, SGLang, or LocalAI. Your model requests stay with the server you run.</p></div><div class="card"><span class="tab-key">Direct relationship</span><h3>Cloud API</h3><p>Bring a key for OpenAI, Anthropic, Gemini, Mistral, DeepSeek, xAI, Groq, and other supported providers.</p></div><div class="card"><span class="tab-key">Broad catalog</span><h3>Router</h3><p>Use one account to choose among many models. OpenRouter and Hugging Face are useful when you experiment often.</p></div></div></section>
- <section class="doc-section" id="catalog"><h2>112 built-in provider cards</h2><p>The Providers page includes 79 additional direct APIs and routers, including Azure AI Foundry, Vertex AI, Vertex Anthropic, Cerebras, Cohere, DeepInfra, Perplexity, Vercel AI Gateway, Venice, and many regional coding plans. Search by provider or model name instead of scrolling the whole list.</p><p>Most cards use an API key and OpenAI-compatible endpoint. Vertex cards use a Google Cloud project, location, and authorization key; the global location uses Google’s global endpoint, while Vertex Anthropic also supports the <code>us</code> and <code>eu</code> multi-region hosts. Cloudflare accepts an optional AI Gateway ID and automatically uses the <code>default</code> gateway for <code>@cf/</code> models when the field is blank. Interactive Ask turns stream when the selected provider supports it and automatically retry once without streaming if the connection ends early. Provider-reported token usage is recorded directly; otherwise WebBrain records a conservative estimate so streaming cannot bypass cost limits.</p><div class="callout warning"><strong class="callout-title">GitHub provider entries are intentionally absent</strong><p>GitHub itself is not going away, but GitHub Models retires July 30, 2026. GitHub Copilot requires a separate subscription/OAuth integration. GitLab Duo and SAP AI Core also require custom authentication and discovery not supported by the browser extension.</p></div></section>
+ <section class="doc-section" id="catalog"><h2>114 built-in provider cards</h2><p>The Providers page includes 79 additional direct APIs and routers, including Azure AI Foundry, Vertex AI, Vertex Anthropic, Cerebras, Cohere, DeepInfra, Perplexity, Vercel AI Gateway, Venice, and many regional coding plans. Search by provider or model name instead of scrolling the whole list.</p><p>Most cards use an API key and OpenAI-compatible endpoint. Vertex cards use a Google Cloud project, location, and authorization key; the global location uses Google’s global endpoint, while Vertex Anthropic also supports the <code>us</code> and <code>eu</code> multi-region hosts. Cloudflare accepts an optional AI Gateway ID and automatically uses the <code>default</code> gateway for <code>@cf/</code> models when the field is blank. Interactive Ask turns stream when the selected provider supports it and automatically retry once without streaming if the connection ends early. Provider-reported token usage is recorded directly; otherwise WebBrain records a conservative estimate so streaming cannot bypass cost limits.</p><div class="callout warning"><strong class="callout-title">GitHub provider entries are intentionally absent</strong><p>GitHub itself is not going away, but GitHub Models retires July 30, 2026. GitHub Copilot requires a separate subscription/OAuth integration. GitLab Duo and SAP AI Core also require custom authentication and discovery not supported by the browser extension.</p></div></section>
<section class="doc-section" id="setup"><h2>Configure a provider</h2><figure class="shot"><a href="/docs/assets/screenshots/settings-providers.jpg"><img src="/docs/assets/screenshots/settings-providers.jpg" alt="LLM tab of the Providers page with Local, Cloud and Router filters plus the active provider card"></a><figcaption>Use filters to shorten the list. The active provider remains visible so you always know what the panel is using.</figcaption></figure><ol class="step-list"><li><strong>Open the Providers page.</strong> Choose <strong>More…</strong> in the side panel’s model menu, or use the Providers link at the top of Settings. The <strong>LLM</strong> tab lists the chat providers.</li><li><strong>Find the provider.</strong> Use Local, Cloud, Router, or the search field.</li><li><strong>Open its card.</strong> Non-active cards are collapsed to keep the list readable.</li><li><strong>Enter the values.</strong> Local servers usually need a URL and model name. Cloud providers also need an API key.</li><li><strong>Save.</strong> This stores the card’s current fields in the browser.</li><li><strong>Test Connection.</strong> Fix any reported URL, key, model, or server problem before continuing.</li><li><strong>Set Active.</strong> Only after the test succeeds. A saved provider is not necessarily the provider the side panel is using.</li></ol></section>
diff --git a/web/docs/safety/index.html b/web/docs/safety/index.html
index 41f90ff23..f6b923657 100644
--- a/web/docs/safety/index.html
+++ b/web/docs/safety/index.html
@@ -16,7 +16,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/safety/" aria-label="Read in Chinese"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/" aria-current="page">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/security-model.md">Security model ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/privacy-and-data-flow.md">Privacy & data flow ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/" aria-current="page">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/security-model.md">Security model ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/privacy-and-data-flow.md">Privacy & data flow ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Modes, safety & privacy</div>
<section class="doc-hero"><div class="eyebrow">Human in the loop</div><h1>WebBrain works inside your logged-in browser. Treat that access with care.</h1><p class="lede">The agent can see and use the same websites you can. Modes, plan review, and per-site permissions reduce risk, but you remain responsible for the prompt, destination, and outcome.</p></section>
diff --git a/web/docs/settings/index.html b/web/docs/settings/index.html
index a4fd394c0..d41d87a14 100644
--- a/web/docs/settings/index.html
+++ b/web/docs/settings/index.html
@@ -19,7 +19,7 @@
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">User guide</span></a><nav class="top-nav" aria-label="Primary"><a href="/">Home</a><a href="/docs/" aria-current="page">Docs</a><a href="/blog/">Blog</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/zh/settings/" aria-label="Read in Chinese"><span class="active">EN</span><span>中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="Use light theme">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="Open documentation menu">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/" aria-current="page">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/docs/easy-cli-proxy/">Subscription proxy</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">Technical docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="Documentation"><div class="sidebar-group"><div class="sidebar-label">Start here</div><nav><a href="/docs/">Overview</a><a href="/docs/faq/">FAQ</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Use WebBrain</div><nav><a href="/docs/settings/" aria-current="page">Settings, explained</a><a href="/docs/providers/">Providers & models</a><a href="/companion/">WebBrain Companion</a><a href="/docs/safety/">Modes, safety & privacy</a><a href="/docs/apocalypse-mode/">Apocalypse Mode</a><a href="/docs/formats/">Exports & workflows</a><a href="/docs/mcp/">MCP server</a><a href="/docs/lm-studio/">LM Studio plugin</a><a href="/docs/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">For builders</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">Technical docs ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Community</div><nav><a href="https://discord.gg/cgC325ssfw">Discord Support</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/">Docs</a> / Settings</div>
<section class="doc-hero"><div class="eyebrow">Settings, without guesswork</div><h1>Know what to change—and what to leave alone.</h1><p class="lede">Open Settings from the gear in the side panel or from your browser’s extension options. The chat model and its helper models have their own <strong>Providers</strong> page: open it from <strong>More…</strong> in the side panel’s model menu, or from the Providers link at the top of Settings. Site permissions have a page too: open it with <strong>Manage site permissions</strong> in the <strong>⚠</strong> menu next to the microphone. Most people only need General, Providers and Permissions; the other tabs solve specific problems.</p><div class="meta">Screenshots from the Settings reorganization · synthetic configuration, no real credentials</div></section>
diff --git a/web/docs/zh/apocalypse-mode/index.html b/web/docs/zh/apocalypse-mode/index.html
index f63a40ca1..d8fda0d0b 100644
--- a/web/docs/zh/apocalypse-mode/index.html
+++ b/web/docs/zh/apocalypse-mode/index.html
@@ -15,7 +15,7 @@
<a class="skip-link" href="#main">跳到正文</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/apocalypse-mode/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/" aria-current="page">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a></nav></div><div class="sidebar-group"><div class="sidebar-label">面向开发者</div><nav><a href="https://github.com/webbrain-one/webbrain">源代码 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/" aria-current="page">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a></nav></div><div class="sidebar-group"><div class="sidebar-label">面向开发者</div><nav><a href="https://github.com/webbrain-one/webbrain">源代码 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / 末日模式</div>
<section class="doc-hero"><div class="eyebrow">WebBrain,当互联网不可用时也能使用</div><h1>提前准备好本地智能和实用知识。</h1><p class="lede">末日模式在你的浏览器中组装一套离线就绪的工具包:在支持的 Chromium 系统上运行设备端文本和视觉模型,可搜索的维基百科存档,以及包含书籍和现场参考资料的应急箱。</p><div class="mode-strip" aria-label="Chromium 末日模式设置中的三个核心要素"><div class="mode ask"><strong>文本模型</strong><span>2.2 GB · 本地 WebGPU 推理</span></div><div class="mode act"><strong>视觉模型</strong><span>可选 · 截图保留在本地</span></div><div class="mode dev"><strong>维基百科</strong><span>简易英语版 · 可离线搜索</span></div></div></section>
diff --git a/web/docs/zh/easy-cli-proxy/index.html b/web/docs/zh/easy-cli-proxy/index.html
index b2ff348ce..f308added 100644
--- a/web/docs/zh/easy-cli-proxy/index.html
+++ b/web/docs/zh/easy-cli-proxy/index.html
@@ -25,7 +25,7 @@
<a class="skip-link" href="#main">跳到正文</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/easy-cli-proxy/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/" aria-current="page">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">提供商内部原理 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/easy-cli-proxy/" aria-current="page">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md">提供商内部原理 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / <a href="/docs/zh/providers/">提供商与模型</a> / 订阅代理</div>
<section class="doc-hero"><div class="eyebrow">独立的本地兼容方案</div><h1>使用账户而不是 API 密钥,但不要忽视信任边界。</h1><p class="lede">EasyCLIProxyAPI 可以把支持的提供商账户暴露为一个本地 OpenAI 兼容端点。WebBrain 能使用该端点,但不会开发、审计、分发或认可这个代理程序。</p><p class="meta">最后核验:2026 年 8 月 26 日 · EasyCLIProxyAPI v0.2.62</p></section>
diff --git a/web/docs/zh/formats/index.html b/web/docs/zh/formats/index.html
index b14973877..bee846574 100644
--- a/web/docs/zh/formats/index.html
+++ b/web/docs/zh/formats/index.html
@@ -16,7 +16,7 @@
<a class="skip-link" href="#main">跳到正文</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/formats/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/" aria-current="page">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/export-and-workflow-formats.md">格式参考(英文)↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/" aria-current="page">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/export-and-workflow-formats.md">格式参考(英文)↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / 导出与已保存工作流</div>
<section class="doc-hero"><div class="eyebrow">可迁移,也有边界</div><h1>根据需要复用的内容选择导出格式,或示教一个工作流。</h1><p class="lede">可读对话、诊断轨迹、设置备份和可复用工作流是不同类型的产物。最安全的选择,是只导出完成目标所需的最少内容;如果你已经熟悉步骤,示教模式可以从一次手动演示中学习。</p></section>
diff --git a/web/docs/zh/index.html b/web/docs/zh/index.html
index 0dc020a26..995609007 100644
--- a/web/docs/zh/index.html
+++ b/web/docs/zh/index.html
@@ -15,7 +15,7 @@
<a class="skip-link" href="#main">跳到正文</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/" aria-current="page">概览</a><a href="/docs/zh/faq/">常见问题</a><a href="#first-run">开始使用</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">技术文档(英文)↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/" aria-current="page">概览</a><a href="/docs/zh/faq/">常见问题</a><a href="#first-run">开始使用</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">开发者</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/docs">技术文档(英文)↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<section class="doc-hero"><div class="eyebrow">WebBrain 使用手册</div><h1>浏览器代理有很多开关,但你不需要先学会所有开关。</h1><p class="lede">先打开一个网页并提出问题。这份指南先带你用最短路径得到结果,再在真正需要时解释更深层的设置。</p><div class="path-grid"><a class="path-card" href="#first-run"><span class="tab-key">第一次使用</span><h2>先完成一个任务</h2><p>打开侧边栏、选择合适模式,不改任何设置也能开始。</p><span class="arrow">开始使用 →</span></a><a class="path-card" href="/docs/zh/settings/"><span class="tab-key">控制代理</span><h2>看懂设置</h2><p>每个标签页会改变什么、哪些默认值适合大多数人、哪些可以先忽略。</p><span class="arrow">打开设置指南 →</span></a><a class="path-card" href="/docs/zh/providers/"><span class="tab-key">选择模型</span><h2>配置提供商</h2><p>使用 WebBrain Compass、云 API、模型路由或本地模型。</p><span class="arrow">选择模型 →</span></a><a class="path-card" href="/docs/zh/safety/"><span class="tab-key">保持控制</span><h2>安全使用执行模式</h2><p>了解询问、执行、开发模式,网站权限、记忆边界和高风险覆盖项。</p><span class="arrow">查看安全指南 →</span></a><a class="path-card" href="/docs/zh/formats/"><span class="tab-key">迁移内容</span><h2>放心导出</h2><p>区分对话、轨迹、设置与已保存工作流文件,并了解哪些内容敏感。</p><span class="arrow">了解导出格式 →</span></a></div></section>
<section class="doc-section" id="first-run"><div class="eyebrow">第一次运行</div><h2>前十分钟</h2><ol class="step-list"><li><strong>打开你想处理的网页。</strong>点击 WebBrain 图标,让侧边栏与网页并排显示。</li><li><strong>先留在“询问”模式。</strong>例如:“总结本页”“列出重要日期”“比较表格中的套餐”。询问模式可以阅读,但不会点击或输入。</li><li><strong>需要改动网页时再切到“执行”。</strong>例如:“在搜索框输入 wireless headphones 并搜索”。在新网站进行关键操作前,WebBrain 会请求权限。</li><li><strong>观察过程。</strong>随时使用停止按钮或 <kbd>Escape</kbd> 中止。遇到意外跳转、输入或重复动作,应立即停止。</li><li><strong>有明确需求时才打开设置。</strong>内置云提供商与推荐安全默认值足够完成第一次任务。</li></ol><div class="callout tip"><strong class="callout-title">好的提示词要写清结果</strong><p>“找到退款政策,并告诉我促销商品是否适用”比“看看这个网站”更容易验证。写明目标,也写明 WebBrain 不应越过的边界。</p></div></section>
diff --git a/web/docs/zh/lm-studio/index.html b/web/docs/zh/lm-studio/index.html
index ef70a1f50..634924b6d 100644
--- a/web/docs/zh/lm-studio/index.html
+++ b/web/docs/zh/lm-studio/index.html
@@ -26,7 +26,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/lm-studio/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/lm-studio/" aria-current="page">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">LM Studio 源码</div><nav><a href="https://lmstudio.ai/webbrain/web-tools">Hub 列表 ↗</a><a href="https://github.com/webbrain-one/webbrain/tree/main/lmstudio-plugin">插件包 ↗</a><a href="https://lmstudio.ai/docs/typescript/plugins">LM Studio 插件文档 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/lm-studio/" aria-current="page">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">LM Studio 源码</div><nav><a href="https://lmstudio.ai/webbrain/web-tools">Hub 列表 ↗</a><a href="https://github.com/webbrain-one/webbrain/tree/main/lmstudio-plugin">插件包 ↗</a><a href="https://lmstudio.ai/docs/typescript/plugins">LM Studio 插件文档 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / LM Studio 插件</div>
diff --git a/web/docs/zh/mcp/index.html b/web/docs/zh/mcp/index.html
index aab156afc..5f2e2d7f7 100644
--- a/web/docs/zh/mcp/index.html
+++ b/web/docs/zh/mcp/index.html
@@ -26,7 +26,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/mcp/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/" aria-current="page">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">MCP 源码</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/mcp-server">服务端包 ↗</a><a href="https://www.npmjs.com/package/@webbrain/mcp-server">npm 包 ↗</a><a href="/blog/mcp-server-introduction">发布公告 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/" aria-current="page">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">MCP 源码</div><nav><a href="https://github.com/webbrain-one/webbrain/tree/main/mcp-server">服务端包 ↗</a><a href="https://www.npmjs.com/package/@webbrain/mcp-server">npm 包 ↗</a><a href="/blog/mcp-server-introduction">发布公告 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / MCP 服务器</div>
diff --git a/web/docs/zh/ollama/index.html b/web/docs/zh/ollama/index.html
index d435e159f..34f05fec5 100644
--- a/web/docs/zh/ollama/index.html
+++ b/web/docs/zh/ollama/index.html
@@ -26,7 +26,7 @@
<header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/ollama/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell">
- <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/ollama/" aria-current="page">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Ollama 启动交接</div><nav><a href="/blog/ollama-launch-handoff/">发布公告 ↗</a><a href="https://github.com/esokullu/ollama/tree/codex/ollama-webbrain-launch-handoff">预览分支 ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md#ollama-launch-handoff-preview">提供商内部实现 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/ollama/" aria-current="page">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">Ollama 启动交接</div><nav><a href="/blog/ollama-launch-handoff/">发布公告 ↗</a><a href="https://github.com/esokullu/ollama/tree/codex/ollama-webbrain-launch-handoff">预览分支 ↗</a><a href="https://github.com/webbrain-one/webbrain/blob/main/docs/providers-and-models.md#ollama-launch-handoff-preview">提供商内部实现 ↗</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main">
<div class="breadcrumb"><a href="/docs/zh/">文档</a> / Ollama</div>
diff --git a/web/docs/zh/providers/index.html b/web/docs/zh/providers/index.html
index 3f57387af..9e85d0b9f 100644
--- a/web/docs/zh/providers/index.html
+++ b/web/docs/zh/providers/index.html
@@ -11,10 +11,10 @@
</head>
<body class="doc-page">
<a class="skip-link" href="#main">跳到正文</a><header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/providers/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
- <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/" aria-current="page">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
- <main class="doc-main" id="main"><div class="breadcrumb"><a href="/docs/zh/">文档</a> / 提供商与模型</div><section class="doc-hero"><div class="eyebrow">侧边栏背后的模型</div><h1>根据耐心、隐私需求与预算选择方案。</h1><p class="lede">WebBrain 内置 112 张提供商卡片,涵盖托管云服务、直接云 API、模型路由和本地 OpenAI 兼容服务器。你只需要一个活动提供商。</p></section>
+ <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/" aria-current="page">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <main class="doc-main" id="main"><div class="breadcrumb"><a href="/docs/zh/">文档</a> / 提供商与模型</div><section class="doc-hero"><div class="eyebrow">侧边栏背后的模型</div><h1>根据耐心、隐私需求与预算选择方案。</h1><p class="lede">WebBrain 内置 114 张提供商卡片,涵盖托管云服务、直接云 API、模型路由和本地 OpenAI 兼容服务器。你只需要一个活动提供商。</p></section>
<section class="doc-section" id="choice"><h2>快速选择</h2><div class="card-grid"><div class="card"><span class="tab-key">步骤最少</span><h3>WebBrain Compass</h3><p>内置且默认启用,包含每日免费额度,无需模型服务器或 API 密钥。</p></div><div class="card"><span class="tab-key">隐私与离线能力</span><h3>本地模型</h3><p>使用 llama.cpp、Ollama、ODS、LM Studio、Jan、vLLM、SGLang 或 LocalAI。</p></div><div class="card"><span class="tab-key">直接使用厂商</span><h3>云 API</h3><p>为 OpenAI、Anthropic、Gemini、Mistral、DeepSeek、xAI、Groq 等提供商填写自己的密钥。</p></div><div class="card"><span class="tab-key">模型目录丰富</span><h3>模型路由</h3><p>使用一个账户切换许多模型;适合经常试验的用户。</p></div></div></section>
- <section class="doc-section" id="catalog"><h2>112 张内置提供商卡片</h2><p>提供商页面新增了 79 个直连 API 与路由器,包括 Azure AI Foundry、Vertex AI、Vertex Anthropic、Cerebras、Cohere、DeepInfra、Perplexity、Vercel AI Gateway、Venice 和多个区域性编程套餐。可以按提供商或模型名称搜索。</p><p>大多数卡片使用 API 密钥与 OpenAI 兼容端点。Vertex 卡片使用 Google Cloud 项目、区域和授权密钥;全局区域使用 Google 的全局端点,Vertex Anthropic 还支持 <code>us</code> 与 <code>eu</code> 多区域主机。Cloudflare 接受可选的 AI Gateway ID;对于 <code>@cf/</code> 模型,留空时自动使用 <code>default</code> 网关。支持流式传输的提供商会在交互式 Ask 中实时显示回复,连接提前结束时自动以非流式方式重试一次。服务返回令牌用量时会直接记录;否则 WebBrain 记录保守估算,避免流式请求绕过成本限额。</p><div class="callout warning"><strong class="callout-title">有意不提供 GitHub 条目</strong><p>GitHub 本身不会关闭,但 GitHub Models 将于 2026 年 7 月 30 日退役。GitHub Copilot 需要单独的订阅/OAuth 集成。GitLab Duo 和 SAP AI Core 也需要浏览器扩展不支持的专用认证与部署发现。</p></div></section>
+ <section class="doc-section" id="catalog"><h2>114 张内置提供商卡片</h2><p>提供商页面新增了 79 个直连 API 与路由器,包括 Azure AI Foundry、Vertex AI、Vertex Anthropic、Cerebras、Cohere、DeepInfra、Perplexity、Vercel AI Gateway、Venice 和多个区域性编程套餐。可以按提供商或模型名称搜索。</p><p>大多数卡片使用 API 密钥与 OpenAI 兼容端点。Vertex 卡片使用 Google Cloud 项目、区域和授权密钥;全局区域使用 Google 的全局端点,Vertex Anthropic 还支持 <code>us</code> 与 <code>eu</code> 多区域主机。Cloudflare 接受可选的 AI Gateway ID;对于 <code>@cf/</code> 模型,留空时自动使用 <code>default</code> 网关。支持流式传输的提供商会在交互式 Ask 中实时显示回复,连接提前结束时自动以非流式方式重试一次。服务返回令牌用量时会直接记录;否则 WebBrain 记录保守估算,避免流式请求绕过成本限额。</p><div class="callout warning"><strong class="callout-title">有意不提供 GitHub 条目</strong><p>GitHub 本身不会关闭,但 GitHub Models 将于 2026 年 7 月 30 日退役。GitHub Copilot 需要单独的订阅/OAuth 集成。GitLab Duo 和 SAP AI Core 也需要浏览器扩展不支持的专用认证与部署发现。</p></div></section>
<section class="doc-section" id="setup"><h2>配置步骤</h2><figure class="shot"><a href="/docs/assets/screenshots/settings-providers.jpg"><img src="/docs/assets/screenshots/settings-providers.jpg" alt="WebBrain 提供商页面 LLM 标签页英文界面"></a><figcaption>截图为英文界面;中文界面结构与控件位置相同。</figcaption></figure><ol class="step-list"><li><strong>打开提供商页面。</strong>在侧边栏模型菜单中选择<strong>更多…</strong>,或点击设置页顶部的“提供商”链接。<strong>LLM</strong> 标签页列出聊天提供商。</li><li><strong>找到提供商。</strong>使用“本地”“云端”“路由”或搜索框。</li><li><strong>展开卡片并填写值。</strong>本地服务器通常需要地址和模型名;云提供商还需要 API 密钥。</li><li><strong>保存。</strong>把当前字段写入浏览器。</li><li><strong>测试连接。</strong>先修复地址、密钥、模型或服务器错误。</li><li><strong>设为活动。</strong>只有测试成功后再切换。保存并不等于已经启用。</li></ol></section>
<section class="doc-section" id="fields"><h2>字段含义</h2><div class="table-wrap"><table><thead><tr><th>字段</th><th>含义</th><th>建议</th></tr></thead><tbody><tr><td>服务器 / Base URL</td><td>OpenAI 兼容根端点或提供商 API 根地址。</td><td>使用本地应用或提供商给出的精确值,不要粘贴聊天网页地址。</td></tr><tr><td>API 密钥</td><td>发送给提供商用于认证的凭据。</td><td>本地服务器通常不需要,除非你主动启用了认证。</td></tr><tr><td>模型</td><td>服务器要求的模型标识符。</td><td>大小写、前缀和拼写必须准确。</td></tr><tr><td>上下文窗口</td><td>一次请求容纳提示、历史、网页内容和工具模式的容量。</td><td>可靠本地运行建议至少 16k;8k 可配合 Compact;4k 太小。</td></tr><tr><td>支持视觉</td><td>当前模型是否接受图像。</td><td>只有确认所服务的精确模型支持图像时才开启。</td></tr><tr><td>提示层级</td><td>WebBrain 暴露的提示长度和常规浏览器工具范围。</td><td>本地模型从 Mid 开始;小上下文用 Compact,能力强的模型用 Full。</td></tr></tbody></table></div></section>
<section class="doc-section" id="local"><h2>本地模型的额外环节</h2><div class="table-wrap"><table><thead><tr><th>服务器</th><th>常见 Base URL</th><th>API 密钥</th></tr></thead><tbody><tr><td>llama.cpp</td><td><code>http://localhost:8080</code></td><td>通常不需要</td></tr><tr><td>Ollama</td><td><code>http://localhost:11434/v1</code></td><td>不需要</td></tr><tr><td>ODS</td><td><code>http://localhost:11434/v1</code></td><td>可选;使用 ODS .env 中的端口</td></tr><tr><td>LM Studio</td><td><code>http://localhost:1234/v1</code></td><td>不需要</td></tr><tr><td>Jan</td><td><code>http://localhost:1337/v1</code></td><td>可选</td></tr><tr><td>vLLM</td><td><code>http://localhost:8000/v1</code></td><td>可选</td></tr><tr><td>SGLang</td><td><code>http://localhost:30000/v1</code></td><td>可选</td></tr></tbody></table></div><div class="callout warning"><strong class="callout-title">终端可用,不代表扩展一定可访问</strong><p>连接被拒绝通常是服务器未启动或端口错误;CORS/Origin 错误需要允许浏览器扩展来源。Ollama 常用:<code>OLLAMA_ORIGINS="chrome-extension://*,moz-extension://*" ollama serve</code>。</p></div></section>
diff --git a/web/docs/zh/safety/index.html b/web/docs/zh/safety/index.html
index 1612a590c..dd446a53e 100644
--- a/web/docs/zh/safety/index.html
+++ b/web/docs/zh/safety/index.html
@@ -11,7 +11,7 @@
</head>
<body class="doc-page">
<a class="skip-link" href="#main">跳到正文</a><header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/safety/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
- <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/" aria-current="page">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/" aria-current="page">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main"><div class="breadcrumb"><a href="/docs/zh/">文档</a> / 模式、安全与隐私</div><section class="doc-hero"><div class="eyebrow">人在回路中</div><h1>WebBrain 在你的登录会话里工作,因此必须谨慎对待它的访问能力。</h1><p class="lede">代理能看到并使用你能访问的网站。模式、计划审查与按网站权限可以降低风险,但提示词、目标位置与最终结果仍由你负责。</p></section>
<section class="doc-section" id="modes"><h2>模式决定工作的类型</h2><div class="mode-strip"><div class="mode ask"><strong>询问 Ask</strong><span>语义阅读与研究工具;不点击、不输入、不导航、不上传、不修改网页。</span></div><div class="mode act"><strong>执行 Act</strong><span>完成你明确要求的普通浏览器操作;关键操作仍需经过权限闸门。</span></div><div class="mode dev"><strong>开发 Dev</strong><span>在 Act 基础上增加源码、样式、DOM、框架和调试工具;需要 Mid 或 Full 提供商。</span></div></div><p>能通过阅读完成的任务就用 Ask;必须改变网页时才切到 Act;Dev 用于网页开发与排错,不是“让弱模型变聪明”的模式。</p></section>
<section class="doc-section" id="permissions"><h2>权限针对具体能力</h2><p>关键操作前,WebBrain 可让你选择“允许一次”“始终允许该网站的此类能力”或“不允许”。永久记录是一个明确的 <strong>网站 + 能力</strong> 组合。</p><figure class="shot"><a href="/docs/assets/screenshots/settings-permissions.jpg"><img src="/docs/assets/screenshots/settings-permissions.jpg" alt="WebBrain 权限设置英文界面,显示总开关与不同能力授权"></a><figcaption>允许输入不会自动允许下载、上传、执行 JavaScript 或安排任务。</figcaption></figure><div class="table-wrap"><table><thead><tr><th>选择</th><th>何时使用</th><th>以后会怎样</th></tr></thead><tbody><tr><td>允许一次</td><td>当前操作合理,但你不想长期授权。</td><td>下次需要同类能力时重新询问。</td></tr><tr><td>始终允许</td><td>你信任该网站并会重复同类操作。</td><td>“网站 + 能力”记录出现在权限页面中。</td></tr><tr><td>不允许</td><td>操作、目标或时机不正确。</td><td>操作被阻止,你仍可控制当前运行。</td></tr></tbody></table></div></section>
diff --git a/web/docs/zh/settings/index.html b/web/docs/zh/settings/index.html
index 5c7d695ec..e083ad1a3 100644
--- a/web/docs/zh/settings/index.html
+++ b/web/docs/zh/settings/index.html
@@ -11,7 +11,7 @@
</head>
<body class="doc-page">
<a class="skip-link" href="#main">跳到正文</a><header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/settings/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
- <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/" aria-current="page">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/docs/zh/easy-cli-proxy/">订阅代理</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
+ <div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/" aria-current="page">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main"><div class="breadcrumb"><a href="/docs/zh/">文档</a> / 设置</div><section class="doc-hero"><div class="eyebrow">不再猜测设置含义</div><h1>知道该改什么,也知道什么可以不动。</h1><p class="lede">从侧边栏齿轮或浏览器扩展选项打开设置。聊天模型及其辅助模型有单独的<strong>提供商</strong>页面:在侧边栏模型菜单中选择<strong>更多…</strong>,或点击设置页顶部的“提供商”链接即可打开。网站权限也有单独的页面:在麦克风旁边的 <strong>⚠</strong> 菜单中选择“管理网站权限”即可打开。大多数人主要使用“通用”、提供商和权限;其他标签页用于解决特定问题。</p><div class="meta">截图来自设置重新整理后的英文界面 · 中文界面的控件位置相同 · 合成示例不含真实凭据</div></section>
<section class="doc-section" id="defaults"><h2>适合大多数人的默认值</h2><div class="table-wrap"><table><thead><tr><th>控制项</th><th>推荐值</th><th>原因</th></tr></thead><tbody><tr><td>执行前计划</td><td>尝试计划</td><td>有计划时使用;如果规划器格式化失败,安全回退到只读轮次。</td></tr><tr><td>计划审查</td><td>低于置信度阈值时停止</td><td>不确定的计划暂停,可靠计划可继续。</td></tr><tr><td>审查阈值</td><td>90%</td><td>在监督与流畅度之间较保守的平衡。</td></tr><tr><td>最大代理步骤</td><td>130</td><td>足够处理多步骤工作;出现重复时仍应手动停止。</td></tr><tr><td>LLM 请求超时</td><td>120 秒</td><td>云模型通常更快,大型本地模型启动可能更慢。</td></tr><tr><td>自动截图</td><td>导航时</td><td>代理打开页面后截一张图,而不是每次点击或输入后都截图。需要视觉模型检查每个操作时再选“状态变化时”。</td></tr><tr><td>云端费用额度</td><td>每个会话 $10,总计 $10</td><td>付费模型调用的机械停止点,可在“预算”中调高或调低。</td></tr><tr><td>计划任务关键操作确认</td><td>开启</td><td>无人值守任务仍会在关键操作前暂停。</td></tr><tr><td>权限闸门</td><td>开启</td><td>首次在网站执行特定操作前询问,并记住你的明确选择。侧边栏输入框中麦克风旁边的 ⚠ 按钮也可以切换它。</td></tr><tr><td>决策模型</td><td>自动</td><td>无需设置。Compass VLD Tiny v5 下载完成后用它做完成检查,只下载了 D1 时使用 D1(两者都未下载且 WebBrain Cloud 激活时使用 Compass 的托管决策模型),其他情况下不使用决策模型。</td></tr><tr><td>浏览器内视觉模型</td><td>自动</td><td>Compass VLD Tiny v5 下载完成后用它读取截图(只下载了 Ternary Bonsai 2 2B Vision 时用后者),且仅在聊天模型无法看图时使用。</td></tr></tbody></table></div></section>
<section class="doc-section" id="general"><div class="eyebrow">日常使用</div><h2>通用:代理如何行动</h2><p>外观和下载位置只影响使用体验;下面的控制项会改变代理的工作方式:如何计划、何时由你审查、截取哪些截图。语言和缩放在侧边栏中选择,这里不再重复。</p><figure class="shot"><a href="/docs/assets/screenshots/settings-general.jpg"><img src="/docs/assets/screenshots/settings-general.jpg" alt="WebBrain 通用设置英文界面,包含搜索框、外观、下载文件夹、计划与计划审查"></a><figcaption>“通用”标签页顶部是最常用的控制项。点击可查看原图。</figcaption></figure><p><strong>尝试计划</strong>适合日常使用;<strong>严格计划</strong>会在无法生成有效计划时取消任务;<strong>关闭</strong>会省去一次规划调用,但也失去计划审查节点。当“自动”为某条消息选择 Act 或 Dev,并确定它是简短、直接的任务(例如打开页面、搜索、填写并提交一个表单)时,尝试计划会跳过完整计划,只做快速的意图检查。包含多个目标、大量条目、多个网站、定时执行,或付款、删除等有风险步骤的任务仍会生成计划;计划审查设为始终询问时,每个 Act 或 Dev 轮次也都会生成计划。</p><p><strong>自动截图</strong>默认为<strong>导航时</strong>:代理打开页面后截一张图,让视觉模型看到它到达了哪里。<strong>状态变化时</strong>还会在点击、输入等改变页面的操作后截图,图像令牌消耗更多;<strong>每一步</strong>在每次工具调用后截图;<strong>关闭</strong>只在你要求时截图。</p><p>标签栏下方的搜索框会同时搜索“通用”“预算”“CAPTCHA”和“高级”(无论你当前在其中哪个标签页),并把每个结果显示在所属标签页名称下。显示结果时,不会把任何标签页标记为当前标签页。点击结果上方的标签页名称即可打开该标签页,也可以在标签栏中选择标签页;两种方式都会结束搜索。清空搜索也会结束搜索,并回到你原来所在的标签页。</p></section>
diff --git a/web/sitemap.xml b/web/sitemap.xml
index e7f0369d2..dd838912a 100644
--- a/web/sitemap.xml
+++ b/web/sitemap.xml
@@ -1166,6 +1166,12 @@
<url>
<loc>https://webbrain.one/docs/providers/</loc>
</url>
+ <url>
+ <loc>https://webbrain.one/companion/</loc>
+ </url>
+ <url>
+ <loc>https://webbrain.one/companion/tr/</loc>
+ </url>
<url>
<loc>https://webbrain.one/docs/easy-cli-proxy/</loc>
<xhtml:link rel="alternate" hreflang="en" href="https://webbrain.one/docs/easy-cli-proxy/"/>
diff --git a/webbrain-systray/README.md b/webbrain-systray/README.md
index 6adaf5abc..7b9bc18c7 100644
--- a/webbrain-systray/README.md
+++ b/webbrain-systray/README.md
@@ -49,11 +49,10 @@ without opening the panel (used at login), `--version` prints the version.
## Connect WebBrain
In WebBrain's **Providers** page (*More…* in the side panel's model menu), pick
-**Local OpenAI-compatible Proxy** and paste the address
-(`http://127.0.0.1:8327/v1`) from the panel or the tray menu, replacing the
-`8317` WebBrain fills in (that is CLIProxyAPI's default port). WebBrain asks for
-an API key: type anything, the companion does not check it for apps on this
-computer. Then **Load models** and run **Test Connection**. Turn vision on only
+**WebBrain Companion**. Its default address is `http://127.0.0.1:8327/v1`;
+use the address shown in the panel or tray menu if the port changed. No API key
+is needed for the extension on this computer. Click **Load Models**, select a
+model, **Save**, and run **Test Connection**. Turn vision on only
for a model that accepts images (the local `bonsai-2-27b` does when its
projector is on). Any OpenAI, Anthropic or Gemini client works the same way:
diff --git a/webbrain-systray/web/README.md b/webbrain-systray/web/README.md
index 243365602..40b30b6c3 100644
--- a/webbrain-systray/web/README.md
+++ b/webbrain-systray/web/README.md
@@ -25,12 +25,11 @@ The site never shows a real desktop.
Turkish, light and dark. Pages pick the dark set with `prefers-color-scheme`.
- **Social card** (`assets/img/og.png`): rendered from the hero by `tools/og.py`.
-## Before publishing
+## Publishing
- `SITE` in `build.py` is the public address used for canonical and social
links (`https://webbrain.one/companion` by default).
-- Download links point at the GitHub release `systray-v0.1.2` of
- `esokullu/webbrain`; the CI workflow drafts that release when the tag is
- pushed. While the repository is private those links only work for people
- with access. Update `VERSION` and the file sizes in `build.py` for new
- releases.
+- Download links point directly at the public GitHub release `systray-v0.1.2`
+ of `esokullu/webbrain`. The CI workflow drafts a release when its tag is
+ pushed; publish that draft before linking a new version. Update `VERSION`
+ and the file sizes in `build.py` for new releases.
diff --git a/webbrain-systray/web/build.py b/webbrain-systray/web/build.py
index 7baee925f..bd7769c9d 100644
--- a/webbrain-systray/web/build.py
+++ b/webbrain-systray/web/build.py
@@ -23,7 +23,7 @@ FILES = {
"linux_arm64": DL + "linux-arm64.tar.gz",
"sums": DL + "SHA256SUMS.txt",
}
-GUIDE = "https://webbrain.one/docs/easy-cli-proxy/"
+GUIDE = "https://webbrain.one/docs/providers/#companion"
# Tray menu content, as the app renders it (internal/app/menu.go, i18n.go): the
# status, the address, one line per plan with its tightest window, the panel.
@@ -152,7 +152,7 @@ T = {
"Check the terms of your plan and region before you add it. If an account matters to you, a provider API key is the safer route.",
"Keep network access off on public Wi-Fi, and never forward port 8327 to the internet. The API key is not internet-grade security.",
],
- "guide": "Read WebBrain's guide to subscription proxies",
+ "guide": "Connect WebBrain to Companion",
"foot": "WebBrain Companion is free software under the GPL-3.0-or-later license and embeds CLIProxyAPI. It is not affiliated with Anthropic, OpenAI, Google, xAI, Moonshot AI, Meta or Cognition.",
"foot_nav": "More",
},
@@ -239,7 +239,7 @@ T = {
"Eklemeden önce planının ve bölgenin koşullarına bak. Hesabın senin için önemliyse sağlayıcının API anahtarı daha güvenli yoldur.",
"Herkese açık Wi-Fi'da ağ erişimini kapalı tut ve 8327 portunu asla internete yönlendirme. API anahtarı internete dayanacak bir güvenlik sağlamaz.",
],
- "guide": "WebBrain'in abonelik proxy'leri rehberini oku (İngilizce)",
+ "guide": "WebBrain'i Companion'a bağlama rehberi (İngilizce)",
"foot": "WebBrain Companion, GPL-3.0-or-later lisanslı özgür bir yazılımdır ve CLIProxyAPI'yi içinde barındırır. Anthropic, OpenAI, Google, xAI, Moonshot AI, Meta ya da Cognition ile bağlantılı değildir.",
"foot_nav": "Bağlantılar",
},
diff --git a/webbrain-systray/web/index.html b/webbrain-systray/web/index.html
index fc396c63b..e6c0bb809 100644
--- a/webbrain-systray/web/index.html
+++ b/webbrain-systray/web/index.html
@@ -207,7 +207,7 @@
<li>Check the terms of your plan and region before you add it. If an account matters to you, a provider API key is the safer route.</li>
<li>Keep network access off on public Wi-Fi, and never forward port 8327 to the internet. The API key is not internet-grade security.</li>
</ul>
- <p><a href="https://webbrain.one/docs/easy-cli-proxy/">Read WebBrain&#x27;s guide to subscription proxies</a></p>
+ <p><a href="https://webbrain.one/docs/providers/#companion">Connect WebBrain to Companion</a></p>
</div>
</div>
</div>
diff --git a/webbrain-systray/web/tr/index.html b/webbrain-systray/web/tr/index.html
index 085953627..8b5b4b985 100644
--- a/webbrain-systray/web/tr/index.html
+++ b/webbrain-systray/web/tr/index.html
@@ -207,7 +207,7 @@
<li>Eklemeden önce planının ve bölgenin koşullarına bak. Hesabın senin için önemliyse sağlayıcının API anahtarı daha güvenli yoldur.</li>
<li>Herkese açık Wi-Fi&#x27;da ağ erişimini kapalı tut ve 8327 portunu asla internete yönlendirme. API anahtarı internete dayanacak bir güvenlik sağlamaz.</li>
</ul>
- <p><a href="https://webbrain.one/docs/easy-cli-proxy/">WebBrain&#x27;in abonelik proxy&#x27;leri rehberini oku (İngilizce)</a></p>
+ <p><a href="https://webbrain.one/docs/providers/#companion">WebBrain&#x27;i Companion&#x27;a bağlama rehberi (İngilizce)</a></p>
</div>
</div>
</div>