oh-my-opencode 2.12.4 → 2.13.1
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 +20 -27
- package/README.ko.md +20 -27
- package/README.md +23 -24
- package/README.zh-cn.md +20 -27
- package/dist/cli/config-manager.d.ts +17 -29
- package/dist/cli/index.js +68 -161
- package/dist/config/schema.d.ts +2 -6
- package/dist/config/schema.test.d.ts +1 -0
- package/dist/features/builtin-commands/templates/refactor.d.ts +1 -0
- package/dist/features/builtin-commands/types.d.ts +1 -1
- package/dist/features/claude-code-command-loader/loader.d.ts +5 -9
- package/dist/features/opencode-skill-loader/loader.d.ts +11 -41
- package/dist/hooks/keyword-detector/constants.d.ts +7 -1
- package/dist/hooks/keyword-detector/detector.d.ts +2 -2
- package/dist/index.js +1182 -493
- package/dist/mcp/index.d.ts +1 -2
- package/dist/mcp/index.test.d.ts +1 -0
- package/dist/mcp/types.d.ts +2 -1
- package/dist/shared/file-utils.d.ts +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/slashcommand/index.d.ts +1 -1
- package/dist/tools/slashcommand/tools.d.ts +10 -1
- package/dist/tools/slashcommand/types.d.ts +7 -0
- package/package.json +1 -1
- package/dist/mcp/websearch-exa.d.ts +0 -5
package/README.ja.md
CHANGED
|
@@ -189,13 +189,15 @@ Windows から Linux に初めて乗り換えた時のこと、自分の思い
|
|
|
189
189
|
|
|
190
190
|
インストールするだけで、エージェントは以下のようなワークフローで働けるようになります:
|
|
191
191
|
|
|
192
|
-
1.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
1. Sisyphusは自分自身でファイルを探し回るような時間の無駄はしません。メインエージェントのコンテキストを軽量に保つため、より高速で安価なモデルへ並列でバックグラウンドタスクを飛ばし、自身の代わりに領域の調査を完了させます。
|
|
193
|
+
1. SisyphusはリファクタリングにLSPを活用します。その方が確実で、安全、かつ的確だからです。
|
|
194
|
+
1. UIに関わる重い作業が必要な場合、SisyphusはフロントエンドのタスクをGemini 3 Proに直接デリゲートします。
|
|
195
|
+
1. もしSisyphusがループに陥ったり壁にぶつかったりしても、無駄に悩み続けることはありません。高IQな戦略的バックアップとしてGPT 5.2を呼び出します。
|
|
196
|
+
1. 複雑なオープンソースフレームワークを扱っていますか?Sisyphusはサブエージェントを生成し、生のソースコードやドキュメントをリアルタイムで消化します。彼は完全なコンテキスト認識を持って動作します。
|
|
197
|
+
1. Sisyphusがコメントに触れるとき、その存在意義を証明するか、さもなくば削除します。あなたのコードベースを常にクリーンに保ちます。
|
|
198
|
+
1. Sisyphusは自身のTODOリストに縛られています。もし始めたことを終わらせられなければ、システムは彼を強制的に「bouldering」モードに戻します。あなたのタスクは、何があろうと完了します。
|
|
199
|
+
1. 正直、ドキュメントなんて読む必要はありません。ただプロンプトを書いてください。「ultrawork」というキーワードを含めるだけで十分です。Sisyphusが構造を分析し、コンテキストを集め、外部のソースコードまで掘り下げ、仕事が100%完了するまでboulderingを続けます。
|
|
200
|
+
1. ぶっちゃけ、「ultrawork」と打つのすら面倒ですよね。それなら「ulw」だけでOKです。ただulwと打ち、コーヒーでも飲んでいてください。仕事は終わっています。
|
|
199
201
|
|
|
200
202
|
このような機能が不要であれば、前述の通り、特定の機能だけを選んで使うことができます。
|
|
201
203
|
|
|
@@ -297,7 +299,7 @@ opencode auth login
|
|
|
297
299
|
{
|
|
298
300
|
"plugin": [
|
|
299
301
|
"oh-my-opencode",
|
|
300
|
-
"opencode-antigravity-auth@1.
|
|
302
|
+
"opencode-antigravity-auth@1.2.7"
|
|
301
303
|
]
|
|
302
304
|
}
|
|
303
305
|
```
|
|
@@ -322,7 +324,7 @@ opencode auth login
|
|
|
322
324
|
}
|
|
323
325
|
```
|
|
324
326
|
|
|
325
|
-
**利用可能なモデル名**: `google/gemini-3-pro-high`, `google/gemini-3-pro-
|
|
327
|
+
**利用可能なモデル名**: `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
328
|
|
|
327
329
|
その後、認証を行います:
|
|
328
330
|
|
|
@@ -345,26 +347,19 @@ opencode auth login
|
|
|
345
347
|
{
|
|
346
348
|
"plugin": [
|
|
347
349
|
"oh-my-opencode",
|
|
348
|
-
"opencode-openai-codex-auth@4.
|
|
350
|
+
"opencode-openai-codex-auth@4.3.0"
|
|
349
351
|
]
|
|
350
352
|
}
|
|
351
353
|
```
|
|
352
354
|
|
|
353
|
-
|
|
355
|
+
##### モデル設定
|
|
354
356
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
"dependencies": {
|
|
358
|
-
"opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
```
|
|
357
|
+
`opencode.json` に完全なモデル設定も構成する必要があります。
|
|
358
|
+
[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
359
|
|
|
363
|
-
|
|
360
|
+
**利用可能なモデル**: `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
361
|
|
|
365
|
-
|
|
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 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
|
|
362
|
+
**Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` オプションで推論強度を制御できます。
|
|
368
363
|
|
|
369
364
|
その後、認証を行います:
|
|
370
365
|
|
|
@@ -563,7 +558,6 @@ OpenCode セッション履歴をナビゲートおよび検索するための
|
|
|
563
558
|
```
|
|
564
559
|
- **Online**: プロジェクトのルールがすべてではありません。拡張機能のための内蔵 MCP を提供します:
|
|
565
560
|
- **context7**: ライブラリの最新公式ドキュメントを取得
|
|
566
|
-
- **websearch_exa**: Exa AI を活用したリアルタイムウェブ検索
|
|
567
561
|
- **grep_app**: 数百万の公開 GitHub リポジトリから超高速コード検索(実装例を探すのに最適)
|
|
568
562
|
|
|
569
563
|
#### マルチモーダルを活用し、トークンは節約する
|
|
@@ -655,7 +649,7 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
|
|
|
655
649
|
|
|
656
650
|
| トグル | `false` の場合、ロードが無効になるパス | 影響を受けないもの |
|
|
657
651
|
| ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
658
|
-
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内蔵 MCP (context7,
|
|
652
|
+
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内蔵 MCP (context7, grep_app) |
|
|
659
653
|
| `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
|
|
660
654
|
| `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
|
|
661
655
|
| `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 内蔵エージェント (oracle, librarian 等) |
|
|
@@ -928,17 +922,16 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
|
|
|
928
922
|
|
|
929
923
|
### MCPs
|
|
930
924
|
|
|
931
|
-
|
|
925
|
+
Context7、grep.app MCP がデフォルトで有効になっています。
|
|
932
926
|
|
|
933
927
|
- **context7**: ライブラリの最新公式ドキュメントを取得
|
|
934
|
-
- **websearch_exa**: Exa AI を活用したリアルタイムウェブ検索
|
|
935
928
|
- **grep_app**: [grep.app](https://grep.app) を通じて数百万の公開 GitHub リポジトリから超高速コード検索
|
|
936
929
|
|
|
937
930
|
不要であれば、`~/.config/opencode/oh-my-opencode.json` または `.opencode/oh-my-opencode.json` の `disabled_mcps` を使用して無効化できます:
|
|
938
931
|
|
|
939
932
|
```json
|
|
940
933
|
{
|
|
941
|
-
"disabled_mcps": ["context7", "
|
|
934
|
+
"disabled_mcps": ["context7", "grep_app"]
|
|
942
935
|
}
|
|
943
936
|
```
|
|
944
937
|
|
package/README.ko.md
CHANGED
|
@@ -186,13 +186,15 @@ OpenCode 가 낭만이 사라진것같은 오늘날의 시대에, 당신에게
|
|
|
186
186
|
|
|
187
187
|
#### 그저 설치하면 되는 것.
|
|
188
188
|
|
|
189
|
-
1.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
189
|
+
1. 시지푸스는 직접 파일을 찾아다니며 시간을 낭비하지 않습니다. 메인 에이전트의 컨텍스트를 가볍게 유지하기 위해, 더 빠르고 저렴한 모델들에게 병렬로 백그라운드 태스크를 실행시켜 지형지물을 파악하게 합니다.
|
|
190
|
+
1. 시지푸스는 LSP를 활용해 리팩토링을 수행합니다. 이는 훨씬 더 결정론적이고 안전하며 정교합니다.
|
|
191
|
+
1. UI 작업이 필요한 고난도 태스크를 마주하면, 시지푸스는 프론트엔드 작업을 Gemini 3 Pro에게 직접 위임합니다.
|
|
192
|
+
1. 루프에 갇히거나 한계에 부딪히면 시지푸스는 무의미하게 반복하지 않습니다. High-IQ 전략적 백업을 위해 GPT 5.2를 호출합니다.
|
|
193
|
+
1. 복잡한 오픈소스 프레임워크를 다루시나요? 시지푸스는 서브에이전트들을 생성해 소스 코드와 문서를 실시간으로 파악합니다. 완벽한 컨텍스트 인지를 바탕으로 작동합니다.
|
|
194
|
+
1. 시지푸스는 주석을 건드릴 때 그 존재 이유를 증명하거나, 아니면 그냥 날려버립니다. 당신의 코드베이스를 깨끗하게 유지합니다.
|
|
195
|
+
1. 시지푸스는 본인의 TODO 리스트에 귀속됩니다. 시작한 일을 끝내지 못하면 시스템이 그를 다시 "bouldering" 모드로 강제 소환합니다. 작업은 무조건 완료됩니다.
|
|
196
|
+
1. 솔직히 문서 읽을 필요도 없습니다. 그냥 프롬프트를 작성하세요. 'ultrawork' 키워드를 포함하기만 하면 됩니다. 시지푸스가 구조를 분석하고, 컨텍스트를 수집하고, 외부 소스 코드를 파헤치며 작업이 100% 완료될 때까지 계속 bouldering을 이어갈 것입니다.
|
|
197
|
+
1. 사실 'ultrawork'라고 타이핑하는 것도 일입니다. 그냥 'ulw'라고 치세요. 딱 ulw 세 글자면 됩니다. 그리고 커피나 한잔하세요. 작업은 이미 끝났습니다.
|
|
196
198
|
|
|
197
199
|
그러나 이러한 작업이 싫다면, 말했듯 특정한 기능만 가져가 사용 할 수 있습니다.
|
|
198
200
|
|
|
@@ -294,7 +296,7 @@ opencode auth login
|
|
|
294
296
|
{
|
|
295
297
|
"plugin": [
|
|
296
298
|
"oh-my-opencode",
|
|
297
|
-
"opencode-antigravity-auth@1.
|
|
299
|
+
"opencode-antigravity-auth@1.2.7"
|
|
298
300
|
]
|
|
299
301
|
}
|
|
300
302
|
```
|
|
@@ -319,7 +321,7 @@ opencode auth login
|
|
|
319
321
|
}
|
|
320
322
|
```
|
|
321
323
|
|
|
322
|
-
**사용 가능한 모델 이름**: `google/gemini-3-pro-high`, `google/gemini-3-pro-
|
|
324
|
+
**사용 가능한 모델 이름**: `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
325
|
|
|
324
326
|
그 후 인증:
|
|
325
327
|
|
|
@@ -342,26 +344,19 @@ opencode auth login
|
|
|
342
344
|
{
|
|
343
345
|
"plugin": [
|
|
344
346
|
"oh-my-opencode",
|
|
345
|
-
"opencode-openai-codex-auth@4.
|
|
347
|
+
"opencode-openai-codex-auth@4.3.0"
|
|
346
348
|
]
|
|
347
349
|
}
|
|
348
350
|
```
|
|
349
351
|
|
|
350
|
-
|
|
352
|
+
##### 모델 설정
|
|
351
353
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
"dependencies": {
|
|
355
|
-
"opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
```
|
|
354
|
+
`opencode.json`에 전체 모델 설정도 구성해야 합니다.
|
|
355
|
+
[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
356
|
|
|
360
|
-
|
|
357
|
+
**사용 가능한 모델**: `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
358
|
|
|
362
|
-
|
|
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 설정을 복사하여, 사용자의 기존 셋업에 영향을 주지 않도록 깊게 고민하여 적절히 통합하세요.
|
|
359
|
+
**Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` 옵션으로 추론 강도를 조절할 수 있습니다.
|
|
365
360
|
|
|
366
361
|
그 후 인증:
|
|
367
362
|
|
|
@@ -556,7 +551,6 @@ OpenCode 세션 히스토리를 탐색하고 검색하기 위한 도구들입니
|
|
|
556
551
|
```
|
|
557
552
|
- **Online**: 프로젝트 규칙이 전부는 아니겠죠. 확장 기능을 위한 내장 MCP를 제공합니다:
|
|
558
553
|
- **context7**: 공식 문서 조회
|
|
559
|
-
- **websearch_exa**: 실시간 웹 검색
|
|
560
554
|
- **grep_app**: 공개 GitHub 저장소에서 초고속 코드 검색 (구현 예제 찾기에 최적)
|
|
561
555
|
|
|
562
556
|
#### 멀티모달을 다 활용하면서, 토큰은 덜 쓰도록.
|
|
@@ -648,7 +642,7 @@ Oh My OpenCode는 다음 위치의 훅을 읽고 실행합니다:
|
|
|
648
642
|
|
|
649
643
|
| 토글 | `false`일 때 로딩 비활성화 경로 | 영향 받지 않음 |
|
|
650
644
|
| ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
651
|
-
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 내장 MCP (context7,
|
|
645
|
+
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 내장 MCP (context7, grep_app) |
|
|
652
646
|
| `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
|
|
653
647
|
| `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
|
|
654
648
|
| `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 내장 에이전트 (oracle, librarian 등) |
|
|
@@ -921,17 +915,16 @@ Schema 자동 완성이 지원됩니다:
|
|
|
921
915
|
|
|
922
916
|
### MCPs
|
|
923
917
|
|
|
924
|
-
기본적으로 Context7,
|
|
918
|
+
기본적으로 Context7, grep.app MCP 를 지원합니다.
|
|
925
919
|
|
|
926
920
|
- **context7**: 라이브러리의 최신 공식 문서를 가져옵니다
|
|
927
|
-
- **websearch_exa**: Exa AI 기반 실시간 웹 검색
|
|
928
921
|
- **grep_app**: [grep.app](https://grep.app)을 통해 수백만 개의 공개 GitHub 저장소에서 초고속 코드 검색
|
|
929
922
|
|
|
930
923
|
이것이 마음에 들지 않는다면, ~/.config/opencode/oh-my-opencode.json 혹은 .opencode/oh-my-opencode.json 의 `disabled_mcps` 를 사용하여 비활성화할 수 있습니다:
|
|
931
924
|
|
|
932
925
|
```json
|
|
933
926
|
{
|
|
934
|
-
"disabled_mcps": ["context7", "
|
|
927
|
+
"disabled_mcps": ["context7", "grep_app"]
|
|
935
928
|
}
|
|
936
929
|
```
|
|
937
930
|
|
package/README.md
CHANGED
|
@@ -128,8 +128,7 @@ No stupid token consumption massive subagents here. No bloat tools here.
|
|
|
128
128
|
|
|
129
129
|
# Oh My OpenCode
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
Meet Sisyphus: The Batteries-Included Agent that codes like you.
|
|
133
132
|
|
|
134
133
|
[Claude Code](https://www.claude.com/product/claude-code) is great.
|
|
135
134
|
But if you're a hacker, you'll fall head over heels for [OpenCode](https://github.com/sst/opencode).
|
|
@@ -197,8 +196,17 @@ Meet our main agent: Sisyphus (Opus 4.5 High). Below are the tools Sisyphus uses
|
|
|
197
196
|
|
|
198
197
|
Just by installing this, you make your agents to work like:
|
|
199
198
|
|
|
200
|
-
1.
|
|
201
|
-
|
|
199
|
+
1. Sisyphus doesn't waste time hunting for files himself; he keeps the main agent's context lean. Instead, he fires off background tasks to faster, cheaper models in parallel to map the territory for him.
|
|
200
|
+
1. Sisyphus leverages LSP for refactoring; it's more deterministic, safer, and surgical.
|
|
201
|
+
1. When the heavy lifting requires a UI touch, Sisyphus delegates frontend tasks directly to Gemini 3 Pro.
|
|
202
|
+
1. If Sisyphus gets stuck in a loop or hits a wall, he doesn't keep banging his head—he calls GPT 5.2 for high-IQ strategic backup.
|
|
203
|
+
1. Working with a complex open-source framework? Sisyphus spawns subagents to digest the raw source code and documentation in real-time. He operates with total contextual awareness.
|
|
204
|
+
1. When Sisyphus touches comments, he either justifies their existence or nukes them. He keeps your codebase clean.
|
|
205
|
+
1. Sisyphus is bound by his TODO list. If he doesn't finish what he started, the system forces him back into "bouldering" mode. Your task gets done, period.
|
|
206
|
+
1. Honestly, don't even bother reading the docs. Just write your prompt. Include the 'ultrawork' keyword. Sisyphus will analyze the structure, gather the context, dig through external source code, and just keep bouldering until the job is 100% complete.
|
|
207
|
+
1. Actually, typing 'ultrawork' is too much effort. Just type 'ulw'. Just ulw. Sip your coffee. Your work is done.
|
|
208
|
+
|
|
209
|
+
Need to look something up? It scours official docs, your entire codebase history, and public GitHub implementations—using not just grep but built-in LSP tools and AST-Grep.
|
|
202
210
|
3. Stop worrying about context management when delegating to LLMs. I've got it covered.
|
|
203
211
|
- OhMyOpenCode aggressively leverages multiple agents to lighten the context load.
|
|
204
212
|
- **Your agent is now the dev team lead. You're the AI Manager.**
|
|
@@ -321,7 +329,7 @@ First, add the opencode-antigravity-auth plugin:
|
|
|
321
329
|
{
|
|
322
330
|
"plugin": [
|
|
323
331
|
"oh-my-opencode",
|
|
324
|
-
"opencode-antigravity-auth@1.
|
|
332
|
+
"opencode-antigravity-auth@1.2.7"
|
|
325
333
|
]
|
|
326
334
|
}
|
|
327
335
|
```
|
|
@@ -346,7 +354,7 @@ The `opencode-antigravity-auth` plugin uses different model names than the built
|
|
|
346
354
|
}
|
|
347
355
|
```
|
|
348
356
|
|
|
349
|
-
**Available model names**: `google/gemini-3-pro-high`, `google/gemini-3-pro-
|
|
357
|
+
**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
358
|
|
|
351
359
|
Then authenticate:
|
|
352
360
|
|
|
@@ -369,26 +377,19 @@ First, add the opencode-openai-codex-auth plugin:
|
|
|
369
377
|
{
|
|
370
378
|
"plugin": [
|
|
371
379
|
"oh-my-opencode",
|
|
372
|
-
"opencode-openai-codex-auth@4.
|
|
380
|
+
"opencode-openai-codex-auth@4.3.0"
|
|
373
381
|
]
|
|
374
382
|
}
|
|
375
383
|
```
|
|
376
384
|
|
|
377
|
-
|
|
385
|
+
##### Model Configuration
|
|
378
386
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
"dependencies": {
|
|
382
|
-
"opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
```
|
|
387
|
+
You'll also need full model settings in `opencode.json`.
|
|
388
|
+
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
389
|
|
|
387
|
-
|
|
390
|
+
**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
391
|
|
|
389
|
-
|
|
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.
|
|
392
|
+
**Variants** (OpenCode v1.0.210+): Use `--variant=<none|low|medium|high|xhigh>` for reasoning effort control.
|
|
392
393
|
|
|
393
394
|
Then authenticate:
|
|
394
395
|
|
|
@@ -582,7 +583,6 @@ These tools enable agents to reference previous conversations and maintain conti
|
|
|
582
583
|
```
|
|
583
584
|
- **Online**: Project rules aren't everything. Built-in MCPs for extended capabilities:
|
|
584
585
|
- **context7**: Official documentation lookup
|
|
585
|
-
- **websearch_exa**: Real-time web search
|
|
586
586
|
- **grep_app**: Ultra-fast code search across public GitHub repos (great for finding implementation examples)
|
|
587
587
|
|
|
588
588
|
#### Be Multimodal. Save Tokens.
|
|
@@ -694,7 +694,7 @@ Disable specific Claude Code compatibility features with the `claude_code` confi
|
|
|
694
694
|
|
|
695
695
|
| Toggle | When `false`, stops loading from... | Unaffected |
|
|
696
696
|
| ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
697
|
-
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | Built-in MCP (context7,
|
|
697
|
+
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | Built-in MCP (context7, grep_app) |
|
|
698
698
|
| `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
|
|
699
699
|
| `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
|
|
700
700
|
| `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | Built-in agents (oracle, librarian, etc.) |
|
|
@@ -983,17 +983,16 @@ Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `sessio
|
|
|
983
983
|
|
|
984
984
|
### MCPs
|
|
985
985
|
|
|
986
|
-
Context7
|
|
986
|
+
Context7 and grep.app MCP enabled by default.
|
|
987
987
|
|
|
988
988
|
- **context7**: Fetches up-to-date official documentation for libraries
|
|
989
|
-
- **websearch_exa**: Real-time web search powered by Exa AI
|
|
990
989
|
- **grep_app**: Ultra-fast code search across millions of public GitHub repositories via [grep.app](https://grep.app)
|
|
991
990
|
|
|
992
991
|
Don't want them? Disable via `disabled_mcps` in `~/.config/opencode/oh-my-opencode.json` or `.opencode/oh-my-opencode.json`:
|
|
993
992
|
|
|
994
993
|
```json
|
|
995
994
|
{
|
|
996
|
-
"disabled_mcps": ["context7", "
|
|
995
|
+
"disabled_mcps": ["context7", "grep_app"]
|
|
997
996
|
}
|
|
998
997
|
```
|
|
999
998
|
|
package/README.zh-cn.md
CHANGED
|
@@ -191,13 +191,15 @@ oMoMoMoMoMo···
|
|
|
191
191
|
|
|
192
192
|
装完之后,你的 Agent 画风是这样的:
|
|
193
193
|
|
|
194
|
-
1.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
194
|
+
1. Sisyphus 从不把时间浪费在苦哈哈地找文件上,他时刻保持主 Agent 的 Context 精简干练。相反,他会并行启动一堆又快又便宜的背景任务模型,帮他先探路,摸清代码全貌。
|
|
195
|
+
1. Sisyphus 善用 LSP 进行重构;这种方式更具确定性,更安全,且手术刀般精准。
|
|
196
|
+
1. 遇到需要 UI 润色的重活儿时,Sisyphus 会直接把前端任务甩给 Gemini 3 Pro 处理。
|
|
197
|
+
1. 如果 Sisyphus 陷入死循环或碰了壁,他绝不会在那儿死磕——他会呼叫 GPT 5.2 提供高智商的战略支援。
|
|
198
|
+
1. 在处理复杂的开源框架?Sisyphus 会派生出 Subagents 实时消化源码和文档。他是在拥有全局 Context 意识的情况下进行操作的。
|
|
199
|
+
1. 当 Sisyphus 动到注释时,他要么证明其存在的价值,要么直接干掉。他只负责保持你的代码库干净整洁。
|
|
200
|
+
1. Sisyphus 受 TODO 列表的绝对约束。如果活儿没干完,系统会强行把他踢回"推石头(bouldering)"模式。一句话,任务必须搞定。
|
|
201
|
+
1. 说实话,连文档都别费劲读了。直接写你的 Prompt,带上 'ultrawork' 关键字。Sisyphus 会自动分析结构、抓取 Context、深度挖掘外部源码,然后就这么一直"推石头",直到任务 100% 彻底完成。
|
|
202
|
+
1. 其实,输入 'ultrawork' 都挺费劲的。直接打 'ulw' 就行。就打 ulw。喝你的咖啡去吧,活儿已经帮你干完了。
|
|
201
203
|
|
|
202
204
|
如果你不需要这全套服务,前面说了,挑你喜欢的用。
|
|
203
205
|
|
|
@@ -305,7 +307,7 @@ opencode auth login
|
|
|
305
307
|
{
|
|
306
308
|
"plugin": [
|
|
307
309
|
"oh-my-opencode",
|
|
308
|
-
"opencode-antigravity-auth@1.
|
|
310
|
+
"opencode-antigravity-auth@1.2.7"
|
|
309
311
|
]
|
|
310
312
|
}
|
|
311
313
|
```
|
|
@@ -330,7 +332,7 @@ opencode auth login
|
|
|
330
332
|
}
|
|
331
333
|
```
|
|
332
334
|
|
|
333
|
-
**可用模型名**:`google/gemini-3-pro-high`, `google/gemini-3-pro-
|
|
335
|
+
**可用模型名**:`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
336
|
|
|
335
337
|
然后认证:
|
|
336
338
|
|
|
@@ -353,26 +355,19 @@ opencode auth login
|
|
|
353
355
|
{
|
|
354
356
|
"plugin": [
|
|
355
357
|
"oh-my-opencode",
|
|
356
|
-
"opencode-openai-codex-auth@4.
|
|
358
|
+
"opencode-openai-codex-auth@4.3.0"
|
|
357
359
|
]
|
|
358
360
|
}
|
|
359
361
|
```
|
|
360
362
|
|
|
361
|
-
|
|
363
|
+
##### 模型配置
|
|
362
364
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
"dependencies": {
|
|
366
|
-
"opencode-openai-codex-auth": "code-yeongyu/opencode-openai-codex-auth#fix/orphaned-function-call-output-with-tools"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
```
|
|
365
|
+
要在 `opencode.json` 里配完整的模型设置。
|
|
366
|
+
去读 [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
367
|
|
|
371
|
-
|
|
368
|
+
**可用模型**:`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
369
|
|
|
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 配置,动脑子合并,别搞炸了。
|
|
370
|
+
**Variants**(OpenCode v1.0.210+):用 `--variant=<none|low|medium|high|xhigh>` 控制推理强度。
|
|
376
371
|
|
|
377
372
|
然后认证:
|
|
378
373
|
|
|
@@ -567,7 +562,6 @@ OhMyOpenCode 让这些成为可能。
|
|
|
567
562
|
```
|
|
568
563
|
- **在线资源**:项目里的规矩不够用?内置 MCP 来凑:
|
|
569
564
|
- **context7**:查最新的官方文档
|
|
570
|
-
- **websearch_exa**:Exa AI 实时搜网
|
|
571
565
|
- **grep_app**:用 [grep.app](https://grep.app) 在几百万个 GitHub 仓库里秒搜代码(找抄作业的例子神器)
|
|
572
566
|
|
|
573
567
|
#### 多模态全开,Token 省着用
|
|
@@ -659,7 +653,7 @@ Oh My OpenCode 会扫这些地方:
|
|
|
659
653
|
|
|
660
654
|
| 开关 | 设为 `false` 就停用的路径 | 不受影响的 |
|
|
661
655
|
| ---------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
662
|
-
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内置 MCP(context7、
|
|
656
|
+
| `mcp` | `~/.claude/.mcp.json`, `./.mcp.json`, `./.claude/.mcp.json` | 内置 MCP(context7、grep_app) |
|
|
663
657
|
| `commands` | `~/.claude/commands/*.md`, `./.claude/commands/*.md` | `~/.config/opencode/command/`, `./.opencode/command/` |
|
|
664
658
|
| `skills` | `~/.claude/skills/*/SKILL.md`, `./.claude/skills/*/SKILL.md` | - |
|
|
665
659
|
| `agents` | `~/.claude/agents/*.md`, `./.claude/agents/*.md` | 内置 Agent(oracle、librarian 等) |
|
|
@@ -932,17 +926,16 @@ Sisyphus Agent 也能自定义:
|
|
|
932
926
|
|
|
933
927
|
### MCPs
|
|
934
928
|
|
|
935
|
-
默认送你 Context7
|
|
929
|
+
默认送你 Context7 和 grep.app MCP。
|
|
936
930
|
|
|
937
931
|
- **context7**:查最新的官方文档
|
|
938
|
-
- **websearch_exa**:Exa AI 实时搜网
|
|
939
932
|
- **grep_app**:[grep.app](https://grep.app) 极速搜 GitHub 代码
|
|
940
933
|
|
|
941
934
|
不想要?在 `~/.config/opencode/oh-my-opencode.json` 或 `.opencode/oh-my-opencode.json` 的 `disabled_mcps` 里关掉:
|
|
942
935
|
|
|
943
936
|
```json
|
|
944
937
|
{
|
|
945
|
-
"disabled_mcps": ["context7", "
|
|
938
|
+
"disabled_mcps": ["context7", "grep_app"]
|
|
946
939
|
}
|
|
947
940
|
```
|
|
948
941
|
|
|
@@ -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-
|
|
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-
|
|
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: {
|