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.
Resolve T3CODE_STATE_DIR paths against repo root
Julius Marminge4fac2d203bc9
diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjsindex 723806bbe..512ff34a4 100644--- a/scripts/dev-runner.mjs+++ b/scripts/dev-runner.mjs@@ -154,12 +154,13 @@ export function parseDevRunnerArgs(rawArgs) {function resolveStateDir(env, envOverrides) {const overrideValue = envOverrides?.T3CODE_STATE_DIR?.trim();if (overrideValue) {- return overrideValue;+ // Resolve relative paths against cwd (monorepo root) before turbo changes directories+ return path.resolve(overrideValue);}const envValue = env?.T3CODE_STATE_DIR?.trim();if (envValue) {- return envValue;+ return path.resolve(envValue);}return DEFAULT_DEV_STATE_DIR;