oh-my-opencode 3.7.3 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/README.ja.md +206 -243
  2. package/README.ko.md +205 -244
  3. package/README.md +176 -174
  4. package/README.zh-cn.md +211 -255
  5. package/dist/agents/atlas/default.d.ts +1 -1
  6. package/dist/agents/atlas/gpt.d.ts +1 -1
  7. package/dist/agents/atlas/prompt-section-builder.d.ts +1 -1
  8. package/dist/agents/builtin-agents/environment-context.d.ts +5 -1
  9. package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
  10. package/dist/agents/builtin-agents/hephaestus-agent.d.ts +1 -0
  11. package/dist/agents/builtin-agents/sisyphus-agent.d.ts +1 -0
  12. package/dist/agents/builtin-agents.d.ts +1 -1
  13. package/dist/agents/dynamic-agent-prompt-builder.d.ts +0 -5
  14. package/dist/agents/index.d.ts +2 -1
  15. package/dist/agents/metis.d.ts +1 -1
  16. package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
  17. package/dist/agents/prometheus/gpt.d.ts +24 -0
  18. package/dist/agents/prometheus/identity-constraints.d.ts +1 -1
  19. package/dist/agents/prometheus/index.d.ts +3 -1
  20. package/dist/agents/prometheus/interview-mode.d.ts +1 -1
  21. package/dist/agents/prometheus/plan-generation.d.ts +1 -1
  22. package/dist/agents/prometheus/plan-template.d.ts +1 -1
  23. package/dist/agents/prometheus/system-prompt.d.ts +13 -2
  24. package/dist/agents/sisyphus-junior/agent.d.ts +1 -1
  25. package/dist/agents/types.d.ts +1 -0
  26. package/dist/cli/config-manager/antigravity-provider-configuration.d.ts +2 -2
  27. package/dist/cli/fallback-chain-resolution.d.ts +1 -1
  28. package/dist/cli/index.js +527 -175
  29. package/dist/cli/model-fallback-requirements.d.ts +3 -0
  30. package/dist/cli/provider-model-id-transform.d.ts +1 -1
  31. package/dist/cli/run/event-state.d.ts +4 -0
  32. package/dist/cli/run/stdin-suppression.d.ts +12 -0
  33. package/dist/cli/run/timestamp-output.d.ts +5 -0
  34. package/dist/cli/run/types.d.ts +1 -0
  35. package/dist/config/index.d.ts +2 -2
  36. package/dist/config/schema/agent-overrides.d.ts +75 -0
  37. package/dist/config/schema/categories.d.ts +2 -0
  38. package/dist/config/schema/experimental.d.ts +2 -0
  39. package/dist/config/schema/fallback-models.d.ts +3 -0
  40. package/dist/config/schema/hooks.d.ts +4 -3
  41. package/dist/config/schema/oh-my-opencode-config.d.ts +87 -47
  42. package/dist/config/schema/ralph-loop.d.ts +4 -0
  43. package/dist/config/schema/runtime-fallback.d.ts +10 -0
  44. package/dist/config/schema.d.ts +2 -0
  45. package/dist/create-hooks.d.ts +8 -5
  46. package/dist/features/background-agent/manager.d.ts +3 -0
  47. package/dist/features/background-agent/parent-session-context-resolver.d.ts +1 -0
  48. package/dist/features/background-agent/types.d.ts +7 -0
  49. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +1 -1
  50. package/dist/features/claude-code-session-state/state.d.ts +1 -0
  51. package/dist/features/task-toast-manager/manager.d.ts +5 -0
  52. package/dist/features/task-toast-manager/types.d.ts +2 -1
  53. package/dist/features/tmux-subagent/action-executor.d.ts +10 -3
  54. package/dist/features/tmux-subagent/grid-planning.d.ts +5 -3
  55. package/dist/features/tmux-subagent/manager.d.ts +12 -0
  56. package/dist/features/tmux-subagent/pane-split-availability.d.ts +0 -1
  57. package/dist/features/tmux-subagent/spawn-target-finder.d.ts +2 -2
  58. package/dist/features/tmux-subagent/tmux-grid-constants.d.ts +4 -0
  59. package/dist/features/tmux-subagent/types.d.ts +2 -0
  60. package/dist/hooks/atlas/recent-model-resolver.d.ts +6 -0
  61. package/dist/hooks/atlas/system-reminder-templates.d.ts +1 -1
  62. package/dist/hooks/hashline-edit-diff-enhancer/hook.d.ts +28 -0
  63. package/dist/hooks/hashline-edit-diff-enhancer/index.d.ts +1 -0
  64. package/dist/hooks/index.d.ts +5 -2
  65. package/dist/hooks/model-fallback/hook.d.ts +60 -0
  66. package/dist/hooks/no-hephaestus-non-gpt/hook.d.ts +16 -0
  67. package/dist/hooks/no-hephaestus-non-gpt/index.d.ts +1 -0
  68. package/dist/hooks/{sisyphus-gpt-hephaestus-reminder → no-sisyphus-gpt}/hook.d.ts +6 -1
  69. package/dist/hooks/no-sisyphus-gpt/index.d.ts +1 -0
  70. package/dist/hooks/ralph-loop/command-arguments.d.ts +8 -0
  71. package/dist/hooks/ralph-loop/continuation-prompt-injector.d.ts +1 -0
  72. package/dist/hooks/ralph-loop/iteration-continuation.d.ts +12 -0
  73. package/dist/hooks/ralph-loop/loop-state-controller.d.ts +2 -0
  74. package/dist/hooks/ralph-loop/ralph-loop-event-handler.d.ts +1 -0
  75. package/dist/hooks/ralph-loop/ralph-loop-hook.d.ts +1 -0
  76. package/dist/hooks/ralph-loop/session-reset-strategy.d.ts +3 -0
  77. package/dist/hooks/ralph-loop/types.d.ts +1 -0
  78. package/dist/hooks/runtime-fallback/agent-resolver.d.ts +5 -0
  79. package/dist/hooks/runtime-fallback/auto-retry.d.ts +10 -0
  80. package/dist/hooks/runtime-fallback/chat-message-handler.d.ts +20 -0
  81. package/dist/hooks/runtime-fallback/constants.d.ts +19 -0
  82. package/dist/hooks/runtime-fallback/error-classifier.d.ts +17 -0
  83. package/dist/hooks/runtime-fallback/event-handler.d.ts +8 -0
  84. package/dist/hooks/runtime-fallback/fallback-models.d.ts +2 -0
  85. package/dist/hooks/runtime-fallback/fallback-state.d.ts +6 -0
  86. package/dist/hooks/runtime-fallback/hook.d.ts +3 -0
  87. package/dist/hooks/runtime-fallback/index.d.ts +2 -0
  88. package/dist/hooks/runtime-fallback/message-update-handler.d.ts +5 -0
  89. package/dist/hooks/runtime-fallback/types.d.ts +59 -0
  90. package/dist/hooks/session-recovery/detect-error-type.d.ts +2 -1
  91. package/dist/hooks/session-recovery/recover-unavailable-tool.d.ts +5 -0
  92. package/dist/hooks/session-recovery/types.d.ts +1 -0
  93. package/dist/hooks/todo-continuation-enforcer/continuation-injection.d.ts +1 -0
  94. package/dist/hooks/todo-continuation-enforcer/countdown.d.ts +1 -0
  95. package/dist/hooks/unstable-agent-babysitter/task-message-analyzer.d.ts +1 -0
  96. package/dist/hooks/unstable-agent-babysitter/unstable-agent-babysitter-hook.d.ts +2 -0
  97. package/dist/hooks/write-existing-file-guard/hook.d.ts +1 -0
  98. package/dist/index.js +6614 -3149
  99. package/dist/oh-my-opencode.schema.json +3681 -0
  100. package/dist/plugin/chat-headers.d.ts +4 -0
  101. package/dist/plugin/chat-message.d.ts +9 -8
  102. package/dist/plugin/chat-params.d.ts +2 -3
  103. package/dist/plugin/event.d.ts +2 -6
  104. package/dist/plugin/hooks/create-core-hooks.d.ts +8 -5
  105. package/dist/plugin/hooks/create-session-hooks.d.ts +7 -5
  106. package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
  107. package/dist/plugin/hooks/create-transform-hooks.d.ts +1 -1
  108. package/dist/plugin/system-transform.d.ts +5 -0
  109. package/dist/plugin/types.d.ts +7 -1
  110. package/dist/plugin/ultrawork-db-model-override.d.ts +11 -0
  111. package/dist/plugin/ultrawork-model-override.d.ts +37 -0
  112. package/dist/shared/index.d.ts +4 -0
  113. package/dist/shared/internal-initiator-marker.d.ts +5 -0
  114. package/dist/shared/model-error-classifier.d.ts +31 -0
  115. package/dist/shared/model-resolution-pipeline.d.ts +1 -0
  116. package/dist/shared/model-resolver.d.ts +6 -0
  117. package/dist/shared/prompt-tools.d.ts +3 -0
  118. package/dist/shared/provider-model-id-transform.d.ts +1 -0
  119. package/dist/shared/session-category-registry.d.ts +32 -0
  120. package/dist/shared/session-model-state.d.ts +7 -0
  121. package/dist/shared/tmux/tmux-utils/layout.d.ts +17 -2
  122. package/dist/tools/delegate-task/background-task.d.ts +2 -1
  123. package/dist/tools/delegate-task/category-resolver.d.ts +2 -0
  124. package/dist/tools/delegate-task/constants.d.ts +1 -1
  125. package/dist/tools/delegate-task/skill-resolver.d.ts +1 -0
  126. package/dist/tools/delegate-task/subagent-resolver.d.ts +2 -0
  127. package/dist/tools/delegate-task/sync-task.d.ts +1 -1
  128. package/dist/tools/hashline-edit/constants.d.ts +5 -2
  129. package/dist/tools/hashline-edit/diff-utils.d.ts +6 -0
  130. package/dist/tools/hashline-edit/edit-operations.d.ts +4 -4
  131. package/dist/tools/hashline-edit/hash-computation.d.ts +1 -1
  132. package/dist/tools/hashline-edit/index.d.ts +1 -1
  133. package/dist/tools/hashline-edit/types.d.ts +4 -4
  134. package/dist/tools/hashline-edit/validation.d.ts +1 -0
  135. package/dist/tools/index.d.ts +2 -2
  136. package/dist/tools/skill/constants.d.ts +2 -2
  137. package/dist/tools/skill/types.d.ts +4 -0
  138. package/dist/tools/slashcommand/index.d.ts +1 -1
  139. package/dist/tools/slashcommand/types.d.ts +1 -7
  140. package/package.json +10 -10
  141. package/dist/cli/run/opencode-bin-path.d.ts +0 -3
  142. package/dist/hooks/sisyphus-gpt-hephaestus-reminder/index.d.ts +0 -1
  143. package/dist/tools/slashcommand/skill-command-converter.d.ts +0 -3
  144. package/dist/tools/slashcommand/slashcommand-description.d.ts +0 -3
  145. package/dist/tools/slashcommand/slashcommand-tool.d.ts +0 -4
  146. package/dist/tools/slashcommand/tools.d.ts +0 -2
