use temp dir as home in codex

This commit is contained in:
David Blass
2025-11-20 15:35:11 -05:00
parent ba724c8b71
commit 975eaa9a64
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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 });
+1 -1
View File
@@ -2,6 +2,6 @@ import { configure } from "arktype/config";
configure({
toJsonSchema: {
dialect: null,
// dialect: null,
},
});