oh-my-opencode 2.12.4 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ja.md CHANGED
@@ -297,7 +297,7 @@ opencode auth login
297
297
  {
298
298
  "plugin": [
299
299
  "oh-my-opencode",
300
- "opencode-antigravity-auth@1.1.2"
300
+ "opencode-antigravity-auth@1.2.7"
301
301
  ]
302
302
  }
303
303
  ```
@@ -322,7 +322,7 @@ opencode auth login
322
322
  }
323
323
  ```
324
324
 
325
- **利用可能なモデル名**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-3-flash`, `google/gemini-3-flash`, `google/gemini-3-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
325
+ **利用可能なモデル名**: `google/antigravity-gemini-3-pro-high`, `google/antigravity-gemini-3-pro-low`, `google/antigravity-gemini-3-flash`, `google/antigravity-claude-sonnet-4-5`, `google/antigravity-claude-sonnet-4-5-thinking-low`, `google/antigravity-claude-sonnet-4-5-thinking-medium`, `google/antigravity-claude-sonnet-4-5-thinking-high`, `google/antigravity-claude-opus-4-5-thinking-low`, `google/antigravity-claude-opus-4-5-thinking-medium`, `google/antigravity-claude-opus-4-5-thinking-high`, `google/gemini-3-pro-preview`, `google/gemini-3-flash-preview`, `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
326
326
 
327
327
  その後、認証を行います:
328
328
 
@@ -345,26 +345,19 @@ opencode auth login
345
345
  {
346
346
  "plugin": [
347
347
  "oh-my-opencode",
348
- "opencode-openai-codex-auth@4.1.1"
348
+ "opencode-openai-codex-auth@4.3.0"
349
349
  ]
350
350
  }
351
351
  ```
352
352
 
353
- **重要**: 現在、公式 npm パッケージに 400 エラー (`"No tool call found for function call output with call_id"`) を引き起こすバグがあります。修正版がリリースされるまでは、**ホットフィックスブランチの使用を推奨します**。`~/.config/opencode/package.json` を修正してください:
353
+ ##### モデル設定
354
354
 
