From 23cb5ece6fbc8d2762ec8a20522501c95c3027ef Mon Sep 17 00:00:00 2001 From: masteryi-0018 <1536474741@qq.com> Date: Tue, 20 Jan 2026 19:21:10 +0800 Subject: [PATCH] docs: remove unsupported --chatgpt installer flag and update workflow --- .github/workflows/sisyphus-agent.yml | 2 +- docs/guide/installation.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/sisyphus-agent.yml b/.github/workflows/sisyphus-agent.yml index 82a9bdfc26..2769b3bc3e 100644 --- a/.github/workflows/sisyphus-agent.yml +++ b/.github/workflows/sisyphus-agent.yml @@ -103,7 +103,7 @@ jobs: opencode --version # Run local oh-my-opencode install (uses built dist) - bun run dist/cli/index.js install --no-tui --claude=max20 --chatgpt=no --gemini=no --copilot=no + bun run dist/cli/index.js install --no-tui --claude=max20 --gemini=no --copilot=no # Override plugin to use local file reference OPENCODE_JSON=~/.config/opencode/opencode.json diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 23e2a5f90b..67b416cc31 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -42,8 +42,8 @@ Ask the user these 3 questions to determine CLI options: - If **no** → `--claude=no` 2. **Do you have a ChatGPT Subscription?** - - If **yes** → `--chatgpt=yes` - - If **no** → `--chatgpt=no` + - Note: ChatGPT/OpenAI is configured via OpenCode's authentication flow (use `opencode auth login`). + There is no `--chatgpt` CLI flag for the installer; authenticate OpenAI after installation. 3. **Will you integrate Gemini models?** - If **yes** → `--gemini=yes` @@ -74,14 +74,14 @@ 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= --copilot= +bunx oh-my-opencode install --no-tui --claude= --gemini= --copilot= ``` **Examples:** -- 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` +- User has all subscriptions with max20: `bunx oh-my-opencode install --no-tui --claude=max20 --gemini=yes --copilot=no` +- User has only Claude (no max20): `bunx oh-my-opencode install --no-tui --claude=yes --gemini=no --copilot=no` +- User has only GitHub Copilot: `bunx oh-my-opencode install --no-tui --claude=no --gemini=no --copilot=yes` +- User has no subscriptions: `bunx oh-my-opencode install --no-tui --claude=no --gemini=no` The CLI will: - Register the plugin in `opencode.json` @@ -188,7 +188,7 @@ bunx oh-my-opencode install Or use non-interactive mode: ```bash -bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes +bunx oh-my-opencode install --no-tui --claude=no --gemini=no --copilot=yes ``` Then authenticate with GitHub: