@edgehero/pi-dispatch-admin 0.1.5 → 0.2.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 +8 -3
- package/dist/index.mjs +21244 -309
- package/package.json +2 -2
- package/skills/operate-pi-dispatch/SKILL.md +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgehero/pi-dispatch-admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"skills": [
|
|
43
43
|
"./skills"
|
|
44
44
|
],
|
|
45
|
-
"image": "https://raw.githubusercontent.com/edgehero/pi-dispatch/main/docs/images/banner.png?v=0.
|
|
45
|
+
"image": "https://raw.githubusercontent.com/edgehero/pi-dispatch/main/docs/images/banner.png?v=0.5.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "node build.mjs",
|
|
@@ -14,6 +14,13 @@ configuration and are gated behind a human confirmation.
|
|
|
14
14
|
Observe (no approval needed):
|
|
15
15
|
- `dispatch_status` — queue/worker state, today's budget, settings overlay, schedulers.
|
|
16
16
|
- `dispatch_runs` — recent run records (PII-free). Raw job logs are never available to tools.
|
|
17
|
+
- `dispatch_costs` — cost analytics folded from the run history: window totals (`window` = `7d`/`30d`/`mtd`),
|
|
18
|
+
daily buckets, per-flow and per-model rollups, subscription plan verdicts, provenance (`flow` filters to
|
|
19
|
+
one flow). Every dollar in the result is typed `{ usd, class, ... }` — quote the class with the number
|
|
20
|
+
(`metered` is measured, `estimated`/`seeded` are not), and never present an estimate as an exact spend.
|
|
21
|
+
The operator sees the same fold in the terminal via `/dispatch costs [7d|30d|mtd]`, and
|
|
22
|
+
`/dispatch costs whatif <provider/model> --flow <flow>` estimates what a flow would cost per run on
|
|
23
|
+
another model's rates.
|
|
17
24
|
- `dispatch_triggers` — the configured triggers with their array `index` (needed to edit/delete one).
|
|
18
25
|
|
|
19
26
|
Control (no approval needed — reversible and money-safe):
|