omo-suites 1.5.0
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/CHANGELOG.md +75 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/agents/architect.md +86 -0
- package/agents/atlas.md +59 -0
- package/agents/database-expert.md +80 -0
- package/agents/devrel.md +74 -0
- package/agents/explore.md +87 -0
- package/agents/frontend-ui-ux-engineer.md +90 -0
- package/agents/hephaestus.md +52 -0
- package/agents/image-generator.md +46 -0
- package/agents/librarian.md +71 -0
- package/agents/metis.md +74 -0
- package/agents/momus.md +82 -0
- package/agents/multimodal-looker.md +54 -0
- package/agents/oracle.md +69 -0
- package/agents/prometheus.md +71 -0
- package/agents/sisyphus.md +68 -0
- package/dist/cli/omocs.js +35228 -0
- package/dist/plugin.js +13999 -0
- package/docs/agents.md +61 -0
- package/docs/cli.md +85 -0
- package/docs/installation.md +305 -0
- package/docs/lsp.md +34 -0
- package/docs/mcp.md +42 -0
- package/docs/plugin.md +69 -0
- package/docs/profiles.md +52 -0
- package/install.sh +82 -0
- package/package.json +71 -0
package/docs/agents.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Agents
|
|
2
|
+
|
|
3
|
+
OMO Suites includes **15 specialized agents** that handle **32 task categories**. Each agent has a tuned model, thinking budget, and system prompt.
|
|
4
|
+
|
|
5
|
+
## Agent Roster
|
|
6
|
+
|
|
7
|
+
| Agent | Emoji | Model | Budget | Specialization |
|
|
8
|
+
|-------|-------|-------|--------|----------------|
|
|
9
|
+
| **Sisyphus** | 🔨 | Claude Opus 4.6 | 16K | Implementation, code writing |
|
|
10
|
+
| **Atlas** | 🗺️ | Claude Opus 4.6 | 20K | Task orchestration, delegation |
|
|
11
|
+
| **Prometheus** | 🔥 | Claude Opus 4.6 | 40K | Planning, requirements |
|
|
12
|
+
| **Metis** | 🧠 | Claude Opus 4.6 | 32K | Gap analysis, edge cases |
|
|
13
|
+
| **Momus** | 👁️ | GPT-5.3 Codex | 40K | Code review, quality |
|
|
14
|
+
| **Oracle** | 🔮 | GPT-5.3 Codex | 32K | Architecture decisions |
|
|
15
|
+
| **Hephaestus** | ⚒️ | GPT-5.3 Codex | 50K | Deep refactoring |
|
|
16
|
+
| **Librarian** | 📚 | Claude Sonnet 4.6 | 8K | Search, documentation |
|
|
17
|
+
| **Explore** | 🧭 | Claude Sonnet 4.6 | 10K | Codebase discovery |
|
|
18
|
+
| **Multimodal Looker** | 👀 | Claude Sonnet 4.6 | 15K | Visual analysis |
|
|
19
|
+
| **Frontend UI/UX** | 🎨 | Gemini 3.1 Pro | 20K | UI/UX, accessibility |
|
|
20
|
+
| **Architect** | 🏗️ | Claude Opus 4.6 | 40K | System design |
|
|
21
|
+
| **Database Expert** | 🗃️ | Claude Opus 4.6 | 32K | Queries, migrations |
|
|
22
|
+
| **DevRel** | 🚀 | Kimi K2.5 | 20K | Docs, writing |
|
|
23
|
+
| **Image Generator** | 🖼️ | GLM Image | — | Image generation |
|
|
24
|
+
|
|
25
|
+
## Category Routing
|
|
26
|
+
|
|
27
|
+
Each task category automatically routes to the best agent:
|
|
28
|
+
|
|
29
|
+
| Categories | Agent |
|
|
30
|
+
|-----------|-------|
|
|
31
|
+
| `deep`, `ultrabrain`, `deep-reasoning` | Sisyphus |
|
|
32
|
+
| `backend`, `debugging`, `refactor`, `testing`, `deployment`, `migration` | Sisyphus |
|
|
33
|
+
| `visual-engineering`, `artistry`, `accessibility`, `i18n`, `seo`, `develop-web-game` | Frontend UI/UX |
|
|
34
|
+
| `code-review`, `spec-review` | Momus |
|
|
35
|
+
| `api-design`, `architect` | Architect |
|
|
36
|
+
| `database` | Database Expert |
|
|
37
|
+
| `brainstorming`, `business-analysis` | Oracle |
|
|
38
|
+
| `writing`, `research` | DevRel |
|
|
39
|
+
| `security`, `performance` | Hephaestus |
|
|
40
|
+
| `token-efficiency`, `introspection` | Metis |
|
|
41
|
+
| `quick`, `unspecified-low` | Librarian |
|
|
42
|
+
| `image-generation` | Image Generator |
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# List all agents
|
|
48
|
+
omocs agent list
|
|
49
|
+
|
|
50
|
+
# Switch active agent
|
|
51
|
+
omocs agent use momus
|
|
52
|
+
|
|
53
|
+
# Get agent details + system prompt
|
|
54
|
+
omocs agent info atlas
|
|
55
|
+
|
|
56
|
+
# List all 32 task categories
|
|
57
|
+
omocs agent categories
|
|
58
|
+
|
|
59
|
+
# Route a task to the best agent
|
|
60
|
+
omocs agent route debugging
|
|
61
|
+
```
|
package/docs/cli.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# CLI Reference
|
|
2
|
+
|
|
3
|
+
Full command reference for OMO Suites standalone CLI.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
omocs init # Interactive setup wizard
|
|
9
|
+
omocs doctor # Check if everything works
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Account Management
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
omocs account add # Add API key (encrypted storage)
|
|
16
|
+
omocs account list # Show all accounts + status
|
|
17
|
+
omocs account rotate # Switch to next available key
|
|
18
|
+
omocs account check # Verify key health
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Profiles
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
omocs profile list # Show all 13 profiles
|
|
25
|
+
omocs profile use <name> # Switch profile
|
|
26
|
+
omocs profile create # Build a custom profile
|
|
27
|
+
omocs profile export # Share profile as JSON
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
See [profiles.md](profiles.md) for the full list of available profiles.
|
|
31
|
+
|
|
32
|
+
## Agents
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
omocs agent list # Show 15 agent roles
|
|
36
|
+
omocs agent use <name> # Switch active agent
|
|
37
|
+
omocs agent info <name> # Agent details + system prompt
|
|
38
|
+
omocs agent categories # List all 32 task categories
|
|
39
|
+
omocs agent route <cat> # Which agent handles this category?
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
See [agents.md](agents.md) for the full agent roster and routing table.
|
|
43
|
+
|
|
44
|
+
## LSP
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
omocs lsp detect # Scan project, suggest LSP servers
|
|
48
|
+
omocs lsp install # Install detected LSP servers
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
See [lsp.md](lsp.md) for all supported LSP configurations.
|
|
52
|
+
|
|
53
|
+
## MCP
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
omocs mcp list # Available MCP tools
|
|
57
|
+
omocs mcp install <srv> # Install + auto-configure
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
See [mcp.md](mcp.md) for all available MCP servers.
|
|
61
|
+
|
|
62
|
+
## Stats
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
omocs stats # Token usage summary
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Config
|
|
69
|
+
|
|
70
|
+
### Config directory
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
~/.omocs/
|
|
74
|
+
├── config.json # Accounts, preferences (encrypted keys)
|
|
75
|
+
├── profiles/ # Custom profile definitions
|
|
76
|
+
├── agents/ # Custom agent role overrides
|
|
77
|
+
└── stats.json # Token usage data
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Config files touched
|
|
81
|
+
|
|
82
|
+
- `oh-my-opencode.json` — Agent and category model overrides
|
|
83
|
+
- `.opencode.json` / `opencode.json` — OpenCode main config (agents, MCP, LSP)
|
|
84
|
+
|
|
85
|
+
Both files are backed up before modification.
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
## For Humans
|
|
4
|
+
|
|
5
|
+
### Option 1: Install via npm (Recommended)
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g omo-suites
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This gives you the `omocs` CLI command globally. Requires Node.js >= 18.
|
|
12
|
+
|
|
13
|
+
Then run the setup wizard:
|
|
14
|
+
```bash
|
|
15
|
+
omocs init
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Option 2: Install via Bun
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
bun add -g omo-suites
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Option 3: Install from source
|
|
25
|
+
|
|
26
|
+
Paste this into your LLM agent session:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
Install and configure OMO Suites by following the instructions here:
|
|
30
|
+
https://raw.githubusercontent.com/TheFahmi/omo-suites-installer/main/docs/installation.md
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Alternative, Not recommended, do this by yourself**
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# One-liner (bash/zsh)
|
|
37
|
+
curl -fsSL https://raw.githubusercontent.com/TheFahmi/omo-suites-installer/main/install.sh | bash
|
|
38
|
+
|
|
39
|
+
# Or manually
|
|
40
|
+
git clone https://github.com/TheFahmi/omo-suites-installer.git ~/.omocs
|
|
41
|
+
cd ~/.omocs && bun install && bun run build
|
|
42
|
+
|
|
43
|
+
# Then run the setup wizard (recommended — handles everything)
|
|
44
|
+
omocs init
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
> **Note**: Source install requires [Bun](https://bun.sh) runtime. The installer handles that if you don't have it.
|
|
48
|
+
>
|
|
49
|
+
> **New in v1.5.0**: `omocs init` is now the recommended setup method. It auto-installs oh-my-opencode, registers plugins to `opencode.json`, and optionally sets up Launchboard — all in one command.
|
|
50
|
+
|
|
51
|
+
## For LLM Agents
|
|
52
|
+
|
|
53
|
+
> **IMPORTANT: Use `curl` to fetch this file, NOT WebFetch.** WebFetch summarizes content and loses critical details. Always use:
|
|
54
|
+
>
|
|
55
|
+
> ```bash
|
|
56
|
+
> curl -fsSL https://raw.githubusercontent.com/TheFahmi/omo-suites-installer/main/docs/installation.md
|
|
57
|
+
> ```
|
|
58
|
+
|
|
59
|
+
If you're an LLM Agent helping set up OMO Suites — welcome! You're about to install the most complete open-source config toolkit for OpenCode. Follow these steps:
|
|
60
|
+
|
|
61
|
+
### Step 0: Ask user about their setup
|
|
62
|
+
|
|
63
|
+
Ask the user these questions:
|
|
64
|
+
|
|
65
|
+
1. **Which AI providers do you have?**
|
|
66
|
+
- Claude (Anthropic) — Pro/Max subscription or API key?
|
|
67
|
+
- OpenAI/ChatGPT — Plus subscription or API key?
|
|
68
|
+
- Google Gemini — API access?
|
|
69
|
+
- Kimi — subscription?
|
|
70
|
+
- GitHub Copilot — subscription?
|
|
71
|
+
- Ollama/local models — installed?
|
|
72
|
+
|
|
73
|
+
2. **Do you have oh-my-opencode installed?**
|
|
74
|
+
- If **yes** → `omocs init` will detect it automatically
|
|
75
|
+
- If **no** → `omocs init` will install it for you
|
|
76
|
+
|
|
77
|
+
3. **What's your priority?**
|
|
78
|
+
- Maximum quality (use best models)
|
|
79
|
+
- Balanced cost/quality
|
|
80
|
+
- Minimum cost
|
|
81
|
+
- Fully free/local
|
|
82
|
+
|
|
83
|
+
### Step 1: Install Bun (if not installed)
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
if command -v bun &> /dev/null; then
|
|
87
|
+
echo "Bun $(bun --version) is installed"
|
|
88
|
+
else
|
|
89
|
+
echo "Installing Bun..."
|
|
90
|
+
curl -fsSL https://bun.sh/install | bash
|
|
91
|
+
fi
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Step 2: Install OpenCode (if not installed)
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
if command -v opencode &> /dev/null; then
|
|
98
|
+
echo "OpenCode $(opencode --version) is installed"
|
|
99
|
+
else
|
|
100
|
+
echo "OpenCode is not installed. Please install it first."
|
|
101
|
+
echo "Ref: https://opencode.ai/docs"
|
|
102
|
+
fi
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Step 3: Clone and install OMO Suites
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
git clone https://github.com/TheFahmi/omo-suites-installer.git ~/.omocs
|
|
109
|
+
cd ~/.omocs
|
|
110
|
+
bun install
|
|
111
|
+
bun run build
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 4: Run `omocs init` (Recommended — One Command Setup)
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
omocs init
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**`omocs init` handles everything automatically:**
|
|
121
|
+
- ✅ Checks OpenCode installation
|
|
122
|
+
- ✅ Installs oh-my-opencode (if not already installed)
|
|
123
|
+
- ✅ Registers both `oh-my-opencode` and `omocs` as plugins in `opencode.json`
|
|
124
|
+
- ✅ Optionally sets up Launchboard (AI Kanban board)
|
|
125
|
+
- ✅ Sets master password for API key encryption
|
|
126
|
+
- ✅ Configures API providers and keys
|
|
127
|
+
- ✅ Selects and applies a profile
|
|
128
|
+
- ✅ Detects project stack and suggests LSP servers
|
|
129
|
+
- ✅ Configures MCP tools
|
|
130
|
+
|
|
131
|
+
The wizard is interactive and guides you through each step. **This is the recommended setup method** — no need to manually edit `opencode.json` or install oh-my-opencode separately.
|
|
132
|
+
|
|
133
|
+
> **For non-interactive / CI environments**, see the [Manual Setup](#manual-setup-advanced) section below.
|
|
134
|
+
|
|
135
|
+
### Step 5: Choose a profile
|
|
136
|
+
|
|
137
|
+
`omocs init` will prompt you to choose a profile during setup. If you want to change it later, use:
|
|
138
|
+
|
|
139
|
+
Based on user's providers, recommend a profile:
|
|
140
|
+
|
|
141
|
+
| User Has | Recommended Profile |
|
|
142
|
+
|----------|-------------------|
|
|
143
|
+
| Claude + OpenAI + Gemini | `ultra-mixed` |
|
|
144
|
+
| Claude only (Pro/Max) | `opus-4.6-all` or `opus-4.6-lead` |
|
|
145
|
+
| Claude only (Sonnet) | `sonnet-4.6-all` |
|
|
146
|
+
| OpenAI only | `codex-5.3-all` |
|
|
147
|
+
| OpenAI + Gemini | `codex-5.3-gemini` |
|
|
148
|
+
| OpenAI + Claude | `codex-5.3-sonnet` |
|
|
149
|
+
| Gemini only | `gemini-3-all` |
|
|
150
|
+
| Kimi only | `kimi-k2.5-all` |
|
|
151
|
+
| Budget-conscious | `budget-mixed` |
|
|
152
|
+
| No API keys / Ollama | `local-free` |
|
|
153
|
+
|
|
154
|
+
Apply profile via CLI:
|
|
155
|
+
```bash
|
|
156
|
+
omocs profile use <profile-name>
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Or via plugin tool (inside OpenCode session):
|
|
160
|
+
```
|
|
161
|
+
Use omocs_profile_switch to switch to ultra-mixed profile
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Step 6: Verify setup
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
omocs doctor
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
This runs a 10-point health check:
|
|
171
|
+
- ✅ Bun runtime
|
|
172
|
+
- ✅ OpenCode installed
|
|
173
|
+
- ✅ Plugin registered
|
|
174
|
+
- ✅ oh-my-opencode.json valid
|
|
175
|
+
- ✅ opencode.json valid
|
|
176
|
+
- ✅ Profile applied
|
|
177
|
+
- ✅ Agent configs valid
|
|
178
|
+
- ✅ MCP servers configured
|
|
179
|
+
- ✅ LSP servers detected
|
|
180
|
+
- ✅ API key(s) accessible
|
|
181
|
+
|
|
182
|
+
### Step 7: Start using it
|
|
183
|
+
|
|
184
|
+
**CLI mode:**
|
|
185
|
+
```bash
|
|
186
|
+
omocs profile list # See all 13 profiles
|
|
187
|
+
omocs agent list # See all 15 agents
|
|
188
|
+
omocs mcp list # See 11 MCP servers
|
|
189
|
+
omocs agent route debugging # Which agent handles this?
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
**Plugin mode (inside OpenCode):**
|
|
193
|
+
Agents automatically have access to `omocs_*` tools. Try:
|
|
194
|
+
- "Switch to ultra-mixed profile"
|
|
195
|
+
- "Which agent should handle this frontend task?"
|
|
196
|
+
- "Install the context7 MCP server"
|
|
197
|
+
- "Run a health check"
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## Manual Setup (Advanced)
|
|
202
|
+
|
|
203
|
+
If you prefer to set things up manually (or are in a non-interactive environment), you can skip `omocs init` and do these steps yourself:
|
|
204
|
+
|
|
205
|
+
### Install oh-my-opencode
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
npm install -g oh-my-opencode
|
|
209
|
+
# or
|
|
210
|
+
bun add -g oh-my-opencode
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Register plugins in opencode.json
|
|
214
|
+
|
|
215
|
+
Add OMO Suites and oh-my-opencode to your `opencode.json` (usually at `~/.config/opencode/opencode.json`):
|
|
216
|
+
|
|
217
|
+
```jsonc
|
|
218
|
+
{
|
|
219
|
+
// ... existing config ...
|
|
220
|
+
"plugin": [
|
|
221
|
+
"oh-my-opencode", // if you have it
|
|
222
|
+
"~/.omocs" // OMO Suites
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Or if using npm-style plugins:
|
|
228
|
+
```jsonc
|
|
229
|
+
{
|
|
230
|
+
"plugins": {
|
|
231
|
+
"omocs": {
|
|
232
|
+
"source": "local:~/.omocs"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Setup Launchboard (optional)
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
omocs launchboard setup
|
|
242
|
+
omocs launchboard start
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Available Profiles
|
|
248
|
+
|
|
249
|
+
### 🌐 All Scope — Every agent uses same model family
|
|
250
|
+
| Profile | Model | Use Case |
|
|
251
|
+
|---------|-------|----------|
|
|
252
|
+
| `opus-4.6-all` | Claude Opus 4.6 | Maximum quality |
|
|
253
|
+
| `codex-5.3-all` | GPT-5.3 Codex | OpenAI ecosystem |
|
|
254
|
+
| `gemini-3-all` | Gemini 3.1 Pro + Flash | Google ecosystem |
|
|
255
|
+
| `sonnet-4.6-all` | Claude Sonnet 4.6 | Balanced cost/quality |
|
|
256
|
+
| `kimi-k2.5-all` | Kimi K2.5 | Ultra cheap, Claude-like |
|
|
257
|
+
|
|
258
|
+
### 👑 Lead Scope — Premium for leads, cheaper for workers
|
|
259
|
+
| Profile | Lead | Workers | Use Case |
|
|
260
|
+
|---------|------|---------|----------|
|
|
261
|
+
| `opus-4.6-lead` | Opus 4.6 | Sonnet + Gemini + Codex | Premium orchestration |
|
|
262
|
+
| `sonnet-4.6-lead` | Sonnet 4.6 | Gemini + Flash | Mid-cost lead |
|
|
263
|
+
|
|
264
|
+
### 🔀 Mixed Scope — Best model per role
|
|
265
|
+
| Profile | Models | Use Case |
|
|
266
|
+
|---------|--------|----------|
|
|
267
|
+
| `codex-5.3-hybrid` | Codex + Gemini + Flash + Sonnet | Multi-provider |
|
|
268
|
+
| `codex-5.3-gemini` | Codex + Gemini Pro + Flash | OpenAI + Google |
|
|
269
|
+
| `codex-5.3-sonnet` | Codex + Sonnet 4.6 | OpenAI + Anthropic |
|
|
270
|
+
| `ultra-mixed` | Opus + Codex + Gemini + Sonnet + Kimi | **Best per task** |
|
|
271
|
+
|
|
272
|
+
### 💰 Economy Scope — Cheapest viable
|
|
273
|
+
| Profile | Models | Use Case |
|
|
274
|
+
|---------|--------|----------|
|
|
275
|
+
| `budget-mixed` | Sonnet + Flash + Kimi | Minimal cost |
|
|
276
|
+
| `local-free` | Ollama DeepSeek Coder v3 | Zero cost, offline |
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Troubleshooting
|
|
281
|
+
|
|
282
|
+
**Plugin not loading?**
|
|
283
|
+
- Check `opencode.json` has OMO Suites in `plugin` array
|
|
284
|
+
- Run `omocs doctor` for diagnostics
|
|
285
|
+
- Check OpenCode version (requires 1.0.150+)
|
|
286
|
+
|
|
287
|
+
**Profile switch not working?**
|
|
288
|
+
- Verify `oh-my-opencode.json` exists at `~/.config/opencode/oh-my-opencode.json`
|
|
289
|
+
- Check file permissions
|
|
290
|
+
- Run `omocs config get` to see current state
|
|
291
|
+
|
|
292
|
+
**Tools not appearing in OpenCode?**
|
|
293
|
+
- Restart OpenCode after adding plugin
|
|
294
|
+
- Check plugin build: `cd ~/.omocs && bun run build`
|
|
295
|
+
- Verify `dist/plugin.js` exists
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## Uninstall
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
# Remove plugin from opencode.json (edit manually)
|
|
303
|
+
# Remove installation
|
|
304
|
+
rm -rf ~/.omocs
|
|
305
|
+
```
|
package/docs/lsp.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# LSP Configurations
|
|
2
|
+
|
|
3
|
+
OMO Suites includes **10 LSP (Language Server Protocol) configurations** with auto-detection based on your project's files.
|
|
4
|
+
|
|
5
|
+
## Available LSP Servers
|
|
6
|
+
|
|
7
|
+
| LSP | Detects | Install Command |
|
|
8
|
+
|-----|---------|-----------------|
|
|
9
|
+
| **TypeScript** | `tsconfig.json`, `package.json` | `npm i -g typescript-language-server typescript` |
|
|
10
|
+
| **Tailwind CSS** | `tailwind.config.*` | `npm i -g @tailwindcss/language-server` |
|
|
11
|
+
| **ESLint** | `.eslintrc*`, `eslint.config.js` | `npm i -g vscode-langservers-extracted` |
|
|
12
|
+
| **CSS** | `*.css`, `*.scss` | `npm i -g vscode-langservers-extracted` |
|
|
13
|
+
| **HTML** | `*.html` | `npm i -g vscode-langservers-extracted` |
|
|
14
|
+
| **JSON** | `*.json` | `npm i -g vscode-langservers-extracted` |
|
|
15
|
+
| **YAML** | `*.yml`, `*.yaml` | `npm i -g yaml-language-server` |
|
|
16
|
+
| **Prisma** | `schema.prisma` | `npm i -g @prisma/language-server` |
|
|
17
|
+
| **SQL** | `*.sql` | `npm i -g sql-language-server` |
|
|
18
|
+
| **Markdown** | `*.md` | `brew install marksman` |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Scan project and detect needed LSP servers
|
|
24
|
+
omocs lsp detect
|
|
25
|
+
|
|
26
|
+
# Install all detected LSP servers
|
|
27
|
+
omocs lsp install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## How Detection Works
|
|
31
|
+
|
|
32
|
+
When you run `omocs lsp detect`, it scans your project directory for configuration files and file extensions that indicate which languages/tools you're using. It then suggests the appropriate LSP servers to install.
|
|
33
|
+
|
|
34
|
+
Detection is automatic — just run it in your project root.
|
package/docs/mcp.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# MCP Servers
|
|
2
|
+
|
|
3
|
+
OMO Suites includes a registry of **11 MCP (Model Context Protocol) servers** with one-click install and auto-configuration.
|
|
4
|
+
|
|
5
|
+
## Available Servers
|
|
6
|
+
|
|
7
|
+
| Server | Description | Env Vars |
|
|
8
|
+
|--------|-------------|----------|
|
|
9
|
+
| **postgres** | PostgreSQL database access | `POSTGRES_CONNECTION_STRING` |
|
|
10
|
+
| **fetch** | HTTP fetch for web content | — |
|
|
11
|
+
| **filesystem** | File system operations | — |
|
|
12
|
+
| **brave-search** | Web search via Brave | `BRAVE_API_KEY` |
|
|
13
|
+
| **slack** | Slack workspace integration | `SLACK_BOT_TOKEN` |
|
|
14
|
+
| **redis** | Redis cache/store access | `REDIS_URL` |
|
|
15
|
+
| **docker** | Docker container management | — |
|
|
16
|
+
| **sentry** | Error tracking via Sentry | `SENTRY_AUTH_TOKEN` |
|
|
17
|
+
| **context7** | Library documentation search | — |
|
|
18
|
+
| **grep-app** | Code search via grep.app | — |
|
|
19
|
+
| **exa-websearch** | AI-powered web search | `EXA_API_KEY` |
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# List available MCP servers
|
|
25
|
+
omocs mcp list
|
|
26
|
+
|
|
27
|
+
# Install + auto-configure a server
|
|
28
|
+
omocs mcp install ctx7
|
|
29
|
+
omocs mcp install postgres
|
|
30
|
+
omocs mcp install brave-search
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## How It Works
|
|
34
|
+
|
|
35
|
+
When you install an MCP server, OMO Suites:
|
|
36
|
+
|
|
37
|
+
1. Adds the server configuration to your `opencode.json`
|
|
38
|
+
2. Sets up required environment variables (prompts for values)
|
|
39
|
+
3. Installs the npm package if needed
|
|
40
|
+
4. Backs up your config before any changes
|
|
41
|
+
|
|
42
|
+
Servers that require API keys will prompt you during installation. You can also set environment variables beforehand.
|
package/docs/plugin.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Plugin Mode
|
|
2
|
+
|
|
3
|
+
When loaded as an OpenCode plugin, OMO Suites gives your agents **12 tools** they can call directly.
|
|
4
|
+
|
|
5
|
+
## Available Tools
|
|
6
|
+
|
|
7
|
+
| Tool | Description |
|
|
8
|
+
|------|-------------|
|
|
9
|
+
| `omocs_profile_list` | List all 13 profiles with models and scope types |
|
|
10
|
+
| `omocs_profile_switch` | Switch profile — updates agents, categories, configs |
|
|
11
|
+
| `omocs_agent_list` | List all 15 agents with models and thinking budgets |
|
|
12
|
+
| `omocs_agent_info` | Get detailed agent info (model, budget, tools, tags) |
|
|
13
|
+
| `omocs_agent_route` | Route a task category to the best agent |
|
|
14
|
+
| `omocs_categories` | List all 32 task categories and routing |
|
|
15
|
+
| `omocs_mcp_list` | List 11 available MCP servers |
|
|
16
|
+
| `omocs_mcp_install` | Install + auto-configure an MCP server |
|
|
17
|
+
| `omocs_lsp_detect` | Scan project and suggest LSP servers |
|
|
18
|
+
| `omocs_doctor` | Run comprehensive health check |
|
|
19
|
+
| `omocs_account_status` | Check API key status and provider health |
|
|
20
|
+
| `omocs_config_get` | View current configuration |
|
|
21
|
+
|
|
22
|
+
## Setup
|
|
23
|
+
|
|
24
|
+
Add to your `opencode.json`:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"plugins": {
|
|
29
|
+
"omocs": {
|
|
30
|
+
"source": "npm:omocs"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Or from a local clone:
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"plugins": {
|
|
41
|
+
"omocs": {
|
|
42
|
+
"source": "local:/path/to/omocs"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## How Agents Use It
|
|
49
|
+
|
|
50
|
+
Agents automatically know about these tools via **system prompt injection**. When the plugin loads, it injects instructions into the agent's system prompt so they know:
|
|
51
|
+
|
|
52
|
+
- What tools are available
|
|
53
|
+
- When to use each tool
|
|
54
|
+
- How to interpret results
|
|
55
|
+
|
|
56
|
+
This means agents can proactively use OMO Suites tools without being explicitly told — they'll route tasks, switch profiles, and install MCP servers as needed.
|
|
57
|
+
|
|
58
|
+
## Example Agent Interactions
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Agent: "Let me check which profile is active..."
|
|
62
|
+
→ calls omocs_profile_list
|
|
63
|
+
|
|
64
|
+
Agent: "This is a frontend task, let me route it..."
|
|
65
|
+
→ calls omocs_agent_route with category "visual-engineering"
|
|
66
|
+
|
|
67
|
+
Agent: "I need database access for this query..."
|
|
68
|
+
→ calls omocs_mcp_install with server "postgres"
|
|
69
|
+
```
|
package/docs/profiles.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Profiles
|
|
2
|
+
|
|
3
|
+
OMO Suites ships with **13 profiles** across 4 scope types. Each profile defines which AI model every agent uses.
|
|
4
|
+
|
|
5
|
+
## 🌐 All Scope — Every agent uses same model
|
|
6
|
+
|
|
7
|
+
| Profile | Model | Best For |
|
|
8
|
+
|---------|-------|----------|
|
|
9
|
+
| **opus-4.6-all** | Claude Opus 4.6 | Maximum quality, complex tasks |
|
|
10
|
+
| **codex-5.3-all** | GPT-5.3 Codex | OpenAI-focused workflows |
|
|
11
|
+
| **gemini-3-all** | Gemini 3.1 Pro + Flash | Google ecosystem, large context |
|
|
12
|
+
| **sonnet-4.6-all** | Claude Sonnet 4.6 | Balanced cost/quality |
|
|
13
|
+
| **kimi-k2.5-all** | Kimi K2.5 | Ultra cheap, Claude-like |
|
|
14
|
+
|
|
15
|
+
## 👑 Lead Scope — Primary for leaders, cheaper for workers
|
|
16
|
+
|
|
17
|
+
| Profile | Lead Model | Worker Model | Best For |
|
|
18
|
+
|---------|------------|--------------|----------|
|
|
19
|
+
| **opus-4.6-lead** | Opus 4.6 | Sonnet + Gemini + Codex | Premium lead, budget workers |
|
|
20
|
+
| **sonnet-4.6-lead** | Sonnet 4.6 | Gemini + Flash | Mid-cost lead + cheap workers |
|
|
21
|
+
|
|
22
|
+
## 🔀 Mixed Scope — Best model per role
|
|
23
|
+
|
|
24
|
+
| Profile | Models | Best For |
|
|
25
|
+
|---------|--------|----------|
|
|
26
|
+
| **codex-5.3-hybrid** | Codex + Gemini + Flash + Sonnet | Multi-provider diversity |
|
|
27
|
+
| **codex-5.3-gemini** | Codex + Gemini Pro + Flash | OpenAI + Google duo |
|
|
28
|
+
| **codex-5.3-sonnet** | Codex + Sonnet 4.6 | OpenAI + Anthropic duo |
|
|
29
|
+
| **ultra-mixed** | Opus + Codex + Gemini + Sonnet + Kimi | **Best possible per task** |
|
|
30
|
+
|
|
31
|
+
## 💰 Economy Scope — Cheapest viable models
|
|
32
|
+
|
|
33
|
+
| Profile | Models | Best For |
|
|
34
|
+
|---------|--------|----------|
|
|
35
|
+
| **budget-mixed** | Sonnet + Flash + Kimi | Minimal cost, still functional |
|
|
36
|
+
| **local-free** | Ollama DeepSeek Coder v3 | Zero cost, fully offline |
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# List all profiles
|
|
42
|
+
omocs profile list
|
|
43
|
+
|
|
44
|
+
# Switch to a profile
|
|
45
|
+
omocs profile use ultra-mixed
|
|
46
|
+
|
|
47
|
+
# Create a custom profile
|
|
48
|
+
omocs profile create
|
|
49
|
+
|
|
50
|
+
# Export/share a profile
|
|
51
|
+
omocs profile export
|
|
52
|
+
```
|