oh-my-opencode 3.0.0-beta.1 → 3.0.0-beta.10

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 (154) hide show
  1. package/README.ja.md +109 -89
  2. package/README.md +113 -104
  3. package/README.zh-cn.md +664 -511
  4. package/bin/oh-my-opencode.js +80 -0
  5. package/bin/platform.js +38 -0
  6. package/bin/platform.test.ts +148 -0
  7. package/dist/agents/metis.d.ts +1 -0
  8. package/dist/agents/momus.d.ts +1 -1
  9. package/dist/agents/orchestrator-sisyphus.d.ts +3 -2
  10. package/dist/agents/prometheus-prompt.d.ts +3 -1
  11. package/dist/agents/sisyphus-junior.d.ts +6 -1
  12. package/dist/agents/types.d.ts +1 -0
  13. package/dist/agents/utils.d.ts +3 -2
  14. package/dist/cli/config-manager.d.ts +9 -1
  15. package/dist/cli/doctor/checks/opencode.d.ts +5 -1
  16. package/dist/cli/index.js +3886 -3763
  17. package/dist/cli/run/events.d.ts +1 -0
  18. package/dist/cli/types.d.ts +3 -0
  19. package/dist/config/schema.d.ts +538 -208
  20. package/dist/features/background-agent/concurrency.d.ts +17 -0
  21. package/dist/features/background-agent/manager.d.ts +44 -5
  22. package/dist/features/background-agent/types.d.ts +9 -1
  23. package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -1
  24. package/dist/features/builtin-commands/templates/refactor.d.ts +1 -1
  25. package/dist/features/builtin-commands/types.d.ts +1 -1
  26. package/dist/features/claude-code-session-state/state.d.ts +6 -1
  27. package/dist/features/context-injector/index.d.ts +1 -1
  28. package/dist/features/context-injector/injector.d.ts +1 -1
  29. package/dist/features/hook-message-injector/index.d.ts +2 -2
  30. package/dist/features/hook-message-injector/injector.d.ts +7 -0
  31. package/dist/features/opencode-skill-loader/skill-content.d.ts +17 -2
  32. package/dist/features/skill-mcp-manager/manager.d.ts +11 -0
  33. package/dist/features/task-toast-manager/index.d.ts +1 -1
  34. package/dist/features/task-toast-manager/manager.d.ts +2 -1
  35. package/dist/features/task-toast-manager/types.d.ts +5 -0
  36. package/dist/hooks/agent-usage-reminder/constants.d.ts +1 -1
  37. package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +1 -1
  38. package/dist/hooks/anthropic-context-window-limit-recovery/index.d.ts +1 -2
  39. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +0 -5
  40. package/dist/hooks/auto-update-checker/checker.d.ts +1 -1
  41. package/dist/hooks/auto-update-checker/index.d.ts +4 -0
  42. package/dist/hooks/background-compaction/index.d.ts +19 -0
  43. package/dist/hooks/background-notification/index.d.ts +6 -0
  44. package/dist/hooks/comment-checker/cli.d.ts +0 -1
  45. package/dist/hooks/compaction-context-injector/index.d.ts +7 -1
  46. package/dist/hooks/delegate-task-retry/index.d.ts +24 -0
  47. package/dist/hooks/index.d.ts +1 -2
  48. package/dist/hooks/keyword-detector/index.d.ts +2 -1
  49. package/dist/hooks/prometheus-md-only/constants.d.ts +2 -2
  50. package/dist/hooks/prometheus-md-only/index.d.ts +1 -1
  51. package/dist/hooks/ralph-loop/index.d.ts +1 -0
  52. package/dist/hooks/ralph-loop/types.d.ts +1 -0
  53. package/dist/index.js +22506 -23819
  54. package/dist/mcp/context7.d.ts +1 -0
  55. package/dist/mcp/grep-app.d.ts +1 -0
  56. package/dist/mcp/index.d.ts +1 -0
  57. package/dist/mcp/websearch.d.ts +1 -0
  58. package/dist/plugin-handlers/config-handler.d.ts +2 -0
  59. package/dist/plugin-handlers/config-handler.test.d.ts +1 -0
  60. package/dist/shared/agent-tool-restrictions.d.ts +7 -0
  61. package/dist/shared/agent-variant.d.ts +5 -0
  62. package/dist/shared/agent-variant.test.d.ts +1 -0
  63. package/dist/shared/deep-merge.test.d.ts +1 -0
  64. package/dist/shared/first-message-variant.d.ts +11 -0
  65. package/dist/shared/first-message-variant.test.d.ts +1 -0
  66. package/dist/shared/index.d.ts +6 -0
  67. package/dist/shared/migration.d.ts +1 -0
  68. package/dist/shared/opencode-version.d.ts +6 -3
  69. package/dist/shared/permission-compat.d.ts +22 -7
  70. package/dist/shared/session-cursor.d.ts +13 -0
  71. package/dist/shared/session-cursor.test.d.ts +1 -0
  72. package/dist/shared/shell-env.d.ts +41 -0
  73. package/dist/shared/shell-env.test.d.ts +1 -0
  74. package/dist/shared/system-directive.d.ts +31 -0
  75. package/dist/shared/zip-extractor.d.ts +1 -0
  76. package/dist/tools/{sisyphus-task → delegate-task}/constants.d.ts +3 -3
  77. package/dist/tools/{sisyphus-task → delegate-task}/index.d.ts +1 -1
  78. package/dist/tools/{sisyphus-task → delegate-task}/tools.d.ts +5 -3
  79. package/dist/tools/delegate-task/tools.test.d.ts +1 -0
  80. package/dist/tools/{sisyphus-task → delegate-task}/types.d.ts +1 -1
  81. package/dist/tools/glob/cli.d.ts +4 -0
  82. package/dist/tools/glob/cli.test.d.ts +1 -0
  83. package/dist/tools/glob/types.d.ts +1 -0
  84. package/dist/tools/index.d.ts +3 -1
  85. package/dist/tools/interactive-bash/constants.d.ts +1 -1
  86. package/dist/tools/look-at/tools.d.ts +7 -0
  87. package/dist/tools/look-at/tools.test.d.ts +1 -0
  88. package/dist/tools/lsp/client.d.ts +1 -3
  89. package/dist/tools/lsp/config.test.d.ts +1 -0
  90. package/dist/tools/lsp/index.d.ts +1 -1
  91. package/dist/tools/lsp/tools.d.ts +1 -6
  92. package/dist/tools/lsp/types.d.ts +0 -33
  93. package/dist/tools/lsp/utils.d.ts +1 -4
  94. package/dist/tools/skill/tools.d.ts +1 -7
  95. package/dist/tools/skill/types.d.ts +3 -0
  96. package/dist/tools/skill-mcp/types.d.ts +1 -1
  97. package/dist/tools/slashcommand/tools.d.ts +1 -7
  98. package/package.json +21 -14
  99. package/postinstall.mjs +43 -0
  100. package/dist/agents/build-prompt.d.ts +0 -31
  101. package/dist/agents/plan-prompt.d.ts +0 -64
  102. package/dist/auth/antigravity/accounts.d.ts +0 -40
  103. package/dist/auth/antigravity/browser.d.ts +0 -27
  104. package/dist/auth/antigravity/cli.d.ts +0 -2
  105. package/dist/auth/antigravity/constants.d.ts +0 -98
  106. package/dist/auth/antigravity/fetch.d.ts +0 -69
  107. package/dist/auth/antigravity/index.d.ts +0 -13
  108. package/dist/auth/antigravity/integration.test.d.ts +0 -10
  109. package/dist/auth/antigravity/message-converter.d.ts +0 -54
  110. package/dist/auth/antigravity/oauth.d.ts +0 -51
  111. package/dist/auth/antigravity/plugin.d.ts +0 -54
  112. package/dist/auth/antigravity/project.d.ts +0 -10
  113. package/dist/auth/antigravity/request.d.ts +0 -116
  114. package/dist/auth/antigravity/response.d.ts +0 -137
  115. package/dist/auth/antigravity/storage.d.ts +0 -5
  116. package/dist/auth/antigravity/thinking.d.ts +0 -278
  117. package/dist/auth/antigravity/thinking.test.d.ts +0 -10
  118. package/dist/auth/antigravity/thought-signature-store.d.ts +0 -52
  119. package/dist/auth/antigravity/token.d.ts +0 -38
  120. package/dist/auth/antigravity/tools.d.ts +0 -119
  121. package/dist/auth/antigravity/types.d.ts +0 -229
  122. package/dist/cli/ast-grep-napi.linux-x64-gnu-jfv8414z.node +0 -0
  123. package/dist/cli/ast-grep-napi.linux-x64-musl-8cj2e5cf.node +0 -0
  124. package/dist/cli/commands/auth.d.ts +0 -2
  125. package/dist/google-auth.d.ts +0 -3
  126. package/dist/google-auth.js +0 -3871
  127. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-executor.d.ts +0 -3
  128. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-purge-errors.d.ts +0 -7
  129. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-storage.d.ts +0 -2
  130. package/dist/hooks/anthropic-context-window-limit-recovery/pruning-supersede.d.ts +0 -6
  131. package/dist/hooks/comment-checker/constants.d.ts +0 -3
  132. package/dist/hooks/comment-checker/filters/bdd.d.ts +0 -2
  133. package/dist/hooks/comment-checker/filters/directive.d.ts +0 -2
  134. package/dist/hooks/comment-checker/filters/docstring.d.ts +0 -2
  135. package/dist/hooks/comment-checker/filters/index.d.ts +0 -7
  136. package/dist/hooks/comment-checker/filters/shebang.d.ts +0 -2
  137. package/dist/hooks/comment-checker/output/formatter.d.ts +0 -2
  138. package/dist/hooks/comment-checker/output/index.d.ts +0 -2
  139. package/dist/hooks/comment-checker/output/xml-builder.d.ts +0 -2
  140. package/dist/hooks/empty-message-sanitizer/index.d.ts +0 -12
  141. package/dist/hooks/preemptive-compaction/constants.d.ts +0 -3
  142. package/dist/hooks/preemptive-compaction/index.d.ts +0 -24
  143. package/dist/hooks/preemptive-compaction/types.d.ts +0 -17
  144. package/dist/tools/ast-grep/napi.d.ts +0 -13
  145. package/dist/tools/interactive-bash/types.d.ts +0 -3
  146. /package/dist/{auth/antigravity/accounts.test.d.ts → agents/momus.test.d.ts} +0 -0
  147. /package/dist/{auth/antigravity/browser.test.d.ts → agents/prometheus-prompt.test.d.ts} +0 -0
  148. /package/dist/{auth/antigravity/cli.test.d.ts → agents/sisyphus-junior.test.d.ts} +0 -0
  149. /package/dist/{auth/antigravity/constants.test.d.ts → features/claude-code-session-state/state.test.d.ts} +0 -0
  150. /package/dist/{auth/antigravity/oauth.test.d.ts → hooks/auto-update-checker/checker.test.d.ts} +0 -0
  151. /package/dist/{auth/antigravity/request.test.d.ts → hooks/auto-update-checker/index.test.d.ts} +0 -0
  152. /package/dist/{auth/antigravity/storage.test.d.ts → hooks/comment-checker/cli.test.d.ts} +0 -0
  153. /package/dist/{auth/antigravity/token.test.d.ts → hooks/delegate-task-retry/index.test.d.ts} +0 -0
  154. /package/dist/{tools/sisyphus-task/tools.test.d.ts → plugin-config.test.d.ts} +0 -0
