22
33A scheduler and GitHub dispatcher in one package, built for ** OpenCode 2** .
44
5- ` @d3ckerbot ` in an issue → acknowledgement and plan → implementation → verification → pull request.
5+ ` @opencodebot ` in an issue → acknowledgement and plan → implementation → verification → pull request.
66
77The model chooses each new PR title from the issue and completed-work summary.
88There is no fixed ` Fix ` prefix. The chosen title is saved before publication and
@@ -37,9 +37,9 @@ project yet. `$HOME` expands to your user's absolute home directory.
37372 . Register the plugin and its terminal UI:
3838
3939 ``` bash
40- mkdir -p " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/d3ckerbot "
41- printf ' export { default } from "%s";\n' " $HOME /opencode2-github-automation/dist/index.js" > " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/d3ckerbot /index.js"
42- printf ' export { default } from "%s";\n' " $HOME /opencode2-github-automation/dist/tui.js" > " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/d3ckerbot /tui.js"
40+ mkdir -p " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/opencode-automation "
41+ printf ' export { default } from "%s";\n' " $HOME /opencode2-github-automation/dist/index.js" > " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/opencode-automation /index.js"
42+ printf ' export { default } from "%s";\n' " $HOME /opencode2-github-automation/dist/tui.js" > " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/opencode-automation /tui.js"
4343 ```
4444
4545 Run this registration once; do not overwrite customized loaders.
@@ -66,17 +66,26 @@ Authenticate first with `gh auth login` and `gh auth setup-git` if needed.
6666 node " $HOME /opencode2-github-automation/dist/setup.js" init
6767 ```
6868
69- Enter your OpenCode 2 model (` provider/model ` ). If asked for tests, enter the
70- project's test command or press Enter to skip. Do not add ` --local ` .
69+ Each prompt shows a default in brackets. Press Enter to accept it or type
70+ another value. The wizard asks for model, trigger, signature, allowed authors,
71+ polling interval, automatic merging, merge method, and test command.
72+ Do not add ` --local ` .
73+
74+ Defaults: the detected OpenCode model, ` @opencodebot ` , your GitHub login with
75+ ` [OpenCode2] ` , your GitHub login as the allowed author, 60 seconds, automatic
76+ merging enabled, squash, and detected tests (or ` skip ` if none are found).
77+ If no model can be detected from the running service, enter ` provider/model ` .
78+ Enter accepts detected tests; type ` skip ` to disable them. Complex test commands
79+ can be entered as JSON argument arrays, e.g. ` ["npm", "run", "test:unit"] ` .
7180
72812 . Review ` /absolute/path/to/your-project/.opencode/automation.json ` .
7382 To allow a colleague to request work, add their GitHub login to ` authors ` :
7483
7584 ``` json
7685 {
7786 "model" : " local/deepseek" ,
78- "signature" : " d3cker [OpenCode2]" ,
79- "authors" : [" d3cker " , " COLLEAGUE_LOGIN" ],
87+ "signature" : " YOUR_LOGIN [OpenCode2]" ,
88+ "authors" : [" YOUR_LOGIN " , " COLLEAGUE_LOGIN" ],
8089 "autoMerge" : {
8190 "enabled" : true ,
8291 "method" : " squash"
@@ -96,7 +105,7 @@ Authenticate first with `gh auth login` and `gh auth setup-git` if needed.
96105 opencode2 /absolute/path/to/your-project
97106 ```
98107
99- Create an issue containing ` @d3ckerbot ` . The bot checks once a minute; ` /bot `
108+ Create an issue containing ` @opencodebot ` . The bot checks once a minute; ` /bot `
100109shows progress. Existing matching issues may also be picked up.
101110
102111** Code is global; configuration is per project.** Only repositories containing
@@ -130,19 +139,31 @@ to finish first.
130139Reopen the terminal client if the update changes the UI. Project configuration
131140and queues remain in place. Do not repeat global registration or run ` init ` again.
132141
142+ ### Changes in this version
143+
144+ The default trigger is now ` @opencodebot ` . Existing explicit ` trigger ` , ` signature ` ,
145+ and ` authors ` settings are preserved. If an older configuration omitted ` trigger ` ,
146+ set it explicitly before upgrading to retain the old mention (for example,
147+ ` "trigger": "@your-existing-bot" ` ). The built-in merge phrases are now English;
148+ custom phrases can still be configured in any language.
149+
150+ Existing global loader directories may be named ` d3ckerbot ` . Keep those loaders
151+ when updating; do not register a second copy under ` opencode-automation ` . When
152+ uninstalling, use the name of the directory you originally created.
153+
133154### Switch to the feature branch for testing
134155
135156Replace update step 1 with:
136157
137158``` bash
138159cd " $HOME /opencode2-github-automation"
139160git fetch origin
140- git switch codex/pr-approval-merge-signatures
161+ git switch codex/english-setup-defaults
141162git pull --ff-only
142163```
143164
144165Then complete update steps 2 and 3. The approval and signature features described
145- below are available on this branch (` 0.4.0-beta.1 ` ).
166+ below are available on this branch (` 0.4.0-beta.2 ` ).
146167
147168## 4. Remove automation from one project
148169
@@ -177,7 +198,7 @@ For the global installation described above, wait for active work to finish.
1771981 . Remove only this plugin's two global loaders:
178199
179200 ``` bash
180- rm -i " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/d3ckerbot /index.js" " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/d3ckerbot /tui.js"
201+ rm -i " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/opencode-automation /index.js" " ${XDG_CONFIG_HOME:- $HOME / .config} /opencode/plugins/opencode-automation /tui.js"
181202 ```
182203
1832042 . Restart the service:
@@ -242,7 +263,7 @@ Use a model available in your own OpenCode 2 installation. Optional fields:
242263
243264| Field | Purpose |
244265| --- | --- |
245- | ` trigger ` | Mention that starts work; defaults to ` @d3ckerbot ` . |
266+ | ` trigger ` | Mention that starts work; defaults to ` @opencodebot ` . |
246267| ` everySeconds ` | Polling interval; defaults to 60 seconds. |
247268| ` check ` | Test command as an argument array, such as ` ["npm", "test"] ` ; ` false ` skips tests. |
248269| ` authors ` | GitHub usernames allowed to request work and authorize merging (merge also requires repository write access). |
@@ -253,11 +274,12 @@ When tests are skipped, the PR explicitly reports that automated tests were not
253274run. Git consistency checks and the requirement for an actual change remain.
254275Restart the service while idle after changing configuration.
255276
256- For noninteractive setup:
277+ For noninteractive setup, use ` --yes ` to accept defaults for omitted options.
278+ Provide the model and a test command (or explicitly skip tests):
257279
258280``` bash
259281cd /absolute/path/to/your-project
260- node " $HOME /opencode2-github-automation/dist/setup.js" init --model provider/model --skip-tests
282+ node " $HOME /opencode2-github-automation/dist/setup.js" init --model provider/model --skip-tests --yes
261283```
262284
263285## Automatic merge and message signatures
@@ -268,11 +290,11 @@ Example project configuration:
268290{
269291 "model" : " provider/model" ,
270292 "check" : false ,
271- "signature" : " d3cker [OpenCode2]" ,
293+ "signature" : " YOUR_LOGIN [OpenCode2]" ,
272294 "autoMerge" : {
273295 "enabled" : true ,
274296 "method" : " squash" ,
275- "comments" : [" /merge" , " lgtm, merge" , " jest git, możesz mergować " , " jest git, można mergować " ]
297+ "comments" : [" /merge" , " lgtm, merge" , " approved, merge " ]
276298 }
277299}
278300```
@@ -355,7 +377,7 @@ npm pack
355377installation archive. Build artifacts, dependencies, and local credentials are
356378excluded from the source repository.
357379
358- Additional documentation (currently in Polish) :
380+ Additional documentation:
359381
360382- [ Moving the source and installing on another machine] ( docs/installation.md )
361383- [ Advanced configuration, retries, permissions, and separate plugins] ( docs/advanced.md )
0 commit comments