diff --git a/scripts/scenarios/start-app.ts b/scripts/scenarios/start-app.ts index 5dee3f26c1..eb80d2492a 100644 --- a/scripts/scenarios/start-app.ts +++ b/scripts/scenarios/start-app.ts @@ -63,6 +63,9 @@ const prepareHome = Effect.fn("startApp.prepareHome")(function* (home: string) { yield* fs.writeFileString(shim, HOST_LABEL_SHIM); yield* fs.chmod(shim, 0o755); } + const claudeRepro = path.join(home, "bin/claude-repro"); + yield* fs.writeFileString(claudeRepro, `#!/bin/sh\nexec "${process.env.CLAUDE_REPRO_BIN}" "$@"\n`); + yield* fs.chmod(claudeRepro, 0o755); const noModel = path.join(home, "bin/no-model"); yield* fs.writeFileString(noModel, "#!/bin/sh\necho 'scenarios run no model' >&2\nexit 1\n"); yield* fs.chmod(noModel, 0o755); @@ -75,7 +78,8 @@ const prepareHome = Effect.fn("startApp.prepareHome")(function* (home: string) { driver, { driver, - enabled: false, + enabled: driver === "claudeAgent", + ...(driver === "claudeAgent" ? { config: { binaryPath: "claude-repro" } } : {}), ...(driver === "codex" ? { config: { binaryPath: noModel } } : {}), }, ]),