2025-10-06 10:30:17 -03:00
|
|
|
[package]
|
2025-10-06 14:55:04 -03:00
|
|
|
name = "botserver"
|
2026-01-25 10:29:54 -03:00
|
|
|
version = "6.2.0"
|
2025-10-06 10:30:17 -03:00
|
|
|
edition = "2021"
|
2026-01-19 15:43:45 -03:00
|
|
|
resolver = "2"
|
2025-10-06 10:30:17 -03:00
|
|
|
|
2025-12-03 19:59:27 -03:00
|
|
|
[dependencies.botlib]
|
2026-01-23 09:37:42 -03:00
|
|
|
workspace = true
|
2026-01-19 15:43:45 -03:00
|
|
|
features = ["database", "i18n"]
|
2025-12-03 19:59:27 -03:00
|
|
|
|
2025-10-06 10:30:17 -03:00
|
|
|
[features]
|
2026-01-23 13:41:02 -03:00
|
|
|
# ===== DEFAULT =====
|
2026-02-04 13:29:29 -03:00
|
|
|
default = ["chat", "automation", "drive", "tasks", "cache", "directory", "llm", "crawler"]
|
2026-01-23 13:14:20 -03:00
|
|
|
|
2026-01-23 13:46:10 -03:00
|
|
|
# ===== CORE INFRASTRUCTURE (Can be used standalone) =====
|
2026-01-24 22:04:47 -03:00
|
|
|
scripting = ["dep:rhai"]
|
|
|
|
|
automation = ["scripting", "dep:cron"]
|
2026-01-23 13:41:02 -03:00
|
|
|
drive = ["dep:aws-config", "dep:aws-sdk-s3", "dep:aws-smithy-async", "dep:pdf-extract"]
|
|
|
|
|
cache = ["dep:redis"]
|
|
|
|
|
directory = []
|
2026-02-04 13:29:29 -03:00
|
|
|
crawler = ["drive", "cache"]
|
2025-11-22 01:27:29 -03:00
|
|
|
|
2026-01-23 13:46:10 -03:00
|
|
|
# ===== APPS (Each includes what it needs from core) =====
|
2026-01-23 13:41:02 -03:00
|
|
|
# Communication
|
2026-01-23 13:46:10 -03:00
|
|
|
chat = ["automation", "drive", "cache"]
|
|
|
|
|
people = ["automation", "drive", "cache"]
|
2026-01-25 08:42:36 -03:00
|
|
|
mail = ["automation", "drive", "cache", "dep:lettre", "dep:mailparse", "dep:imap"]
|
|
|
|
|
meet = ["automation", "drive", "cache"]
|
2026-01-23 13:46:10 -03:00
|
|
|
social = ["automation", "drive", "cache"]
|
2025-10-16 16:49:23 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Productivity
|
2026-01-23 13:46:10 -03:00
|
|
|
calendar = ["automation", "drive", "cache"]
|
|
|
|
|
tasks = ["automation", "drive", "cache", "dep:cron"]
|
|
|
|
|
project = ["automation", "drive", "cache", "quick-xml"]
|
|
|
|
|
goals = ["automation", "drive", "cache"]
|
|
|
|
|
workspaces = ["automation", "drive", "cache"]
|
|
|
|
|
tickets = ["automation", "drive", "cache"]
|
|
|
|
|
billing = ["automation", "drive", "cache"]
|
2026-01-16 11:29:22 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Documents
|
2026-01-23 13:46:10 -03:00
|
|
|
docs = ["automation", "drive", "cache", "docx-rs", "ooxmlsdk"]
|
2026-01-25 08:42:36 -03:00
|
|
|
sheet = ["automation", "drive", "cache", "calamine", "dep:rust_xlsxwriter", "dep:umya-spreadsheet"]
|
2026-01-23 13:46:10 -03:00
|
|
|
slides = ["automation", "drive", "cache", "ooxmlsdk"]
|
|
|
|
|
paper = ["automation", "drive", "cache"]
|
2026-01-16 11:29:22 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Media
|
2026-01-23 13:46:10 -03:00
|
|
|
video = ["automation", "drive", "cache"]
|
|
|
|
|
player = ["automation", "drive", "cache"]
|
|
|
|
|
canvas = ["automation", "drive", "cache"]
|
2026-01-16 11:29:22 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Learning
|
2026-02-04 13:29:29 -03:00
|
|
|
learn = ["automation", "drive", "cache", "crawler"]
|
2026-01-23 13:46:10 -03:00
|
|
|
research = ["automation", "drive", "cache", "llm", "vectordb"]
|
|
|
|
|
sources = ["automation", "drive", "cache"]
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Analytics
|
2026-01-23 13:46:10 -03:00
|
|
|
analytics = ["automation", "drive", "cache"]
|
|
|
|
|
dashboards = ["automation", "drive", "cache"]
|
|
|
|
|
monitoring = ["automation", "drive", "cache", "dep:sysinfo"]
|
2026-01-16 11:29:22 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Development
|
2026-01-23 13:46:10 -03:00
|
|
|
designer = ["automation", "drive", "cache"]
|
|
|
|
|
editor = ["automation", "drive", "cache"]
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# Admin
|
2026-01-23 13:46:10 -03:00
|
|
|
attendant = ["automation", "drive", "cache"]
|
|
|
|
|
security = ["automation", "drive", "cache"]
|
|
|
|
|
settings = ["automation", "drive", "cache"]
|
2026-01-23 13:14:20 -03:00
|
|
|
|
2026-01-24 22:04:47 -03:00
|
|
|
whatsapp = ["automation", "drive", "cache"]
|
|
|
|
|
telegram = ["automation", "drive", "cache"]
|
|
|
|
|
instagram = ["automation", "drive", "cache"]
|
|
|
|
|
msteams = ["automation", "drive", "cache"]
|
2026-01-23 13:41:02 -03:00
|
|
|
# Core Tech
|
2026-01-23 13:46:10 -03:00
|
|
|
llm = ["automation", "drive", "cache"]
|
|
|
|
|
vectordb = ["automation", "drive", "cache", "dep:qdrant-client"]
|
|
|
|
|
nvidia = ["automation", "drive", "cache"]
|
|
|
|
|
compliance = ["automation", "drive", "cache", "dep:csv"]
|
|
|
|
|
timeseries = ["automation", "drive", "cache"]
|
|
|
|
|
weba = ["automation", "drive", "cache"]
|
|
|
|
|
progress-bars = ["automation", "drive", "cache", "dep:indicatif"]
|
|
|
|
|
grpc = ["automation", "drive", "cache"]
|
|
|
|
|
jemalloc = ["automation", "drive", "cache", "dep:tikv-jemallocator", "dep:tikv-jemalloc-ctl"]
|
|
|
|
|
console = ["automation", "drive", "cache", "dep:crossterm", "dep:ratatui"]
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-23 13:41:02 -03:00
|
|
|
# ===== BUNDLES (Optional - for convenience) =====
|
2026-01-23 13:46:10 -03:00
|
|
|
minimal = ["chat"]
|
|
|
|
|
lightweight = ["chat", "tasks", "people"]
|
2026-01-23 13:41:02 -03:00
|
|
|
full = ["chat", "people", "mail", "tasks", "calendar", "drive", "docs", "llm", "cache", "compliance"]
|
2026-02-05 11:46:32 -03:00
|
|
|
embed-ui = ["dep:rust-embed"]
|
2025-11-22 01:27:29 -03:00
|
|
|
|
2025-10-06 10:30:17 -03:00
|
|
|
[dependencies]
|
2026-01-23 09:37:42 -03:00
|
|
|
diesel_migrations = { workspace = true }
|
|
|
|
|
bigdecimal = { workspace = true }
|
|
|
|
|
|
2026-01-19 15:43:45 -03:00
|
|
|
# === CORE RUNTIME ===
|
2026-01-23 09:37:42 -03:00
|
|
|
aes-gcm = { workspace = true }
|
|
|
|
|
anyhow = { workspace = true }
|
|
|
|
|
argon2 = { workspace = true }
|
|
|
|
|
async-trait = { workspace = true }
|
|
|
|
|
axum = { workspace = true }
|
|
|
|
|
axum-server = { workspace = true }
|
|
|
|
|
base64 = { workspace = true }
|
|
|
|
|
chrono = { workspace = true, features = ["clock", "std"] }
|
|
|
|
|
color-eyre = { workspace = true }
|
2026-01-23 13:14:20 -03:00
|
|
|
diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2", "numeric", "32-column-tables"] }
|
2026-01-23 09:37:42 -03:00
|
|
|
dirs = { workspace = true }
|
|
|
|
|
dotenvy = { workspace = true }
|
|
|
|
|
futures = { workspace = true }
|
|
|
|
|
futures-util = { workspace = true }
|
|
|
|
|
hex = { workspace = true }
|
|
|
|
|
hmac = { workspace = true }
|
|
|
|
|
log = { workspace = true }
|
|
|
|
|
num-format = { workspace = true }
|
|
|
|
|
once_cell = { workspace = true }
|
|
|
|
|
rand = { workspace = true }
|
|
|
|
|
regex = { workspace = true }
|
|
|
|
|
reqwest = { workspace = true, features = ["rustls-tls", "multipart", "stream", "json"] }
|
|
|
|
|
serde = { workspace = true, features = ["derive", "std"] }
|
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
toml = { workspace = true }
|
|
|
|
|
sha2 = { workspace = true }
|
|
|
|
|
sha1 = { workspace = true }
|
|
|
|
|
tokio = { workspace = true, features = ["full", "process"] }
|
|
|
|
|
tower-http = { workspace = true, features = ["cors", "fs", "trace"] }
|
|
|
|
|
tracing = { workspace = true }
|
|
|
|
|
urlencoding = { workspace = true }
|
|
|
|
|
uuid = { workspace = true, features = ["v4", "v5"] }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2025-11-29 16:29:28 -03:00
|
|
|
# === TLS/SECURITY DEPENDENCIES ===
|
2026-01-23 09:37:42 -03:00
|
|
|
rustls = { workspace = true, features = ["ring", "std", "tls12"] }
|
|
|
|
|
tokio-rustls = { workspace = true }
|
|
|
|
|
rcgen = { workspace = true, features = ["crypto", "ring", "pem"] }
|
|
|
|
|
x509-parser = { workspace = true }
|
|
|
|
|
ring = { workspace = true }
|
|
|
|
|
ciborium = { workspace = true }
|
|
|
|
|
time = { workspace = true, features = ["formatting"] }
|
|
|
|
|
jsonwebtoken = { workspace = true }
|
2025-11-29 16:29:28 -03:00
|
|
|
|
2026-01-16 11:29:22 -03:00
|
|
|
# === APP-SPECIFIC DEPENDENCIES ===
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-19 15:43:45 -03:00
|
|
|
# mail Integration (mail feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
imap = { workspace = true, optional = true }
|
|
|
|
|
lettre = { workspace = true, optional = true }
|
|
|
|
|
mailparse = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# Vector Database (vectordb feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
qdrant-client = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-19 15:43:45 -03:00
|
|
|
# Document Processing
|
2026-01-23 09:37:42 -03:00
|
|
|
docx-rs = { workspace = true, optional = true }
|
2026-01-24 22:04:47 -03:00
|
|
|
ooxmlsdk = { workspace = true, optional = true, features = ["parts"] }
|
2026-01-23 09:37:42 -03:00
|
|
|
calamine = { workspace = true, optional = true }
|
2026-01-24 22:04:47 -03:00
|
|
|
rust_xlsxwriter = { workspace = true, optional = true }
|
|
|
|
|
umya-spreadsheet = { workspace = true, optional = true }
|
2026-01-16 11:29:22 -03:00
|
|
|
|
2025-11-22 22:54:45 -03:00
|
|
|
# File Storage & Drive (drive feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
aws-config = { workspace = true, features = ["behavior-version-latest", "rt-tokio", "rustls"], optional = true }
|
|
|
|
|
aws-sdk-s3 = { workspace = true, features = ["rt-tokio", "rustls"], optional = true }
|
|
|
|
|
aws-smithy-async = { workspace = true, optional = true }
|
|
|
|
|
pdf-extract = { workspace = true, optional = true }
|
|
|
|
|
quick-xml = { workspace = true, optional = true }
|
|
|
|
|
flate2 = { workspace = true }
|
|
|
|
|
zip = { workspace = true }
|
|
|
|
|
tar = { workspace = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# Task Management (tasks feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
cron = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# Automation & Scripting (automation feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
rhai = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# Compliance & Reporting (compliance feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
csv = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# Console/TUI (console feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
crossterm = { workspace = true, optional = true }
|
|
|
|
|
ratatui = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2026-01-16 11:29:22 -03:00
|
|
|
# QR Code Generation
|
2026-01-23 09:37:42 -03:00
|
|
|
png = { workspace = true }
|
|
|
|
|
qrcode = { workspace = true }
|
2025-11-30 22:33:54 -03:00
|
|
|
|
|
|
|
|
# Error handling
|
2026-01-23 09:37:42 -03:00
|
|
|
thiserror = { workspace = true }
|
2025-11-30 22:33:54 -03:00
|
|
|
|
2025-12-05 12:09:02 -03:00
|
|
|
# Caching/Sessions (cache feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
redis = { workspace = true, features = ["tokio-comp"], optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# System Monitoring (monitoring feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
sysinfo = { workspace = true, optional = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
|
|
|
|
# UI Enhancement (progress-bars feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
indicatif = { workspace = true, optional = true }
|
|
|
|
|
smartstring = { workspace = true }
|
Fix tasks UI, WebSocket progress, memory monitoring, and app generator
Tasks UI fixes:
- Fix task list to query auto_tasks table instead of tasks table
- Fix task detail endpoint to use UUID binding for auto_tasks query
- Add proper filter handling: complete, active, awaiting, paused, blocked
- Add TaskStats fields: awaiting, paused, blocked, time_saved
- Add /api/tasks/time-saved endpoint
- Add count-all to stats HTML response
App generator improvements:
- Add AgentActivity struct for detailed terminal-style progress
- Add emit_activity method for rich progress events
- Add detailed logging for LLM calls with timing
- Track files_written, tables_synced, bytes_generated
Memory and performance:
- Add memory_monitor module for tracking RSS and thread activity
- Skip 0-byte files in drive monitor and document processor
- Change DRIVE_MONITOR checking logs from info to trace
- Remove unused profile_section macro
WebSocket progress:
- Ensure TaskProgressEvent includes activity field
- Add with_activity builder method
2025-12-30 22:42:32 -03:00
|
|
|
|
|
|
|
|
# Memory allocator (jemalloc feature)
|
2026-01-23 09:37:42 -03:00
|
|
|
tikv-jemallocator = { workspace = true, optional = true }
|
|
|
|
|
tikv-jemalloc-ctl = { workspace = true, optional = true }
|
|
|
|
|
scopeguard = { workspace = true }
|
2025-11-22 22:54:45 -03:00
|
|
|
|
2025-12-03 22:23:30 -03:00
|
|
|
# Vault secrets management
|
2026-01-23 09:37:42 -03:00
|
|
|
vaultrs = { workspace = true }
|
2025-12-03 22:23:30 -03:00
|
|
|
|
|
|
|
|
# Calendar standards (RFC 5545)
|
2026-01-23 09:37:42 -03:00
|
|
|
icalendar = { workspace = true }
|
2025-12-03 22:23:30 -03:00
|
|
|
|
|
|
|
|
# Rate limiting
|
2026-01-23 09:37:42 -03:00
|
|
|
governor = { workspace = true }
|
2025-12-03 22:23:30 -03:00
|
|
|
|
Bootstrap started! 6.1.0
- Add rss and scraper dependencies for web data keywords
- Add SMS keyword with priority support (low, normal, high, urgent)
- Add web_data keywords: RSS, SCRAPE, SCRAPE_ALL, SCRAPE_TABLE, SCRAPE_LINKS, SCRAPE_IMAGES
- Add ai_tools keywords: TRANSLATE, OCR, SENTIMENT, CLASSIFY
- Improve LLM server health check with better diagnostics and increased timeout
- Fix compilation errors and warnings
- Register SMS keywords in BASIC engine
2025-12-10 18:22:02 -03:00
|
|
|
# RSS feed parsing
|
2026-01-23 09:37:42 -03:00
|
|
|
rss = { workspace = true }
|
Bootstrap started! 6.1.0
- Add rss and scraper dependencies for web data keywords
- Add SMS keyword with priority support (low, normal, high, urgent)
- Add web_data keywords: RSS, SCRAPE, SCRAPE_ALL, SCRAPE_TABLE, SCRAPE_LINKS, SCRAPE_IMAGES
- Add ai_tools keywords: TRANSLATE, OCR, SENTIMENT, CLASSIFY
- Improve LLM server health check with better diagnostics and increased timeout
- Fix compilation errors and warnings
- Register SMS keywords in BASIC engine
2025-12-10 18:22:02 -03:00
|
|
|
|
|
|
|
|
# HTML parsing/web scraping
|
2026-01-23 09:37:42 -03:00
|
|
|
scraper = { workspace = true }
|
|
|
|
|
walkdir = { workspace = true }
|
2026-01-10 09:41:12 -03:00
|
|
|
|
2026-01-18 19:53:34 -03:00
|
|
|
# Embedded static files
|
2026-02-05 11:46:32 -03:00
|
|
|
rust-embed = { workspace = true, optional = true }
|
Bootstrap started! 6.1.0
- Add rss and scraper dependencies for web data keywords
- Add SMS keyword with priority support (low, normal, high, urgent)
- Add web_data keywords: RSS, SCRAPE, SCRAPE_ALL, SCRAPE_TABLE, SCRAPE_LINKS, SCRAPE_IMAGES
- Add ai_tools keywords: TRANSLATE, OCR, SENTIMENT, CLASSIFY
- Improve LLM server health check with better diagnostics and increased timeout
- Fix compilation errors and warnings
- Register SMS keywords in BASIC engine
2025-12-10 18:22:02 -03:00
|
|
|
|
2025-11-22 22:54:45 -03:00
|
|
|
[dev-dependencies]
|
2026-01-23 09:37:42 -03:00
|
|
|
mockito = { workspace = true }
|
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
|
bigdecimal = { workspace = true }
|
2025-10-26 00:02:19 -03:00
|
|
|
|
2026-01-23 09:37:42 -03:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|