Files
Teknium 065f5abbb3 fix(terminal): parse cwd markers without publishing them; keep the fallback notice out of truncation
Background polls run from '/' on the shared environment: _update_cwd wrote
self.cwd from their marker and execute() restored it afterwards, so a
concurrent file op could resolve a relative path against '/' (and the restore
could clobber a concurrent cd). Marker parsing now only fills the result;
self.cwd is assigned only when the command may move the session.

The cwd-fallback line leads the stream, so a small tool_output.max_bytes or a
timeout could cut or drop it. The output collector now strips it before the
head/tail window applies.
065f5abbb3 · 2026-11-17 10:29:07 -08:00
History
..
…
…