Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Fix main image dependency audits (#319)

Joshua France127089b220f9
diff --git a/package-lock.json b/package-lock.json
index be8f50f34..e2e634606 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,7 @@
"@aws-sdk/client-sts": "^3.1075.0",
"@aws-sdk/credential-provider-node": "^3.972.70",
"@earendil-works/pi-ai": "0.82.0",
- "@earendil-works/pi-coding-agent": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.2/earendil-works-pi-coding-agent-0.82.0-qm-security.2.tgz",
+ "@earendil-works/pi-coding-agent": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz",
"@fly/sprites": "0.0.1",
"@openai/codex": "0.144.5",
"@opencode-ai/plugin": "1.17.18",
@@ -916,8 +916,8 @@
},
"node_modules/@earendil-works/pi-coding-agent": {
"version": "0.82.0",
- "resolved": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.2/earendil-works-pi-coding-agent-0.82.0-qm-security.2.tgz",
- "integrity": "sha512-og2SkJ3OMhaklOGNMONCo6Gka70xpPaAvgUymjhtro6deKTAUebHWldPPrINmYsYgUNCycWV1gp3PMBRXjQfWw==",
+ "resolved": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz",
+ "integrity": "sha512-kuQ98isehj6j3QwtC2pCWdHmNxKOgqwjUCvmaFwdlN2frRv6brHMWtn8v/fUkxBFPtzHf99APhoidpmAiUX61Q==",
"hasShrinkwrap": true,
"license": "MIT",
"dependencies": {
@@ -937,7 +937,7 @@
"proper-lockfile": "4.1.2",
"semver": "7.8.0",
"typebox": "1.1.38",
- "undici": "8.5.0",
+ "undici": "8.9.0",
"yaml": "2.9.0"
},
"bin": {
@@ -3941,9 +3941,9 @@
"license": "MIT"
},
"node_modules/brace-expansion": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz",
- "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==",
+ "version": "5.0.9",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",
+ "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
@@ -4701,9 +4701,9 @@
}
},
"node_modules/fast-json-stringify/node_modules/fast-uri": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.1.1.tgz",
- "integrity": "sha512-YPOs1zD5TG2+EZt+r88LwF6mclA7TPkpwMP7ZN3TO2HiHS8TXvq7QA/17iJsV9dubcLo/f8eEYqMBruyQV21hQ==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.1.2.tgz",
+ "integrity": "sha512-TyGmBcbDTZXcb2cj5MV89DrF42DKvb3y5DDUNh95iO+IMeAzMkVSxK1PZRrRIpc9yg8U2GhGdbofNa0LS/a4Bw==",
"funding": [
{
"type": "github",
@@ -4740,9 +4740,9 @@
"peer": true
},
"node_modules/fast-uri": {
- "version": "3.1.4",
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz",
- "integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz",
+ "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==",
"funding": [
{
"type": "github",
@@ -5278,9 +5278,9 @@
}
},
"node_modules/hono": {
- "version": "4.12.32",
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.32.tgz",
- "integrity": "sha512-XcuyW9qE2kJn07PkecMOBd5Vq/hMy7mmGw+idz1yblbg9N17ijJODrvPkn7/dwL3Kulj8LcRJ69DLOWf91dRUg==",
+ "version": "4.12.34",
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.34.tgz",
+ "integrity": "sha512-GqXJqY/xJkJmuloTrnV1ZEXG3fqte+VjkUqoRNZXcrUidiUOP4fMSIHHY4tsqZBK++kVyWmt/AAfSUuy57/eSA==",
"license": "MIT",
"engines": {
"node": ">=16.9.0"
@@ -7616,9 +7616,9 @@
}
},
"node_modules/undici": {
- "version": "8.5.0",
- "resolved": "https://registry.npmjs.org/undici/-/undici-8.5.0.tgz",
- "integrity": "sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg==",
+ "version": "8.9.0",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.9.0.tgz",
+ "integrity": "sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA==",
"license": "MIT",
"engines": {
"node": ">=22.19.0"
diff --git a/package.json b/package.json
index 1cdc313d1..6b33db575 100644
--- a/package.json
+++ b/package.json
@@ -56,7 +56,7 @@
"@aws-sdk/client-sts": "^3.1075.0",
"@aws-sdk/credential-provider-node": "^3.972.70",
"@earendil-works/pi-ai": "0.82.0",
- "@earendil-works/pi-coding-agent": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.2/earendil-works-pi-coding-agent-0.82.0-qm-security.2.tgz",
+ "@earendil-works/pi-coding-agent": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz",
"@fly/sprites": "0.0.1",
"@openai/codex": "0.144.5",
"@opencode-ai/plugin": "1.17.18",
@@ -79,15 +79,16 @@
},
"overrides": {
"@hono/node-server": "2.0.10",
+ "hono": "4.12.34",
"@fastify/ajv-compiler": {
- "fast-uri": "3.1.4"
+ "fast-uri": "3.1.5"
},
"ajv": {
- "fast-uri": "3.1.4"
+ "fast-uri": "3.1.5"
},
- "brace-expansion": "5.0.8",
+ "brace-expansion": "5.0.9",
"fast-json-stringify": {
- "fast-uri": "4.1.1"
+ "fast-uri": "4.1.2"
},
"protobufjs": "7.6.5"
},
diff --git a/test/pi-dependency-security.test.ts b/test/pi-dependency-security.test.ts
index 6ed6c76ba..dcc1bd899 100644
--- a/test/pi-dependency-security.test.ts
+++ b/test/pi-dependency-security.test.ts
@@ -6,7 +6,7 @@ import test from "node:test";
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
const piCodingAgentTarball =
- "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.2/earendil-works-pi-coding-agent-0.82.0-qm-security.2.tgz";
+ "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz";
function installedVersion(path: string): string {
const manifestUrl = new URL(`../node_modules/${path}/package.json`, import.meta.url);
@@ -45,10 +45,14 @@ test("Pi and MCP security overrides are materialized by the root lockfile", () =
assert.equal(pi?.resolved, piCodingAgentTarball);
assert.equal(pi?.hasShrinkwrap, true);
- assert.deepEqual(lockedVersions(packages, "brace-expansion"), ["5.0.8"]);
+ assert.deepEqual(lockedVersions(packages, "brace-expansion"), ["5.0.9"]);
+ assert.deepEqual(lockedVersions(packages, "fast-uri").sort(), ["3.1.5", "4.1.2"]);
+ assert.deepEqual(lockedVersions(packages, "hono"), ["4.12.34"]);
assert.deepEqual(lockedVersions(packages, "protobufjs"), ["7.6.5"]);
+ assert.deepEqual(lockedVersions(packages, "undici"), ["8.9.0"]);
assert.deepEqual(lockedVersions(packages, "@hono/node-server"), ["2.0.10"]);
- assert.equal(dependencyVersion(minimatchManifest, "brace-expansion"), "5.0.8");
+ assert.equal(dependencyVersion(minimatchManifest, "brace-expansion"), "5.0.9");
+ assert.equal(dependencyVersion(piManifest, "undici"), "8.9.0");
assert.equal(dependencyVersion(piManifest, "protobufjs"), "7.6.5");
assert.equal(installedVersion("@hono/node-server"), "2.0.10");
assert.match(