355
- ```json
356
- {
357
- "dependencies": {
358
- "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
359
- }
360
- }
361
- ```
355
+ `opencode.json` に完全なモデル設定も構成する必要があります。
356
+ [opencode-openai-codex-auth ドキュメント](https://github.com/numman-ali/opencode-openai-codex-auth)を読み、[`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json)(OpenCode v1.0.210+)または [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json)(旧バージョン)から provider/models 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
362
357
 
363
- その後、`cd ~/.config/opencode && bun i` を実行してください。`opencode.json` ではバージョン指定なしで `"opencode-openai-codex-auth"` として使用します(`@4.1.0` は除外)。
358
+ **利用可能なモデル**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
364
359
 
365
- #### 4.3.1 モデル設定
366
- `opencode.json` に完全なモデル設定も構成する必要があります。
367
- [opencode-openai-codex-auth ドキュメント](https://github.com/numman-ali/opencode-openai-codex-auth)を読み、[`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json) から provider/models 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
360
+ **Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` オプションで推論強度を制御できます。
368
361
 
369
362
  その後、認証を行います:
370
363
 
@@ -563,7 +556,6 @@ OpenCode セッション履歴をナビゲートおよび検索するための
563
556
  ```
564
557
  - **Online**: プロジェクトのルールがすべてではありません。拡張機能のための内蔵 MCP を提供します:
565
558
  - **context7**: ライブラリの最新公式ドキュメントを取得
566
- - **websearch_exa**: Exa AI を活用したリアルタイムウェブ検索
567
559
  - **grep_app**: 数百万の公開 GitHub リポジトリから超高速コード検索(実装例を探すのに最適)
568
560
 
569
561
  #### マルチモーダルを活用し、トークンは節約する
@@ -655,7 +647,7 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
655
647
 
656
648
  | トグル | `false` の場合、ロードが無効になるパス | 影響を受けないもの |
657
649
  | ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
658
- | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内蔵 MCP (context7, websearch_exa) |
650
+ | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内蔵 MCP (context7, grep_app) |
659
651
  | `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
660
652
  | `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
661
653
  | `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 内蔵エージェント (oracle, librarian 等) |
@@ -928,17 +920,16 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
928
920
 
929
921
  ### MCPs
930
922
 
931
- コンテキスト7Exa、grep.app MCP がデフォルトで有効になっています。
923
+ Context7、grep.app MCP がデフォルトで有効になっています。
932
924
 
933
925
  - **context7**: ライブラリの最新公式ドキュメントを取得
934
- - **websearch_exa**: Exa AI を活用したリアルタイムウェブ検索
935
926
  - **grep_app**: [grep.app](https://grep.app) を通じて数百万の公開 GitHub リポジトリから超高速コード検索
936
927
 
937
928
  不要であれば、`~/.config/opencode/oh-my-opencode.json` または `.opencode/oh-my-opencode.json` の `disabled_mcps` を使用して無効化できます:
938
929
 
939
930
  ```json
940
931
  {
941
- "disabled_mcps": ["context7", "websearch_exa", "grep_app"]
932
+ "disabled_mcps": ["context7", "grep_app"]
942
933
  }
943
934
  ```
944
935
 
package/README.ko.md CHANGED
@@ -294,7 +294,7 @@ opencode auth login
294
294
  {
295
295
  "plugin": [
296
296
  "oh-my-opencode",
297
- "opencode-antigravity-auth@1.1.2"
297
+ "opencode-antigravity-auth@1.2.7"
298
298
  ]
299
299
  }
300
300
  ```
@@ -319,7 +319,7 @@ opencode auth login
319
319
  }
320
320
  ```
321
321
 
322
- **사용 가능한 모델 이름**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-3-flash`, `google/gemini-3-flash`, `google/gemini-3-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
322
+ **사용 가능한 모델 이름**: `google/antigravity-gemini-3-pro-high`, `google/antigravity-gemini-3-pro-low`, `google/antigravity-gemini-3-flash`, `google/antigravity-claude-sonnet-4-5`, `google/antigravity-claude-sonnet-4-5-thinking-low`, `google/antigravity-claude-sonnet-4-5-thinking-medium`, `google/antigravity-claude-sonnet-4-5-thinking-high`, `google/antigravity-claude-opus-4-5-thinking-low`, `google/antigravity-claude-opus-4-5-thinking-medium`, `google/antigravity-claude-opus-4-5-thinking-high`, `google/gemini-3-pro-preview`, `google/gemini-3-flash-preview`, `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
323
323
 
324
324
  그 후 인증:
325
325
 
@@ -342,26 +342,19 @@ opencode auth login
342
342
  {
343
343
  "plugin": [
344
344
  "oh-my-opencode",
345
- "opencode-openai-codex-auth@4.1.1"
345
+ "opencode-openai-codex-auth@4.3.0"
346
346
  ]
347
347
  }
348
348
  ```
349
349
 
350
- **중요**: 현재 공식 npm 패키지에 400 에러(`"No tool call found for function call output with call_id"`)를 유발하는 버그가 있습니다. 수정 버전이 배포될 때까지 **핫픽스 브랜치 사용을 권장합니다**. `~/.config/opencode/package.json`을 수정하세요:
350
+ ##### 모델 설정
351
351
 
352
- ```json
353
- {
354
- "dependencies": {
355
- "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
356
- }
357
- }
358
- ```
352
+ `opencode.json`에 전체 모델 설정도 구성해야 합니다.
353
+ [opencode-openai-codex-auth 문서](https://github.com/numman-ali/opencode-openai-codex-auth)를 읽고, [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json) (OpenCode v1.0.210+) 또는 [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json) (구버전)에서 provider/models 설정을 복사하여, 사용자의 기존 셋업에 영향을 주지 않도록 깊게 고민하여 적절히 통합하세요.
359
354
 
360
- `cd ~/.config/opencode && bun i`를 실행하세요. `opencode.json`에서는 버전 없이 `"opencode-openai-codex-auth"`로 사용합니다 (`@4.1.0` 제외).
355
+ **사용 가능한 모델**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
361
356
 
362
- #### 4.3.1 모델 설정
363
- `opencode.json`에 전체 모델 설정도 구성해야 합니다.
364
- [opencode-openai-codex-auth 문서](https://github.com/numman-ali/opencode-openai-codex-auth)를 읽고, [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json)에서 provider/models 설정을 복사하여, 사용자의 기존 셋업에 영향을 주지 않도록 깊게 고민하여 적절히 통합하세요.
357
+ **Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` 옵션으로 추론 강도를 조절할 수 있습니다.
365
358
 
366
359
  그 후 인증:
367
360
 
@@ -556,7 +549,6 @@ OpenCode 세션 히스토리를 탐색하고 검색하기 위한 도구들입니
556
549
  ```
557
550
  - **Online**: 프로젝트 규칙이 전부는 아니겠죠. 확장 기능을 위한 내장 MCP를 제공합니다:
558
551
  - **context7**: 공식 문서 조회
559
- - **websearch_exa**: 실시간 웹 검색
560
552
  - **grep_app**: 공개 GitHub 저장소에서 초고속 코드 검색 (구현 예제 찾기에 최적)
561
553
 
562
554
  #### 멀티모달을 다 활용하면서, 토큰은 덜 쓰도록.
@@ -648,7 +640,7 @@ Oh My OpenCode는 다음 위치의 훅을 읽고 실행합니다:
648
640
 
649
641
  | 토글 | `false`일 때 로딩 비활성화 경로 | 영향 받지 않음 |
650
642
  | ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
651
- | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 내장 MCP (context7, websearch_exa) |
643
+ | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 내장 MCP (context7, grep_app) |
652
644
  | `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
653
645
  | `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
654
646
  | `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 내장 에이전트 (oracle, librarian 등) |
@@ -921,17 +913,16 @@ Schema 자동 완성이 지원됩니다:
921
913
 
922
914
  ### MCPs
923
915
 
924
- 기본적으로 Context7, Exa, grep.app MCP 를 지원합니다.
916
+ 기본적으로 Context7, grep.app MCP 를 지원합니다.
925
917
 
926
918
  - **context7**: 라이브러리의 최신 공식 문서를 가져옵니다
927
- - **websearch_exa**: Exa AI 기반 실시간 웹 검색
928
919
  - **grep_app**: [grep.app](https://grep.app)을 통해 수백만 개의 공개 GitHub 저장소에서 초고속 코드 검색
929
920
 
930
921
  이것이 마음에 들지 않는다면, ~/.config/opencode/oh-my-opencode.json 혹은 .opencode/oh-my-opencode.json 의 `disabled_mcps` 를 사용하여 비활성화할 수 있습니다:
931
922
 
932
923
  ```json
933
924
  {
934
- "disabled_mcps": ["context7", "websearch_exa", "grep_app"]
925
+ "disabled_mcps": ["context7", "grep_app"]
935
926
  }
936
927
  ```
937
928
 
package/README.md CHANGED
@@ -321,7 +321,7 @@ First, add the opencode-antigravity-auth plugin:
321
321
  {
322
322
  "plugin": [
323
323
  "oh-my-opencode",
324
- "opencode-antigravity-auth@1.1.2"
324
+ "opencode-antigravity-auth@1.2.7"
325
325
  ]
326
326
  }
327
327
  ```
@@ -346,7 +346,7 @@ The `opencode-antigravity-auth` plugin uses different model names than the built
346
346
  }
347
347
  ```
348
348
 
349
- **Available model names**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-3-flash`, `google/gemini-3-flash`, `google/gemini-3-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
349
+ **Available model names**: `google/antigravity-gemini-3-pro-high`, `google/antigravity-gemini-3-pro-low`, `google/antigravity-gemini-3-flash`, `google/antigravity-claude-sonnet-4-5`, `google/antigravity-claude-sonnet-4-5-thinking-low`, `google/antigravity-claude-sonnet-4-5-thinking-medium`, `google/antigravity-claude-sonnet-4-5-thinking-high`, `google/antigravity-claude-opus-4-5-thinking-low`, `google/antigravity-claude-opus-4-5-thinking-medium`, `google/antigravity-claude-opus-4-5-thinking-high`, `google/gemini-3-pro-preview`, `google/gemini-3-flash-preview`, `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
350
350
 
351
351
  Then authenticate:
352
352
 
@@ -369,26 +369,19 @@ First, add the opencode-openai-codex-auth plugin:
369
369
  {
370
370
  "plugin": [
371
371
  "oh-my-opencode",
372
- "opencode-openai-codex-auth@4.1.1"
372
+ "opencode-openai-codex-auth@4.3.0"
373
373
  ]
374
374
  }
375
375
  ```
376
376
 
377
- **Important**: The official npm package currently has a bug causing 400 errors (`"No tool call found for function call output with call_id"`). **Use the hotfix branch** until fixed. Edit `~/.config/opencode/package.json`:
377
+ ##### Model Configuration
378
378
 
379
- ```json
380
- {
381
- "dependencies": {
382
- "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
383
- }
384
- }
385
- ```
379
+ You'll also need full model settings in `opencode.json`.
380
+ Read the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth), copy provider/models config from [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json) (for OpenCode v1.0.210+) or [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json) (for older versions), and merge carefully to avoid breaking the user's existing setup.
386
381
 
387
- Then run `cd ~/.config/opencode && bun i`. In `opencode.json`, use `"opencode-openai-codex-auth"` without the version suffix.
382
+ **Available models**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
388
383
 
389
- ##### Model Configuration
390
- You'll also need full model settings in `opencode.json`.
391
- Read the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth), copy provider/models config from [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json), and merge carefully to avoid breaking the user's existing setup.
384
+ **Variants** (OpenCode v1.0.210+): Use `--variant=<none|low|medium|high|xhigh>` for reasoning effort control.
392
385
 
