fix(auto-prompts): add missing join import from node:path
auto-prompts.js called `join(base, ...)` in 11 places but only imported `basename` from node:path. Crashed autonomous mode every iteration with ReferenceError: join is not defined — observed in dr repo, 3 consecutive iteration failures triggered the hard stop. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a3b68bb269
commit
ccdf530488
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* utility.
|
||||
*/
|
||||
import { existsSync } from "node:fs";
|
||||
import { basename } from "node:path";
|
||||
import { basename, join } from "node:path";
|
||||
import { getLoadedSkills } from "@singularity-forge/coding-agent";
|
||||
import { getAutoSession } from "./auto/session.js";
|
||||
import { buildExtractionStepsBlock } from "./commands-extract-learnings.js";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue