| ... | ... | @@ -9,6 +9,7 @@ |
| 9 | 9 | */ |
| 10 | 10 | // @effect-diagnostics nodeBuiltinImport:off |
| 11 | 11 | import * as NodeFS from "node:fs"; |
| 12 | import * as NodeOS from "node:os"; |
| 12 | 13 | import * as NodePath from "node:path"; |
| 13 | 14 | |
| 14 | 15 | import * as NodeServices from "@effect/platform-node/NodeServices"; |
| ... | ... | @@ -200,7 +201,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 200 | 201 | const runtime = yield* makeCodexSessionRuntime({ |
| 201 | 202 | threadId: ThreadId.make("thread-collab-model-activity"), |
| 202 | 203 | binaryPath: peerPath, |
| 203 | | cwd: "/tmp", |
| 204 | cwd: NodeOS.tmpdir(), |
| 204 | 205 | runtimeMode: "full-access", |
| 205 | 206 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 206 | 207 | }); |
| ... | ... | @@ -292,7 +293,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 292 | 293 | const runtime = yield* makeCodexSessionRuntime({ |
| 293 | 294 | threadId: ThreadId.make("thread-collab-model-spawn"), |
| 294 | 295 | binaryPath: peerPath, |
| 295 | | cwd: "/tmp", |
| 296 | cwd: NodeOS.tmpdir(), |
| 296 | 297 | runtimeMode: "full-access", |
| 297 | 298 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 298 | 299 | }); |
| ... | ... | @@ -371,7 +372,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 371 | 372 | const runtime = yield* makeCodexSessionRuntime({ |
| 372 | 373 | threadId: ThreadId.make(`thread-collab-model-${name}`), |
| 373 | 374 | binaryPath: peerPath, |
| 374 | | cwd: "/tmp", |
| 375 | cwd: NodeOS.tmpdir(), |
| 375 | 376 | runtimeMode: "full-access", |
| 376 | 377 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 377 | 378 | }); |
| ... | ... | @@ -410,7 +411,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 410 | 411 | const runtime = yield* makeCodexSessionRuntime({ |
| 411 | 412 | threadId: ThreadId.make("thread-collab-integration"), |
| 412 | 413 | binaryPath: peerPath, |
| 413 | | cwd: "/tmp", |
| 414 | cwd: NodeOS.tmpdir(), |
| 414 | 415 | runtimeMode: "full-access", |
| 415 | 416 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 416 | 417 | }); |
| ... | ... | @@ -552,7 +553,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 552 | 553 | const runtime = yield* makeCodexSessionRuntime({ |
| 553 | 554 | threadId: ThreadId.make("thread-collab-stop"), |
| 554 | 555 | binaryPath: peerPath, |
| 555 | | cwd: "/tmp", |
| 556 | cwd: NodeOS.tmpdir(), |
| 556 | 557 | runtimeMode: "full-access", |
| 557 | 558 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 558 | 559 | }); |
| ... | ... | @@ -630,7 +631,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 630 | 631 | const runtime = yield* makeCodexSessionRuntime({ |
| 631 | 632 | threadId: ThreadId.make("thread-codex-queued-stop"), |
| 632 | 633 | binaryPath: peerPath, |
| 633 | | cwd: "/tmp", |
| 634 | cwd: NodeOS.tmpdir(), |
| 634 | 635 | runtimeMode: "full-access", |
| 635 | 636 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 636 | 637 | }); |
| ... | ... | @@ -727,7 +728,7 @@ describe("CodexSessionRuntime collab integration", () => { |
| 727 | 728 | const runtime = yield* makeCodexSessionRuntime({ |
| 728 | 729 | threadId: ThreadId.make("thread-codex-mcp-elicitation"), |
| 729 | 730 | binaryPath: peerPath, |
| 730 | | cwd: "/tmp", |
| 731 | cwd: NodeOS.tmpdir(), |
| 731 | 732 | runtimeMode: "auto", |
| 732 | 733 | environment: { ...process.env, T3_CODEX_COLLAB_SCRIPT: scriptPath }, |
| 733 | 734 | }); |