44e1281b63
ci: fix swap setup and optimize release build for low memory
2025-12-18 17:14:36 -03:00
57bf5b8754
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
...
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
ff73f0b4c6
CI: add swap and staged build to prevent OOM
2025-12-18 14:08:47 -03:00
49b2886614
Add rotate-secret and rotate-secrets commands for credential rotation
2025-12-18 11:20:31 -03:00
f4d2172366
Add version --all command
2025-12-18 11:06:19 -03:00
cb921c60f9
CI: reduce codegen-units to 1 to prevent OOM
2025-12-18 10:41:33 -03:00
952a822e1d
Add vault CLI commands for secret migration
2025-12-18 09:40:16 -03:00
0f8e8ceab8
CI: add libpq-dev for PostgreSQL linking
2025-12-17 22:40:45 -03:00
db9e1b875c
CI: use debug build for fastest compilation
2025-12-17 22:01:11 -03:00
f59283cbb8
CI profile: disable LTO, 16 codegen units for max speed
2025-12-17 22:00:38 -03:00
355708e7cd
Use CI profile: thin LTO + 4 codegen units for faster builds
2025-12-17 21:59:52 -03:00
b5da997c6d
Reduce memory usage in CI: limit parallel jobs
2025-12-17 21:56:28 -03:00
848a933a84
Disable botserver-bundle workflow
2025-12-17 20:44:01 -03:00
cf645a1168
fix: remove unused error import
2025-12-17 18:38:34 -03:00
6bc6a35948
fix: resolve all warnings - wire up services properly
2025-12-17 17:41:37 -03:00
8405f1cfbb
Fix warnings: add Debug derive, prefix unused vars
2025-12-17 11:26:58 -03:00
2127118b22
Save build logs to /opt/gbo/logs/
2025-12-16 22:29:29 -03:00
b4c6ac46cb
Add debug output to diagnose silent CI failures
2025-12-16 21:13:12 -03:00
d80af79312
Simplify: build only Linux x86_64 for now
2025-12-16 20:40:40 -03:00
c3bd934395
Fix: use full paths for cargo to work across all build steps
2025-12-16 19:59:05 -03:00
84b8aaa50e
Fix: rename gbserver to botserver, use rustup for Rust install, remove macOS
2025-12-16 19:17:47 -03:00
292c7032ab
Fix: use git clone for dependencies outside workspace
2025-12-16 17:20:36 -03:00
8cfb081eb5
Add checkout of botlib dependency in CI
2025-12-16 17:00:14 -03:00
ef0e7d1b88
Add Cargo caching for faster builds
2025-12-16 16:35:22 -03:00
d0d844994d
Add Forgejo CI workflows - botserver.yaml and botserver-bundle.yaml with cross-platform builds
2025-12-16 13:25:26 -03:00
37c1cee805
Fix: Skip starting components that are already running (minio, valkey)
2025-12-16 10:48:42 -03:00
ac47b89dbd
Update calendar and email modules
2025-12-15 23:16:08 -03:00
f1f0436fdd
Fix vault health check - quote URL to prevent & being interpreted as shell background
2025-12-15 18:04:53 -03:00
562d3cf0e4
Add debug logs to package manager start function
2025-12-15 17:50:03 -03:00
66f340e20a
Fix Vault retry logic - wait up to 20 seconds for vault to start
2025-12-15 17:37:00 -03:00
54af69e761
Fix Vault startup: detect connection refused and start vault properly
2025-12-15 17:32:15 -03:00
7b6b6491a1
Fix: add trace to log imports
2025-12-15 17:14:39 -03:00
cfd251c6e8
Fix Vault startup - add retry logic and auto-restart zombie vault processes
2025-12-15 17:11:47 -03:00
4486e31320
Fix llm-server default to true, convert debug eprintln to trace
2025-12-15 16:33:13 -03:00
02117e2eec
Fix Zitadel masterkey to come from Vault
...
- Add masterkey field to gbo/directory secret in Vault during bootstrap
- Generate random 32-char masterkey if not exists
- Update Zitadel exec_cmd to read masterkey from Vault
- Remove hardcoded masterkey values
2025-12-15 13:56:50 -03:00
37c2db21ef
feat: configurable stack paths and local installer support
...
- Add BOTSERVER_INSTALLERS_PATH env var to use local installers without downloading
- Replace hardcoded ./botserver-stack paths with configurable stack_path
- Add stack_dir() and vault_bin() helper methods in BootstrapManager
- Add Port: 8300 to Zitadel config to fix port binding issue
- Start Directory service before setup_directory() call
- Add SKIP_LLM_SERVER env var to skip local LLM in tests
- Update template loading to check ../bottemplates and botserver-templates paths
2025-12-14 15:58:54 -03:00
bac139d0b3
Add MCP server support via mcp.csv
...
- New mcp_directory.rs: McpCsvLoader to load MCP servers from mcp.csv
- CSV format: name,type,command,args,description,enabled,auth_type,auth_env
- Support for stdio, http, websocket, tcp connection types
- Support for api_key and bearer authentication
- Updated sources/mod.rs with MCP management API endpoints
- New sources/mcp.rs with helper functions
- MCP tools available to Tasks like BASIC keywords
2025-12-13 00:26:49 -03:00
824a8b742e
Lowercase botserver/botbook references
2025-12-12 23:20:42 -03:00
bfc2ca817b
Fix truncated files, implement TODOs, remove all compilation errors and warnings
...
- Complete truncated auto_task.rs, autotask_api.rs, intent_compiler.rs, mcp_client.rs, safety_layer.rs
- Add missing structs: RiskFactor, ResourceUsage, TaskError, RollbackState, TaskSchedule, HealthStatus
- Add missing IntentCompiler methods: call_llm, assess_risks, estimate_resources, check_ambiguity, store_compiled_intent
- Implement SET ATTENDANT STATUS database storage
- Implement queue position calculation in transfer_to_human
- Add llm_tokens to ResourceEstimate
- Fix all unused imports and variables
- Add proper derives (Copy, PartialOrd) where needed
2025-12-12 17:33:11 -03:00
585411d0e9
Update compiler and add goto_transform
2025-12-12 16:39:44 -03:00
42e5855e4f
Add llama.cpp support and embedded config for Orange Pi / Raspberry Pi
2025-12-12 13:46:04 -03:00
fbe9f1856f
Add embedded deployment script for Orange Pi, Raspberry Pi, ARM SBCs
2025-12-12 13:43:40 -03:00
71ab88db4c
docs: Add Auto Task Architecture documentation
2025-12-12 12:35:40 -03:00
65693cdee1
feat: Add Auto Task system - Intent Compiler, MCP Client, Safety Layer
...
- intent_compiler.rs: LLM-to-BASIC translation engine
- auto_task.rs: Auto-executing task data structures
- mcp_client.rs: Model Context Protocol server integration
- safety_layer.rs: Constraints, simulation, audit trail
- autotask_api.rs: HTTP API handlers for Auto Task UI
- Updated mod.rs with new modules and keyword list
2025-12-12 12:33:17 -03:00
7647774339
Move Directory (Zitadel) to port 8300
...
- Directory/Zitadel: 8080 -> 8300
- BotServer API remains on 8080
- Updated all references in bootstrap, installer, oauth, config
2025-12-11 08:43:28 -03:00
3dbd40c4ba
Add missing API endpoints for UI suite screens
...
- src/meet/mod.rs: Add UI-compatible endpoints:
- /api/meet/rooms (list_rooms_ui)
- /api/meet/recent (recent_meetings)
- /api/meet/participants (all_participants)
- /api/meet/scheduled (scheduled_meetings)
- src/drive/mod.rs: Add UI-compatible endpoint:
- /api/drive/list (list_drive_files_ui)
- src/calendar/mod.rs: Add UI-compatible endpoints (from previous session):
- /api/calendar/list (list_calendars)
- /api/calendar/upcoming (upcoming_events)
All endpoints return stub JSON responses for UI compatibility.
2025-12-10 23:50:06 -03:00
977dde0090
Revert "Add static file serving for suite UI"
...
This reverts commit dfd0dded23 .
2025-12-10 21:52:43 -03:00
b1a2f71712
Add static file serving for suite UI
...
- Serve suite UI from botui (dev) or botserver-stack (installed)
- SPA fallback to index.html for client-side routing
- Search paths: ../botui/ui/suite, ./botserver-stack/ui/suite, ./ui/suite
2025-12-10 21:41:11 -03:00
ed26d54ee1
Silence vaultrs and rustify logs polluting console
2025-12-10 19:47:39 -03:00
c436987ffb
Update directory config
2025-12-10 19:46:42 -03:00