Commit graph

13 commits

Author SHA1 Message Date
bdacbab140 chore: Revert default log level to info 2026-01-27 18:45:01 -03:00
2faf16a68d chore: Set default internal log level to trace 2026-01-27 18:38:34 -03:00
3def319f58 Update app logic 2026-01-24 22:06:09 -03:00
07c57b43ff chore: minor cleanup 2026-01-10 17:32:15 -03:00
879f94a257 Add safe_command module and update desktop sync, tray, and PROMPT.md 2026-01-08 13:16:02 -03:00
bc875b511f Update drive, sync, and tray modules 2025-12-24 09:29:25 -03:00
20232432c6 Update dependencies and desktop components 2025-12-23 15:51:50 -03:00
9f641d3504 Update botapp 2025-12-21 23:40:38 -03:00
a5cde031a1 refactor: integrate TrayManager with Tauri commands, zero dead code 2025-12-20 19:58:11 -03:00
1547199142 fix: resolve warnings 2025-12-17 17:43:33 -03:00
d612ca0e9c Add rclone sync for desktop, rename docs chapters, clarify admin/user views
Desktop Sync (botapp):
- Add src/desktop/sync.rs with rclone-based file synchronization
- Support Push, Pull, and Bisync modes
- Commands: get_sync_status, start_sync, stop_sync, configure_remote
- Check rclone installation, list remotes, manage sync folder
- Register all sync commands in Tauri invoke handler

Server (botserver):
- Update /files/sync/* endpoints to indicate desktop-only feature
- Add is_desktop and message fields to SyncStatus struct
- Web users see clear message that sync requires desktop app

Documentation (botbook):
- Rename chapter-09-api -> chapter-09-tools (LLM Tools)
- Rename chapter-10-api -> chapter-10-rest (REST Endpoints)
- Add admin-user-views.md explaining User vs Admin interfaces
- Document all /api/user/* and /api/admin/* endpoint patterns
- Update Drive docs with sync feature and requirements
- Fix all cross-references to renamed chapters

Deferred: Billing APIs (Dec 1, 2024 placeholder remains)
2025-12-05 06:50:32 -03:00
3e4616dce1 Use HTMX for app-guides, fix warnings
- Rewrote local-files.html to use HTMX instead of vanilla JS
- Rewrote native-settings.html to use HTMX with CSS-only toggles
- Added allow(dead_code) for tray.rs (prepared for future use)
- Minimal JS approach: all interactions via hx-* attributes
2025-12-04 09:21:19 -03:00
64e11506a2 Initial botapp - Tauri wrapper for General Bots
This crate wraps botui (pure web UI) with Tauri for desktop/mobile:
- Native file system access via Tauri commands
- System tray integration (prepared)
- App-specific guides injected at runtime
- Desktop settings and configuration

Architecture:
- botui: Pure web UI (no Tauri deps)
- botapp: Tauri wrapper that loads botui's suite

Files:
- src/desktop/drive.rs: File system commands
- src/desktop/tray.rs: System tray (prepared)
- js/app-extensions.js: Injects app guides into suite
- ui/app-guides/: App-only HTML content
2025-12-04 09:02:10 -03:00