ollie/kde/gui
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
..
ChatBlockDelegate.qml Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ChatPane.qml fix GUI dialog contrast and focus behavior 2026-08-16 23:55:43 +02:00
GoalDialog.qml Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
NewAgentDialog.qml session: require cwd, make agent cwd read-only, sanitize message history 2026-08-17 14:15:55 +02:00
NewSessionDialog.qml session: require cwd, make agent cwd read-only, sanitize message history 2026-08-17 14:15:55 +02:00
SessionTree.qml Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
SettingsDialog.qml fix GUI dialog contrast and focus behavior 2026-08-16 23:55:43 +02:00
chatblockmodel.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
chatblockmodel.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
clipboardhelper.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
clipboardhelper.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
lib9pclient.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
lib9pclient.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
main.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
main.qml Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
nativestreamer.cpp Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
nativestreamer.h Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ollie.svg Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
ollie9pclient.cpp session: require cwd, make agent cwd read-only, sanitize message history 2026-08-17 14:15:55 +02:00
ollie9pclient.h session: require cwd, make agent cwd read-only, sanitize message history 2026-08-17 14:15:55 +02:00
org.ollie.gui.desktop Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
qml.qrc Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
sessionmodel.cpp Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
sessionmodel.h Split session/idx and agent/idx, fix sub-agent tree display 2026-08-17 13:03:26 +02:00
thememanager.cpp fix GUI dialog contrast and focus behavior 2026-08-16 23:55:43 +02:00
thememanager.h fix GUI dialog contrast and focus behavior 2026-08-16 23:55:43 +02:00