opencode-forgekeeper 6.7.0 → 6.8.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.md +23 -10
- package/dist/gui-experimental.cjs +24 -24
- package/dist/index.js +2918 -2780
- package/dist/tui.js +20 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ A session can track several PRs/MRs across repositories.
|
|
|
11
11
|
|
|
12
12
|
Notification wording has changed since this capture.
|
|
13
13
|
|
|
14
|
+

|
|
15
|
+
|
|
14
16
|
## Installation
|
|
15
17
|
|
|
16
18
|
Requires OpenCode 2.3 or later, plus an authenticated [`gh`](https://cli.github.com/) for GitHub
|
|
@@ -42,7 +44,8 @@ Your own title text is preserved.
|
|
|
42
44
|
Run `/forge-detach` to clear all explicit targets without a model call. To remove only specific
|
|
43
45
|
targets, pass their full URLs separated by spaces. Removing the last target clears the
|
|
44
46
|
Forgekeeper title prefix and PR/MR status. The agent can also clear all targets with
|
|
45
|
-
`set_session_target({ target: "none" })
|
|
47
|
+
`set_session_target({ target: "none" })`, or drop the ones that merged or closed with
|
|
48
|
+
`set_session_target({ operation: "prune" })`. Child sessions aren't renamed.
|
|
46
49
|
|
|
47
50
|
See the reference for [target rules](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#session-targets).
|
|
48
51
|
|
|
@@ -70,6 +73,8 @@ Forgekeeper shows an inline reminder in the session and offers **Clean up sessio
|
|
|
70
73
|
status dialog and panel. Issue-only sessions check their issue status when opened, after a turn
|
|
71
74
|
ends, when targets change, or on manual refresh.
|
|
72
75
|
|
|
76
|
+

|
|
77
|
+
|
|
73
78
|
In OpenCode Desktop, a pill above the composer shows the same status, and the commands
|
|
74
79
|
above open side panels for the status and the inbox. Server notices appear as toasts and
|
|
75
80
|
system notifications.
|
|
@@ -119,7 +124,8 @@ To enable monitoring and summarize lifecycle updates automatically:
|
|
|
119
124
|
Each delivery option accepts:
|
|
120
125
|
|
|
121
126
|
- `inbox` (default): retain the update without posting to the session.
|
|
122
|
-
- `passive`: give the assistant a digest of unread updates when you send a prompt. Ask which
|
|
127
|
+
- `passive`: give the assistant a digest of unread updates when you send a prompt. Ask which
|
|
128
|
+
tracked requests have feedback, or keep working without an interruption.
|
|
123
129
|
- `summary`: start a restricted summary turn after active work finishes. Review updates without
|
|
124
130
|
comments use the passive digest instead.
|
|
125
131
|
|
|
@@ -148,6 +154,8 @@ turn uses the session's instructions and permissions, and leaves changes uncommi
|
|
|
148
154
|
`/forge-feedback`, **Act on feedback** (Ctrl+A) starts the same turn on request, and **Retry
|
|
149
155
|
feedback work** (Ctrl+T) retries one after you inspect it.
|
|
150
156
|
|
|
157
|
+

|
|
158
|
+
|
|
151
159
|
A `job-failed` rule investigates failed jobs on matching projects instead. Once a pipeline's
|
|
152
160
|
failures go quiet for four minutes, or the pipeline finishes, one turn reads the failed jobs'
|
|
153
161
|
logs and reports each failure's cause and a recommended fix, without changing anything. It runs
|
|
@@ -155,6 +163,8 @@ on PRs/MRs you wrote or review, or that an account in the rule's `authors` wrote
|
|
|
155
163
|
checkout at the head commit the pipeline tested. See
|
|
156
164
|
[Investigate failed jobs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#investigate-failed-jobs).
|
|
157
165
|
|
|
166
|
+

|
|
167
|
+
|
|
158
168
|
A session that tracks several PRs/MRs is on at most one of their branches. With
|
|
159
169
|
`"execution": "environment"` on a rule, a batch whose checkout is elsewhere runs through the
|
|
160
170
|
environment provider. The current local provider runs a linked session in a worktree at the
|
|
@@ -166,8 +176,9 @@ be lost. See
|
|
|
166
176
|
See [review detection and summaries](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications),
|
|
167
177
|
[review requests](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-requests),
|
|
168
178
|
[monitoring eligibility](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#which-sessions-the-server-watches),
|
|
169
|
-
[stacked PRs/MRs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#stacked-prsmrs),
|
|
170
|
-
[preparing fixes](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback)
|
|
179
|
+
[stacked PRs/MRs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#stacked-prsmrs),
|
|
180
|
+
and [preparing fixes](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback)
|
|
181
|
+
for details.
|
|
171
182
|
|
|
172
183
|
## Options
|
|
173
184
|
|
|
@@ -194,8 +205,9 @@ Only specify values you want to change. The terminal part has no separate option
|
|
|
194
205
|
| `automation.rules` | No rules | Reviewers whose feedback starts a coding turn that prepares fixes (when the checkout matches or an environment is enabled), and whose explicit non-human approvals start a restricted owning-session follow-up (even on another branch) with `forgekeeper_approval_status` and `forgekeeper_mark_ready` — for example, to honor a session instruction such as "mark this draft MR ready once Duo approves and CI is green" — or projects whose failed jobs start an investigation, optionally limited to allowed models. Set `"execution": "environment"` to permit the configured environment provider when the owning checkout doesn't match. |
|
|
195
206
|
| `automation.modelGroups` | No groups | Named lists of `provider/model` IDs that rules reference in `allowedModelGroup`. |
|
|
196
207
|
|
|
197
|
-
See the [configuration reference](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#options)
|
|
198
|
-
[review-bot configuration](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications)
|
|
208
|
+
See the [configuration reference](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#options)
|
|
209
|
+
for validation behavior and [review-bot configuration](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications)
|
|
210
|
+
for account matching.
|
|
199
211
|
|
|
200
212
|
## Security and privacy
|
|
201
213
|
|
|
@@ -220,8 +232,9 @@ The inbox stores identifiers, links, and timestamps locally, not comment bodies
|
|
|
220
232
|
Summary records temporarily retain review text in plugin storage. This is not OS-level
|
|
221
233
|
isolation, and the implementation has not received AppSec approval.
|
|
222
234
|
|
|
223
|
-
See the [security boundary](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#monitoring-security-boundary)
|
|
224
|
-
[summary restrictions](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#summary-turns)
|
|
235
|
+
See the [security boundary](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#monitoring-security-boundary)
|
|
236
|
+
and [summary restrictions](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#summary-turns)
|
|
237
|
+
for limits and retention details.
|
|
225
238
|
|
|
226
239
|
## Upgrading
|
|
227
240
|
|
|
@@ -242,8 +255,8 @@ mise run lint
|
|
|
242
255
|
mise run build forgekeeper
|
|
243
256
|
```
|
|
244
257
|
|
|
245
|
-
The reference includes the [RPC API](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#rpc)
|
|
246
|
-
[code layout](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#code-layout).
|
|
258
|
+
The reference includes the [RPC API](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#rpc)
|
|
259
|
+
and [code layout](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#code-layout).
|
|
247
260
|
|
|
248
261
|
## License
|
|
249
262
|
|