oh-my-opencode-slim 2.0.0-beta.9 → 2.0.1
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.ja-JP.md +121 -47
- package/README.ko-KR.md +708 -0
- package/README.md +149 -58
- package/README.zh-CN.md +142 -64
- package/dist/cli/background-subagents.d.ts +13 -0
- package/dist/cli/companion.d.ts +4 -0
- package/dist/cli/index.d.ts +2 -1
- package/dist/cli/index.js +651 -82
- package/dist/cli/install.d.ts +6 -1
- package/dist/cli/providers.d.ts +2 -1
- package/dist/cli/types.d.ts +8 -0
- package/dist/companion/manager.d.ts +38 -0
- package/dist/config/constants.d.ts +4 -1
- package/dist/config/fallback-chains.d.ts +1 -0
- package/dist/config/schema.d.ts +46 -40
- package/dist/hooks/auto-update-checker/checker.d.ts +7 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +1 -0
- package/dist/hooks/auto-update-checker/types.d.ts +10 -0
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
- package/dist/hooks/phase-reminder/index.d.ts +1 -1
- package/dist/index.js +1861 -2149
- package/dist/mcp/grep-app.d.ts +1 -1
- package/dist/multiplexer/zellij/index.d.ts +17 -3
- package/dist/tools/cancel-task.d.ts +6 -0
- package/dist/tools/preset-manager.d.ts +6 -7
- package/dist/tui.js +56 -31
- package/dist/utils/background-job-board.d.ts +39 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/task.d.ts +2 -0
- package/oh-my-opencode-slim.schema.json +34 -91
- package/package.json +4 -3
- package/src/skills/codemap.md +3 -1
- package/src/skills/deepwork/SKILL.md +25 -3
- package/src/skills/oh-my-opencode-slim/SKILL.md +326 -0
- package/dist/divoom/council.gif +0 -0
- package/dist/divoom/designer.gif +0 -0
- package/dist/divoom/explorer.gif +0 -0
- package/dist/divoom/fixer.gif +0 -0
- package/dist/divoom/input.gif +0 -0
- package/dist/divoom/intro.gif +0 -0
- package/dist/divoom/librarian.gif +0 -0
- package/dist/divoom/manager.d.ts +0 -57
- package/dist/divoom/oracle.gif +0 -0
- package/dist/divoom/orchestrator.gif +0 -0
- package/dist/hooks/goal/index.d.ts +0 -38
- package/dist/hooks/todo-continuation/index.d.ts +0 -55
- package/dist/hooks/todo-continuation/todo-hygiene.d.ts +0 -35
- package/dist/utils/session-manager.d.ts +0 -55
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/
|
|
3
|
+
<img src="img/v2.webp" alt="oh-my-opencode-slim V2 Release" style="border-radius: 10px;">
|
|
4
4
|
</a>
|
|
5
|
-
<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><
|
|
7
|
+
<p><i>七位神圣存在从代码黎明中现身,各自是不朽的工艺大师,<br>等待你的号令,将混沌锻造成秩序,并构建曾被认为不可能之物。</i></p>
|
|
9
8
|
|
|
10
|
-
<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>
|
|
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>
|
|
@@ -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,30 @@ oh-my-opencode-slim 是一个用于 OpenCode 的智能体编排插件。它内
|
|
|
27
30
|
|
|
28
31
|
其核心理念非常简单:与其强迫单个模型做所有事情,本插件会将工作的每个部分路由到最适合它的智能体,从而平衡**质量、速度和成本**。
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
要了解智能体本身,请参阅 **[认识众神殿](#meet-the-pantheon)**。如需了解完整特性集,请参阅下方的 **[特性与工作流](#features-and-workflows)**。
|
|
34
|
+
|
|
35
|
+
### 用户怎么说
|
|
36
|
+
|
|
37
|
+
> “任务管理轻松从 5/10 提升到了 8-9/10。Orchestrator 会派出
|
|
38
|
+
> Fixer 和 Explorer,而我仍然可以在同一个会话里继续和 Orchestrator
|
|
39
|
+
> 对话与规划。现在整个体验顺滑多了。”
|
|
40
|
+
>
|
|
41
|
+
> \- `vipor_idk`
|
|
42
|
+
|
|
43
|
+
> “我已经为了这个 omo-slim beta 版本抛弃了所有自己的 harness,
|
|
44
|
+
> 也完全没有回头或怀念。做得很好,在我看来方向都非常正确。”
|
|
45
|
+
>
|
|
46
|
+
> \- `stephanschielke`
|
|
47
|
+
|
|
48
|
+
> “我很喜欢 omo-slim,已经无法想象不用它来运行 opencode。
|
|
49
|
+
> 我喜欢可以拼出一个由各种模型组成的 Frankenstein……
|
|
50
|
+
> 这让整个设置变成了一头猛兽。”
|
|
51
|
+
>
|
|
52
|
+
> \- `Capital-One3039`
|
|
53
|
+
|
|
54
|
+
> “它显著改善了我的工作流……现在运行得非常顺畅,我很喜欢。”
|
|
55
|
+
>
|
|
56
|
+
> \- `xenstar1`
|
|
31
57
|
|
|
32
58
|
### 快速开始
|
|
33
59
|
|
|
@@ -43,19 +69,11 @@ Install and configure oh-my-opencode-slim: https://raw.githubusercontent.com/alv
|
|
|
43
69
|
bunx oh-my-opencode-slim@latest install
|
|
44
70
|
```
|
|
45
71
|
|
|
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
72
|
### 入门指南
|
|
57
73
|
|
|
58
|
-
安装程序会同时生成 OpenAI 和 OpenCode Go
|
|
74
|
+
安装程序会同时生成 OpenAI 和 OpenCode Go 预设,默认启用 OpenAI。
|
|
75
|
+
|
|
76
|
+
要在安装期间启用 OpenCode Go,请运行 `bunx oh-my-opencode-slim@latest install --preset=opencode-go`,或在安装后修改 `~/.config/opencode/oh-my-opencode-slim.json` 中的默认预设名称。
|
|
59
77
|
|
|
60
78
|
然后:
|
|
61
79
|
|
|
@@ -74,7 +92,10 @@ OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
|
|
|
74
92
|
4. **为您要分配的每个智能体更新模型配置**
|
|
75
93
|
|
|
76
94
|
> [!TIP]
|
|
77
|
-
>
|
|
95
|
+
> **建议**了解后台编排的工作原理。**[编排者提示词 (Orchestrator prompt)](https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/agents/orchestrator.ts#L28)** 包含调度规则、专家路由逻辑,以及何时应把工作分配给后台智能体的阈值。您始终可以通过以下方式手动委派任务:`@智能体名称 <任务内容>`
|
|
96
|
+
|
|
97
|
+
> [!TIP]
|
|
98
|
+
> 由于后台智能体现在是默认工作流,**强烈建议**启用并配置 **[Multiplexer Integration](docs/multiplexer-integration.md)**。它会自动在专用的 Tmux 或 Zellij 窗格中打开每个智能体,让您在 Orchestrator 继续协调会话时,实时跟进各个专家智能体的工作。
|
|
78
99
|
|
|
79
100
|
默认生成的配置包含 `openai` 和 `opencode-go` 两个预设:
|
|
80
101
|
|
|
@@ -84,18 +105,18 @@ OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
|
|
|
84
105
|
"preset": "openai",
|
|
85
106
|
"presets": {
|
|
86
107
|
"openai": {
|
|
87
|
-
"orchestrator": { "model": "openai/gpt-5.5", "skills": ["*"], "mcps": ["*", "!context7"] },
|
|
108
|
+
"orchestrator": { "model": "openai/gpt-5.5", "variant": "medium", "skills": ["*"], "mcps": ["*", "!context7"] },
|
|
88
109
|
"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", "
|
|
110
|
+
"librarian": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "gh_grep"] },
|
|
90
111
|
"explorer": { "model": "openai/gpt-5.4-mini", "variant": "low", "skills": [], "mcps": [] },
|
|
91
112
|
"designer": { "model": "openai/gpt-5.4-mini", "variant": "medium", "skills": [], "mcps": [] },
|
|
92
|
-
"fixer": { "model": "openai/gpt-5.
|
|
113
|
+
"fixer": { "model": "openai/gpt-5.5", "variant": "low", "skills": [], "mcps": [] }
|
|
93
114
|
},
|
|
94
115
|
"opencode-go": {
|
|
95
116
|
"orchestrator": { "model": "opencode-go/glm-5.1", "skills": [ "*" ], "mcps": [ "*", "!context7" ] },
|
|
96
117
|
"oracle": { "model": "opencode-go/deepseek-v4-pro", "variant": "max", "skills": ["simplify"], "mcps": [] },
|
|
97
118
|
"council": { "model": "opencode-go/deepseek-v4-pro", "variant": "high", "skills": [], "mcps": [] },
|
|
98
|
-
"librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "
|
|
119
|
+
"librarian": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [ "websearch", "context7", "gh_grep" ] },
|
|
99
120
|
"explorer": { "model": "opencode-go/minimax-m2.7", "skills": [], "mcps": [] },
|
|
100
121
|
"designer": { "model": "opencode-go/kimi-k2.6", "variant": "medium", "skills": [], "mcps": [] },
|
|
101
122
|
"fixer": { "model": "opencode-go/deepseek-v4-flash", "variant": "high", "skills": [], "mcps": [] }
|
|
@@ -108,10 +129,6 @@ OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=1 opencode
|
|
|
108
129
|
|
|
109
130
|
要使用自定义模型提供商或混合提供商配置,请参阅 **[配置指南 (docs/configuration.md)](docs/configuration.md)** 以获取完整参考。如果您需要即插即用的起点,请查看 **[作者的预设配置 (docs/authors-preset.md)](docs/authors-preset.md)** 和 **[$30 预设配置 (docs/thirty-dollars-preset.md)](docs/thirty-dollars-preset.md)**(`$30` 预设是性价比最高的便宜配置方案)。
|
|
110
131
|
|
|
111
|
-
配置指南还介绍了如何通过 `agents.<name>` 定义自定义子智能体,您可以在其中为委派定义普通 `prompt` 和 `orchestratorPrompt` 块。
|
|
112
|
-
|
|
113
|
-
有关模型推荐,请参阅下方列出的每个智能体推荐模型。
|
|
114
|
-
|
|
115
132
|
### ✅ 验证您的安装
|
|
116
133
|
|
|
117
134
|
在完成安装与认证后,请验证所有智能体是否已正确配置并能够响应:
|
|
@@ -135,7 +152,64 @@ ping all agents
|
|
|
135
152
|
|
|
136
153
|
---
|
|
137
154
|
|
|
138
|
-
|
|
155
|
+
### V2 新功能
|
|
156
|
+
|
|
157
|
+
V2 将 oh-my-opencode-slim 变成了以调度器为核心的多智能体工作流系统。Orchestrator 专注于规划、委派、结果整合与验证,而专家智能体在各自的工作通道中完成任务。
|
|
158
|
+
|
|
159
|
+
- **[后台智能体](#后台智能体)** — Orchestrator 现在会把专家作为后台任务派发,跟踪任务/会话 ID,等待完成事件,并在继续之前整合结果。
|
|
160
|
+
- **[Companion](#companion)** — 可选的浮动桌面窗口会显示当前活跃的智能体,包括并行运行的后台专家。
|
|
161
|
+
- **[Deepwork](#deepwork)** — 面向大型、多文件、高风险或分阶段编码工作的结构化工作流,使用持久化计划文件和 Oracle 评审关卡。
|
|
162
|
+
- **[oh-my-opencode-slim Skill](#oh-my-opencode-slim-skill)** — 随包提供的配置技能,可安全调优模型、提示词、自定义智能体、MCP 访问、预设和插件行为。
|
|
163
|
+
|
|
164
|
+
#### 后台智能体
|
|
165
|
+
|
|
166
|
+
V2 将后台专家作为默认心智模型:Orchestrator 规划工作图,启动合适的智能体,避免重叠的写入所有权,并在处理终端任务结果后再继续行动。
|
|
167
|
+
|
|
168
|
+
完整调度模型见 **[后台编排](docs/v2-background-orchestration.md)**。
|
|
169
|
+
|
|
170
|
+
#### Companion
|
|
171
|
+
|
|
172
|
+
可选 Companion 是一个用于展示实时智能体活动的浮动桌面状态窗口。它显示当前会话状态和活跃智能体,让后台工作一目了然。
|
|
173
|
+
|
|
174
|
+
<div align="center">
|
|
175
|
+
<img src="img/companion.gif" alt="Companion showing active agents" width="600">
|
|
176
|
+
<p><i>左下角视觉伴侣。</i></p>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
交互式安装期间,安装器会询问是否启用 Companion,并默认选择 `yes`。自动化安装可显式启用:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
bunx oh-my-opencode-slim@latest install --companion=yes
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
配置、位置、尺寸和安装详情见 **[Companion](docs/companion.md)**。
|
|
186
|
+
|
|
187
|
+
#### Deepwork
|
|
188
|
+
|
|
189
|
+
Deepwork 适用于重型编码会话:大范围重构、多阶段功能、高风险架构变更,或需要持久计划的工作。它会创建本地 markdown 进度文件,使用 Oracle 评审关卡,并保持实现阶段结构化。
|
|
190
|
+
|
|
191
|
+
启动方式:
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
/deepwork <heavy coding task>
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
何时使用以及工作流如何运行,请参阅 **[Skills](docs/skills.md#deepwork)**。
|
|
198
|
+
|
|
199
|
+
#### oh-my-opencode-slim Skill
|
|
200
|
+
|
|
201
|
+
内置的 `oh-my-opencode-slim` skill 可帮助 Orchestrator 配置和改进插件本身。可用于模型调优、自定义智能体、提示词覆盖、skill/MCP 权限、预设、可选智能体、后台编排以及反复出现的工作流摩擦。
|
|
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>让内置技能帮助调优和改进你的智能体设置。</i></p>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
示例和安全规则见 **[Skills](docs/skills.md#oh-my-opencode-slim)**。
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
<a id="meet-the-pantheon"></a>
|
|
139
213
|
|
|
140
214
|
## 🏛️ 认识众神殿
|
|
141
215
|
|
|
@@ -163,12 +237,12 @@ ping all agents
|
|
|
163
237
|
</tr>
|
|
164
238
|
<tr>
|
|
165
239
|
<td colspan="2">
|
|
166
|
-
<b>默认模型:</b> <code>openai/gpt-5.5</code>
|
|
240
|
+
<b>默认模型:</b> <code>openai/gpt-5.5 (medium)</code>
|
|
167
241
|
</td>
|
|
168
242
|
</tr>
|
|
169
243
|
<tr>
|
|
170
244
|
<td colspan="2">
|
|
171
|
-
<b>推荐模型:</b> <code>openai/gpt-5.5</code> <code>anthropic/claude-opus-4.6</code>
|
|
245
|
+
<b>推荐模型:</b> <code>openai/gpt-5.5 (medium)</code> <code>anthropic/claude-opus-4.6</code>
|
|
172
246
|
</td>
|
|
173
247
|
</tr>
|
|
174
248
|
<tr>
|
|
@@ -209,12 +283,12 @@ ping all agents
|
|
|
209
283
|
</tr>
|
|
210
284
|
<tr>
|
|
211
285
|
<td colspan="2">
|
|
212
|
-
<b>推荐模型:</b> <
|
|
286
|
+
<b>推荐模型:</b> <i>无</i>
|
|
213
287
|
</td>
|
|
214
288
|
</tr>
|
|
215
289
|
<tr>
|
|
216
290
|
<td colspan="2">
|
|
217
|
-
<b>模型选用指南:</b> 选择快速、低成本的模型。Explorer
|
|
291
|
+
<b>模型选用指南:</b> 选择快速、低成本的模型。Explorer 处理宽泛的侦察工作,因此速度 and 效率通常比使用最强推理模型更重要。
|
|
218
292
|
</td>
|
|
219
293
|
</tr>
|
|
220
294
|
</table>
|
|
@@ -340,7 +414,7 @@ ping all agents
|
|
|
340
414
|
</tr>
|
|
341
415
|
<tr>
|
|
342
416
|
<td colspan="2">
|
|
343
|
-
<b>推荐模型:</b> <
|
|
417
|
+
<b>推荐模型:</b> <i>无</i>
|
|
344
418
|
</td>
|
|
345
419
|
</tr>
|
|
346
420
|
<tr>
|
|
@@ -417,12 +491,12 @@ ping all agents
|
|
|
417
491
|
</tr>
|
|
418
492
|
<tr>
|
|
419
493
|
<td colspan="2">
|
|
420
|
-
<b>默认模型:</b> <code>openai/gpt-5.
|
|
494
|
+
<b>默认模型:</b> <code>openai/gpt-5.5 (low)</code>
|
|
421
495
|
</td>
|
|
422
496
|
</tr>
|
|
423
497
|
<tr>
|
|
424
498
|
<td colspan="2">
|
|
425
|
-
<b>推荐模型:</b> <code>
|
|
499
|
+
<b>推荐模型:</b> <code>openai/gpt-5.5 (low)</code>
|
|
426
500
|
</td>
|
|
427
501
|
</tr>
|
|
428
502
|
<tr>
|
|
@@ -478,50 +552,42 @@ ping all agents
|
|
|
478
552
|
|
|
479
553
|
## 📚 文档
|
|
480
554
|
|
|
481
|
-
|
|
555
|
+
请将本节作为地图:先从安装开始,再根据需要跳转到特性、配置或示例预设。
|
|
482
556
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
| 文档 | 涵盖内容 |
|
|
486
|
-
|-----|----------------|
|
|
487
|
-
| **[安装指南 (docs/installation.md)](docs/installation.md)** | 安装插件、使用 CLI 标志、重置配置以及排查安装故障 |
|
|
488
|
-
|
|
489
|
-
<a id="特性与工作流"></a>
|
|
557
|
+
<a id="features-and-workflows"></a>
|
|
490
558
|
|
|
491
559
|
### ✨ 特性与工作流
|
|
492
560
|
|
|
493
561
|
| 文档 | 涵盖内容 |
|
|
494
562
|
|-----|----------------|
|
|
495
|
-
| **[Council
|
|
496
|
-
| **[
|
|
497
|
-
| **[
|
|
498
|
-
| **[
|
|
499
|
-
| **[
|
|
500
|
-
| **[
|
|
501
|
-
| **[
|
|
502
|
-
| **[
|
|
503
|
-
| **[代码地图 (Codemap) (docs/codemap.md)](docs/codemap.md)** | 生成层级代码地图,快速理解大型代码库 |
|
|
504
|
-
| **[克隆依赖 (Clonedeps) (docs/clonedeps.md)](docs/clonedeps.md)** | 将选定的依赖源码克隆到被忽略的本地工作区中以供检查 |
|
|
505
|
-
| **[访谈式生成 (Interview) (docs/interview.md)](docs/interview.md)** | 通过基于浏览器的问答流,将粗糙的想法转变为结构化的 Markdown 规范文档 |
|
|
506
|
-
| **[Divoom 显示屏 (docs/divoom.md)](docs/divoom.md)** | 将编排者与专家智能体的活动镜像显示到 Divoom MiniToo 蓝牙显示屏上 |
|
|
563
|
+
| **[Council](docs/council.md)** | 使用 `@council` 并行运行多个模型并合成单一答案 |
|
|
564
|
+
| **[自定义智能体](docs/configuration.md#custom-agents)** | 使用自定义提示词、模型、MCP 访问和 Orchestrator 委派规则定义自己的专家 |
|
|
565
|
+
| **[多路复用器集成](docs/multiplexer-integration.md)** | 在 Tmux 或 Zellij 窗格中实时观看智能体工作 |
|
|
566
|
+
| **[Codemap](docs/codemap.md)** | 生成层级代码地图,更快理解大型代码库 |
|
|
567
|
+
| **[Clonedeps](docs/clonedeps.md)** | 将选定的依赖源码克隆到被忽略的本地工作区中以供检查 |
|
|
568
|
+
| **[预设切换](docs/preset-switching.md)** | 使用 `/preset` 在运行时切换智能体模型预设 |
|
|
569
|
+
| **[Interview](docs/interview.md)** | 通过基于浏览器的问答流程,将粗略想法转成结构化 markdown 规格 |
|
|
570
|
+
| **[Companion](docs/companion.md)** | 用于解析、帮助和类型信息的浮动窗口 companion |
|
|
507
571
|
|
|
508
572
|
### ⚙️ 配置与参考
|
|
509
573
|
|
|
510
574
|
| 文档 | 涵盖内容 |
|
|
511
575
|
|-----|----------------|
|
|
512
|
-
| **[
|
|
513
|
-
| **[
|
|
514
|
-
| **[
|
|
515
|
-
| **[
|
|
516
|
-
| **[
|
|
576
|
+
| **[安装指南](docs/installation.md)** | 安装插件、使用 CLI 标志、重置配置并排查设置问题 |
|
|
577
|
+
| **[配置](docs/configuration.md)** | 配置文件位置、JSONC 支持、提示词覆盖和完整选项参考 |
|
|
578
|
+
| **[后台编排](docs/background-orchestration.md)** | 围绕原生后台子智能体构建的调度器优先 Orchestrator 模型 |
|
|
579
|
+
| **[维护者指南](docs/maintainers.md)** | issue 分流规则、标签含义、支持路由和仓库维护工作流 |
|
|
580
|
+
| **[Skills](docs/skills.md)** | `simplify`、`codemap`、`clonedeps`、`deepwork` 和 `oh-my-opencode-slim` 等捆绑技能 |
|
|
581
|
+
| **[MCPs](docs/mcps.md)** | `websearch`、`context7`、`gh_grep` 以及每个智能体的 MCP 权限机制 |
|
|
582
|
+
| **[Tools](docs/tools.md)** | `webfetch`、LSP 工具、代码搜索和格式化工具等内置工具能力 |
|
|
517
583
|
|
|
518
584
|
### 💡 预设配置
|
|
519
585
|
|
|
520
586
|
| 文档 | 涵盖内容 |
|
|
521
587
|
|-----|----------------|
|
|
522
|
-
| **[作者的预设配置
|
|
523
|
-
| **[$30 预设配置
|
|
524
|
-
| **[OpenCode Go 预设
|
|
588
|
+
| **[作者的预设配置](docs/authors-preset.md)** | 作者日常使用的混合服务商配置方案 |
|
|
589
|
+
| **[$30 预设配置](docs/thirty-dollars-preset.md)** | 每月约 30 美元的预算型混合服务商配置方案 |
|
|
590
|
+
| **[OpenCode Go 预设](docs/opencode-go-preset.md)** | 安装程序生成的捆绑 `opencode-go` 预设 |
|
|
525
591
|
|
|
526
592
|
---
|
|
527
593
|
|
|
@@ -532,7 +598,7 @@ ping all agents
|
|
|
532
598
|
<p><sub>每一次合并的贡献都在这片领域留下了印记。</sub></p>
|
|
533
599
|
|
|
534
600
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
535
|
-
[](#contributors-)
|
|
536
602
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
537
603
|
</div>
|
|
538
604
|
|
|
@@ -610,9 +676,21 @@ ping all agents
|
|
|
610
676
|
<tr>
|
|
611
677
|
<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
678
|
<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>
|
|
679
|
+
<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>
|
|
680
|
+
<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>
|
|
681
|
+
<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>
|
|
682
|
+
<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>
|
|
683
|
+
</tr>
|
|
684
|
+
<tr>
|
|
685
|
+
<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>
|
|
686
|
+
<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>
|
|
687
|
+
<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>
|
|
688
|
+
<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>
|
|
689
|
+
<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
690
|
</tr>
|
|
614
691
|
</tbody>
|
|
615
692
|
</table>
|
|
693
|
+
|
|
616
694
|
<!-- markdownlint-restore -->
|
|
617
695
|
<!-- prettier-ignore-end -->
|
|
618
696
|
|
|
@@ -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>;
|
package/dist/cli/index.d.ts
CHANGED