package/README.md CHANGED
@@ -1,9 +1,12 @@
1
1
  > [!NOTE]
2
2
  >
3
- > *"I aim to spark a software revolution by creating a world where agent-generated code is indistinguishable from human code, yet capable of achieving vastly more. I have poured my personal time, passion, and funds into this journey, and I will continue to do so."*
3
+ > [![Sisyphus Labs Sisyphus is the agent that codes like your team.](./.github/assets/sisyphuslabs.png?v=2)](https://sisyphuslabs.ai)
4
+ > > **We're building a fully productized version of Sisyphus to define the future of frontier agents. <br />Join the waitlist [here](https://sisyphuslabs.ai).**
5
+
6
+ > [!TIP]
4
7
  >
5
- > [![The Orchestrator is coming](./.github/assets/orchestrator-sisyphus.png)](https://x.com/justsisyphus/status/2006250634354548963)
6
- > > **The Orchestrator is coming. This Week. [Get notified on X](https://x.com/justsisyphus/status/2006250634354548963)**
8
+ > [![The Orchestrator is now available in beta.](./.github/assets/orchestrator-sisyphus.png?v=3)](https://github.com/code-yeongyu/oh-my-opencode/releases/tag/v3.0.0-beta.10)
9
+ > > **The Orchestrator is now available in beta. Use `oh-my-opencode@3.0.0-beta.10` to install it.**
7
10
  >
8
11
  > Be with us!
9
12
  >
@@ -25,11 +28,29 @@
25
28
 
26
29
  > 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.
27
30
 
31
+ # Claude OAuth Access Notice
28
32
 
29
- No stupid token consumption massive subagents here. No bloat tools here.
33
+ ## TL;DR
30
34
 
31
- **Certified, Verified, Tested, Actually Useful Harness in Production, after $24,000 worth of tokens spent.**
32
- **START WITH YOUR ChatGPT, Claude, Gemini SUBSCRIPTIONS. WE ALL COVER THEM.**
35
+ > Q. Can I use oh-my-opencode?
36
+
37
+ Yes.
38
+
39
+ > Q. Can I use it with my Claude Code subscription?
40
+
41
+ Yes, technically possible. But I cannot recommend using it.
42
+
43
+ ## FULL
44
+
45
+ > As of January 2026, Anthropic has restricted third-party OAuth access citing ToS violations.
46
+ >
47
+ > [**Anthropic has cited this project, oh-my-opencode as justification for blocking opencode.**](https://x.com/thdxr/status/2010149530486911014)
48
+ >
49
+ > Indeed, some plugins that spoof Claude Code's oauth request signatures exist in the community.
50
+ >
51
+ > These tools may work regardless of technical detectability, but users should be aware of ToS implications, and I personally cannot recommend to use those.
52
+ >
53
+ > 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.**
33
54
 
34
55
 
35
56
  <div align="center">
@@ -41,6 +62,7 @@ No stupid token consumption massive subagents here. No bloat tools here.
41
62
  [![GitHub Stars](https://img.shields.io/github/stars/code-yeongyu/oh-my-opencode?color=ffcb47&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/stargazers)
42
63
  [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues)
43
64
  [![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md)
65
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/code-yeongyu/oh-my-opencode)
44
66
 
45
67
  [English](README.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md)
46
68
 
@@ -76,6 +98,9 @@ No stupid token consumption massive subagents here. No bloat tools here.
76
98
 
77
99
  ## Contents
78
100
 
101
+ - [Claude OAuth Access Notice](#claude-oauth-access-notice)
102
+ - [Reviews](#reviews)
103
+ - [Contents](#contents)
79
104
  - [Oh My OpenCode](#oh-my-opencode)
80
105
  - [Just Skip Reading This Readme](#just-skip-reading-this-readme)
81
106
  - [It's the Age of Agents](#its-the-age-of-agents)
@@ -94,8 +119,9 @@ No stupid token consumption massive subagents here. No bloat tools here.
94
119
  - [Google Gemini (Antigravity OAuth)](#google-gemini-antigravity-oauth)
95
120
  - [Model Configuration](#model-configuration)
96
121
  - [oh-my-opencode Agent Model Override](#oh-my-opencode-agent-model-override)
97
- - [OpenAI (ChatGPT Plus/Pro)](#openai-chatgpt-pluspro)
98
- - [Model Configuration](#model-configuration-1)
122
+ - [GitHub Copilot (Fallback Provider)](#github-copilot-fallback-provider)
123
+ - [Model Mappings](#model-mappings)
124
+ - [Setup](#setup)
99
125
  - [⚠️ Warning](#️-warning)
100
126
  - [Verify the setup](#verify-the-setup)
101
127
  - [Say 'Congratulations! 🎉' to the user](#say-congratulations--to-the-user)
@@ -125,6 +151,7 @@ No stupid token consumption massive subagents here. No bloat tools here.
125
151
  - [Agents](#agents)
126
152
  - [Permission Options](#permission-options)
127
153
  - [Built-in Skills](#built-in-skills)
154
+ - [Git Master](#git-master)
128
155
  - [Sisyphus Agent](#sisyphus-agent)
129
156
  - [Background Tasks](#background-tasks)
130
157
  - [Categories](#categories)
@@ -132,6 +159,7 @@ No stupid token consumption massive subagents here. No bloat tools here.
132
159
  - [MCPs](#mcps)
133
160
  - [LSP](#lsp)
134
161
  - [Experimental](#experimental)
162
+ - [Environment Variables](#environment-variables)
135
163
  - [Author's Note](#authors-note)
136
164
  - [Warnings](#warnings)
137
165
  - [Loved by professionals at](#loved-by-professionals-at)
@@ -234,12 +262,14 @@ If you don't want all this, as mentioned, you can just pick and choose specific
234
262
  Run the interactive installer:
235
263
 
236
264
  ```bash
237
- bunx oh-my-opencode install
238
- # or use npx if bunx doesn't work
239
265
  npx oh-my-opencode install
266
+ # or with bun
267
+ bunx oh-my-opencode install
240
268
  ```
241
269
 
242
- > **Note for Ubuntu/Debian users**: If you installed Bun via Snap (`/snap/bin/bun`), `bunx` will fail with "script not found" due to Snap's sandboxing. Either use `npx` instead, or reinstall Bun via the official installer: `curl -fsSL https://bun.sh/install | bash`
270
+ > **Note**: The CLI ships with standalone binaries for all major platforms. No runtime (Bun/Node.js) is required for CLI execution after installation.
271
+ >
272
+ > **Supported platforms**: macOS (ARM64, x64), Linux (x64, ARM64, Alpine/musl), Windows (x64)
243
273
 
244
274
  Follow the prompts to configure your Claude, ChatGPT, and Gemini subscriptions. After installation, authenticate your providers as instructed.
245
275
 
@@ -352,15 +382,14 @@ Read the [opencode-antigravity-auth documentation](https://github.com/NoeFabris/
352
382
 
353
383
  ##### oh-my-opencode Agent Model Override
354
384
 
355
- The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`) and disable the built-in `google_auth`:
385
+ The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`):
356
386
 
357
387
  ```json
358
388
  {
359
- "google_auth": false,
360
389
  "agents": {
361
- "frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
362
- "document-writer": { "model": "google/gemini-3-flash" },
363
- "multimodal-looker": { "model": "google/gemini-3-flash" }
390
+ "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3-pro-high" },
391
+ "document-writer": { "model": "google/antigravity-gemini-3-flash" },
392
+ "multimodal-looker": { "model": "google/antigravity-gemini-3-flash" }
364
393
  }
365
394
  }
366
395
  ```
@@ -380,37 +409,46 @@ opencode auth login
380
409
 
381
410
  **Multi-Account Load Balancing**: The plugin supports up to 10 Google accounts. When one account hits rate limits, it automatically switches to the next available account.
382
411
 
383
- #### OpenAI (ChatGPT Plus/Pro)
412
+ #### GitHub Copilot (Fallback Provider)
384
413
 
385
- First, add the opencode-openai-codex-auth plugin:
414
+ GitHub Copilot is supported as a **fallback provider** when native providers (Claude, ChatGPT, Gemini) are unavailable. The installer configures Copilot with lower priority than native providers.
386
415
 
387
- ```json
388
- {
389
- "plugin": [
390
- "oh-my-opencode",
391
- "opencode-openai-codex-auth@4.3.0"
392
- ]
393
- }
394
- ```
416
+ **Priority**: Native providers (Claude/ChatGPT/Gemini) > GitHub Copilot > Free models
395
417
 
396
- ##### Model Configuration
418
+ ##### Model Mappings
397
419
 
398
- You'll also need full model settings in `opencode.json`.
399
- Read the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth), copy provider/models config from [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json) (for OpenCode v1.0.210+) or [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json) (for older versions), and merge carefully to avoid breaking the user's existing setup.
420
+ When GitHub Copilot is enabled, oh-my-opencode uses these model assignments:
400
421
 
401
- **Available models**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
422
+ | Agent | Model |
423
+ | ------------- | -------------------------------- |
424
+ | **Sisyphus** | `github-copilot/claude-opus-4.5` |
425
+ | **Oracle** | `github-copilot/gpt-5.2` |
426
+ | **Explore** | `grok code` (default) |
427
+ | **Librarian** | `glm 4.7 free` (default) |
402
428
 
403
- **Variants** (OpenCode v1.0.210+): Use `--variant=<none|low|medium|high|xhigh>` for reasoning effort control.
429
+ GitHub Copilot acts as a proxy provider, routing requests to underlying models based on your subscription.
404
430
 
405
- Then authenticate:
431
+ ##### Setup
432
+
433
+ Run the installer and select "Yes" for GitHub Copilot:
434
+
435
+ ```bash
436
+ bunx oh-my-opencode install
437
+ # Select your subscriptions (Claude, ChatGPT, Gemini)
438
+ # When prompted: "Do you have a GitHub Copilot subscription?" → Select "Yes"
439
+ ```
440
+
441
+ Or use non-interactive mode:
442
+
443
+ ```bash
444
+ bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
445
+ ```
446
+
447
+ Then authenticate with GitHub:
406
448
 
407
449
  ```bash
408
450
  opencode auth login
409
- # Interactive Terminal: Provider: Select OpenAI
410
- # Interactive Terminal: Login method: Select ChatGPT Plus/Pro (Codex Subscription)
411
- # Interactive Terminal: Guide user through OAuth flow in browser
412
- # Wait for completion
413
- # Verify success and confirm with user
451
+ # Select: GitHub Authenticate via OAuth
414
452
  ```
415
453
 
416
454
 
@@ -418,7 +456,7 @@ opencode auth login
418
456
 
419
457
  **Unless the user explicitly requests it, do not change model settings or disable features (agents, hooks, MCPs).**
420
458
 
421
- The plugin works perfectly by default. Except for the recommended `google_auth: true` setting, do not change other settings or turn off features without an explicit request.
459
+ The plugin works perfectly by default. Do not change settings or turn off features without an explicit request.
422
460
 
423
461
  ### Verify the setup
424
462
 
@@ -496,9 +534,9 @@ To remove oh-my-opencode:
496
534
 
497
535
  - **Sisyphus** (`anthropic/claude-opus-4-5`): **The default agent.** A powerful AI orchestrator for OpenCode. Plans, delegates, and executes complex tasks using specialized subagents with aggressive parallel execution. Emphasizes background task delegation and todo-driven workflow. Uses Claude Opus 4.5 with extended thinking (32k budget) for maximum reasoning capability.
498
536
  - **oracle** (`openai/gpt-5.2`): Architecture, code review, strategy. Uses GPT-5.2 for its stellar logical reasoning and deep analysis. Inspired by AmpCode.
499
- - **librarian** (`anthropic/claude-sonnet-4-5` or `google/gemini-3-flash`): Multi-repo analysis, doc lookup, implementation examples. Uses Gemini 3 Flash when Antigravity auth is configured, otherwise Claude Sonnet 4.5 for deep codebase understanding and GitHub research with evidence-based answers. Inspired by AmpCode.
537
+ - **librarian** (`opencode/glm-4.7-free`): Multi-repo analysis, doc lookup, implementation examples. Uses GLM-4.7 Free for deep codebase understanding and GitHub research with evidence-based answers. Inspired by AmpCode.
500
538
  - **explore** (`opencode/grok-code`, `google/gemini-3-flash`, or `anthropic/claude-haiku-4-5`): Fast codebase exploration and pattern matching. Uses Gemini 3 Flash when Antigravity auth is configured, Haiku when Claude max20 is available, otherwise Grok. Inspired by Claude Code.
501
- - **frontend-ui-ux-engineer** (`google/gemini-3-pro-high`): A designer turned developer. Builds gorgeous UIs. Gemini excels at creative, beautiful UI code.
539
+ - **frontend-ui-ux-engineer** (`google/gemini-3-pro-preview`): A designer turned developer. Builds gorgeous UIs. Gemini excels at creative, beautiful UI code.
502
540
  - **document-writer** (`google/gemini-3-flash`): Technical writing expert. Gemini is a wordsmith—writes prose that flows.
503
541
  - **multimodal-looker** (`google/gemini-3-flash`): Visual content specialist. Analyzes PDFs, images, diagrams to extract information.
504
542
 
@@ -540,21 +578,13 @@ Syntax highlighting, autocomplete, refactoring, navigation, analysis—and now a
540
578
  The features in your editor? Other agents can't touch them.
541
579
  Hand your best tools to your best colleagues. Now they can properly refactor, navigate, and analyze.
542
580
 
543
- - **lsp_hover**: Type info, docs, signatures at position
544
- - **lsp_goto_definition**: Jump to symbol definition
545
- - **lsp_find_references**: Find all usages across workspace
546
- - **lsp_document_symbols**: Get file symbol outline
547
- - **lsp_workspace_symbols**: Search symbols by name across project
548
581
  - **lsp_diagnostics**: Get errors/warnings before build
549
- - **lsp_servers**: List available LSP servers
550
582
  - **lsp_prepare_rename**: Validate rename operation
551
583
  - **lsp_rename**: Rename symbol across workspace
552
- - **lsp_code_actions**: Get available quick fixes/refactorings
553
- - **lsp_code_action_resolve**: Apply code action
554
584
  - **ast_grep_search**: AST-aware code pattern search (25 languages)
555
585
  - **ast_grep_replace**: AST-aware code replacement
556
586
  - **call_omo_agent**: Spawn specialized explore/librarian agents. Supports `run_in_background` parameter for async execution.
557
- - **sisyphus_task**: Category-based task delegation with specialized agents. Supports pre-configured categories (visual, business-logic) or direct agent targeting. Use `background_output` to retrieve results and `background_cancel` to cancel tasks. See [Categories](#categories).
587
+ - **delegate_task**: Category-based task delegation with specialized agents. Supports pre-configured categories (visual, business-logic) or direct agent targeting. Use `background_output` to retrieve results and `background_cancel` to cancel tasks. See [Categories](#categories).
558
588
 
559
589
  #### Session Management
560
590
 
@@ -802,9 +832,6 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
802
832
  {
803
833
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
804
834
 
805
- // Enable Google Gemini via Antigravity OAuth
806
- "google_auth": false,
807
-
808
835
  /* Agent overrides - customize models for specific tasks */
809
836
  "agents": {
810
837
  "oracle": {
@@ -819,28 +846,7 @@ When both `oh-my-opencode.jsonc` and `oh-my-opencode.json` files exist, `.jsonc`
819
846
 
820
847
  ### Google Auth
821
848
 
822
- **Recommended**: Use the external [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
823
-
824
- When using `opencode-antigravity-auth`, disable the built-in auth and override agent models in `oh-my-opencode.json`:
825
-
826
- ```json
827
- {
828
- "google_auth": false,
829
- "agents": {
830
- "frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
831
- "document-writer": { "model": "google/gemini-3-flash" },
832
- "multimodal-looker": { "model": "google/gemini-3-flash" }
833
- }
834
- }
835
- ```
836
-
837
- **Alternative**: Enable built-in Antigravity OAuth (single account, Gemini models only):
838
-
839
- ```json
840
- {
841
- "google_auth": true
842
- }
843
- ```
849
+ **Recommended**: For Google Gemini authentication, install the [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
844
850
 
845
851
  ### Agents
846
852
 
@@ -917,7 +923,7 @@ Available agents: `oracle`, `librarian`, `explore`, `frontend-ui-ux-engineer`, `
917
923
  Oh My OpenCode includes built-in skills that provide additional capabilities:
918
924
 
919
925
  - **playwright**: Browser automation with Playwright MCP. Use for web scraping, testing, screenshots, and browser interactions.
920
- - **git-master**: Git expert for atomic commits, rebase/squash, and history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with `sisyphus_task(category='quick', skills=['git-master'], ...)` to save context.
926
+ - **git-master**: Git expert for atomic commits, rebase/squash, and history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with `delegate_task(category='quick', skills=['git-master'], ...)` to save context.
921
927
 
922
928
  Disable built-in skills via `disabled_skills` in `~/.config/opencode/oh-my-opencode.json` or `.opencode/oh-my-opencode.json`:
923
929
 
@@ -942,10 +948,10 @@ Configure git-master skill behavior:
942
948
  }
943
949
  ```
944
950
 
945
- | Option | Default | Description |
946
- | ------ | ------- | ----------- |
947
- | `commit_footer` | `true` | Adds "Ultraworked with Sisyphus" footer to commit messages. |
948
- | `include_co_authored_by` | `true` | Adds `Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>` trailer to commits. |
951
+ | Option | Default | Description |
952
+ | ------------------------ | ------- | -------------------------------------------------------------------------------- |
953
+ | `commit_footer` | `true` | Adds "Ultraworked with Sisyphus" footer to commit messages. |
954
+ | `include_co_authored_by` | `true` | Adds `Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>` trailer to commits. |
949
955
 
950
956
  ### Sisyphus Agent
951
957
 
@@ -1013,12 +1019,12 @@ You can also customize Sisyphus agents like other agents:
1013
1019
  }
1014
1020
  ```
1015
1021
 
1016
- | Option | Default | Description |
1017
- | --------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
1018
- | `disabled` | `false` | When `true`, disables all Sisyphus orchestration and restores original build/plan as primary. |
1019
- | `default_builder_enabled` | `false` | When `true`, enables OpenCode-Builder agent (same as OpenCode build, renamed due to SDK limitations). Disabled by default. |
1020
- | `planner_enabled` | `true` | When `true`, enables Prometheus (Planner) agent with work-planner methodology. Enabled by default. |
1021
- | `replace_plan` | `true` | When `true`, demotes default plan agent to subagent mode. Set to `false` to keep both Prometheus (Planner) and default plan available. |
1022
+ | Option | Default | Description |
1023
+ | ------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
1024
+ | `disabled` | `false` | When `true`, disables all Sisyphus orchestration and restores original build/plan as primary. |
1025
+ | `default_builder_enabled` | `false` | When `true`, enables OpenCode-Builder agent (same as OpenCode build, renamed due to SDK limitations). Disabled by default. |
1026
+ | `planner_enabled` | `true` | When `true`, enables Prometheus (Planner) agent with work-planner methodology. Enabled by default. |
1027
+ | `replace_plan` | `true` | When `true`, demotes default plan agent to subagent mode. Set to `false` to keep both Prometheus (Planner) and default plan available. |
1022
1028
 
1023
1029
  ### Background Tasks
1024
1030
 
@@ -1056,24 +1062,24 @@ Configure concurrency limits for background agent tasks. This controls how many
1056
1062
 
1057
1063
  ### Categories
1058
1064
 
1059
- Categories enable domain-specific task delegation via the `sisyphus_task` tool. Each category pre-configures a specialized `Sisyphus-Junior-{category}` agent with optimized model settings and prompts.
1065
+ Categories enable domain-specific task delegation via the `delegate_task` tool. Each category applies runtime presets (model, temperature, prompt additions) when calling the `Sisyphus-Junior` agent.
1060
1066
 
1061
1067
  **Default Categories:**
1062
1068
 
1063
- | Category | Model | Description |
1064
- |----------|-------|-------------|
1065
- | `visual` | `google/gemini-3-pro-preview` | Frontend, UI/UX, design-focused tasks. High creativity (temp 0.7). |
1066
- | `business-logic` | `openai/gpt-5.2` | Backend logic, architecture, strategic reasoning. Low creativity (temp 0.1). |
1069
+ | Category | Model | Description |
1070
+ | ---------------- | ----------------------------- | ---------------------------------------------------------------------------- |
1071
+ | `visual` | `google/gemini-3-pro-preview` | Frontend, UI/UX, design-focused tasks. High creativity (temp 0.7). |
1072
+ | `business-logic` | `openai/gpt-5.2` | Backend logic, architecture, strategic reasoning. Low creativity (temp 0.1). |
1067
1073
 
1068
1074
  **Usage:**
1069
1075
 
1070
1076
  ```
1071
- // Via sisyphus_task tool
1072
- sisyphus_task(category="visual", prompt="Create a responsive dashboard component")
1073
- sisyphus_task(category="business-logic", prompt="Design the payment processing flow")
1077
+ // Via delegate_task tool
1078
+ delegate_task(category="visual", prompt="Create a responsive dashboard component")
1079
+ delegate_task(category="business-logic", prompt="Design the payment processing flow")
1074
1080
 
1075
1081
  // Or target a specific agent directly
1076
- sisyphus_task(agent="oracle", prompt="Review this architecture")
1082
+ delegate_task(agent="oracle", prompt="Review this architecture")
1077
1083
  ```
1078
1084
 
1079
1085
  **Custom Categories:**
@@ -1089,7 +1095,7 @@ Add custom categories in `oh-my-opencode.json`:
1089
1095
  "prompt_append": "Focus on data analysis, ML pipelines, and statistical methods."
1090
1096
  },
1091
1097
  "visual": {
1092
- "model": "google/gemini-3-pro-high",
1098
+ "model": "google/gemini-3-pro-preview",
1093
1099
  "prompt_append": "Use shadcn/ui components and Tailwind CSS."
1094
1100
  }
1095
1101
  }
@@ -1108,7 +1114,7 @@ Disable specific built-in hooks via `disabled_hooks` in `~/.config/opencode/oh-m
1108
1114
  }
1109
1115
  ```
1110
1116
 
1111
- Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-context-window-limit-recovery`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`, `interactive-bash-session`, `empty-message-sanitizer`, `compaction-context-injector`, `thinking-block-validator`, `claude-code-hooks`, `ralph-loop`, `preemptive-compaction`
1117
+ Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-context-window-limit-recovery`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`, `interactive-bash-session`, `compaction-context-injector`, `thinking-block-validator`, `claude-code-hooks`, `ralph-loop`, `preemptive-compaction`
1112
1118
 
1113
1119
  **Note on `auto-update-checker` and `startup-toast`**: The `startup-toast` hook is a sub-feature of `auto-update-checker`. To disable only the startup toast notification while keeping update checking enabled, add `"startup-toast"` to `disabled_hooks`. To disable all update checking features (including the toast), add `"auto-update-checker"` to `disabled_hooks`.
1114
1120
 
@@ -1160,7 +1166,6 @@ Opt-in experimental features that may change or be removed in future versions. U
1160
1166
  ```json
1161
1167
  {
1162
1168
  "experimental": {
1163
- "preemptive_compaction_threshold": 0.85,
1164
1169
  "truncate_all_tool_outputs": true,
1165
1170
  "aggressive_truncation": true,
1166
1171
  "auto_resume": true
@@ -1168,16 +1173,20 @@ Opt-in experimental features that may change or be removed in future versions. U
1168
1173
  }
1169
1174
  ```
1170
1175
 
1171
- | Option | Default | Description |
1172
- | --------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1173
- | `preemptive_compaction_threshold` | `0.85` | Threshold percentage (0.5-0.95) to trigger preemptive compaction. The `preemptive-compaction` hook is enabled by default; this option customizes the threshold. |
1174
- | `truncate_all_tool_outputs` | `false` | Truncates ALL tool outputs instead of just whitelisted tools (Grep, Glob, LSP, AST-grep). Tool output truncator is enabled by default - disable via `disabled_hooks`. |
1175
- | `aggressive_truncation` | `false` | When token limit is exceeded, aggressively truncates tool outputs to fit within limits. More aggressive than the default truncation behavior. Falls back to summarize/revert if insufficient. |
1176
- | `auto_resume` | `false` | Automatically resumes session after successful recovery from thinking block errors or thinking disabled violations. Extracts the last user message and continues. |
1177
- | `dcp_for_compaction` | `false` | Enable DCP (Dynamic Context Pruning) for compaction - runs first when token limit exceeded. Prunes duplicate tool calls and old tool outputs before running compaction. |
1176
+ | Option | Default | Description |
1177
+ | --------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1178
+ | `truncate_all_tool_outputs` | `false` | Truncates ALL tool outputs instead of just whitelisted tools (Grep, Glob, LSP, AST-grep). Tool output truncator is enabled by default - disable via `disabled_hooks`. |
1179
+ | `aggressive_truncation` | `false` | When token limit is exceeded, aggressively truncates tool outputs to fit within limits. More aggressive than the default truncation behavior. Falls back to summarize/revert if insufficient. |
1180
+ | `auto_resume` | `false` | Automatically resumes session after successful recovery from thinking block errors or thinking disabled violations. Extracts the last user message and continues. |
1178
1181
 
1179
1182
  **Warning**: These features are experimental and may cause unexpected behavior. Enable only if you understand the implications.
1180
1183
 
1184
+ ### Environment Variables
1185
+
1186
+ | Variable | Description |
1187
+ | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
1188
+ | `OPENCODE_CONFIG_DIR` | Override the OpenCode configuration directory. Useful for profile isolation with tools like [OCX](https://github.com/kdcokenny/ocx) ghost mode. |
1189
+
1181
1190
 
1182
1191
  ## Author's Note
1183
1192