Commit graph

3658 commits

Author SHA1 Message Date
07c479b307 fix: install base packages (wget, unzip, curl) in containers before download
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m9s
- Vault download was failing because unzip was not installed
- Now all containers get wget, unzip, curl, ca-certificates as base packages
- Also added vault config.hcl generation in pre-install commands
2025-12-19 09:48:15 -03:00
f4e0fc4f28 fix: allow container install without Vault configured
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m19s
- Make create_container_service work without DATABASE_URL from Vault
- Components like vault, vector_db that don't need DB can now install first
- DB_PASSWORD defaults to empty string when Vault is not available
2025-12-19 09:33:56 -03:00
e3e24e514f fix: make container installation fully non-interactive
All checks were successful
GBCI / build (push) Successful in 3m11s
GBCI Bundle / build-bundle (push) Has been skipped
- Add automatic lxd init --auto before container creation
- Use DEBIAN_FRONTEND=noninteractive for apt-get
- Add apt-get update -qq before installing packages
2025-12-18 21:20:47 -03:00
49eb6bcf11 feat: add fallback images for LXC container creation and install-dependencies.sh
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 3m3s
- Try ubuntu:24.04, ubuntu:22.04, images:debian/12, images:debian/11 in order
- Clean up failed container attempts before trying next image
- Add install-dependencies.sh script for runtime library installation
- Fixes 404 error when LXD image server has outdated cached images
2025-12-18 21:09:26 -03:00
26d7dcceb7 chore: consolidate migrations 6.1.1-6.1.3 into 6.1.0_enterprise_suite
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m2s
- Integrate config ID type fixes (TEXT → UUID)
- Integrate connected_accounts, session_account_associations, account_sync_items
- Integrate bot hierarchy (parent_bot_id, enabled_tabs_json, inherit_parent_config)
- Integrate email_monitors, folder_monitors, folder_change_events, email_received_events
- Integrate user_organizations table
- Remove separate 6.1.1, 6.1.2, 6.1.3 migration folders
- Maximum version remains 6.1.0 per project standards
2025-12-18 18:52:52 -03:00
ff6f332763 ci: debug build, no swap (fastest)
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 16m38s
2025-12-18 17:33:04 -03:00
aac4de2ce4 ci: fix swap setup and optimize release build for low memory
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 13s
2025-12-18 17:14:36 -03:00
84117ce5b2 feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 14s
- 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
23ccac2b1e CI: add swap and staged build to prevent OOM
Some checks failed
GBCI / build (push) Has been cancelled
GBCI Bundle / build-bundle (push) Has been skipped
2025-12-18 14:08:47 -03:00
7600620224 Add rotate-secret and rotate-secrets commands for credential rotation
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 24m38s
2025-12-18 11:20:31 -03:00
91f6263746 Add version --all command
Some checks are pending
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Has been skipped
2025-12-18 11:06:19 -03:00
ee8f17b800 CI: reduce codegen-units to 1 to prevent OOM
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 23m36s
2025-12-18 10:41:33 -03:00
f8ac224d00 Add vault CLI commands for secret migration
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 24m51s
2025-12-18 09:40:16 -03:00
55faf55e08 CI: add libpq-dev for PostgreSQL linking
All checks were successful
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 16m37s
2025-12-17 22:40:45 -03:00
bac5dc3d4a CI: use debug build for fastest compilation
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 12m21s
2025-12-17 22:01:11 -03:00
3d18873c89 CI profile: disable LTO, 16 codegen units for max speed
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 22:00:38 -03:00
e992667e2a Use CI profile: thin LTO + 4 codegen units for faster builds
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 21:59:52 -03:00
503d6e7ca8 Reduce memory usage in CI: limit parallel jobs
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 21:56:28 -03:00
ab215bc90e Disable botserver-bundle workflow
Some checks failed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 32m32s
2025-12-17 20:44:01 -03:00
88605711e1 fix: remove unused error import
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 29m52s
GBCI / build (push) Failing after 30m53s
2025-12-17 18:38:34 -03:00
27fae3ba05 fix: resolve all warnings - wire up services properly
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 31m25s
GBCI / build (push) Failing after 27m41s
2025-12-17 17:41:37 -03:00
f490eb09eb Fix warnings: add Debug derive, prefix unused vars
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 26m24s
GBCI / build (push) Failing after 26m5s
2025-12-17 11:26:58 -03:00
351708f3fa Save build logs to /opt/gbo/logs/
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 25m54s
GBCI / build (push) Failing after 22m25s
2025-12-16 22:29:29 -03:00
36453cd03b Add debug output to diagnose silent CI failures
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 27m9s
GBCI / build (push) Waiting to run
2025-12-16 21:13:12 -03:00
a2dd0b3683 Simplify: build only Linux x86_64 for now
Some checks failed
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Failing after 24m37s
2025-12-16 20:40:40 -03:00
c41c201ac8 Fix: use full paths for cargo to work across all build steps
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 26m20s
GBCI / build (push) Failing after 25m0s
2025-12-16 19:59:05 -03:00
8788ad7df2 Fix: rename gbserver to botserver, use rustup for Rust install, remove macOS
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 27m36s
GBCI / build (push) Failing after 23m47s
2025-12-16 19:17:47 -03:00
62e22f1180 Fix: use git clone for dependencies outside workspace
Some checks failed
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Failing after 24m19s
2025-12-16 17:20:36 -03:00
38406043d6 Add checkout of botlib dependency in CI
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 17s
GBCI / build (push) Failing after 19s
2025-12-16 17:00:14 -03:00
a1fef6fc37 Add Cargo caching for faster builds
Some checks failed
GBCI Bundle / build-bundle (push) Failing after 26s
GBCI / build (push) Failing after 23s
2025-12-16 16:35:22 -03:00
d380368fee Add Forgejo CI workflows - botserver.yaml and botserver-bundle.yaml with cross-platform builds
Some checks failed
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Has been cancelled
2025-12-16 13:25:26 -03:00
e486689644 Fix: Skip starting components that are already running (minio, valkey) 2025-12-16 10:48:42 -03:00
2f9622ab77 Update calendar and email modules 2025-12-15 23:16:08 -03:00
9a309b4bea Fix vault health check - quote URL to prevent & being interpreted as shell background 2025-12-15 18:04:53 -03:00
62915b2164 Add debug logs to package manager start function 2025-12-15 17:50:03 -03:00
3c56b6e088 Fix Vault retry logic - wait up to 20 seconds for vault to start 2025-12-15 17:37:00 -03:00
7ccca11a25 Fix Vault startup: detect connection refused and start vault properly 2025-12-15 17:32:15 -03:00
dfe07d8449 Fix: add trace to log imports 2025-12-15 17:14:39 -03:00
4bae62b736 Fix Vault startup - add retry logic and auto-restart zombie vault processes 2025-12-15 17:11:47 -03:00
2d310a71ac Fix llm-server default to true, convert debug eprintln to trace 2025-12-15 16:33:13 -03:00
e200f47864 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
17618f692c 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
7029e49f80 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
8b004f1a89 Lowercase botserver/botbook references 2025-12-12 23:20:42 -03:00
9545db65f1 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
0d4797738b Update compiler and add goto_transform 2025-12-12 16:39:44 -03:00
59a74fa3ec Add llama.cpp support and embedded config for Orange Pi / Raspberry Pi 2025-12-12 13:46:04 -03:00
fed35e116a Add embedded deployment script for Orange Pi, Raspberry Pi, ARM SBCs 2025-12-12 13:43:40 -03:00
82db06e435 docs: Add Auto Task Architecture documentation 2025-12-12 12:35:40 -03:00
48f3cfb6f3 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