oh-my-opencode-slim 2.0.0-beta.8 → 2.0.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.
Files changed (50) hide show
  1. package/README.ja-JP.md +86 -32
  2. package/README.ko-KR.md +690 -0
  3. package/README.md +118 -45
  4. package/README.zh-CN.md +97 -37
  5. package/dist/cli/background-subagents.d.ts +13 -0
  6. package/dist/cli/companion.d.ts +4 -0
  7. package/dist/cli/index.d.ts +2 -1
  8. package/dist/cli/index.js +624 -96
  9. package/dist/cli/install.d.ts +6 -1
  10. package/dist/cli/providers.d.ts +2 -1
  11. package/dist/cli/types.d.ts +8 -0
  12. package/dist/companion/manager.d.ts +38 -0
  13. package/dist/config/constants.d.ts +4 -1
  14. package/dist/config/fallback-chains.d.ts +1 -0
  15. package/dist/config/schema.d.ts +46 -40
  16. package/dist/hooks/auto-update-checker/checker.d.ts +7 -1
  17. package/dist/hooks/auto-update-checker/constants.d.ts +1 -0
  18. package/dist/hooks/auto-update-checker/types.d.ts +10 -0
  19. package/dist/hooks/index.d.ts +0 -2
  20. package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
  21. package/dist/hooks/phase-reminder/index.d.ts +1 -1
  22. package/dist/index.js +1996 -2132
  23. package/dist/mcp/grep-app.d.ts +1 -1
  24. package/dist/multiplexer/zellij/index.d.ts +17 -3
  25. package/dist/tools/cancel-task.d.ts +16 -0
  26. package/dist/tools/index.d.ts +1 -0
  27. package/dist/tools/preset-manager.d.ts +6 -7
  28. package/dist/tui.js +71 -32
  29. package/dist/utils/background-job-board.d.ts +40 -0
  30. package/dist/utils/index.d.ts +0 -1
  31. package/dist/utils/task.d.ts +2 -0
  32. package/oh-my-opencode-slim.schema.json +34 -91
  33. package/package.json +4 -3
  34. package/src/skills/codemap.md +3 -1
  35. package/src/skills/deepwork/SKILL.md +25 -3
  36. package/src/skills/oh-my-opencode-slim/SKILL.md +326 -0
  37. package/dist/divoom/council.gif +0 -0
  38. package/dist/divoom/designer.gif +0 -0
  39. package/dist/divoom/explorer.gif +0 -0
  40. package/dist/divoom/fixer.gif +0 -0
  41. package/dist/divoom/input.gif +0 -0
  42. package/dist/divoom/intro.gif +0 -0
  43. package/dist/divoom/librarian.gif +0 -0
  44. package/dist/divoom/manager.d.ts +0 -57
  45. package/dist/divoom/oracle.gif +0 -0
  46. package/dist/divoom/orchestrator.gif +0 -0
  47. package/dist/hooks/goal/index.d.ts +0 -38
  48. package/dist/hooks/todo-continuation/index.d.ts +0 -55
  49. package/dist/hooks/todo-continuation/todo-hygiene.d.ts +0 -35
  50. package/dist/utils/session-manager.d.ts +0 -55
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  <div align="center">
2
2
  <a href="https://github.com/alvinunreal/oh-my-opencode-slim/stargazers">
3
- <img src="img/4k.png" alt="4K GitHub Stars Milestone" style="border-radius: 10px;">
3
+ <img src="img/v2.webp" alt="oh-my-opencode-slim V2 Release" style="border-radius: 10px;">
4
4
  </a>
5
- <h3>✨ V2 Beta Release: Background Orchestration Has Arrived ✨</h3>
6
- <p><i>The orchestrator now schedules specialist agents in the background,<br>while <code>/deepwork</code> turns big goals into file-backed plans.<br>Beta testers: share your feedback with us on Telegram.</i></p>
5
+ <h3>✨ oh-my-opencode-slim ✨</h3>
7
6
 
8
- <p><b>Open Multi Agent Suite</b> · Mix any models · Auto delegate tasks</p>
7
+ <p><i>Seven divine beings emerged from the dawn of code, each an immortal master of their craft,<br>awaiting your command to forge order from chaos and build what was once thought impossible.</i></p>
9
8
 
9
+ <p><b>Opencode Multi Agent Suite</b> · Mix any models · Auto delegate tasks</p>
10
10
  <p><sub>by <b>Boring Dystopia Development</b></sub></p>
11
11
  <p>
12
12
  <a href="https://boringdystopia.ai/"><img src="https://img.shields.io/badge/boringdystopia.ai-111111?style=for-the-badge&logo=vercel&logoColor=white" alt="boringdystopia.ai"></a>&nbsp;
@@ -15,11 +15,12 @@
15
15
  </p>
16
16
 
17
17
  <p>
18
- <b>English</b> | <a href="README.zh-CN.md">简体中文</a> | <a href="README.ja-JP.md">日本語</a>
18
+ <b>English</b> | <a href="README.zh-CN.md">简体中文</a> | <a href="README.ja-JP.md">日本語</a> | <a href="README.ko-KR.md">한국어</a>
19
19
  </p>
20
- </div>
21
20
 
22
- ---
21
+ <p><sub>✦ ✦ ✦</sub></p>
22
+
23
+ </div>
23
24
 
24
25
  ## What's This Plugin
25
26
 
@@ -45,22 +46,9 @@ Install and configure oh-my-opencode-slim: https://raw.githubusercontent.com/alv
45
46
  bunx oh-my-opencode-slim@latest install
