oh-my-opencode-slim 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja-JP.md +31 -1
- package/README.ko-KR.md +31 -1
- package/README.md +41 -2
- package/README.zh-CN.md +31 -1
- package/dist/agents/orchestrator.d.ts +0 -2
- package/dist/cli/companion.d.ts +2 -2
- package/dist/cli/index.js +326 -89
- package/dist/companion/manager.d.ts +1 -0
- package/dist/companion/updater.d.ts +36 -0
- package/dist/config/agent-mcps.d.ts +0 -4
- package/dist/config/constants.d.ts +1 -7
- package/dist/config/council-schema.d.ts +0 -15
- package/dist/config/index.d.ts +1 -1
- package/dist/config/runtime-preset.d.ts +0 -1
- package/dist/config/schema.d.ts +78 -68
- package/dist/config/utils.d.ts +1 -0
- package/dist/hooks/auto-update-checker/skill-sync.d.ts +9 -0
- package/dist/hooks/auto-update-checker/types.d.ts +2 -0
- package/dist/hooks/filter-available-skills/index.d.ts +1 -13
- package/dist/hooks/foreground-fallback/index.d.ts +1 -1
- package/dist/hooks/image-hook.d.ts +1 -13
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/phase-reminder/index.d.ts +10 -16
- package/dist/hooks/reflect/index.d.ts +13 -0
- package/dist/hooks/task-session-manager/index.d.ts +2 -16
- package/dist/hooks/types.d.ts +23 -0
- package/dist/index.js +1610 -585
- package/dist/tools/acp-run.d.ts +3 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/smartfetch/secondary-model.d.ts +7 -0
- package/dist/tui.js +114 -76
- package/dist/utils/agent-variant.d.ts +0 -40
- package/dist/utils/compat.d.ts +0 -1
- package/dist/utils/guards.d.ts +4 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/task.d.ts +0 -2
- package/oh-my-opencode-slim.schema.json +103 -249
- package/package.json +2 -1
- package/src/companion/companion-manifest.json +12 -0
- package/src/skills/codemap.md +4 -1
- package/src/skills/reflect/SKILL.md +193 -0
- package/src/skills/worktrees/SKILL.md +164 -0
- package/dist/config/fallback-chains.d.ts +0 -1
- package/dist/hooks/apply-patch/patch.d.ts +0 -2
- package/dist/hooks/delegate-task-retry/guidance.d.ts +0 -2
- package/dist/hooks/delegate-task-retry/index.d.ts +0 -4
- package/dist/hooks/json-error-recovery/index.d.ts +0 -1
- package/dist/utils/env.d.ts +0 -1
package/README.ja-JP.md
CHANGED
|
@@ -164,6 +164,8 @@ V2 は oh-my-opencode-slim を、スケジューラー中心のマルチエー
|
|
|
164
164
|
- **[バックグラウンドエージェント](#バックグラウンドエージェント)** — Orchestrator は専門家をバックグラウンドタスクとしてディスパッチし、タスク/セッション ID を追跡し、完了イベントを待ってから結果を整合します。
|
|
165
165
|
- **[Companion](#companion)** — 任意のフローティングデスクトップウィンドウが、並列実行中のバックグラウンド専門家を含め、現在アクティブなエージェントを表示します。
|
|
166
166
|
- **[Deepwork](#deepwork)** — 大規模、多ファイル、高リスク、または段階的なコーディング作業向けの構造化ワークフローです。永続的な計画ファイルと Oracle レビューゲートを使用します。
|
|
167
|
+
- **[Reflect](#reflect)** — 繰り返される作業パターンを振り返り、再利用可能な skill、エージェント、コマンド、設定ルール、プロンプトルール、プロジェクト playbook を提案します。
|
|
168
|
+
- **[Worktrees](#worktrees)** — 複雑、高リスク、または並列タスク向けに、安全プロトコル付きの隔離されたコーディング lane として Git worktree を管理します。
|
|
167
169
|
- **[oh-my-opencode-slim Skill](#oh-my-opencode-slim-skill)** — モデル、プロンプト、カスタムエージェント、MCP アクセス、プリセット、プラグイン動作を安全に調整するための同梱設定 skill です。
|
|
168
170
|
|
|
169
171
|
#### バックグラウンドエージェント
|
|
@@ -201,6 +203,32 @@ Deepwork は、大規模リファクタリング、多段階機能、高リス
|
|
|
201
203
|
|
|
202
204
|
いつ使うべきか、ワークフローがどのように動くかは **[Skills](docs/skills.md#deepwork)** を参照してください。
|
|
203
205
|
|
|
206
|
+
#### Reflect
|
|
207
|
+
|
|
208
|
+
Reflect は、Orchestrator が繰り返し発生するワークフロー上の摩擦から学ぶのを助けます。最近の作業と既存の資産を確認し、skill、カスタムエージェント、コマンド、設定ルール、プロンプトルール、MCP 権限変更、プロジェクト playbook の中から、最小で有用な改善を提案します。十分な証拠がない場合は、何も作成しないことを推奨します。
|
|
209
|
+
|
|
210
|
+
直接実行できます。
|
|
211
|
+
|
|
212
|
+
```text
|
|
213
|
+
/reflect
|
|
214
|
+
/reflect release workflow and checks
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
自然なプロンプトでも利用できます。
|
|
218
|
+
|
|
219
|
+
```text
|
|
220
|
+
reflect on my recent workflows
|
|
221
|
+
find repeated work worth turning into reusable instructions
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
完全なワークフローとガードレールは **[Skills](docs/skills.md#reflect)** を参照してください。
|
|
225
|
+
|
|
226
|
+
#### Worktrees
|
|
227
|
+
|
|
228
|
+
Worktrees は、Git worktree を `.slim/worktrees/<slug>/` 配下の安全で隔離されたコーディング lane として管理します。Orchestrator が lane のライフサイクルを管理し、`.slim/worktrees.json` に状態を記録し、専門エージェントを lane 内で実行し、Git の状態を変更する前に明示的な確認を求めます。
|
|
229
|
+
|
|
230
|
+
安全プロトコルは **[Skills](docs/skills.md#worktrees)** を参照してください。
|
|
231
|
+
|
|
204
232
|
#### oh-my-opencode-slim Skill
|
|
205
233
|
|
|
206
234
|
同梱の `oh-my-opencode-slim` skill は、Orchestrator がプラグイン自体を設定・改善するのを支援します。モデル調整、カスタムエージェント、プロンプト上書き、skill/MCP 権限、プリセット、任意エージェント、バックグラウンドオーケストレーション、繰り返し発生するワークフロー上の摩擦に利用できます。
|
|
@@ -567,9 +595,11 @@ Deepwork は、大規模リファクタリング、多段階機能、高リス
|
|
|
567
595
|
|-----|----------------|
|
|
568
596
|
| **[Council](docs/council.md)** | 複数のモデルを並列実行し、`@council` で 1 つの回答に統合します |
|
|
569
597
|
| **[Custom Agents](docs/configuration.md#custom-agents)** | カスタムプロンプト、モデル、MCP アクセス、Orchestrator の委譲ルールを備えた独自の専門エージェントを定義します |
|
|
598
|
+
| **[ACP Agents](docs/acp-agents.md)** | Claude Code ACP や Gemini ACP などの外部 ACP 互換エージェントを委譲可能なサブエージェントとして接続します |
|
|
570
599
|
| **[Multiplexer Integration](docs/multiplexer-integration.md)** | エージェントの動作を Tmux や Zellij のペインでライブ表示します |
|
|
571
600
|
| **[Codemap](docs/codemap.md)** | 階層的なコードマップを生成し、大規模コードベースを迅速に理解します |
|
|
572
601
|
| **[Clonedeps](docs/clonedeps.md)** | 選択した依存関係のソースを ignore 済みのローカルワークスペースにクローンし、調査できるようにします |
|
|
602
|
+
| **[Worktrees](docs/worktrees.md)** | `.slim/worktrees/` lane を使い、隔離された並列または高リスクなコーディング作業を行います |
|
|
573
603
|
| **[Preset Switching](docs/preset-switching.md)** | `/preset` で実行時にエージェントモデルのプリセットを切り替えます |
|
|
574
604
|
| **[Interview](docs/interview.md)** | ブラウザベースの Q&A フローで、ざっくりとしたアイデアを構造化された Markdown 仕様に変換します |
|
|
575
605
|
| **[Companion](docs/companion.md)** | 解析、ヘルプ、型情報のためのフローティングウィンドウ companion |
|
|
@@ -582,7 +612,7 @@ Deepwork は、大規模リファクタリング、多段階機能、高リス
|
|
|
582
612
|
| **[Configuration](docs/configuration.md)** | 設定ファイルの配置場所、JSONC サポート、プロンプトの上書き、全オプションのリファレンス |
|
|
583
613
|
| **[Background Orchestration](docs/background-orchestration.md)** | ネイティブのバックグラウンドサブエージェントを中心にした、スケジューラー優先の Orchestrator モデル |
|
|
584
614
|
| **[Maintainer Guide](docs/maintainers.md)** | Issue のトリアージルール、ラベルの意味、サポートの振り分け、リポジトリ運用ワークフロー |
|
|
585
|
-
| **[Skills](docs/skills.md)** | `simplify`、`codemap`、`clonedeps`、`deepwork`、`oh-my-opencode-slim` などの同梱スキル |
|
|
615
|
+
| **[Skills](docs/skills.md)** | `simplify`、`codemap`、`clonedeps`、`deepwork`、`reflect`、`worktrees`、`oh-my-opencode-slim` などの同梱スキル |
|
|
586
616
|
| **[MCPs](docs/mcps.md)** | `websearch`、`context7`、`gh_grep`、およびエージェントごとの MCP 権限の仕組み |
|
|
587
617
|
| **[Tools](docs/tools.md)** | `webfetch`、LSP ツール、コード検索、フォーマッターなどの組み込みツール機能 |
|
|
588
618
|
|
package/README.ko-KR.md
CHANGED
|
@@ -162,6 +162,8 @@ V2는 oh-my-opencode-slim을 스케줄러 중심의 멀티 에이전트 워크
|
|
|
162
162
|
- **[백그라운드 에이전트](#백그라운드-에이전트)** — Orchestrator가 전문가를 백그라운드 작업으로 디스패치하고, 작업/세션 ID를 추적하며, 완료 이벤트를 기다린 뒤 결과를 조정합니다.
|
|
163
163
|
- **[Companion](#companion)** — 선택 사항인 플로팅 데스크톱 창이 병렬 백그라운드 전문가를 포함해 현재 활성 에이전트를 보여줍니다.
|
|
164
164
|
- **[Deepwork](#deepwork)** — 대규모, 다중 파일, 위험도가 높거나 단계적인 코딩 작업을 위한 구조화된 워크플로입니다. 지속적인 계획 파일과 Oracle 리뷰 게이트를 사용합니다.
|
|
165
|
+
- **[Reflect](#reflect)** — 반복되는 작업 패턴을 돌아보고 재사용 가능한 skill, 에이전트, 명령, 설정 규칙, 프롬프트 규칙, 프로젝트 playbook을 제안합니다.
|
|
166
|
+
- **[Worktrees](#worktrees)** — 복잡하거나 위험하거나 병렬로 진행되는 작업을 위해 Git worktree를 안전 프로토콜이 있는 격리된 코딩 lane으로 관리합니다.
|
|
165
167
|
- **[oh-my-opencode-slim Skill](#oh-my-opencode-slim-skill)** — 모델, 프롬프트, 커스텀 에이전트, MCP 접근, 프리셋, 플러그인 동작을 안전하게 조정하는 번들 설정 skill입니다.
|
|
166
168
|
|
|
167
169
|
#### 백그라운드 에이전트
|
|
@@ -199,6 +201,32 @@ Deepwork는 대규모 리팩터링, 다단계 기능, 위험한 아키텍처 변
|
|
|
199
201
|
|
|
200
202
|
사용 시점과 워크플로 동작 방식은 **[Skills](docs/skills.md#deepwork)** 를 참고하세요.
|
|
201
203
|
|
|
204
|
+
#### Reflect
|
|
205
|
+
|
|
206
|
+
Reflect는 Orchestrator가 반복되는 워크플로 마찰에서 배우도록 돕습니다. 최근 작업과 기존 자산을 검토한 뒤 skill, 커스텀 에이전트, 명령, 설정 규칙, 프롬프트 규칙, MCP 권한 변경, 프로젝트 playbook 중 가장 작고 유용한 개선안을 제안합니다. 근거가 부족하면 아무것도 만들지 않는 것을 권장해야 합니다.
|
|
207
|
+
|
|
208
|
+
직접 실행할 수 있습니다.
|
|
209
|
+
|
|
210
|
+
```text
|
|
211
|
+
/reflect
|
|
212
|
+
/reflect release workflow and checks
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
자연어 프롬프트로도 사용할 수 있습니다.
|
|
216
|
+
|
|
217
|
+
```text
|
|
218
|
+
reflect on my recent workflows
|
|
219
|
+
find repeated work worth turning into reusable instructions
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
전체 워크플로와 가드레일은 **[Skills](docs/skills.md#reflect)** 를 참고하세요.
|
|
223
|
+
|
|
224
|
+
#### Worktrees
|
|
225
|
+
|
|
226
|
+
Worktrees는 Git worktree를 `.slim/worktrees/<slug>/` 아래의 안전하고 격리된 코딩 lane으로 관리합니다. Orchestrator가 lane의 생명주기를 관리하고, `.slim/worktrees.json`에 상태를 추적하며, 전문가 에이전트를 lane 안에서 실행하고, Git 상태를 변경하기 전에 명시적인 확인을 요구합니다.
|
|
227
|
+
|
|
228
|
+
안전 프로토콜은 **[Skills](docs/skills.md#worktrees)** 를 참고하세요.
|
|
229
|
+
|
|
202
230
|
#### oh-my-opencode-slim Skill
|
|
203
231
|
|
|
204
232
|
번들된 `oh-my-opencode-slim` skill은 Orchestrator가 플러그인 자체를 설정하고 개선하도록 돕습니다. 모델 튜닝, 커스텀 에이전트, 프롬프트 오버라이드, skill/MCP 권한, 프리셋, 선택적 에이전트, 백그라운드 오케스트레이션, 반복되는 워크플로 마찰에 사용할 수 있습니다.
|
|
@@ -565,9 +593,11 @@ Deepwork는 대규모 리팩터링, 다단계 기능, 위험한 아키텍처 변
|
|
|
565
593
|
|-----|------|
|
|
566
594
|
| **[Council](docs/council.md)** | `@council`로 여러 모델을 병렬 실행하고 하나의 답변으로 종합 |
|
|
567
595
|
| **[Custom Agents](docs/configuration.md#custom-agents)** | 커스텀 프롬프트, 모델, MCP 접근, Orchestrator 위임 규칙으로 커스텀 전문 에이전트 정의 |
|
|
596
|
+
| **[ACP Agents](docs/acp-agents.md)** | Claude Code ACP 또는 Gemini ACP 같은 외부 ACP 호환 에이전트를 위임 가능한 서브에이전트로 연결 |
|
|
568
597
|
| **[Multiplexer Integration](docs/multiplexer-integration.md)** | Tmux 또는 Zellij 페인에서 에이전트 작업을 실시간으로 확인 |
|
|
569
598
|
| **[Codemap](docs/codemap.md)** | 계층형 코드맵을 생성하여 대규모 코드베이스를 빠르게 파악 |
|
|
570
599
|
| **[Clonedeps](docs/clonedeps.md)** | 선택한 의존성 소스를 무시된 로컬 워크스페이스에 복제하여 검사 |
|
|
600
|
+
| **[Worktrees](docs/worktrees.md)** | `.slim/worktrees/` lane을 사용해 격리된 병렬 또는 고위험 코딩 작업 수행 |
|
|
571
601
|
| **[Preset Switching](docs/preset-switching.md)** | `/preset`으로 런타임에 에이전트 모델 프리셋 전환 |
|
|
572
602
|
| **[Interview](docs/interview.md)** | 브라우저 기반 Q&A 흐름을 통해 거친 아이디어를 구조화된 마크다운 명세로 변환 |
|
|
573
603
|
| **[Companion](docs/companion.md)** | 파싱, 도움말, 타입을 위한 플로팅 창 companion |
|
|
@@ -580,7 +610,7 @@ Deepwork는 대규모 리팩터링, 다단계 기능, 위험한 아키텍처 변
|
|
|
580
610
|
| **[Configuration](docs/configuration.md)** | 설정 파일 위치, JSONC 지원, 프롬프트 오버라이드, 전체 옵션 레퍼런스 |
|
|
581
611
|
| **[Background Orchestration](docs/background-orchestration.md)** | 네이티브 백그라운드 서브에이전트를 기반으로 한 스케줄러 우선 Orchestrator 모델 |
|
|
582
612
|
| **[Maintainer Guide](docs/maintainers.md)** | 이슈 트리아지 규칙, 라벨 의미, 지원 라우팅, 저장소 유지보수 워크플로우 |
|
|
583
|
-
| **[Skills](docs/skills.md)** | `simplify`, `codemap`, `clonedeps`, `deepwork`, `oh-my-opencode-slim` 등 번들된 스킬 |
|
|
613
|
+
| **[Skills](docs/skills.md)** | `simplify`, `codemap`, `clonedeps`, `deepwork`, `reflect`, `worktrees`, `oh-my-opencode-slim` 등 번들된 스킬 |
|
|
584
614
|
| **[MCPs](docs/mcps.md)** | `websearch`, `context7`, `gh_grep` 및 에이전트별 MCP 권한 동작 방식 |
|
|
585
615
|
| **[Tools](docs/tools.md)** | `webfetch`, LSP 도구, 코드 검색, 포매터 등 내장 도구 기능 |
|
|
586
616
|
|
package/README.md
CHANGED
|
@@ -165,6 +165,10 @@ verification while specialists do the work in their own lanes.
|
|
|
165
165
|
agents are currently active, including parallel background specialists.
|
|
166
166
|
- **[Deepwork](#deepwork)** — a structured workflow for large, multi-file, risky,
|
|
167
167
|
or phased coding work using persistent plan files and Oracle review gates.
|
|
168
|
+
- **[Reflect](#reflect)** — reviews repeated work patterns and suggests reusable skills,
|
|
169
|
+
agents, commands, config rules, prompt rules, or project playbooks.
|
|
170
|
+
- **[Worktrees](#worktrees)** — manages Git worktrees as isolated coding lanes
|
|
171
|
+
with safety protocols for complex, risky, or parallel tasks.
|
|
168
172
|
- **[oh-my-opencode-slim skill](#oh-my-opencode-slim-skill)** — a bundled
|
|
169
173
|
configuration skill that helps tune models, prompts, custom agents, MCP access,
|
|
170
174
|
presets, and plugin behavior safely.
|
|
@@ -215,6 +219,36 @@ Start it with:
|
|
|
215
219
|
See **[Skills](docs/skills.md#deepwork)** for when to use it and how the workflow
|
|
216
220
|
runs.
|
|
217
221
|
|
|
222
|
+
#### Reflect
|
|
223
|
+
|
|
224
|
+
Reflect helps the Orchestrator learn from repeated workflow friction. It reviews
|
|
225
|
+
recent work and existing assets, then recommends the smallest useful improvement:
|
|
226
|
+
a skill, custom agent, command, config rule, prompt rule, MCP permission change,
|
|
227
|
+
or project playbook. If there is not enough evidence, it should recommend
|
|
228
|
+
creating nothing.
|
|
229
|
+
|
|
230
|
+
Use it directly with:
|
|
231
|
+
|
|
232
|
+
```text
|
|
233
|
+
/reflect
|
|
234
|
+
/reflect release workflow and checks
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
Or with natural prompts like:
|
|
238
|
+
|
|
239
|
+
```text
|
|
240
|
+
reflect on my recent workflows
|
|
241
|
+
find repeated work worth turning into reusable instructions
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
See **[Skills](docs/skills.md#reflect)** for the full workflow and guardrails.
|
|
245
|
+
|
|
246
|
+
#### Worktrees
|
|
247
|
+
|
|
248
|
+
Worktrees manages Git worktrees as safe, isolated coding lanes under `.slim/worktrees/<slug>/`. The Orchestrator manages the lifecycle of these lanes, tracks state in `.slim/worktrees.json`, dispatches specialist agents inside them, and requires explicit confirmation before mutating git state.
|
|
249
|
+
|
|
250
|
+
See **[Skills](docs/skills.md#worktrees)** for the safety protocol.
|
|
251
|
+
|
|
218
252
|
#### oh-my-opencode-slim Skill
|
|
219
253
|
|
|
220
254
|
The bundled `oh-my-opencode-slim` skill helps the Orchestrator configure and
|
|
@@ -585,9 +619,11 @@ Use this section as a map: start with installation, then jump to features, confi
|
|
|
585
619
|
|-----|----------------|
|
|
586
620
|
| **[Council](docs/council.md)** | Run multiple models in parallel and synthesize a single answer with `@council` |
|
|
587
621
|
| **[Custom Agents](docs/configuration.md#custom-agents)** | Define your own specialists with custom prompts, models, MCP access, and Orchestrator delegation rules |
|
|
622
|
+
| **[ACP Agents](docs/acp-agents.md)** | Connect external ACP-compatible agents such as Claude Code ACP or Gemini ACP as delegatable subagents |
|
|
588
623
|
| **[Multiplexer Integration](docs/multiplexer-integration.md)** | Watch agents work live in Tmux or Zellij panes |
|
|
589
624
|
| **[Codemap](docs/codemap.md)** | Generate hierarchical codemaps to understand large codebases faster |
|
|
590
625
|
| **[Clonedeps](docs/clonedeps.md)** | Clone selected dependency source into an ignored local workspace for inspection |
|
|
626
|
+
| **[Worktrees](docs/worktrees.md)** | Use `.slim/worktrees/` lanes for isolated parallel or risky coding work |
|
|
591
627
|
| **[Preset Switching](docs/preset-switching.md)** | Switch agent model presets at runtime with `/preset` |
|
|
592
628
|
| **[Interview](docs/interview.md)** | Turn rough ideas into a structured markdown spec through a browser-based Q&A flow |
|
|
593
629
|
| **[Companion](docs/companion.md)** | Floating window companion for parsing, help, and types |
|
|
@@ -600,7 +636,7 @@ Use this section as a map: start with installation, then jump to features, confi
|
|
|
600
636
|
| **[Configuration](docs/configuration.md)** | Config file locations, JSONC support, prompt overrides, and full option reference |
|
|
601
637
|
| **[Background Orchestration](docs/background-orchestration.md)** | Scheduler-first orchestrator model built around native background subagents |
|
|
602
638
|
| **[Maintainer Guide](docs/maintainers.md)** | Issue triage rules, label meanings, support routing, and repo maintenance workflow |
|
|
603
|
-
| **[Skills](docs/skills.md)** | Bundled skills such as `simplify`, `codemap`, `clonedeps`, `deepwork`, and `oh-my-opencode-slim` |
|
|
639
|
+
| **[Skills](docs/skills.md)** | Bundled skills such as `simplify`, `codemap`, `clonedeps`, `deepwork`, `reflect`, `worktrees`, and `oh-my-opencode-slim` |
|
|
604
640
|
| **[MCPs](docs/mcps.md)** | `websearch`, `context7`, `gh_grep`, and how MCP permissions work per agent |
|
|
605
641
|
| **[Tools](docs/tools.md)** | Built-in tool capabilities like `webfetch`, LSP tools, code search, and formatters |
|
|
606
642
|
|
|
@@ -621,7 +657,7 @@ Use this section as a map: start with installation, then jump to features, confi
|
|
|
621
657
|
<p><sub>Every merged contribution leaves a mark on the realm.</sub></p>
|
|
622
658
|
|
|
623
659
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
624
|
-
[](#contributors-)
|
|
625
661
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
626
662
|
</div>
|
|
627
663
|
|
|
@@ -712,6 +748,9 @@ Use this section as a map: start with installation, then jump to features, confi
|
|
|
712
748
|
<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>
|
|
713
749
|
<td align="center" valign="top" width="16.66%"><a href="https://github.com/sktr"><img src="https://avatars.githubusercontent.com/u/44969514?v=4?s=100" width="100px;" alt="sktr"/><br /><sub><b>sktr</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=sktr" title="Code">💻</a></td>
|
|
714
750
|
</tr>
|
|
751
|
+
<tr>
|
|
752
|
+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/bobbyunknown"><img src="https://avatars.githubusercontent.com/u/62272380?v=4?s=100" width="100px;" alt="Insomnia"/><br /><sub><b>Insomnia</b></sub></a><br /><a href="https://github.com/alvinunreal/oh-my-opencode-slim/commits?author=bobbyunknown" title="Code">💻</a></td>
|
|
753
|
+
</tr>
|
|
715
754
|
</tbody>
|
|
716
755
|
</table>
|
|
717
756
|
|
package/README.zh-CN.md
CHANGED
|
@@ -159,6 +159,8 @@ V2 将 oh-my-opencode-slim 变成了以调度器为核心的多智能体工作
|
|
|
159
159
|
- **[后台智能体](#后台智能体)** — Orchestrator 现在会把专家作为后台任务派发,跟踪任务/会话 ID,等待完成事件,并在继续之前整合结果。
|
|
160
160
|
- **[Companion](#companion)** — 可选的浮动桌面窗口会显示当前活跃的智能体,包括并行运行的后台专家。
|
|
161
161
|
- **[Deepwork](#deepwork)** — 面向大型、多文件、高风险或分阶段编码工作的结构化工作流,使用持久化计划文件和 Oracle 评审关卡。
|
|
162
|
+
- **[Reflect](#reflect)** — 回顾重复出现的工作模式,并建议可复用的 skill、智能体、命令、配置规则、提示词规则或项目 playbook。
|
|
163
|
+
- **[Worktrees](#worktrees)** — 将 Git worktree 作为隔离编码通道管理,并为复杂、高风险或并行任务提供安全协议。
|
|
162
164
|
- **[oh-my-opencode-slim Skill](#oh-my-opencode-slim-skill)** — 随包提供的配置技能,可安全调优模型、提示词、自定义智能体、MCP 访问、预设和插件行为。
|
|
163
165
|
|
|
164
166
|
#### 后台智能体
|
|
@@ -196,6 +198,32 @@ Deepwork 适用于重型编码会话:大范围重构、多阶段功能、高
|
|
|
196
198
|
|
|
197
199
|
何时使用以及工作流如何运行,请参阅 **[Skills](docs/skills.md#deepwork)**。
|
|
198
200
|
|
|
201
|
+
#### Reflect
|
|
202
|
+
|
|
203
|
+
Reflect 帮助 Orchestrator 从重复出现的工作流摩擦中学习。它会回顾近期工作和现有资产,然后建议最小且有用的改进:skill、自定义智能体、命令、配置规则、提示词规则、MCP 权限变更或项目 playbook。如果证据不足,它应建议什么都不创建。
|
|
204
|
+
|
|
205
|
+
直接使用:
|
|
206
|
+
|
|
207
|
+
```text
|
|
208
|
+
/reflect
|
|
209
|
+
/reflect release workflow and checks
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
也可以使用自然语言提示:
|
|
213
|
+
|
|
214
|
+
```text
|
|
215
|
+
reflect on my recent workflows
|
|
216
|
+
find repeated work worth turning into reusable instructions
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
完整工作流和安全规则见 **[Skills](docs/skills.md#reflect)**。
|
|
220
|
+
|
|
221
|
+
#### Worktrees
|
|
222
|
+
|
|
223
|
+
Worktrees 将 Git worktree 作为安全、隔离的编码通道管理,默认位于 `.slim/worktrees/<slug>/`。Orchestrator 负责这些通道的生命周期,在 `.slim/worktrees.json` 中跟踪状态,在通道内调度专家智能体,并在修改 Git 状态前要求明确确认。
|
|
224
|
+
|
|
225
|
+
安全协议见 **[Skills](docs/skills.md#worktrees)**。
|
|
226
|
+
|
|
199
227
|
#### oh-my-opencode-slim Skill
|
|
200
228
|
|
|
201
229
|
内置的 `oh-my-opencode-slim` skill 可帮助 Orchestrator 配置和改进插件本身。可用于模型调优、自定义智能体、提示词覆盖、skill/MCP 权限、预设、可选智能体、后台编排以及反复出现的工作流摩擦。
|
|
@@ -562,9 +590,11 @@ Deepwork 适用于重型编码会话:大范围重构、多阶段功能、高
|
|
|
562
590
|
|-----|----------------|
|
|
563
591
|
| **[Council](docs/council.md)** | 使用 `@council` 并行运行多个模型并合成单一答案 |
|
|
564
592
|
| **[自定义智能体](docs/configuration.md#custom-agents)** | 使用自定义提示词、模型、MCP 访问和 Orchestrator 委派规则定义自己的专家 |
|
|
593
|
+
| **[ACP Agents](docs/acp-agents.md)** | 将 Claude Code ACP 或 Gemini ACP 等外部 ACP 兼容智能体连接为可委派子智能体 |
|
|
565
594
|
| **[多路复用器集成](docs/multiplexer-integration.md)** | 在 Tmux 或 Zellij 窗格中实时观看智能体工作 |
|
|
566
595
|
| **[Codemap](docs/codemap.md)** | 生成层级代码地图,更快理解大型代码库 |
|
|
567
596
|
| **[Clonedeps](docs/clonedeps.md)** | 将选定的依赖源码克隆到被忽略的本地工作区中以供检查 |
|
|
597
|
+
| **[Worktrees](docs/worktrees.md)** | 使用 `.slim/worktrees/` 通道进行隔离的并行或高风险编码工作 |
|
|
568
598
|
| **[预设切换](docs/preset-switching.md)** | 使用 `/preset` 在运行时切换智能体模型预设 |
|
|
569
599
|
| **[Interview](docs/interview.md)** | 通过基于浏览器的问答流程,将粗略想法转成结构化 markdown 规格 |
|
|
570
600
|
| **[Companion](docs/companion.md)** | 用于解析、帮助和类型信息的浮动窗口 companion |
|
|
@@ -577,7 +607,7 @@ Deepwork 适用于重型编码会话:大范围重构、多阶段功能、高
|
|
|
577
607
|
| **[配置](docs/configuration.md)** | 配置文件位置、JSONC 支持、提示词覆盖和完整选项参考 |
|
|
578
608
|
| **[后台编排](docs/background-orchestration.md)** | 围绕原生后台子智能体构建的调度器优先 Orchestrator 模型 |
|
|
579
609
|
| **[维护者指南](docs/maintainers.md)** | issue 分流规则、标签含义、支持路由和仓库维护工作流 |
|
|
580
|
-
| **[Skills](docs/skills.md)** | `simplify`、`codemap`、`clonedeps`、`deepwork` 和 `oh-my-opencode-slim` 等捆绑技能 |
|
|
610
|
+
| **[Skills](docs/skills.md)** | `simplify`、`codemap`、`clonedeps`、`deepwork`、`reflect`、`worktrees` 和 `oh-my-opencode-slim` 等捆绑技能 |
|
|
581
611
|
| **[MCPs](docs/mcps.md)** | `websearch`、`context7`、`gh_grep` 以及每个智能体的 MCP 权限机制 |
|
|
582
612
|
| **[Tools](docs/tools.md)** | `webfetch`、LSP 工具、代码搜索和格式化工具等内置工具能力 |
|
|
583
613
|
|
|
@@ -22,8 +22,6 @@ export declare function resolvePrompt(base: string, customPrompt?: string, custo
|
|
|
22
22
|
* @returns The complete orchestrator prompt string
|
|
23
23
|
*/
|
|
24
24
|
export declare function buildOrchestratorPrompt(disabledAgents?: Set<string>): string;
|
|
25
|
-
/** @deprecated Use buildOrchestratorPrompt() instead */
|
|
26
|
-
export declare const ORCHESTRATOR_PROMPT: string;
|
|
27
25
|
export declare function createOrchestratorAgent(model?: string | Array<string | {
|
|
28
26
|
id: string;
|
|
29
27
|
variant?: string;
|
package/dist/cli/companion.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { getCompanionBinaryPath, getCompanionTarget } from '../companion/updater';
|
|
1
2
|
import type { ConfigMergeResult, InstallConfig } from './types';
|
|
2
|
-
export
|
|
3
|
-
export declare function getCompanionBinaryPath(): string;
|
|
3
|
+
export { getCompanionBinaryPath, getCompanionTarget };
|
|
4
4
|
export declare function installCompanion(config: InstallConfig): Promise<ConfigMergeResult>;
|