rowboat/apps/x/packages
Ramnique Singh 3b6c30fac9 fix(x): blank tool paths error instead of resolving to the process cwd
tools/paths.ts' lenient expandHome passed blank input through, and
both call sites feed the result to path.resolve — so a model calling
code_agent_run with cwd: '' spawned the coding agent in the Electron
process cwd, and resolveCodeProject('') could register that cwd (a
real, existing directory) as a code project.

The 'lenient variant' turns out to be filesystem/files.ts'
expandHomePath minus exactly this guard, so this deletes tools/
paths.ts and exports the filesystem one instead of keeping a third
variant. A blank path now surfaces as a clear tool error ('Path is
required') the model can react to. Also drops the stray
resolveCodeProject comment the extraction left in paths.ts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:47:15 +05:30
..
core fix(x): blank tool paths error instead of resolving to the process cwd 2026-07-10 16:47:15 +05:30
shared ci(x): typecheck test files — the gap vitest and the build tsconfigs both miss 2026-07-10 16:30:26 +05:30