oh-my-opencode 3.0.0-beta.5 → 3.0.0-beta.7
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 +58 -45
- package/README.md +64 -59
- package/README.zh-cn.md +654 -511
- package/dist/agents/momus.d.ts +1 -1
- package/dist/agents/orchestrator-sisyphus.d.ts +1 -1
- package/dist/agents/prometheus-prompt.d.ts +3 -1
- package/dist/agents/sisyphus-junior.d.ts +6 -1
- package/dist/agents/types.d.ts +1 -0
- package/dist/agents/utils.d.ts +3 -2
- package/dist/cli/index.js +3469 -3488
- package/dist/cli/run/events.d.ts +1 -0
- package/dist/cli/types.d.ts +3 -0
- package/dist/config/schema.d.ts +311 -179
- package/dist/features/background-agent/types.d.ts +2 -0
- package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -1
- package/dist/features/builtin-commands/templates/refactor.d.ts +1 -1
- package/dist/features/claude-code-session-state/state.d.ts +4 -0
- package/dist/features/hook-message-injector/index.d.ts +1 -1
- package/dist/features/hook-message-injector/injector.d.ts +7 -0
- package/dist/features/opencode-skill-loader/skill-content.d.ts +6 -2
- package/dist/hooks/auto-update-checker/checker.d.ts +1 -1
- package/dist/hooks/auto-update-checker/index.d.ts +1 -0
- package/dist/index.js +22749 -26144
- package/dist/plugin-handlers/config-handler.d.ts +2 -0
- package/dist/shared/agent-variant.d.ts +5 -0
- package/dist/shared/first-message-variant.d.ts +11 -0
- package/dist/shared/first-message-variant.test.d.ts +1 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/migration.d.ts +1 -0
- package/dist/shared/permission-compat.d.ts +2 -0
- package/dist/shared/zip-extractor.d.ts +1 -0
- package/dist/tools/glob/cli.d.ts +4 -0
- package/dist/tools/glob/cli.test.d.ts +1 -0
- package/dist/tools/glob/types.d.ts +1 -0
- package/dist/tools/lsp/tools.d.ts +1 -5
- package/dist/tools/sisyphus-task/tools.d.ts +3 -1
- package/dist/tools/skill-mcp/types.d.ts +1 -1
- package/package.json +4 -8
- package/dist/auth/antigravity/accounts.d.ts +0 -40
- package/dist/auth/antigravity/browser.d.ts +0 -27
- package/dist/auth/antigravity/cli.d.ts +0 -2
- package/dist/auth/antigravity/constants.d.ts +0 -98
- package/dist/auth/antigravity/fetch.d.ts +0 -69
- package/dist/auth/antigravity/index.d.ts +0 -13
- package/dist/auth/antigravity/integration.test.d.ts +0 -10
- package/dist/auth/antigravity/message-converter.d.ts +0 -54
- package/dist/auth/antigravity/oauth.d.ts +0 -51
- package/dist/auth/antigravity/plugin.d.ts +0 -54
- package/dist/auth/antigravity/project.d.ts +0 -10
- package/dist/auth/antigravity/request.d.ts +0 -116
- package/dist/auth/antigravity/response.d.ts +0 -137
- package/dist/auth/antigravity/storage.d.ts +0 -5
- package/dist/auth/antigravity/thinking.d.ts +0 -278
- package/dist/auth/antigravity/thinking.test.d.ts +0 -10
- package/dist/auth/antigravity/thought-signature-store.d.ts +0 -52
- package/dist/auth/antigravity/token.d.ts +0 -38
- package/dist/auth/antigravity/tools.d.ts +0 -119
- package/dist/auth/antigravity/types.d.ts +0 -229
- package/dist/cli/ast-grep-napi.linux-x64-gnu-jfv8414z.node +0 -0
- package/dist/cli/ast-grep-napi.linux-x64-musl-8cj2e5cf.node +0 -0
- package/dist/cli/commands/auth.d.ts +0 -2
- package/dist/google-auth.d.ts +0 -3
- package/dist/google-auth.js +0 -3871
- /package/dist/{auth/antigravity/accounts.test.d.ts → agents/momus.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/browser.test.d.ts → agents/prometheus-prompt.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/cli.test.d.ts → agents/sisyphus-junior.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/constants.test.d.ts → hooks/auto-update-checker/checker.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/oauth.test.d.ts → plugin-config.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/request.test.d.ts → plugin-handlers/config-handler.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/storage.test.d.ts → shared/agent-variant.test.d.ts} +0 -0
- /package/dist/{auth/antigravity/token.test.d.ts → shared/deep-merge.test.d.ts} +0 -0
package/README.ja.md
CHANGED
|
@@ -28,7 +28,29 @@
|
|
|
28
28
|
|
|
29
29
|
> `oh-my-opencode` をインストールして、ドーピングしたかのようにコーディングしましょう。バックグラウンドでエージェントを走らせ、oracle、librarian、frontend engineer のような専門エージェントを呼び出してください。丹精込めて作られた LSP/AST ツール、厳選された MCP、そして完全な Claude Code 互換レイヤーを、たった一行で手に入れましょう。
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
# Claude OAuth アクセスに関するお知らせ
|
|
32
|
+
|
|
33
|
+
## TL;DR
|
|
34
|
+
|
|
35
|
+
> Q. oh-my-opencodeを使用できますか?
|
|
36
|
+
|
|
37
|
+
はい。
|
|
38
|
+
|
|
39
|
+
> Q. Claude Codeのサブスクリプションで使用できますか?
|
|
40
|
+
|
|
41
|
+
はい、技術的には可能です。ただし、使用を推奨することはできません。
|
|
42
|
+
|
|
43
|
+
## 詳細
|
|
44
|
+
|
|
45
|
+
> 2026年1月より、AnthropicはToS違反を理由にサードパーティのOAuthアクセスを制限しました。
|
|
46
|
+
>
|
|
47
|
+
> [**Anthropicはこのプロジェクト oh-my-opencode を、opencodeをブロックする正当化の根拠として挙げています。**](https://x.com/thdxr/status/2010149530486911014)
|
|
48
|
+
>
|
|
49
|
+
> 実際、Claude CodeのOAuthリクエストシグネチャを偽装するプラグインがコミュニティに存在します。
|
|
50
|
+
>
|
|
51
|
+
> これらのツールは技術的な検出可能性に関わらず動作する可能性がありますが、ユーザーはToSへの影響を認識すべきであり、私個人としてはそれらの使用を推奨できません。
|
|
52
|
+
>
|
|
53
|
+
> このプロジェクトは非公式ツールの使用に起因するいかなる問題についても責任を負いません。また、**私たちはそれらのOAuthシステムのカスタム実装を一切持っていません。**
|
|
32
54
|
|
|
33
55
|
<div align="center">
|
|
34
56
|
|
|
@@ -91,8 +113,7 @@
|
|
|
91
113
|
- [4.2 Google Gemini (Antigravity OAuth)](#42-google-gemini-antigravity-oauth)
|
|
92
114
|
- [4.2.1 モデル設定](#421-モデル設定)
|
|
93
115
|
- [4.2.2 oh-my-opencode エージェントモデルのオーバーライド](#422-oh-my-opencode-エージェントモデルのオーバーライド)
|
|
94
|
-
|
|
95
|
-
- [モデル設定](#モデル設定)
|
|
116
|
+
|
|
96
117
|
- [⚠️ 注意](#️-注意)
|
|
97
118
|
- [セットアップの確認](#セットアップの確認)
|
|
98
119
|
- [ユーザーに「おめでとうございます!🎉」と伝える](#ユーザーにおめでとうございますと伝える)
|
|
@@ -327,11 +348,10 @@ opencode auth login
|
|
|
327
348
|
|
|
328
349
|
#### 4.2.2 oh-my-opencode エージェントモデルのオーバーライド
|
|
329
350
|
|
|
330
|
-
`opencode-antigravity-auth`
|
|
351
|
+
`opencode-antigravity-auth` プラグインは特定のモデル名を使用します。エージェントモデルを `oh-my-opencode.json`(または `.opencode/oh-my-opencode.json`)でオーバーライドしてください:
|
|
331
352
|
|
|
332
353
|
```json
|
|
333
354
|
{
|
|
334
|
-
"google_auth": false,
|
|
335
355
|
"agents": {
|
|
336
356
|
"frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
|
|
337
357
|
"document-writer": { "model": "google/antigravity-gemini-3-flash" },
|
|
@@ -355,37 +375,46 @@ opencode auth login
|
|
|
355
375
|
|
|
356
376
|
**マルチアカウントロードバランシング**: プラグインは最大10個の Google アカウントをサポートします。1つのアカウントがレートリミットに達すると、自動的に次のアカウントに切り替わります。
|
|
357
377
|
|
|
358
|
-
#### 4.3
|
|
378
|
+
#### 4.3 GitHub Copilot(フォールバックプロバイダー)
|
|
359
379
|
|
|
360
|
-
|
|
380
|
+
GitHub Copilot は、ネイティブプロバイダー(Claude、ChatGPT、Gemini)が利用できない場合の**フォールバックプロバイダー**としてサポートされています。インストーラーは、Copilot をネイティブプロバイダーより低い優先度で構成します。
|
|
361
381
|
|
|
362
|
-
|
|
363
|
-
{
|
|
364
|
-
"plugin": [
|
|
365
|
-
"oh-my-opencode",
|
|
366
|
-
"opencode-openai-codex-auth@4.3.0"
|
|
367
|
-
]
|
|
368
|
-
}
|
|
369
|
-
```
|
|
382
|
+
**優先度**: ネイティブプロバイダー (Claude/ChatGPT/Gemini) > GitHub Copilot > 無料モデル
|
|
370
383
|
|
|
371
|
-
#####
|
|
384
|
+
##### モデルマッピング
|
|
372
385
|
|
|
373
|
-
|
|
374
|
-
[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 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
|
|
386
|
+
GitHub Copilot が有効な場合、oh-my-opencode は以下のモデル割り当てを使用します:
|
|
375
387
|
|
|
376
|
-
|
|
388
|
+
| エージェント | モデル |
|
|
389
|
+
|--------------|--------|
|
|
390
|
+
| **Sisyphus** | `github-copilot/claude-opus-4.5` |
|
|
391
|
+
| **Oracle** | `github-copilot/gpt-5.2` |
|
|
392
|
+
| **Explore** | `grok code`(デフォルト) |
|
|
393
|
+
| **Librarian** | `glm 4.7 free`(デフォルト) |
|
|
377
394
|
|
|
378
|
-
|
|
395
|
+
GitHub Copilot はプロキシプロバイダーとして機能し、サブスクリプションに基づいて基盤となるモデルにリクエストをルーティングします。
|
|
379
396
|
|
|
380
|
-
|
|
397
|
+
##### セットアップ
|
|
398
|
+
|
|
399
|
+
インストーラーを実行し、GitHub Copilot で「はい」を選択します:
|
|
400
|
+
|
|
401
|
+
```bash
|
|
402
|
+
bunx oh-my-opencode install
|
|
403
|
+
# サブスクリプション(Claude、ChatGPT、Gemini)を選択
|
|
404
|
+
# プロンプトが表示されたら: "Do you have a GitHub Copilot subscription?" → 「はい」を選択
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
または、非対話モードを使用します:
|
|
408
|
+
|
|
409
|
+
```bash
|
|
410
|
+
bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
その後、GitHub で認証します:
|
|
381
414
|
|
|
382
415
|
```bash
|
|
383
416
|
opencode auth login
|
|
384
|
-
#
|
|
385
|
-
# Login method: ChatGPT Plus/Pro (Codex Subscription) を選択
|
|
386
|
-
# ユーザーにブラウザでの OAuth フロー完了を案内
|
|
387
|
-
# 完了まで待機
|
|
388
|
-
# 成功を確認し、ユーザーに報告
|
|
417
|
+
# 選択: GitHub → OAuth 経由で認証
|
|
389
418
|
```
|
|
390
419
|
|
|
391
420
|
|
|
@@ -393,7 +422,7 @@ opencode auth login
|
|
|
393
422
|
|
|
394
423
|
**ユーザーが明示的に要求しない限り、モデル設定を変更したり、機能(エージェント、フック、MCP)を無効化しないでください。**
|
|
395
424
|
|
|
396
|
-
|
|
425
|
+
プラグインはデフォルトで完璧に動作します。`opencode-antigravity-auth` を使用する場合は、上記の通りエージェントモデルをオーバーライドしてください。明示的な要求なしに他の設定を変更したり機能をオフにしないでください。
|
|
397
426
|
|
|
398
427
|
### セットアップの確認
|
|
399
428
|
|
|
@@ -519,17 +548,13 @@ Ask @explore for the policy on this feature
|
|
|
519
548
|
あなたがエディタで使っているその機能、他のエージェントは触ることができません。
|
|
520
549
|
最高の同僚に最高の道具を渡してください。これでリファクタリングも、ナビゲーションも、分析も、エージェントが適切に行えるようになります。
|
|
521
550
|
|
|
522
|
-
- **lsp_hover**: その位置の型情報、ドキュメント、シグネチャを取得
|
|
523
551
|
- **lsp_goto_definition**: シンボル定義へジャンプ
|
|
524
552
|
- **lsp_find_references**: ワークスペース全体で使用箇所を検索
|
|
525
|
-
- **
|
|
526
|
-
- **lsp_workspace_symbols**: プロジェクト全体から名前でシンボルを検索
|
|
553
|
+
- **lsp_symbols**: ファイルからシンボルを取得 (scope='document') またはワークスペース全体を検索 (scope='workspace')
|
|
527
554
|
- **lsp_diagnostics**: ビルド前にエラー/警告を取得
|
|
528
555
|
- **lsp_servers**: 利用可能な LSP サーバー一覧
|
|
529
556
|
- **lsp_prepare_rename**: 名前変更操作の検証
|
|
530
557
|
- **lsp_rename**: ワークスペース全体でシンボル名を変更
|
|
531
|
-
- **lsp_code_actions**: 利用可能なクイックフィックス/リファクタリングを取得
|
|
532
|
-
- **lsp_code_action_resolve**: コードアクションを適用
|
|
533
558
|
- **ast_grep_search**: AST 認識コードパターン検索 (25言語対応)
|
|
534
559
|
- **ast_grep_replace**: AST 認識コード置換
|
|
535
560
|
|
|
@@ -760,9 +785,6 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
|
|
|
760
785
|
{
|
|
761
786
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
|
762
787
|
|
|
763
|
-
// Antigravity OAuth 経由で Google Gemini を有効にする
|
|
764
|
-
"google_auth": false,
|
|
765
|
-
|
|
766
788
|
/* エージェントのオーバーライド - 特定のタスクに合わせてモデルをカスタマイズ */
|
|
767
789
|
"agents": {
|
|
768
790
|
"oracle": {
|
|
@@ -779,11 +801,10 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
|
|
|
779
801
|
|
|
780
802
|
**推奨**: 外部の [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) プラグインを使用してください。マルチアカウントロードバランシング、より多くのモデル(Antigravity 経由の Claude を含む)、活発なメンテナンスを提供します。[インストール > Google Gemini](#42-google-gemini-antigravity-oauth) を参照。
|
|
781
803
|
|
|
782
|
-
`opencode-antigravity-auth`
|
|
804
|
+
`opencode-antigravity-auth` 使用時は `oh-my-opencode.json` でエージェントモデルをオーバーライドしてください:
|
|
783
805
|
|
|
784
806
|
```json
|
|
785
807
|
{
|
|
786
|
-
"google_auth": false,
|
|
787
808
|
"agents": {
|
|
788
809
|
"frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
|
|
789
810
|
"document-writer": { "model": "google/antigravity-gemini-3-flash" },
|
|
@@ -792,14 +813,6 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
|
|
|
792
813
|
}
|
|
793
814
|
```
|
|
794
815
|
|
|
795
|
-
**代替案**: 内蔵 Antigravity OAuth を有効化(単一アカウント、Gemini モデルのみ):
|
|
796
|
-
|
|
797
|
-
```json
|
|
798
|
-
{
|
|
799
|
-
"google_auth": true
|
|
800
|
-
}
|
|
801
|
-
```
|
|
802
|
-
|
|
803
816
|
### Agents
|
|
804
817
|
|
|
805
818
|
内蔵エージェント設定をオーバーライドできます:
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
> [!TIP]
|
|
7
7
|
>
|
|
8
8
|
> [](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0-beta.1)
|
|
9
|
-
> > **The Orchestrator is now available in beta. Use `oh-my-opencode@3.0.0-beta.
|
|
9
|
+
> > **The Orchestrator is now available in beta. Use `oh-my-opencode@3.0.0-beta.6` to install it.**
|
|
10
10
|
>
|
|
11
11
|
> Be with us!
|
|
12
12
|
>
|
|
@@ -28,8 +28,29 @@
|
|
|
28
28
|
|
|
29
29
|
> This is coding on steroids—`oh-my-opencode` in action. Run background agents, call specialized agents like oracle, librarian, and frontend engineer. Use crafted LSP/AST tools, curated MCPs, and a full Claude Code compatibility layer.
|
|
30
30
|
|
|
31
|
+
# Claude OAuth Access Notice
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
## TL;DR
|
|
34
|
+
|
|
35
|
+
> Q. Can I use oh-my-opencode?
|
|
36
|
+
|
|
37
|
+
Yes.
|
|
38
|
+
|
|
39
|
+
> Q. Can I use it with my Claude Code subscription?
|
|
40
|
+
|
|
41
|
+
Yes, technically possible. But I cannot recommend using it.
|
|
42
|
+
|
|
43
|
+
## FULL
|
|
44
|
+
|
|
45
|
+
> As of January 2026, Anthropic has restricted third-party OAuth access citing ToS violations.
|
|
46
|
+
>
|
|
47
|
+
> [**Anthropic has cited this project, oh-my-opencode as justification for blocking opencode.**](https://x.com/thdxr/status/2010149530486911014)
|
|
48
|
+
>
|
|
49
|
+
> Indeed, some plugins that spoof Claude Code's oauth request signatures exist in the community.
|
|
50
|
+
>
|
|
51
|
+
> These tools may work regardless of technical detectability, but users should be aware of ToS implications, and I personally cannot recommend to use those.
|
|
52
|
+
>
|
|
53
|
+
> This project is not responsible for any issues arising from the use of unofficial tools, and **we do not have any custom implementations of those oauth systems.**
|
|
33
54
|
|
|
34
55
|
|
|
35
56
|
<div align="center">
|
|
@@ -76,6 +97,9 @@
|
|
|
76
97
|
|
|
77
98
|
## Contents
|
|
78
99
|
|
|
100
|
+
- [Claude OAuth Access Notice](#claude-oauth-access-notice)
|
|
101
|
+
- [Reviews](#reviews)
|
|
102
|
+
- [Contents](#contents)
|
|
79
103
|
- [Oh My OpenCode](#oh-my-opencode)
|
|
80
104
|
- [Just Skip Reading This Readme](#just-skip-reading-this-readme)
|
|
81
105
|
- [It's the Age of Agents](#its-the-age-of-agents)
|
|
@@ -94,8 +118,9 @@
|
|
|
94
118
|
- [Google Gemini (Antigravity OAuth)](#google-gemini-antigravity-oauth)
|
|
95
119
|
- [Model Configuration](#model-configuration)
|
|
96
120
|
- [oh-my-opencode Agent Model Override](#oh-my-opencode-agent-model-override)
|
|
97
|
-
- [
|
|
98
|
-
- [Model
|
|
121
|
+
- [GitHub Copilot (Fallback Provider)](#github-copilot-fallback-provider)
|
|
122
|
+
- [Model Mappings](#model-mappings)
|
|
123
|
+
- [Setup](#setup)
|
|
99
124
|
- [⚠️ Warning](#️-warning)
|
|
100
125
|
- [Verify the setup](#verify-the-setup)
|
|
101
126
|
- [Say 'Congratulations! 🎉' to the user](#say-congratulations--to-the-user)
|
|
@@ -354,11 +379,10 @@ Read the [opencode-antigravity-auth documentation](https://github.com/NoeFabris/
|
|
|
354
379
|
|
|
355
380
|
##### oh-my-opencode Agent Model Override
|
|
356
381
|
|
|
357
|
-
The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`)
|
|
382
|
+
The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`):
|
|
358
383
|
|
|
359
384
|
```json
|
|
360
385
|
{
|
|
361
|
-
"google_auth": false,
|
|
362
386
|
"agents": {
|
|
363
387
|
"frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
|
|
364
388
|
"document-writer": { "model": "google/antigravity-gemini-3-flash" },
|
|
@@ -382,37 +406,46 @@ opencode auth login
|
|
|
382
406
|
|
|
383
407
|
**Multi-Account Load Balancing**: The plugin supports up to 10 Google accounts. When one account hits rate limits, it automatically switches to the next available account.
|
|
384
408
|
|
|
385
|
-
####
|
|
409
|
+
#### GitHub Copilot (Fallback Provider)
|
|
386
410
|
|
|
387
|
-
|
|
411
|
+
GitHub Copilot is supported as a **fallback provider** when native providers (Claude, ChatGPT, Gemini) are unavailable. The installer configures Copilot with lower priority than native providers.
|
|
388
412
|
|
|
389
|
-
|
|
390
|
-
{
|
|
391
|
-
"plugin": [
|
|
392
|
-
"oh-my-opencode",
|
|
393
|
-
"opencode-openai-codex-auth@4.3.0"
|
|
394
|
-
]
|
|
395
|
-
}
|
|
396
|
-
```
|
|
413
|
+
**Priority**: Native providers (Claude/ChatGPT/Gemini) > GitHub Copilot > Free models
|
|
397
414
|
|
|
398
|
-
##### Model
|
|
415
|
+
##### Model Mappings
|
|
399
416
|
|
|
400
|
-
|
|
401
|
-
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.
|
|
417
|
+
When GitHub Copilot is enabled, oh-my-opencode uses these model assignments:
|
|
402
418
|
|
|
403
|
-
|
|
419
|
+
| Agent | Model |
|
|
420
|
+
| ------------- | -------------------------------- |
|
|
421
|
+
| **Sisyphus** | `github-copilot/claude-opus-4.5` |
|
|
422
|
+
| **Oracle** | `github-copilot/gpt-5.2` |
|
|
423
|
+
| **Explore** | `grok code` (default) |
|
|
424
|
+
| **Librarian** | `glm 4.7 free` (default) |
|
|
404
425
|
|
|
405
|
-
|
|
426
|
+
GitHub Copilot acts as a proxy provider, routing requests to underlying models based on your subscription.
|
|
406
427
|
|
|
407
|
-
|
|
428
|
+
##### Setup
|
|
429
|
+
|
|
430
|
+
Run the installer and select "Yes" for GitHub Copilot:
|
|
431
|
+
|
|
432
|
+
```bash
|
|
433
|
+
bunx oh-my-opencode install
|
|
434
|
+
# Select your subscriptions (Claude, ChatGPT, Gemini)
|
|
435
|
+
# When prompted: "Do you have a GitHub Copilot subscription?" → Select "Yes"
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
Or use non-interactive mode:
|
|
439
|
+
|
|
440
|
+
```bash
|
|
441
|
+
bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
Then authenticate with GitHub:
|
|
408
445
|
|
|
409
446
|
```bash
|
|
410
447
|
opencode auth login
|
|
411
|
-
#
|
|
412
|
-
# Interactive Terminal: Login method: Select ChatGPT Plus/Pro (Codex Subscription)
|
|
413
|
-
# Interactive Terminal: Guide user through OAuth flow in browser
|
|
414
|
-
# Wait for completion
|
|
415
|
-
# Verify success and confirm with user
|
|
448
|
+
# Select: GitHub → Authenticate via OAuth
|
|
416
449
|
```
|
|
417
450
|
|
|
418
451
|
|
|
@@ -420,7 +453,7 @@ opencode auth login
|
|
|
420
453
|
|
|
421
454
|
**Unless the user explicitly requests it, do not change model settings or disable features (agents, hooks, MCPs).**
|
|
422
455
|
|
|
423
|
-
The plugin works perfectly by default.
|
|
456
|
+
The plugin works perfectly by default. Do not change settings or turn off features without an explicit request.
|
|
424
457
|
|
|
425
458
|
### Verify the setup
|
|
426
459
|
|
|
@@ -542,17 +575,13 @@ Syntax highlighting, autocomplete, refactoring, navigation, analysis—and now a
|
|
|
542
575
|
The features in your editor? Other agents can't touch them.
|
|
543
576
|
Hand your best tools to your best colleagues. Now they can properly refactor, navigate, and analyze.
|
|
544
577
|
|
|
545
|
-
- **lsp_hover**: Type info, docs, signatures at position
|
|
546
578
|
- **lsp_goto_definition**: Jump to symbol definition
|
|
547
579
|
- **lsp_find_references**: Find all usages across workspace
|
|
548
|
-
- **
|
|
549
|
-
- **lsp_workspace_symbols**: Search symbols by name across project
|
|
580
|
+
- **lsp_symbols**: Get symbols from file (scope='document') or search across workspace (scope='workspace')
|
|
550
581
|
- **lsp_diagnostics**: Get errors/warnings before build
|
|
551
582
|
- **lsp_servers**: List available LSP servers
|
|
552
583
|
- **lsp_prepare_rename**: Validate rename operation
|
|
553
584
|
- **lsp_rename**: Rename symbol across workspace
|
|
554
|
-
- **lsp_code_actions**: Get available quick fixes/refactorings
|
|
555
|
-
- **lsp_code_action_resolve**: Apply code action
|
|
556
585
|
- **ast_grep_search**: AST-aware code pattern search (25 languages)
|
|
557
586
|
- **ast_grep_replace**: AST-aware code replacement
|
|
558
587
|
- **call_omo_agent**: Spawn specialized explore/librarian agents. Supports `run_in_background` parameter for async execution.
|
|
@@ -804,9 +833,6 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
|
|
|
804
833
|
{
|
|
805
834
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
|
806
835
|
|
|
807
|
-
// Enable Google Gemini via Antigravity OAuth
|
|
808
|
-
"google_auth": false,
|
|
809
|
-
|
|
810
836
|
/* Agent overrides - customize models for specific tasks */
|
|
811
837
|
"agents": {
|
|
812
838
|
"oracle": {
|
|
@@ -821,28 +847,7 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
|
|
|
821
847
|
|
|
822
848
|
### Google Auth
|
|
823
849
|
|
|
824
|
-
**Recommended**:
|
|
825
|
-
|
|
826
|
-
When using `opencode-antigravity-auth`, disable the built-in auth and override agent models in `oh-my-opencode.json`:
|
|
827
|
-
|
|
828
|
-
```json
|
|
829
|
-
{
|
|
830
|
-
"google_auth": false,
|
|
831
|
-
"agents": {
|
|
832
|
-
"frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
|
|
833
|
-
"document-writer": { "model": "google/antigravity-gemini-3-flash" },
|
|
834
|
-
"multimodal-looker": { "model": "google/antigravity-gemini-3-flash" }
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
```
|
|
838
|
-
|
|
839
|
-
**Alternative**: Enable built-in Antigravity OAuth (single account, Gemini models only):
|
|
840
|
-
|
|
841
|
-
```json
|
|
842
|
-
{
|
|
843
|
-
"google_auth": true
|
|
844
|
-
}
|
|
845
|
-
```
|
|
850
|
+
**Recommended**: For Google Gemini authentication, install the [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
|
|
846
851
|
|
|
847
852
|
### Agents
|
|
848
853
|
|
|
@@ -1058,7 +1063,7 @@ Configure concurrency limits for background agent tasks. This controls how many
|
|
|
1058
1063
|
|
|
1059
1064
|
### Categories
|
|
1060
1065
|
|
|
1061
|
-
Categories enable domain-specific task delegation via the `sisyphus_task` tool. Each category
|
|
1066
|
+
Categories enable domain-specific task delegation via the `sisyphus_task` tool. Each category applies runtime presets (model, temperature, prompt additions) when calling the `Sisyphus-Junior` agent.
|
|
1062
1067
|
|
|
1063
1068
|
**Default Categories:**
|
|
1064
1069
|
|