Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

[codex] Fix terminal cwd error test construction (#3440)

Julius Marminge674590e0098e
diff --git a/apps/server/src/project/ProjectSetupScriptRunner.test.ts b/apps/server/src/project/ProjectSetupScriptRunner.test.ts
index e8d771b74..fdf95df0b 100644
--- a/apps/server/src/project/ProjectSetupScriptRunner.test.ts
+++ b/apps/server/src/project/ProjectSetupScriptRunner.test.ts
@@ -153,9 +153,8 @@ describe("ProjectSetupScriptRunner", () => {
it.effect("keeps terminal failures as the exact cause of a structured operation error", () => {
const rootCause = new Error("stat failed");
- const terminalError = new TerminalManager.TerminalCwdError({
+ const terminalError = new TerminalManager.TerminalCwdStatError({
cwd: "/repo/worktrees/a",
- reason: "statFailed",
cause: rootCause,
});
const project = makeProject([