1import{d as y,u as A,g as I,a as r,al as v,U as _,j as w,s as b,o as P,l as e,k as c,n as G,p,m as u,aM as k,W}from"./DZ7mik94.js";import{_ as S}from"./56p-yg89.js";import{i as O,g as L}from"./Dog5d0bc.js";import"./iik6CYzq.js";const E=`# Claude Code IDE Plugin 2 3Claude Code is an intelligent coding tool that can run in the terminal or be used as a plugin in VSCode, JetBrains, and other IDEs. 4 5## Step 1: Install Claude Code & Configure WisGate 6 7Please first follow the Claude Code guide to complete the Claude Code installation and WisGate configuration. 8 9## Step 2: Install IDE Plugin 10 11### Claude Code for VS Code 12 13The Claude Code VS Code extension works in VS Code and VS Code-based IDEs (such as Cursor, Trae, etc.). 14 151. Open VS Code, go to the Extensions marketplace, search for "Claude Code" and install it 162. After installation, click the Claude Code icon in the top right corner 173. Wait a few seconds for initialization, then you can start using it 184. Enter \`/config\` in the Claude Code dialog, and check \`Disable Login Prompt\` to close the login page 19 20### Claude Code for JetBrains 21 22The Claude Code JetBrains plugin supports JetBrains IDEs such as IntelliJ IDEA, PyCharm, WebStorm, etc. 23 241. Open your JetBrains IDE, go to the plugin marketplace, search for "Claude Code" and install it 252. After installation, restart the IDE to start using Claude Code 26 27Done! You can now use Claude Code in your IDE for development. 28`,T=`# Claude Code IDE æä»¶ 29 30Claude Code æ¯ä¸ä¸ªæºè½ç¼ç å·¥å ·ï¼å¯ä»¥å¨ç»ç«¯ä¸è¿è¡ï¼ä¹å¯ä»¥éè¿å¨ VSCodeãJetBrains ç IDE å®è£ æä»¶ä½¿ç¨ã 31 32## æ¥éª¤ä¸ï¼å®è£ Claude Code & é ç½® WisGate 33 34请å åè Claude Code æå宿 Claude Code çå®è£ ä¸ WisGate çé ç½®ã 35 36## æ¥éª¤äºï¼å®è£ ä½¿ç¨ IDE æä»¶ 37 38### Claude Code for VS Code æä»¶ 39 40Claude Code VSCode æä»¶æ¯æå¨ VSCode ååºäº VSCode ç IDEï¼å¦ CursorãTrae çï¼ä¸ä½¿ç¨ã 41 421. æå¼ VSCodeï¼è¿å ¥æ©å±å¸åºï¼æç´¢å¹¶å®è£ ãClaude Codeãæä»¶ 432. å®è£ 宿åï¼ç¹å»å³ä¸è§ Claude Code 徿 ï¼å³è¿å ¥ Claude Code é¡µé¢ 443. å¨ç»å½é¡µé¢çå¾ å ç§å¾ å ¶åå§å宿åå³å¯ä½¿ç¨ 454. æåè¿å ¥ Claude Code å¯¹è¯æ¡åï¼å¨å¯¹è¯æ¡è¾å ¥ \`/config\` è¿å ¥è®¾ç½®ï¼å¾é \`Disable Login Prompt\` é ç½®æ¥å ³éç»å½é¡µé¢ 46 47### Claude Code for JetBrains æä»¶ 48 49Claude Code JetBrains æä»¶æ¯æ JetBrains çç³»å IDE å¦ IntelliJ IDEAãPyCharmãWebStorm çã 50 511. æå¼ JetBrains IDEï¼è¿å ¥æä»¶å¸åºï¼æç´¢ãClaude Codeãæä»¶å¹¶è¿è¡å®è£ 522. å®è£ 宿åï¼éå¯ IDE å³å¯ä½¿ç¨ Claude Code åè½ 53 54宿¯ï¼ç°å¨å°±å¯ä»¥å¨ IDE 䏿£å¸¸ä½¿ç¨ Claude Code è¿è¡å¼åäºã 55`,U=`# Claude Code 56 57Claude Code is an intelligent coding agent that runs in the terminal. By connecting Claude Code to WisGate, developers can use WisGate's Anthropic-compatible endpoint for code generation, debugging, refactoring, project analysis, and automated development workflows. 58 59## Step 1: Install Claude Code 60 61Prerequisites: 62- Node.js 18 or later 63- MacOS users are recommended to use nvm to install Node.js 64- Windows users also need Git for Windows 65 66Install Claude Code: 67 68\`\`\`bash 69npm install -g @anthropic-ai/claude-code 70\`\`\` 71 72Verify installation: 73 74\`\`\`bash 75claude --version 76\`\`\` 77 78## Step 2: Configure WisGate 79 80### 1. Sign Up 81 82Visit the WisGate platform and complete the registration process. 83 84### 2. Get Your API Key 85 86Create and obtain your API Key from the WisGate dashboard. 87 88### 3. Configure Claude Code Environment Variables 89 90Edit or create the \`settings.json\` file: 91- MacOS & Linux: \`~/.claude/settings.json\` 92- Windows: \`User Directory/.claude/settings.json\` 93 94\`\`\`json 95{ 96 "env": { 97 "ANTHROPIC_AUTH_TOKEN": "your_wisgate_api_key", 98 "ANTHROPIC_API_KEY": "", 99 "ANTHROPIC_BASE_URL": "https://api.wisgate.ai", 100 "API_TIMEOUT_MS": "3000000", 101 "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1 102 } 103} 104\`\`\` 105 106Use \`https://api.wisgate.ai\` as the WisGate Anthropic-compatible endpoint. Do not use the OpenAI-compatible endpoint \`https://api.wisgate.ai/v1\` for Claude Code. Setting \`ANTHROPIC_API_KEY\` to an empty string helps prevent Claude Code from picking up an old Anthropic API key. 107 108Edit or create \`.claude.json\`: 109- MacOS & Linux: \`~/.claude.json\` 110- Windows: \`User Directory/.claude.json\` 111 112\`\`\`json 113{ 114 "hasCompletedOnboarding": true 115} 116\`\`\` 117 118If you previously logged in to Claude Code with an Anthropic account, run \`/logout\` once inside Claude Code, then quit the session and reopen your terminal. This prevents cached login state from conflicting with your WisGate API key. 119 120## Step 3: Start Using Claude Code 121 122Navigate to your code directory and run \`claude\` to start using Claude Code. 123 124If prompted with "Do you want to use this API key", select Yes. After entering Claude Code, run \`/status\` to verify that the auth token is \`ANTHROPIC_AUTH_TOKEN\` and the base URL is \`https://api.wisgate.ai\`. 125 126## WisGate Use Cases 127 128- **Code generation**: Describe a feature and let Claude Code generate functions, pages, scripts, or configuration files through WisGate. 129- **Debugging**: Ask Claude Code to inspect errors, identify causes, and use WisGate models to help fix issues. 130- **Project refactoring**: Split modules, improve naming, organize dependencies, and reduce duplicate logic in larger codebase
130s. 131- **Test creation**: Generate unit tests, integration tests, and edge cases from existing business logic. 132- **Team access management**: Standardize WisGate API key and model configuration across team members for easier model and cost management. 133 134## FAQ 135 136### How to Switch Models 137 138Adjust the configuration file (\`~/.claude/settings.json\`) to assign different WisGate models for Claude Code tasks: 139 140\`\`\`json 141{ 142 "env": { 143 "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001", 144 "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6", 145 "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-8" 146 } 147} 148\`\`\` 149 150Claude Code has the best compatibility with Anthropic-family models. Prefer Claude models on WisGate that support the Anthropic Messages format. 151 152### How to Verify the WisGate Connection 153 154Run this command inside Claude Code: 155 156\`\`\`bash 157/status 158\`\`\` 159 160If the status shows \`ANTHROPIC_AUTH_TOKEN\` and \`https://api.wisgate.ai\`, Claude Code is connected through WisGate. 161 162### Configuration Changes Not Taking Effect 163 164- Close all Claude Code windows, reopen a new terminal, and run \`claude\` again 165- If you previously logged in with an Anthropic account, run \`/logout\` to clear cached login state 166- Make sure there is no real \`ANTHROPIC_API_KEY\` left in your shell environment, or set it to an empty string in \`settings.json\` 167- Verify the JSON format is correct 168 169### Recommended Claude Code Version 170 171\`\`\`bash 172# Check current version 173claude --version 174 175# Upgrade to latest version 176claude update 177\`\`\` 178`,x=`# Claude Code 179 180Claude Code æ¯ä¸ä¸ªå¨ç»ç«¯ä¸è¿è¡çæºè½ç¼ç¨ä»£çãéè¿æ¥å ¥ WisGateï¼å¼åè å¯ä»¥å¨ Claude Code ä¸ä½¿ç¨ WisGate æä¾ç Anthropic å ¼å®¹æ¥å£å®æä»£ç çæãè°è¯ãéæã项ç®åæåèªå¨åå¼åä»»å¡ã 181 182## æ¥éª¤ä¸ï¼å®è£ Claude Code 183 184åææ¡ä»¶ï¼ 185- æ¨éè¦å®è£ Node.js 18 ææ´æ°çæ¬ç¯å¢ 186- MacOS ç¨æ·æ¨èä½¿ç¨ nvm æ¹å¼å®è£ Nodejs 187- Windows ç¨æ·è¿éå®è£ Git for Windows 188 189è¿å ¥å½ä»¤è¡çé¢ï¼å®è£ Claude Codeï¼ 190 191\`\`\`bash 192npm install -g @anthropic-ai/claude-code 193\`\`\` 194 195è¿è¡å¦ä¸å½ä»¤ï¼æ¥çå®è£ ç»æï¼è¥æ¾ç¤ºçæ¬å·å表示å®è£ æåï¼ 196 197\`\`\`bash 198claude --version 199\`\`\` 200 201## æ¥éª¤äºï¼é ç½® WisGate 202 203### 1. 注åè´¦å· 204 205è®¿é® WisGate 弿¾å¹³å°ï¼å®æè´¦å·æ³¨åæµç¨ã 206 207### 2. è·å API Key 208 209å¨ WisGate æ§å¶å°ä¸å建并è·åæ¨ç API Keyã 210 211### 3. é ç½® Claude Code ç¯å¢åé 212 213ç¼è¾ææ°å¢ \`settings.json\` æä»¶ï¼ 214- MacOS & Linux 为 \`~/.claude/settings.json\` 215- Windows 为 \`ç¨æ·ç®å½/.claude/settings.json\` 216 217\`\`\`json 218{ 219 "env": { 220 "ANTHROPIC_AUTH_TOKEN": "your_wisgate_api_key", 221 "ANTHROPIC_API_KEY": "", 222 "ANTHROPIC_BASE_URL": "https://api.wisgate.ai", 223 "API_TIMEOUT_MS": "3000000", 224 "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1 225 } 226} 227\`\`\` 228 229å ¶ä¸ \`ANTHROPIC_BASE_URL\` ä½¿ç¨ WisGate ç Anthropic å ¼å®¹å ¥å£ \`https://api.wisgate.ai\`ï¼ä¸è¦å¡«å OpenAI å ¼å®¹å ¥å£ \`https://api.wisgate.ai/v1\`ã\`ANTHROPIC_API_KEY\` 建议æ¾å¼ç½®ç©ºï¼é¿å Claude Code ç»§ç»è¯»åæ§ç Anthropic Keyã 230 231åç¼è¾ææ°å¢ \`.claude.json\` æä»¶ï¼ 232- MacOS & Linux 为 \`~/.claude.json\` 233- Windows 为 \`ç¨æ·ç®å½/.claude.json\` 234 235\`\`\`json 236{ 237 "hasCompletedOnboarding": true 238} 239\`\`\` 240 241妿æ¨ä¹åå·²ç»ç¨ Anthropic è´¦å·ç»å½è¿ Claude Codeï¼è¯·å å¨ Claude Code 䏿§è¡ä¸æ¬¡ \`/logout\`ï¼ç¶åå ³éå½åä¼è¯å¹¶éæ°æå¼ç»ç«¯ï¼é¿å ç¼åç»å½æä¸ WisGate API Key å²çªã 242 243## æ¥éª¤ä¸ï¼å¼å§ä½¿ç¨ Claude Code 244 245é ç½®å®æåï¼è¿å ¥ä¸ä¸ªæ¨ç代ç å·¥ä½ç®å½ï¼å¨ç»ç«¯ä¸æ§è¡ \`claude\` å½ä»¤å³å¯å¼å§ä½¿ç¨ã 246 247è¥éå°ãDo you want to use this API keyãéæ© Yes å³å¯ãè¿å ¥ Claude Code åï¼å¯ä»¥æ§è¡ \`/status\` æ£æ¥å½åè¿æ¥ç¶æï¼ç¡®è®¤ Auth token ä½¿ç¨ \`ANTHROPIC_AUTH_TOKEN\`ï¼Base URL 为 \`https://api.wisgate.ai\`ã 248 249## WisGate 使ç¨åºæ¯ 250 251- **代ç çæ**ï¼å¨ Claude Code ä¸æè¿°éæ±ï¼è®©æ¨¡åçæå½æ°ã页é¢ãèæ¬æé ç½®æä»¶ã
252- **代ç è°è¯**ï¼è®© Claude Code è¯»åæ¥éãå®ä½åå ï¼å¹¶éè¿ WisGate 模åè¾ å©ä¿®å¤é®é¢ã 253- **项ç®éæ**ï¼å¨å¤§å代ç åºä¸æå模åãä¼åå½åãæ´çä¾èµååå°éå¤é»è¾ã 254- **æµè¯è¡¥å ¨**ï¼æ ¹æ®ç°æä¸å¡é»è¾çæåå æµè¯ãéææµè¯æè¾¹çç¨ä¾ã 255- **å¢éç»ä¸æ¥å ¥**ï¼å¢éæåç»ä¸ä½¿ç¨ WisGate API Key 忍¡åé ç½®ï¼ä¾¿äºåç»ç®¡ç模åè°ç¨åææ¬ã 256 257## 常è§é®é¢ 258 259### å¦ä½åæ¢ä½¿ç¨æ¨¡å 260 261ç´æ¥éè¿è°æ´é ç½®æä»¶çæ¹å¼ï¼ä½äº \`~/.claude/settings.json\`ï¼æ¥æå®ä¸åä»»å¡ä½¿ç¨ç WisGate 模åï¼ 262 263\`\`\`json 264{ 265 "env": { 266 "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001", 267 "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6", 268 "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-8" 269 } 270} 271\`\`\` 272 273Claude Code 对 Anthropic ç³»åæ¨¡åå ¼å®¹æ§æå¥½ã建议ä¼å éæ© WisGate 䏿¯æ Anthropic Messages æ ¼å¼ç Claude 模åã 274 275### å¦ä½éªè¯ WisGate æ¯å¦æ¥å ¥æå 276 277å¨ Claude Code å æ§è¡ï¼ 278 279\`\`\`bash 280/status 281\`\`\` 282 283è¥ç¶æä¸æ¾ç¤º \`ANTHROPIC_AUTH_TOKEN\` å \`https://api.wisgate.ai\`ï¼è¯´æ Claude Code å·²ç»éè¿ WisGate è¿æ¥ã 284 285### æå·¥ä¿®æ¹é ç½®ä¸çæ 286 287- å ³éææ Claude Code çªå£ï¼éæ°æå¼ä¸ä¸ªæ°çå½ä»¤è¡çªå£ï¼å次è¿è¡ \`claude\` å¯å¨ 288- 妿ä¹åç»å½è¿ Anthropic è´¦å·ï¼è¯·å æ§è¡ \`/logout\` æ¸ çç¼åç»å½æ 289- 确认系ç»ç¯å¢ä¸æ²¡ææ®ççå®ç \`ANTHROPIC_API_KEY\`ï¼æå·²å¨ \`settings.json\` ä¸è®¾ç½®ä¸ºç©ºå符串 290- 确认é ç½®æä»¶ç JSON æ ¼å¼æ¯å¦æ£ç¡® 291 292### æ¨èç Claude Code çæ¬ 293 294\`\`\`bash 295# æ£æ¥å½åçæ¬ 296claude --version 297 298# åçº§å°ææ°çæ¬ 299claude update 300\`\`\` 301`,M=`# Claude Desktop 302 303Claude Desktop supports third-party inference gateways. For Anthropic Messages-compatible models, you can connect Claude Desktop to WisGate through the Gateway configuration. 304 305## 1. Install Claude Desktop 306 307Download and install Claude Desktop from Anthropic. Start the app after installation. 308 309## 2. Enable Developer Mode 310 3111. Open Claude Desktop 3122. Go to **Help > Troubleshooting** 3133. Click **Enable Developer Mode** 3144. After enabling it, a **Developer** menu appears in the menu bar 315 316## 3. Configure Third-Party Inference 317 318Open **Developer > Configure Third-Party Inference...**, choose Gateway / Anthropic-compatible mode, and enter: 319 320- **Gateway base URL**: \`https://api.wisgate.ai\` 321- **Gateway API key**: Your WisGate API key 322- **Gateway auth scheme**: \`bearer\` 323 324If the interface asks for the full Messages API URL instead of a Base URL, enter: 325 326\`\`\`text 327https://api.wisgate.ai/v1/messages 328\`\`\` 329 330Save the settings, fully quit Claude Desktop, then reopen it. 331 332## 4. Select a Model and Start Using 333 334After restart, choose the Gateway or local configuration entry on the start screen. Inside Claude Desktop, select an available Anthropic-compatible model from the model picker. 335 336## Use Cases 337 338- **Desktop chat**: Use Claude-family or Anthropic Messages-compatible models through WisGate in Claude Desktop. 339- **Unified team gateway**: Standardize API key and model access through one gateway. 340- **MCP tools**: Combine WisGate model access with Claude Desktop's MCP tool capabilities. 341 342## FAQ 343 344### The Gateway entry does not appear 345 346Confirm that Developer Mode is enabled, then fully quit and reopen Claude Desktop. 347 348### Connection fails 349 350Confirm that the Base URL is \`https://api.wisgate.ai\`, auth scheme is \`bearer\`, and the API key is correct. If the interface asks for a full URL, use \`https://api.wisgate.ai/v1/messages\`. 351`,R=`# Claude Desktop 352 353Claude Desktop æ¯æç¬¬ä¸æ¹æ¨çç½å ³ãå¯¹äº Anthropic Messages å ¼å®¹æ¨¡åï¼å¯ä»¥éè¿ Gateway é ç½®æ¥å ¥ WisGateã 354 355## ä¸ãå®è£ Claude Desktop 356 357è®¿é® Anthropic å®ç½ä¸è½½å¹¶å®è£ Claude Desktopãå®è£ 宿åå¯å¨åºç¨ã 358 359## äºãå¯ç¨ Developer Mode 360 3611. æå¼ Claude Desktop 3622. è¿å ¥ **Help > Troubleshooting** 3633. ç¹å» **Enable Developer Mode** 3644. å¯ç¨åï¼èåæ ä¼åºç° **Developer** èå 365 366## ä¸ãé ç½®ç¬¬ä¸æ¹æ¨çç½å ³ 367 368è¿å ¥ **Developer > Configure Third-Party Inference...**ï¼éæ© Gateway / Anthropic-compatible åå¡«åï¼ 369 370- **Gateway base URL**ï¼\`https://api.wisgate.ai\` 371- **Gateway API key**ï¼æ¨ç WisGate API Key 372- **Gateway auth scheme**ï¼\`bearer\` 373 374妿çé¢è¦æ±å¡«å宿´ Messages API å°åï¼è䏿¯ Base URLï¼è¯·å¡«åï¼ 375 376\`\`\`text 377https://api.wisgate.ai/v1/messages 378\`\`\` 379 380ä¿ååå®å ¨éåº Claude Desktopï¼åéæ°æå¼ã 381 382## åãéæ©æ¨¡åå¹¶ä½¿ç¨ 383 384éæ°å¯å¨åï¼å¨å¯å¨é¡µéæ© Gateway ææ¬å°é ç½®å ¥å£ãè¿å ¥ Claude Desktop åï¼å¨æ¨¡åéæ©å¨ä¸éæ©å¯ç¨ç Anthropic å ¼å®¹æ¨¡åã 385 386## 使ç¨åºæ¯ 387 388- **æ¡é¢ç«¯å¯¹è¯**ï¼å¨ Claude Desktop ä¸éè¿ WisGate ä½¿ç¨ Claude ç³»åæ Anthropic Messages å ¼å®¹æ¨¡åã 389- **å¢éç»ä¸ç½å ³**ï¼ç»ä¸ API Key 忍¡å访é®å ¥å£ã 390- **MCP å·¥å ·ä½¿ç¨**ï¼ç»å Claude Desktop ç MCP è½åè¿æ¥æ¬å°å·¥å ·åå¤é¨æå¡ã 391 392## 常è§é®é¢ 393 394### Gateway å ¥å£æ²¡æåºç° 395 396请确认已ç»å¯ç¨ Developer Modeï¼å¹¶å®å ¨éåºåéæ°æå¼ Claude Desktopã 397 398### è¿æ¥å¤±è´¥ 399 400请确认 Base URL 为 \`https://api.wisgate.ai\`ï¼auth scheme 为 \`bearer\`ï¼API Key æ£ç¡®ã妿çé¢è¦æ±å®æ´å°åï¼è¯·ä½¿ç¨ \`https://api.wisgate.ai/v1/messages\`ã 401`,j=`# Cline 402 403Cline is a powerful VS Code extension that helps you use AI models directly in the editor for code generation, file operations, and more. It not only speeds up development but also provides contextual understanding and intelligent suggestions for c
403omplex tasks. 404 405When using WisGate, configure the API endpoint \`https://api.wisgate.ai/v1\`. 406 407## 1. Install Cline Extension 408 409### 1. Open Extension Marketplace 410 4111. Open VS Code 4122. Click the extension marketplace icon on the left 4133. Search for \`cline\` in the search box 4144. Find the \`Cline\` extension 415 416### 2. Install Extension 417 4181. Click the \`Install\` button 4192. After installation, select trust developer 420 421## 2. Configure API Settings 422 423### 1. Select API Key Method 424 425Select \`Use your own API Key\` 426 427### 2. Enter Configuration 428 429- **API Provider**: Select \`OpenAI Compatible\` 430- **Base URL**: Enter \`https://api.wisgate.ai/v1\` 431- **API Key**: Enter your WisGate API Key 432- **Model**: Select "Use custom" and enter the model name (e.g., \`gpt-5.5\`) 433- **Other settings**: 434 - Uncheck **Support Images** 435 - Set **Context Window Size** to \`200000\` 436 - Adjust \`temperature\` and other parameters as needed 437 438## 3. Start Using 439 440After configuration, you can enter your requirements in the input box and let the model help you with various tasks: 441 442- Create and edit files 443- Generate code 444- Refactor code 445- Explain code logic 446- Debug issues 447 448## 4. Usage Tips 449 450- For tasks that need file reads or writes, confirm Cline's file access permissions first. 451- For large projects, specify the target folder, target files, and expected change scope. 452- If your task does not need vision capability, keep **Support Images** disabled to avoid unnecessary compatibility issues. 453 454## FAQ 455 456### API requests fail 457 458Confirm that **API Provider** is \`OpenAI Compatible\`, **Base URL** is \`https://api.wisgate.ai/v1\`, and the API key has no extra spaces. 459 460### Context length is not enough 461 462Increase **Context Window Size**, or split the task into smaller steps and let Cline handle them in stages. 463`,K=`# Cline 464 465Cline æ¯ä¸ä¸ªå¼ºå¤§ç VS Code æä»¶ï¼å¯ä»¥å¸®å©æ¨å¨ç¼è¾å¨ä¸ç´æ¥ä½¿ç¨ AI 模åè¿è¡ä»£ç çæãæä»¶æä½çä»»å¡ãå®ä¸ä» è½å å¿«å¼åèå¥ï¼è¿è½å¨å¤æä»»å¡ä¸æä¾ä¸ä¸æçè§£åæºè½å»ºè®®ï¼è®©å¼åè¿ç¨æ´é«æãæ´æµç ã 466 467ä½¿ç¨ WisGate æ¶ï¼é ç½® API ç«¯ç¹ \`https://api.wisgate.ai/v1\` å³å¯ã 468 469## ä¸ãå®è£ Cline æä»¶ 470 471### 1. æå¼æä»¶å¸åº 472 4731. æå¼ VS Code 4742. ç¹å»å·¦ä¾§æä»¶å¸åºå¾æ 4753. å¨æç´¢æ¡ä¸è¾å ¥ \`cline\` 4764. æ¾å° \`Cline\` æ©å± 477 478### 2. å®è£ æä»¶ 479 4801. ç¹å» \`Install\` æé®è¿è¡å®è£ 4812. å®è£ 宿åï¼éæ©ä¿¡ä»»å¼åè 482 483## äºãé ç½® API 设置 484 485### 1. éæ© API Key æ¹å¼ 486 487éæ© \`Use your own API Key\` 488 489### 2. å¡«å ¥é ç½®ä¿¡æ¯ 490 491请æç §ä»¥ä¸é ç½®å¡«å ¥ç¸å ³ä¿¡æ¯ï¼ 492 493- **API Provider**ï¼éæ© \`OpenAI Compatible\` 494- **Base URL**ï¼è¾å ¥ \`https://api.wisgate.ai/v1\` 495- **API Key**ï¼å¡«å ¥æ¨ç WisGate API Key 496- **模å**ï¼éæ©"使ç¨èªå®ä¹"ï¼å¹¶è¾å ¥æ¨¡ååç§°ï¼å¦ï¼\`gpt-5.5\`ï¼ 497- **å ¶ä»é ç½®**ï¼ 498 - åæ¶å¾é **Support Images** 499 - è°æ´ **Context Window Size** 为 \`200000\` 500 - æ ¹æ®æ¨çä»»å¡éæ±è°æ´ \`temperature\` çå ¶å®åæ° 501 502## ä¸ãå¼å§ä½¿ç¨ 503 504é ç½®å®æåï¼æ¨å¯ä»¥å¨è¾å ¥æ¡ä¸è¾å ¥éæ±ï¼è®©æ¨¡å叮婿¨å®æåç§ä»»å¡ï¼ä¾å¦ï¼ 505 506- å建åç¼è¾æä»¶ 507- çæä»£ç 508- éæä»£ç 509- è§£é代ç é»è¾ 510- è°è¯é®é¢ 511 512## åã使ç¨å»ºè®® 513 514- 对éè¦è¯»åæä»¶çä»»å¡ï¼å 确认 Cline çæä»¶è®¿é®æéã 515- 对é¿ä¸ä¸æé¡¹ç®ï¼ä¼å 说æç®æ ç®å½ãç®æ æä»¶åé¢æä¿®æ¹èå´ã 516- å¦ææ¨¡åä¸éè¦è§è§è½åï¼ä¿æ **Support Images** å ³éï¼åå°ä¸å¿ è¦çå ¼å®¹æ§é®é¢ã 517 518## 常è§é®é¢ 519 520### API 请æ±å¤±è´¥ 521 522请确认 **API Provider** 为 \`OpenAI Compatible\`ï¼**Base URL** 为 \`https://api.wisgate.ai/v1\`ï¼API Key 没æå¤ä½ç©ºæ ¼ã 523 524### ä¸ä¸æé¿åº¦ä¸è¶³ 525 526å¯ä»¥è°é« **Context Window Size**ï¼æå°ä»»å¡æåæå¤ä¸ªè¾å°æ¥éª¤ï¼è®© Cline åé¶æ®µå¤çã 527`,D=`# CodeBuddy 528 529CodeBuddy is an AI-powered full-process programming tool. It can connect to WisGate through local model configuration so product, design, development, and deployment workflows use a unified model service. 530 531## 1. Install CodeBuddy 532 533Visit the CodeBuddy website to download and install the version for your operating system. 534 535## 2. Log In to CodeBuddy 536 537After downloading and installing, log in to CodeBuddy as prompted. 538 539## 3. Configure WisGate 540 541### 1. Configuration File Location 542 543\`models.json\` is a configuration file for customizing the model list and controlling the model dropdown display. It is recommended to configure it at the user level: \`~/.codebuddy/models.json\`. 544 545### 2. Configuration Structure 546 547\`\`\`json 548{ 549 "models": [ 550 { 551 "id": "gpt-5.5", 552 "name": "WisGate GPT", 553 "vendor": "wisgate",
554 "apiKey": "your_wisgate_api_key", 555 "url": "https://api.wisgate.ai/v1", 556 "supportsToolCall": true, 557 "supportsReasoning": true 558 } 559 ] 560} 561\`\`\` 562 563### 3. Start Using 564 565Select the configured model in the chat and start a conversation. 566 567## 4. Use Cases 568 569- **Requirement to code**: Generate APIs, pages, or business logic from product descriptions. 570- **Code explanation**: Ask the model to explain modules, call chains, and key logic. 571- **Debugging**: Provide error logs and related files to help locate issues. 572- **Development collaboration**: Standardize model calls across the team with the same WisGate configuration. 573 574## FAQ 575 576### The new model does not appear in the dropdown 577 578Confirm that \`models.json\` is saved at \`~/.codebuddy/models.json\`, the JSON format is valid, and restart CodeBuddy. 579 580### Requests fail or authentication fails 581 582Check that \`apiKey\` is a key created in the WisGate dashboard and \`url\` is \`https://api.wisgate.ai/v1\`. 583`,B=`# CodeBuddy 584 585CodeBuddy æ¯ä¸æ¬¾åºäº AI çå ¨æµç¨æºè½ç¼ç¨å·¥å ·ï¼æ¯æéè¿æ¬å°æ¨¡åé ç½®æ¥å ¥ WisGateï¼è®©äº§åã设计ãç ååé¨ç½²æµç¨ä¸çç¼ç ä»»å¡ä½¿ç¨ç»ä¸æ¨¡åæå¡ã 586 587## ä¸ãå®è£ CodeBuddy 588 589è®¿é® CodeBuddy å®ç½ä¸è½½å¹¶å®è£ é忍çæä½ç³»ç»ççæ¬ã 590 591## äºãç»é CodeBuddy 592 593ä¸è½½å®è£ åæ ¹æ®æç¤ºç»å½ CodeBuddyã 594 595## ä¸ãé ç½® WisGate 596 597### 1. é ç½®æä»¶ä½ç½® 598 599\`models.json\` æ¯ä¸ä¸ªé ç½®æä»¶ï¼ç¨äºèªå®ä¹æ¨¡ååè¡¨åæ§å¶æ¨¡å䏿åè¡¨çæ¾ç¤ºã建议å¨ç¨æ·çº§é 置该æä»¶ï¼\`~/.codebuddy/models.json\`ã 600 601### 2. é ç½®ç»æ 602 603\`\`\`json 604{ 605 "models": [ 606 { 607 "id": "gpt-5.5", 608 "name": "WisGate GPT", 609 "vendor": "wisgate", 610 "apiKey": "your_wisgate_api_key", 611 "url": "https://api.wisgate.ai/v1", 612 "supportsToolCall": true, 613 "supportsReasoning": true 614 } 615 ] 616} 617\`\`\` 618 619### 3. åå° CodeBuddy è¿è¡å¯¹è¯ 620 621å¨å¯¹è¯æ¡éæ©é ç½®å¥½çæ¨¡åè¿è¡å¯¹è¯å³å¯ã 622 623## åã使ç¨åºæ¯ 624 625- **éæ±å°ä»£ç **ï¼æ ¹æ®äº§åæè¿°çææ¥å£ã页颿ä¸å¡é»è¾ã 626- **代ç è§£é**ï¼è®©æ¨¡åè§£éç°ææ¨¡åãè°ç¨é¾åå ³é®é»è¾ã 627- **è°è¯æé**ï¼å°é误æ¥å¿åç¸å ³æä»¶äº¤ç»æ¨¡åè¾ å©å®ä½ã 628- **ç ååä½**ï¼å¨åä¸å¥ WisGate é ç½®ä¸ç»ä¸å¢é模åè°ç¨æ¹å¼ã 629 630## 常è§é®é¢ 631 632### 模å䏿å表没æåºç°æ°æ¨¡å 633 634请确认 \`models.json\` æ¾å¨ \`~/.codebuddy/models.json\`ï¼JSON æ ¼å¼æ£ç¡®ï¼å¹¶éå¯ CodeBuddyã 635 636### 请æ±å¤±è´¥æé´æå¤±è´¥ 637 638è¯·æ£æ¥ \`apiKey\` æ¯å¦ä¸º WisGate æ§å¶å°å建ç Keyï¼\`url\` æ¯å¦ä¸º \`https://api.wisgate.ai/v1\`ã 639`,N=`# Codex CLI 640 641Codex CLI is OpenAI's local terminal coding agent. It supports custom model providers through OpenAI-compatible endpoints. After connecting Codex CLI to WisGate, you can use WisGate models for code generation, project analysis, file edits, and debugging tasks in the terminal. 642 643## 1. Install Codex CLI 644 645Follow the official Codex CLI installation instructions first. After installation, verify that the command is available: 646 647\`\`\`bash 648codex --version 649\`\`\` 650 651## 2. Configure WisGate 652 653Codex CLI usually reads \`~/.codex/config.toml\`. Create the file if it does not exist. 654 655\`\`\`toml 656model_provider = "wisgate" 657model = "gpt-5.5" 658model_reasoning_effort = "high" 659 660[model_providers.wisgate] 661name = "WisGate" 662base_url = "https://api.wisgate.ai/v1" 663env_key = "WISGATE_API_KEY" 664\`\`\` 665 666Then set your WisGate API key in the shell: 667 668\`\`\`bash 669export WISGATE_API_KEY="your_wisgate_api_key" 670\`\`\` 671 672For persistent configuration, add the export line to \`~/.zshrc\`, \`~/.bashrc\`, or your shell profile. 673 674## 3. Start Using 675 676Navigate to your project directory and start Codex CLI: 677 678\`\`\`bash 679cd /path/to/your/project 680codex 681\`\`\` 682 683Codex CLI will call the configured model through \`https://api.wisgate.ai/v1\`. 684 685## Use Cases 686 687- **Terminal development**: Analyze projects, generate code, and modify files from the command line. 688- **Code review**: Ask Codex CLI to inspect changes, summarize risks, and suggest fixes. 689- **Refactoring tasks**: Split complex modules, adjust structure, and run verification commands. 690- **Team configuration**: Standardize WisGate access with a shared \`config.toml\` template. 691 692## FAQ 693 694### Authentication fails 695 696Confirm that \`WISGATE_API_KEY\` is set and that \`env_key\` matches the environment variable name. 697 698### The model is not available 699 700Confirm that \`model\` is a model ID supported by WisGate. The OpenAI-compatible endpoint must be \`https://api.wisgate.ai/v1\`. 701`,F=`# Codex CLI 702 703Codex CLI æ¯ OpenAI çæ¬å°ç»ç«¯ç¼ç¨ä»£çï¼æ¯æéè¿èªå®ä¹æ¨¡åæå¡åæ¥å ¥ OpenAI å ¼å®¹æ¥å£ãæ¥å ¥ WisGate åï¼å¯ä»¥å¨ç»ç«¯ä¸ä½¿ç¨ WisGate 模å宿代ç çæã项ç®åæãæä»¶ä¿®æ¹åè°è¯ä»»å¡ã 704 705## ä¸ãå®è£ Codex CLI 706 707è¯·å æç § Codex CLI 宿¹è¯´æå®æå®è£ ãå®è£ 宿åï¼è¿è¡ä»¥ä¸å½ä»¤ç¡®è®¤å¯ç¨ï¼ 708 709\`\`\`bash 710codex --version 711\`\`\` 712 713## äºãé ç½® WisGate 714 715Codex CLI é常读å \`~/.codex/config.toml\`ã妿æä»¶ä¸åå¨ï¼è¯·æå¨å建ã 716 717\`\`\`toml
718model_provider = "wisgate" 719model = "gpt-5.5" 720model_reasoning_effort = "high" 721 722[model_providers.wisgate] 723name = "WisGate" 724base_url = "https://api.wisgate.ai/v1" 725env_key = "WISGATE_API_KEY" 726\`\`\` 727 728ç¶åå¨ shell ä¸è®¾ç½® WisGate API Keyï¼ 729 730\`\`\`bash 731export WISGATE_API_KEY="your_wisgate_api_key" 732\`\`\` 733 734å¦æå¸æé¿æçæï¼è¯·æè¿è¡åå ¥ \`~/.zshrc\`ã\`~/.bashrc\` æå¯¹åº shell é ç½®æä»¶ã 735 736## ä¸ãå¼å§ä½¿ç¨ 737 738è¿å ¥é¡¹ç®ç®å½åå¯å¨ Codex CLIï¼ 739 740\`\`\`bash 741cd /path/to/your/project 742codex 743\`\`\` 744 745å¯å¨åï¼Codex CLI ä¼éè¿ \`https://api.wisgate.ai/v1\` è°ç¨æé ç½®çæ¨¡åã 746 747## 使ç¨åºæ¯ 748 749- **ç»ç«¯å å¼å**ï¼å¨å½ä»¤è¡ä¸åæé¡¹ç®ãçæä»£ç åä¿®æ¹æä»¶ã 750- **代ç 审æ¥**ï¼è®© Codex CLI æ£æ¥åæ´ãæ»ç»é£é©å¹¶ç»åºä¿®å¤å»ºè®®ã 751- **éæä»»å¡**ï¼æåå¤ææ¨¡åãè°æ´ç»æå¹¶è¿è¡éªè¯å½ä»¤ã 752- **å¢éç»ä¸é ç½®**ï¼éè¿åä¸å¥ \`config.toml\` 模æ¿ç»ä¸æ¥å ¥ WisGateã 753 754## 常è§é®é¢ 755 756### é´æå¤±è´¥ 757 758请确认 \`WISGATE_API_KEY\` 已设置ï¼ä¸ \`env_key\` ä¸ç¯å¢åéåç§°ä¸è´ã 759 760### 模åä¸å¯ç¨ 761 762请确认 \`model\` å¡«åçæ¯ WisGate æ¯æçæ¨¡å IDãOpenAI å ¼å®¹å ¥å£å¿ é¡»ä½¿ç¨ \`https://api.wisgate.ai/v1\`ã 763`,H=`# Crush 764 765Crush is a CLI + TUI AI programming tool that runs in the terminal, supporting multiple model integrations for code generation, debugging, conversation, file operations, and multitasking. 766 767When using WisGate, configure the API endpoint \`https://api.wisgate.ai/v1\`. 768 769## 1. Install Crush 770 771Choose the installation method for your system: 772 773**Homebrew (macOS recommended):** 774 775\`\`\`bash 776brew install charmbracelet/tap/crush 777\`\`\` 778 779**NPM (cross-platform):** 780 781\`\`\`bash 782npm install -g @charmland/crush 783\`\`\` 784 785## 2. Configure WisGate Models 786 787### 1. Get Your API Key 788 789Create and obtain your API Key from the WisGate dashboard. 790 791### 2. Start Crush and Select Model 792 793\`\`\`bash 794crush 795\`\`\` 796 797In the model selection screen, select your desired model (e.g., \`gpt-5.5\`) 798 799### 3. Enter API Key 800 801Enter your WisGate API Key when prompted. 802 803### 4. Modify Crush Configuration 804 805Configuration file location: 806- macOS/Linux: \`~/.config/crush/crush.json\` 807- Windows: \`%USERPROFILE%\\.config\\crush\\crush.json\` 808 809\`\`\`json 810{ 811 "providers": { 812 "wisgate": { 813 "id": "wisgate", 814 "name": "WisGate Provider", 815 "base_url": "https://api.wisgate.ai/v1", 816 "api_key": "your_wisgate_api_key" 817 } 818 } 819} 820\`\`\` 821 822After configuration, restart Crush and use \`/models\` to select a specific model. 823 824## 3. Use Cases 825 826- **Terminal coding**: Run the TUI inside a project directory for code generation and edits. 827- **File operations**: Let Crush read project context and assist with file edits. 828- **Debugging**: Use command output, logs, and test results to generate fix suggestions. 829- **Multitasking**: Split complex development requests into terminal-based tasks and complete them step by step. 830 831## FAQ 832 833### The configured model does not appear in \`/models\` 834 835Confirm that the configuration file path is correct, the JSON format is valid, and restart Crush. 836 837### API calls fail 838 839Confirm that \`base_url\` is \`https://api.wisgate.ai/v1\` and \`api_key\` has been replaced with an API key created in the WisGate dashboard. 840`,z=`# Crush 841 842Crush æ¢æ¯ä¸æ¬¾å¨ç»ç«¯ä¸è¿è¡ç CLI + TUI AI ç¼ç¨å·¥å ·ï¼ä¹æ¯æå¤ç§æ¨¡åæ¥å ¥ï¼è½å¤å¨å½ä»¤è¡ç¯å¢ä¸å®æä»£ç çæãè°è¯ã对è¯ãæä»¶æä½ä¸å¤ä»»å¡å¤ççå·¥ä½ã 843 844ä½¿ç¨ WisGate æ¶ï¼é ç½® API ç«¯ç¹ \`https://api.wisgate.ai/v1\` å³å¯ã 845 846## ä¸ãå®è£ Crush 847 848æ ¹æ®æ¨çç³»ç»éæ©å¯¹åºçå®è£ æ¹å¼ï¼ 849 850**Homebrewï¼macOS æ¨èï¼ï¼** 851 852\`\`\`bash 853brew install charmbracelet/tap/crush 854\`\`\` 855 856**NPMï¼è·¨å¹³å°ï¼ï¼** 857 858\`\`\`bash 859npm install -g @charmland/crush 860\`\`\` 861 862## äºãé ç½® WisGate 模å 863 864### 1. è·å API å¯é¥ 865 866å¨ WisGate æ§å¶å°ä¸å建并è·åæ¨ç API Keyã 867 868### 2. å¯å¨ Crush å¹¶éæ©æ¨¡å 869 870\`\`\`bash 871crush 872\`\`\` 873 874卿¨¡åéæ©çé¢ä¸ï¼éæ©æ¨éè¦ç模åï¼å¦ï¼\`gpt-5.5\`ï¼ 875 876### 3. è¾å ¥ API å¯é¥ 877 878å¨æç¤ºçé¢ä¸è¾å ¥æ¨ç WisGate API Keyã 879 880### 4. ä¿®æ¹ Crush é ç½® 881 882é ç½®æä»¶ä½ç½®ï¼ 883- macOS/Linuxï¼\`~/.config/crush/crush.json\` 884- Windowsï¼\`%USERPROFILE%\\.config\\crush\\crush.json\` 885 886\`\`\`json 887{ 888 "providers": { 889 "wisgate": { 890 "id": "wisgate", 891 "name": "WisGate Provider", 892 "base_url": "https://api.wisgate.ai/v1", 893 "api_key": "your_wisgate_api_key" 894 } 895 } 896} 897\`\`\` 898 899é ç½®å®æåï¼éå¯ Crush åºç¨ï¼éè¿ \`/models\` å½ä»¤éæ©æå®æ¨¡åã 900 901## ä¸ã使ç¨åºæ¯ 902 903- **ç»ç«¯å ç¼ç **ï¼å¨é¡¹ç®ç®å½ä¸éè¿ TUI ç´æ¥å¤ç代ç çæåä¿®æ¹ã 904- **æä»¶æä½**ï¼è®© Crush 读å项ç®ä¸ä¸æå¹¶è¾ å©ç¼è¾æä»¶ã 905- **è°è¯æé**ï¼ç»åå½ä»¤è¡è¾åºãæ¥å¿åæµè¯ç»æçæä¿®å¤å»ºè®®ã 906- **å¤ä»»å¡å¤ç**ï¼æå¤æå¼åéæ±æåæå¤ä¸ªç»ç«¯å ä»»å¡éæ¥å®æã 907 908## 常è§é®é¢ 909 910### \`/models\` 䏿²¡æçå°é ç½®çæ¨¡å 911 912请确认é ç½®æä»¶è·¯å¾æ£ç¡®ãJSON æ ¼å¼ææï¼å¹¶éå¯ Crushã 913 914### API è°ç¨å¤±è´¥ 915 916请确认 \`base_url\` 为 \`https://api.wisgate.ai/v1\`ï¼\`api_key\` å·²æ¿æ¢ä¸º WisGate æ§å¶å°å建ç API Keyã 917`,J=`# Cursor 918 919Connect WisGate models to Cursor through the OpenAI-compatible protocol for AI chat, code generation, debugging, refactoring, and project analysis. 920 921Due to Cursor's limitations, only users with a Cursor Pro subscription or above can configure custom models. Non-Pro users will encounter errors after configuration. 922 923## 1. Install Cursor 924 925Visit the Cursor website to download and install the version for your operating system. 926 927## 2. Create New Provider/Model 928 929In Cursor, open the "Models" section and click the "Add Custom Model" button. 930 931- Select **OpenAI protocol** 932- Configure **OpenAI API Key** (obtained from the WisGate dashboard) 933- In **Override OpenAI Base URL**, replace the default URL with: \`https://api.wisgate.ai/v1\` 934- Enter the model you want to use, such as \`GPT-5.5\`, \`GPT-4.7\`, or \`GPT-4.5\` 935- Note: In Cursor, you must use uppercase model names, e.g., \`GPT-5.5\` 936 937## 3. Save and Switch Model 938 939After configuration, save your settings and select the newly created Provider on the main page. 940 941## 4. Start Using 942 943With this setup, you can start using WisGate models for code generation, debugging, task analysis, and more. 944 945## 5. Use Cases 946 947- **Code completion and generation**: Generate code in Cursor based on the current file or project context. 948- **Error fixing**: Paste errors or select problematic code and ask the model to identify the cause. 949- **Refactoring suggestions**: Analyze functions, components, or modules and get refactoring guidance. 950- **Project Q&A**: Ask questions about the existing codebase to understand business logic and dependencies faster. 951 952## FAQ 953 954### The custom model is not available after saving 955 956Confirm that your Cursor plan supports custom models, and check that the API key, model name, and \`https://api.wisgate.ai/v1\` are correct. 957 958### The model name is not recognized 959 960Cursor can be sensitive to model name casing. Use the model name from the dashboard or model list, and use uppercase names when required. 961`,V=`# Cursor 962 963å° WisGate 模åéè¿ OpenAI å ¼å®¹åè®®æ¥å ¥ Cursorï¼ç¨äº AI 对
963è¯ã代ç çæãè°è¯ãéæå项ç®åæã 964 965ç±äº Cursor çéå¶ï¼åªæè®¢é äº Cursor é«çº§ä¼åå以ä¸çç¨æ·ææ¯æèªå®ä¹é 置模åãè¥éé«çº§ä¼åï¼é ç½®å伿¥éã 966 967## 1. å®è£ Cursor 968 969è®¿é® Cursor å®ç½ä¸è½½å¹¶å®è£ é忍çæä½ç³»ç»ççæ¬ã 970 971## 2. åå»ºæ° Provider/Model 972 973å¨ Cursor ä¸ï¼æå¼ãModelsãé¨åï¼å¹¶ç¹å»ãAdd Custom Modelãæé®ã 974 975- éæ© **OpenAI åè®®** 976- é ç½® **OpenAI API Key**ï¼ä» WisGate æ§å¶å°è·åï¼ 977- å¨ **Override OpenAI Base URL** ä¸ï¼å°é»è®¤ URL æ¿æ¢ï¼\`https://api.wisgate.ai/v1\` 978- è¾å ¥æ¨å¸æä½¿ç¨ç模åï¼å¦ \`GPT-5.5\`ã\`GPT-4.7\` æ \`GPT-4.5\` 979- 注æï¼å¨ Cursor ä¸ï¼éè¦è¾å ¥æ¨¡åç大ååç§°ï¼å¦ \`GPT-5.5\` 980 981## 3. ä¿åå¹¶åæ¢æ¨¡å 982 983é ç½®å®æåï¼ä¿å设置并å¨ä¸»é¡µä¸éæ©æ¨åå建ç Providerã 984 985## 4. å¼å§ä½¿ç¨ 986 987éè¿è¯¥è®¾ç½®ï¼æ¨å¯ä»¥å¼å§ä½¿ç¨ WisGate 模åè¿è¡ä»£ç çæãè°è¯ãä»»å¡åæçå·¥ä½ã 988 989## 5. 使ç¨åºæ¯ 990 991- **代ç è¡¥å ¨ä¸çæ**ï¼å¨ Cursor ä¸åºäºå½åæä»¶æé¡¹ç®ä¸ä¸æçæä»£ç ã 992- **é误修å¤**ï¼ç²è´´æ¥éæéä¸é®é¢ä»£ç ï¼è®©æ¨¡åè¾ å©å®ä½åå ã 993- **éæå»ºè®®**ï¼è®©æ¨¡ååæå½æ°ãç»ä»¶ææ¨¡åç»æï¼ç»åºéææ¹æ¡ã 994- **项ç®é®ç**ï¼å´ç»å·²æä»£ç åºæé®ï¼å¿«éçè§£ä¸å¡é»è¾åä¾èµå ³ç³»ã 995 996## 常è§é®é¢ 997 998### èªå®ä¹æ¨¡åä¿ååä¸å¯ç¨ 999 1000请确认账å·å¥é¤æ¯æèªå®ä¹æ¨¡åï¼å¹¶æ£æ¥ API Keyãæ¨¡ååç§°å \`https://api.wisgate.ai/v1\` æ¯å¦å¡«åæ£ç¡®ã 1001 1002### 模ååç§°æ æ³è¯å« 1003 1004Cursor 对模åå称大å°åè¾ææã请æç §æ§å¶å°ææ¨¡åå表ä¸çåç§°å¡«åï¼å¿ è¦æ¶ä½¿ç¨å¤§å模ååã 1005`,Y=`# Factory Droid 1006 1007Factory Droid is an enterprise-grade AI coding agent that runs in your terminal, handling end-to-end software development workflows. 1008 1009Factory Droid requires successful account authentication before use. 1010 1011## Step 1: Install Factory Droid 1012 1013**macOS / Linux:** 1014 1015\`\`\`bash 1016curl -fsSL https://app.factory.ai/cli | sh 1017\`\`\` 1018 1019**Windows:** 1020 1021\`\`\`powershell 1022irm https://app.factory.ai/cli/windows | iex 1023\`\`\` 1024 1025## Step 2: Configure WisGate Models 1026 1027### 1. Get Your API Key 1028 1029Create and obtain your API Key from the WisGate dashboard. 1030 1031### 2. Configure Custom Model 1032 1033Configuration file location: 1034- macOS/Linux: \`~/.factory/settings.json\` 1035- Windows: \`%USERPROFILE%\\.factory\\settings.json\` 1036 1037#### Anthropic Protocol 1038 1039\`\`\`json 1040{ 1041 "customModels": [ 1042 { 1043 "displayName": "Claude [WisGate] - Sonnet", 1044 "model": "claude-sonnet-4-6", 1045 "baseUrl": "https://api.wisgate.ai", 1046 "apiKey": "your_api_key", 1047 "provider": "anthropic", 1048 "maxOutputTokens": 131072 1049 } 1050 ] 1051} 1052\`\`\` 1053 1054#### OpenAI Chat Completion Protocol 1055 1056\`\`\`json 1057{ 1058 "customModels": [ 1059 { 1060 "displayName": "GPT [WisGate] - OpenAI", 1061 "model": "gpt-5.5", 1062 "baseUrl": "https://api.wisgate.ai/v1", 1063 "apiKey": "your_api_key", 1064 "provider": "generic-chat-completion-api", 1065 "maxOutputTokens": 131072 1066 } 1067 ] 1068} 1069\`\`\` 1070 1071Replace \`your_api_key\` with your actual API Key. The API Key is stored locally only. 1072 1073For the Anthropic protocol, usually enter the Base URL \`https://api.wisgate.ai\`. If the tool asks for the full Messages API URL, use \`https://api.wisgate.ai/v1/messages\`. 1074 1075### 3. Start Factory Droid 1076 1077\`\`\`bash 1078cd /path/to/your/project 1079droid 1080\`\`\` 1081 1082On first launch, you will be guided through browser login. 1083 1084### 4. Select Your Model 1085 1086After droid starts, use the \`/model\` command to select the custom model you configured. 1087 1088## Step 3: Start Using 1089 1090After selecting the model, you can let Factory Droid handle end-to-end development tasks in the terminal, such as: 1091 1092- Analyze project structure and tasks 1093- Modify code and generate explanations 1094- Diagnose issues from failed tests 1095- Break down complex requirements and execute them step by step 1096 1097## FAQ 1098 1099### Should I use the Anthropic or OpenAI Chat Completion protocol? 1100 1101Use Base URL \`https://api.wisgate.ai\` for Claude-family or Anthropic Messages-compatible models. If the tool asks for the full request URL, use \`https://api.wisgate.ai/v1/messages\`. Use \`https://api.wisgate.ai/v1\` for GPT-family or OpenAI-compatible models. 1102 1103### The custom model does not appear 1104
1105Confirm that \`~/.factory/settings.json\` is in the correct path, the JSON format is valid, and restart \`droid\`. 1106`,Z=`# Factory Droid 1107 1108Factory Droid æ¯ä¸æ¬¾ä¼ä¸çº§ AI ç¼ç 代çï¼å®è¿è¡å¨ä½ çç»ç«¯ä¸ï¼è´è´£ç«¯å°ç«¯ç软件å¼å工使µã 1109 1110Factory Droid éè¦æåç»å½ Factory Droid è´¦æ·è®¤è¯åæè½ä½¿ç¨ã 1111 1112## æ¥éª¤ 1ï¼å®è£ Factory Droid 1113 1114**macOS / Linuxï¼** 1115 1116\`\`\`bash 1117curl -fsSL https://app.factory.ai/cli | sh 1118\`\`\` 1119 1120**Windowsï¼** 1121 1122\`\`\`powershell 1123irm https://app.factory.ai/cli/windows | iex 1124\`\`\` 1125 1126## æ¥éª¤ 2ï¼é ç½® WisGate 模å 1127 1128### 1. è·å API å¯é¥ 1129 1130å¨ WisGate æ§å¶å°ä¸å建并è·åæ¨ç API Keyã 1131 1132### 2. é ç½®èªå®ä¹æ¨¡å 1133 1134é ç½®æä»¶ä½ç½®ï¼ 1135- macOS/Linuxï¼\`~/.factory/settings.json\` 1136- Windowsï¼\`%USERPROFILE%\\.factory\\settings.json\` 1137 1138#### Anthropic åè®® 1139 1140\`\`\`json 1141{ 1142 "customModels": [ 1143 { 1144 "displayName": "Claude [WisGate] - Sonnet", 1145 "model": "claude-sonnet-4-6", 1146 "baseUrl": "https://api.wisgate.ai", 1147 "apiKey": "your_api_key", 1148 "provider": "anthropic", 1149 "maxOutputTokens": 131072 1150 } 1151 ] 1152} 1153\`\`\` 1154 1155#### OpenAI Chat Completion åè®® 1156 1157\`\`\`json 1158{ 1159 "customModels": [ 1160 { 1161 "displayName": "GPT [WisGate] - OpenAI", 1162 "model": "gpt-5.5", 1163 "baseUrl": "https://api.wisgate.ai/v1", 1164 "apiKey": "your_api_key", 1165 "provider": "generic-chat-completion-api", 1166 "maxOutputTokens": 131072 1167 } 1168 ] 1169} 1170\`\`\` 1171 1172å° \`your_api_key\` æ¿æ¢ä¸ºä½ çå®é API KeyãAPI Key ä» ä¿å卿¬å°ã 1173 1174Anthropic åè®®é常填å Base URL \`https://api.wisgate.ai\`ãå¦æå·¥å ·è¦æ±å¡«å宿´ç Messages API å°åï¼è¯·ä½¿ç¨ \`https://api.wisgate.ai/v1/messages\`ã 1175 1176### 3. å¯å¨ Factory Droid 1177 1178\`\`\`bash 1179cd /path/to/your/project 1180droid 1181\`\`\` 1182 1183馿¬¡å¯å¨æ¶ï¼ç³»ç»ä¼å¼å¯¼ä½ éè¿æµè§å¨ç»å½ã 1184 1185### 4. éæ©ä½ çæ¨¡å 1186 1187droid è¿è¡åï¼ä½¿ç¨ \`/model\` å½ä»¤éæ©åé ç½®çèªå®ä¹æ¨¡åã 1188 1189## æ¥éª¤ 3ï¼å¼å§ä½¿ç¨ 1190 1191éæ©æ¨¡ååï¼å¯ä»¥è®© Factory Droid å¨ç»ç«¯ä¸å¤ç端å°ç«¯å¼åä»»å¡ï¼ä¾å¦ï¼ 1192 1193- åæé¡¹ç®ç»æåå¾ åäºé¡¹ 1194- ä¿®æ¹ä»£ç å¹¶çæè¯´æ 1195- æ ¹æ®æµè¯å¤±è´¥ä¿¡æ¯å®ä½é®é¢ 1196- æè§£å¤æéæ±å¹¶éæ¥æ§è¡ 1197 1198## 常è§é®é¢ 1199 1200### åºè¯¥ä½¿ç¨ Anthropic è¿æ¯ OpenAI Chat Completion åè®®ï¼ 1201 1202Claude ç³»åæ Anthropic Messages å ¼å®¹æ¨¡åä½¿ç¨ Base URL \`https://api.wisgate.ai\`ï¼å¦æå·¥å ·è¦æ±å®æ´è¯·æ±å°åï¼åä½¿ç¨ \`https://api.wisgate.ai/v1/messages\`ãGPT ç³»åæ OpenAI å ¼å®¹æ¨¡åä½¿ç¨ \`https://api.wisgate.ai/v1\`ã 1203 1204### èªå®ä¹æ¨¡å没æåºç° 1205 1206请确认 \`~/.factory/settings.json\` è·¯å¾æ£ç¡®ãJSON æ ¼å¼ææï¼å¹¶éå¯ \`droid\`ã 1207`,q=`# Goose 1208 1209Goose is an AI Agent tool that supports running locally or on the desktop, also available in CLI form. It supports multiple model integrations and uses the MCP protocol to connect external tools and APIs, automating engineering tasks such as code generation, debugging, testing, and deployment. 1210 1211## 1. Install Goose Desktop 1212 12131. Visit the Goose documentation page for quickstart 12142. Choose the appropriate installation method for your operating system 12153. Complete the installation 1216 1217## 2. Create New Provider 1218 12191. Open the Goose desktop application and enter the main interface 12202. Find and click "Create New Provider" in the left menu 12213. Follow the prompts to enter the required information 1222 1223## 3. Select Anthropic Protocol and Configure 1224 12251. During Provider creation, select the Anthropic protocol 12262. Fill in the following configuration: 1227 - **Base URL**: \`https://api.wisgate.ai\` 1228 - **API Key**: Enter your WisGate API Key 1229 - **Model**: Select GLM-5.1, GLM-5-Turbo, GLM-4.7, or GLM-4.5-air 12303. Save settings after configuration 1231 1232If Goose asks for the full Messages API URL instead of a Base URL, use \`https://api.wisgate.ai/v1/messages\`. 1233 1234## 4. Switch Model 1235 12361. Return to the Goose desktop main interface 12372. Find and click "Switch Models" at the bottom 12383. Select the newly created Provider from the dropdown list 12394. Ensure the new Provider is successfully switched as the active model 1240 1241## 5. Start Using 1242 1243After configuration and model switching, you can start using the Goose desktop with WisGate models. Enter your requests and Goose will automatically call the configured model to generate responses. 1244 1245## 6. Use Cases 1246 1247- **Engineering automation**: Use Goose with MCP tools for code generation, testing, and deployment-related tasks. 1248- **Local agent workflow**: Continue project conversations and execution in the desktop app or CLI. 1249- **Tool calling**: Connect external tools, APIs, or local services through MCP. 1250- **Debugging and verification**: Generate next-step suggestions from logs, test results, and file context. 1251 1252## FAQ 1253 1254### The Provider cannot call the model 1255 1256Confirm that the protocol is Anthropic, Base URL is \`https://api.wisgate.ai\`, and the API key is correct. If the interface asks for the full request URL, use \`https://api.wisgate.ai/v1/messages\`. 1257 1258### Goose still calls the old Provider after switching 1259 1260Return to "Switch Models" at the bottom of the main interface, select the new Provider again, and confirm that the current session switched successfully. 1261`,Q=`# Goose 1262 1263Goose æ¯ä¸æ¬¾ AI Agent å·¥å ·ï¼æ¯æå¨æ¬å°ææ¡é¢ç¯å¢è¿è¡ï¼ä¹æä¾ CLI å½¢å¼ã宿¯æå¤ç§æ¨¡åæ¥å ¥ï¼ç»å MCP åè®®è¿æ¥å¤é¨å·¥å ·ä¸ APIï¼èªå¨åæ§è¡å·¥ç¨ä»»å¡ï¼å¦ä»£ç çæãè°è¯ãæµè¯ä¸é¨ç½²ã 1264 1265## ä¸ãå®è£ Goose æ¡é¢ç 1266 12671. è®¿é® Goose æ¡é¢çç宿¹ææ¡£é¡µé¢ï¼æ ¹æ®æ¨çæä½ç³»ç»éæ©åéçå®è£ æ¹å¼ 12682. 宿å®è£ 1269 1270## äºãåå»ºæ° Provider 1271 12721. æå¼ Goose æ¡é¢çåºç¨ï¼è¿å ¥ä¸»çé¢ 12732. æ¾å°å¹¶ç¹å»å·¦ä¾§èåä¸çãåå»ºæ° Providerã 12743. æç §æç¤ºè¾å ¥æéä¿¡æ¯ï¼å®ææ° Provider çå建 1275 1276## ä¸ãéæ© Anthropic å议并é ç½® 1277 12781. å¨å建 Provider çè¿ç¨ä¸ï¼éæ© Anthropic åè®® 12792. å¡«å以ä¸å¿ è¦çé ç½®ï¼ 1280 - **Base URL**ï¼\`https://api.wisgate.ai\` 1281 - **API Key**ï¼è¾å ¥æ¨ç WisGate API å¯é¥ 1282 - **Model**ï¼éæ© GLM-5.1ãGLM-5-TurboãGLM-4.7 æ GLM-4.5-air 12833. é ç½®å®æåï¼ä¿å设置 1284 1285妿 Goose è¦æ±å¡«å宿´ç Messages API å°åï¼è䏿¯ Base URLï¼è¯·ä½¿ç¨ \`https://api.wisgate.ai/v1/messages\`ã 1286 1287## åãåæ¢æ¨¡å 1288 12891. åå° Goose æ¡é¢çç主çé¢ 12902. å¨ä¸»ç颿åºé¨æ¾å°å¹¶ç¹å»ãSwitch Modelsã 12913. å¨ä¸æå表ä¸éæ©æ¨åæåå»ºçæ° Provider 12924. ç¡®ä¿æ° Provider å·²æååæ¢ä¸ºå½åä½¿ç¨æ¨¡å 1293 1294## äºãå¼å§ä½¿ç¨ 1295 1296é ç½®å®æå¹¶åæ¢æ¨¡ååï¼æ¨å°±å¯ä»¥å¼å§ä½¿ç¨ Goose æ¡é¢çä¸ WisGate 模åè¿è¡äº¤äºãè¾å ¥æ¨ç请æ±ï¼Goose å°æ ¹æ®æ¨çé ç½®èªå¨è°ç¨æ¨¡åå¹¶çæååºã 1297 1298## å ã使ç¨åºæ¯ 1299 1300- **å·¥ç¨èªå¨å**ï¼è®© Goose ç»å MCP å·¥å ·æ§è¡ä»£ç çæãæµè¯åé¨ç½²ç¸å ³ä»»å¡ã 1301- **æ¬å° Agent 工使µ**ï¼å¨æ¡é¢ç«¯æ CLI ä¸å´ç»é¡¹ç®æç»å¯¹è¯åæ§è¡ã 1302- **å·¥å ·è°ç¨**ï¼éè¿ MCP è¿æ¥å¤é¨å·¥å ·ãAPI ææ¬å°æå¡ã 1303- **è°è¯ä¸éªè¯**ï¼æ ¹æ®æ¥å¿ãæµè¯ç»æåæä»¶ä¸ä¸æçæä¸ä¸æ¥æä½å»ºè®®ã 1304 1305## 常è§é®é¢ 1306
1307### Provider åå»ºåæ æ³è°ç¨ 1308 1309请确认åè®®éæ©ä¸º Anthropicï¼Base URL 为 \`https://api.wisgate.ai\`ï¼å¹¶æ£æ¥ API Key æ¯å¦æ£ç¡®ã妿çé¢è¦æ±å®æ´è¯·æ±å°åï¼è¯·å¡«å \`https://api.wisgate.ai/v1/messages\`ã 1310 1311### åæ¢æ¨¡ååä»è°ç¨æ§ Provider 1312 1313请åå°ä¸»çé¢åºé¨çãSwitch Modelsãéæ°éæ©æ° Providerï¼å¹¶ç¡®è®¤å½åä¼è¯å·²ç»åæ¢æåã 1314`,$=`# Hermes Agent 1315 1316Hermes Agent is a terminal-native autonomous coding agent built by Nous Research. It supports persistent memory, agent-created skills, messaging gateways, and multiple execution backends. You can connect Hermes Agent to WisGate through a custom OpenAI-compatible endpoint. 1317 1318## 1. Install Hermes Agent 1319 1320Follow the official Hermes Agent documentation to install it first. After installation, verify that the command is available: 1321 1322\`\`\`bash 1323hermes --version 1324\`\`\` 1325 1326## 2. Use the Interactive Model Selector 1327 1328Hermes recommends configuring models through the interactive selector: 1329 1330\`\`\`bash 1331hermes model 1332\`\`\` 1333 1334During the model setup flow, select a custom OpenAI-compatible endpoint and enter: 1335 1336- **Base URL**: \`https://api.wisgate.ai/v1\` 1337- **API Key**: Your WisGate API key 1338- **Model**: For example, \`gpt-5.5\` 1339 1340## 3. Manual Configuration 1341 1342Hermes usually stores secrets in \`~/.hermes/.env\`, while model and non-secret settings live in \`~/.hermes/config.yaml\`. 1343 1344Add this to \`~/.hermes/.env\`: 1345 1346\`\`\`env 1347OPENAI_API_KEY=your_wisgate_api_key 1348OPENAI_BASE_URL=https://api.wisgate.ai/v1 1349\`\`\` 1350 1351Configure the model in \`~/.hermes/config.yaml\`: 1352 1353\`\`\`yaml 1354model: 1355 provider: custom 1356 default: gpt-5.5 1357 base_url: https://api.wisgate.ai/v1 1358\`\`\` 1359 1360If your Hermes version uses a different field name than \`model.default\`, prefer the configuration generated by \`hermes model\`. 1361 1362## 4. Start Using 1363 1364\`\`\`bash 1365hermes 1366\`\`\` 1367 1368Or use the TUI: 1369 1370\`\`\`bash 1371hermes --tui 1372\`\`\` 1373 1374## Use Cases 1375 1376- **Autonomous development tasks**: Let Hermes run multi-step development tasks locally, in Docker, over SSH, or on remote backends. 1377- **Persistent memory**: Preserve project preferences, experience, and skills across sessions. 1378- **Messaging gateway**: Trigger agent workflows from Telegram, Discord, Slack, and other platforms. 1379- **Auxiliary models**: Configure cheaper WisGate models for compression, vision, titles, and other lightweight tasks. 1380 1381## FAQ 1382 1383### Hermes cannot find the API key 1384 1385Confirm that \`OPENAI_API_KEY\` exists in \`~/.hermes/.env\`, then restart Hermes. 1386 1387### Model or context errors occur 1388 1389Confirm that the model ID is supported by WisGate, and prefer a model with a large enough context window. The OpenAI-compatible Base URL is \`https://api.wisgate.ai/v1\`. 1390`,X=`# Hermes Agent 1391 1392Hermes Agent æ¯ Nous Research æå»ºçç»ç«¯åçèªæ²»ç¼ç¨ä»£çï¼æ¯ææä¹ è®°å¿ãæè½åå»ºãæ¶æ¯ç½å ³åå¤ç§è¿è¡å端ãéè¿èªå®ä¹ OpenAI å ¼å®¹ç«¯ç¹ï¼å¯ä»¥å° Hermes Agent æ¥å ¥ WisGateã 1393 1394## ä¸ãå®è£ Hermes Agent 1395 1396è¯·å æç § Hermes Agent 宿¹ææ¡£å®æå®è£ ãå®è£ 宿å确认å½ä»¤å¯ç¨ï¼ 1397 1398\`\`\`bash 1399hermes --version 1400\`\`\` 1401 1402## äºã使ç¨äº¤äºå¼æ¨¡åéæ©å¨ 1403 1404Hermes æ¨è使ç¨äº¤äºå¼æ¨¡åéæ©å¨é 置模åï¼ 1405 1406\`\`\`bash 1407hermes model 1408\`\`\` 1409 1410卿¨¡åé ç½®æµç¨ä¸éæ©èªå®ä¹ OpenAI-compatible endpointï¼å¹¶å¡«åï¼ 1411 1412- **Base URL**ï¼\`https://api.wisgate.ai/v1\` 1413- **API Key**ï¼æ¨ç WisGate API Key 1414- **Model**ï¼ä¾å¦ \`gpt-5.5\` 1415 1416## ä¸ãæå¨é ç½® 1417 1418Hermes çå¯é¥é常æ¾å¨ \`~/.hermes/.env\`ï¼æ¨¡åä¸éå¯é¥é ç½®æ¾å¨ \`~/.hermes/config.yaml\`ã 1419 1420å¨ \`~/.hermes/.env\` ä¸åå ¥ï¼ 1421 1422\`\`\`env 1423OPENAI_API_KEY=your_wisgate_api_key 1424OPENAI_BASE_URL=https://api.wisgate.ai/v1 1425\`\`\` 1426 1427å¨ \`~/.hermes/config.yaml\` ä¸é 置模åï¼ 1428 1429\`\`\`yaml 1430model: 1431 provider: custom 1432 default: gpt-5.5 1433 base_url: https://api.wisgate.ai/v1 1434\`\`\` 1435 1436妿æ¨ç Hermes çæ¬ä½¿ç¨ \`model.default\` 以å¤çåæ®µåï¼è¯·ä¼å 以 \`hermes model\` çæçé 置为åã 1437 1438## åãå¼å§ä½¿ç¨ 1439 1440\`\`\`bash 1441hermes 1442\`\`\` 1443 1444æä½¿ç¨ TUIï¼ 1445 1446\`\`\`bash 1447hermes --tui 1448\`\`\` 1449 1450## 使ç¨åºæ¯ 1451 1452- **èªæ²»å¼åä»»å¡**ï¼è®© Hermes 卿¬å°ãDockerãSSH æè¿ç¨å端æ§è¡å¤æ¥éª¤å¼åä»»å¡ã 1453- **æä¹ è®°å¿**ï¼è·¨ä¼è¯ä¿ç项ç®å好ãç»éªåæè½ã 1454- **æ¶æ¯ç½å ³**ï¼éè¿ TelegramãDiscordãSlack çå¹³å°è§¦å Agent 工使µã 1455- **è¾ å©æ¨¡å**ï¼ä¸ºå缩ãè§è§ãæ é¢çè½»éä»»å¡åç¬é ç½®æ´ä¾¿å®ç WisGate 模åã 1456 1457## 常è§é®é¢ 1458 1459### æ¾ä¸å° API Key 1460 1461请确认 \`~/.hermes/.env\` 䏿 \`OPENAI_API_KEY\`ï¼å¹¶éå¯ Hermesã 1462 1463### 模åæä¸ä¸ææ¥é 1464 1465请确认模å ID 为 WisGate æ¯æçæ¨¡åï¼å¹¶ä¼å éæ©ä¸ä¸æçªå£è¶³å¤å¤§ç模åãOpenAI å ¼å®¹ Base URL ä½¿ç¨ \`https://api.wisgate.ai/v1\`ã 1466`,nn=`# Junie CLI 1467 1468Junie CLI is JetBrains' agentic coding command-line tool. It supports BYOK and custom model profiles. With a custom LLM profile, Junie CLI can connect to WisGate through the OpenAI-compatible interface. 1469 1470## 1. Install Junie CLI 1471 1472On Linux / macOS, use the install script: 1473 1474\`\`\`bash 1475curl -fsSL https://junie.jetbrains.com/install.sh | bash 1476\`\`\` 1477 1478Verify the installation: 1479 1480\`\`\`bash 1481junie --version 1482\`\`\` 1483 1484## 2. Create a WisGate Custom Model Profile 1485 1486Junie CLI discovers custom models from \`$JUNIE_HOME/models/*.json\` or project-level \`.junie/models/*.json\`. If \`JUNIE_HOME\` is not set, use the default user directory \`~/.junie\`: 1487 1488\`\`\`bash 1489mkdir -p ~/.junie/models 1490\`\`\` 1491 1492Create \`~/.junie/models/wisgate.json\`: 1493 1494\`\`\`json 1495{ 1496 "id": "gpt-5.5", 1497 "baseUrl": "https://api.wisgate.ai/v1/chat/completions", 1498 "apiType": "OpenAICompletion",
1499 "apiKey": "your_wisgate_api_key", 1500 "temperature": 0.7, 1501 "fasterModel": { 1502 "id": "gpt-4.7" 1503 } 1504} 1505\`\`\` 1506 1507If you want to share the model profile inside a project, place it at \`.junie/models/wisgate.json\`, but do not commit a real API key. 1508 1509## 3. Start Junie 1510 1511Navigate to your project directory and select the model: 1512 1513\`\`\`bash 1514cd /path/to/your/project 1515junie --model wisgate 1516\`\`\` 1517 1518You can also start Junie first, then use \`/model\` to view and switch models. 1519 1520## Use Cases 1521 1522- **Interactive coding**: Review, write, and modify code from the terminal. 1523- **File context**: Use \`@\` to attach files or folders to the request context. 1524- **Automated review**: Run headless code quality checks and fix suggestions. 1525- **Team profiles**: Share a \`.junie/models/wisgate.json\` template without secrets. 1526 1527## FAQ 1528 1529### Junie cannot find the custom model 1530 1531Confirm that the JSON file is in \`~/.junie/models/\`, \`$JUNIE_HOME/models/\`, or \`.junie/models/\`, and that the filename matches the \`--model\` value. 1532 1533### Requests fail 1534 1535Confirm that \`baseUrl\` is the full Chat Completions URL \`https://api.wisgate.ai/v1/chat/completions\`, \`apiType\` is \`OpenAICompletion\`, and the API key is correct. 1536`,en=`# Junie CLI 1537 1538Junie CLI æ¯ JetBrains æä¾ç agentic ç¼ç¨å½ä»¤è¡å·¥å ·ï¼æ¯æ BYOK åèªå®ä¹æ¨¡å Profileãéè¿èªå®ä¹ LLM Profileï¼å¯ä»¥æ Junie CLI æ¥å ¥ WisGate ç OpenAI å ¼å®¹æ¥å£ã 1539 1540## ä¸ãå®è£ Junie CLI 1541 1542Linux / macOS å¯ä½¿ç¨å®è£ èæ¬ï¼ 1543 1544\`\`\`bash 1545curl -fsSL https://junie.jetbrains.com/install.sh | bash 1546\`\`\` 1547 1548éªè¯å®è£ ï¼ 1549 1550\`\`\`bash 1551junie --version 1552\`\`\` 1553 1554## äºãå建 WisGate èªå®ä¹æ¨¡å Profile 1555 1556Junie CLI ä¼ä» \`$JUNIE_HOME/models/*.json\` æé¡¹ç®å \`.junie/models/*.json\` 读åèªå®ä¹æ¨¡åãè¥æªè®¾ç½® \`JUNIE_HOME\`ï¼å¯ä½¿ç¨é»è®¤ç¨æ·ç®å½ \`~/.junie\`ï¼ 1557 1558\`\`\`bash 1559mkdir -p ~/.junie/models 1560\`\`\` 1561 1562æ°å¢ \`~/.junie/models/wisgate.json\`ï¼ 1563 1564\`\`\`json 1565{ 1566 "id": "gpt-5.5", 1567 "baseUrl": "https://api.wisgate.ai/v1/chat/completions", 1568 "apiType": "OpenAICompletion", 1569 "apiKey": "your_wisgate_api_key", 1570 "temperature": 0.7, 1571 "fasterModel": { 1572 "id": "gpt-4.7" 1573 } 1574} 1575\`\`\` 1576 1577妿éè¦å¨é¡¹ç®ä¸å ±äº«æ¨¡åé ç½®ï¼è¯·æ profile æ¾å° \`.junie/models/wisgate.json\`ï¼ä½ä¸è¦æçå® API Key æäº¤å°ä»£ç ä»åºã 1578 1579## ä¸ãå¯å¨ Junie 1580 1581è¿å ¥é¡¹ç®ç®å½å¹¶æå®æ¨¡åï¼ 1582 1583\`\`\`bash 1584cd /path/to/your/project 1585junie --model wisgate 1586\`\`\` 1587 1588ä¹å¯ä»¥å å¯å¨ Junieï¼å¨ä¼è¯ä¸ä½¿ç¨ \`/model\` æ¥çå¹¶åæ¢æ¨¡åã 1589 1590## 使ç¨åºæ¯ 1591 1592- **交äºå¼ç¼ç **ï¼å¨ç»ç«¯ä¸è®© Junie 审æ¥ãç¼ååä¿®æ¹ä»£ç ã 1593- **æä»¶ä¸ä¸æ**ï¼ä½¿ç¨ \`@\` éå æä»¶æç®å½ï¼è®©æ¨¡å读åæå®ä¸ä¸æã 1594- **èªå¨å审æ¥**ï¼å¨ headless 模å¼ä¸æ§è¡ä»£ç è´¨éæ£æ¥åä¿®å¤å»ºè®®ã 1595- **å¢é Profile**ï¼æä¸å«å¯é¥ç \`.junie/models/wisgate.json\` ä½ä¸ºå¢é模æ¿ã 1596 1597## 常è§é®é¢ 1598 1599### Junie 没æåç°èªå®ä¹æ¨¡å 1600 1601请确认 JSON æä»¶ä½äº \`~/.junie/models/\`ã\`$JUNIE_HOME/models/\` æ \`.junie/models/\`ï¼å¹¶ç¡®è®¤æä»¶åå \`--model\` åæ°ä¸è´ã 1602 1603### 请æ±å¤±è´¥ 1604 1605请确认 \`baseUrl\` 使ç¨å®æ´ Chat Completions å°å \`https://api.wisgate.ai/v1/chat/completions\`ï¼\`apiType\` 为 \`OpenAICompletion\`ï¼API Key æ£ç¡®ã 1606`,tn=`# Kilo Code 1607 1608Kilo Code is a powerful VS Code extension that supports MCP (Model Context Protocol), helping you with code generation, debugging, and project management in the editor for more efficient intelligent development. 1609 1610When using WisGate, configure the API endpoint \`https://api.wisgate.ai/v1\`. 1611 1612## 1. Install Kilo Code Extension 1613 1614### 1. Open Extension Marketplace 1615 16161. Open VS Code 16172. Click the extension marketplace icon on the left 16183. Search for \`Kilo Code\` in the search box 16194. Find the \`Kilo Code\` extension 1620 1621### 2. Install Extension 1622 16231. Click the \`Install\` button 16242. After installation, select trust developer 1625 1626## 2. Configure API Settings 1627 1628### 1. Select API Key Method 1629 1630Select \`Use your own API key\` 1631 1632### 2. Enter Configuration 1633 1634- **API Provider**: Select \`Z AI\` 1635- **Z AI Entrypoint**: Select WisGate endpoint (\`https://api.wisgate.ai/v1\`) 1636- **Z AI API Key**: Enter your WisGate API Key 1637- **Model**: Select \`gpt-5.5\` or any model from the list 1638 1639## 3. Start Using 1640 1641After configuration, you can enter your requirements in the input box: 1642 1643- Analyze data table structures 1644- Calculate statistics and averages 1645- Generate and optimize SQL queries 1646- Code generation and refactoring 1647- Project analysis and documentation 1648 1649## 4. Usage Tips 1650 1651- Kilo Code is suitable for code generation, SQL work, documentation, and project analysis inside VS Code. 1652- If the task needs MCP tools, confirm that the related MCP services are enabled in Kilo Code. 1653- If the target model is not in the list, check whether it is available in the WisGate dashboard. 1654 1655## FAQ 1656 1657### Connection fails 1658 1659Confirm that \`Z AI\` is selected, Entrypoint is \`https://api.wisgate.ai/v1\`, and the API key is correct. 1660 1661### The model is slow or interrupted 1662 1663Try another model, or split complex tasks into separate analysis, modification, and verification stages. 1664`,on=`# Kilo Code 1665 1666Kilo Code æ¯ä¸ä¸ªåè½å¼ºå¤§ç VS Code æä»¶ï¼æ¯æ MCPï¼Model Context Protocolï¼ï¼è½å¤å¸®å©ä½ å¨ç¼è¾å¨ä¸è¿è¡ä»£ç çæãè°è¯å项ç®ç®¡ççä»»å¡ï¼å®ç°æ´é«æçæºè½å¼åã 1667 1668ä½¿ç¨ WisGate æ¶ï¼é ç½® API ç«¯ç¹ \`https://api.wisgate.ai/v1\` å³å¯ã 1669 1670## ä¸ãå®è£ Kilo Code æä»¶ 1671 1672### 1. æå¼æä»¶å¸åº 1673 16741. æå¼ VS Code 16752. ç¹å»å·¦ä¾§æä»¶å¸åºå¾æ 16763. å¨æç´¢æ¡ä¸è¾å ¥ \`Kilo Code\` 16774. æ¾å° \`Kilo Code\` æä»¶ 1678 1679### 2. å®è£ æä»¶ 1680 16811. ç¹å» \`Install\` æé®è¿è¡å®è£ 16822. å®è£ 宿åï¼éæ©ä¿¡ä»»å¼åè 1683 1684## äºãé ç½® API 设置 1685 1686### 1. éæ© API Key æ¹å¼ 1687 1688éæ© \`使ç¨ä½ èªå·±ç API ç§é¥\` 1689 1690### 2. å¡«å ¥é ç½®ä¿¡æ¯ 1691 1692- **API Provider**ï¼éæ© \`Z AI\` 1693- **Z AI Entrypoint**ï¼éæ© WisGate ç«¯ç¹ (\`https://api.wisgate.ai/v1\`) 1694- **Z AI API Key**ï¼å¡«å ¥æ¨ç WisGate API Key 1695- **Model**ï¼éæ© \`gpt-5.5\` æè åè¡¨ä¸æ¨æ³ä½¿ç¨ç模å 1696 1697## ä¸ãå¼å§ä½¿ç¨ 1698 1699é ç½®å®æåï¼æ¨å¯ä»¥å¨è¾å ¥æ¡ä¸è¾å ¥éæ±ï¼è®© AI 模å叮婿¨å®æåç§ä»»å¡ï¼ 1700 1701- åææ°æ®è¡¨ç»æ 1702- ç»è®¡æ°æ®å计ç®å¹³åå¼ 1703- çæåä¼å SQL æ¥è¯¢
1704- 代ç çæåéæ 1705- 项ç®åæåææ¡£ç¼å 1706 1707## åã使ç¨å»ºè®® 1708 1709- éåå¨ VS Code å å¤ç代ç çæãSQLãææ¡£å项ç®åæä»»å¡ã 1710- 妿任å¡éè¦è°ç¨ MCP å·¥å ·ï¼è¯·å 确认 Kilo Code ä¸ç¸å ³ MCP æå¡å·²å¯ç¨ã 1711- 模ååè¡¨ä¸æ²¡æç®æ æ¨¡åæ¶ï¼å¯å 确认 WisGate æ§å¶å°ä¸è¯¥æ¨¡åæ¯å¦å¯ç¨ã 1712 1713## 常è§é®é¢ 1714 1715### è¿æ¥å¤±è´¥ 1716 1717è¯·ç¡®è®¤éæ©çæ¯ \`Z AI\`ï¼Entrypoint 为 \`https://api.wisgate.ai/v1\`ï¼å¹¶æ£æ¥ API Key æ¯å¦æ£ç¡®ã 1718 1719### 模åè¿åæ ¢æä¸æ 1720 1721å¯å°è¯æ´æ¢æ¨¡åï¼ææå¤æä»»å¡ææâåæãä¿®æ¹ãéªè¯âå ä¸ªé¶æ®µå嫿§è¡ã 1722`,an=`# Lingma 1723 1724Lingma IDE is an Agentic programming platform for enterprises and developers. Lingma also provides a JetBrains plugin. After connecting WisGate, you can use a unified model service for code generation, project Q&A, debugging, and refactoring. 1725 1726Due to Lingma's limitations, only users with a Lingma Personal Pro subscription can configure custom models. 1727 1728## 1. Install and Use 1729 17301. Visit the Lingma website to download and install Lingma IDE (v0.6.0 or later) 17312. Complete the initial setup after first launch 17323. Log in to see your account status in Lingma IDE 1733 1734## 2. Connect WisGate 1735 17361. Open Lingma settings in the top right corner, select **Models**, and click **Add** 17372. Model configuration: 1738 - Provider: Select the WisGate provider 1739 - Type: Select WisGate 1740 - Model: Select a model from the dropdown 1741 - API Key: Enter your WisGate API Key 17423. Click **Add** to complete model configuration after validation 17434. Select the model in the Lingma chat to start using it 1744 1745Note: The Lingma JetBrains plugin also supports WisGate. 1746 1747## 3. Use Cases 1748 1749- **Enterprise project Q&A**: Ask questions about the current repository, business modules, and API logic. 1750- **Code generation**: Generate functions, components, APIs, and automation scripts. 1751- **Code review**: Check potential errors, edge cases, and maintainability issues. 1752- **Plugin workflow**: Reuse the same WisGate model configuration inside JetBrains IDEs. 1753 1754## FAQ 1755 1756### Why can't I find the model option in Lingma settings? 1757 1758You need to log in first before you can chat and configure models. 1759 1760### Model validation fails 1761 1762Confirm that your account supports custom models, the API key is correct, and you selected the built-in WisGate provider and model type when available. 1763`,sn=`# çµç ï¼Lingmaï¼ 1764 1765çµç IDE æ¯é¢åä¼ä¸åå¼åè ç Agentic ç¼ç¨å¹³å°ï¼åæ¶æä¾ JetBrains æä»¶è½åãæ¥å ¥ WisGate åï¼å¯ä»¥å¨çµç ä¸ä½¿ç¨ç»ä¸æ¨¡å宿代ç çæã项ç®é®çãè°è¯åéæã 1766 1767ç±äºçµç çéå¶ï¼åªæè®¢é äºçµç 个人ä¸ä¸ççç¨æ·æè½æ¯æèªå®ä¹é 置模åã 1768 1769## 1. å®è£ ä¸ä½¿ç¨ 1770 17711. åå¾çµç å®ç½ä¸è½½å¹¶å®è£ çµç IDEï¼v0.6.0 çæ¬å以ä¸ï¼ 17722. 忬¡å¯å¨çµç åï¼éè¦å®æåå§é ç½® 17733. ç»å½åå³å¯å¨çµç IDE ä¸çå°å·²ç»å½ç¶æ 1774 1775## 2. æ¥å ¥ WisGate 1776 17771. å¨çé¢å³ä¸è§æå¼çµç 设置ï¼éæ©**模å**ï¼åå»**æ·»å ** 17782. 模åé 置信æ¯ï¼ 1779 - æä¾åï¼éæ© WisGate 对åºçæä¾å 1780 - ç±»åï¼éæ© WisGate 1781 - 模åï¼å¨ä¸æèåä¸éæ©æ¨¡å 1782 - API Keyï¼å¡«å WisGate API Key 17833. åå»**æ·»å **ï¼éè¿æ ¡éªåå³å¯å®ææ¨¡åé ç½® 17844. å¨çµç å¯¹è¯æ¡ä¸ï¼éæ©ç¸åºç模åå³å¯å¼å§ä½¿ç¨ 1785 1786夿³¨ï¼çµç JetBrains æä»¶ä¹æ¯æ WisGateã 1787 1788## 3. 使ç¨åºæ¯ 1789 1790- **ä¼ä¸é¡¹ç®é®ç**ï¼å´ç»å½åä»åºãä¸å¡æ¨¡å忥å£é»è¾æé®ã 1791- **代ç çæ**ï¼çæå½æ°ãç»ä»¶ãæ¥å£åèªå¨åèæ¬ã 1792- **代ç 审æ¥**ï¼æ£æ¥æ½å¨é误ãè¾¹çæ åµåå¯ç»´æ¤æ§é®é¢ã 1793- **æä»¶å¼åæµ**ï¼å¨ JetBrains IDE ä¸å¤ç¨åä¸å¥ WisGate 模åé ç½®ã 1794 1795## 常è§é®é¢ 1796 1797### 为ä»ä¹å¨çµç è®¾ç½®ä¸æ¾ä¸å°æ¨¡åéé¡¹ï¼ 1798 1799æ¨éè¦å 宿ç»å½ï¼æè½å¤è¿è¡å¯¹è¯åé 置模åã 1800 1801### æ·»å æ¨¡åæ ¡éªå¤±è´¥æä¹åï¼ 1802 1803请确认å½åè´¦å·æ¯æèªå®ä¹æ¨¡åï¼API Key å¡«åæ£ç¡®ï¼å¹¶ä¼å éæ©çµç å ç½®ç WisGate æä¾å忍¡åç±»åã 1804`,rn=`# OpenClaw 1805 1806OpenClaw is an open-source AI agent platform for bringing conversational agents to Telegram, Discord, Slack, Signal, iMessage, WhatsApp, and other messaging channels. WisGate can be connected as an OpenAI-compatible model service. 1807 1808## 1. Install OpenClaw 1809 1810Follow the official OpenClaw documentation to install it first. After installation, verify that the command is available: 1811 1812\`\`\`bash 1813openclaw --version 1814\`\`\` 1815 1816## 2. Use the Setup Wizard 1817 1818If your OpenClaw version supports a custom OpenAI-compatible provider, run: 1819 1820\`\`\`bash 1821openclaw onboard 1822\`\`\` 1823 1824During setup, choose a custom or OpenAI-compatible provider and enter: 1825 1826- **Base URL**: \`https://api.wisgate.ai/v1\` 1827- **API Key**: Your WisGate API key 1828- **Model**: For example, \`gpt-5.5\` 1829 1830## 3. Manual Configuration 1831
1832Some OpenClaw versions support OpenAI-compatible endpoints through \`config.yaml\`. The config file may be located at \`~/.openclaw/config.yaml\` or under the installation directory. 1833 1834\`\`\`yaml 1835llm: 1836 provider: openai 1837 api_key: your_wisgate_api_key 1838 base_url: https://api.wisgate.ai/v1 1839 model: gpt-5.5 1840\`\`\` 1841 1842Save the file and restart OpenClaw: 1843 1844\`\`\`bash 1845openclaw gateway run 1846\`\`\` 1847 1848If your version only supports the built-in openai provider and does not support a custom Base URL, it cannot connect to WisGate directly. Upgrade to a version that supports custom OpenAI-compatible endpoints. 1849 1850## Use Cases 1851 1852- **Multi-channel agents**: Use WisGate models across Telegram, Discord, Slack, and other channels. 1853- **Team assistants**: Configure different models or workflows for different channels. 1854- **Automation tasks**: Trigger code analysis, summaries, and tool calls through messages. 1855- **Cost control**: Use lighter models for simple messages and stronger models for complex tasks. 1856 1857## FAQ 1858 1859### There is no custom provider option 1860 1861Check your OpenClaw version. Older versions may only support the built-in openai provider and cannot directly accept a WisGate Base URL. 1862 1863### The API key does not work 1864 1865Confirm that the config file path is correct, \`base_url\` is \`https://api.wisgate.ai/v1\`, and restart the gateway. 1866`,ln=`# OpenClaw 1867 1868OpenClaw æ¯ä¸ä¸ªå¼æº AI Agent å¹³å°ï¼å¯æå¯¹è¯å¼ Agent æ¥å ¥ TelegramãDiscordãSlackãSignalãiMessageãWhatsApp çå¤ä¸ªæ¶æ¯æ¸ éãWisGate å¯ä½ä¸º OpenAI å ¼å®¹æ¨¡åæå¡æ¥å ¥ OpenClawã 1869 1870## ä¸ãå®è£ OpenClaw 1871 1872è¯·å æç § OpenClaw 宿¹ææ¡£å®æå®è£ ãå®è£ å确认å½ä»¤å¯ç¨ï¼ 1873 1874\`\`\`bash 1875openclaw --version 1876\`\`\` 1877 1878## äºã使ç¨é ç½®å导 1879 1880妿æ¨ç OpenClaw çæ¬æ¯æèªå®ä¹ OpenAI-compatible providerï¼å¯ä»¥è¿è¡ï¼ 1881 1882\`\`\`bash 1883openclaw onboard 1884\`\`\` 1885 1886å¨é ç½®è¿ç¨ä¸éæ©èªå®ä¹æ OpenAI å ¼å®¹ Providerï¼å¹¶å¡«åï¼ 1887 1888- **Base URL**ï¼\`https://api.wisgate.ai/v1\` 1889- **API Key**ï¼æ¨ç WisGate API Key 1890- **Model**ï¼ä¾å¦ \`gpt-5.5\` 1891 1892## ä¸ãæå¨é ç½® 1893 1894é¨å OpenClaw çæ¬æ¯æéè¿ \`config.yaml\` é ç½® OpenAI å ¼å®¹ç«¯ç¹ãé ç½®æä»¶ä½ç½®å¯è½ä¸º \`~/.openclaw/config.yaml\` æå®è£ ç®å½ä¸ç \`config.yaml\`ã 1895 1896\`\`\`yaml 1897llm: 1898 provider: openai 1899 api_key: your_wisgate_api_key 1900 base_url: https://api.wisgate.ai/v1 1901 model: gpt-5.5 1902\`\`\` 1903 1904ä¿ååéå¯ OpenClawï¼ 1905 1906\`\`\`bash 1907openclaw gateway run 1908\`\`\` 1909 1910妿æ¨ççæ¬åªæ¯æå ç½® openai providerï¼è䏿¯æèªå®ä¹ Base URLï¼åä¸è½ç´æ¥æ¥å ¥ WisGateï¼è¯·åçº§å°æ¯æèªå®ä¹ OpenAI-compatible endpoint ççæ¬ã 1911 1912## 使ç¨åºæ¯ 1913 1914- **夿¸ é Agent**ï¼å¨ TelegramãDiscordãSlack çæ¸ éä¸ç»ä¸è°ç¨ WisGate 模åã 1915- **å¢éå©ç**ï¼ä¸ºä¸åé¢éé ç½®ä¸å模åæä¸å工使µã 1916- **èªå¨åä»»å¡**ï¼è®© Agent 卿¶æ¯ä¸è§¦å代ç åæãæè¦åå·¥å ·è°ç¨ã 1917- **ææ¬æ§å¶**ï¼ç¨è¾è½»æ¨¡åå¤çç®åæ¶æ¯ï¼ç¨æ´å¼ºæ¨¡åå¤ç夿任å¡ã 1918 1919## 常è§é®é¢ 1920 1921### 没æèªå®ä¹ Provider é项 1922 1923è¯·æ£æ¥ OpenClaw çæ¬ãæ§çæ¬å¯è½åªæ¯æå ç½® openai providerï¼æ æ³ç´æ¥å¡«å WisGate Base URLã 1924 1925### API Key ä¸çæ 1926 1927确认é ç½®æä»¶ä½ç½®æ£ç¡®ï¼\`base_url\` 为 \`https://api.wisgate.ai/v1\`ï¼å¹¶éå¯ gatewayã 1928`,dn=`# OpenCode 1929 1930OpenCode is a CLI + TUI AI programming agent that runs in the terminal and also provides IDE plugin integration. By connecting OpenCode to WisGate, developers can use WisGate's OpenAI-compatible endpoint for code generation, debugging, project analysis, file operations, and cross-project collaboration. 1931 1932When using WisGate, configure the API endpoint \`https://api.wisgate.ai/v1\`. 1933 1934## 1. Install OpenCode 1935 1936The easiest way to install OpenCode is using the official install script: 1937 1938\`\`\`bash 1939curl -fsSL https://opencode.ai/install | bash 1940\`\`\` 1941 1942You can also install via npm: 1943 1944\`\`\`bash 1945npm install -g opencode-ai 1946\`\`\` 1947 1948## 2. Configure WisGate Models 1949 1950### 1. Get Your API Key 1951 1952Create and obtain your API Key from the WisGate dashboard. 1953 1954### 2. Run \`opencode auth login\` 1955 1956\`\`\`bash 1957$ opencode auth login 1958\`\`\` 1959 1960Select the WisGate provider option. 1961 1962### 3. Enter Your API Key 1963 1964Enter your WisGate API Key when prompted. 1965 1966### 4. Start OpenCode 1967 1968\`\`\`bash 1969$ opencode 1970\`\`\` 1971 1972After entering OpenCode, use the \`/models\` command to select the model you need. If you need to reconnect a provider, use \`/connect\` to check or switch the current configuration. 1973 1974## WisGate Use Cases 1975
1976- **Terminal coding**: Run OpenCode inside a project directory to read files, generate code, and modify the codebase. 1977- **Project analysis**: Analyze folder structure, dependencies, error logs, and refactoring risks. 1978- **Multi-model switching**: Use \`/models\` in OpenCode to choose a model that fits the task. 1979- **Team configuration**: Standardize on \`https://api.wisgate.ai/v1\` and one API key management flow to reduce switching costs across model providers. 1980 1981### Legacy Version Configuration 1982 1983If your OpenCode version doesn't have the WisGate provider option, configure it in \`~/.config/opencode/opencode.json\`: 1984 1985\`\`\`json 1986{ 1987 "$schema": "https://opencode.ai/config.json", 1988 "provider": { 1989 "wisgate": { 1990 "npm": "@ai-sdk/openai-compatible", 1991 "name": "WisGate", 1992 "options": { 1993 "baseURL": "https://api.wisgate.ai/v1" 1994 }, 1995 "models": { 1996 "claude-sonnet-4-6": { 1997 "name": "Claude Sonnet" 1998 } 1999 } 2000 } 2001 } 2002} 2003\`\`\` 2004 2005Save the configuration and run: 2006 2007\`\`\`bash 2008$ opencode 2009\`\`\` 2010 2011If the connection fails, verify that your API key is correct, confirm that \`baseURL\` is \`https://api.wisgate.ai/v1\`, and use \`/connect\` to select the current provider again. 2012`,cn=`# OpenCode 2013 2014OpenCode æ¢æ¯ä¸æ¬¾å¨ç»ç«¯ä¸è¿è¡ç CLI + TUI AI ç¼ç¨ä»£çå·¥å ·ï¼ä¹æä¾ IDE çæä»¶éæãéè¿æ¥å ¥ WisGateï¼OpenCode å¯ä»¥ä½¿ç¨ OpenAI å ¼å®¹æ¥å£å®æä»£ç çæãè°è¯ã项ç®åæãæä»¶æä½ä¸è·¨é¡¹ç®åä½çä»»å¡ã 2015 2016ä½¿ç¨ WisGate æ¶ï¼é ç½® API ç«¯ç¹ \`https://api.wisgate.ai/v1\` å³å¯ã 2017 2018## ä¸ãå®è£ OpenCode 2019 2020å®è£ OpenCode æç®åçæ¹å¼æ¯ä½¿ç¨å®æ¹å®è£ èæ¬ï¼ 2021 2022\`\`\`bash 2023curl -fsSL https://opencode.ai/install | bash 2024\`\`\` 2025 2026ä½ ä¹å¯ä»¥ä½¿ç¨ npm å®è£ ï¼ 2027 2028\`\`\`bash 2029npm install -g opencode-ai 2030\`\`\` 2031 2032## äºãé ç½® WisGate 模å 2033 2034### 1. è·å API å¯é¥ 2035 2036å¨ WisGate æ§å¶å°ä¸å建并è·åæ¨ç API Keyã 2037 2038### 2. è¿è¡ \`opencode auth login\` å¹¶éæ© WisGate 2039 2040\`\`\`bash 2041$ opencode auth login 2042\`\`\` 2043 2044å¨ Select provider ä¸éæ© WisGate 对åºçé项ã 2045 2046### 3. è¾å ¥æ¨ç API Key 2047 2048å¨æç¤ºä¸è¾å ¥æ¨ç WisGate API Keyã 2049 2050### 4. è¿è¡ \`opencode\` å¯å¨ OpenCode 2051 2052\`\`\`bash 2053$ opencode 2054\`\`\` 2055 2056è¿å ¥ OpenCode åï¼ä½¿ç¨ \`/models\` å½ä»¤éæ©æéæ¨¡åã妿éè¦éæ°è¿æ¥æä¾åï¼å¯ä½¿ç¨ \`/connect\` æ£æ¥æåæ¢å½åé ç½®ã 2057 2058## WisGate 使ç¨åºæ¯ 2059 2060- **ç»ç«¯å ç¼ç **ï¼ç´æ¥å¨é¡¹ç®ç®å½ä¸è®© OpenCode 读åæä»¶ãçæä»£ç å¹¶ä¿®æ¹é¡¹ç®ã 2061- **项ç®åæ**ï¼åæç®å½ç»æãä¾èµå ³ç³»ãé误æ¥å¿åéæé£é©ã 2062- **夿¨¡å忢**ï¼å¨ OpenCode ä¸ä½¿ç¨ \`/models\` æä»»å¡éæ©æ´éåçæ¨¡åã 2063- **å¢éç»ä¸é ç½®**ï¼å¢éç»ä¸ä½¿ç¨ \`https://api.wisgate.ai/v1\` ååä¸å¥ API Key ç®¡çæ¹å¼ï¼åå°ä¸å模åæå¡åä¹é´çåæ¢ææ¬ã 2064 2065### ä½çæ¬é ç½® 2066 2067è¥æ¨ä½¿ç¨çä½çæ¬ OpenCode å æ WisGate Provider é项ï¼å»ºè®®åçº§çæ¬ãæè å¨ \`~/.config/opencode/opencode.json\` ä¸é ç½®ï¼ 2068 2069\`\`\`json 2070{ 2071 "$schema": "https://opencode.ai/config.json", 2072 "provider": { 2073 "wisgate": { 2074 "npm": "@ai-sdk/openai-compatible", 2075 "name": "WisGate", 2076 "options": { 2077 "baseURL": "https://api.wisgate.ai/v1" 2078 }, 2079 "models": { 2080 "claude-sonnet-4-6": { 2081 "name": "Claude Sonnet" 2082 } 2083 } 2084 } 2085 } 2086} 2087\`\`\` 2088 2089ä¿åé ç½®åéæ°è¿è¡ï¼ 2090 2091\`\`\`bash 2092$ opencode 2093\`\`\` 2094 2095å¦æè¿æ¥å¤±è´¥ï¼è¯·ç¡®è®¤ API Key æ¯å¦æ£ç¡®ã\`baseURL\` æ¯å¦ä¸º \`https://api.wisgate.ai/v1\`ï¼å¹¶éè¿ \`/connect\` éæ°éæ©å½åæä¾åã 2096`,pn=`# Roo Code 2097 2098Roo Code is an intelligent VS Code extension that helps you with project analysis, code generation, and refactoring, making the development process easier and more efficient. 2099 2100When using WisGate, configure the API endpoint \`https://api.wisgate.ai/v1\`. 2101 2102## 1. Install Roo Code Extension 2103 2104### 1. Open Extension Marketplace 2105 21061. Open VS Code 21072. Click the extension marketplace icon on the left 21083. Search for \`Roo Code\` in the search box 21094. Find the \`Roo Code\` extension 2110
2111### 2. Install Extension 2112 21131. Click the \`Install\` button 21142. After installation, select trust developer 2115 2116## 2. Configure API Settings 2117 2118- **API Provider**: Select \`Z AI\` 2119- **Z AI Entrypoint**: Select WisGate endpoint (\`https://api.wisgate.ai/v1\`) 2120- **Z AI API Key**: Enter your WisGate API Key 2121- **Model**: Select \`gpt-5.5\` or any model from the list 2122 2123## 3. Permissions and Usage 2124 2125### 1. Configure Permissions 2126 2127Select the permissions you want to allow: 2128- File read/write operations 2129- Auto-approve execution 2130- Project access permissions 2131 2132### 2. Start Using 2133 2134Enter your requirements in the input box. Roo Code can help you with: 2135- Summarizing current project structure 2136- Analyzing key modules and features 2137- Code refactoring and optimization 2138- Generating documentation and comments 2139- Issue diagnosis and fix suggestions 2140 2141## 4. Usage Tips 2142 2143- Be careful with auto-approve execution. Start with file read/write permissions and expand gradually. 2144- Before asking Roo Code to modify a project, specify target files, directories that must not be changed, and acceptance criteria. 2145- For cross-file refactoring, ask it to output a plan before making changes. 2146 2147## FAQ 2148 2149### The model cannot be called 2150 2151Check that the \`Z AI\` provider, \`https://api.wisgate.ai/v1\`, and your WisGate API key are configured correctly. 2152 2153### There are many permission prompts 2154 2155This is Roo Code's safety mechanism. You can gradually enable auto-approval based on task risk, but avoid allowing unknown commands directly. 2156`,un=`# Roo Code 2157 2158Roo Code æ¯ä¸ä¸ªæºè½ç VS Code æä»¶ï¼è½å¤å¸®å©ä½ 宿项ç®åæã代ç çæåéæçä»»å¡ï¼è®©å¼åè¿ç¨æ´å è½»æ¾é«æã 2159 2160ä½¿ç¨ WisGate æ¶ï¼é ç½® API ç«¯ç¹ \`https://api.wisgate.ai/v1\` å³å¯ã 2161 2162## ä¸ãå®è£ Roo Code æä»¶ 2163 2164### 1. æå¼æä»¶å¸åº 2165 21661. æå¼ VS Code 21672. ç¹å»å·¦ä¾§æä»¶å¸åºå¾æ 21683. å¨æç´¢æ¡ä¸è¾å ¥ \`Roo Code\` 21694. æ¾å° \`Roo Code\` æä»¶ 2170 2171### 2. å®è£ æä»¶ 2172 21731. ç¹å» \`Install\` æé®è¿è¡å®è£ 21742. å®è£ 宿åï¼éæ©ä¿¡ä»»å¼åè 2175 2176## äºãé ç½® API 设置 2177 2178请æç §ä»¥ä¸é ç½®å¡«å ¥ç¸å ³ä¿¡æ¯ï¼ 2179 2180- **API Provider**ï¼éæ© \`Z AI\` 2181- **Z AI Entrypoint**ï¼éæ© WisGate ç«¯ç¹ (\`https://api.wisgate.ai/v1\`) 2182- **Z AI API Key**ï¼å¡«å ¥æ¨ç WisGate API Key 2183- **Model**ï¼éæ© \`gpt-5.5\` æè åè¡¨ä¸æ¨æ³ä½¿ç¨ç模å 2184 2185## ä¸ãæé设置åä½¿ç¨ 2186 2187### 1. é ç½®æé 2188 2189æ ¹æ®æ¨çå ·ä½éæ±ï¼éæ©å 许çæéï¼ 2190- æä»¶è¯»åæä½ 2191- èªå¨æ¹åæ§è¡ 2192- 项ç®è®¿é®æé 2193 2194### 2. å¼å§ä½¿ç¨ 2195 2196å¨è¾å ¥æ¡ä¸è¾å ¥æ¨çéæ±ï¼Roo Code å¯ä»¥å¸®å©æ¨å®æï¼ 2197- æ»ç»å½å项ç®ç»æ 2198- åæéç¹æ¨¡åååè½ 2199- 代ç éæåä¼å 2200- çæææ¡£åæ³¨é 2201- é®é¢è¯æåä¿®å¤å»ºè®® 2202 2203## åã使ç¨å»ºè®® 2204 2205- 对èªå¨æ¹åæ§è¡ä¿æè°¨æ ï¼å»ºè®®å ä»æä»¶è¯»åæéå¼å§éæ¥æ¾å¼ã 2206- 让 Roo Code ä¿®æ¹é¡¹ç®åï¼å 说æç®æ æä»¶ãç¦æ¢ä¿®æ¹çç®å½åéªæ¶æ åã 2207- 对跨æä»¶éæä»»å¡ï¼å»ºè®®è¦æ±å®å è¾åºè®¡åï¼åæ§è¡ä¿®æ¹ã 2208 2209## 常è§é®é¢ 2210 2211### æ æ³è°ç¨æ¨¡å 2212 2213è¯·æ£æ¥ \`Z AI\` Providerã\`https://api.wisgate.ai/v1\` å WisGate API Key æ¯å¦å¡«åæ£ç¡®ã 2214 2215### æéå¼¹çªè¾å¤ 2216 2217è¿æ¯ Roo Code çå®å ¨æºå¶ã坿 ¹æ®ä»»å¡é£é©éæ¥å¼å¯èªå¨æ¹åï¼ä½ä¸è¦å¯¹æªç¥å½ä»¤ç´æ¥æ¾å¼æ§è¡æéã 2218`,hn=`# TRAE 2219 2220TRAE is an intelligent IDE for developers, integrating AI Q&A, inline code completion, and Agentic Coding Workflow. After connecting WisGate, you can use models in TRAE for code generation, debugging, and task analysis. 2221 2222## 1. Install TRAE 2223 2224Visit the TRAE website to download and install the version for your operating system. 2225 2226## 2. Configure WisGate 2227 2228### 1. Add Custom Model 2229 2230In TRAE, click the **model switcher dropdown** or go to **Settings/Models**, and select add model. 2231 2232### 2. Select Model Provider 2233 2234Select the WisGate model provider. 2235 2236### 3. Select Model 2237 2238Choose or configure the model you want to use. 2239 2240### 4. Enter Your API Key 2241 2242Add your WisGate API Key. 2243 2244If the interface asks for an endpoint URL, use the OpenAI-compatible endpoint: 2245 2246\`\`\`text 2247https://api.wisgate.ai/v1 2248\`\`\` 2249 2250## 3. Save and Switch Models 2251 2252After configuration, save settings and select your newly created model in custom models. Done! You can now use WisGate models in TRAE for code generation, debugging, task analysis, and more. 2253 2254## 4. Use Cases 2255 2256- **AI Q&A**: Ask technical questions about the current project, file, or error. 2257- **Code generation**: Generate functions, APIs, pages, and scripts from requirements. 2258- **Debugging**: Analyze exceptions and context, then get fix suggestions. 2259- **Task planning**: Break complex development requests into actionable steps. 2260 2261## FAQ 2262 2263### The model configuration cannot be saved 2264 2265Check that your API key is valid and confirm that the endpoint is \`https://api.wisgate.ai/v1\`. 2266 2267### The output does not match expectations 2268 2269Make sure the selected model is the WisGate model you configured, and include project context, target files, and expected output format in your prompt. 2270`,gn=`# TRAE 2271 2272TRAE æ¯ä¸æ¬¾é¢åå¼åè æé çæºè½ IDEï¼èå AI é®çãè¡å 代ç è¡¥å ¨å Agentic Coding Workflow çåè½ãæ¥å ¥ WisGate åï¼å¯ä»¥å¨ TRAE ä¸ç»ä¸ä½¿ç¨æ¨¡åè¿è¡ä»£ç çæãè°è¯åä»»å¡åæã 2273 2274## ä¸ãå®è£ TRAE 2275 2276è®¿é® TRAE å®ç½ä¸è½½å¹¶å®è£ é忍çæä½ç³»ç»ççæ¬ã 2277 2278## äºãé ç½® WisGate 2279 2280### 1. æ·»å èªå®ä¹æ¨¡å 2281 2282å¨ TRAE ä¸ï¼ç¹å»**模å忢䏿èå**æ**è¿å ¥ Settings/Models**ï¼éæ©æ·»å 模åã 2283 2284### 2. éæ©æ¨¡åæå¡å 2285 2286éæ© WisGate 对åºç模åæå¡åã 2287 2288### 3. éæ©ä½¿ç¨ç模å 2289 2290éæ©æé ç½®æ¨æ³ä½¿ç¨ç模åã 2291 2292### 4. å¡«åä½ ç API Key 2293 2294æ·»å WisGate API Keyã 2295 2296å¦çé¢éè¦å¡«åæ¥å£å°åï¼è¯·ä½¿ç¨ OpenAI å ¼å®¹ç«¯ç¹ï¼ 2297 2298\`\`\`text 2299https://api.wisgate.ai/v1 2300\`\`\` 2301 2302## ä¸ãä¿åå¹¶åæ¢æ¨¡å 2303 2304é ç½®å®æåï¼ä¿å设置并å¨èªå®ä¹æ¨¡åä¸éæ©æ¨ååå»ºçæ¨¡åã宿¯ï¼ç°å¨ä½ å°±å¯ä»¥å¨ TRAE ä¸ä½¿ç¨ WisGate 模åè¿è¡ä»£ç çæãè°è¯ãä»»å¡åæçå·¥ä½äºã 2305 2306## åã使ç¨åºæ¯ 2307 2308- **AI é®ç**ï¼å´ç»å½å项ç®ãæä»¶ææ¥éè¿è¡ææ¯é®çã 2309- **代ç çæ**ï¼æ ¹æ®éæ±çæå½æ°ãæ¥å£ã页é¢åèæ¬ã 2310- **è°è¯ä¿®å¤**ï¼åæå¼å¸¸ä¿¡æ¯åä¸ä¸æï¼ç»åºä¿®å¤å»ºè®®ã 2311- **ä»»å¡æè§£**ï¼å°å¤æå¼åéæ±ææå¯æ§è¡æ¥éª¤ã 2312 2313## 常è§é®é¢ 2314 2315### æ æ³ä¿å模åé ç½® 2316 2317è¯·æ£æ¥ API Key æ¯å¦ææï¼å¹¶ç¡®è®¤æ¥å£å°å为 \`https://api.wisgate.ai/v1\`ã 2318 2319### çæç»æä¸ç¬¦å颿 2320 2321ä¼å 确认å½åéæ©çæ¯åé ç½®ç WisGate 模åï¼å¹¶å¨æç¤ºè¯ä¸è¡¥å 项ç®èæ¯ãç®æ æä»¶åææè¾åºæ ¼å¼ã 2322`,mn=`# ZCode 2323 2324ZCode is a full-featured Agentic Development Environment (ADE) designed for Long Horizon Tasks, using its proprietary ZCode Agent, multi-framework compatibility, Bot integration, and mobile remote control. 2325 2326With WisGate, ZCode helps you understand projects, write code, fix issues, and complete complex development tasks more efficiently. 2327 2328## 1. Install ZCode 2329 2330Visit the ZCode website and download the version for your operating system. 2331 2332## 2. Configure WisGate 2333 23341. Click the **Settings** button in the bottom left corner, navigate to **Model Providers** via the left sidebar 23352. Enter your API Key in the provider configuration 23363. For manual configuration, confirm the endpoint URLs: 2337 - OpenAI: \`https://api.wisgate.ai/v1\` 2338 - Anthropic Base URL: \`https://api.wisgate.ai\` 2339 - Anthropic Messages API: \`https://api.wisgate.ai/v1/messages\` 2340 2341If ZCode asks you to choose only one protocol, use the OpenAI-compatible endpoint for general chat and GPT-family models. Use the Anthropic Base URL for Claude-family models or Anthropic Messages-compatible features. Only enter the Messages API URL when the interface asks for the full request URL. 2342 2343## 3. Save and Switch Models 2344 2345After configuration, save your settings and select the configured model in ZCode's model switcher menu. 2346 2347## 4. Use Cases 2348 2349- **Long-horizon development**: Let the agent complete cross-file changes, verification, and summaries step by step. 2350- **Project understanding**: Analyze folder structure, module responsibilities, and business workflows. 2351- **Issue fixing**: Generate fix suggestions from error logs, failed tests, and related code. 2352- **Remote collaboration**: Reuse the same model configuration in Bot or mobile remote-control workflows. 2353 2354## FAQ 2355 2356### Should I choose the OpenAI or Anthropic protocol? 2357 2358It depends on the model and feature. The OpenAI-compatible endpoint is \`https://api.wisgate.ai/v1\`, the Anthropic Base URL is \`https://api.wisgate.ai\`, and the full Messages API URL is \`https://api.wisgate.ai/v1/messages\`. If you are unsure, choose the protocol that matches the model family. 2359 2360### Model calls fail 2361 2362Check that the API key, protocol type, and endpoint URL match, and confirm that the configured model is selected in the model switcher. 2363`,Cn=`# ZCode 2364 2365ZCode æ¯ä¸æ¬¾é¢å Long Horizon Task çå ¨åè½ Agentic Development Environmentï¼ADEï¼ï¼éè¿èªç ZCode Agentã夿¡æ¶å ¼å®¹ãBot æ¥å ¥ä¸ç§»å¨ç«¯ Remote æ§å¶ï¼è®© AI Agent 端å°ç«¯ç¨³å®å®æè·¨åº¦é¿ãæ¥éª¤å¤çå¼åä»»å¡ã 2366 2367æé WisGateï¼ZCode è½å¸®å©ä½ æ´é«æå°ç解项ç®ãç¼å代ç ãä¿®å¤é®é¢å宿夿å¼åä»»å¡ã 2368 2369## ä¸ãå®è£ ZCode 2370 2371è®¿é® ZCode å®ç½ï¼ä¸è½½å¹¶å®è£ é忍æä½ç³»ç»ççæ¬ã 2372 2373## äºãé ç½® WisGate 2374 23751. ç¹å»å·¦ä¸è§**设置**æé®ï¼éè¿å·¦ä¾§å¯¼èªæ è¿å ¥**模åä¾åºå**页é¢
23762. å¨ä¾åºåé ç½®ä¸å¡«å API Key 23773. æå¨é ç½®æ¶ï¼è¯·ç¡®è®¤ OpenAI æ¥å£å°åå Anthropic æ¥å£åå«ä¸ºï¼ 2378 - OpenAI: \`https://api.wisgate.ai/v1\` 2379 - Anthropic Base URL: \`https://api.wisgate.ai\` 2380 - Anthropic Messages API: \`https://api.wisgate.ai/v1/messages\` 2381 2382妿 ZCode åªè¦æ±éæ©ä¸ç§åè®®ï¼éç¨è天å GPT ç³»åæ¨¡åä¼å ä½¿ç¨ OpenAI å ¼å®¹å°åï¼Claude ç³»åæ Anthropic Messages å ¼å®¹è½åä¼å ä½¿ç¨ Anthropic Base URLãä» å½çé¢è¦æ±å®æ´è¯·æ±å°åæ¶ï¼æå¡«å Messages API å°åã 2383 2384## ä¸ãä¿åå¹¶åæ¢æ¨¡å 2385 2386é ç½®å®æåï¼ä¿å设置ï¼å³å¯å¨ ZCode çæ¨¡å忢èåä¸éæ©åé ç½®å¥½çæ¨¡åã 2387 2388## åã使ç¨åºæ¯ 2389 2390- **é¿ä»»å¡å¼å**ï¼è®© Agent ææ¥éª¤å®æè·¨æä»¶ä¿®æ¹ãéªè¯åæ»ç»ã 2391- **项ç®çè§£**ï¼åæç®å½ç»æã模åèè´£åä¸å¡æµç¨ã 2392- **ä¿®å¤é®é¢**ï¼æ ¹æ®é误æ¥å¿ãæµè¯å¤±è´¥ä¿¡æ¯åç¸å ³ä»£ç çæä¿®å¤å»ºè®®ã 2393- **è¿ç¨åä½**ï¼å¨ Bot æç§»å¨ç«¯ Remote æ§å¶åºæ¯ä¸å¤ç¨åä¸å¥æ¨¡åé ç½®ã 2394 2395## 常è§é®é¢ 2396 2397### åºè¯¥éæ© OpenAI è¿æ¯ Anthropic åè®®ï¼ 2398 2399åå³äºæ¨¡åååè½ãOpenAI å ¼å®¹å°å为 \`https://api.wisgate.ai/v1\`ï¼Anthropic Base URL 为 \`https://api.wisgate.ai\`ï¼å®æ´ Messages API å°å为 \`https://api.wisgate.ai/v1/messages\`ã妿ä¸ç¡®å®ï¼å ææ¨¡åæå±åè®®éæ©ã 2400 2401### 模åè°ç¨å¤±è´¥ 2402 2403è¯·æ£æ¥ API Keyãå议类å忥å£å°åæ¯å¦å¹é ï¼å¹¶ç¡®è®¤å·²ç»å¨æ¨¡å忢èåä¸éæ©äºåé ç½®çæ¨¡åã 2404`,fn={key:0,class:"bg-white rounded-2xl border border-slate-200/80 overflow-hidden"},yn={class:"relative px-8 sm:px-10 pt-8 pb-6 border-b border-slate-100 bg-gradient-to-b from-slate-50/50 to-white"},An={class:"flex items-start gap-5"},In={class:"size-12 rounded-2xl flex items-center justify-center shrink-0"},vn={class:"min-w-0 flex-1"},_n={class:"flex items-center gap-3 flex-wrap"},wn={class:"text-xl font-bold text-slate-900 tracking-tight"},bn={class:"text-sm text-slate-500 leading-relaxed"},Pn={class:"px-8 sm:px-10 py-8 sm:py-10"},Gn={class:"integration-md"},kn=y({__name:"[slug]",setup(Wn){const{t,locale:h}=A(),g=k(),m=v(),C=I(),a=r(()=>g.params.slug),n=r(()=>L(a.value));if(!n.value){const i=O[0].slug;m.replace(C(`/developers/integrations/${i}`))}_(r(()=>({title:n.value?`${t(n.value.nameKey)} - ${t("site.integrations.title")}`:t("seo.integrations.title"),meta:[{name:"description",content:n.value?t(n.value.descKey):t("seo.integrations.description")}]})));const s=Object.assign({"/content/integrations/claude-code-ide.en.md":E,"/content/integrations/claude-code-ide.zh.md":T,"/content/integrations/claude-code.en.md":U,"/content/integrations/claude-code.zh.md":x,"/content/integrations/claude-desktop.en.md":M,"/content/integrations/claude-desktop.zh.md":R,"/content/integrations/cline.en.md":j,"/content/integrations/cline.zh.md":K,"/content/integrations/codebuddy.en.md":D,"/content/integrations/codebuddy.zh.md":B,"/content/integrations/codex-cli.en.md":N,"/content/integrations/codex-cli.zh.md":F,"/content/integrations/crush.en.md":H,"/content/integrations/crush.zh.md":z,"/content/integrations/cursor.en.md":J,"/content/integrations/cursor.zh.md":V,"/content/integrations/droid.en.md":Y,"/content/integrations/droid.zh.md":Z,"/content/integrations/goose.en.md":q,"/content/integrations/goose.zh.md":Q,"/content/integrations/hermes.en.md":$,"/content/integrations/hermes.zh.md":X,"/content/integrations/junie.en.md":nn,"/content/integrations/junie.zh.md":en,"/content/integrations/kilo.en.md":tn,"/content/integrations/kilo.zh.md":on,"/content/integrations/lingma.en.md":an,"/content/integrations/lingma.zh.md":sn,"/content/integrations/openclaw.en.md":rn,"/content/integrations/openclaw.zh.md":ln,"/content/integrations/opencode.en.md":dn,"/content/integrations/opencode.zh.md":cn,"/content/integrations/roo.en.md":pn,"/content/integrations/roo.zh.md":un,"/content/integrations/trae.en.md":hn,"/content/integrations/trae.zh.md":gn,"/content/integrations/zco
2404de.en.md":mn,"/content/integrations/zcode.zh.md":Cn}),f=r(()=>{if(!a.value)return"";const i=h.value==="zh"?"zh":"en",l=Object.keys(s).find(o=>o.endsWith(`/${a.value}.${i}.md`));if(!l){const o=Object.keys(s).find(d=>d.endsWith(`/${a.value}.en.md`));return o?s[o]??"":""}return s[l]??""});return(i,l)=>{const o=G,d=S;return n.value?(P(),w("div",fn,[e("div",yn,[e("div",An,[e("div",In,[c(o,{name:n.value.icon,class:"size-12"},null,8,["name"])]),e("div",vn,[e("div",_n,[e("h2",wn,p(u(t)(n.value.nameKey)),1)]),e("p",bn,p(u(t)(n.value.descKey)),1)])])]),e("div",Pn,[e("div",Gn,[c(d,{value:f.value},null,8,["value"])])])])):b("",!0)}}}),Tn=W(kn,[["__scopeId","data-v-b5b51b1b"]]);export{Tn as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.