package/README.md CHANGED
@@ -11,14 +11,10 @@
11
11
 
12
12
  > [!NOTE]
13
13
  >
14
- > [![Sisyphus Labs Sisyphus is the agent that codes like your team.](./.github/assets/sisyphuslabs.png?v=2)](https://sisyphuslabs.ai)
14
+ > [![Sisyphus Labs - Sisyphus is the agent that codes like your team.](./.github/assets/sisyphuslabs.png?v=2)](https://sisyphuslabs.ai)
15
15
  > > **We're building a fully productized version of Sisyphus to define the future of frontier agents. <br />Join the waitlist [here](https://sisyphuslabs.ai).**
16
16
 
17
17
  > [!TIP]
18
- >
19
- > [![Oh My OpenCode 3.0 is now stable!](./.github/assets/orchestrator-atlas.png?v=3)](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0)
20
- > > **Oh My OpenCode 3.0 is now stable! Use `oh-my-opencode@latest` to install it.**
21
- >
22
18
  > Be with us!
23
19
  >
24
20
  > | [<img alt="Discord link" src="https://img.shields.io/discord/1452487457085063218?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square" width="156px" />](https://discord.gg/PUwSMR9XNk) | Join our [Discord community](https://discord.gg/PUwSMR9XNk) to connect with contributors and fellow `oh-my-opencode` users. |
@@ -37,32 +33,11 @@
37
33
 
38
34
  </div>
39
35
 
40
- > This is coding on steroids—`oh-my-opencode` in action. Run background agents, call specialized agents like oracle, librarian, and frontend engineer. Use crafted LSP/AST tools, curated MCPs, and a full Claude Code compatibility layer.
41
-
42
- # Claude OAuth Access Notice
43
-
44
- ## TL;DR
45
-
46
- > Q. Can I use oh-my-opencode?
47
-
48
- Yes.
49
-
50
- > Q. Can I use it with my Claude Code subscription?
51
-
52
- Yes, technically possible. But I cannot recommend using it.
53
-
54
- ## FULL
55
-
56
- > As of January 2026, Anthropic has restricted third-party OAuth access citing ToS violations.
36
+ > Anthropic [**blocked OpenCode because of us.**](https://x.com/thdxr/status/2010149530486911014) **Yes this is true.**
37
+ > They want you locked in. Claude Code's a nice prison, but it's still a prison.
57
38
  >
58
- > [**Anthropic has cited this project, oh-my-opencode as justification for blocking opencode.**](https://x.com/thdxr/status/2010149530486911014)
59
- >
60
- > Indeed, some plugins that spoof Claude Code's oauth request signatures exist in the community.
61
- >
62
- > These tools may work regardless of technical detectability, but users should be aware of ToS implications, and I personally cannot recommend to use those.
63
- >
64
- > This project is not responsible for any issues arising from the use of unofficial tools, and **we do not have any custom implementations of those oauth systems.**
65
-
39
+ > We don't do lock-in here. We ride every model. Claude / Kimi / GLM for orchestration. GPT for reasoning. Minimax for speed. Gemini for creativity.
40
+ > The future isn't picking one winner—it's orchestrating them all. Models get cheaper every month. Smarter every month. No single provider will dominate. We're building for that open market, not their walled gardens.
66
41
 
67
42
  <div align="center">
68
43
 
@@ -85,13 +60,13 @@ Yes, technically possible. But I cannot recommend using it.
85
60
 
86
61
  > "It made me cancel my Cursor subscription. Unbelievable things are happening in the open source community." - [Arthur Guiot](https://x.com/arthur_guiot/status/2008736347092382053?s=20)
87
62
 
88
- > "If Claude Code does in 7 days what a human does in 3 months, Sisyphus does it in 1 hour. It just works until the task is done. It is a discipline agent." B, Quant Researcher
63
+ > "If Claude Code does in 7 days what a human does in 3 months, Sisyphus does it in 1 hour. It just works until the task is done. It is a discipline agent." <br/>- B, Quant Researcher
89
64
 
90
- > "Knocked out 8000 eslint warnings with Oh My Opencode, just in a day" [Jacob Ferrari](https://x.com/jacobferrari_/status/2003258761952289061)
65
+ > "Knocked out 8000 eslint warnings with Oh My Opencode, just in a day" <br/>- [Jacob Ferrari](https://x.com/jacobferrari_/status/2003258761952289061)
91
66
 
92
67
  > "I converted a 45k line tauri app into a SaaS web app overnight using Ohmyopencode and ralph loop. Started with interview me prompt, asked it for ratings and recommendations on the questions. It was amazing to watch it work and to wake up this morning to a mostly working website!" - [James Hargis](https://x.com/hargabyte/status/2007299688261882202)
93
68
 
94
- > "use oh-my-opencode, you will never go back" [d0t3ch](https://x.com/d0t3ch/status/2001685618200580503)
69
+ > "use oh-my-opencode, you will never go back" <br/>- [d0t3ch](https://x.com/d0t3ch/status/2001685618200580503)
95
70
 
96
71
  > "I haven't really been able to articulate exactly what makes it so great yet, but the development experience has reached a completely different dimension." - [
97
72
  苔硯:こけすずり](https://x.com/kokesuzuri/status/2008532913961529372?s=20)
@@ -99,167 +74,199 @@ Yes, technically possible. But I cannot recommend using it.
99
74
  > "Experimenting with open code, oh my opencode and supermemory this weekend to build some minecraft/souls-like abomination."
100
75
  > "Asking it to add crouch animations while I go take my post-lunch walk. [Video]" - [MagiMetal](https://x.com/MagiMetal/status/2005374704178373023)
101
76
 
102
- > "You guys should pull this into core and recruit him. Seriously. It's really, really, really good." Henning Kilset
77
+ > "You guys should pull this into core and recruit him. Seriously. It's really, really, really good." <br/>- Henning Kilset
103
78
 
104
- > "Hire @yeon_gyu_kim if you can convince him, this dude has revolutionized opencode." [mysticaltech](https://x.com/mysticaltech/status/2001858758608376079)
79
+ > "Hire @yeon_gyu_kim if you can convince him, this dude has revolutionized opencode." <br/>- [mysticaltech](https://x.com/mysticaltech/status/2001858758608376079)
105
80
 
106
81
  > "Oh My OpenCode Is Actually Insane" - [YouTube - Darren Builds AI](https://www.youtube.com/watch?v=G_Snfh2M41M)
107
82
 
108
83
  ---
109
84
 
110
- ## Contents
111
-
112
- - [Oh My OpenCode](#oh-my-opencode)
113
- - [Just Skip Reading This Readme](#just-skip-reading-this-readme)
114
- - [It's the Age of Agents](#its-the-age-of-agents)
115
- - [🪄 The Magic Word: `ultrawork`](#-the-magic-word-ultrawork)
116
- - [For Those Who Want to Read: Meet Sisyphus](#for-those-who-want-to-read-meet-sisyphus)
117
- - [Just Install This](#just-install-this)
118
- - [For Those Who Want Autonomy: Meet Hephaestus](#for-those-who-want-autonomy-meet-hephaestus)
119
- - [Installation](#installation)
120
- - [For Humans](#for-humans)
121
- - [For LLM Agents](#for-llm-agents)
122
- - [Uninstallation](#uninstallation)
123
- - [Features](#features)
124
- - [Configuration](#configuration)
125
- - [Author's Note](#authors-note)
126
- - [Warnings](#warnings)
127
- - [Loved by professionals at](#loved-by-professionals-at)
128
-
129
85
  # Oh My OpenCode
130
86
 
131
- [Claude Code](https://www.claude.com/product/claude-code) is great.
132
- But if you're a hacker, you'll fall head over heels for [OpenCode](https://github.com/sst/opencode).
133
- **START WITH YOUR ChatGPT, Claude, Gemini SUBSCRIPTIONS. OPENCODE COVERS THEM ALL.**
87
+ You're juggling Claude Code, Codex, random OSS models. Configuring workflows. Debugging agents.
134
88
 
135
- - Endlessly extensible. Endlessly customizable.
136
- - Zero screen flicker.
137
- - [LSP](https://opencode.ai/docs/lsp/), [linters, formatters](https://opencode.ai/docs/formatters/) activate automatically per file—and you can tweak everything.
138
- - Mix and match models. **Orchestrate them by purpose.**
139
- - Feature-rich. Beautiful. The terminal doesn't choke. High performance.
89
+ We did the work. Tested everything. Kept what actually shipped.
140
90
 
141
- Remember the first time you switched from Windows to Linux? That rush of configuring everything exactly how you wanted?
142
- In an age where that magic seems lost, OpenCode brings it back.
143
- If you love coding and computers, OpenCode is that Linux-after-Windows moment.
91
+ Install OmO. Type `ultrawork`. Done.
144
92
 
145
- **But here's the catch: there's a lot to learn, it's complex, and your time is expensive.**
146
93
 
147
- I've fixed that.
148
- Even if you're not a hacker, invest a few minutes. Multiply your skills and productivity.
149
- Hand this doc to an agent and let them set it up.
94
+ ## Installation
150
95
 
151
- ## Just Skip Reading This Readme
96
+ ### For Humans
152
97
 
153
- ### It's the Age of Agents
154
- - **Just paste this link into Claude Code / AmpCode / Factory Droid / Cursor and ask it to explain.**
155
- - Ask why it's good, why it's not just another boilerplate setup, what actually gets better.
156
- - If you're an LLM agent, explain to the user what becomes possible right now with this project.
98
+ Copy and paste this prompt to your LLM agent (Claude Code, AmpCode, Cursor, etc.):
157
99
 
158
- As following:
100
+ ```
101
+ Install and configure oh-my-opencode by following the instructions here:
102
+ https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
103
+ ```
104
+
105
+ Or read the [Installation Guide](docs/guide/installation.md), but seriously, let an agent do it. Humans fat-finger configs.
106
+
107
+ ### For LLM Agents
108
+
109
+ Fetch the installation guide and follow it:
110
+
111
+ ```bash
112
+ curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
113
+ ```
114
+
115
+ ---
116
+
117
+ ## Skip This README
118
+
119
+ We're past the era of reading docs. Just paste this into your agent:
159
120
 
160
121
  ```
161
- Hey please read this readme and tell me why it is different from other agent harness? why is this actually good? https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/README.md
122
+ Read this and tell me why it's not just another boilerplate: https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/README.md
162
123
  ```
163
124
 
164
- ### 🪄 The Magic Word: `ultrawork`
125
+ ## Highlights
165
126
 
166
- **Don't want to read all this? Just include `ultrawork` (or `ulw`) in your prompt.**
127
+ ### 🪄 `ultrawork`
167
128
 
168
- That's it. All the features we provide will work like magic—parallel agents, background tasks, deep exploration, and relentless execution until completion. The agent figures out the rest automatically.
129
+ You're actually reading this? Wild.
169
130
 
170
- ### For Those Who Want to Read: Meet Sisyphus
131
+ Install. Type `ultrawork` (or `ulw`). Done.
171
132
 
172
- ![Meet Sisyphus](.github/assets/sisyphus.png)
133
+ Everything below, every feature, every optimization, you don't need to know it. It just works.
173
134
 
174
- In greek mythology, Sisyphus was condemned to roll a boulder up a hill for eternity as punishment for deceiving the gods. LLM Agents haven't really done anything wrong, yet they too roll their "stones"—their thoughts—every single day.
175
- My life is no different. Looking back, we are not so different from these agents.
176
- **Yes! LLM Agents are no different from us. They can write code as brilliant as ours and work just as excellently—if you give them great tools and solid teammates.**
135
+ Even only with following subscriptions, ultrawork will work well (this project is not affiliated, this is just personal recommendation):
136
+ - [ChatGPT Subscription ($20)](https://chatgpt.com/)
137
+ - [Kimi Code Subscription ($0.99) (*only this month)](https://www.kimi.com/membership/pricing?track_id=5cdeca93-66f0-4d35-aabb-b6df8fcea328)
138
+ - [GLM Coding Plan ($10)](https://z.ai/subscribe)
139
+ - If you are eligible for pay-per-token, using kimi and gemini models won't cost you that much.
177
140
 
178
- Meet our main agent: Sisyphus (Opus 4.6). Below are the tools Sisyphus uses to keep that boulder rolling.
141
+ | | Feature | What it does |
142
+ | :---: | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
143
+ | 🤖 | **Discipline Agents** | Sisyphus orchestrates Hephaestus, Oracle, Librarian, Explore. A full AI dev team in parallel. |
144
+ | ⚡ | **`ultrawork` / `ulw`** | One word. Every agent activates. Doesn't stop until done. |
145
+ | 🚪 | **[IntentGate](https://factory.ai/news/terminal-bench)** | Analyzes true user intent before classifying or acting. No more literal misinterpretations. |
146
+ | 🔗 | **Hash-Anchored Edit Tool** | `LINE#ID` content hash validates every change. Zero stale-line errors. Inspired by [oh-my-pi](https://github.com/can1357/oh-my-pi). [The Harness Problem →](https://blog.can.ac/2026/02/12/the-harness-problem/) |
147
+ | 🛠️ | **LSP + AST-Grep** | Workspace rename, pre-build diagnostics, AST-aware rewrites. IDE precision for agents. |
148
+ | 🧠 | **Background Agents** | Fire 5+ specialists in parallel. Context stays lean. Results when ready. |
149
+ | 📚 | **Built-in MCPs** | Exa (web search), Context7 (official docs), Grep.app (GitHub search). Always on. |
150
+ | 🔁 | **Ralph Loop / `/ulw-loop`** | Self-referential loop. Doesn't stop until 100% done. |
151
+ | ✅ | **Todo Enforcer** | Agent goes idle? System yanks it back. Your task gets done, period. |
152
+ | 💬 | **Comment Checker** | No AI slop in comments. Code reads like a senior wrote it. |
153
+ | 🖥️ | **Tmux Integration** | Full interactive terminal. REPLs, debuggers, TUIs. All live. |
154
+ | 🔌 | **Claude Code Compatible** | Your hooks, commands, skills, MCPs, and plugins? All work here. |
155
+ | 🎯 | **Skill-Embedded MCPs** | Skills carry their own MCP servers. No context bloat. |
156
+ | 📋 | **Prometheus Planner** | Interview-mode strategic planning before any execution. |
157
+ | 🔍 | **`/init-deep`** | Auto-generates hierarchical `AGENTS.md` files throughout your project. Great for both token efficiency and your agent's performance |
179
158
 
180
- *Everything below is customizable. Take what you want. All features are enabled by default. You don't have to do anything. Battery Included, works out of the box.*
159
+ ### Discipline Agents
181
160
 
182
- - Sisyphus's Teammates (Curated Agents)
183
- - Hephaestus: Autonomous deep worker, goal-oriented execution (GPT 5.3 Codex Medium) — *The Legitimate Craftsman*
184
- - Oracle: Design, debugging (GPT 5.2)
185
- - Frontend UI/UX Engineer: Frontend development (Gemini 3 Pro)
186
- - Librarian: Official docs, open source implementations, codebase exploration (GLM-4.7)
187
- - Explore: Blazing fast codebase exploration (Contextual Grep) (Grok Code Fast 1)
188
- - Full LSP / AstGrep Support: Refactor decisively.
189
- - Todo Continuation Enforcer: Forces the agent to continue if it quits halfway. **This is what keeps Sisyphus rolling that boulder.**
190
- - Comment Checker: Prevents AI from adding excessive comments. Code generated by Sisyphus should be indistinguishable from human-written code.
191
- - Claude Code Compatibility: Command, Agent, Skill, MCP, Hook(PreToolUse, PostToolUse, UserPromptSubmit, Stop)
192
- - Curated MCPs:
193
- - Exa (Web Search)
194
- - Context7 (Official Documentation)
195
- - Grep.app (GitHub Code Search)
196
- - Interactive Terminal Supported - Tmux Integration
197
- - Async Agents
198
- - ...
161
+ <table><tr>
162
+ <td align="center"><img src=".github/assets/sisyphus.png" height="300" /></td>
163
+ <td align="center"><img src=".github/assets/hephaestus.png" height="300" /></td>
164
+ </tr></table>
199
165
 
200
- #### Just Install This
166
+ **Sisyphus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`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.
201
167
 
202
- You can learn a lot from [overview page](docs/guide/overview.md), but following is like the example workflow.
168
+ **Hephaestus** (`gpt-5.3-codex`) 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.*
203
169
 
204
- Just by installing this, you make your agents to work like:
170
+ **Prometheus** (`claude-opus-4-6` / **`kimi-k2.5`** / **`glm-5`** ) is your strategic planner. Interview mode: it questions, identifies scope, and builds a detailed plan before a single line of code is touched.
205
171
 
206
- 1. Sisyphus doesn't waste time hunting for files himself; he keeps the main agent's context lean. Instead, he fires off background tasks to faster, cheaper models in parallel to map the territory for him.
207
- 1. Sisyphus leverages LSP for refactoring; it's more deterministic, safer, and surgical.
208
- 1. When the heavy lifting requires a UI touch, Sisyphus delegates frontend tasks directly to Gemini 3 Pro.
209
- 1. If Sisyphus gets stuck in a loop or hits a wall, he doesn't keep banging his head—he calls GPT 5.2 for high-IQ strategic backup.
210
- 1. Working with a complex open-source framework? Sisyphus spawns subagents to digest the raw source code and documentation in real-time. He operates with total contextual awareness.
211
- 1. When Sisyphus touches comments, he either justifies their existence or nukes them. He keeps your codebase clean.
212
- 1. Sisyphus is bound by his TODO list. If he doesn't finish what he started, the system forces him back into "bouldering" mode. Your task gets done, period.
213
- 1. Honestly, don't even bother reading the docs. Just write your prompt. Include the 'ultrawork' keyword. Sisyphus will analyze the structure, gather the context, dig through external source code, and just keep bouldering until the job is 100% complete.
214
- 1. Actually, typing 'ultrawork' is too much effort. Just type 'ulw'. Just ulw. Sip your coffee. Your work is done.
172
+ Every agent is tuned to its model's specific strengths. No manual model-juggling. [Learn more →](docs/guide/overview.md)
215
173
 
216
- Need to look something up? It scours official docs, your entire codebase history, and public GitHub implementations—using not just grep but built-in LSP tools and AST-Grep.
217
- 3. Stop worrying about context management when delegating to LLMs. I've got it covered.
218
- - OhMyOpenCode aggressively leverages multiple agents to lighten the context load.
219
- - **Your agent is now the dev team lead. You're the AI Manager.**
220
- 4. It doesn't stop until the job is done.
221
- 5. Don't want to dive deep into this project? No problem. Just type 'ultrathink'.
174
+ > 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.
175
+ >
176
+ > We run best on Opus, but Kimi K2.5 + GPT-5.3 Codex already beats vanilla Claude Code. Zero config needed.
222
177
 
223
- If you don't want all this, as mentioned, you can just pick and choose specific features.
178
+ ### Agent Orchestration
224
179
 
225
- ### For Those Who Want Autonomy: Meet Hephaestus
180
+ When Sisyphus delegates to a subagent, it doesn't pick a model. It picks a **category**. The category maps automatically to the right model:
226
181
 
227
- ![Meet Hephaestus](.github/assets/hephaestus.png)
182
+ | Category | What it's for |
183
+ | :------------------- | :--------------------------------- |
184
+ | `visual-engineering` | Frontend, UI/UX, design |
185
+ | `deep` | Autonomous research + execution |
186
+ | `quick` | Single-file changes, typos |
187
+ | `ultrabrain` | Hard logic, architecture decisions |
228
188
 
229
- In Greek mythology, Hephaestus was the god of forge, fire, metalworking, and craftsmanship—the divine blacksmith who crafted weapons for the gods with unmatched precision and dedication.
230
- **Meet our autonomous deep worker: Hephaestus (GPT 5.3 Codex Medium). The Legitimate Craftsman Agent.**
189
+ Agent says what kind of work. Harness picks the right model. You touch nothing.
231
190
 
232
- *Why "Legitimate"? When Anthropic blocked third-party access citing ToS violations, the community started joking about "legitimate" usage. Hephaestus embraces this irony—he's the craftsman who builds things the right way, methodically and thoroughly, without cutting corners.*
191
+ ### Claude Code Compatibility
233
192
 
234
- Hephaestus is inspired by [AmpCode's deep mode](https://ampcode.com)—autonomous problem-solving with thorough research before decisive action. He doesn't need step-by-step instructions; give him a goal and he'll figure out the rest.
193
+ You dialed in your Claude Code setup. Good.
235
194
 
236
- **Key Characteristics:**
237
- - **Goal-Oriented**: Give him an objective, not a recipe. He determines the steps himself.
238
- - **Explores Before Acting**: Fires 2-5 parallel explore/librarian agents before writing a single line of code.
239
- - **End-to-End Completion**: Doesn't stop until the task is 100% done with evidence of verification.
240
- - **Pattern Matching**: Searches existing codebase to match your project's style—no AI slop.
241
- - **Legitimate Precision**: Crafts code like a master blacksmith—surgical, minimal, exactly what's needed.
195
+ Every hook, command, skill, MCP, plugin works here unchanged. Full compatibility, including plugins.
242
196
 
243
- ## Installation
197
+ ### World-Class Tools for Your Agents
244
198
 
245
- ### For Humans
199
+ LSP, AST-Grep, Tmux, MCP actually integrated, not duct-taped together.
246
200
 
247
- Copy and paste this prompt to your LLM agent (Claude Code, AmpCode, Cursor, etc.):
201
+ - **LSP**: `lsp_rename`, `lsp_goto_definition`, `lsp_find_references`, `lsp_diagnostics`. IDE precision for every agent
202
+ - **AST-Grep**: Pattern-aware code search and rewriting across 25 languages
203
+ - **Tmux**: Full interactive terminal. REPLs, debuggers, TUI apps. Your agent stays in session
204
+ - **MCP**: Web search, official docs, GitHub code search. All baked in
205
+
206
+ ### Skill-Embedded MCPs
207
+
208
+ MCP servers eat your context budget. We fixed that.
209
+
210
+ Skills bring their own MCP servers. Spin up on-demand, scoped to task, gone when done. Context window stays clean.
211
+
212
+ ### Codes Better. Hash-Anchored Edits
213
+
214
+ The harness problem is real. Most agent failures aren't the model. It's the edit tool.
215
+
216
+ > *"None of these tools give the model a stable, verifiable identifier for the lines it wants to change... They all rely on the model reproducing content it already saw. When it can't - and it often can't - the user blames the model."*
217
+ >
218
+ > <br/>- [Can Bölük, The Harness Problem](https://blog.can.ac/2026/02/12/the-harness-problem/)
219
+
220
+ Inspired by [oh-my-pi](https://github.com/can1357/oh-my-pi), we implemented **Hashline**. Every line the agent reads comes back tagged with a content hash:
248
221
 
249
222
  ```
250
- Install and configure oh-my-opencode by following the instructions here:
251
- https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
223
+ 11#VK: function hello() {
224
+ 22#XJ: return "world";
225
+ 33#MB: }
252
226
  ```
253
227
 
254
- Or read the [Installation Guide](docs/guide/installation.md) directly—but **we strongly recommend letting an agent handle it. Humans make mistakes.**
228
+ The agent edits by referencing those tags. If the file changed since the last read, the hash won't match and the edit is rejected before corruption. No whitespace reproduction. No stale-line errors.
255
229
 
256
- ### For LLM Agents
230
+ Grok Code Fast 1: **6.7% → 68.3%** success rate. Just from changing the edit tool.
257
231
 
258
- Fetch the installation guide and follow it:
232
+ ### Deep Initialization. `/init-deep`
233
+
234
+ Run `/init-deep`. It generates hierarchical `AGENTS.md` files:
259
235
 
260
- ```bash
261
- curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md
262
236
  ```
237
+ project/
238
+ ├── AGENTS.md ← project-wide context
239
+ ├── src/
240
+ │ ├── AGENTS.md ← src-specific context
241
+ │ └── components/
242
+ │ └── AGENTS.md ← component-specific context
243
+ ```
244
+
245
+ Agents auto-read relevant context. Zero manual management.
246
+
247
+ ### Planning. Prometheus
248
+
249
+ Complex task? Don't prompt and pray.
250
+
251
+ `/start-work` calls Prometheus. **Interviews you like a real engineer**, identifies scope and ambiguities, builds a verified plan before touching code. Agent knows what it's building before it starts.
252
+
253
+ ### Skills
254
+
255
+ Skills aren't just prompts. Each brings:
256
+
257
+ - Domain-tuned system instructions
258
+ - Embedded MCP servers, on-demand
259
+ - Scoped permissions. Agents stay in bounds
260
+
261
+ Built-ins: `playwright` (browser automation), `git-master` (atomic commits, rebase surgery), `frontend-ui-ux` (design-first UI).
262
+
263
+ Add your own: `.opencode/skills/*/SKILL.md` or `~/.config/opencode/skills/*/SKILL.md`.
264
+
265
+ **Want the full feature breakdown?** See the **[Features Documentation](docs/reference/features.md)** for agents, hooks, tools, MCPs, and everything else in detail.
266
+
267
+ ---
268
+
269
+ > **New to oh-my-opencode?** Read the **[Overview](docs/guide/overview.md)** to understand what you have, or check the **[Orchestration Guide](docs/guide/orchestration.md)** for how agents collaborate.
263
270
 
264
271
  ## Uninstallation
265
272
 
@@ -295,23 +302,27 @@ To remove oh-my-opencode:
295
302
 
296
303
  ## Features
297
304
 
298
- We have lots of features that you'll think should obviously exist, and once you experience them, you'll never be able to go back to how things were before.
299
- See the full [Features Documentation](docs/features.md) for detailed information.
305
+ Features you'll think should've always existed. Once you use them, you can't go back.
306
+
307
+ See full [Features Documentation](docs/reference/features.md).
300
308
 
301
309
  **Quick Overview:**
302
310
  - **Agents**: Sisyphus (the main agent), Prometheus (planner), Oracle (architecture/debugging), Librarian (docs/code search), Explore (fast codebase grep), Multimodal Looker
303
311
  - **Background Agents**: Run multiple agents in parallel like a real dev team
304
312
  - **LSP & AST Tools**: Refactoring, rename, diagnostics, AST-aware code search
313
+ - **Hash-anchored Edit Tool**: `LINE#ID` references validate content before applying every change. Surgical edits, zero stale-line errors
305
314
  - **Context Injection**: Auto-inject AGENTS.md, README.md, conditional rules
306
315
  - **Claude Code Compatibility**: Full hook system, commands, skills, agents, MCPs
307
316
  - **Built-in MCPs**: websearch (Exa), context7 (docs), grep_app (GitHub search)
308
317
  - **Session Tools**: List, read, search, and analyze session history
309
318
  - **Productivity Features**: Ralph Loop, Todo Enforcer, Comment Checker, Think Mode, and more
319
+ - **Model Setup**: Agent-model matching is built into the [Installation Guide](docs/guide/installation.md#step-5-understand-your-model-setup)
310
320
 
311
321
  ## Configuration
312
322
 
313
- Highly opinionated, but adjustable to taste.
314
- See the full [Configuration Documentation](docs/configurations.md) for detailed information.
323
+ Opinionated defaults, adjustable if you insist.
324
+
325
+ See [Configuration Documentation](docs/reference/configuration.md).
315
326
 
316
327
  **Quick Overview:**
317
328
  - **Config Locations**: `.opencode/oh-my-opencode.jsonc` or `.opencode/oh-my-opencode.json` (project), `~/.config/opencode/oh-my-opencode.jsonc` or `~/.config/opencode/oh-my-opencode.json` (user)
@@ -329,48 +340,39 @@ See the full [Configuration Documentation](docs/configurations.md) for detailed
329
340
 
330
341
  ## Author's Note
331
342
 
332
- **Curious about the philosophy behind this project?** Read the [Ultrawork Manifesto](docs/ultrawork-manifesto.md).
343
+ **Want the philosophy?** Read the [Ultrawork Manifesto](docs/manifesto.md).
333
344
 
334
- Install Oh My OpenCode.
345
+ ---
346
+
347
+ I burned through $24K in LLM tokens on personal projects. Tried every tool. Configured everything to death. OpenCode won.
335
348
 
336
- I've used LLMs worth $24,000 tokens purely for personal development.
337
- Tried every tool out there, configured them to death. OpenCode won.
349
+ Every problem I hit, the fix is baked into this plugin. Install and go.
338
350
 
339
- The answers to every problem I hit are baked into this plugin. Just install and go.
340
- If OpenCode is Debian/Arch, Oh My OpenCode is Ubuntu/[Omarchy](https://omarchy.org/).
351
+ If OpenCode is Debian/Arch, OmO is Ubuntu/[Omarchy](https://omarchy.org/).
341
352
 
353
+ Heavy influence from [AmpCode](https://ampcode.com) and [Claude Code](https://code.claude.com/docs/overview). Features ported, often improved. Still building. It's **Open**Code.
342
354
 
343
- Heavily influenced by [AmpCode](https://ampcode.com) and [Claude Code](https://code.claude.com/docs/overview)—I've ported their features here, often improved. And I'm still building.
344
- It's **Open**Code, after all.
355
+ Other harnesses promise multi-model orchestration. We ship it. Stability too. And features that actually work.
345
356
 
346
- Enjoy multi-model orchestration, stability, and rich features that other harnesses promise but can't deliver.
347
- I'll keep testing and updating. I'm this project's most obsessive user.
357
+ I'm this project's most obsessive user:
348
358
  - Which model has the sharpest logic?
349
359
  - Who's the debugging god?
350
360
  - Who writes the best prose?
351
361
  - Who dominates frontend?
352
362
  - Who owns backend?
353
- - Which model is fastest for daily driving?
354
- - What new features are other harnesses shipping?
355
-
356
- This plugin is the distillation of that experience. Just take the best. Got a better idea? PRs are welcome.
357
-
358
- **Stop agonizing over agent harness choices.**
359
- **I'll do the research, borrow from the best, and ship updates here.**
363
+ - What's fastest for daily driving?
364
+ - What are competitors shipping?
360
365
 
361
- If this sounds arrogant and you have a better answer, please contribute. You're welcome.
366
+ This plugin is the distillation. Take the best. Got improvements? PRs welcome.
362
367
 
363
- I have no affiliation with any project or model mentioned here. This is purely personal experimentation and preference.
368
+ **Stop agonizing over harness choices.**
369
+ **I'll research, steal the best, and ship it here.**
364
370
 
365
- 99% of this project was built using OpenCode. I tested for functionality—I don't really know how to write proper TypeScript. **But I personally reviewed and largely rewrote this doc, so read with confidence.**
371
+ Sounds arrogant? Have a better way? Contribute. You're welcome.
366
372
 
367
- ## Warnings
373
+ No affiliation with any project/model mentioned. Just personal experimentation.
368
374
 
369
- - Productivity might spike too hard. Don't let your coworker notice.
370
- - Actually, I'll spread the word. Let's see who wins.
371
- - If you're on [1.0.132](https://github.com/sst/opencode/releases/tag/v1.0.132) or older, an OpenCode bug may break config.
372
- - [The fix](https://github.com/sst/opencode/pull/5040) was merged after 1.0.132—use a newer version.
373
- - Fun fact: That PR was discovered and fixed thanks to OhMyOpenCode's Librarian, Explore, and Oracle setup.
375
+ 99% of this project was built with OpenCode. I don't really know TypeScript. **But I personally reviewed and largely rewrote this doc.**
374
376
 
375
377
  ## Loved by professionals at
376
378