oh-my-opencode-slim 0.8.1 → 0.8.3

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.md CHANGED
@@ -2,7 +2,7 @@
2
2
  <img src="img/team.png" alt="Pantheon agents" width="420">
3
3
  <p><i>Six divine beings emerged from the dawn of code, each an immortal master of their craft await your command to forge order from chaos and build what was once thought impossible.</i></p>
4
4
  <p><b>Open Multi Agent Suite</b> · Mix any models · Auto delegate tasks</p>
5
- <p><a href="https://moltfounders.com/project/0f5874c7-9291-415b-9622-7509d96a2c73"><img src="https://moltfounders.com/badges/4.png" alt="MoltFounders" height="30"></a></p>
5
+ <p><a href="https://moltfounders.com/jobs/09d1c6e7-9e0e-4683-8d78-e2376aaa2333"><img src="https://moltfounders.com/badges/4.png" alt="MoltFounders" height="30"></a></p>
6
6
  </div>
7
7
 
8
8
  ---
@@ -15,27 +15,30 @@
15
15
  bunx oh-my-opencode-slim@latest install
16
16
  ```
17
17
 
18
- The installer can refresh and use OpenCode free models directly:
18
+ The installer generates an OpenAI configuration by default (using `gpt-5.4` and `gpt-5-codex`). No provider questions asked.
19
+
20
+ For non-interactive mode:
19
21
 
20
22
  ```bash
21
- bunx oh-my-opencode-slim@latest install --no-tui --kimi=yes --openai=yes --antigravity=yes --chutes=yes --opencode-free=yes --opencode-free-model=auto --tmux=no --skills=yes
23
+ bunx oh-my-opencode-slim@latest install --no-tui --tmux=no --skills=yes
22
24
  ```
23
25
 
24
- Then authenticate:
26
+ ### For Alternative Providers
25
27
 
26
- ```bash
27
- opencode auth login
28
- ```
28
+ The default configuration uses OpenAI. To use Kimi, GitHub Copilot, or ZAI Coding Plan, see **[Provider Configurations](docs/provider-configurations.md)** for step-by-step instructions and config examples.
29
+
30
+ ### JSON Schema
29
31
 
30
- Run `ping all agents` to verify everything works.
32
+ An official JSON Schema is included in the package for editor validation and autocomplete. Add a `$schema` reference to your config file:
31
33
 
32
- OpenCode free-model mode uses `opencode models --refresh --verbose`, filters to free `opencode/*` models, and applies coding-first selection:
33
- - OpenCode-only mode can use multiple OpenCode free models across agents.
34
- - Hybrid mode can combine OpenCode free models with OpenAI, Kimi, and/or Antigravity.
35
- - In hybrid mode, `designer` stays on the external provider mapping.
36
- - Chutes mode auto-selects primary/support models with daily-cap awareness (300/2000/5000).
34
+ ```jsonc
35
+ {
36
+ "$schema": "https://unpkg.com/oh-my-opencode-slim@latest/oh-my-opencode-slim.schema.json",
37
+ // your config...
38
+ }
39
+ ```
37
40
 
38
- > **💡 Models are fully customizable.** Edit `~/.config/opencode/oh-my-opencode-slim.json` (or `.jsonc` for comments support) to assign any model to any agent.
41
+ This enables autocomplete and inline validation in VS Code, Neovim, and other editors that support JSON Schema.
39
42
 
40
43
  ### For LLM Agents
41
44
 
@@ -49,7 +52,7 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
49
52
  **Detailed installation guide:** [docs/installation.md](docs/installation.md)
50
53
 
51
54
  **Additional guides:**
52
- - **[Antigravity Setup](docs/antigravity.md)** - Complete guide for Antigravity provider configuration
55
+ - **[Provider Configurations](docs/provider-configurations.md)** - Config examples for all supported providers
53
56
  - **[Tmux Integration](docs/tmux-integration.md)** - Real-time agent monitoring with tmux
54
57
 
55
58
  ---
@@ -80,7 +83,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
80
83
  </tr>
81
84
  <tr>
82
85
  <td colspan="2">
83
- <b>Recommended Models:</b> <code>kimi-for-coding/k2p5</code> <code>openai/gpt-5.2-codex</code>
86
+ <b>Default Model:</b> <code>openai/gpt-5.4</code>
87
+ </td>
88
+ </tr>
89
+ <tr>
90
+ <td colspan="2">
91
+ <b>Recommended Models:</b> <code>openai/gpt-5.4</code> <code>kimi-for-coding/k2p5</code>
84
92
  </td>
85
93
  </tr>
86
94
  </table>
@@ -111,7 +119,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
111
119
  </tr>
112
120
  <tr>
113
121
  <td colspan="2">
114
- <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3-flash</code> <code>openai/gpt-5.1-codex-mini</code>
122
+ <b>Default Model:</b> <code>openai/gpt-5-codex</code>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <td colspan="2">
127
+ <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5-codex</code>
115
128
  </td>
116
129
  </tr>
117
130
  </table>
@@ -142,7 +155,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
142
155
  </tr>
143
156
  <tr>
144
157
  <td colspan="2">
145
- <b>Recommended Models:</b> <code>openai/gpt-5.2-codex</code> <code>kimi-for-coding/k2p5</code>
158
+ <b>Default Model:</b> <code>openai/gpt-5.4</code>
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <td colspan="2">
163
+ <b>Recommended Models:</b> <code>openai/gpt-5.4</code> <code>kimi-for-coding/k2p5</code>
146
164
  </td>
147
165
  </tr>
148
166
  </table>
@@ -173,7 +191,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
173
191
  </tr>
174
192
  <tr>
175
193
  <td colspan="2">
176
- <b>Recommended Models:</b> <code>google/gemini-3-flash</code> <code>openai/gpt-5.1-codex-mini</code>
194
+ <b>Default Model:</b> <code>openai/gpt-5-codex</code>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td colspan="2">
199
+ <b>Recommended Models:</b> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5-codex</code>
177
200
  </td>
178
201
  </tr>
179
202
  </table>
@@ -204,7 +227,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
204
227
  </tr>
205
228
  <tr>
206
229
  <td colspan="2">
207
- <b>Recommended Models:</b> <code>google/gemini-3-flash</code>
230
+ <b>Default Model:</b> <code>kimi-for-coding/k2p5</code>
231
+ </td>
232
+ </tr>
233
+ <tr>
234
+ <td colspan="2">
235
+ <b>Recommended Models:</b> <code>google/gemini-3.1-pro-preview</code>
208
236
  </td>
209
237
  </tr>
210
238
  </table>
@@ -235,7 +263,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
235
263
  </tr>
236
264
  <tr>
237
265
  <td colspan="2">
238
- <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3-flash</code> <code>openai/gpt-5.1-codex-mini</code>
266
+ <b>Default Model:</b> <code>openai/gpt-5-codex</code>
267
+ </td>
268
+ </tr>
269
+ <tr>
270
+ <td colspan="2">
271
+ <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5-codex</code>
239
272
  </td>
240
273
  </tr>
241
274
  </table>
@@ -244,10 +277,10 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
244
277
 
245
278
  ## 📚 Documentation
246
279
 
247
- - **[Quick Reference](docs/quick-reference.md)** - Presets, Skills, MCPs, Tools, Configuration
280
+ - **[Quick Reference](docs/quick-reference.md)** - Skills, MCPs, Tools, Configuration
281
+ - **[Provider Configurations](docs/provider-configurations.md)** - Config examples for OpenAI, Kimi, Copilot, ZAI
248
282
  - **[Installation Guide](docs/installation.md)** - Detailed installation and troubleshooting
249
283
  - **[Cartography Skill](docs/cartography.md)** - Custom skill for repository mapping + codemap generation
250
- - **[Antigravity Setup](docs/antigravity.md)** - Complete guide for Antigravity provider configuration
251
284
  - **[Tmux Integration](docs/tmux-integration.md)** - Real-time agent monitoring with tmux
252
285
 
253
286
  ---
@@ -259,6 +292,6 @@ MIT
259
292
  ---
260
293
 
261
294
  <!-- MoltFounders Banner -->
262
- <a href="https://moltfounders.com/project/0f5874c7-9291-415b-9622-7509d96a2c73">
295
+ <a href="https://moltfounders.com/jobs/09d1c6e7-9e0e-4683-8d78-e2376aaa2333">
263
296
  <img src="img/moltfounders-banner.png" alt="MoltFounders - The Agent Co-Founder Network">
264
297
  </a>
@@ -3,5 +3,13 @@ export interface AgentDefinition {
3
3
  name: string;
4
4
  description?: string;
5
5
  config: AgentConfig;
6
+ /** Priority-ordered model entries for runtime fallback resolution. */
7
+ _modelArray?: Array<{
8
+ id: string;
9
+ variant?: string;
10
+ }>;
6
11
  }
