From d929184c1efdbc026f82fd237462b81329a4be41 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Mon, 19 Jan 2026 13:43:25 +0900 Subject: [PATCH] docs: sync installation guides across language READMEs - Add GitHub Copilot subscription question to Step 0 - Add --copilot flag to CLI examples - Change 'WE ALL COVER THEM' to 'OPENCODE COVERS THEM ALL' - Add 'For Humans' section with bunx/npx commands to Japanese README --- README.ja.md | 43 +++++++++++++++++++++++++++++++++---------- README.md | 18 +++++++++++------- README.zh-cn.md | 15 ++++++++++----- 3 files changed, 54 insertions(+), 22 deletions(-) diff --git a/README.ja.md b/README.ja.md index 084b1083e..17cff614d 100644 --- a/README.ja.md +++ b/README.ja.md @@ -145,7 +145,7 @@ oMoMoMoMoMo··· [Claude Code](https://www.claude.com/product/claude-code) は素晴らしいですよね。 でも、もしあなたがハッカーなら、[OpenCode](https://github.com/sst/opencode) と恋に落ちることになるでしょう。 -**今すぐ始めましょう。ChatGPT、Claude、Gemini のサブスクリプションですぐに使えます。** +**今すぐ始めましょう。ChatGPT、Claude、Gemini のサブスクリプション、OpenCode がすべてサポートしています。** - 無限に拡張可能で、無限にカスタマイズ可能です。 - 画面のチラつき(フリッカー)がありません。 @@ -226,7 +226,29 @@ Windows から Linux に初めて乗り換えた時のこと、自分の思い ### 人間の方へ -面倒な作業は LLM エージェントに任せましょう。このリンクをコピーして貼り付け、インストールと設定をお願いしてください。 +インタラクティブインストーラーを実行してください: + +```bash +bunx oh-my-opencode install # 推奨 +npx oh-my-opencode install # 代替 +``` + +> **注意**: CLI はすべての主要プラットフォーム向けのスタンドアロンバイナリを同梱しています。インストール後の CLI 実行にはランタイム (Bun/Node.js) は不要です。 +> +> **対応プラットフォーム**: macOS (ARM64, x64), Linux (x64, ARM64, Alpine/musl), Windows (x64) + +プロンプトに従って、Claude、ChatGPT、Gemini のサブスクリプションを設定してください。インストール後、指示に従ってプロバイダーの認証を行ってください。 + +**代替方法: LLM エージェントに任せる** + +新しい opencode セッションに以下を貼り付けてください: +``` +Install and configure by following the instructions here https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/README.md +``` + +**代替方法: LLM エージェントに任せる** + +新しい opencode セッションに以下を貼り付けてください: ``` Install and configure by following the instructions here https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/README.md ``` @@ -241,7 +263,7 @@ Install and configure by following the instructions here https://raw.githubuserc ### ステップ 0: サブスクリプション情報を確認 -以下の 3 つの質問をして CLI オプションを決定してください: +以下の質問をして CLI オプションを決定してください: 1. **Claude Pro/Max のサブスクリプションをお持ちですか?** - **はい**: **max20 (20x モード) を使用していますか?** @@ -257,6 +279,10 @@ Install and configure by following the instructions here https://raw.githubuserc - **はい** → `--gemini=yes` - **いいえ** → `--gemini=no` +4. **GitHub Copilot のサブスクリプションをお持ちですか?** + - **はい** → `--copilot=yes` + - **いいえ** → `--copilot=no` + ### ステップ 1: OpenCode インストール確認 ```bash @@ -275,16 +301,13 @@ OpenCode がインストールされていない場合は、[OpenCode インス ユーザーの回答に基づいて、適切なフラグで CLI インストーラーを実行してください: ```bash -bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= -# bunx が動作しない場合は npx を使用 -npx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= +bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= --copilot= ``` -> **Ubuntu/Debian ユーザーへの注意**: Snap で Bun をインストールした場合 (`/snap/bin/bun`)、Snap のサンドボックス化により `bunx` が「script not found」エラーで失敗します。代わりに `npx` を使用するか、公式インストーラーで Bun を再インストールしてください: `curl -fsSL https://bun.sh/install | bash` - **例:** -- すべてのサブスクリプション + max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes` -- Claude のみ(max20 なし): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no` +- すべてのサブスクリプション + max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes --copilot=no` +- Claude のみ(max20 なし): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no --copilot=no` +- GitHub Copilot のみ: `bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes` - サブスクリプションなし: `bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no` CLI が行うこと: diff --git a/README.md b/README.md index 4a1be062d..57578684c 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ Meet Sisyphus: The Batteries-Included Agent that codes like you. [Claude Code](https://www.claude.com/product/claude-code) is great. But if you're a hacker, you'll fall head over heels for [OpenCode](https://github.com/sst/opencode). -**START WITH YOUR ChatGPT, Claude, Gemini SUBSCRIPTIONS. WE ALL COVER THEM.** +**START WITH YOUR ChatGPT, Claude, Gemini SUBSCRIPTIONS. OPENCODE COVERS THEM ALL.** - Endlessly extensible. Endlessly customizable. - Zero screen flicker. @@ -248,9 +248,8 @@ If you don't want all this, as mentioned, you can just pick and choose specific Run the interactive installer: ```bash -npx oh-my-opencode install -# or with bun -bunx oh-my-opencode install +bunx oh-my-opencode install # recommended +npx oh-my-opencode install # alternative ``` > **Note**: The CLI ships with standalone binaries for all major platforms. No runtime (Bun/Node.js) is required for CLI execution after installation. @@ -293,6 +292,10 @@ Ask the user these 3 questions to determine CLI options: - If **yes** → `--gemini=yes` - If **no** → `--gemini=no` +4. **Do you have a GitHub Copilot Subscription?** + - If **yes** → `--copilot=yes` + - If **no** → `--copilot=no` + ### Step 1: Install OpenCode (if not installed) ```bash @@ -312,12 +315,13 @@ Spawn a subagent to handle installation and report back - to save context. Based on user's answers, run the CLI installer with appropriate flags: ```bash -bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= +bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= --copilot= ``` **Examples:** -- User has all subscriptions with max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes` -- User has only Claude (no max20): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no` +- User has all subscriptions with max20: `bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes --copilot=no` +- User has only Claude (no max20): `bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no --copilot=no` +- User has only GitHub Copilot: `bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes` - User has no subscriptions: `bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no` The CLI will: diff --git a/README.zh-cn.md b/README.zh-cn.md index 3f1d4dfd0..633d4ba5d 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -149,7 +149,7 @@ [Claude Code](https://www.claude.com/product/claude-code) 很棒。 但如果你是一个极客,你会对 [OpenCode](https://github.com/sst/opencode) 一见钟情。 -**从你的 ChatGPT、Claude、Gemini 订阅开始。我们全部支持。** +**从你的 ChatGPT、Claude、Gemini 订阅开始。OpenCode 全部支持。** - 无限可扩展。无限可定制。 - 零屏幕闪烁。 @@ -272,7 +272,7 @@ npx oh-my-opencode install ### 步骤 0:询问用户订阅情况 -向用户询问这 3 个问题以确定 CLI 选项: +向用户询问以下问题以确定 CLI 选项: 1. **你有 Claude Pro/Max 订阅吗?** - 如果 **是**:**你是否在 max20(20x 模式)?** @@ -288,6 +288,10 @@ npx oh-my-opencode install - 如果 **是** → `--gemini=yes` - 如果 **否** → `--gemini=no` +4. **你有 GitHub Copilot 订阅吗?** + - 如果 **是** → `--copilot=yes` + - 如果 **否** → `--copilot=no` + ### 步骤 1:安装 OpenCode(如未安装) ```bash @@ -307,12 +311,13 @@ fi 根据用户的回答,使用适当的标志运行 CLI 安装程序: ```bash -bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= +bunx oh-my-opencode install --no-tui --claude= --chatgpt= --gemini= --copilot= ``` **示例:** -- 用户拥有所有订阅且有 max20:`bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes` -- 用户只有 Claude(无 max20):`bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no` +- 用户拥有所有订阅且有 max20:`bunx oh-my-opencode install --no-tui --claude=max20 --chatgpt=yes --gemini=yes --copilot=no` +- 用户只有 Claude(无 max20):`bunx oh-my-opencode install --no-tui --claude=yes --chatgpt=no --gemini=no --copilot=no` +- 用户只有 GitHub Copilot:`bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes` - 用户没有订阅:`bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no` CLI 将会: