Skip to content

Commit 8ae6a0e

Browse files
committed
Clarify feature installation and model setup questions
1 parent ea2bcfe commit 8ae6a0e

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ The package is installed from source; publishing to npm is unnecessary.
2525

2626
Run these steps on the machine that will run OpenCode 2. You do not need a target
2727
project yet. `$HOME` expands to your user's absolute home directory.
28+
To test the new features on a fresh machine, use the feature-branch clone command
29+
under [feature-branch testing](#switch-to-the-feature-branch-for-testing) instead
30+
of step 1 below.
2831

2932
1. Clone and build the plugin:
3033

@@ -66,8 +69,9 @@ Authenticate first with `gh auth login` and `gh auth setup-git` if needed.
6669
node "$HOME/opencode2-github-automation/dist/setup.js" init
6770
```
6871

69-
Each prompt shows a default in brackets. Press Enter to accept it or type
70-
another value. The wizard asks for the main model and capabilities, a vision
72+
Prompts with defaults show them in brackets. Press Enter to accept a default
73+
or type another value; prompts marked `(required)` need an answer.
74+
The wizard asks for the main model and capabilities, a vision
7175
helper if needed, base branch, trigger, signature, allowed authors,
7276
polling interval, automatic merging, merge method, and test command.
7377
Do not add `--local`.
@@ -82,6 +86,15 @@ Authenticate first with `gh auth login` and `gh auth setup-git` if needed.
8286
Enter accepts detected tests; type `skip` to disable them. Complex test commands
8387
can be entered as JSON argument arrays, e.g. `["npm", "run", "test:unit"]`.
8488

89+
Model questions in the interactive wizard:
90+
91+
| Question | What to enter |
92+
| --- | --- |
93+
| `OpenCode 2 model (provider/model)` | Accept the detected model, or enter an installed model ID. Required if detection fails. |
94+
| `Main model capabilities (comma-separated: text,vision,audio)` | Defaults to `text`. Enter `text,vision` if the main model supports images. |
95+
| `Vision helper model (provider/model)` | Asked when the main model lacks vision. Enter an installed vision model ID; there is no default. |
96+
| `Helper model capabilities` | Defaults to `text,vision`; add `audio` only if supported. Asked after the vision helper model. |
97+
8598
2. Review `/absolute/path/to/your-project/.opencode/automation.json`.
8699
To allow a colleague to request work, add their GitHub login to `authors`:
87100

@@ -158,7 +171,17 @@ uninstalling, use the name of the directory you originally created.
158171

159172
### Switch to the feature branch for testing
160173

161-
Replace update step 1 with:
174+
For a **fresh installation**, replace install step 1 with:
175+
176+
```bash
177+
git clone --branch codex/issue-dialogue-capabilities https://github.com/d3cker/opencode2-github-automation.git "$HOME/opencode2-github-automation"
178+
cd "$HOME/opencode2-github-automation"
179+
npm ci && npm run build
180+
```
181+
182+
Then complete install steps 2 and 3, and configure a project when ready.
183+
184+
For an **existing installation**, replace update step 1 with:
162185

163186
```bash
164187
cd "$HOME/opencode2-github-automation"

0 commit comments

Comments
 (0)