393
386
  Then authenticate:
394
387
 
@@ -582,7 +575,6 @@ These tools enable agents to reference previous conversations and maintain conti
582
575
  ```
583
576
  - **Online**: Project rules aren't everything. Built-in MCPs for extended capabilities:
584
577
  - **context7**: Official documentation lookup
585
- - **websearch_exa**: Real-time web search
586
578
  - **grep_app**: Ultra-fast code search across public GitHub repos (great for finding implementation examples)
587
579
 
588
580
  #### Be Multimodal. Save Tokens.
@@ -694,7 +686,7 @@ Disable specific Claude Code compatibility features with the `claude_code` confi
694
686
 
695
687
  | Toggle | When `false`, stops loading from... | Unaffected |
696
688
  | ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
697
- | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | Built-in MCP (context7, websearch_exa) |
689
+ | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | Built-in MCP (context7, grep_app) |
698
690
  | `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
699
691
  | `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
700
692
  | `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | Built-in agents (oracle, librarian, etc.) |
@@ -983,17 +975,16 @@ Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `sessio
983
975
 
984
976
  ### MCPs
985
977
 
986
- Context7, Exa, and grep.app MCP enabled by default.
978
+ Context7 and grep.app MCP enabled by default.
987
979
 
988
980
  - **context7**: Fetches up-to-date official documentation for libraries
989
- - **websearch_exa**: Real-time web search powered by Exa AI
990
981
  - **grep_app**: Ultra-fast code search across millions of public GitHub repositories via [grep.app](https://grep.app)
991
982
 
992
983
  Don't want them? Disable via `disabled_mcps` in `~/.config/opencode/oh-my-opencode.json` or `.opencode/oh-my-opencode.json`:
993
984
 
994
985
  ```json
995
986
  {
996
- "disabled_mcps": ["context7", "websearch_exa", "grep_app"]
987
+ "disabled_mcps": ["context7", "grep_app"]
997
988
  }
998
989
  ```
999
990
 
package/README.zh-cn.md CHANGED
@@ -305,7 +305,7 @@ opencode auth login
305
305
  {
306
306
  "plugin": [
307
307
  "oh-my-opencode",
308
- "opencode-antigravity-auth@1.1.2"
308
+ "opencode-antigravity-auth@1.2.7"
309
309
  ]
310
310
  }
311
311
  ```
@@ -330,7 +330,7 @@ opencode auth login
330
330
  }
331
331
  ```
332
332
 
333
- **可用模型名**:`google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-3-flash`, `google/gemini-3-flash`, `google/gemini-3-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
333
+ **可用模型名**:`google/antigravity-gemini-3-pro-high`, `google/antigravity-gemini-3-pro-low`, `google/antigravity-gemini-3-flash`, `google/antigravity-claude-sonnet-4-5`, `google/antigravity-claude-sonnet-4-5-thinking-low`, `google/antigravity-claude-sonnet-4-5-thinking-medium`, `google/antigravity-claude-sonnet-4-5-thinking-high`, `google/antigravity-claude-opus-4-5-thinking-low`, `google/antigravity-claude-opus-4-5-thinking-medium`, `google/antigravity-claude-opus-4-5-thinking-high`, `google/gemini-3-pro-preview`, `google/gemini-3-flash-preview`, `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
334
334
 
335
335
  然后认证:
336
336
 
@@ -353,26 +353,19 @@ opencode auth login
353
353
  {
354
354
  "plugin": [
355
355
  "oh-my-opencode",
356
- "opencode-openai-codex-auth@4.1.1"
356
+ "opencode-openai-codex-auth@4.3.0"
357
357
  ]
358
358
  }
359
359
  ```