7
- export declare function createOrchestratorAgent(model: string, customPrompt?: string, customAppendPrompt?: string): AgentDefinition;
12
+ export declare function createOrchestratorAgent(model?: string | Array<string | {
13
+ id: string;
14
+ variant?: string;
15
+ }>, customPrompt?: string, customAppendPrompt?: string): AgentDefinition;
@@ -19,8 +19,4 @@ export declare function addPluginToOpenCodeConfig(): Promise<ConfigMergeResult>;
19
19
  export declare function writeLiteConfig(installConfig: InstallConfig): ConfigMergeResult;
20
20
  export declare function disableDefaultAgents(): ConfigMergeResult;
21
21
  export declare function canModifyOpenCodeConfig(): boolean;
22
- export declare function addAntigravityPlugin(): ConfigMergeResult;
23
- export declare function addGoogleProvider(): ConfigMergeResult;
24
- export declare function addChutesProvider(): ConfigMergeResult;
25
- export declare function detectAntigravityConfig(): boolean;
26
22
  export declare function detectCurrentConfig(): DetectedConfig;
@@ -1,12 +1,4 @@
1
- export * from './chutes-selection';
2
1
  export * from './config-io';
3
- export * from './dynamic-model-selection';
4
- export * from './external-rankings';
5
- export * from './model-selection';
6
- export * from './opencode-models';
7
- export * from './opencode-selection';
8
2
  export * from './paths';
9
- export * from './precedence-resolver';
10
3
  export * from './providers';
11
- export * from './scoring-v2';
12
4
  export * from './system';