Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Codex V2 sessions use the configured launch arguments #13467

Mergedjuliusmarmingemerged 1 commit intot3code/codex-turn-mapping fromrefs/pull/13467/headmerged by juliusmarminge View on GitHub

Showing 2 changed files with 57 additions and 1 deletion.

x
0 of 2 viewed, 2 left
50 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.tsModified
View file
@@ -38,6 +38,7 @@
import * as FileSystem from "effect/FileSystem";
import * as Fiber from "effect/Fiber";
import * as Layer from "effect/Layer";
+import * as PlatformError from "effect/PlatformError";
import * as Ref from "effect/Ref";
import * as Schema from "effect/Schema";
import * as Stream from "effect/Stream";
@@ -46,6 +47,10 @@
​
import * as McpProviderSession from "../../mcp/McpProviderSession.ts";
import type { EventNdjsonLogger } from "../../provider/Layers/EventNdjsonLogger.ts";
+import {
+ NoOpProviderEventLoggers,
+ ProviderEventLoggers,
+} from "../../provider/Layers/ProviderEventLoggers.ts";
import { layer as idAllocatorLayer, IdAllocatorV2 } from "../IdAllocator.ts";
import { OrchestrationEffectWorkerV2 } from "../EffectWorker.ts";
import { OrchestratorV2 } from "../Orchestrator.ts";
@@ -68,6 +73,8 @@
codexFileChangeApprovalPrompt,
codexProviderTurnTokenUsage,
codexThreadRuntimeParams,
+ CodexAppServerClientFactory,
+ codexAppServerClientFactoryFromSettingsLayer,
type CodexAppServerClientFactoryShape,
makeCodexAdapterV2,
makeCodexAppServerProtocolLogger,