2025-12-04 09:02:10 -03:00
|
|
|
[package]
|
|
|
|
|
name = "botapp"
|
|
|
|
|
version = "6.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
description = "General Bots App - Tauri wrapper for desktop/mobile"
|
|
|
|
|
license = "AGPL-3.0"
|
2025-12-21 23:40:38 -03:00
|
|
|
repository = "https://github.com/GeneralBots/BotServer"
|
|
|
|
|
keywords = ["bot", "ai", "chatbot", "tauri", "desktop"]
|
|
|
|
|
categories = ["gui", "network-programming"]
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# Core from botlib
|
2026-01-23 09:37:38 -03:00
|
|
|
botlib = { workspace = true, features = ["http-client"] }
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
# Tauri
|
2026-01-24 22:06:09 -03:00
|
|
|
tauri = { workspace = true, features = ["tray-icon", "image"] }
|
2026-01-23 09:37:38 -03:00
|
|
|
tauri-plugin-dialog = { workspace = true }
|
|
|
|
|
tauri-plugin-opener = { workspace = true }
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
# Common
|
2026-01-23 09:37:38 -03:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
|
|
|
dirs = { workspace = true }
|
|
|
|
|
log = { workspace = true }
|
|
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2026-01-24 22:06:09 -03:00
|
|
|
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
|
2025-12-04 09:02:10 -03:00
|
|
|
|
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
|
|
|
# Unix process control
|
2025-12-04 09:02:10 -03:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2026-01-23 09:37:38 -03:00
|
|
|
libc = { workspace = true }
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2026-01-23 09:37:38 -03:00
|
|
|
image = { workspace = true }
|
|
|
|
|
thiserror = { workspace = true }
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = ["desktop"]
|
2026-01-24 22:06:09 -03:00
|
|
|
desktop = ["desktop-tray"]
|
|
|
|
|
desktop-tray = []
|
2025-12-04 09:02:10 -03:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
2026-01-23 09:37:38 -03:00
|
|
|
tauri-build = { workspace = true }
|
2025-12-21 23:40:38 -03:00
|
|
|
|
2025-12-23 15:51:50 -03:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|