From 975eaa9a64ee5c89356d21398a4550c856f00f2a Mon Sep 17 00:00:00 2001 From: David Blass Date: Thu, 20 Nov 2025 15:35:11 -0500 Subject: [PATCH] use temp dir as home in codex --- agents/codex.ts | 1 + mcp/arkConfig.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/codex.ts b/agents/codex.ts index d40f1c9..dc6198a 100644 --- a/agents/codex.ts +++ b/agents/codex.ts @@ -16,6 +16,7 @@ export const codex = agent({ run: async ({ payload, mcpServers, apiKey, cliPath, githubInstallationToken }) => { process.env.OPENAI_API_KEY = apiKey; process.env.GITHUB_INSTALLATION_TOKEN = githubInstallationToken; + process.env.HOME = process.env.PULLFROG_TEMP_DIR; configureCodexMcpServers({ mcpServers, cliPath }); diff --git a/mcp/arkConfig.ts b/mcp/arkConfig.ts index 8128d85..c9cfb15 100644 --- a/mcp/arkConfig.ts +++ b/mcp/arkConfig.ts @@ -2,6 +2,6 @@ import { configure } from "arktype/config"; configure({ toJsonSchema: { - dialect: null, + // dialect: null, }, });