oh-my-opencode 4.18.2 → 4.19.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/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +4 -4
- package/README.ru.md +2 -2
- package/README.zh-cn.md +2 -2
- package/dist/agents/atlas/agent.d.ts +6 -5
- package/dist/agents/sisyphus/index.d.ts +5 -0
- package/dist/agents/sisyphus/kimi-k3.d.ts +19 -0
- package/dist/agents/sisyphus-agent-factory.d.ts +1 -1
- package/dist/agents/sisyphus-junior/agent.d.ts +8 -4
- package/dist/agents/sisyphus-junior/index.d.ts +2 -0
- package/dist/agents/sisyphus-junior/kimi-k3.d.ts +12 -0
- package/dist/agents/types.d.ts +2 -2
- package/dist/cli/index.js +648 -136
- package/dist/cli-node/index.js +648 -136
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/browser-automation.d.ts +1 -0
- package/dist/config/schema/commands.d.ts +1 -3
- package/dist/config/schema/default-mode.d.ts +1 -1
- package/dist/config/schema/goal.d.ts +7 -0
- package/dist/config/schema/hooks.d.ts +1 -1
- package/dist/config/schema/oh-my-opencode-config.d.ts +6 -10
- package/dist/config/schema/ralph-loop.d.ts +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/create-hooks.d.ts +1 -1
- package/dist/features/builtin-commands/templates/goal.d.ts +1 -0
- package/dist/features/builtin-commands/templates/stop-continuation.d.ts +1 -1
- package/dist/features/builtin-commands/types.d.ts +1 -1
- package/dist/hooks/auto-slash-command/executor.d.ts +1 -0
- package/dist/hooks/goal/command-arguments.d.ts +13 -0
- package/dist/hooks/goal/controller.d.ts +26 -0
- package/dist/hooks/goal/index.d.ts +23 -0
- package/dist/hooks/goal/prompt.d.ts +3 -0
- package/dist/hooks/goal/store.d.ts +8 -0
- package/dist/hooks/goal/tools.d.ts +10 -0
- package/dist/hooks/goal/types.d.ts +93 -0
- package/dist/hooks/goal/validation.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/keyword-detector/hook.d.ts +1 -2
- package/dist/hooks/ralph-loop/types.d.ts +1 -1
- package/dist/index.js +3515 -4365
- package/dist/oh-my-opencode.schema.json +23 -19
- package/dist/plugin/chat-message/loop-commands.d.ts +1 -1
- package/dist/plugin/chat-message/types.d.ts +23 -10
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +3 -2
- package/dist/plugin/hooks/create-transform-hooks.d.ts +0 -2
- package/dist/plugin/stop-continuation.d.ts +2 -2
- package/dist/shared/system-directive.d.ts +0 -1
- package/dist/skills/ulw-plan/SKILL.md +11 -7
- package/dist/skills/ulw-plan/references/full-workflow.md +117 -6
- package/dist/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/dist/skills/ulw-research/SKILL.md +3 -3
- package/dist/tools/delegate-task/types.d.ts +0 -1
- package/dist/tui.js +73 -25
- package/package.json +14 -14
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +352 -17
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +7 -6
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +97 -30
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/AGENTS.md +1 -0
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/AGENTS.md +8 -0
- package/packages/omo-codex/plugin/components/start-work-continuation/dist/cli.js +147 -60
- package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/src/boulder-reader.ts +3 -71
- package/packages/omo-codex/plugin/components/start-work-continuation/src/plan-checklist.ts +171 -0
- package/packages/omo-codex/plugin/components/start-work-continuation/test/boulder-reader.test.ts +198 -23
- package/packages/omo-codex/plugin/components/start-work-continuation/test/cli.test.ts +4 -3
- package/packages/omo-codex/plugin/components/start-work-continuation/test/codex-hook.test.ts +6 -5
- package/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-scaffold.md +15 -0
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/AGENTS.md +10 -10
- package/packages/omo-codex/plugin/components/ultrawork/agents/momus.toml +3 -3
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +11 -7
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +13 -13
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/multi-agent-v2-guard.mjs +32 -28
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/subagent-limit-guard.mjs +17 -45
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/toml-section-editor.mjs +455 -0
- package/packages/omo-codex/plugin/scripts/sync-skills.mjs +3 -18
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +11 -7
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/omo-codex/plugin/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/omo-codex/plugin/test/aggregate-agents.test.mjs +2 -2
- package/packages/omo-codex/plugin/test/lcx-bug-skills.test.mjs +2 -2
- package/packages/omo-codex/plugin/test/migrate-codex-config.test.mjs +6 -6
- package/packages/omo-codex/plugin/test/multi-agent-v2-regression.test.mjs +3 -3
- package/packages/omo-codex/plugin/test/scaffold-plan.test.mjs +62 -0
- package/packages/omo-codex/plugin/test/subagent-limit-migration.test.mjs +271 -14
- package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +3 -18
- package/packages/omo-codex/plugin/test/sync-skills.test.mjs +0 -5
- package/packages/omo-codex/plugin/test/ulw-plan-review-state-contract.test.mjs +293 -0
- package/packages/omo-codex/scripts/install-config.test.mjs +10 -10
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +353 -18
- package/packages/omo-codex/scripts/install-generated-bundle.test.mjs +39 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +11 -7
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/shared-skills/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/shared-skills/skills/ulw-research/SKILL.md +3 -3
- package/dist/features/builtin-commands/templates/ralph-loop.d.ts +0 -3
- package/dist/skills/ultraresearch/SKILL.md +0 -10
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/SKILL.md +0 -273
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/agents/openai.yaml +0 -12
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/scripts/create-pr-body.mjs +0 -107
- package/packages/shared-skills/skills/lcx-doctor/SKILL.md +0 -128
- package/packages/shared-skills/skills/lcx-doctor/agents/openai.yaml +0 -11
- package/packages/shared-skills/skills/lcx-report-bug/SKILL.md +0 -268
- package/packages/shared-skills/skills/lcx-report-bug/agents/openai.yaml +0 -11
- package/packages/shared-skills/skills/ultraresearch/SKILL.md +0 -10
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/agents/openai.yaml +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/scripts/create-pr-body.mjs +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-doctor/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-doctor/agents/openai.yaml +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-report-bug/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-report-bug/agents/openai.yaml +0 -0
package/README.ja.md
CHANGED
|
@@ -193,7 +193,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
193
193
|
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
194
194
|
</tr></table>
|
|
195
195
|
|
|
196
|
-
**Sisyphus** (`claude-opus-4-7` / **`kimi-k2.6`** / **`glm-5`**) はあなたのメインオーケストレーターです。計画を立て、専門家に委任し、攻撃的な並列実行でタスクを完了まで推進します。途中で投げ出すことはありません。
|
|
196
|
+
**Sisyphus** (`claude-opus-4-8` / `claude-opus-4-7` / **`kimi-k3`** / **`kimi-k2.6`** / **`glm-5`**) はあなたのメインオーケストレーターです。計画を立て、専門家に委任し、攻撃的な並列実行でタスクを完了まで推進します。途中で投げ出すことはありません。thinking token のコストを許容できる場合は **Kimi K3** を、そうでなければ **Claude Opus 4.8 / 4.7** または **Kimi K2.6** を推奨します。
|
|
197
197
|
|
|
198
198
|
**Hephaestus** (OpenAI または Vercel では `gpt-5.6-sol`、その次に `gpt-5.5`) はあなたの自律的なディープワーカーです。レシピではなく、目標を与えてください。手取り足取り教えなくても、コードベースを探索し、パターンを調査し、エンドツーエンドで実行します。*正当なる職人 (The Legitimate Craftsman).*
|
|
199
199
|
|
|
@@ -203,7 +203,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
203
203
|
|
|
204
204
|
> Anthropic が [私たちのせいで OpenCode をブロックしました。](https://x.com/thdxr/status/2010149530486911014) だからこそ Hephaestus は「正当なる職人 (The Legitimate Craftsman)」と呼ばれているのです。皮肉を込めています。
|
|
205
205
|
>
|
|
206
|
-
> Opus で最もよく動きますが、Kimi K2.6 + GPT-5.5 の組み合わせだけでも、バニラの Claude Code を軽く凌駕します。設定は一切不要です。
|
|
206
|
+
> Opus または Kimi K3 で最もよく動きますが、Kimi K2.6 + GPT-5.5 の組み合わせだけでも、バニラの Claude Code を軽く凌駕します。設定は一切不要です。
|
|
207
207
|
|
|
208
208
|
### Team Mode (v4.0)
|
|
209
209
|
|
package/README.ko.md
CHANGED
|
@@ -194,7 +194,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
194
194
|
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
195
195
|
</tr></table>
|
|
196
196
|
|
|
197
|
-
**Sisyphus** (`claude-opus-4-7` / **`kimi-k2.6`** / **`glm-5`**)는 메인 오케스트레이터입니다. 계획을 세우고, 전문가에게 위임하고, 공격적인 병렬 실행으로 작업을 끝까지 밀어붙입니다. 중간에 멈추지 않습니다.
|
|
197
|
+
**Sisyphus** (`claude-opus-4-8` / `claude-opus-4-7` / **`kimi-k3`** / **`kimi-k2.6`** / **`glm-5`**)는 메인 오케스트레이터입니다. 계획을 세우고, 전문가에게 위임하고, 공격적인 병렬 실행으로 작업을 끝까지 밀어붙입니다. 중간에 멈추지 않습니다. thinking token 비용을 감수할 수 있다면 **Kimi K3**를, 그렇지 않으면 **Claude Opus 4.8 / 4.7** 또는 **Kimi K2.6**을 권장합니다.
|
|
198
198
|
|
|
199
199
|
**Hephaestus** (OpenAI 또는 Vercel에서 `gpt-5.6-sol`, 그다음 `gpt-5.5`)는 자율적으로 깊게 파는 작업자입니다. 레시피가 아니라 목표를 주세요. 코드베이스를 탐색하고, 패턴을 조사하고, 손을 잡아주지 않아도 엔드투엔드로 실행합니다. *The Legitimate Craftsman.*
|
|
200
200
|
|
|
@@ -204,7 +204,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
204
204
|
|
|
205
205
|
> Anthropic은 [우리 때문에 OpenCode를 차단했습니다.](https://x.com/thdxr/status/2010149530486911014) 그래서 Hephaestus에게 "The Legitimate Craftsman"이라는 별명이 붙었습니다. 의도된 아이러니입니다.
|
|
206
206
|
>
|
|
207
|
-
> Opus에서 가장 잘 돌지만, Kimi K2.6 + GPT-5.5 조합만으로도 이미 바닐라 Claude Code를 이깁니다. 별도 설정 없이요.
|
|
207
|
+
> Opus나 Kimi K3에서 가장 잘 돌지만, Kimi K2.6 + GPT-5.5 조합만으로도 이미 바닐라 Claude Code를 이깁니다. 별도 설정 없이요.
|
|
208
208
|
|
|
209
209
|
### Team Mode (v4.0)
|
|
210
210
|
|
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ Even with only the following subscriptions, `ultrawork` works well (this project
|
|
|
221
221
|
| 🔎 | **AST-Grep** | Ultimate | Pattern-aware code search and rewriting across 25 languages. |
|
|
222
222
|
| 🧠 | **Background Agents** | Ultimate | Fire 5+ specialists in parallel. Context stays lean. Results when ready. |
|
|
223
223
|
| 📚 | **Built-in MCPs** (web/docs/code search) | Ultimate | Exa (web search), Context7 (official docs), Grep.app (GitHub search). Always on. |
|
|
224
|
-
| 🔁 | **
|
|
224
|
+
| 🔁 | **Goal / `/goal`** | Ultimate | Persistent per-session objective. Re-injects a continuation prompt on every idle until a completion audit says it's done. |
|
|
225
225
|
| ✅ | **Todo Enforcer** | Ultimate | Agent goes idle? System yanks it back. Your task gets done, period. |
|
|
226
226
|
| 💬 | **Comment Checker** | Both | No AI slop in comments. Code reads like a senior wrote it. |
|
|
227
227
|
| 📐 | **Rules Injection** (`AGENTS.md` / `.omo/rules/**`) | Both | Project rules and AGENTS.md auto-loaded into the agent's context at every prompt. |
|
|
@@ -241,7 +241,7 @@ Even with only the following subscriptions, `ultrawork` works well (this project
|
|
|
241
241
|
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
242
242
|
</tr></table>
|
|
243
243
|
|
|
244
|
-
**Sisyphus** (`claude-opus-4-7` / **`kimi-k2.6`** / **`glm-5`** ) is your main orchestrator. He plans, delegates to specialists, and drives tasks to completion with aggressive parallel execution. He does not stop halfway.
|
|
244
|
+
**Sisyphus** (`claude-opus-4-8` / `claude-opus-4-7` / **`kimi-k3`** / **`kimi-k2.6`** / **`glm-5`** ) is your main orchestrator. He plans, delegates to specialists, and drives tasks to completion with aggressive parallel execution. He does not stop halfway. Use **Kimi K3** when you can accept its thinking-token cost; otherwise **Claude Opus 4.8 / 4.7** or **Kimi K2.6** are the recommended defaults.
|
|
245
245
|
|
|
246
246
|
**Hephaestus** (`gpt-5.6-sol` on OpenAI or Vercel, then `gpt-5.5`) is your autonomous deep worker. Give him a goal, not a recipe. He explores the codebase, researches patterns, and executes end-to-end without hand-holding. *The Legitimate Craftsman.*
|
|
247
247
|
|
|
@@ -251,7 +251,7 @@ Every agent is tuned to its model's specific strengths. No manual model juggling
|
|
|
251
251
|
|
|
252
252
|
> Anthropic [blocked OpenCode because of us.](https://x.com/thdxr/status/2010149530486911014) That's why Hephaestus is called "The Legitimate Craftsman." The irony is intentional.
|
|
253
253
|
>
|
|
254
|
-
> We run best on Opus, but Kimi K2.6 + GPT-5.5 already beats vanilla Claude Code. Zero config needed.
|
|
254
|
+
> We run best on Opus or Kimi K3, but Kimi K2.6 + GPT-5.5 already beats vanilla Claude Code. Zero config needed.
|
|
255
255
|
|
|
256
256
|
### Team Mode (v4.0)
|
|
257
257
|
|
|
@@ -433,7 +433,7 @@ See full [Features Documentation](docs/reference/features.md).
|
|
|
433
433
|
- **Claude Code Compatibility**: Full hook system, commands, skills, agents, MCPs
|
|
434
434
|
- **Built-in MCPs**: websearch (Exa), context7 (docs), grep_app (GitHub search) — injected at runtime by the plugin; not visible in `opencode mcp list` (see [MCP docs](docs/reference/features.md#native-vs-plugin-injected-mcps))
|
|
435
435
|
- **Session Tools**: List, read, search, and analyze session history
|
|
436
|
-
- **Productivity Features**:
|
|
436
|
+
- **Productivity Features**: Goal, Todo Enforcer, Comment Checker, Think Mode, and more
|
|
437
437
|
- **Doctor Command**: Built-in diagnostics (`bunx oh-my-opencode doctor`) verify plugin registration, config, models, and environment
|
|
438
438
|
- **Model Fallbacks**: `fallback_models` can mix plain model strings with per-fallback object settings in the same array
|
|
439
439
|
- **File Prompts**: Load prompts from files with `file://` support in agent configurations
|
package/README.ru.md
CHANGED
|
@@ -192,7 +192,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
192
192
|
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
193
193
|
</tr></table>
|
|
194
194
|
|
|
195
|
-
**Sisyphus** (`claude-opus-4-7` / **`kimi-k2.6`** / **`glm-5`**) — главный оркестратор. Он планирует, делегирует задачи специалистам и доводит их до завершения с агрессивным параллельным выполнением. Он не останавливается на полпути.
|
|
195
|
+
**Sisyphus** (`claude-opus-4-8` / `claude-opus-4-7` / **`kimi-k3`** / **`kimi-k2.6`** / **`glm-5`**) — главный оркестратор. Он планирует, делегирует задачи специалистам и доводит их до завершения с агрессивным параллельным выполнением. Он не останавливается на полпути. Используйте **Kimi K3**, если готовы оплатить повышенный расход thinking-токенов; иначе рекомендуем **Claude Opus 4.8 / 4.7** или **Kimi K2.6**.
|
|
196
196
|
|
|
197
197
|
**Hephaestus** (`gpt-5.6-sol` через OpenAI или Vercel, затем `gpt-5.5`) — автономный глубокий исполнитель. Дайте ему цель, а не рецепт. Он исследует кодовую базу, изучает паттерны и выполняет задачи сквозным образом без лишних подсказок. *Законный Мастер.*
|
|
198
198
|
|
|
@@ -202,7 +202,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
202
202
|
|
|
203
203
|
> Anthropic [заблокировал OpenCode из-за нас.](https://x.com/thdxr/status/2010149530486911014) Именно поэтому Hephaestus зовётся «Законным Мастером». Ирония намеренная.
|
|
204
204
|
>
|
|
205
|
-
> Мы работаем лучше всего на Opus, но Kimi K2.6 + GPT-5.5 уже превосходят ванильный Claude Code. Никакой настройки не требуется.
|
|
205
|
+
> Мы работаем лучше всего на Opus или Kimi K3, но Kimi K2.6 + GPT-5.5 уже превосходят ванильный Claude Code. Никакой настройки не требуется.
|
|
206
206
|
|
|
207
207
|
### Team Mode (v4.0)
|
|
208
208
|
|
package/README.zh-cn.md
CHANGED
|
@@ -199,7 +199,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
199
199
|
<td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
|
|
200
200
|
</tr></table>
|
|
201
201
|
|
|
202
|
-
**Sisyphus** (`claude-opus-4-7` / **`kimi-k2.6`** / **`glm-5`**)
|
|
202
|
+
**Sisyphus** (`claude-opus-4-8` / `claude-opus-4-7` / **`kimi-k3`** / **`kimi-k2.6`** / **`glm-5`**) 是你的主指挥官。他负责制定计划、分配任务给专家团队,并以极其激进的并行策略推动任务直至完成。他从不半途而废。如果你能接受 thinking token 的成本,请使用 **Kimi K3**;否则推荐使用 **Claude Opus 4.8 / 4.7** 或 **Kimi K2.6**。
|
|
203
203
|
|
|
204
204
|
**Hephaestus** (在 OpenAI 或 Vercel 上优先 `gpt-5.6-sol`,其次 `gpt-5.5`) 是你的自主深度工作者。你只需要给他目标,不要给他具体做法。他会自动探索代码库模式,从头到尾独立执行任务,绝不会中途要你当保姆。*名副其实的正牌工匠。*
|
|
205
205
|
|
|
@@ -209,7 +209,7 @@ Read this and tell me why it's not just another boilerplate: https://raw.githubu
|
|
|
209
209
|
|
|
210
210
|
> Anthropic [因为我们屏蔽了 OpenCode](https://x.com/thdxr/status/2010149530486911014)。这就是为什么我们将 Hephaestus 命名为"正牌工匠 (The Legitimate Craftsman)"。这是一个故意的讽刺。
|
|
211
211
|
>
|
|
212
|
-
> 我们在 Opus 上运行得最好,但仅仅使用 Kimi K2.6 + GPT-5.5 就足以碾压原版的 Claude Code。完全不需要配置。
|
|
212
|
+
> 我们在 Opus 或 Kimi K3 上运行得最好,但仅仅使用 Kimi K2.6 + GPT-5.5 就足以碾压原版的 Claude Code。完全不需要配置。
|
|
213
213
|
|
|
214
214
|
### Team Mode (v4.0)
|
|
215
215
|
|
|
@@ -7,16 +7,17 @@
|
|
|
7
7
|
* 1. Claude Opus 4.7 → opus-4-7.md (literal-following + explicit fan-out push)
|
|
8
8
|
* 2. GPT family → gpt.md (calibrated for GPT-5.5)
|
|
9
9
|
* 3. Gemini family → gemini.md
|
|
10
|
-
* 4. Kimi
|
|
11
|
-
* 5. Kimi K2.
|
|
12
|
-
* 6.
|
|
13
|
-
* 7.
|
|
10
|
+
* 4. Kimi K3 → kimi-k3.md (K3-native; checked first among Kimi)
|
|
11
|
+
* 5. Kimi K2.7 → kimi-k2-7.md (restrained, outcome-first; checked before generic kimi)
|
|
12
|
+
* 6. Kimi K2.x family → kimi.md (Claude-family base + K2.6 thinking-mode calibration)
|
|
13
|
+
* 7. GLM family → glm.md (GLM 5.2 calibration)
|
|
14
|
+
* 8. Default (Claude 4.6 family: opus-4-6, sonnet-4-6, haiku-4-5, etc.) → default.md
|
|
14
15
|
*/
|
|
15
16
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
16
17
|
import type { AgentPromptMetadata } from "../types";
|
|
17
18
|
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
18
19
|
import type { CategoryConfig } from "../../config/schema";
|
|
19
|
-
export type AtlasPromptSource = "default" | "gpt" | "gemini" | "kimi" | "kimi-k2-7" | "opus-4-7" | "glm";
|
|
20
|
+
export type AtlasPromptSource = "default" | "gpt" | "gemini" | "kimi" | "kimi-k3" | "kimi-k2-7" | "opus-4-7" | "glm";
|
|
20
21
|
export declare function getAtlasPromptSource(model?: string): AtlasPromptSource;
|
|
21
22
|
export interface OrchestratorContext {
|
|
22
23
|
model?: string;
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
* - gemini.ts: Corrective overlays for Gemini's aggressive tendencies
|
|
10
10
|
* - gpt-5-4.ts: Native GPT-5.4 prompt with block-structured guidance
|
|
11
11
|
* - gpt-5-5.ts: Native GPT-5.5 prompt with Codex-style sections
|
|
12
|
+
* - kimi-k2-6.ts: Kimi K2.6 native prompt with thinking-mode stop conditions
|
|
13
|
+
* - kimi-k2-7.ts: Kimi K2.7 native prompt, restrained and outcome-first
|
|
14
|
+
* - kimi-k3.ts: Kimi K3 native prompt with explicit anti-overthinking calibration
|
|
12
15
|
*/
|
|
13
16
|
export { buildDefaultSisyphusPrompt, buildTaskManagementSection } from "./default";
|
|
14
17
|
export { buildClaudeOpus47SisyphusPrompt } from "./claude-opus-4-7";
|
|
@@ -19,3 +22,5 @@ export { buildGpt54SisyphusPrompt } from "./gpt-5-4";
|
|
|
19
22
|
export { buildGpt55SisyphusPrompt } from "./gpt-5-5";
|
|
20
23
|
export { buildGlm52SisyphusPrompt } from "./glm-5-2";
|
|
21
24
|
export { buildKimiK26SisyphusPrompt } from "./kimi-k2-6";
|
|
25
|
+
export { buildKimiK27SisyphusPrompt } from "./kimi-k2-7";
|
|
26
|
+
export { buildKimiK3SisyphusPrompt } from "./kimi-k3";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kimi K3-native Sisyphus prompt.
|
|
3
|
+
*
|
|
4
|
+
* K3 inherits K2.7's restrained, outcome-first steerability, but its thinking
|
|
5
|
+
* policy is tuned even harder for long-horizon reasoning. The resulting value
|
|
6
|
+
* is real on ambiguous architecture, multi-step debugging, and failure
|
|
7
|
+
* diagnosis. The cost is a tendency to keep thinking once the decisive
|
|
8
|
+
* condition is already met — re-deriving given facts, enumerating unused
|
|
9
|
+
* alternatives, and second-guessing settled choices.
|
|
10
|
+
*
|
|
11
|
+
* This prompt does not suppress reasoning. It gives the reasoning a stop
|
|
12
|
+
* condition: terminal conditions, commitment framing, and an explicit
|
|
13
|
+
* "go work" rule. Everything else is the same shared builder surface as the
|
|
14
|
+
* other Sisyphus variants.
|
|
15
|
+
*/
|
|
16
|
+
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
|
17
|
+
import { categorizeTools } from "../dynamic-agent-prompt-builder";
|
|
18
|
+
export declare function buildKimiK3SisyphusPrompt(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
|
|
19
|
+
export { categorizeTools };
|
|
@@ -7,7 +7,7 @@ import type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynami
|
|
|
7
7
|
* runtime model resolves to a different family than the configured one, the baked
|
|
8
8
|
* body is the wrong family and must be rebuilt (issue #5297/#5316).
|
|
9
9
|
*/
|
|
10
|
-
export type SisyphusPromptFamily = "kimi-k2-7" | "kimi-k2-6" | "gpt-5-5" | "gpt-5-4" | "claude-fable-5" | "claude-opus-4-8" | "claude-opus-4-7" | "glm-5-2" | "fallback";
|
|
10
|
+
export type SisyphusPromptFamily = "kimi-k3" | "kimi-k2-7" | "kimi-k2-6" | "gpt-5-5" | "gpt-5-4" | "claude-fable-5" | "claude-opus-4-8" | "claude-opus-4-7" | "glm-5-2" | "fallback";
|
|
11
11
|
export declare function resolveSisyphusPromptFamily(model: string): SisyphusPromptFamily;
|
|
12
12
|
export declare function createSisyphusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
13
13
|
export declare namespace createSisyphusAgent {
|
|
@@ -5,9 +5,13 @@
|
|
|
5
5
|
* Category-spawned executor with domain-specific configurations.
|
|
6
6
|
*
|
|
7
7
|
* Routing:
|
|
8
|
-
* 1.
|
|
9
|
-
* 2.
|
|
10
|
-
* 3.
|
|
8
|
+
* 1. Kimi K3 -> kimi-k3.ts (K3-native executor; reasoning depth with built-in stop conditions)
|
|
9
|
+
* 2. Kimi K2.7 -> kimi-k2-7.ts (restrained, outcome-first)
|
|
10
|
+
* 3. Kimi K2.x -> kimi-k2-6.ts
|
|
11
|
+
* 4. GPT models (openai/*, github-copilot/gpt-*) -> gpt-5-5.ts / gpt-5-4.ts / gpt.ts
|
|
12
|
+
* 5. Gemini models (google/*, google-vertex/*) -> gemini.ts (Gemini-optimized)
|
|
13
|
+
* 6. GLM models -> glm-5-2.ts
|
|
14
|
+
* 7. Default (Claude, etc.) -> default.ts (Claude-optimized)
|
|
11
15
|
*/
|
|
12
16
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
13
17
|
import type { AgentOverrideConfig } from "../../config/schema";
|
|
@@ -15,7 +19,7 @@ export declare const SISYPHUS_JUNIOR_DEFAULTS: {
|
|
|
15
19
|
readonly model: "anthropic/claude-sonnet-4-6";
|
|
16
20
|
readonly temperature: 0.1;
|
|
17
21
|
};
|
|
18
|
-
export type SisyphusJuniorPromptSource = "default" | "kimi-k2" | "kimi-k2-7" | "gpt" | "gpt-5-5" | "gpt-5-4" | "gemini" | "glm-5-2";
|
|
22
|
+
export type SisyphusJuniorPromptSource = "default" | "kimi-k2" | "kimi-k2-7" | "kimi-k3" | "gpt" | "gpt-5-5" | "gpt-5-4" | "gemini" | "glm-5-2";
|
|
19
23
|
export declare function getSisyphusJuniorPromptSource(model?: string): SisyphusJuniorPromptSource;
|
|
20
24
|
/**
|
|
21
25
|
* Builds the appropriate Sisyphus-Junior prompt based on model.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { buildDefaultSisyphusJuniorPrompt } from "./default";
|
|
2
2
|
export { buildKimiK26SisyphusJuniorPrompt } from "./kimi-k2-6";
|
|
3
|
+
export { buildKimiK27SisyphusJuniorPrompt } from "./kimi-k2-7";
|
|
4
|
+
export { buildKimiK3SisyphusJuniorPrompt } from "./kimi-k3";
|
|
3
5
|
export { buildGptSisyphusJuniorPrompt } from "./gpt";
|
|
4
6
|
export { buildGpt54SisyphusJuniorPrompt } from "./gpt-5-4";
|
|
5
7
|
export { buildGpt55SisyphusJuniorPrompt } from "./gpt-5-5";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kimi K3-native Sisyphus-Junior prompt.
|
|
3
|
+
*
|
|
4
|
+
* Authored for K3 as a complete prompt, not a K2.7 tune with a calibration
|
|
5
|
+
* appendix. K3 keeps K2.7's restrained, outcome-first steerability and pushes
|
|
6
|
+
* the thinking policy harder toward long-horizon reasoning. On a focused
|
|
7
|
+
* executor that depth pays off in multi-step debugging and failure diagnosis;
|
|
8
|
+
* left unshaped it keeps reasoning after the decisive condition is met. The
|
|
9
|
+
* stop conditions are therefore woven into the sections where they act — the
|
|
10
|
+
* role, the task read, the tool loop — with verification rigor first-class.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildKimiK3SisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
package/dist/agents/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isMiniMaxModel } from "@oh-my-opencode/model-core";
|
|
3
|
-
export { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isMiniMaxModel, };
|
|
2
|
+
import { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isKimiK3Model, isMiniMaxModel } from "@oh-my-opencode/model-core";
|
|
3
|
+
export { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isKimiK3Model, isMiniMaxModel, };
|
|
4
4
|
/**
|
|
5
5
|
* Anthropic Opus 4.7+, Fable, and Mythos models reject thinking.type "enabled";
|
|
6
6
|
* they require adaptive thinking plus an effort, which OpenCode core derives from
|