diff --git a/README.md b/README.md index 9bf66a7..167a945 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,19 @@ KDE-native integration for [ollie](../README.md) — thin KDE clients (GUI appli ## Architecture ``` -┌──────────────────────────────────────────────────────────────┐ -│ Plasma Desktop │ -│ GUI App │ KRunner │ Kate Plugin │ Dolphin │ Plasmoid │ -└──────────────────────────┬───────────────────────────────────┘ - │ 9P filesystem (ollie-9p transport) - │ - ┌────────────────┴────────────────┐ - │ │ -┌─────────┴──────────┐ ┌───────────┴──────────────────┐ -│ olliesrv (../9p) │ │ ollie-9p (../cmd/ollie-9p) │ -│ 9P server │ │ 9P client + transport │ -│ Go │ lib9p │ │ Go │ lib9p │ -└────────────────────┘ └──────────────────────────────┘ +┌─────────────────────────────────────────────────────┐ +│ Plasma Desktop │ +│ GUI App │ KRunner │ Kate Plugin │ Dolphin │ +└─────────────────────────┬───────────────────────────┘ + │ 9P filesystem (ollie-9p transport) + │ + ┌───────────────┴───────────────┐ + │ │ +┌─────────┴─────────┐ ┌─────────────┴────────────────┐ +│ olliesrv (../9p)│ │ ollie-9p (../cmd/ollie-9p) │ +│ 9P server │ │ 9P client + transport │ +│ Go │ lib9p │ │ Go │ lib9p │ +└───────────────────┘ └──────────────────────────────┘ ``` All KDE components use the 9P filesystem directly via `ollie-9p` subprocess calls. **No D-Bus dependency** — the architecture is fully 9P-based. @@ -27,7 +27,6 @@ All KDE components use the 9P filesystem directly via `ollie-9p` subprocess call - **ollie-gui** — Main Qt/QML GUI application with session management and chat interface - **krunner_ollie.so** — KRunner plugin for quick prompts and session management - **ollie_kate.so** — Kate plugin with integrated chat panel and editor integration -- **Plasmoid** — Desktop widget for session monitoring and quick access - **Dolphin service menus** — Right-click actions for files and directories **Note**: No system tray component exists (old documentation was incorrect). @@ -36,7 +35,6 @@ All KDE components use the 9P filesystem directly via `ollie-9p` subprocess call - Qt 6 (Core, Widgets, Quick, QuickControls2) or Qt 5 (Core, Widgets, Quick, Qml, QuickControls2) - KDE Frameworks 6 (Runner, CoreAddons, Config, TextEditor, SyntaxHighlighting) or KF5 equivalents -- Plasma 6 or Plasma 5 (for Plasmoid) - ECM (Extra CMake Modules) - libollie9p.so (from `../lib9p/`) @@ -56,8 +54,6 @@ Outputs: - `build-cmake/ollie-gui` — main GUI application - `build-cmake/lib/kf6/krunner/krunner_ollie.so` — KRunner plugin - `build-cmake/lib/kf6/ktexteditor/ollie_kate.so` — Kate plugin -- `build-cmake/lib/libollie-plasmoid-plugin.so` — Plasmoid QML plugin -- `build-cmake/org/ollie/private/ollie-plasmoid-pluginplugin.so` — Plasmoid plugin loader ## Install @@ -116,14 +112,6 @@ Enable the "Ollie" plugin in Settings → Configure Kate → Plugins. Panel appe - Live-streaming chat view - Editor integration (inline annotations, code block application, ghost text completion) -### Plasmoid - -Add the "Ollie" widget to your panel or desktop: -- Session list with state indicators -- Live chat view with auto-scroll -- Inline prompt input -- Real-time updates via 9P polling - ## File Layout ``` @@ -151,10 +139,6 @@ ollie-kde/ │ ├── chat_renderer.h/cpp # Chat rendering engine │ ├── ktexteditor_utils.h # Editor utilities │ └── diffparams.h # Diff viewer parameters -├── plasmoid/ -│ ├── plugin/ -│ │ └── olliedbusclient.h/cpp # QML singleton (9P client - misnamed) -│ └── contents/ui/main.qml # Plasmoid QML interface ├── dolphin/ │ ├── ollie-actions.desktop # Service menu entries (KF6) │ ├── ollie-actions-kf5.desktop # Service menu entries (KF5) diff --git a/justfile b/justfile index c15e82b..b34a8d3 100644 --- a/justfile +++ b/justfile @@ -51,14 +51,12 @@ clean: uninstall: @echo '=== Uninstalling ollie-kde (KF6) ===' - rm -f ~/.local/bin/ollie-tray ~/.local/bin/ollie-gui + rm -f ~/.local/bin/ollie-gui rm -f ~/.local/bin/ollie-ask ~/.local/bin/ollie-session-here rm -f ~/.local/share/applications/org.ollie.gui.desktop rm -f ~/.local/share/icons/hicolor/scalable/apps/ollie.svg rm -f ~/.local/lib64/qt6/plugins/kf6/krunner/krunner_ollie.so rm -f ~/.local/lib64/qt6/plugins/ktexteditor/ollie_kate.so - rm -rf ~/.local/share/plasma/plasmoids/org.ollie.plasmoid - rm -rf ~/.local/lib64/qml/org/ollie rm -f ~/.local/share/kio/servicemenus/ollie-actions.desktop rm -f ~/.config/plasma-workspace/env/99-ollie.sh kquitapp6 krunner 2>/dev/null; true @@ -66,16 +64,13 @@ uninstall: uninstall-kf5: @echo '=== Uninstalling ollie-kde (KF5) ===' - rm -f ~/.local/bin/ollie-tray ~/.local/bin/ollie-gui + rm -f ~/.local/bin/ollie-gui rm -f ~/.local/bin/ollie-ask ~/.local/bin/ollie-session-here rm -f ~/.local/share/applications/org.ollie.gui.desktop rm -f ~/.local/share/icons/hicolor/scalable/apps/ollie.svg + rm -f ~/.local/lib/qt5/plugins/kf5/krunner/krunner_ollie.so + rm -f ~/.local/lib/qt5/plugins/ktexteditor/ollie_kate.so rm -f ~/.local/share/kio/servicemenus/ollie-actions.desktop - rm -f ~/.local/lib/q5/plugins/kf5/krunner/krunner_ollie.so - rm -f ~/.local/lib/q5/plugins/ktexteditor/ollie_kate.so - rm -rf ~/.local/share/plasma/plasmoids/org.ollie.plasmoid - rm -f ~/.local/share/metainfo/org.ollie.plasmoid.appdata.xml - rm -rf ~/.local/lib/x86_64-linux-gnu/qml/org/ollie rm -f ~/.config/plasma-workspace/env/99-ollie-kf5.sh kquitapp5 krunner 2>/dev/null; true @echo '=== KDE KF5 uninstall complete ===' \ No newline at end of file