360
360
 
361
- **重要**:现在官方 npm 包有个 bug 会报 400 错(`"No tool call found for function call output with call_id"`)。修复版出来前,**一定要用 hotfix 分支**。改一下 `~/.config/opencode/package.json`:
361
+ ##### 模型配置
362
362
 
363
- ```json
364
- {
365
- "dependencies": {
366
- "opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
367
- }
368
- }
369
- ```
363
+ 要在 `opencode.json` 里配完整的模型设置。
364
+ 去读 [opencode-openai-codex-auth 文档](https://github.com/numman-ali/opencode-openai-codex-auth),从 [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json)(OpenCode v1.0.210+)或 [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json)(旧版本)抄 provider/models 配置,动脑子合并,别搞炸了。
370
365
 
371
- 然后跑 `cd ~/.config/opencode && bun i`。在 `opencode.json` 里用 `"opencode-openai-codex-auth"`(别带版本号)。
366
+ **可用模型**:`openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
372
367
 
373
- ##### 模型配置
374
- 要在 `opencode.json` 里配完整的模型设置。
375
- 去读 [opencode-openai-codex-auth 文档](https://github.com/numman-ali/opencode-openai-codex-auth),从 [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json) 抄 provider/models 配置,动脑子合并,别搞炸了。
368
+ **Variants**(OpenCode v1.0.210+):用 `--variant=<none|low|medium|high|xhigh>` 控制推理强度。
376
369
 
377
370
  然后认证:
378
371
 
@@ -567,7 +560,6 @@ OhMyOpenCode 让这些成为可能。
567
560
  ```
568
561
  - **在线资源**:项目里的规矩不够用?内置 MCP 来凑:
569
562
  - **context7**:查最新的官方文档
570
- - **websearch_exa**:Exa AI 实时搜网
571
563
  - **grep_app**:用 [grep.app](https://grep.app) 在几百万个 GitHub 仓库里秒搜代码(找抄作业的例子神器)
572
564
 
573
565
  #### 多模态全开,Token 省着用
@@ -659,7 +651,7 @@ Oh My OpenCode 会扫这些地方:
659
651
 
660
652
  | 开关 | 设为 `false` 就停用的路径 | 不受影响的 |
661
653
  | ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
662
- | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内置 MCP(context7、websearch_exa |
654
+ | `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内置 MCP(context7、grep_app |
663
655
  | `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
664
656
  | `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
665
657
  | `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 内置 Agent(oracle、librarian 等) |
@@ -932,17 +924,16 @@ Sisyphus Agent 也能自定义:
932
924
 
933
925
  ### MCPs
934
926
 
935
- 默认送你 Context7、Exa 和 grep.app MCP。
927
+ 默认送你 Context7 和 grep.app MCP。
936
928
 
937
929
  - **context7**:查最新的官方文档
938
- - **websearch_exa**:Exa AI 实时搜网
939
930
  - **grep_app**:[grep.app](https://grep.app) 极速搜 GitHub 代码
940
931
 
941
932
  不想要?在 `~/.config/opencode/oh-my-opencode.json` 或 `.opencode/oh-my-opencode.json` 的 `disabled_mcps` 里关掉:
942
933
 
943
934
  ```json
944
935
  {
945
- "disabled_mcps": ["context7", "websearch_exa", "grep_app"]
936
+ "disabled_mcps": ["context7", "grep_app"]
946
937
  }
947
938
  ```
948
939
 
@@ -20,7 +20,6 @@ export declare function writeOmoConfig(installConfig: InstallConfig): ConfigMerg
20
20
  export declare function isOpenCodeInstalled(): Promise<boolean>;
21
21
  export declare function getOpenCodeVersion(): Promise<string | null>;
22
22
  export declare function addAuthPlugins(config: InstallConfig): Promise<ConfigMergeResult>;
23
- export declare function setupChatGPTHotfix(): ConfigMergeResult;
24
23
  export interface BunInstallResult {
25
24
  success: boolean;
26
25
  timedOut?: boolean;
@@ -28,11 +27,25 @@ export interface BunInstallResult {
28
27
  }
29
28
  export declare function runBunInstall(): Promise<boolean>;
30
29
  export declare function runBunInstallWithDetails(): Promise<BunInstallResult>;
30
+ /**
31
+ * Antigravity Provider Configuration
32
+ *
33
+ * IMPORTANT: Model names MUST use `antigravity-` prefix for stability.
34
+ *
35
+ * The opencode-antigravity-auth plugin supports two naming conventions:
36
+ * - `antigravity-gemini-3-pro-high` (RECOMMENDED, explicit Antigravity quota routing)
37
+ * - `gemini-3-pro-high` (LEGACY, backward compatible but may break in future)
38
+ *
39
+ * Legacy names rely on Gemini CLI using `-preview` suffix for disambiguation.
40
+ * If Google removes `-preview`, legacy names may route to wrong quota.
41
+ *
42
+ * @see https://github.com/NoeFabris/opencode-antigravity-auth#migration-guide-v127
43
+ */
31
44
  export declare const ANTIGRAVITY_PROVIDER_CONFIG: {
32
45
  google: {
33
46
  name: string;
34
47
  models: {
35
- "gemini-3-pro-high": {
48
+ "antigravity-gemini-3-pro-high": {
36
49
  name: string;
37
50
  thinking: boolean;
38
51
  attachment: boolean;
@@ -45,7 +58,7 @@ export declare const ANTIGRAVITY_PROVIDER_CONFIG: {
45
58
  output: string[];
46
59
  };
47
60
  };
48
- "gemini-3-pro-medium": {
61
+ "antigravity-gemini-3-pro-low": {
49
62
  name: string;
50
63
  thinking: boolean;
51
64
  attachment: boolean;
@@ -58,32 +71,7 @@ export declare const ANTIGRAVITY_PROVIDER_CONFIG: {
58
71
  output: string[];
59
72
  };
60
73
  };
61
- "gemini-3-pro-low": {
62
- name: string;
63
- thinking: boolean;
64
- attachment: boolean;
65
- limit: {
66
- context: number;
67
- output: number;
68
- };
69
- modalities: {
70
- input: string[];
71
- output: string[];
72
- };
73
- };
74
- "gemini-3-flash": {
75
- name: string;
76
- attachment: boolean;
77
- limit: {
78
- context: number;
79
- output: number;
80
- };
81
- modalities: {
82
- input: string[];
83
- output: string[];
84
- };
85
- };
86
- "gemini-3-flash-lite": {
74
+ "antigravity-gemini-3-flash": {
87
75
  name: string;
88
76
  attachment: boolean;
89
77
  limit: {