oh-my-opencode 2.9.1 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +10 -0
- package/README.ko.md +10 -0
- package/README.md +46 -0
- package/README.zh-cn.md +10 -0
- package/dist/agents/utils.d.ts +7 -1
- package/dist/cli/doctor/checks/gh.d.ts +13 -0
- package/dist/cli/doctor/checks/gh.test.d.ts +1 -0
- package/dist/cli/doctor/checks/index.d.ts +1 -0
- package/dist/cli/doctor/constants.d.ts +1 -0
- package/dist/cli/index.js +3192 -360
- package/dist/config/schema.d.ts +174 -165
- package/dist/features/builtin-skills/types.d.ts +2 -0
- package/dist/features/claude-code-command-loader/types.d.ts +19 -0
- package/dist/features/claude-code-mcp-loader/loader.d.ts +1 -0
- package/dist/features/claude-code-mcp-loader/loader.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/loader.test.d.ts +1 -0
- package/dist/features/opencode-skill-loader/types.d.ts +3 -0
- package/dist/features/skill-mcp-manager/index.d.ts +2 -0
- package/dist/features/skill-mcp-manager/manager.d.ts +21 -0
- package/dist/features/skill-mcp-manager/manager.test.d.ts +1 -0
- package/dist/features/skill-mcp-manager/types.d.ts +11 -0
- package/dist/google-auth.js +3 -3
- package/dist/hooks/anthropic-context-window-limit-recovery/storage.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/constants.d.ts +5 -0
- package/dist/hooks/auto-slash-command/detector.d.ts +9 -0
- package/dist/hooks/auto-slash-command/detector.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/executor.d.ts +7 -0
- package/dist/hooks/auto-slash-command/index.d.ts +8 -0
- package/dist/hooks/auto-slash-command/index.test.d.ts +1 -0
- package/dist/hooks/auto-slash-command/types.d.ts +27 -0
- package/dist/hooks/auto-update-checker/constants.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/keyword-detector/detector.d.ts +5 -0
- package/dist/hooks/keyword-detector/index.d.ts +2 -1
- package/dist/hooks/rules-injector/constants.d.ts +2 -0
- package/dist/hooks/rules-injector/finder.d.ts +1 -13
- package/dist/hooks/rules-injector/finder.test.d.ts +1 -0
- package/dist/hooks/rules-injector/parser.test.d.ts +1 -0
- package/dist/hooks/rules-injector/types.d.ts +13 -0
- package/dist/index.js +30596 -17457
- package/dist/plugin-config.d.ts +4 -0
- package/dist/plugin-handlers/config-handler.d.ts +10 -0
- package/dist/plugin-handlers/index.d.ts +1 -0
- package/dist/plugin-state.d.ts +6 -0
- package/dist/shared/frontmatter.d.ts +2 -2
- package/dist/shared/frontmatter.test.d.ts +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/skill/tools.test.d.ts +1 -0
- package/dist/tools/skill/types.d.ts +5 -0
- package/dist/tools/skill-mcp/constants.d.ts +2 -0
- package/dist/tools/skill-mcp/index.d.ts +3 -0
- package/dist/tools/skill-mcp/tools.d.ts +11 -0
- package/dist/tools/skill-mcp/tools.test.d.ts +1 -0
- package/dist/tools/skill-mcp/types.d.ts +8 -0
- package/package.json +4 -1
package/README.ja.md
CHANGED
|
@@ -128,6 +128,12 @@ Windows から Linux に初めて乗り換えた時のこと、自分の思い
|
|
|
128
128
|
- なぜこれが良いのか、単なるボイラープレートではないのか、具体的に何が良くなるのか聞いてみてください。
|
|
129
129
|
- もしあなたが LLM エージェントなら、このプロジェクトによって今すぐ何が可能になるのか、ユーザーに説明してください。
|
|
130
130
|
|
|
131
|
+
### 🪄 魔法の言葉:`ultrawork`
|
|
132
|
+
|
|
133
|
+
**これ全部読みたくない?プロンプトに `ultrawork`(または `ulw`)を入れるだけでOK。**
|
|
134
|
+
|
|
135
|
+
それだけです。私たちが提供するすべての機能が魔法のように動作します—並列エージェント、バックグラウンドタスク、深い探索、そして完了するまで止まらない実行。エージェントが自動的にすべてを処理します。
|
|
136
|
+
|
|
131
137
|
### 読みたい方のために:シジフォスに会う
|
|
132
138
|
|
|
133
139
|

