@reinamaccredy/oh-my-opencode 1.0.1 → 3.0.0-beta.10

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
@@ -5,8 +5,8 @@
5
5
 
6
6
  > [!TIP]
7
7
  >
8
- > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0-beta.1)
9
- > > **オーケストレーターがベータ版で利用可能になりました。`oh-my-opencode@beta`を使用してインストールしてください。**
8
+ > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/ReinaMacCredy/oh-my-opencode/releases)
9
+ > > **オーケストレーターがベータ版で利用可能になりました。`@reinamaccredy/oh-my-opencode@3.0.0-beta.1`を使用してインストールしてください。**
10
10
  >
11
11
  > 一緒に歩みましょう!
12
12
  >
@@ -19,9 +19,9 @@
19
19
 
20
20
  <div align="center">
21
21
 
22
- [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
22
+ [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
23
23
 
24
- [![Preview](./.github/assets/omo.png)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
24
+ [![Preview](./.github/assets/omo.png)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
25
25
 
26
26
 
27
27
  </div>
@@ -362,7 +362,7 @@ opencode auth login
362
362
  `opencode.json` に完全なモデル設定も構成する必要があります。
363
363
  [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 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
364
364
 
365
- **利用可能なモデル**: `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`
365
+ **利用可能なモデル**: `proxypal/gpt-5.2-codex`, `proxypal/gpt-5.2-codex-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
366
366
 
367
367
  **Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` オプションで推論強度を制御できます。
368
368
 
@@ -460,7 +460,7 @@ oh-my-opencode を削除するには:
460
460
  ### Agents: あなたの新しいチームメイト
461
461
 
462
462
  - **Sisyphus** (`anthropic/claude-opus-4-5`): **デフォルトエージェントです。** OpenCode のための強力な AI オーケストレーターです。専門のサブエージェントを活用して、複雑なタスクを計画、委任、実行します。バックグラウンドタスクへの委任と Todo ベースのワークフローを重視します。最大の推論能力を発揮するため、Claude Opus 4.5 と拡張思考 (32k token budget) を使用します。
463
- - **oracle** (`openai/gpt-5.2`): アーキテクチャ、コードレビュー、戦略立案のための専門アドバイザー。GPT-5.2 の卓越した論理的推論と深い分析能力を活用します。AmpCode からインスピレーションを得ました。
463
+ - **oracle** (`proxypal/gpt-5.2-codex`): アーキテクチャ、コードレビュー、戦略立案のための専門アドバイザー。GPT-5.2 の卓越した論理的推論と深い分析能力を活用します。AmpCode からインスピレーションを得ました。
464
464
  - **librarian** (`anthropic/claude-sonnet-4-5` または `google/gemini-3-flash`): マルチリポジトリ分析、ドキュメント検索、実装例の調査を担当。Antigravity 認証が設定されている場合は Gemini 3 Flash を使用し、それ以外は Claude Sonnet 4.5 を使用して、深いコードベース理解と GitHub リサーチ、根拠に基づいた回答を提供します。AmpCode からインスピレーションを得ました。
465
465
  - **explore** (`opencode/grok-code`、`google/gemini-3-flash`、または `anthropic/claude-haiku-4-5`): 高速なコードベース探索、ファイルパターンマッチング。Antigravity 認証が設定されている場合は Gemini 3 Flash を使用し、Claude max20 が利用可能な場合は Haiku を使用し、それ以外は Grok を使います。Claude Code からインスピレーションを得ました。
466
466
  - **frontend-ui-ux-engineer** (`google/gemini-3-pro-preview`): 開発者に転身したデザイナーという設定です。素晴らしい UI を作ります。美しく独創的な UI コードを生成することに長けた Gemini を使用します。
@@ -755,7 +755,7 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
755
755
  /* エージェントのオーバーライド - 特定のタスクに合わせてモデルをカスタマイズ */
756
756
  "agents": {
757
757
  "oracle": {
758
- "model": "openai/gpt-5.2" // 戦略的な推論のための GPT
758
+ "model": "proxypal/gpt-5.2-codex" // 戦略的な推論のための GPT
759
759
  },
760
760
  "explore": {
761
761
  "model": "opencode/grok-code" // 探索のための高速かつ無料のモデル
@@ -916,7 +916,7 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
916
916
  "model": "anthropic/claude-opus-4"
917
917
  },
918
918
  "Prometheus (Planner)": {
919
- "model": "openai/gpt-5.2"
919
+ "model": "proxypal/gpt-5.2-codex"
920
920
  },
921
921
  "Metis (Plan Consultant)": {
922
922
  "model": "anthropic/claude-sonnet-4-5"
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  > [!TIP]
7
7
  >
8
- > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](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@beta` to install it.**
8
+ > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/ReinaMacCredy/oh-my-opencode/releases)
9
+ > > **The Orchestrator is now available in beta. Use `@reinamaccredy/oh-my-opencode@3.0.0-beta.1` to install it.**
10
10
  >
11
11
  > Be with us!
12
12
  >
@@ -19,9 +19,9 @@
19
19
 
20
20
  <div align="center">
21
21
 
22
- [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
22
+ [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
23
23
 
24
- [![Preview](./.github/assets/omo.png)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
24
+ [![Preview](./.github/assets/omo.png)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
25
25
 
26
26
 
27
27
  </div>
@@ -237,9 +237,9 @@ If you don't want all this, as mentioned, you can just pick and choose specific
237
237
  Run the interactive installer:
238
238
 
239
239
  ```bash
240
- bunx oh-my-opencode install
240
+ bunx @reinamaccredy/oh-my-opencode install
241
241
  # or use npx if bunx doesn't work
242
- npx oh-my-opencode install
242
+ npx @reinamaccredy/oh-my-opencode install
243
243
  ```
244
244
 
245
245
  > **Note for Ubuntu/Debian users**: If you installed Bun via Snap (`/snap/bin/bun`), `bunx` will fail with "script not found" due to Snap's sandboxing. Either use `npx` instead, or reinstall Bun via the official installer: `curl -fsSL https://bun.sh/install | bash`
@@ -250,7 +250,7 @@ Follow the prompts to configure your Claude, ChatGPT, and Gemini subscriptions.
250
250
 
251
251
  Paste this into a fresh opencode session:
252
252
  ```
253
- Install and configure by following the instructions here https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/README.md
253
+ Install and configure by following the instructions here https://raw.githubusercontent.com/ReinaMacCredy/oh-my-opencode/refs/heads/main/README.md
254
254
  ```
255
255
 
256
256
  ### For LLM Agents
@@ -299,13 +299,13 @@ Spawn a subagent to handle installation and report back - to save context.
299
299
  Based on user's answers, run the CLI installer with appropriate flags:
300
300
 
301
301
  ```bash
302
- bunx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
302
+ bunx @reinamaccredy/oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
303
303
  ```
304
304
 
305
305
  **Examples:**
306
- - User has all subscriptions with max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes`
307
- - User has only Claude (no max20): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no`
308
- - User has no subscriptions: `bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no`
306
+ - User has all subscriptions with max20: `bunx @reinamaccredy/oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes`
307
+ - User has only Claude (no max20): `bunx @reinamaccredy/oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no`
308
+ - User has no subscriptions: `bunx @reinamaccredy/oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no`
309
309
 
310
310
  The CLI will:
311
311
  - Register the plugin in `opencode.json`
@@ -401,7 +401,7 @@ First, add the opencode-openai-codex-auth plugin:
401
401
  You'll also need full model settings in `opencode.json`.
402
402
  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.
403
403
 
404
- **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`
404
+ **Available models**: `proxypal/gpt-5.2-codex`, `proxypal/gpt-5.2-codex-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
405
405
 
406
406
  **Variants** (OpenCode v1.0.210+): Use `--variant=<none|low|medium|high|xhigh>` for reasoning effort control.
407
407
 
@@ -498,7 +498,7 @@ To remove oh-my-opencode:
498
498
  ### Agents: Your Teammates
499
499
 
500
500
  - **Sisyphus** (`anthropic/claude-opus-4-5`): **The default agent.** A powerful AI orchestrator for OpenCode. Plans, delegates, and executes complex tasks using specialized subagents with aggressive parallel execution. Emphasizes background task delegation and todo-driven workflow. Uses Claude Opus 4.5 with extended thinking (32k budget) for maximum reasoning capability.
501
- - **oracle** (`openai/gpt-5.2`): Architecture, code review, strategy. Uses GPT-5.2 for its stellar logical reasoning and deep analysis. Inspired by AmpCode.
501
+ - **oracle** (`proxypal/gpt-5.2-codex`): Architecture, code review, strategy. Uses GPT-5.2 for its stellar logical reasoning and deep analysis. Inspired by AmpCode.
502
502
  - **librarian** (`anthropic/claude-sonnet-4-5` or `google/gemini-3-flash`): Multi-repo analysis, doc lookup, implementation examples. Uses Gemini 3 Flash when Antigravity auth is configured, otherwise Claude Sonnet 4.5 for deep codebase understanding and GitHub research with evidence-based answers. Inspired by AmpCode.
503
503
  - **explore** (`opencode/grok-code`, `google/gemini-3-flash`, or `anthropic/claude-haiku-4-5`): Fast codebase exploration and pattern matching. Uses Gemini 3 Flash when Antigravity auth is configured, Haiku when Claude max20 is available, otherwise Grok. Inspired by Claude Code.
504
504
  - **frontend-ui-ux-engineer** (`google/gemini-3-pro-high`): A designer turned developer. Builds gorgeous UIs. Gemini excels at creative, beautiful UI code.
@@ -811,7 +811,7 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
811
811
  /* Agent overrides - customize models for specific tasks */
812
812
  "agents": {
813
813
  "oracle": {
814
- "model": "openai/gpt-5.2" // GPT for strategic reasoning
814
+ "model": "proxypal/gpt-5.2-codex" // GPT for strategic reasoning
815
815
  },
816
816
  "explore": {
817
817
  "model": "opencode/grok-code" // Free & fast for exploration
@@ -1007,7 +1007,7 @@ You can also customize Sisyphus agents like other agents:
1007
1007
  "model": "anthropic/claude-opus-4"
1008
1008
  },
1009
1009
  "Prometheus (Planner)": {
1010
- "model": "openai/gpt-5.2"
1010
+ "model": "proxypal/gpt-5.2-codex"
1011
1011
  },
1012
1012
  "Metis (Plan Consultant)": {
1013
1013
  "model": "anthropic/claude-sonnet-4-5"
@@ -1066,7 +1066,7 @@ Categories enable domain-specific task delegation via the `sisyphus_task` tool.
1066
1066
  | Category | Model | Description |
1067
1067
  |----------|-------|-------------|
1068
1068
  | `visual` | `google/gemini-3-pro-preview` | Frontend, UI/UX, design-focused tasks. High creativity (temp 0.7). |
1069
- | `business-logic` | `openai/gpt-5.2` | Backend logic, architecture, strategic reasoning. Low creativity (temp 0.1). |
1069
+ | `business-logic` | `proxypal/gpt-5.2-codex` | Backend logic, architecture, strategic reasoning. Low creativity (temp 0.1). |
1070
1070
 
1071
1071
  **Usage:**
1072
1072
 
package/README.zh-cn.md CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  > [!TIP]
7
7
  >
8
- > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0-beta.1)
9
- > > **编排器现已推出测试版。使用`oh-my-opencode@beta`来安装。**
8
+ > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/ReinaMacCredy/oh-my-opencode/releases)
9
+ > > **编排器现已推出测试版。使用`@reinamaccredy/oh-my-opencode@3.0.0-beta.1`来安装。**
10
10
  >
11
11
  > 与我们同行!
12
12
  >
@@ -19,9 +19,9 @@
19
19
 
20
20
  <div align="center">
21
21
 
22
- [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
22
+ [![Oh My OpenCode](./.github/assets/hero.jpg)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
23
23
 
24
- [![Preview](./.github/assets/omo.png)](https://github.com/code-yeongyu/oh-my-opencode#oh-my-opencode)
24
+ [![Preview](./.github/assets/omo.png)](https://github.com/ReinaMacCredy/oh-my-opencode#oh-my-opencode)
25
25
 
26
26
  </div>
27
27
 
@@ -367,7 +367,7 @@ opencode auth login
367
367
  要在 `opencode.json` 里配完整的模型设置。
368
368
  去读 [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 配置,动脑子合并,别搞炸了。
369
369
 
370
- **可用模型**:`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`
370
+ **可用模型**:`proxypal/gpt-5.2-codex`, `proxypal/gpt-5.2-codex-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
371
371
 
372
372
  **Variants**(OpenCode v1.0.210+):用 `--variant=<none|low|medium|high|xhigh>` 控制推理强度。
373
373
 
@@ -465,7 +465,7 @@ gh repo star code-yeongyu/oh-my-opencode
465
465
  ### Agents:你的神队友
466
466
 
467
467
  - **Sisyphus** (`anthropic/claude-opus-4-5`):**默认 Agent。** OpenCode 专属的强力 AI 编排器。指挥专业子 Agent 搞定复杂任务。主打后台任务委派和 Todo 驱动。用 Claude Opus 4.5 加上扩展思考(32k token 预算),智商拉满。
468
- - **oracle** (`openai/gpt-5.2`):架构师、代码审查员、战略家。GPT-5.2 的逻辑推理和深度分析能力不是盖的。致敬 AmpCode。
468
+ - **oracle** (`proxypal/gpt-5.2-codex`):架构师、代码审查员、战略家。GPT-5.2 的逻辑推理和深度分析能力不是盖的。致敬 AmpCode。
469
469
  - **librarian** (`anthropic/claude-sonnet-4-5` 或 `google/gemini-3-flash`):多仓库分析、查文档、找示例。配置 Antigravity 认证时使用 Gemini 3 Flash,否则使用 Claude Sonnet 4.5 深入理解代码库,GitHub 调研,给出的答案都有据可查。致敬 AmpCode。
470
470
  - **explore** (`opencode/grok-code`、`google/gemini-3-flash` 或 `anthropic/claude-haiku-4-5`):极速代码库扫描、模式匹配。配置 Antigravity 认证时使用 Gemini 3 Flash,Claude max20 可用时使用 Haiku,否则用 Grok。致敬 Claude Code。
471
471
  - **frontend-ui-ux-engineer** (`google/gemini-3-pro-preview`):设计师出身的程序员。UI 做得那是真漂亮。Gemini 写这种创意美观的代码是一绝。
@@ -756,7 +756,7 @@ Agent 爽了,你自然也爽。但我还想直接让你爽。
756
756
  /* Agent 覆盖 - 为特定任务自定义模型 */
757
757
  "agents": {
758
758
  "oracle": {
759
- "model": "openai/gpt-5.2" // 用于战略推理的 GPT
759
+ "model": "proxypal/gpt-5.2-codex" // 用于战略推理的 GPT
760
760
  },
761
761
  "explore": {
762
762
  "model": "opencode/grok-code" // 快速且免费的搜索模型
@@ -917,7 +917,7 @@ Sisyphus Agent 也能自定义:
917
917
  "model": "anthropic/claude-opus-4"
918
918
  },
919
919
  "Prometheus (Planner)": {
920
- "model": "openai/gpt-5.2"
920
+ "model": "proxypal/gpt-5.2-codex"
921
921
  },
922
922
  "Metis (Plan Consultant)": {
923
923
  "model": "anthropic/claude-sonnet-4-5"
@@ -14,5 +14,6 @@ import type { AgentPromptMetadata } from "./types";
14
14
  * - Prepare directives for the planner agent
15
15
  */
16
16
  export declare const METIS_SYSTEM_PROMPT = "# Metis - Pre-Planning Consultant\n\n## CONSTRAINTS\n\n- **READ-ONLY**: You analyze, question, advise. You do NOT implement or modify files.\n- **OUTPUT**: Your analysis feeds into Prometheus (planner). Be actionable.\n\n---\n\n## PHASE 0: INTENT CLASSIFICATION (MANDATORY FIRST STEP)\n\nBefore ANY analysis, classify the work intent. This determines your entire strategy.\n\n### Step 1: Identify Intent Type\n\n| Intent | Signals | Your Primary Focus |\n|--------|---------|-------------------|\n| **Refactoring** | \"refactor\", \"restructure\", \"clean up\", changes to existing code | SAFETY: regression prevention, behavior preservation |\n| **Build from Scratch** | \"create new\", \"add feature\", greenfield, new module | DISCOVERY: explore patterns first, informed questions |\n| **Mid-sized Task** | Scoped feature, specific deliverable, bounded work | GUARDRAILS: exact deliverables, explicit exclusions |\n| **Collaborative** | \"help me plan\", \"let's figure out\", wants dialogue | INTERACTIVE: incremental clarity through dialogue |\n| **Architecture** | \"how should we structure\", system design, infrastructure | STRATEGIC: long-term impact, Oracle recommendation |\n| **Research** | Investigation needed, goal exists but path unclear | INVESTIGATION: exit criteria, parallel probes |\n\n### Step 2: Validate Classification\n\nConfirm:\n- [ ] Intent type is clear from request\n- [ ] If ambiguous, ASK before proceeding\n\n---\n\n## PHASE 1: INTENT-SPECIFIC ANALYSIS\n\n### IF REFACTORING\n\n**Your Mission**: Ensure zero regressions, behavior preservation.\n\n**Tool Guidance** (recommend to Prometheus):\n- `lsp_find_references`: Map all usages before changes\n- `lsp_rename` / `lsp_prepare_rename`: Safe symbol renames\n- `ast_grep_search`: Find structural patterns to preserve\n- `ast_grep_replace(dryRun=true)`: Preview transformations\n\n**Questions to Ask**:\n1. What specific behavior must be preserved? (test commands to verify)\n2. What's the rollback strategy if something breaks?\n3. Should this change propagate to related code, or stay isolated?\n\n**Directives for Prometheus**:\n- MUST: Define pre-refactor verification (exact test commands + expected outputs)\n- MUST: Verify after EACH change, not just at the end\n- MUST NOT: Change behavior while restructuring\n- MUST NOT: Refactor adjacent code not in scope\n\n---\n\n### IF BUILD FROM SCRATCH\n\n**Your Mission**: Discover patterns before asking, then surface hidden requirements.\n\n**Pre-Analysis Actions** (YOU should do before questioning):\n```\n// Launch these explore agents FIRST\ncall_omo_agent(subagent_type=\"explore\", prompt=\"Find similar implementations...\")\ncall_omo_agent(subagent_type=\"explore\", prompt=\"Find project patterns for this type...\")\ncall_omo_agent(subagent_type=\"librarian\", prompt=\"Find best practices for [technology]...\")\n```\n\n**Questions to Ask** (AFTER exploration):\n1. Found pattern X in codebase. Should new code follow this, or deviate? Why?\n2. What should explicitly NOT be built? (scope boundaries)\n3. What's the minimum viable version vs full vision?\n\n**Directives for Prometheus**:\n- MUST: Follow patterns from `[discovered file:lines]`\n- MUST: Define \"Must NOT Have\" section (AI over-engineering prevention)\n- MUST NOT: Invent new patterns when existing ones work\n- MUST NOT: Add features not explicitly requested\n\n---\n\n### IF MID-SIZED TASK\n\n**Your Mission**: Define exact boundaries. AI slop prevention is critical.\n\n**Questions to Ask**:\n1. What are the EXACT outputs? (files, endpoints, UI elements)\n2. What must NOT be included? (explicit exclusions)\n3. What are the hard boundaries? (no touching X, no changing Y)\n4. Acceptance criteria: how do we know it's done?\n\n**AI-Slop Patterns to Flag**:\n| Pattern | Example | Ask |\n|---------|---------|-----|\n| Scope inflation | \"Also tests for adjacent modules\" | \"Should I add tests beyond [TARGET]?\" |\n| Premature abstraction | \"Extracted to utility\" | \"Do you want abstraction, or inline?\" |\n| Over-validation | \"15 error checks for 3 inputs\" | \"Error handling: minimal or comprehensive?\" |\n| Documentation bloat | \"Added JSDoc everywhere\" | \"Documentation: none, minimal, or full?\" |\n\n**Directives for Prometheus**:\n- MUST: \"Must Have\" section with exact deliverables\n- MUST: \"Must NOT Have\" section with explicit exclusions\n- MUST: Per-task guardrails (what each task should NOT do)\n- MUST NOT: Exceed defined scope\n\n---\n\n### IF COLLABORATIVE\n\n**Your Mission**: Build understanding through dialogue. No rush.\n\n**Behavior**:\n1. Start with open-ended exploration questions\n2. Use explore/librarian to gather context as user provides direction\n3. Incrementally refine understanding\n4. Don't finalize until user confirms direction\n\n**Questions to Ask**:\n1. What problem are you trying to solve? (not what solution you want)\n2. What constraints exist? (time, tech stack, team skills)\n3. What trade-offs are acceptable? (speed vs quality vs cost)\n\n**Directives for Prometheus**:\n- MUST: Record all user decisions in \"Key Decisions\" section\n- MUST: Flag assumptions explicitly\n- MUST NOT: Proceed without user confirmation on major decisions\n\n---\n\n### IF ARCHITECTURE\n\n**Your Mission**: Strategic analysis. Long-term impact assessment.\n\n**Oracle Consultation** (RECOMMEND to Prometheus):\n```\nTask(\n subagent_type=\"oracle\",\n prompt=\"Architecture consultation:\n Request: [user's request]\n Current state: [gathered context]\n \n Analyze: options, trade-offs, long-term implications, risks\"\n)\n```\n\n**Questions to Ask**:\n1. What's the expected lifespan of this design?\n2. What scale/load should it handle?\n3. What are the non-negotiable constraints?\n4. What existing systems must this integrate with?\n\n**AI-Slop Guardrails for Architecture**:\n- MUST NOT: Over-engineer for hypothetical future requirements\n- MUST NOT: Add unnecessary abstraction layers\n- MUST NOT: Ignore existing patterns for \"better\" design\n- MUST: Document decisions and rationale\n\n**Directives for Prometheus**:\n- MUST: Consult Oracle before finalizing plan\n- MUST: Document architectural decisions with rationale\n- MUST: Define \"minimum viable architecture\"\n- MUST NOT: Introduce complexity without justification\n\n---\n\n### IF RESEARCH\n\n**Your Mission**: Define investigation boundaries and exit criteria.\n\n**Questions to Ask**:\n1. What's the goal of this research? (what decision will it inform?)\n2. How do we know research is complete? (exit criteria)\n3. What's the time box? (when to stop and synthesize)\n4. What outputs are expected? (report, recommendations, prototype?)\n\n**Investigation Structure**:\n```\n// Parallel probes\ncall_omo_agent(subagent_type=\"explore\", prompt=\"Find how X is currently handled...\")\ncall_omo_agent(subagent_type=\"librarian\", prompt=\"Find official docs for Y...\")\ncall_omo_agent(subagent_type=\"librarian\", prompt=\"Find OSS implementations of Z...\")\n```\n\n**Directives for Prometheus**:\n- MUST: Define clear exit criteria\n- MUST: Specify parallel investigation tracks\n- MUST: Define synthesis format (how to present findings)\n- MUST NOT: Research indefinitely without convergence\n\n---\n\n## OUTPUT FORMAT\n\n```markdown\n## Intent Classification\n**Type**: [Refactoring | Build | Mid-sized | Collaborative | Architecture | Research]\n**Confidence**: [High | Medium | Low]\n**Rationale**: [Why this classification]\n\n## Pre-Analysis Findings\n[Results from explore/librarian agents if launched]\n[Relevant codebase patterns discovered]\n\n## Questions for User\n1. [Most critical question first]\n2. [Second priority]\n3. [Third priority]\n\n## Identified Risks\n- [Risk 1]: [Mitigation]\n- [Risk 2]: [Mitigation]\n\n## Directives for Prometheus\n- MUST: [Required action]\n- MUST: [Required action]\n- MUST NOT: [Forbidden action]\n- MUST NOT: [Forbidden action]\n- PATTERN: Follow `[file:lines]`\n- TOOL: Use `[specific tool]` for [purpose]\n\n## Recommended Approach\n[1-2 sentence summary of how to proceed]\n```\n\n---\n\n## TOOL REFERENCE\n\n| Tool | When to Use | Intent |\n|------|-------------|--------|\n| `lsp_find_references` | Map impact before changes | Refactoring |\n| `lsp_rename` | Safe symbol renames | Refactoring |\n| `ast_grep_search` | Find structural patterns | Refactoring, Build |\n| `explore` agent | Codebase pattern discovery | Build, Research |\n| `librarian` agent | External docs, best practices | Build, Architecture, Research |\n| `oracle` agent | Read-only consultation. High-IQ debugging, architecture | Architecture |\n\n---\n\n## CRITICAL RULES\n\n**NEVER**:\n- Skip intent classification\n- Ask generic questions (\"What's the scope?\")\n- Proceed without addressing ambiguity\n- Make assumptions about user's codebase\n\n**ALWAYS**:\n- Classify intent FIRST\n- Be specific (\"Should this change UserService only, or also AuthService?\")\n- Explore before asking (for Build/Research intents)\n- Provide actionable directives for Prometheus\n";
17
+ export declare function createMetisAgent(model?: string): AgentConfig;
17
18
  export declare const metisAgent: AgentConfig;
18
19
  export declare const metisPromptMetadata: AgentPromptMetadata;
@@ -9,6 +9,7 @@ import type { CategoryConfig } from "../config/schema";
9
9
  * You are the conductor of a symphony of specialized agents.
10
10
  */
11
11
  export interface OrchestratorContext {
12
+ model?: string;
12
13
  availableAgents?: AvailableAgent[];
13
14
  availableSkills?: AvailableSkill[];
14
15
  userCategories?: Record<string, CategoryConfig>;
@@ -27,20 +27,6 @@ export interface BunInstallResult {
27
27
  }
28
28
  export declare function runBunInstall(): Promise<boolean>;
29
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
- */
44
30
  export declare const ANTIGRAVITY_PROVIDER_CONFIG: {
45
31
  google: {
46
32
  name: string;