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
28 changes: 0 additions & 28 deletions apps/code/scripts/download-binaries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,6 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
const DEST_DIR = join(__dirname, "..", "resources", "codex-acp");

const BINARIES = [
{
name: "codex-acp",
version: "0.14.0",
getUrl: (version, target) => {
const ext = target.includes("windows") ? "zip" : "tar.gz";
return `https://github.com/zed-industries/codex-acp/releases/download/v${version}/codex-acp-${version}-${target}.${ext}`;
},
getTarget: () => {
const { platform, arch } = process;
const targets = {
darwin: { arm64: "aarch64-apple-darwin", x64: "x86_64-apple-darwin" },
linux: {
arm64: "aarch64-unknown-linux-gnu",
x64: "x86_64-unknown-linux-gnu",
},
win32: {
arm64: "aarch64-pc-windows-msvc",
x64: "x86_64-pc-windows-msvc",
},
};
const platformTargets = targets[platform];
if (!platformTargets)
throw new Error(`Unsupported platform: ${platform}`);
const target = platformTargets[arch];
if (!target) throw new Error(`Unsupported arch: ${arch}`);
return target;
},
},
{
name: "codex",
version: "0.140.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/code/vite-main-plugins.mts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export function copyCodexAcpBinaries(): Plugin {

const sourceDir = join(__dirname, "resources/codex-acp");
const binaries = [
{ name: "codex-acp", winName: "codex-acp.exe" },
{ name: "codex", winName: "codex.exe" },
// The native codex CLI must ship next to codex-acp: the app-server
// sub-adapter resolves it as a sibling and silently falls back to
// codex-acp when it's missing.
Expand Down
1 change: 0 additions & 1 deletion apps/code/vite.main.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ function copyCodexAcpBinaries(): Plugin {

const sourceDir = join(__dirname, "resources/codex-acp");
const binaries = [
{ name: "codex-acp", winName: "codex-acp.exe" },
{ name: "codex", winName: "codex.exe" },
{ name: "rg", winName: "rg.exe" },
];
Expand Down
1 change: 0 additions & 1 deletion packages/agent/e2e/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export const E2E = {
}
process.env.OPENAI_BASE_URL = openAiBase();
process.env.OPENAI_API_KEY = TOKEN;
process.env.POSTHOG_CODEX_USE_APP_SERVER = "1";
},

/** The codexOptions the codex arm passes through `createAcpConnection`. */
Expand Down
240 changes: 0 additions & 240 deletions packages/agent/parity/harness.ts

This file was deleted.

Loading
Loading