@edgehero/pi-dispatch-admin 0.5.0 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgehero/pi-dispatch-admin",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Operator console (a pi extension) + skill for pi-dispatch: run the pi coding agent as a self-hosted service. A /dispatch TUI for the queue, spend caps, run history, editable GitHub, GitLab, Forgejo and Azure DevOps triggers (cron/label/comment/PR/MR/work item), and scheduled pause windows — plus AI-operable, human-confirmed controls. Runs against a live pi-dispatch deployment.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -128,9 +128,14 @@ trigger is the same — the `on.type`, the `{any, all, none}` label predicate, `
128
128
  Two things are NOT the same, and both refuse at load rather than misbehaving quietly:
129
129
 
130
130
  - **`pull_request` actions are the forge's own words.** GitHub takes
131
- `labeled | opened | synchronize | reopened`; GitLab takes `open | update | reopen | approved`. A word
131
+ `labeled | opened | synchronize | reopened | review_submitted`; GitLab takes
132
+ `open | update | reopen | approved`. A word
132
133
  from the wrong forge is refused when the file is written. It would not break anything otherwise — it
133
134
  would simply never match an event, and the trigger would look configured while doing nothing.
135
+ `review_submitted` is GitHub's `pull_request_review` event: it fires on **every** submitted review, so
136
+ add `reviewState` (`approved | changes_requested | commented`) to narrow which verdicts are worth paying
137
+ for. That field is github-only and legal only beside `review_submitted`; anywhere else it refuses at
138
+ load, because a narrowing that cannot apply reads as one that does.
134
139
  - **One `comment` trigger per forge.** Two GitHub comment triggers are refused; one GitHub and one GitLab
135
140
  are fine.
136
141