46
47
  ```
47
48
 
48
- ### V2 Background-Orchestration Beta
49
-
50
- V2 changes the orchestrator from the default execution worker into a scheduler:
51
- it plans work, dispatches specialists as background tasks, polls their status,
52
- then reconciles results before continuing. This requires OpenCode's native
53
- background subagent support, so beta users must start OpenCode with the
54
- experimental flag enabled.
55
-
56
- ```bash
57
- bunx oh-my-opencode-slim@beta install
58
- OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
59
- ```
60
-
61
49
  ### Getting Started
62
50
 
63
- The installer generates both OpenAI and OpenCode Go presets, with OpenAI active by default. OpenAI uses `openai/gpt-5.5` for the higher-judgment agents and `openai/gpt-5.4-mini` for the faster scoped agents. To make OpenCode Go active during install, run `bunx oh-my-opencode-slim@latest install --preset=opencode-go` or change the default preset name in `~/.config/opencode/oh-my-opencode-slim.json` after installation.
51
+ The installer generates both OpenAI and OpenCode Go presets, with OpenAI active by default. OpenAI uses `openai/gpt-5.5 (medium)` for the workflow manager/scheduler, `openai/gpt-5.5 (high)` for the Oracle, `openai/gpt-5.5 (low)` for the Fixer, and `openai/gpt-5.4-mini` variants for other specialists. To make OpenCode Go active during install, run `bunx oh-my-opencode-slim@latest install --preset=opencode-go` or change the default preset name in `~/.config/opencode/oh-my-opencode-slim.json` after installation.
64
52
 
65
53
  Then:
66
54
 
@@ -75,11 +63,13 @@ Then:
75
63
  opencode models --refresh
76
64
  ```
77
65
  3. **Open your plugin config** at `~/.config/opencode/oh-my-opencode-slim.json`
66
+ or `$OPENCODE_CONFIG_DIR/oh-my-opencode-slim.json` if you use a custom
67
+ OpenCode config directory
78
68
 
79
69
  4. **Update the models you want for each agent**
80
70
 
81
71
  > [!TIP]
82
- > It's **recommended** to understand how automatic delegation works. The **[Orchestrator prompt](https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/agents/orchestrator.ts#L28)** contains the delegation rules, specialist routing logic, and the thresholds for when the main agent should hand work off to subagents. You can alway delegate manually by calling a subagent via: `@agentName <task>`
72
+ > It's **recommended** to understand how background orchestration works. The **[Orchestrator prompt](https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/agents/orchestrator.ts#L28)** contains the scheduler rules, specialist routing logic, and thresholds for when work should be assigned to background agents. You can always delegate manually by calling a subagent via: `@agentName <task>`
83
73
 
84
74
  The default generated configuration includes both `openai` and `opencode-go` presets.
85
75
 
@@ -89,18 +79,18 @@ The default generated configuration includes both `openai` and `opencode-go` pre
89
79
  "preset": "openai",
90
80
  "presets": {
91
81
  "openai": {
92
- "orchestrator": { "model": "openai/gpt-5.5", "skills": ["*"], "mcps": ["*", "!context7"] },
82
+ "orchestrator": { "model": "openai/gpt-5.5", "variant": "medium", "skills": ["*"], "mcps": ["*", "!context7"] },
93
83
  "oracle": { "model": "openai/gpt-5.5", "variant": "high", "skills": ["simplify"], "mcps": [] },
94
- "librarian": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
84
+ "librarian": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "gh_grep"] },
95
85
  "explorer": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": [] },
96
86
  "designer": { "model": "openai/gpt-5.4-mini", "variant": "medium", "skills": [], "mcps": [] },
97
- "fixer": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": [] }
87
+ "fixer": { "model": "openai/gpt-5.5", "variant": "low", "skills": [], "mcps": [] }
98
88
  },
99
89
  "opencode-go": {
100
90
  "orchestrator": { "model": "opencode-go/glm-5.1", "skills": [ "*" ], "mcps": [ "*", "!context7" ] },
101
91
  "oracle": { "model": "opencode-go/deepseek-v4-pro", "variant": "max", "skills": ["simplify"], "mcps": [] },
102
92
  "council": { "model": "opencode-go/deepseek-v4-pro", "variant": "high", "skills": [], "mcps": [] },
103
- "librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "grep_app" ] },
93
+ "librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "gh_grep" ] },
104
94
  "explorer": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [] },
105
95
  "designer": { "model": "opencode-go/kimi-k2.6", "variant": "medium", "skills": [], "mcps": [] },
106
96
  "fixer": { "model": "opencode-go/deepseek-v4-flash", "variant": "high", "skills": [], "mcps": [] }
@@ -117,8 +107,6 @@ The configuration guide also covers custom subagents via `agents.<name>`, where
117
107
  you can define both a normal `prompt` and an `orchestratorPrompt` block for
118
108
  delegation.
119
109
 
120
- For model suggestions, see the **Recommended Models** listed under each agent below.
121
-
122
110
  ### ✅ Verify Your Setup
123
111
 
124
112
  After installation and authentication, verify all agents are configured and responding:
@@ -142,6 +130,86 @@ If any agent fails to respond, check your provider authentication and config fil
142
130
 
143
131
  ---
144
132
 
