@edgehero/pi-dispatch-admin 0.2.0 → 0.3.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 +10 -1
- package/dist/index.mjs +7 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -66,7 +66,16 @@ Then run pi and open `/dispatch`. Point it at your deployment with `VALKEY_URL`
|
|
|
66
66
|
|
|
67
67
|
## Get the whole thing
|
|
68
68
|
|
|
69
|
-
The
|
|
69
|
+
The service this console drives is a sibling install away — no clone needed:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
mkdir my-dispatch && cd my-dispatch
|
|
73
|
+
npx @edgehero/pi-dispatch up # consented setup pass: job image, Valkey, config scaffold, preflight
|
|
74
|
+
npx @edgehero/pi-dispatch worker # drain the queue (its own terminal, or `service install`)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
(`@edgehero/pi-dispatch` is the worker + CLI; `@edgehero/pi-dispatch-receiver` is the webhook edge for
|
|
78
|
+
forge triggers.) The container image, docs, specs, and SECURITY.md live in the main repo. **Start there:**
|
|
70
79
|
|
|
71
80
|
### → **https://github.com/edgehero/pi-dispatch**
|
|
72
81
|
|
package/dist/index.mjs
CHANGED
|
@@ -5220,9 +5220,13 @@ function resolvePaths(env = process.env) {
|
|
|
5220
5220
|
valkeyUrl: env.VALKEY_URL ?? "redis://127.0.0.1:6379",
|
|
5221
5221
|
logsDir: env.PI_LOGS_DIR || defaultLogsDir(),
|
|
5222
5222
|
settingsFile: settingsFilePath(env),
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5223
|
+
// Cwd defaults match what `pi-dispatch init` scaffolds (and, since issue #80, what the receiver
|
|
5224
|
+
// reads), so a deployment folder works without env wiring when pi is launched from it. The old
|
|
5225
|
+
// `deploy/…` defaults pointed at the repo's committed EXAMPLE files — right only from a checkout
|
|
5226
|
+
// root, and silently wrong (demo triggers) everywhere else.
|
|
5227
|
+
triggersPath: env.PI_TRIGGERS_FILE ?? "./triggers.json",
|
|
5228
|
+
pauseWindowsPath: env.PI_PAUSE_WINDOWS_FILE ?? "./pause-windows.json",
|
|
5229
|
+
subscriptionsPath: env.PI_SUBSCRIPTIONS_FILE ?? "./subscriptions.json",
|
|
5226
5230
|
// The operator's global pi overlay dir (REQ-GLOBAL-PI-OVERLAY), where the staged third-party pi
|
|
5227
5231
|
// packages live under `packages/`. `|| null` so unset AND empty both read as "no overlay" -- the
|
|
5228
5232
|
// normal deployment, in which no trigger can arm any package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgehero/pi-dispatch-admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@earendil-works/pi-coding-agent": "0.80.7",
|
|
61
|
-
"@pi-dispatch
|
|
61
|
+
"@edgehero/pi-dispatch": "*",
|
|
62
62
|
"esbuild": "^0.28.1",
|
|
63
63
|
"typebox": "1.1.38"
|
|
64
64
|
}
|