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)
44 lines
1,015 B
TOML
44 lines
1,015 B
TOML
[package]
|
|
name = "botapp"
|
|
version = "6.1.0"
|
|
edition = "2021"
|
|
description = "General Bots App - Tauri wrapper for desktop/mobile"
|
|
license = "AGPL-3.0"
|
|
|
|
[dependencies]
|
|
# Core from botlib
|
|
botlib = { path = "../botlib", features = ["http-client"] }
|
|
|
|
# Tauri
|
|
tauri = { version = "2", features = ["unstable"] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-opener = "2"
|
|
|
|
# Common
|
|
anyhow = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
dirs = "6.0"
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.41", features = ["full"] }
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
|
|
# Unix process control
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
ksni = { version = "0.2", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
trayicon = { version = "0.2", optional = true }
|
|
image = "0.25"
|
|
thiserror = "2.0"
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
desktop = []
|
|
desktop-tray = ["dep:ksni", "dep:trayicon"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = "2"
|