oh-my-opencode-slim 0.8.2 → 0.8.4
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 +80 -21
- package/dist/cli/config-io.d.ts +1 -5
- package/dist/cli/config-manager.d.ts +0 -8
- package/dist/cli/custom-skills.d.ts +2 -2
- package/dist/cli/index.js +209 -2817
- package/dist/cli/paths.d.ts +12 -0
- package/dist/cli/providers.d.ts +23 -123
- package/dist/cli/types.d.ts +2 -102
- package/dist/config/loader.d.ts +2 -1
- package/dist/config/schema.d.ts +3 -0
- package/dist/hooks/foreground-fallback/index.d.ts +72 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/index.js +1261 -179
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/lsp/config-store.d.ts +29 -0
- package/dist/tools/lsp/constants.d.ts +18 -2
- package/dist/tools/lsp/index.d.ts +1 -0
- package/dist/tools/lsp/types.d.ts +7 -0
- package/dist/tools/lsp/utils.d.ts +14 -1
- package/oh-my-opencode-slim.schema.json +448 -0
- package/package.json +6 -2
- package/src/skills/cartography/SKILL.md +23 -0
package/README.md
CHANGED
|
@@ -15,27 +15,35 @@
|
|
|
15
15
|
bunx oh-my-opencode-slim@latest install
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The installer
|
|
18
|
+
The installer generates an OpenAI configuration by default (using `gpt-5.4` and `gpt-5.4-mini`). 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 --
|
|
23
|
+
bunx oh-my-opencode-slim@latest install --no-tui --tmux=no --skills=yes
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
To force overwrite of an existing configuration:
|
|
26
27
|
```bash
|
|
27
|
-
opencode
|
|
28
|
+
bunx oh-my-opencode-slim@latest install --reset
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
### For Alternative Providers
|
|
32
|
+
|
|
33
|
+
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.
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
### JSON Schema
|
|
36
|
+
|
|
37
|
+
An official JSON Schema is included in the package for editor validation and autocomplete. Add a `$schema` reference to your config file:
|
|
38
|
+
|
|
39
|
+
```jsonc
|
|
40
|
+
{
|
|
41
|
+
"$schema": "https://unpkg.com/oh-my-opencode-slim@latest/oh-my-opencode-slim.schema.json",
|
|
42
|
+
// your config...
|
|
43
|
+
}
|
|
44
|
+
```
|
|
37
45
|
|
|
38
|
-
|
|
46
|
+
This enables autocomplete and inline validation in VS Code, Neovim, and other editors that support JSON Schema.
|
|
39
47
|
|
|
40
48
|
### For LLM Agents
|
|
41
49
|
|
|
@@ -49,9 +57,30 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
49
57
|
**Detailed installation guide:** [docs/installation.md](docs/installation.md)
|
|
50
58
|
|
|
51
59
|
**Additional guides:**
|
|
52
|
-
- **[
|
|
60
|
+
- **[Provider Configurations](docs/provider-configurations.md)** - Config examples for all supported providers
|
|
53
61
|
- **[Tmux Integration](docs/tmux-integration.md)** - Real-time agent monitoring with tmux
|
|
54
62
|
|
|
63
|
+
### ✅ Verify Your Setup
|
|
64
|
+
|
|
65
|
+
After installation and authentication, verify all agents are configured and responding:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
opencode
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Then run:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
ping all agents
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
<div align="center">
|
|
78
|
+
<img src="img/ping.png" alt="Ping all agents" width="600">
|
|
79
|
+
<p><i>Confirmation that all six agents are online and ready.</i></p>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
If any agent fails to respond, check your provider authentication and config file.
|
|
83
|
+
|
|
55
84
|
---
|
|
56
85
|
|
|
57
86
|
## 🏛️ Meet the Pantheon
|
|
@@ -80,7 +109,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
80
109
|
</tr>
|
|
81
110
|
<tr>
|
|
82
111
|
<td colspan="2">
|
|
83
|
-
<b>
|
|
112
|
+
<b>Default Model:</b> <code>openai/gpt-5.4</code>
|
|
113
|
+
</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<tr>
|
|
116
|
+
<td colspan="2">
|
|
117
|
+
<b>Recommended Models:</b> <code>openai/gpt-5.4</code> <code>kimi-for-coding/k2p5</code>
|
|
84
118
|
</td>
|
|
85
119
|
</tr>
|
|
86
120
|
</table>
|
|
@@ -111,7 +145,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
111
145
|
</tr>
|
|
112
146
|
<tr>
|
|
113
147
|
<td colspan="2">
|
|
114
|
-
<b>
|
|
148
|
+
<b>Default Model:</b> <code>openai/gpt-5.4-mini</code>
|
|
149
|
+
</td>
|
|
150
|
+
</tr>
|
|
151
|
+
<tr>
|
|
152
|
+
<td colspan="2">
|
|
153
|
+
<b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5.4-mini</code>
|
|
115
154
|
</td>
|
|
116
155
|
</tr>
|
|
117
156
|
</table>
|
|
@@ -142,7 +181,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
142
181
|
</tr>
|
|
143
182
|
<tr>
|
|
144
183
|
<td colspan="2">
|
|
145
|
-
<b>
|
|
184
|
+
<b>Default Model:</b> <code>openai/gpt-5.4</code>
|
|
185
|
+
</td>
|
|
186
|
+
</tr>
|
|
187
|
+
<tr>
|
|
188
|
+
<td colspan="2">
|
|
189
|
+
<b>Recommended Models:</b> <code>openai/gpt-5.4</code> <code>kimi-for-coding/k2p5</code>
|
|
146
190
|
</td>
|
|
147
191
|
</tr>
|
|
148
192
|
</table>
|
|
@@ -173,7 +217,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
173
217
|
</tr>
|
|
174
218
|
<tr>
|
|
175
219
|
<td colspan="2">
|
|
176
|
-
<b>
|
|
220
|
+
<b>Default Model:</b> <code>openai/gpt-5.4-mini</code>
|
|
221
|
+
</td>
|
|
222
|
+
</tr>
|
|
223
|
+
<tr>
|
|
224
|
+
<td colspan="2">
|
|
225
|
+
<b>Recommended Models:</b> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5.4-mini</code>
|
|
177
226
|
</td>
|
|
178
227
|
</tr>
|
|
179
228
|
</table>
|
|
@@ -204,7 +253,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
204
253
|
</tr>
|
|
205
254
|
<tr>
|
|
206
255
|
<td colspan="2">
|
|
207
|
-
<b>
|
|
256
|
+
<b>Default Model:</b> <code>kimi-for-coding/k2p5</code>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
<tr>
|
|
260
|
+
<td colspan="2">
|
|
261
|
+
<b>Recommended Models:</b> <code>google/gemini-3.1-pro-preview</code>
|
|
208
262
|
</td>
|
|
209
263
|
</tr>
|
|
210
264
|
</table>
|
|
@@ -235,7 +289,12 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
235
289
|
</tr>
|
|
236
290
|
<tr>
|
|
237
291
|
<td colspan="2">
|
|
238
|
-
<b>
|
|
292
|
+
<b>Default Model:</b> <code>openai/gpt-5.4-mini</code>
|
|
293
|
+
</td>
|
|
294
|
+
</tr>
|
|
295
|
+
<tr>
|
|
296
|
+
<td colspan="2">
|
|
297
|
+
<b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>google/gemini-3.1-pro-preview</code> <code>openai/gpt-5.4-mini</code>
|
|
239
298
|
</td>
|
|
240
299
|
</tr>
|
|
241
300
|
</table>
|
|
@@ -244,10 +303,10 @@ https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/mas
|
|
|
244
303
|
|
|
245
304
|
## 📚 Documentation
|
|
246
305
|
|
|
247
|
-
- **[Quick Reference](docs/quick-reference.md)** -
|
|
306
|
+
- **[Quick Reference](docs/quick-reference.md)** - Skills, MCPs, Tools, Configuration
|
|
307
|
+
- **[Provider Configurations](docs/provider-configurations.md)** - Config examples for OpenAI, Kimi, Copilot, ZAI
|
|
248
308
|
- **[Installation Guide](docs/installation.md)** - Detailed installation and troubleshooting
|
|
249
309
|
- **[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
310
|
- **[Tmux Integration](docs/tmux-integration.md)** - Real-time agent monitoring with tmux
|
|
252
311
|
|
|
253
312
|
---
|
package/dist/cli/config-io.d.ts
CHANGED
|
@@ -16,11 +16,7 @@ export declare function parseConfig(path: string): {
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function writeConfig(configPath: string, config: OpenCodeConfig): void;
|
|
18
18
|
export declare function addPluginToOpenCodeConfig(): Promise<ConfigMergeResult>;
|
|
19
|
-
export declare function writeLiteConfig(installConfig: InstallConfig): ConfigMergeResult;
|
|
19
|
+
export declare function writeLiteConfig(installConfig: InstallConfig, targetPath?: string): 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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A custom skill bundled in this repository.
|
|
3
|
-
* Unlike npx-installed skills, these are copied from src/skills/ to
|
|
3
|
+
* Unlike npx-installed skills, these are copied from src/skills/ to the OpenCode skills directory
|
|
4
4
|
*/
|
|
5
5
|
export interface CustomSkill {
|
|
6
6
|
/** Skill name (folder name) */
|
|
@@ -21,7 +21,7 @@ export declare const CUSTOM_SKILLS: CustomSkill[];
|
|
|
21
21
|
*/
|
|
22
22
|
export declare function getCustomSkillsDir(): string;
|
|
23
23
|
/**
|
|
24
|
-
* Install a custom skill by copying from src/skills/ to
|
|
24
|
+
* Install a custom skill by copying from src/skills/ to the OpenCode skills directory
|
|
25
25
|
* @param skill - The custom skill to install
|
|
26
26
|
* @param projectRoot - Root directory of oh-my-opencode-slim project
|
|
27
27
|
* @returns True if installation succeeded, false otherwise
|