Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Update bundled Codex to 0.156.1 without exposing native goals (#1788)

Regan Bell4c5e70381456
diff --git a/package-lock.json b/package-lock.json
index 20d9b5db0..15441576a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -21,7 +21,7 @@
"@earendil-works/pi-ai": "0.82.0",
"@earendil-works/pi-coding-agent": "https://github.com/yc-software/qm/releases/download/vendored-pi-coding-agent-0.82.0-security.5/earendil-works-pi-coding-agent-0.82.0-qm-security.5.tgz",
"@fly/sprites": "0.2.3",
- "@openai/codex": "0.155.1",
+ "@openai/codex": "0.156.1",
"@opencode-ai/plugin": "1.18.31",
"@opencode-ai/sdk": "1.18.31",
"@sentry/node": "10.75.0",
@@ -4132,9 +4132,9 @@
}
},
"node_modules/@openai/codex": {
- "version": "0.155.1",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1.tgz",
- "integrity": "sha512-02fAAGyBtlA1zPjEo3kTj/bOSYbPz5DvjLwRZJdV7weFFEDzNFOMjQGmZ/+5CuirYV0hE+AZTrnjzwXYU4AdAQ==",
+ "version": "0.156.1",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1.tgz",
+ "integrity": "sha512-nI1iVl/n2SO2lSvlwEsJx63zdSI4C4Me2gR7AG0OWMJiGSakz2tY2hx43E39Zq5aEoeB5bZjJXzp5Sqhog6vyA==",
"license": "Apache-2.0",
"bin": {
"codex": "bin/codex.js"
@@ -4143,19 +4143,19 @@
"node": ">=16"
},
"optionalDependencies": {
- "@openai/codex-darwin-arm64": "npm:@openai/[email protected]",
- "@openai/codex-darwin-x64": "npm:@openai/[email protected]",
- "@openai/codex-linux-arm64": "npm:@openai/[email protected]",
- "@openai/codex-linux-x64": "npm:@openai/[email protected]",
- "@openai/codex-win32-arm64": "npm:@openai/[email protected]",
- "@openai/codex-win32-x64": "npm:@openai/[email protected]"
+ "@openai/codex-darwin-arm64": "npm:@openai/[email protected]",
+ "@openai/codex-darwin-x64": "npm:@openai/[email protected]",
+ "@openai/codex-linux-arm64": "npm:@openai/[email protected]",
+ "@openai/codex-linux-x64": "npm:@openai/[email protected]",
+ "@openai/codex-win32-arm64": "npm:@openai/[email protected]",
+ "@openai/codex-win32-x64": "npm:@openai/[email protected]"
}
},
"node_modules/@openai/codex-darwin-arm64": {
"name": "@openai/codex",
- "version": "0.155.1-darwin-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-darwin-arm64.tgz",
- "integrity": "sha512-cYxzGcRRoBrncyHlR8ed4yXwcoVJZC1pipGULSyJkGFKXJw/Uu57BklvzayuAptjJIipamnOk32CfUkk1F0bLw==",
+ "version": "0.156.1-darwin-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-darwin-arm64.tgz",
+ "integrity": "sha512-Jg6wbdV+wmMZczhwE74GSxOYEZlViKXn6KyCw/yfrz3PAKFD14xljuPopmdhWC1+8IKU2WdN5fdmXNPt2q4HPA==",
"cpu": [
"arm64"
],
@@ -4170,9 +4170,9 @@
},
"node_modules/@openai/codex-darwin-x64": {
"name": "@openai/codex",
- "version": "0.155.1-darwin-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-darwin-x64.tgz",
- "integrity": "sha512-FDpc+PdELYlyDnhd76Ckm6jNLF+1n3x34Ygd4QLQger810Vkxx/InQ5LY5jwkecJYKcbvyhMmuxTspaj1dLZrA==",
+ "version": "0.156.1-darwin-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-darwin-x64.tgz",
+ "integrity": "sha512-BVjqNOoltWrnNUrgMRepvDIIBmd4XY+ikAE4pYVHlrwiizNlEWQuCQOTrFMJKp54LFRG8jDTjLZyYQ1QrliuOg==",
"cpu": [
"x64"
],
@@ -4187,9 +4187,9 @@
},
"node_modules/@openai/codex-linux-arm64": {
"name": "@openai/codex",
- "version": "0.155.1-linux-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-linux-arm64.tgz",
- "integrity": "sha512-X3fRXm2orhJ3KeB8LgKym4XDUiQaqaOGuaa181bcHTsQI7C8m6tcQQbQsKDzT/2IibikzgYL82jvsgMbq43jww==",
+ "version": "0.156.1-linux-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-linux-arm64.tgz",
+ "integrity": "sha512-sTEHk31C12dqzJdjZ2u9KLFCXKL04KyCM+QheSjdQI8uzmVJS7aEF2/qAqFxXwk/jwMzC9u7IihfoIlAGR6YsA==",
"cpu": [
"arm64"
],
@@ -4204,9 +4204,9 @@
},
"node_modules/@openai/codex-linux-x64": {
"name": "@openai/codex",
- "version": "0.155.1-linux-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-linux-x64.tgz",
- "integrity": "sha512-atv3HF0mubqB0J/XkQ2JopqKzXJ+/7aQtTB2MkJ9MrraujMIz8zbCCLylLkN3PzpVGTJzzQFN/wD1oq8oJPJKg==",
+ "version": "0.156.1-linux-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-linux-x64.tgz",
+ "integrity": "sha512-2ePo0wgOcnONKsuzp8vBjOmNY+IdsKaouaDDIdiKq9HOWNuV/GI22OeXft2A/1GaoL71ictO0/pLAsCEnQ6wew==",
"cpu": [
"x64"
],
@@ -4221,9 +4221,9 @@
},
"node_modules/@openai/codex-win32-arm64": {
"name": "@openai/codex",
- "version": "0.155.1-win32-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-win32-arm64.tgz",
- "integrity": "sha512-k5x8VO1aF8Xx/nuh1P31TeBgs11WA6i2GJiHqx5YCndFbWzOzUz6aeBaq9+PO6Qfe/Ivennh3I1FKJBU6Q8mpg==",
+ "version": "0.156.1-win32-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-win32-arm64.tgz",
+ "integrity": "sha512-e5DsyOHlKWulTBz/neIczpcYLQDqtaLtBj2lgncOgeQw5mlAQVZHlGvKsoKVcEPUKLb8opIMJBxXi6cz3JJ4hg==",
"cpu": [
"arm64"
],
@@ -4238,9 +4238,9 @@
},
"node_modules/@openai/codex-win32-x64": {
"name": "@openai/codex",
- "version": "0.155.1-win32-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.155.1-win32-x64.tgz",
- "integrity": "sha512-MO+cCZrgU0Ec7lJP/5NsTe5obJ9/qtRMkQUK0jYWTY1omxLA3lp5IOD2IAmsejlEJB931XRo51LZ7hl178CDjA==",
+ "version": "0.156.1-win32-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.156.1-win32-x64.tgz",
+ "integrity": "sha512-MJyLxbBs2zzp5kbaR/99Zwe7SmbrwUkveTcT+ayYlO48V0nYh0eU+h2lalBwvC7VJ/ya/bXnUtISJfJKhGCD/g==",
"cpu": [
"x64"
],
diff --git a/package.json b/package.json
index 00edbfbb1..6b1f85b92 100644
--- a/package.json
+++ b/package.json
@@ -76,7 +76,7 @@
"@earendil-works/pi-ai": "0.82.0",
"@earendil-works/pi-coding-agent": "https://github.com/yc-software/qm/releases/download/vendored-pi-coding-agent-0.82.0-security.5/earendil-works-pi-coding-agent-0.82.0-qm-security.5.tgz",
"@fly/sprites": "0.2.3",
- "@openai/codex": "0.155.1",
+ "@openai/codex": "0.156.1",
"@opencode-ai/plugin": "1.18.31",
"@opencode-ai/sdk": "1.18.31",
"@sentry/node": "10.75.0",
diff --git a/src/harness/codex-harness.ts b/src/harness/codex-harness.ts
index fcc3c7ca2..2c4e8143b 100644
--- a/src/harness/codex-harness.ts
+++ b/src/harness/codex-harness.ts
@@ -965,6 +965,7 @@ export function createCodexHarness(opts: CodexHarnessOptions = {}): Harness {
shell_tool: false,
unified_exec: false,
shell_snapshot: false,
+ goals: false,
apps: false,
plugins: false,
browser_use: false,
diff --git a/test/codex-harness.test.ts b/test/codex-harness.test.ts
index 917e123ed..3b3878ca9 100644
--- a/test/codex-harness.test.ts
+++ b/test/codex-harness.test.ts
@@ -84,6 +84,7 @@ rl.on("line", (line) => {
if (msg.params.sandbox !== "read-only" || msg.params.approvalPolicy !== "never" || !Array.isArray(msg.params.dynamicTools) ||
!Array.isArray(msg.params.environments) || msg.params.environments.length !== 0 ||
msg.params.config?.features?.shell_tool !== false || msg.params.config?.features?.unified_exec !== false ||
+ msg.params.config?.features?.goals !== false ||
process.env.CORE_SIGNING_SECRET || process.env.DATABASE_URL || process.env.HOME !== msg.params.cwd ||
!process.env.CODEX_HOME?.startsWith(msg.params.cwd)) {
return send({ id: msg.id, error: { code: -1, message: "unsafe or missing adapter settings" } });
@@ -1814,6 +1815,7 @@ test(
shell_tool: false,
unified_exec: false,
shell_snapshot: false,
+ goals: false,
apps: false,
plugins: false,
browser_use: false,