Browse Source

test(docs): align opencode-go preset assertions and docs with minimax-m3 + mimo-v2.5

Update bundled-preset tests (providers.test.ts, config-io.test.ts) to the
new orchestrator/observer models and assert the new max variants. Refresh the
stale generated-config example and Observer guidance in docs/README.
Michael Henke 1 month ago
parent
commit
81309e6539
5 changed files with 20 additions and 11 deletions
  1. 1 1
      README.md
  2. 1 1
      docs/installation.md
  3. 9 4
      docs/opencode-go-preset.md
  4. 4 2
      src/cli/config-io.test.ts
  5. 5 3
      src/cli/providers.test.ts

+ 1 - 1
README.md

@@ -629,7 +629,7 @@ rules.
 
 - Images, screenshots, diagrams → `read` tool (native image support)
 - PDFs and binary documents → `read` tool (text + structure extraction)
-- **Disabled by default** - enable with `"disabled_agents": []` and configure a vision-capable model; installing with `--preset=opencode-go` enables it with `opencode-go/kimi-k2.6`. Image attachments route to Observer by default when it is enabled; set `"image_routing": "direct"` to keep them on the Orchestrator.
+- **Disabled by default** - enable with `"disabled_agents": []` and configure a vision-capable model; installing with `--preset=opencode-go` enables it with `opencode-go/mimo-v2.5`. Image attachments route to Observer by default when it is enabled; set `"image_routing": "direct"` to keep them on the Orchestrator.
 
     </td>
   </tr>

+ 1 - 1
docs/installation.md

@@ -97,7 +97,7 @@ bunx oh-my-opencode-slim@latest install --reset
 
 ### After Installation
 
-The installer generates both OpenAI and OpenCode Go presets, with OpenAI active by default (using variant-aware GPT-5.6 models, including `gpt-5.6-terra (medium)` for Orchestrator, `gpt-5.6-sol (high)` for Oracle, `gpt-5.6-luna (medium)` for Fixer, and `gpt-5.6-luna` variants for other specialists). To make OpenCode Go active during install, run `bunx oh-my-opencode-slim@latest install --preset=opencode-go`. That preset uses GLM-5.1 for Orchestrator, so the installer also enables Observer with `opencode-go/kimi-k2.6` for visual analysis. To switch providers later or build a mixed setup, use **[Configuration Reference](configuration.md)** for the full option reference and the preset docs for copyable examples.
+The installer generates both OpenAI and OpenCode Go presets, with OpenAI active by default (using variant-aware GPT-5.6 models, including `gpt-5.6-terra (medium)` for Orchestrator, `gpt-5.6-sol (high)` for Oracle, `gpt-5.6-luna (medium)` for Fixer, and `gpt-5.6-luna` variants for other specialists). To make OpenCode Go active during install, run `bunx oh-my-opencode-slim@latest install --preset=opencode-go`. That preset uses Minimax-M3 for Orchestrator, so the installer also enables Observer with `opencode-go/mimo-v2.5` for visual analysis. To switch providers later or build a mixed setup, use **[Configuration Reference](configuration.md)** for the full option reference and the preset docs for copyable examples.
 
 The plugin safely reconciles bundled skills on startup and after successful
 auto-updates. Missing bundled skills are installed, and previously managed skills

+ 9 - 4
docs/opencode-go-preset.md

@@ -68,17 +68,21 @@ setting the top-level `preset` field:
   "presets": {
     "opencode-go": {
       "orchestrator": {
-        "model": "opencode-go/glm-5.2"
+        "model": "opencode-go/minimax-m3",
+        "variant": "max"
       },
       "oracle": {
         "model": "opencode-go/qwen3.7-max",
         "variant": "max"
       },
       "librarian": {
-        "model": "opencode-go/deepseek-v4-flash"
+        "model": "opencode-go/deepseek-v4-flash",
+        "variant": "high",
+        "mcps": ["websearch", "context7", "gh_grep"]
       },
       "explorer": {
-        "model": "opencode-go/deepseek-v4-flash"
+        "model": "opencode-go/deepseek-v4-flash",
+        "variant": "max"
       },
       "designer": {
         "model": "opencode-go/kimi-k2.7-code",
@@ -89,7 +93,8 @@ setting the top-level `preset` field:
         "variant": "high"
       },
       "observer": {
-        "model": "opencode-go/kimi-k2.6"
+        "model": "opencode-go/mimo-v2.5",
+        "variant": "max"
       }
     }
   }

+ 4 - 2
src/cli/config-io.test.ts

@@ -457,11 +457,13 @@ describe('config-io', () => {
     expect(saved.disabled_agents).toEqual([]);
     expect(saved.presets.openai).toBeDefined();
     expect(saved.presets['opencode-go'].orchestrator.model).toBe(
-      'opencode-go/glm-5.2',
+      'opencode-go/minimax-m3',
     );
+    expect(saved.presets['opencode-go'].orchestrator.variant).toBe('max');
     expect(saved.presets['opencode-go'].observer.model).toBe(
-      'opencode-go/kimi-k2.6',
+      'opencode-go/mimo-v2.5',
     );
+    expect(saved.presets['opencode-go'].observer.variant).toBe('max');
   });
 
   test('disableDefaultAgents disables conflicting OpenCode built-in agents', () => {

+ 5 - 3
src/cli/providers.test.ts

@@ -30,7 +30,7 @@ describe('providers', () => {
     expect(config.disabled_agents).toBeUndefined();
     expect((config.presets as any)['opencode-go']).toBeDefined();
     expect((config.presets as any)['opencode-go'].observer.model).toBe(
-      'opencode-go/kimi-k2.6',
+      'opencode-go/mimo-v2.5',
     );
     const agents = (config.presets as any).openai;
     expect(agents).toBeDefined();
@@ -76,7 +76,8 @@ describe('providers', () => {
     expect((config.presets as any).openai).toBeDefined();
     const agents = (config.presets as any)['opencode-go'];
     expect(agents).toBeDefined();
-    expect(agents.orchestrator.model).toBe('opencode-go/glm-5.2');
+    expect(agents.orchestrator.model).toBe('opencode-go/minimax-m3');
+    expect(agents.orchestrator.variant).toBe('max');
     expect(agents.oracle.model).toBe('opencode-go/qwen3.7-max');
     expect(agents.oracle.variant).toBe('max');
     expect(agents.council).toBeUndefined();
@@ -85,7 +86,8 @@ describe('providers', () => {
     expect(agents.designer.model).toBe('opencode-go/kimi-k2.7-code');
     expect(agents.fixer.model).toBe('opencode-go/deepseek-v4-flash');
     expect(agents.fixer.variant).toBe('high');
-    expect(agents.observer.model).toBe('opencode-go/kimi-k2.6');
+    expect(agents.observer.model).toBe('opencode-go/mimo-v2.5');
+    expect(agents.observer.variant).toBe('max');
   });
 
   test('generateLiteConfig rejects unsupported preset', () => {