oh-my-opencode 4.19.1 → 4.19.2
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 +2 -2
- package/README.ru.md +2 -2
- package/README.zh-cn.md +2 -2
- package/dist/agents/atlas/agent.d.ts +4 -2
- package/dist/agents/explore.d.ts +4 -2
- package/dist/agents/hephaestus/agent.d.ts +4 -2
- package/dist/agents/librarian.d.ts +4 -2
- package/dist/agents/metis.d.ts +4 -2
- package/dist/agents/momus.d.ts +3 -2
- package/dist/agents/multimodal-looker.d.ts +4 -2
- package/dist/agents/oracle.d.ts +4 -2
- package/dist/agents/sisyphus/claude-opus-5.d.ts +33 -0
- package/dist/agents/sisyphus/index.d.ts +2 -0
- package/dist/agents/sisyphus-agent-factory.d.ts +5 -2
- package/dist/agents/sisyphus-junior/agent.d.ts +4 -1
- package/dist/agents/types.d.ts +2 -2
- package/dist/cli/index.js +23454 -19200
- package/dist/cli-node/index.js +23454 -19200
- package/dist/config/schema/agent-names.d.ts +26 -26
- package/dist/config/schema/agent-overrides.d.ts +400 -400
- package/dist/config/schema/browser-automation.d.ts +2 -2
- package/dist/config/schema/categories.d.ts +36 -36
- package/dist/config/schema/commands.d.ts +2 -2
- package/dist/config/schema/dynamic-context-pruning.d.ts +1 -1
- package/dist/config/schema/experimental.d.ts +1 -1
- package/dist/config/schema/fallback-models.d.ts +25 -25
- package/dist/config/schema/hooks.d.ts +43 -43
- package/dist/config/schema/internal/permission.d.ts +9 -9
- package/dist/config/schema/keyword-detector.d.ts +6 -6
- package/dist/config/schema/oh-my-opencode-config.d.ts +402 -402
- package/dist/config/schema/tmux.d.ts +6 -6
- package/dist/create-hooks.d.ts +35 -35
- package/dist/features/background-agent/spawner/tmux-callback-invoker.d.ts +11 -0
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/claude-tasks/types.d.ts +4 -4
- package/dist/features/team-mode/team-runtime/shutdown-helpers.d.ts +1 -1
- package/dist/features/team-mode/team-runtime/shutdown-test-fixtures.d.ts +4 -4
- package/dist/features/team-mode/tools/lifecycle-test-fixture.d.ts +42 -42
- package/dist/features/tmux-subagent/environment-eligibility.d.ts +2 -0
- package/dist/features/tmux-subagent/index.d.ts +1 -0
- package/dist/features/tmux-subagent/tracked-session-state.d.ts +1 -0
- package/dist/features/tui-sidebar/snapshot-schema.d.ts +6 -6
- package/dist/help/schema/acp.d.ts +3 -3
- package/dist/help/schema/doctor.d.ts +4 -4
- package/dist/help/schema/status.d.ts +3 -3
- package/dist/hooks/goal/types.d.ts +5 -5
- package/dist/hooks/non-interactive-env/constants.d.ts +4 -1
- package/dist/hooks/start-work/parse-user-request.d.ts +2 -0
- package/dist/hooks/start-work/worktree-block.d.ts +5 -0
- package/dist/index.js +25231 -20301
- package/dist/mcp/types.d.ts +3 -3
- package/dist/oh-my-opencode.schema.json +1 -1
- package/dist/plugin/chat-message/loop-commands.d.ts +1 -0
- package/dist/plugin/command-execute-before.d.ts +3 -3
- package/dist/plugin/hooks/create-core-hooks.d.ts +25 -25
- package/dist/shared/tmux/tmux-utils/environment.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils.d.ts +1 -1
- package/dist/shared/typescript-native-source-parser.d.ts +7 -0
- package/dist/skills/coding-agent-sessions/SKILL.md +5 -2
- package/dist/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/dist/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/dist/skills/debugging/SKILL.md +2 -1
- package/dist/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/dist/skills/programming/SKILL.md +11 -1
- package/dist/skills/programming/references/logging.md +6 -1
- package/dist/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/dist/skills/start-work/SKILL.md +12 -2
- package/dist/skills/ulw-plan/SKILL.md +1 -1
- package/dist/skills/ulw-plan/references/full-workflow.md +12 -1
- package/dist/skills/ulw-plan/references/intent-clear.md +1 -1
- package/dist/tools/task/types.d.ts +10 -10
- package/dist/tui.js +23468 -19218
- package/package.json +14 -14
- package/packages/lsp-core/src/lsp/client-diagnostics-freshness.integration.test.ts +2 -2
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +8 -4
- 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/dist/cli.js +296 -206
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +126 -86
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +21 -42
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +3 -4
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +12 -23
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +5 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +33 -5
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +6 -1
- package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +6 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +1 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +5 -5
- package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +1 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +24 -13
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +58 -64
- 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/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/directive.md +1 -1
- 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/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/directive.md +12 -7
- 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/ultrawork/SKILL.md +12 -7
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-clear.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/directive.md +12 -7
- 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/components/ulw-loop/skills/ulw-loop/SKILL.md +2 -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/shared/test/config-loader.test.ts +10 -9
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +5 -2
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/packages/omo-codex/plugin/skills/debugging/SKILL.md +2 -1
- package/packages/omo-codex/plugin/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +11 -1
- package/packages/omo-codex/plugin/skills/programming/references/logging.md +6 -1
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/packages/omo-codex/plugin/skills/start-work/SKILL.md +12 -2
- package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +12 -7
- package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +2 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-clear.md +1 -1
- package/packages/omo-codex/plugin/test/sync-skills-orchestration.test.mjs +22 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +1 -1
- package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +5 -2
- package/packages/shared-skills/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/shared-skills/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/packages/shared-skills/skills/debugging/SKILL.md +2 -1
- package/packages/shared-skills/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/packages/shared-skills/skills/programming/SKILL.md +11 -1
- package/packages/shared-skills/skills/programming/references/logging.md +6 -1
- package/packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/packages/shared-skills/skills/start-work/SKILL.md +12 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/shared-skills/skills/ulw-plan/references/intent-clear.md +1 -1
package/README.ja.md
CHANGED
|
@@ -193,11 +193,11 @@ 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-
|
|
196
|
+
**Sisyphus** (`claude-opus-5` / **`kimi-k3`** / **`glm-5`**) はあなたのメインオーケストレーターです。計画を立て、専門家に委任し、攻撃的な並列実行でタスクを完了まで推進します。途中で投げ出すことはありません。Claude Opus 5 と Kimi K3 が推奨デフォルトです。
|
|
197
197
|
|
|
198
198
|
**Hephaestus** (OpenAI、GitHub Copilot、Vercel、または OpenCode 経由で medium effort の `gpt-5.6-sol` のみを使う) はあなたの自律的なディープワーカーです。レシピではなく、目標を与えてください。手取り足取り教えなくても、コードベースを探索し、パターンを調査し、エンドツーエンドで実行します。*正当なる職人 (The Legitimate Craftsman).*
|
|
199
199
|
|
|
200
|
-
**Prometheus** (`claude-
|
|
200
|
+
**Prometheus** (`claude-fable-5` / **`kimi-k3`**) はあなたの戦略プランナーです。インタビューモードで質問を投げ、スコープを特定し、コードに一行触れる前に詳細な計画を構築します。
|
|
201
201
|
|
|
202
202
|
すべてのエージェントは、それぞれのモデルの強みに合わせてチューニングされています。手動でモデルを切り替える必要はありません。[詳しくはこちら →](docs/guide/overview.md)
|
|
203
203
|
|
package/README.ko.md
CHANGED
|
@@ -194,11 +194,11 @@ 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-
|
|
197
|
+
**Sisyphus** (`claude-opus-5` / **`kimi-k3`** / **`glm-5`**)는 메인 오케스트레이터입니다. 계획을 세우고, 전문가에게 위임하고, 공격적인 병렬 실행으로 작업을 끝까지 밀어붙입니다. 중간에 멈추지 않습니다. Claude Opus 5와 Kimi K3가 권장 기본값입니다.
|
|
198
198
|
|
|
199
199
|
**Hephaestus** (OpenAI, GitHub Copilot, Vercel 또는 OpenCode에서 medium effort의 `gpt-5.6-sol`만 사용하는)는 자율적으로 깊게 파는 작업자입니다. 레시피가 아니라 목표를 주세요. 코드베이스를 탐색하고, 패턴을 조사하고, 손을 잡아주지 않아도 엔드투엔드로 실행합니다. *The Legitimate Craftsman.*
|
|
200
200
|
|
|
201
|
-
**Prometheus** (`claude-
|
|
201
|
+
**Prometheus** (`claude-fable-5` / **`kimi-k3`**)는 전략 플래너입니다. 인터뷰 모드: 질문으로 스코프를 파악하고, 코드에 손대기 전에 상세한 계획을 만듭니다.
|
|
202
202
|
|
|
203
203
|
모든 에이전트는 자기 모델의 강점에 맞춰 튜닝되어 있습니다. 수동으로 모델을 돌려가며 쓸 필요가 없습니다. [더 알아보기 →](docs/guide/overview.md)
|
|
204
204
|
|
package/README.md
CHANGED
|
@@ -241,11 +241,11 @@ 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-
|
|
244
|
+
**Sisyphus** (`claude-opus-5` / **`kimi-k3`** / **`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. Claude Opus 5 and Kimi K3 are the recommended defaults.
|
|
245
245
|
|
|
246
246
|
**Hephaestus** (`gpt-5.6-sol` through OpenAI, GitHub Copilot, Vercel, or OpenCode at medium effort) 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
|
|
|
248
|
-
**Prometheus** (`claude-
|
|
248
|
+
**Prometheus** (`claude-fable-5` / **`kimi-k3`**) is your strategic planner. Interview mode: he asks questions, identifies scope, and builds a detailed plan before a single line of code is touched.
|
|
249
249
|
|
|
250
250
|
Every agent is tuned to its model's specific strengths. No manual model juggling. [Learn more →](docs/guide/overview.md)
|
|
251
251
|
|
package/README.ru.md
CHANGED
|
@@ -192,11 +192,11 @@ 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-
|
|
195
|
+
**Sisyphus** (`claude-opus-5` / **`kimi-k3`** / **`glm-5`**) — главный оркестратор. Он планирует, делегирует задачи специалистам и доводит их до завершения с агрессивным параллельным выполнением. Он не останавливается на полпути. Claude Opus 5 и Kimi K3 — рекомендуемые значения по умолчанию.
|
|
196
196
|
|
|
197
197
|
**Hephaestus** (использует только `gpt-5.6-sol` с medium effort через OpenAI, GitHub Copilot, Vercel или OpenCode) — автономный глубокий исполнитель. Дайте ему цель, а не рецепт. Он исследует кодовую базу, изучает паттерны и выполняет задачи сквозным образом без лишних подсказок. *Законный Мастер.*
|
|
198
198
|
|
|
199
|
-
**Prometheus** (`claude-
|
|
199
|
+
**Prometheus** (`claude-fable-5` / **`kimi-k3`**) — стратегический планировщик. Режим интервью: он задаёт вопросы, определяет объём работ и формирует детальный план до того, как написана хотя бы одна строка кода.
|
|
200
200
|
|
|
201
201
|
Каждый агент настроен под сильные стороны своей модели. Никакого ручного переключения между моделями. [Подробнее →](docs/guide/overview.md)
|
|
202
202
|
|
package/README.zh-cn.md
CHANGED
|
@@ -199,11 +199,11 @@ 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-
|
|
202
|
+
**Sisyphus** (`claude-opus-5` / **`kimi-k3`** / **`glm-5`**) 是你的主指挥官。他负责制定计划、分配任务给专家团队,并以极其激进的并行策略推动任务直至完成。他从不半途而废。Claude Opus 5 和 Kimi K3 是推荐默认值。
|
|
203
203
|
|
|
204
204
|
**Hephaestus** (仅通过 OpenAI、GitHub Copilot、Vercel 或 OpenCode 使用 medium effort 的 `gpt-5.6-sol`) 是你的自主深度工作者。你只需要给他目标,不要给他具体做法。他会自动探索代码库模式,从头到尾独立执行任务,绝不会中途要你当保姆。*名副其实的正牌工匠。*
|
|
205
205
|
|
|
206
|
-
**Prometheus** (`claude-
|
|
206
|
+
**Prometheus** (`claude-fable-5` / **`kimi-k3`**) 是你的战略规划师。他通过访谈模式,在动一行代码之前,先通过提问确定范围并构建详尽的执行计划。
|
|
207
207
|
|
|
208
208
|
每一个 Agent 都针对其底层模型的特点进行了专门调优。你无需手动来回切换模型。[阅读背景设定了解更多 →](docs/guide/overview.md)
|
|
209
209
|
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
* 8. Default (Claude 4.6 family: opus-4-6, sonnet-4-6, haiku-4-5, etc.) → default.md
|
|
15
15
|
*/
|
|
16
16
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
17
|
-
import type { AgentPromptMetadata } from "../types";
|
|
17
|
+
import type { AgentMode, AgentPromptMetadata } from "../types";
|
|
18
18
|
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
19
19
|
import type { CategoryConfig } from "../../config/schema";
|
|
20
|
+
declare const MODE: AgentMode;
|
|
20
21
|
export type AtlasPromptSource = "default" | "gpt" | "gemini" | "kimi" | "kimi-k3" | "kimi-k2-7" | "opus-4-7" | "glm";
|
|
21
22
|
export declare function getAtlasPromptSource(model?: string): AtlasPromptSource;
|
|
22
23
|
export interface OrchestratorContext {
|
|
@@ -28,6 +29,7 @@ export interface OrchestratorContext {
|
|
|
28
29
|
export declare function getAtlasPrompt(model?: string): string;
|
|
29
30
|
export declare function createAtlasAgent(ctx: OrchestratorContext): AgentConfig;
|
|
30
31
|
export declare namespace createAtlasAgent {
|
|
31
|
-
|
|
32
|
+
export { MODE as mode };
|
|
32
33
|
}
|
|
33
34
|
export declare const atlasPromptMetadata: AgentPromptMetadata;
|
|
35
|
+
export {};
|
package/dist/agents/explore.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
export declare const EXPLORE_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
5
|
export declare function createExploreAgent(model: string): AgentConfig;
|
|
5
6
|
export declare namespace createExploreAgent {
|
|
6
|
-
|
|
7
|
+
export { MODE as mode };
|
|
7
8
|
}
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "../types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "../types";
|
|
3
3
|
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
declare const MODE: AgentMode;
|
|
4
5
|
export type HephaestusPromptSource = "gpt-5-6" | "gpt-5-5" | "gpt-5-4" | "gpt";
|
|
5
6
|
export declare class UnsupportedHephaestusModelError extends Error {
|
|
6
7
|
readonly model: string | undefined;
|
|
@@ -19,6 +20,7 @@ export interface HephaestusContext {
|
|
|
19
20
|
export declare function getHephaestusPrompt(model?: string, useTaskSystem?: boolean): string;
|
|
20
21
|
export declare function createHephaestusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
21
22
|
export declare namespace createHephaestusAgent {
|
|
22
|
-
|
|
23
|
+
export { MODE as mode };
|
|
23
24
|
}
|
|
24
25
|
export declare const hephaestusPromptMetadata: AgentPromptMetadata;
|
|
26
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
export declare const LIBRARIAN_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
5
|
export declare function createLibrarianAgent(model: string): AgentConfig;
|
|
5
6
|
export declare namespace createLibrarianAgent {
|
|
6
|
-
|
|
7
|
+
export { MODE as mode };
|
|
7
8
|
}
|
|
9
|
+
export {};
|
package/dist/agents/metis.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
/**
|
|
4
5
|
* Metis - Plan Consultant Agent
|
|
5
6
|
*
|
|
@@ -17,6 +18,7 @@ export declare const METIS_SYSTEM_PROMPT: string;
|
|
|
17
18
|
export declare const METIS_K2_7_SYSTEM_PROMPT: string;
|
|
18
19
|
export declare function createMetisAgent(model: string): AgentConfig;
|
|
19
20
|
export declare namespace createMetisAgent {
|
|
20
|
-
|
|
21
|
+
export { MODE as mode };
|
|
21
22
|
}
|
|
22
23
|
export declare const metisPromptMetadata: AgentPromptMetadata;
|
|
24
|
+
export {};
|
package/dist/agents/momus.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
/**
|
|
4
5
|
* Momus - Plan Reviewer Agent
|
|
5
6
|
*
|
|
@@ -20,6 +21,6 @@ declare const MOMUS_DEFAULT_PROMPT = "You are a **practical** work plan reviewer
|
|
|
20
21
|
export { MOMUS_DEFAULT_PROMPT as MOMUS_SYSTEM_PROMPT };
|
|
21
22
|
export declare function createMomusAgent(model: string): AgentConfig;
|
|
22
23
|
export declare namespace createMomusAgent {
|
|
23
|
-
|
|
24
|
+
export { MODE as mode };
|
|
24
25
|
}
|
|
25
26
|
export declare const momusPromptMetadata: AgentPromptMetadata;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
export declare const MULTIMODAL_LOOKER_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
5
|
export declare function createMultimodalLookerAgent(model: string): AgentConfig;
|
|
5
6
|
export declare namespace createMultimodalLookerAgent {
|
|
6
|
-
|
|
7
|
+
export { MODE as mode };
|
|
7
8
|
}
|
|
9
|
+
export {};
|
package/dist/agents/oracle.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentPromptMetadata } from "./types";
|
|
2
|
+
import type { AgentMode, AgentPromptMetadata } from "./types";
|
|
3
|
+
declare const MODE: AgentMode;
|
|
3
4
|
export declare const ORACLE_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
5
|
export declare function createOracleAgent(model: string): AgentConfig;
|
|
5
6
|
export declare namespace createOracleAgent {
|
|
6
|
-
|
|
7
|
+
export { MODE as mode };
|
|
7
8
|
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Claude Opus 5-native Sisyphus prompt - tuned for Opus 5 behaviors.
|
|
3
|
+
*
|
|
4
|
+
* Design principles (Anthropic "Prompting Claude Opus 5" guidance, applied to
|
|
5
|
+
* the Opus 4.8 skeleton - Opus 5 runs well on 4.8 prompts, so only the
|
|
6
|
+
* documented behavior deltas are tuned):
|
|
7
|
+
* - SCOPE CONSTRAINT replaces 4.8's over-asking counter: Opus 5 does not
|
|
8
|
+
* under-ask, it over-does - it expands scope and adds unrequested steps.
|
|
9
|
+
* Explicit "deliver what was asked, at the scope intended" calibration.
|
|
10
|
+
* - DELEGATION CAP replaces 4.8's capability under-reach counter: Opus 5
|
|
11
|
+
* delegates to subagents MORE readily than prior models, so the 4.8
|
|
12
|
+
* "DEFAULT BIAS: DELEGATE" push is inverted into domain-and-size gating,
|
|
13
|
+
* with an explicit ban on verify-my-own-work subagents.
|
|
14
|
+
* - OVER-VERIFICATION REMOVAL: Opus 5 self-verifies without being told.
|
|
15
|
+
* Evidence gates stay (they define WHAT counts as done) but run ONCE;
|
|
16
|
+
* repeat-verification scaffolding is removed per Anthropic guidance.
|
|
17
|
+
* - NARRATION CADENCE: Opus 5 narrates readily and writes long responses;
|
|
18
|
+
* effort controls thinking volume, not response length. One-sentence
|
|
19
|
+
* opener, silence between tool calls, outcome-first wrap-ups, and a
|
|
20
|
+
* closing <tone_preference> reminder (Anthropic-recommended for long
|
|
21
|
+
* system prompts).
|
|
22
|
+
* - CORRECTION NARRATION limited to corrections that change the user's
|
|
23
|
+
* code, conclusions, or decisions.
|
|
24
|
+
* - WRITTEN DELIVERABLE length calibrated: no filler sections or boilerplate.
|
|
25
|
+
* - LITERAL instruction following inherited from 4.7/4.8: state scope
|
|
26
|
+
* explicitly.
|
|
27
|
+
* - XML-tagged anchors, Phase 0/1/2A/2B/2C/3 mental model, and shared dynamic
|
|
28
|
+
* helpers identical to the other Claude variants so content stays in sync.
|
|
29
|
+
*/
|
|
30
|
+
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
|
31
|
+
import { categorizeTools } from "../dynamic-agent-prompt-builder";
|
|
32
|
+
export declare function buildClaudeOpus5SisyphusPrompt(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
|
|
33
|
+
export { categorizeTools };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* - default.ts: Base implementation for Claude and general models
|
|
6
6
|
* - claude-opus-4-7.ts: Native Claude Opus 4.7 prompt with literal-instruction tuning
|
|
7
7
|
* - claude-opus-4-8.ts: Native Claude Opus 4.8 prompt with silence-default + autonomy tuning
|
|
8
|
+
* - claude-opus-5.ts: Native Claude Opus 5 prompt with scope/delegation/verification caps
|
|
8
9
|
* - claude-fable-5.ts: Native Claude Fable 5 prompt (Opus 4.8 direction, top-tier model)
|
|
9
10
|
* - gemini.ts: Corrective overlays for Gemini's aggressive tendencies
|
|
10
11
|
* - gpt-5-4.ts: Native GPT-5.4 prompt with block-structured guidance
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
export { buildDefaultSisyphusPrompt, buildTaskManagementSection } from "./default";
|
|
17
18
|
export { buildClaudeOpus47SisyphusPrompt } from "./claude-opus-4-7";
|
|
18
19
|
export { buildClaudeOpus48SisyphusPrompt } from "./claude-opus-4-8";
|
|
20
|
+
export { buildClaudeOpus5SisyphusPrompt } from "./claude-opus-5";
|
|
19
21
|
export { buildClaudeFable5SisyphusPrompt } from "./claude-fable-5";
|
|
20
22
|
export { buildGeminiToolMandate, buildGeminiDelegationOverride, buildGeminiVerificationOverride, buildGeminiIntentGateEnforcement, buildGeminiToolGuide, buildGeminiToolCallExamples, } from "./gemini";
|
|
21
23
|
export { buildGpt54SisyphusPrompt } from "./gpt-5-4";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
2
|
import type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynamic-agent-prompt-builder";
|
|
3
|
+
import type { AgentMode } from "./types";
|
|
4
|
+
declare const MODE: AgentMode;
|
|
3
5
|
/**
|
|
4
6
|
* Identifies which prompt body `createSisyphusAgent` bakes for a given model.
|
|
5
7
|
* The whole Sisyphus prompt is model-family-specific and selected here, so this
|
|
@@ -7,9 +9,10 @@ import type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynami
|
|
|
7
9
|
* runtime model resolves to a different family than the configured one, the baked
|
|
8
10
|
* body is the wrong family and must be rebuilt (issue #5297/#5316).
|
|
9
11
|
*/
|
|
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";
|
|
12
|
+
export type SisyphusPromptFamily = "kimi-k3" | "kimi-k2-7" | "kimi-k2-6" | "gpt-5-5" | "gpt-5-4" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "glm-5-2" | "fallback";
|
|
11
13
|
export declare function resolveSisyphusPromptFamily(model: string): SisyphusPromptFamily;
|
|
12
14
|
export declare function createSisyphusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
13
15
|
export declare namespace createSisyphusAgent {
|
|
14
|
-
|
|
16
|
+
export { MODE as mode };
|
|
15
17
|
}
|
|
18
|
+
export {};
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* 7. Default (Claude, etc.) -> default.ts (Claude-optimized)
|
|
15
15
|
*/
|
|
16
16
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
17
|
+
import type { AgentMode } from "../types";
|
|
17
18
|
import type { AgentOverrideConfig } from "../../config/schema";
|
|
19
|
+
declare const MODE: AgentMode;
|
|
18
20
|
export declare const SISYPHUS_JUNIOR_DEFAULTS: {
|
|
19
21
|
readonly model: "anthropic/claude-sonnet-4-6";
|
|
20
22
|
readonly temperature: 0.1;
|
|
@@ -27,5 +29,6 @@ export declare function getSisyphusJuniorPromptSource(model?: string): SisyphusJ
|
|
|
27
29
|
export declare function buildSisyphusJuniorPrompt(model: string | undefined, useTaskSystem: boolean, promptAppend?: string): string;
|
|
28
30
|
export declare function createSisyphusJuniorAgentWithOverrides(override: AgentOverrideConfig | undefined, systemDefaultModel?: string, useTaskSystem?: boolean): AgentConfig;
|
|
29
31
|
export declare namespace createSisyphusJuniorAgentWithOverrides {
|
|
30
|
-
|
|
32
|
+
export { MODE as mode };
|
|
31
33
|
}
|
|
34
|
+
export {};
|
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, isKimiK3Model, isMiniMaxModel } from "@oh-my-opencode/model-core";
|
|
3
|
-
export { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isKimiK3Model, isMiniMaxModel, };
|
|
2
|
+
import { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isClaudeOpus5Model, isGeminiModel, isGlmModel, isGptModel, isKimiK2Model, isKimiK27Model, isKimiK3Model, isMiniMaxModel } from "@oh-my-opencode/model-core";
|
|
3
|
+
export { isClaudeFable5Model, isClaudeFableOrMythosModel, isClaudeOpus46Model, isClaudeOpus47Model, isClaudeOpus47OrLaterModel, isClaudeOpus48Model, isClaudeOpus5Model, 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
|