diff --git a/scripts/scenarios/start-app.ts b/scripts/scenarios/start-app.ts index 5dee3f26c1..99f15e7fda 100644 --- a/scripts/scenarios/start-app.ts +++ b/scripts/scenarios/start-app.ts @@ -22,7 +22,7 @@ import { ScenarioError } from "./shell.ts"; // The dev runner's web port is 5733 plus an offset. Mirror of BASE_WEB_PORT in dev-runner.ts. const BASE_WEB_PORT = 5733; // The replay agent `vp run dev` registers: free, recorded turns through the real adapter. -const REPLAY = { instanceId: "devReplay", model: "showcase" }; +const REPLAY = { instanceId: "devReplay", model: "named", options: [{ id: "thinking", value: "high" }, { id: "unavailable", value: "x" }] }; // Generated text (titles) cannot go to the replay agent: the server swaps an ACP agent for the // first enabled real provider, else its default, Codex. So every provider it could fall back to // is off and Codex is a command that only fails: no run reaches a paid model. @@ -125,6 +125,7 @@ const startApp = Effect.fn("startApp")(function* (input: { const node = yield* HostProcess.ExecutablePath; const checkout = yield* HostProcess.WorkingDirectory; const hostEnvironment = yield* HostProcess.Environment; + yield* fs.copyFile(yield* path.fromFileUrl(new URL("./acp-config-peer.ts", import.meta.url)), path.join(checkout, "apps/server/scripts/dev-replay-agent.ts")); yield* prepareHome(input.home); const env = { ...hostEnvironment,