Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edgehero/pi-dispatch-admin",
"version": "3.1.0",
"version": "4.0.0",
"description": "Operator console for pi-dispatch, as a pi extension: a /dispatch panel over the queue, spend caps, scoped limits, run history and insights, editable cron and GitHub, GitLab, Forgejo and Azure DevOps triggers, pause windows, and human-confirmed tools your AI can operate.",
"keywords": [
"pi-package",
Expand Down
4 changes: 2 additions & 2 deletions admin/src/setup-wizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type Notify = ((message: string, type?: string) => void) | undefined;
* version, so a release bump stays atomic: bump the worker and the test fails here until this literal
* follows in the same change.
*/
export const RUNTIME_VERSION = "3.1.0";
export const RUNTIME_VERSION = "4.0.0";

/**
* The `@edgehero/pi-dispatch-receiver` version the trigger-edge step installs -- pinned for exactly the
Expand All @@ -75,7 +75,7 @@ export const RUNTIME_VERSION = "3.1.0";
* independently (the receiver's dependency range on the runtime is `^`), and pretending otherwise would
* install a version that does not exist the first time they diverge.
*/
export const RECEIVER_VERSION = "3.0.0";
export const RECEIVER_VERSION = "4.0.0";

/** The two npm package names, spelled once. Literals of this module -- see npmInstallArgsFor's argument. */
const RUNTIME_PKG = "@edgehero/pi-dispatch";
Expand Down
4 changes: 2 additions & 2 deletions admin/test/setup-wizard.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ test("wizard: the edge's service answer installs the PINNED receiver, then the -
assert.equal(attached.length, 2, "the npm install and the unit install — nothing else");
assert.equal(attached[0].argv0, "npm", "posix npm, per npmSpawnOptions");
assert.deepEqual(attached[0].args, mod.npmInstallArgsFor(RECEIVER_PKG, mod.RECEIVER_VERSION));
assert.ok(attached[0].args.includes(`${RECEIVER_PKG}@3.0.0`), "the pinned name@version token, spelled out");
assert.ok(attached[0].args.includes(`${RECEIVER_PKG}@4.0.0`), "the pinned name@version token, spelled out");
assert.equal(attached[0].cwd, dir, "installed into the deployment dir, by cwd");
assert.deepEqual(
JSON.parse(readFileSync(join(dir, "package.json"), "utf8")),
Expand All @@ -825,7 +825,7 @@ test("wizard: the edge's service answer installs the PINNED receiver, then the -
assert.equal(attached[1].cwd, dir);

const c = seen.confirm.find((x) => /receiver/i.test(x.title));
assert.match(c.message, new RegExp(`${RECEIVER_PKG.replace("/", "\\/")}@3\\.0\\.0`), "the confirm shows the exact pin");
assert.match(c.message, new RegExp(`${RECEIVER_PKG.replace("/", "\\/")}@4\\.0\\.0`), "the confirm shows the exact pin");
assert.match(c.message, /service install --receiver/, "and the unit command it will run after");
assert.ok(c.message.includes(dir), "and names the cwd");
assert.ok(reachedFirstTrigger(seen), "the wizard continued to step 11");
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pi-dispatch",
"version": "3.1.0",
"version": "4.0.0",
"private": true,
"description": "Run the pi coding agent as a self-hosted service: queued jobs in locked down Docker or Podman containers, spend caps checked before anything is spent, triggered by cron, the CLI, or GitHub, GitLab, Forgejo and Azure DevOps events.",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions receiver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edgehero/pi-dispatch-receiver",
"version": "3.0.0",
"version": "4.0.0",
"type": "module",
"description": "The pi-dispatch trigger edge: verifies GitHub, GitLab, Forgejo and Azure DevOps webhooks, or polls GitHub with no public URL, and queues one pi coding agent job per event (per replica, if set) for the worker.",
"keywords": [
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@octokit/webhooks": "14.2.0",
"@edgehero/pi-dispatch": "^3.0.0",
"@edgehero/pi-dispatch": "^4.0.0",
"bullmq": "5.80.4",
"ioredis": "5.11.1"
}
Expand Down
2 changes: 1 addition & 1 deletion worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edgehero/pi-dispatch",
"version": "3.1.0",
"version": "4.0.0",
"type": "module",
"description": "The pi-dispatch worker and CLI: runs the pi coding agent as a self-hosted service, one locked down Docker or Podman container per job, with spend caps checked before anything is spent, plus init, up, doctor and service install.",
"keywords": [
Expand Down
Loading