|
|
@@ -223,8 +229,12 @@ OpenCode がインストールされていない場合は、[OpenCode インス
|
|
|
223
229
|
|
|
224
230
|
```bash
|
|
225
231
|
bunx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
232
|
+
# bunx が動作しない場合は npx を使用
|
|
233
|
+
npx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
226
234
|
```
|
|
227
235
|
|
|
236
|
+
> **Ubuntu/Debian ユーザーへの注意**: Snap で Bun をインストールした場合 (`/snap/bin/bun`)、Snap のサンドボックス化により `bunx` が「script not found」エラーで失敗します。代わりに `npx` を使用するか、公式インストーラーで Bun を再インストールしてください: `curl -fsSL https://bun.sh/install | bash`
|
|
237
|
+
|
|
228
238
|
**例:**
|
|
229
239
|
- すべてのサブスクリプション + max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes`
|
|
230
240
|
- Claude のみ(max20 なし): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no`
|
package/README.ko.md
CHANGED
|
@@ -127,6 +127,12 @@ OpenCode 가 낭만이 사라진것같은 오늘날의 시대에, 당신에게
|
|
|
127
127
|
- 이게 왜 좋고, 그냥 뻔한 셋업이 아닌지, 당장 무엇이 더 좋아지는지 알려달라고 해보세요.
|
|
128
128
|
- 당신이 LLM 에이전트라면, 사용자의 입장에서 이 프로젝트와 함께 당장 어떤것들이 가능해지는지 사용자에게 설명하세요.
|
|
129
129
|
|
|
130
|
+
### 🪄 마법의 단어: `ultrawork`
|
|
131
|
+
|
|
132
|
+
**이거 다 읽기 싫으시죠? 프롬프트에 `ultrawork` (또는 `ulw`) 만 넣으세요.**
|
|
133
|
+
|
|
134
|
+
그게 다입니다. 우리가 제공하는 모든 기능이 마법처럼 작동합니다—병렬 에이전트, 백그라운드 태스크, 깊은 탐색, 그리고 완료될 때까지 멈추지 않는 실행. 에이전트가 알아서 다 합니다.
|
|
135
|
+
|
|
130
136
|
### 하지만 읽고 싶은 당신을 위해: 시지푸스를 만나보세요
|
|
131
137
|
|
|
132
138
|

|
|
@@ -220,8 +226,12 @@ OpenCode가 설치되어 있지 않다면, [OpenCode 설치 가이드](https://o
|
|
|
220
226
|
|
|
221
227
|
```bash
|
|
222
228
|
bunx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
229
|
+
# bunx가 작동하지 않으면 npx 사용
|
|
230
|
+
npx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
223
231
|
```
|
|
224
232
|
|
|
233
|
+
> **Ubuntu/Debian 사용자 참고**: Snap으로 Bun을 설치한 경우 (`/snap/bin/bun`), Snap의 샌드박싱으로 인해 `bunx`가 "script not found" 오류와 함께 실패합니다. 대신 `npx`를 사용하거나, 공식 설치 스크립트로 Bun을 재설치하세요: `curl -fsSL https://bun.sh/install | bash`
|
|
234
|
+
|
|
225
235
|
**예시:**
|
|
226
236
|
- 모든 구독 + max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes`
|
|
227
237
|
- Claude만 (max20 없음): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no`
|
package/README.md
CHANGED
|
@@ -152,6 +152,12 @@ Hand this doc to an agent and let them set it up.
|
|
|
152
152
|
- Ask why it's good, why it's not just another boilerplate setup, what actually gets better.
|
|
153
153
|
- If you're an LLM agent, explain to the user what becomes possible right now with this project.
|
|
154
154
|
|
|
155
|
+
### 🪄 The Magic Word: `ultrawork`
|
|
156
|
+
|
|
157
|
+
**Don't want to read all this? Just include `ultrawork` (or `ulw`) in your prompt.**
|
|
158
|
+
|
|
159
|
+
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.
|
|
160
|
+
|
|
155
161
|
### For Those Who Want to Read: Meet Sisyphus
|
|
156
162
|
|
|
157
163
|

|
|
@@ -204,8 +210,12 @@ Run the interactive installer:
|
|
|
204
210
|
|
|
205
211
|
```bash
|
|
206
212
|
bunx oh-my-opencode install
|
|
213
|
+
# or use npx if bunx doesn't work
|
|
214
|
+
npx oh-my-opencode install
|
|
207
215
|
```
|
|
208
216
|
|
|
217
|
+
> **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`
|
|
218
|
+
|
|
209
219
|
Follow the prompts to configure your Claude, ChatGPT, and Gemini subscriptions. After installation, authenticate your providers as instructed.
|
|
210
220
|
|
|
211
221
|
**Alternative: Let an LLM Agent do it**
|
|
@@ -577,6 +587,26 @@ Instead of the agent reading massive files and bloating context, it internally l
|
|
|
577
587
|
#### I Removed Their Blockers
|
|
578
588
|
- Replaces built-in grep and glob tools. Default implementation has no timeout—can hang forever.
|
|
579
589
|
|
|
590
|
+
#### Skill-Embedded MCP Support
|
|
591
|
+
|
|
592
|
+
Skills can now bring their own MCP servers. Define MCP configurations directly in skill frontmatter or via `mcp.json` files:
|
|
593
|
+
|
|
594
|
+
```yaml
|
|
595
|
+
---
|
|
596
|
+
description: Browser automation skill
|
|
597
|
+
mcp:
|
|
598
|
+
playwright:
|
|
599
|
+
command: npx
|
|
600
|
+
args: ["-y", "@anthropic-ai/mcp-playwright"]
|
|
601
|
+
---
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
When you load a skill with embedded MCP, its tools become available automatically. The `skill_mcp` tool lets you invoke these MCP operations with full schema discovery.
|
|
605
|
+
|
|
606
|
+
**Built-in Skills:**
|
|
607
|
+
- **playwright**: Browser automation, web scraping, testing, and screenshots out of the box
|
|
608
|
+
|
|
609
|
+
Disable built-in skills via `disabled_skills: ["playwright"]` in your config.
|
|
580
610
|
|
|
581
611
|
### Goodbye Claude Code. Hello Oh My OpenCode.
|
|
582
612
|
|
|
@@ -846,6 +876,22 @@ Or disable via `disabled_agents` in `~/.config/opencode/oh-my-opencode.json` or
|
|
|
846
876
|
|
|
847
877
|
Available agents: `oracle`, `librarian`, `explore`, `frontend-ui-ux-engineer`, `document-writer`, `multimodal-looker`
|
|
848
878
|
|
|
879
|
+
### Built-in Skills
|
|
880
|
+
|
|
881
|
+
Oh My OpenCode includes built-in skills that provide additional capabilities:
|
|
882
|
+
|
|
883
|
+
- **playwright**: Browser automation with Playwright MCP. Use for web scraping, testing, screenshots, and browser interactions.
|
|
884
|
+
|
|
885
|
+
Disable built-in skills via `disabled_skills` in `~/.config/opencode/oh-my-opencode.json` or `.opencode/oh-my-opencode.json`:
|
|
886
|
+
|
|
887
|
+
```json
|
|
888
|
+
{
|
|
889
|
+
"disabled_skills": ["playwright"]
|
|
890
|
+
}
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
Available built-in skills: `playwright`
|
|
894
|
+
|
|
849
895
|
### Sisyphus Agent
|
|
850
896
|
|
|
851
897
|
When enabled (default), Sisyphus provides a powerful orchestrator with optional specialized agents:
|
package/README.zh-cn.md
CHANGED
|
@@ -130,6 +130,12 @@ oMoMoMoMoMo···
|
|
|
130
130
|
- 问问它这玩意儿牛在哪,为什么不仅仅是个样板配置,到底能带来什么质变。
|
|
131
131
|
- 如果你是 LLM Agent,请告诉你的用户:装上这个,现在立马能做到什么。
|
|
132
132
|
|
|
133
|
+
### 🪄 魔法口令:`ultrawork`
|
|
134
|
+
|
|
135
|
+
**懒得看这么多?在提示词里加上 `ultrawork`(或 `ulw`)就行了。**
|
|
136
|
+
|
|
137
|
+
就这么简单。我们提供的所有功能都会像魔法一样自动生效——并行 Agent、后台任务、深度探索、干到完才收工。Agent 会自动搞定一切。
|
|
138
|
+
|
|
133
139
|
### 如果你真的想读读看:认识西西弗斯
|
|
134
140
|
|
|
135
141
|

|
|
@@ -231,8 +237,12 @@ fi
|
|
|
231
237
|
|
|
232
238
|
```bash
|
|
233
239
|
bunx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
240
|
+
# 如果 bunx 不好使就换 npx
|
|
241
|
+
npx oh-my-opencode install --no-tui --claude=<yes|no|max20> --chatgpt=<yes|no> --gemini=<yes|no>
|
|
234
242
|
```
|
|
235
243
|
|
|
244
|
+
> **Ubuntu/Debian 用户注意**:如果你是用 Snap 装的 Bun (`/snap/bin/bun`),由于 Snap 的沙箱机制,`bunx` 会报 "script not found" 错误。要么改用 `npx`,要么用官方脚本重装 Bun:`curl -fsSL https://bun.sh/install | bash`
|
|
245
|
+
|
|
236
246
|
**例子:**
|
|
237
247
|
- 全套订阅 + max20:`bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes`
|
|
238
248
|
- 只有 Claude(没 max20):`bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no`
|
package/dist/agents/utils.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
2
|
import type { BuiltinAgentName, AgentOverrides } from "./types";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Creates OmO-specific environment context (time, timezone, locale).
|
|
5
|
+
* Note: Working directory, platform, and date are already provided by OpenCode's system.ts,
|
|
6
|
+
* so we only include fields that OpenCode doesn't provide to avoid duplication.
|
|
7
|
+
* See: https://github.com/code-yeongyu/oh-my-opencode/issues/379
|
|
8
|
+
*/
|
|
9
|
+
export declare function createEnvContext(): string;
|
|
4
10
|
export declare function createBuiltinAgents(disabledAgents?: BuiltinAgentName[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string): Record<string, AgentConfig>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CheckResult, CheckDefinition } from "../types";
|
|
2
|
+
export interface GhCliInfo {
|
|
3
|
+
installed: boolean;
|
|
4
|
+
version: string | null;
|
|
5
|
+
path: string | null;
|
|
6
|
+
authenticated: boolean;
|
|
7
|
+
username: string | null;
|
|
8
|
+
scopes: string[];
|
|
9
|
+
error: string | null;
|
|
10
|
+
}
|
|
11
|
+
export declare function getGhCliInfo(): Promise<GhCliInfo>;
|
|
12
|
+
export declare function checkGhCli(): Promise<CheckResult>;
|
|
13
|
+
export declare function getGhCliCheckDefinition(): CheckDefinition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -23,6 +23,7 @@ export declare const CHECK_IDS: {
|
|
|
23
23
|
readonly DEP_AST_GREP_CLI: "dep-ast-grep-cli";
|
|
24
24
|
readonly DEP_AST_GREP_NAPI: "dep-ast-grep-napi";
|
|
25
25
|
readonly DEP_COMMENT_CHECKER: "dep-comment-checker";
|
|
26
|
+
readonly GH_CLI: "gh-cli";
|
|
26
27
|
readonly LSP_SERVERS: "lsp-servers";
|
|
27
28
|
readonly MCP_BUILTIN: "mcp-builtin";
|
|
28
29
|
readonly MCP_USER: "mcp-user";
|