Session creation now requires cwd= parameter (no fallback to daemon cwd). Agent cwd is read-only — agents inherit from session, cannot override. Frontends updated: - NewSessionDialog: added Directory field with Browse button - NewAgentDialog: removed Directory field - createAgent(): removed cwd parameter - Kate plugin: passes cwd when creating kate session - Dolphin: removed cwd from agent/new call Message history sanitization (backend.SanitizeMessages): - Removes dangling tool calls (assistant with ToolCalls but missing results) - Removes orphan tool results (tool message without preceding call) - Applied before sub-agent context inheritance - Applied before session persistence save - Applied after compaction (defensive) Includes unit tests for all sanitization cases. |
||
|---|---|---|
| .. | ||
| metadata.json | ||
| ollie_ghost.cpp | ||
| ollie_ghost.h | ||
| ollie_kate.cpp | ||
| ollie_kate.h | ||