133
+ ### What's New in V2
134
+
135
+ V2 turns oh-my-opencode-slim into a scheduler-first multi-agent workflow system.
136
+ The Orchestrator stays focused on planning, delegation, reconciliation, and
137
+ verification while specialists do the work in their own lanes.
138
+
139
+ - **[Background agents](#background-agents)** — the Orchestrator now dispatches
140
+ specialists as background tasks, tracks task/session IDs, waits for completion
141
+ events, and reconciles results before continuing.
142
+ - **[Companion](#companion)** — an optional floating desktop window shows which
143
+ agents are currently active, including parallel background specialists.
144
+ - **[Deepwork](#deepwork)** — a structured workflow for large, multi-file, risky,
145
+ or phased coding work using persistent plan files and Oracle review gates.
146
+ - **[oh-my-opencode-slim skill](#oh-my-opencode-slim-skill)** — a bundled
147
+ configuration skill that helps tune models, prompts, custom agents, MCP access,
148
+ presets, and plugin behavior safely.
149
+
150
+ #### Background Agents
151
+
152
+ V2 makes background specialists the default mental model: the Orchestrator plans
153
+ the work graph, launches the right agents, avoids overlapping write ownership,
154
+ and waits for terminal task results before acting on them.
155
+
156
+ See **[Background Orchestration](docs/v2-background-orchestration.md)** for the
157
+ full scheduler model.
158
+
159
+ #### Companion
160
+
161
+ The optional Companion is a floating desktop status window for live agent
162
+ activity. It shows the current session state and which agents are active, so
163
+ background work is easier to follow at a glance.
164
+
165
+ <div align="center">
166
+ <img src="img/companion.gif" alt="Companion showing active agents" width="600">
167
+ <p><i>Left bottom visual companion.</i></p>
168
+ </div>
169
+
170
+ During interactive install, the installer asks whether to enable Companion and
171
+ defaults to `yes`. For automation, enable it explicitly with:
172
+
173
+ ```bash
174
+ bunx oh-my-opencode-slim@latest install --companion=yes
175
+ ```
176
+
177
+ See **[Companion](docs/companion.md)** for configuration, positions, sizes, and
178
+ install details.
179
+
180
+ #### Deepwork
181
+
182
+ Deepwork is for heavy coding sessions: broad refactors, multi-phase features,
183
+ risky architecture changes, or work that needs a persistent plan. It creates a
184
+ local markdown progress file, uses Oracle review gates, and keeps implementation
185
+ phases structured.
186
+
187
+ Start it with:
188
+
189
+ ```text
190
+ /deepwork <heavy coding task>
191
+ ```
192
+
193
+ See **[Skills](docs/skills.md#deepwork)** for when to use it and how the workflow
194
+ runs.
195
+
196
+ #### oh-my-opencode-slim Skill
197
+
198
+ The bundled `oh-my-opencode-slim` skill helps the Orchestrator configure and
199
+ improve the plugin itself. Use it for model tuning, custom agents, prompt
200
+ overrides, skill/MCP permissions, presets, optional agents, background
201
+ orchestration, and recurring workflow friction.
202
+
203
+ <div align="center">
204
+ <img src="img/oh-my-opencode-skill.png" alt="oh-my-opencode-slim skill in use" width="600">
205
+ <p><i>Ask the bundled skill to tune and improve your agent setup.</i></p>
206
+ </div>
207
+
208
+ See **[Skills](docs/skills.md#oh-my-opencode-slim)** for examples and safety
209
+ rules.
210
+
211
+ ---
212
+
145
213
  <a id="meet-the-pantheon"></a>
146
214
 
147
215
  ## 🏛️ Meet the Pantheon
@@ -170,17 +238,17 @@ If any agent fails to respond, check your provider authentication and config fil
170
238
  </tr>
171
239
  <tr>
172
240
  <td colspan="2">
173
- <b>Default Model:</b> <code>openai/gpt-5.5</code>
241
+ <b>Default Model:</b> <code>openai/gpt-5.5 (medium)</code>
174
242
  </td>
175
243
  </tr>
176
244
  <tr>
177
245
  <td colspan="2">
178
- <b>Recommended Models:</b> <code>openai/gpt-5.5</code> <code>anthropic/claude-opus-4.6</code>
246
+ <b>Recommended Models:</b> <code>openai/gpt-5.5 (medium)</code> <code>anthropic/claude-fable-5</code> <code>anthropic/claude-opus-4-8</code>
179
247
  </td>
180
248
  </tr>
181
249
  <tr>
182
250
  <td colspan="2">
183
- <b>Model Guidance:</b> Choose your default, strongest all-around coding model. Orchestrator is both the main coding agent and the delegator, so it needs strong implementation ability, good judgment, and reliable instruction-following.
251
+ <b>Model Guidance:</b> Choose your strongest planning and judgment model. Orchestrator is the workflow manager: it plans, schedules background specialists, reconciles results, and verifies outcomes, so it needs reliable instruction-following and high-level technical judgment more than raw worker throughput.
184
252
  </td>
185
253
  </tr>
186
254
  </table>
@@ -216,7 +284,7 @@ If any agent fails to respond, check your provider authentication and config fil
216
284
  </tr>
217
285
  <tr>
218
286
  <td colspan="2">
219
- <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
287
+ <b>Recommended Models:</b> <code>openai/gpt-5.3-codex</code> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p6-turbo</code>
220
288
  </td>
221
289
  </tr>
222
290
  <tr>
@@ -257,7 +325,7 @@ If any agent fails to respond, check your provider authentication and config fil
257
325
  </tr>
258
326
  <tr>
259
327
  <td colspan="2">
260
- <b>Recommended Models:</b> <code>openai/gpt-5.5 (high)</code> <code>google/gemini-3.1-pro-preview (high)</code>
328
+ <b>Recommended Models:</b> <code>openai/gpt-5.5 (xhigh)</code> <code>anthropic/claude-fable-5</code> <code>anthropic/claude-opus-4-8 (xhigh)</code>
261
329
  </td>
262
330
  </tr>
263
331
  <tr>
@@ -347,7 +415,7 @@ If any agent fails to respond, check your provider authentication and config fil
347
415
  </tr>
348
416
  <tr>
349
417
  <td colspan="2">
350
- <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
418
+ <b>Recommended Models:</b> <code>openai/gpt-5.3-codex</code> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p6-turbo</code>
351
419
  </td>
352
420
  </tr>
353
421
  <tr>
@@ -388,7 +456,7 @@ If any agent fails to respond, check your provider authentication and config fil
388
456
  </tr>
389
457
  <tr>
390
458
  <td colspan="2">
391
- <b>Recommended Models:</b> <code>google/gemini-3.1-pro-preview</code> <code>kimi-for-coding/k2p5</code>
459
+ <b>Recommended Models:</b> <code>google/gemini-3.5-flash</code> <code>moonshotai/kimi-k2.7-code</code>
392
460
  </td>
393
461
  </tr>
394
462
  <tr>
@@ -424,12 +492,12 @@ If any agent fails to respond, check your provider authentication and config fil
424
492
  </tr>
425
493
  <tr>
426
494
  <td colspan="2">
427
- <b>Default Model:</b> <code>openai/gpt-5.4-mini</code>
495
+ <b>Default Model:</b> <code>openai/gpt-5.5 (low)</code>
428
496
  </td>
429
497
  </tr>
430
498
  <tr>
431
499
  <td colspan="2">
432
- <b>Recommended Models:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
500
+ <b>Recommended Models:</b> <code>openai/gpt-5.5 (low)</code> <code>anthropic/claude-sonnet-4-6</code>
433
501
  </td>
434
502
  </tr>
435
503
  <tr>
@@ -500,17 +568,14 @@ Use this section as a map: start with installation, then jump to features, confi
500
568
  | Doc | What it covers |
501
569
  |-----|----------------|
502
570
  | **[Council](docs/council.md)** | Run multiple models in parallel and synthesize a single answer with `@council` |
503
- | **[V2 Background Orchestration](docs/v2-background-orchestration.md)** | Scheduler-first orchestrator model built around native background subagents |
571
+ | **[Background Orchestration](docs/background-orchestration.md)** | Scheduler-first orchestrator model built around native background subagents |
504
572
  | **[Multiplexer Integration](docs/multiplexer-integration.md)** | Watch agents work live in Tmux or Zellij panes |
505
- | **[Session Management](docs/session-management.md)** | Reuse recent child-agent sessions with short aliases instead of starting over |
506
- | **[Goal](docs/goal.md)** | Pin an objective with `/goal` so todos, delegation, and verification stay aligned |
507
- | **[Todo Continuation](docs/todo-continuation.md)** | Auto-continue orchestrator sessions with cooldowns and safety checks |
508
573
  | **[Preset Switching](docs/preset-switching.md)** | Switch agent model presets at runtime with `/preset` |
509
574
  | **[Custom Agents](docs/configuration.md#custom-agents)** | Define your own specialists with custom prompts, models, MCP access, and Orchestrator delegation rules |
510
575
  | **[Codemap](docs/codemap.md)** | Generate hierarchical codemaps to understand large codebases faster |
511
576
  | **[Clonedeps](docs/clonedeps.md)** | Clone selected dependency source into an ignored local workspace for inspection |
512
577
  | **[Interview](docs/interview.md)** | Turn rough ideas into a structured markdown spec through a browser-based Q&A flow |
513
- | **[Divoom Display](docs/divoom.md)** | Mirror orchestrator and specialist-agent activity to a Divoom MiniToo Bluetooth display |
578
+ | **[Companion](docs/companion.md)** | Floating window companion for parsing, help, and types |
514
579
 
515
580
  ### ⚙️ Config & Reference
516
581
 
@@ -518,8 +583,8 @@ Use this section as a map: start with installation, then jump to features, confi
518
583
  |-----|----------------|
519
584
  | **[Configuration](docs/configuration.md)** | Config file locations, JSONC support, prompt overrides, and full option reference |
520
585
  | **[Maintainer Guide](docs/maintainers.md)** | Issue triage rules, label meanings, support routing, and repo maintenance workflow |
521
- | **[Skills](docs/skills.md)** | Bundled skills such as `simplify`, `codemap`, and `clonedeps` |
522
- | **[MCPs](docs/mcps.md)** | `websearch`, `context7`, `grep_app`, and how MCP permissions work per agent |
586
+ | **[Skills](docs/skills.md)** | Bundled skills such as `simplify`, `codemap`, `clonedeps`, `deepwork`, and `oh-my-opencode-slim` |
587
+ | **[MCPs](docs/mcps.md)** | `websearch`, `context7`, `gh_grep`, and how MCP permissions work per agent |
523
588
  | **[Tools](docs/tools.md)** | Built-in tool capabilities like `webfetch`, LSP tools, code search, and formatters |
524
589
 
525
590
  ### 💡 Presets
@@ -539,7 +604,7 @@ Use this section as a map: start with installation, then jump to features, confi
539
604
  <p><sub>Every merged contribution leaves a mark on the realm.</sub></p>
540
605
 
541
606
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
542
- [![All Contributors](https://img.shields.io/badge/all_contributors-53-orange.svg?style=flat-square)](#contributors-)
607
+ [![All Contributors](https://img.shields.io/badge/all_contributors-59-orange.svg?style=flat-square)](#contributors-)
543
608
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
544
609
  </div>
545
610
 
@@ -620,6 +685,14 @@ Use this section as a map: start with installation, then jump to features, confi
620
685
  <td align="center" valign="top" width="16.66%"><a href="https://github.com/yolo2h"><img src="https://avatars.githubusercontent.com/u/10754850?v=4?s=100" width="100px;" alt="Yolo"/><br /><sub><b>Yolo</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=yolo2h" title="Code">💻</a></td>
621
686
  <td align="center" valign="top" width="16.66%"><a href="https://github.com/xinxingi"><img src="https://avatars.githubusercontent.com/u/49302071?v=4?s=100" width="100px;" alt="XinXing"/><br /><sub><b>XinXing</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=xinxingi" title="Code">💻</a></td>
622
687
  <td align="center" valign="top" width="16.66%"><a href="https://github.com/eltociear"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt="Ikko Eltociear Ashimine"/><br /><sub><b>Ikko Eltociear Ashimine</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=eltociear" title="Code">💻</a></td>
688
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/dev-wantap"><img src="https://avatars.githubusercontent.com/u/69743540?v=4?s=100" width="100px;" alt="GWANWOO KIM"/><br /><sub><b>GWANWOO KIM</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=dev-wantap" title="Code">💻</a></td>
689
+ </tr>
690
+ <tr>
691
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/OmerFarukOruc"><img src="https://avatars.githubusercontent.com/u/7347742?v=4?s=100" width="100px;" alt="Omer Faruk Oruc"/><br /><sub><b>Omer Faruk Oruc</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=OmerFarukOruc" title="Code">💻</a></td>
692
+ <td align="center" valign="top" width="16.66%"><a href="https://khallaf.uk/"><img src="https://avatars.githubusercontent.com/u/51155980?v=4?s=100" width="100px;" alt="Omar Mohamed Khallaf"/><br /><sub><b>Omar Mohamed Khallaf</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=omar-mohamed-khallaf" title="Code">💻</a></td>
693
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/Qesire"><img src="https://avatars.githubusercontent.com/u/102657430?v=4?s=100" width="100px;" alt="Knowingthesea_Qesire"/><br /><sub><b>Knowingthesea_Qesire</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=Qesire" title="Code">💻</a></td>
694
+ <td align="center" valign="top" width="16.66%"><a href="http://www.flyinghail.net/"><img src="https://avatars.githubusercontent.com/u/157430?v=4?s=100" width="100px;" alt="FENG Hao"/><br /><sub><b>FENG Hao</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=flyinghail" title="Code">💻</a></td>
695
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/smatheusblu"><img src="https://avatars.githubusercontent.com/u/5666794?v=4?s=100" width="100px;" alt="Matheus Nogueira Silveira"/><br /><sub><b>Matheus Nogueira Silveira</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=smatheusblu" title="Code">💻</a></td>
623
696
  </tr>
624
697
  </tbody>
625
698
  </table>
package/README.zh-CN.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <div align="center">
2
2
  <a href="https://github.com/alvinunreal/oh-my-opencode-slim/stargazers">
3
- <img src="img/v2beta.webp" alt="V2 Beta Release" style="border-radius: 10px;">
3
+ <img src="img/v2.webp" alt="oh-my-opencode-slim V2 Release" style="border-radius: 10px;">
4
4
  </a>
5
- <h3>✨ V2 Beta 版本:后台编排已上线 ✨</h3>
6
- <p><i>编排者(Orchestrator)现在可在后台调度专家智能体,<br>同时 <code>/deepwork</code> 可以将宏大目标转化为基于文件的具体计划。<br>Beta 测试人员:请在 Telegram 上与我们分享您的反馈。</i></p>
5
+ <h3>✨ oh-my-opencode-slim ✨</h3>
7
6
 
8
- <p><b>开放式多智能体套件</b> · 混合任意模型 · 自动委派任务</p>
7
+ <p><i>七位神圣存在从代码黎明中现身,各自是不朽的工艺大师,<br>等待你的号令,将混沌锻造成秩序,并构建曾被认为不可能之物。</i></p>
9
8
 
10
- <p><sub>由 <b>Boring Dystopia Development</b> 倾情打造</sub></p>
9
+ <p><b>Opencode 多智能体套件</b> · 混合任意模型 · 自动委派任务</p>
10
+ <p><sub>由 <b>Boring Dystopia Development</b> 打造</sub></p>
11
11
  <p>
12
12
  <a href="https://boringdystopia.ai/"><img src="https://img.shields.io/badge/boringdystopia.ai-111111?style=for-the-badge&logo=vercel&logoColor=white" alt="boringdystopia.ai"></a>&nbsp;
13
13
  <a href="https://x.com/alvinunreal"><img src="https://img.shields.io/badge/X-@alvinunreal-000000?style=for-the-badge&logo=x&logoColor=white" alt="X @alvinunreal"></a>&nbsp;
@@ -15,8 +15,11 @@
15
15
  </p>
16
16
 
17
17
  <p>
18
- <a href="README.md">English</a> | <b>简体中文</b> | <a href="README.ja-JP.md">日本語</a>
18
+ <a href="README.md">English</a> | <b>简体中文</b> | <a href="README.ja-JP.md">日本語</a> | <a href="README.ko-KR.md">한국어</a>
19
19
  </p>
20
+
21
+ <p><sub>✦ ✦ ✦</sub></p>
22
+
20
23
  </div>
21
24
 
22
25
  ---
@@ -27,7 +30,7 @@ oh-my-opencode-slim 是一个用于 OpenCode 的智能体编排插件。它内
27
30
 
28
31
  其核心理念非常简单:与其强迫单个模型做所有事情,本插件会将工作的每个部分路由到最适合它的智能体,从而平衡**质量、速度和成本**。
29
32
 
30
- 要了解智能体本身,请参阅**[认识众神殿](#认识众神殿)**。如需了解完整的特性集,请参阅下方的**[特性与工作流](#特性与工作流)**。
33
+ 要了解智能体本身,请参阅 **[认识众神殿](#meet-the-pantheon)**。如需了解完整特性集,请参阅下方的 **[特性与工作流](#features-and-workflows)**。
31
34
 
32
35
  ### 快速开始
33
36
 
@@ -43,19 +46,9 @@ Install and configure oh-my-opencode-slim: https://raw.githubusercontent.com/alv
43
46
  bunx oh-my-opencode-slim@latest install
44
47
  ```
45
48
 
46
- ### V2 后台编排 Beta 版
47
-
48
- V2 将编排者(Orchestrator)从默认的执行工作器转变为调度器:
49
- 它规划工作、将专家作为后台任务分发、轮询其状态,并在继续执行之前核对结果。这需要 OpenCode 原生的后台子智能体支持,因此 Beta 版用户必须在启用实验性标志的情况下启动 OpenCode。
50
-
51
- ```bash
52
- bunx oh-my-opencode-slim@beta install
53
- OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
54
- ```
55
-
56
49
  ### 入门指南
57
50
 
58
- 安装程序会同时生成 OpenAI 和 OpenCode Go 的预设(Preset),默认启用 OpenAI 预设。OpenAI 使用 `openai/gpt-5.5` 作为具备高级判断力智能体的模型,并使用 `openai/gpt-5.4-mini` 作为响应更快速、针对具体任务智能体的模型。若要在安装过程中激活 OpenCode Go 预设,请运行 `bunx oh-my-opencode-slim@latest install --preset=opencode-go` 或在安装后修改 `~/.config/opencode/oh-my-opencode-slim.json` 文件中的默认预设名称。
51
+ 安装程序会同时生成 OpenAI 和 OpenCode Go 的预设(Preset),默认启用 OpenAI 预设。OpenAI 使用变体感知路由:`openai/gpt-5.5` (medium) 作为工作流管理器/调度模型,`openai/gpt-5.5` (high) 作为 Oracle 模型,`openai/gpt-5.5` (low) 作为 Fixer 模型,并使用 `openai/gpt-5.4-mini` 变体模型作为响应更快速、针对具体任务的智能体模型。若要在安装过程中激活 OpenCode Go 预设,请运行 `bunx oh-my-opencode-slim@latest install --preset=opencode-go` 或在安装后修改 `~/.config/opencode/oh-my-opencode-slim.json` 文件中的默认预设名称。
59
52
 
60
53
  然后:
61
54
 
@@ -70,11 +63,13 @@ OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
70
63
  opencode models --refresh
71
64
  ```
72
65
  3. **打开您的插件配置文件**,路径为 `~/.config/opencode/oh-my-opencode-slim.json`
66
+ 或者在使用自定义 OpenCode 配置目录时打开
67
+ `$OPENCODE_CONFIG_DIR/oh-my-opencode-slim.json`
73
68
 
74
69
  4. **为您要分配的每个智能体更新模型配置**
75
70
 
76
71
  > [!TIP]
77
- > **强烈建议**了解自动委派(Automatic Delegation)的工作原理。**[编排者提示词 (Orchestrator prompt)](https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/agents/orchestrator.ts#L28)** 包含了委派规则、专家路由逻辑,以及主智能体何时将工作转交给子智能体的阈值。您始终可以通过以下方式手动委派任务:`@智能体名称 <任务内容>`
72
+ > **建议**了解后台编排的工作原理。**[编排者提示词 (Orchestrator prompt)](https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/agents/orchestrator.ts#L28)** 包含调度规则、专家路由逻辑,以及何时应把工作分配给后台智能体的阈值。您始终可以通过以下方式手动委派任务:`@智能体名称 <任务内容>`
78
73
 
79
74
  默认生成的配置包含 `openai` 和 `opencode-go` 两个预设:
80
75
 
@@ -84,18 +79,18 @@ OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
84
79
  "preset": "openai",
85
80
  "presets": {
86
81
  "openai": {
87
- "orchestrator": { "model": "openai/gpt-5.5", "skills": ["*"], "mcps": ["*", "!context7"] },
82
+ "orchestrator": { "model": "openai/gpt-5.5", "variant": "medium", "skills": ["*"], "mcps": ["*", "!context7"] },
88
83
  "oracle": { "model": "openai/gpt-5.5", "variant": "high", "skills": ["simplify"], "mcps": [] },
89
- "librarian": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
84
+ "librarian": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "gh_grep"] },
90
85
  "explorer": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": [] },
91
86
  "designer": { "model": "openai/gpt-5.4-mini", "variant": "medium", "skills": [], "mcps": [] },
92
- "fixer": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": [] }
87
+ "fixer": { "model": "openai/gpt-5.5", "variant": "low", "skills": [], "mcps": [] }
93
88
  },
94
89
  "opencode-go": {
95
90
  "orchestrator": { "model": "opencode-go/glm-5.1", "skills": [ "*" ], "mcps": [ "*", "!context7" ] },
96
91
  "oracle": { "model": "opencode-go/deepseek-v4-pro", "variant": "max", "skills": ["simplify"], "mcps": [] },
97
92
  "council": { "model": "opencode-go/deepseek-v4-pro", "variant": "high", "skills": [], "mcps": [] },
98
- "librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "grep_app" ] },
93
+ "librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "gh_grep" ] },
99
94
  "explorer": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [] },
100
95
  "designer": { "model": "opencode-go/kimi-k2.6", "variant": "medium", "skills": [], "mcps": [] },
101
96
  "fixer": { "model": "opencode-go/deepseek-v4-flash", "variant": "high", "skills": [], "mcps": [] }
@@ -135,7 +130,64 @@ ping all agents
135
130
 
136
131
  ---
137
132
 
138
- <a id="认识众神殿"></a>
133
+ ### V2 新功能
134
+
135
+ V2 将 oh-my-opencode-slim 变成了以调度器为核心的多智能体工作流系统。Orchestrator 专注于规划、委派、结果整合与验证,而专家智能体在各自的工作通道中完成任务。
136
+
137
+ - **[后台智能体](#后台智能体)** — Orchestrator 现在会把专家作为后台任务派发,跟踪任务/会话 ID,等待完成事件,并在继续之前整合结果。
138
+ - **[Companion](#companion)** — 可选的浮动桌面窗口会显示当前活跃的智能体,包括并行运行的后台专家。
139
+ - **[Deepwork](#deepwork)** — 面向大型、多文件、高风险或分阶段编码工作的结构化工作流,使用持久化计划文件和 Oracle 评审关卡。
140
+ - **[oh-my-opencode-slim Skill](#oh-my-opencode-slim-skill)** — 随包提供的配置技能,可安全调优模型、提示词、自定义智能体、MCP 访问、预设和插件行为。
141
+
142
+ #### 后台智能体
143
+
144
+ V2 将后台专家作为默认心智模型:Orchestrator 规划工作图,启动合适的智能体,避免重叠的写入所有权,并在处理终端任务结果后再继续行动。
145
+
146
+ 完整调度模型见 **[后台编排](docs/v2-background-orchestration.md)**。
147
+
148
+ #### Companion
149
+
150
+ 可选 Companion 是一个用于展示实时智能体活动的浮动桌面状态窗口。它显示当前会话状态和活跃智能体,让后台工作一目了然。
151
+
152
+ <div align="center">
153
+ <img src="img/companion.gif" alt="Companion showing active agents" width="600">
154
+ <p><i>左下角视觉伴侣。</i></p>
155
+ </div>
156
+
157
+ 交互式安装期间,安装器会询问是否启用 Companion,并默认选择 `yes`。自动化安装可显式启用:
158
+
159
+ ```bash
160
+ bunx oh-my-opencode-slim@latest install --companion=yes
161
+ ```
162
+
163
+ 配置、位置、尺寸和安装详情见 **[Companion](docs/companion.md)**。
164
+
165
+ #### Deepwork
166
+
167
+ Deepwork 适用于重型编码会话:大范围重构、多阶段功能、高风险架构变更,或需要持久计划的工作。它会创建本地 markdown 进度文件,使用 Oracle 评审关卡,并保持实现阶段结构化。
168
+
169
+ 启动方式:
170
+
171
+ ```text
172
+ /deepwork <heavy coding task>
173
+ ```
174
+
175
+ 何时使用以及工作流如何运行,请参阅 **[Skills](docs/skills.md#deepwork)**。
176
+
177
+ #### oh-my-opencode-slim Skill
178
+
179
+ 内置的 `oh-my-opencode-slim` skill 可帮助 Orchestrator 配置和改进插件本身。可用于模型调优、自定义智能体、提示词覆盖、skill/MCP 权限、预设、可选智能体、后台编排以及反复出现的工作流摩擦。
180
+
181
+ <div align="center">
182
+ <img src="img/oh-my-opencode-skill.png" alt="oh-my-opencode-slim skill in use" width="600">
183
+ <p><i>让内置技能帮助调优和改进你的智能体设置。</i></p>
184
+ </div>
185
+
186
+ 示例和安全规则见 **[Skills](docs/skills.md#oh-my-opencode-slim)**。
187
+
188
+ ---
189
+
190
+ <a id="meet-the-pantheon"></a>
139
191
 
140
192
  ## 🏛️ 认识众神殿
141
193
 
@@ -163,12 +215,12 @@ ping all agents
163
215
  </tr>
164
216
  <tr>
165
217
  <td colspan="2">
166
- <b>默认模型:</b> <code>openai/gpt-5.5</code>
218
+ <b>默认模型:</b> <code>openai/gpt-5.5 (medium)</code>
167
219
  </td>
168
220
  </tr>
169
221
  <tr>
170
222
  <td colspan="2">
171
- <b>推荐模型:</b> <code>openai/gpt-5.5</code> <code>anthropic/claude-opus-4.6</code>
223
+ <b>推荐模型:</b> <code>openai/gpt-5.5 (medium)</code> <code>anthropic/claude-opus-4.6</code>
172
224
  </td>
173
225
  </tr>
174
226
  <tr>
@@ -209,12 +261,12 @@ ping all agents
209
261
  </tr>
210
262
  <tr>
211
263
  <td colspan="2">
212
- <b>推荐模型:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
264
+ <b>推荐模型:</b> <i>无</i>
213
265
  </td>
214
266
  </tr>
215
267
  <tr>
216
268
  <td colspan="2">
217
- <b>模型选用指南:</b> 选择快速、低成本的模型。Explorer 处理宽泛的侦察工作,因此速度和效率通常比使用最强推理模型更重要。
269
+ <b>模型选用指南:</b> 选择快速、低成本的模型。Explorer 处理宽泛的侦察工作,因此速度 and 效率通常比使用最强推理模型更重要。
218
270
  </td>
219
271
  </tr>
220
272
  </table>
@@ -340,7 +392,7 @@ ping all agents
340
392
  </tr>
341
393
  <tr>
342
394
  <td colspan="2">
343
- <b>推荐模型:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
395
+ <b>推荐模型:</b> <i>无</i>
344
396
  </td>
345
397
  </tr>
346
398
  <tr>
@@ -417,12 +469,12 @@ ping all agents
417
469
  </tr>
418
470
  <tr>
419
471
  <td colspan="2">
420
- <b>默认模型:</b> <code>openai/gpt-5.4-mini</code>
472
+ <b>默认模型:</b> <code>openai/gpt-5.5 (low)</code>
421
473
  </td>
422
474
  </tr>
423
475
  <tr>
424
476
  <td colspan="2">
425
- <b>推荐模型:</b> <code>cerebras/zai-glm-4.7</code> <code>fireworks-ai/accounts/fireworks/routers/kimi-k2p5-turbo</code> <code>openai/gpt-5.4-mini</code>
477
+ <b>推荐模型:</b> <code>openai/gpt-5.5 (low)</code>
426
478
  </td>
427
479
  </tr>
428
480
  <tr>
@@ -495,15 +547,11 @@ ping all agents
495
547
  | **[Council (议会) (docs/council.md)](docs/council.md)** | 使用 `@council` 并行运行多个模型并合成单一答案 |
496
548
  | **[多路复用器集成 (docs/multiplexer-integration.md)](docs/multiplexer-integration.md)** | 在 Tmux 或 Zellij 窗格中实时观看智能体的工作过程 |
497
549
  | **[会话管理 (docs/session-management.md)](docs/session-management.md)** | 使用短别名复用最近的子智能体会话,而不是重新开始 |
498
- | **[会话目标 (docs/session-goal.md)](docs/session-goal.md)** | 用 `/goal` 固定会话目标,以确保待办事项、委派和验证保持一致 |
499
- | **[待办事项持续执行 (docs/todo-continuation.md)](docs/todo-continuation.md)** | 具备冷却时间和安全检查的编排者会话自动持续执行 |
500
550
  | **[运行时预设切换 (docs/preset-switching.md)](docs/preset-switching.md)** | 在运行时使用 `/preset` 切换智能体模型预设 |
501
551
  | **[自定义智能体 (docs/configuration.md#custom-agents)](docs/configuration.md#custom-agents)** | 自定义专家智能体:配置独特的提示词、模型、MCP 权限和编排者委派规则 |
502
- | **[子任务 (docs/subtask.md)](docs/subtask.md)** | 使用 `/subtask` 运行受限的子工作器,并将结构化总结返回到主会话 |
503
552
  | **[代码地图 (Codemap) (docs/codemap.md)](docs/codemap.md)** | 生成层级代码地图,快速理解大型代码库 |
504
553
  | **[克隆依赖 (Clonedeps) (docs/clonedeps.md)](docs/clonedeps.md)** | 将选定的依赖源码克隆到被忽略的本地工作区中以供检查 |
505
554
  | **[访谈式生成 (Interview) (docs/interview.md)](docs/interview.md)** | 通过基于浏览器的问答流,将粗糙的想法转变为结构化的 Markdown 规范文档 |
506
- | **[Divoom 显示屏 (docs/divoom.md)](docs/divoom.md)** | 将编排者与专家智能体的活动镜像显示到 Divoom MiniToo 蓝牙显示屏上 |
507
555
 
508
556
  ### ⚙️ 配置与参考
509
557
 
@@ -512,7 +560,7 @@ ping all agents
512
560
  | **[配置指南 (docs/configuration.md)](docs/configuration.md)** | 配置文件位置、JSONC 支持、提示词覆盖以及完整的选项参考 |
513
561
  | **[维护者指南 (docs/maintainers.md)](docs/maintainers.md)** | 问题分流规则、标签含义、支持路由以及仓库维护工作流 |
514
562
  | **[技能列表 (Skills) (docs/skills.md)](docs/skills.md)** | 捆绑的技能,如 `simplify`、`codemap` 和 `clonedeps` |
515
- | **[MCP 服务 (docs/mcps.md)](docs/mcps.md)** | `websearch`、`context7`、`grep_app` 以及每个智能体的 MCP 权限工作机制 |
563
+ | **[MCP 服务 (docs/mcps.md)](docs/mcps.md)** | `websearch`、`context7`、`gh_grep` 以及每个智能体的 MCP 权限工作机制 |
516
564
  | **[工具说明 (docs/tools.md)](docs/tools.md)** | 内置工具能力,如 `webfetch`、LSP 工具、代码搜索和格式化工具 |
517
565
 
518
566
  ### 💡 预设配置
@@ -532,7 +580,7 @@ ping all agents
532
580
  <p><sub>每一次合并的贡献都在这片领域留下了印记。</sub></p>
533
581
 
534
582
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
535
- [![All Contributors](https://img.shields.io/badge/all_contributors-50-orange.svg?style=flat-square)](#contributors-)
583
+ [![All Contributors](https://img.shields.io/badge/all_contributors-59-orange.svg?style=flat-square)](#contributors-)
536
584
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
537
585
  </div>
538
586
 
@@ -610,9 +658,21 @@ ping all agents
610
658
  <tr>
611
659
  <td align="center" valign="top" width="16.66%"><a href="https://github.com/zackslash"><img src="https://avatars.githubusercontent.com/u/2040617?v=4?s=100" width="100px;" alt="Luke Hines"/><br /><sub><b>Luke Hines</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=zackslash" title="Code">💻</a></td>
612
660
  <td align="center" valign="top" width="16.66%"><a href="https://github.com/andrewylies"><img src="https://avatars.githubusercontent.com/u/103019336?v=4?s=100" width="100px;" alt="m.seomoon"/><br /><sub><b>m.seomoon</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=andrewylies" title="Code">💻</a></td>
661
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/yolo2h"><img src="https://avatars.githubusercontent.com/u/10754850?v=4?s=100" width="100px;" alt="Yolo"/><br /><sub><b>Yolo</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=yolo2h" title="Code">💻</a></td>
662
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/xinxingi"><img src="https://avatars.githubusercontent.com/u/49302071?v=4?s=100" width="100px;" alt="XinXing"/><br /><sub><b>XinXing</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=xinxingi" title="Code">💻</a></td>
663
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/eltociear"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt="Ikko Eltociear Ashimine"/><br /><sub><b>Ikko Eltociear Ashimine</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=eltociear" title="Code">💻</a></td>
664
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/dev-wantap"><img src="https://avatars.githubusercontent.com/u/69743540?v=4?s=100" width="100px;" alt="GWANWOO KIM"/><br /><sub><b>GWANWOO KIM</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=dev-wantap" title="Code">💻</a></td>
665
+ </tr>
666
+ <tr>
667
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/OmerFarukOruc"><img src="https://avatars.githubusercontent.com/u/7347742?v=4?s=100" width="100px;" alt="Omer Faruk Oruc"/><br /><sub><b>Omer Faruk Oruc</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=OmerFarukOruc" title="Code">💻</a></td>
668
+ <td align="center" valign="top" width="16.66%"><a href="https://khallaf.uk/"><img src="https://avatars.githubusercontent.com/u/51155980?v=4?s=100" width="100px;" alt="Omar Mohamed Khallaf"/><br /><sub><b>Omar Mohamed Khallaf</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=omar-mohamed-khallaf" title="Code">💻</a></td>
669
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/Qesire"><img src="https://avatars.githubusercontent.com/u/102657430?v=4?s=100" width="100px;" alt="Knowingthesea_Qesire"/><br /><sub><b>Knowingthesea_Qesire</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=Qesire" title="Code">💻</a></td>
670
+ <td align="center" valign="top" width="16.66%"><a href="http://www.flyinghail.net/"><img src="https://avatars.githubusercontent.com/u/157430?v=4?s=100" width="100px;" alt="FENG Hao"/><br /><sub><b>FENG Hao</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=flyinghail" title="Code">💻</a></td>
671
+ <td align="center" valign="top" width="16.66%"><a href="https://github.com/smatheusblu"><img src="https://avatars.githubusercontent.com/u/5666794?v=4?s=100" width="100px;" alt="Matheus Nogueira Silveira"/><br /><sub><b>Matheus Nogueira Silveira</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=smatheusblu" title="Code">💻</a></td>
613
672
  </tr>
614
673
  </tbody>
615
674
  </table>
675
+
616
676
  <!-- markdownlint-restore -->
617
677
  <!-- prettier-ignore-end -->
618
678
 
@@ -0,0 +1,13 @@
1
+ export type BackgroundSubagentsMode = 'ask' | 'yes' | 'no';
2
+ export type ShellKind = 'bash' | 'fish' | 'zsh';
3
+ export declare function isBackgroundSubagentsEnabled(value: string | undefined): boolean;
4
+ export declare function detectShellKind(shell: string | undefined): ShellKind | undefined;
5
+ export declare function detectBackgroundSubagentsTarget(env?: NodeJS.ProcessEnv): string | undefined;
6
+ export declare function getBackgroundSubagentsBlock(targetPath: string): string;
7
+ export declare function manualBackgroundSubagentsInstructions(options?: {
8
+ targetPath?: string;
9
+ shell?: ShellKind;
10
+ }): string;
11
+ export declare function expandHomePath(targetPath: string): string;
12
+ export declare function upsertBackgroundSubagentsBlock(content: string, block: string): string;
13
+ export declare function writeBackgroundSubagentsBlock(targetPath: string): void;
@@ -0,0 +1,4 @@
1
+ import type { ConfigMergeResult, InstallConfig } from './types';
2
+ export declare function getCompanionTarget(): string | null;
3
+ export declare function getCompanionBinaryPath(): string;
4
+ export declare function installCompanion(config: InstallConfig): Promise<ConfigMergeResult>;