Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Update bundled Codex and OpenCode to cooled stable releases (#1569)

Regan Bell861af65d75a1
diff --git a/package-lock.json b/package-lock.json
index 461690102..43bd235db 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -21,9 +21,9 @@
"@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.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz",
"@fly/sprites": "0.2.3",
- "@openai/codex": "0.144.5",
- "@opencode-ai/plugin": "1.17.18",
- "@opencode-ai/sdk": "1.17.18",
+ "@openai/codex": "0.154.0",
+ "@opencode-ai/plugin": "1.18.31",
+ "@opencode-ai/sdk": "1.18.31",
"@sentry/node": "10.75.0",
"@slack/bolt": "^4.7.3",
"@slack/socket-mode": "^2.0.7",
@@ -38,7 +38,7 @@
"lru-cache": "^11.5.2",
"modal": "^0.10.1",
"officeparser": "^8.0.0",
- "opencode-ai": "1.17.18",
+ "opencode-ai": "1.18.31",
"pg": "^8.13.1",
"pg-boss": "^12.26.1",
"porter-sandbox": "^0.1.41",
@@ -4132,9 +4132,9 @@
}
},
"node_modules/@openai/codex": {
- "version": "0.144.5",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5.tgz",
- "integrity": "sha512-jjB+K+OMv572mKhS+2QuLxWXDJNdpwbPenf+V+8bdq7wg4Scqt3cn6WEekD8wPqDVZqck0HSX17K9rD9kbDJQA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0.tgz",
+ "integrity": "sha512-FV/x1OHXYv/ifjf3mXj9ThTTAWcUZN6cGIRQRhRxkKNOPuImu1WW0c8ev1vUkE9XGH90dEnYG1tBjIkxRikg0w==",
"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.144.5-darwin-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-darwin-arm64.tgz",
- "integrity": "sha512-zcT6NfBCqLFt+BReNSETTZW6v6PdbH0dzNtm9j7l7mDGqwPbKZDGJdnpkBao2389I0ZacyIKgSZoI0vez1d4Dw==",
+ "version": "0.154.0-darwin-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-darwin-arm64.tgz",
+ "integrity": "sha512-HP/vJCH/t2hB9Kg6hotN9UglClJ6/z584fal5lEP14C9gNAgAQS4/kTQC7l5V+BA3TqwDPwINSjul28cX8AYXg==",
"cpu": [
"arm64"
],
@@ -4170,9 +4170,9 @@
},
"node_modules/@openai/codex-darwin-x64": {
"name": "@openai/codex",
- "version": "0.144.5-darwin-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-darwin-x64.tgz",
- "integrity": "sha512-//Mo0m1MwaoT6psu5xsmofXpKx4/0irIkeq10xJvk59+886EG355ibjA+ZmlRcKhE3bLjsKD7p81nTbAdRL/bw==",
+ "version": "0.154.0-darwin-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-darwin-x64.tgz",
+ "integrity": "sha512-2aqz+72Hop8PF2RYglQ4JnGjm3OlRIrTykJIT0hyLeUgM6NCFy09RgTmqRCoWliKQZjEn9jjZqUEp7QujAj77g==",
"cpu": [
"x64"
],
@@ -4187,9 +4187,9 @@
},
"node_modules/@openai/codex-linux-arm64": {
"name": "@openai/codex",
- "version": "0.144.5-linux-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-linux-arm64.tgz",
- "integrity": "sha512-zAHggxVwR2TBxKmybXY7ZMiB0G8DMonY2YPdwNNjwXcf+LOIqNGgswwNCDMbP/HEe6r8j+R9ZX/yYoo8f+n/RQ==",
+ "version": "0.154.0-linux-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-linux-arm64.tgz",
+ "integrity": "sha512-KmTCB6ST484zeYlPpKP/K5P/gRaYmt6TihVD+zotoe6O9q0JSBP+FYvCz4A/zZXR7xDOHURTSjHp0sD8wWS0YQ==",
"cpu": [
"arm64"
],
@@ -4204,9 +4204,9 @@
},
"node_modules/@openai/codex-linux-x64": {
"name": "@openai/codex",
- "version": "0.144.5-linux-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-linux-x64.tgz",
- "integrity": "sha512-FalLJlBQGFdK8Gc3kj9sa/ekNdgkHhUawLaKkvy5CtB18JaP2YxtTP/Pe1pD2iBiq8mMUliRnafpF6AdBdQMbg==",
+ "version": "0.154.0-linux-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-linux-x64.tgz",
+ "integrity": "sha512-a4FI3A8sGtwGrOqltrPbrS2hajrHQG591EwmRfiRoLMb10VxdBtUGW4gu6IJVYENiYGA7k3P4jlRHEoCZU/s9Q==",
"cpu": [
"x64"
],
@@ -4221,9 +4221,9 @@
},
"node_modules/@openai/codex-win32-arm64": {
"name": "@openai/codex",
- "version": "0.144.5-win32-arm64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-win32-arm64.tgz",
- "integrity": "sha512-0Pj7iqjEOEvPQPO3kFfCy9vGX4BTu76ChFFZHr2eNNIfVc3FOENAv/X98u4L+iIUtDOK9DbqmfUudW3DPapshg==",
+ "version": "0.154.0-win32-arm64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-win32-arm64.tgz",
+ "integrity": "sha512-CRUmZnE0Y/a8aLMrrA681EytOGaPaF659wJAiI4I3hsbQjaeYBSPV7PkCjy4Qn5LR/fmwIUORVH+6JaBNQL+tw==",
"cpu": [
"arm64"
],
@@ -4238,9 +4238,9 @@
},
"node_modules/@openai/codex-win32-x64": {
"name": "@openai/codex",
- "version": "0.144.5-win32-x64",
- "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.144.5-win32-x64.tgz",
- "integrity": "sha512-DnsSTlnnzleTxvLwIGnBitKInscxn2I7qASqosS8Fv+qysBygd+ZiBn/SQsRCgQ28PAlsNzmd3Gf3ZTecolAmg==",
+ "version": "0.154.0-win32-x64",
+ "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.154.0-win32-x64.tgz",
+ "integrity": "sha512-Stg2KEJPIKVqPPR1wCverGOR4ey3RR3cvakR07w7FNKQUMzmHaOZomRsP2bR1qOT/67yHsks9rB+MCMfIWXcRA==",
"cpu": [
"x64"
],
@@ -4254,20 +4254,20 @@
}
},
"node_modules/@opencode-ai/plugin": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.17.18.tgz",
- "integrity": "sha512-tqVBzhTHYUzO0laAmcQeBtT56tXYM5VGUk9V60O+cMx4kkSfac4qEfPVguCGUMJnfcU+u+EPvpME6xmHWoQE8w==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.18.31.tgz",
+ "integrity": "sha512-Rdc1bPK06PByaGyGd0kf7JUZ4pTkexz2OOUNlqZWLpHOiMEZ+/rFGjt46ypZ3QwA697gNdWwwwQbHbKG5NMwGA==",
"license": "MIT",
"dependencies": {
"@ai-sdk/provider": "3.0.8",
- "@opencode-ai/sdk": "1.17.18",
+ "@opencode-ai/sdk": "1.18.31",
"effect": "4.0.0-beta.83",
"zod": "4.1.8"
},
"peerDependencies": {
- "@opentui/core": ">=0.4.3",
- "@opentui/keymap": ">=0.4.3",
- "@opentui/solid": ">=0.4.3"
+ "@opentui/core": ">=0.4.5",
+ "@opentui/keymap": ">=0.4.5",
+ "@opentui/solid": ">=0.4.5"
},
"peerDependenciesMeta": {
"@opentui/core": {
@@ -4291,9 +4291,9 @@
}
},
"node_modules/@opencode-ai/sdk": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.17.18.tgz",
- "integrity": "sha512-c/C9PhY8PrbcxDY+JIYtOZsrmMD0KzoVvxq+RGUrZ6LQp57SuVBbT4lfwA2G8Se5RNC1N5JtYjiuaXeECnF2SQ==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.18.31.tgz",
+ "integrity": "sha512-Raouthf8Lhe9edjvYeeSK7SgvdoU6bBjH9qV3f70dHoa6h+z0X2TMz/e22/wKp/StlFUZ4kIRpYYxFnY8/k01w==",
"license": "MIT",
"dependencies": {
"cross-spawn": "7.0.6"
@@ -9488,9 +9488,9 @@
"license": "MIT"
},
"node_modules/opencode-ai": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-ai/-/opencode-ai-1.17.18.tgz",
- "integrity": "sha512-gpCE5X3dwvYam2ba9r3mw+FTPBTDlmKkguiOoYF1nv9MVA3sDIXje3tPQ+EMNxYkWD43FN3+eVC1GW6tRO9Aiw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-ai/-/opencode-ai-1.18.31.tgz",
+ "integrity": "sha512-J95feefeWwtIaw3irx76WjzWcgQXxmuHmDVphvs5ep9X30fBJ6T6bFhw50i9Kx50MG/xPn5w2pafXIfNtdry9w==",
"cpu": [
"arm64",
"x64"
@@ -9506,24 +9506,24 @@
"opencode": "bin/opencode.exe"
},
"optionalDependencies": {
- "opencode-darwin-arm64": "1.17.18",
- "opencode-darwin-x64": "1.17.18",
- "opencode-darwin-x64-baseline": "1.17.18",
- "opencode-linux-arm64": "1.17.18",
- "opencode-linux-arm64-musl": "1.17.18",
- "opencode-linux-x64": "1.17.18",
- "opencode-linux-x64-baseline": "1.17.18",
- "opencode-linux-x64-baseline-musl": "1.17.18",
- "opencode-linux-x64-musl": "1.17.18",
- "opencode-windows-arm64": "1.17.18",
- "opencode-windows-x64": "1.17.18",
- "opencode-windows-x64-baseline": "1.17.18"
+ "opencode-darwin-arm64": "1.18.31",
+ "opencode-darwin-x64": "1.18.31",
+ "opencode-darwin-x64-baseline": "1.18.31",
+ "opencode-linux-arm64": "1.18.31",
+ "opencode-linux-arm64-musl": "1.18.31",
+ "opencode-linux-x64": "1.18.31",
+ "opencode-linux-x64-baseline": "1.18.31",
+ "opencode-linux-x64-baseline-musl": "1.18.31",
+ "opencode-linux-x64-musl": "1.18.31",
+ "opencode-windows-arm64": "1.18.31",
+ "opencode-windows-x64": "1.18.31",
+ "opencode-windows-x64-baseline": "1.18.31"
}
},
"node_modules/opencode-darwin-arm64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-darwin-arm64/-/opencode-darwin-arm64-1.17.18.tgz",
- "integrity": "sha512-wcnsPXxNnIggdva8rQ2KAWi17GdyDL4joAT+M/+UqkRFXhTBgfScWiWyCAGpZitDlpxd0K5W79NPjal54A8aiw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-darwin-arm64/-/opencode-darwin-arm64-1.18.31.tgz",
+ "integrity": "sha512-IN642oFENleWVDNqMnXi8NQLsZnA8hMswJ6X+GWz+CfBFuCpotjDb5OHgE2HBdC6r5wjG6v0mATb+Mn8xXCp1A==",
"cpu": [
"arm64"
],
@@ -9533,9 +9533,9 @@
]
},
"node_modules/opencode-darwin-x64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-darwin-x64/-/opencode-darwin-x64-1.17.18.tgz",
- "integrity": "sha512-WwTwf6pCMkJ4ed3l6mLn2+eVz+Yli+5ijine0Hx7r+LVUYv9Odo46lHO4ZLd2m/dbnnDcX5xHNklasBNfCkBEQ==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-darwin-x64/-/opencode-darwin-x64-1.18.31.tgz",
+ "integrity": "sha512-xrw512dou9Drxs/1yH4CHEt/kvrSl8j1Ulez0wTOsW0lWZaATJMnlfHBjagWzv+QWIC4nz/cBgYzjn3JvxS7zQ==",
"cpu": [
"x64"
],
@@ -9545,9 +9545,9 @@
]
},
"node_modules/opencode-darwin-x64-baseline": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-darwin-x64-baseline/-/opencode-darwin-x64-baseline-1.17.18.tgz",
- "integrity": "sha512-kkUWjHQBtYtbtoAxV7N8srXpAdWu7ajynnrUQ/raHhJc2HnsR3Ud6/Ms60YSpNWOuCZ/WgtISpXkg12E7opvcA==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-darwin-x64-baseline/-/opencode-darwin-x64-baseline-1.18.31.tgz",
+ "integrity": "sha512-4/4UMyPhsIeHln3AT3bxBvrWC+cmbOcdGOeBfoeOQIWcNZ3ycSvFnoJdLX969p9CtR6oNtroaQoNKZHgzSqg6A==",
"cpu": [
"x64"
],
@@ -9557,9 +9557,9 @@
]
},
"node_modules/opencode-linux-arm64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-arm64/-/opencode-linux-arm64-1.17.18.tgz",
- "integrity": "sha512-VrTs+uQndp+B442Bfxf1a7BX9599gARjQCJ+MVCkcxl4Dr4gbBw7EfjKgGvhCqKUN5Hv2I7hUG/EZ1Ix3T6xrw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-arm64/-/opencode-linux-arm64-1.18.31.tgz",
+ "integrity": "sha512-tLTZlOeWz4u48WQWg7PhKTn4gIXPHf7xaiWSHcmci1O3qKXEDLv/TaMzmqIuMChdwtflu2PSNIC00W+Hij/IkA==",
"cpu": [
"arm64"
],
@@ -9569,21 +9569,24 @@
]
},
"node_modules/opencode-linux-arm64-musl": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-arm64-musl/-/opencode-linux-arm64-musl-1.17.18.tgz",
- "integrity": "sha512-KW+77OknysG0gkD8tRzIcFKuv2mJR3jDtEQcCOhXmkAEWv7rEIqaDehWDa35F7AKjNJnJ4f6P7dDLMDJeQztHg==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-arm64-musl/-/opencode-linux-arm64-musl-1.18.31.tgz",
+ "integrity": "sha512-qeEg7HsYupDeLkFqr+QNIgcE4kVRPycb/7ymyYUffSg+z2A6fU065pvU6uaZ+LjIzdJaZHUe1wDQvrSP/EJAqg==",
"cpu": [
"arm64"
],
+ "libc": [
+ "musl"
+ ],
"optional": true,
"os": [
"linux"
]
},
"node_modules/opencode-linux-x64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-x64/-/opencode-linux-x64-1.17.18.tgz",
- "integrity": "sha512-8BmT22yp7pCXXu/HvAMaJsNNd6xhmlUrGs5YZSfU0neZfkSZg+Dkf9IGsuOugOtL0x2erDg2/6rRBpcJAGmTrA==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-x64/-/opencode-linux-x64-1.18.31.tgz",
+ "integrity": "sha512-gTJ5nGNq+KJblwmeusEdz8YFwvkV7a3xTOV9EKKEmsv0Lkbajq/oQO9jEC0sMiS66mjHDOrhLgIUxSVqfLBM8g==",
"cpu": [
"x64"
],
@@ -9593,9 +9596,9 @@
]
},
"node_modules/opencode-linux-x64-baseline": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-x64-baseline/-/opencode-linux-x64-baseline-1.17.18.tgz",
- "integrity": "sha512-ZHgobRKdHocQJSAzrz/ekKBjN1cScB+u07Zgr5Hzks2zm+ZyuN5zvx/NOKM7ImPEy3TQ0+swXvtoYKCOE4Tpbw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-x64-baseline/-/opencode-linux-x64-baseline-1.18.31.tgz",
+ "integrity": "sha512-T/hyCHb7gSCuJzLDXs8YfEhjelUes2zkWFPTGEdBPqV/eKrKbEo9U1YdA/WvntjXv0I6k+blZEID54QIcF7Djw==",
"cpu": [
"x64"
],
@@ -9605,33 +9608,39 @@
]
},
"node_modules/opencode-linux-x64-baseline-musl": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-x64-baseline-musl/-/opencode-linux-x64-baseline-musl-1.17.18.tgz",
- "integrity": "sha512-e4/FLdohz2euPXsziktv7mKrYLO01R4n7bwMvhAcPDaYc9zCagHUoALZVYm0BXtVB6YikaIfnHsbAIAgNlC37w==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-x64-baseline-musl/-/opencode-linux-x64-baseline-musl-1.18.31.tgz",
+ "integrity": "sha512-gZ9TkeoIkckNZjDRreHj0sQk91uRQTgeuMCIZgSKewHN1fq/jjQHMzSAI0HevPEov9O2cDRRzPBF4cppzc+AYg==",
"cpu": [
"x64"
],
+ "libc": [
+ "musl"
+ ],
"optional": true,
"os": [
"linux"
]
},
"node_modules/opencode-linux-x64-musl": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-linux-x64-musl/-/opencode-linux-x64-musl-1.17.18.tgz",
- "integrity": "sha512-3pWmNMZ08vsOVnQcOydqnE66NTZjqMZllcX6M9w+nCbQ2Edi6xWL1NMiW9MFvjyJMuOxTqzif6RvpIcK3CZHxw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-linux-x64-musl/-/opencode-linux-x64-musl-1.18.31.tgz",
+ "integrity": "sha512-TxKfcJII53MZ17NSrJ0p51wx0dJtZrX8By60N5O5/M+eP0oO4jCXKIkdBpP/Bku44gm8QZkTNLBWpPc2OTJweg==",
"cpu": [
"x64"
],
+ "libc": [
+ "musl"
+ ],
"optional": true,
"os": [
"linux"
]
},
"node_modules/opencode-windows-arm64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-windows-arm64/-/opencode-windows-arm64-1.17.18.tgz",
- "integrity": "sha512-5vtCGvt3k1RbhiB31Sg4Q0H1Qy+npFMD1y4N3fhx8X+Dyrzfly7SPQNQPtSt8nDluRhcCB0oFl9suDew2q2YOg==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-windows-arm64/-/opencode-windows-arm64-1.18.31.tgz",
+ "integrity": "sha512-K+Dh5r5yLQJ6Maeo1+JhQr27Un6lzUIWEp3LGoeXSfLkcSqi7ueTecGbg7HAbtEIY5a9j3yNCS3//AjgTcZa+w==",
"cpu": [
"arm64"
],
@@ -9641,9 +9650,9 @@
]
},
"node_modules/opencode-windows-x64": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-windows-x64/-/opencode-windows-x64-1.17.18.tgz",
- "integrity": "sha512-6i17BI5tmQvopBm6lwerPu2I7p2BYneX7XDlHYeVCy9+INL0T8sD8Ww+Lobqs76E8kepwP1NVqEFzs5DkLYVJw==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-windows-x64/-/opencode-windows-x64-1.18.31.tgz",
+ "integrity": "sha512-1Za7uKeGLonNUkUIGHD7xfV5omi7ju/7z2WYfS5YvDLTr1iU/W1PPVHzHXiwiyV4gMxsWGwHHLubWdH99D7pSA==",
"cpu": [
"x64"
],
@@ -9653,9 +9662,9 @@
]
},
"node_modules/opencode-windows-x64-baseline": {
- "version": "1.17.18",
- "resolved": "https://registry.npmjs.org/opencode-windows-x64-baseline/-/opencode-windows-x64-baseline-1.17.18.tgz",
- "integrity": "sha512-pt9ga2UcoTUo6+/rFvZZ+KOxHXkVMHPqBi3tVjI/B96icAGtpXNPDznK+HuahBFKKMr9y8pwu17yd94Vn+gMMg==",
+ "version": "1.18.31",
+ "resolved": "https://registry.npmjs.org/opencode-windows-x64-baseline/-/opencode-windows-x64-baseline-1.18.31.tgz",
+ "integrity": "sha512-wz5K8SpL+GTKez4BpYX1AbhRwBY7AVt+95ijWZrow84ibLTDoZ1skEsN5UUcQJ8LYeC+o1Vq0xi4A5kLGfvQ0w==",
"cpu": [
"x64"
],
diff --git a/package.json b/package.json
index 342a9f2dd..d08a5cf56 100644
--- a/package.json
+++ b/package.json
@@ -76,9 +76,9 @@
"@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.3/earendil-works-pi-coding-agent-0.82.0-qm-security.3.tgz",
"@fly/sprites": "0.2.3",
- "@openai/codex": "0.144.5",
- "@opencode-ai/plugin": "1.17.18",
- "@opencode-ai/sdk": "1.17.18",
+ "@openai/codex": "0.154.0",
+ "@opencode-ai/plugin": "1.18.31",
+ "@opencode-ai/sdk": "1.18.31",
"@sentry/node": "10.75.0",
"@slack/bolt": "^4.7.3",
"@slack/socket-mode": "^2.0.7",
@@ -93,7 +93,7 @@
"lru-cache": "^11.5.2",
"modal": "^0.10.1",
"officeparser": "^8.0.0",
- "opencode-ai": "1.17.18",
+ "opencode-ai": "1.18.31",
"pg": "^8.13.1",
"pg-boss": "^12.26.1",
"porter-sandbox": "^0.1.41",
diff --git a/src/config.ts b/src/config.ts
index 5101a7997..675062deb 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -883,7 +883,7 @@ export function orgScope(): string {
return `org:${orgId()}`;
}
-export const OPENCODE_RUNTIME_VERSION = "1.17.18";
+export const OPENCODE_RUNTIME_VERSION = "1.18.31";
export const CONFIG_DEFAULTS = {
port: 8080,
diff --git a/src/harness/opencode-harness.ts b/src/harness/opencode-harness.ts
index 57a251e62..aa9012c47 100644
--- a/src/harness/opencode-harness.ts
+++ b/src/harness/opencode-harness.ts
@@ -44,7 +44,7 @@ import {
import { reconstructMessagesFromHistory } from "./replay.ts";
import { countTokens } from "../util/tokens.ts";
-const OPENCODE_VERSION = "1.17.18";
+const OPENCODE_VERSION = "1.18.31";
const OPENCODE_IDLE_WAIT_MS = 30 * 60_000;
export const OPENCODE_STARTUP_TIMEOUT_MS = 90_000;
diff --git a/test/dev-cli-lib.test.ts b/test/dev-cli-lib.test.ts
index c7b05c42a..e84fff3ca 100644
--- a/test/dev-cli-lib.test.ts
+++ b/test/dev-cli-lib.test.ts
@@ -340,7 +340,7 @@ test("dev security secrets are stable, complete, and distinct", () => {
});
test("OpenCode config is strict, pinned, and inherits the Pi model", () => {
- assert.equal(OPENCODE_RUNTIME_VERSION, "1.17.18");
+ assert.equal(OPENCODE_RUNTIME_VERSION, "1.18.31");
assert.equal(loadConfig({ HARNESS: "opencode", PI_MODEL: "pi-model" }).opencodeModel, "pi-model");
assert.equal(
loadConfig({ HARNESS: "opencode", PI_MODEL: "pi-model", OPENCODE_MODEL: "open-model" }).opencodeModel,