ollie/kde/kate
Levi Neely 8a1efe0907 session: require cwd, make agent cwd read-only, sanitize message history
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.
2026-08-17 14:15:55 +02:00
..
metadata.json Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ollie_ghost.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ollie_ghost.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ollie_kate.cpp session: require cwd, make agent cwd read-only, sanitize message history 2026-08-17 14:15:55 +02:00
ollie_kate.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00