Changed
- 🗂️ Per-session working directory — replaced the process-global
os.chdir()with an in-memory, session-aware dictionary keyed byX-Session-Idheader. Multiple concurrent chat sessions now maintain independent working directories.GET/POST /files/cwd,POST /execute, andPOST /api/terminalsall read the header to resolve the correct cwd. Sessions without a header fall back tofs.home. Entries expire after 7 days of inactivity (sliding TTL), configurable viaOPEN_TERMINAL_SESSION_CWD_TTL(orsession_cwd_ttlin config.toml).