Bug fixes in .bas tools:
- Fix BEGIN MAIL email → BEGIN MAIL emailContato in tools 07, 09, 10
- Fix newsletter BOOLEAN → STRING in tool 10 (LLM sends 'Sim' as string)
- Add natural language descriptions to ENUM params in tools 02-10
Botserver:
- Fix duplicate chat message when tool is executed (tool_was_executed flag)
BotUI:
- Remove theme selector button from minimal chat for non-logged users
Testing: All 10 tools verified with NL ENUM mapping and DB records
SECURITY FIXES:
- Add restart.sh script that reads Vault credentials from /tmp/ only
- Add .gitignore rules for: vault-unseal-keys, start-and-unseal.sh, vault-token-*
- Add security warning to README.md about /tmp/ for secrets
- Update botserver port references from 8088 to 9000 in README
Secrets MUST be placed in /tmp/ only:
- /tmp/vault-token-gb (Vault root token)
- /tmp/vault-unseal-key-gb (Vault unseal key)
This commit removes the previous commit (c7a60b8) that contained hardcoded
secrets in restart.sh and start-and-unseal.sh files.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Fix tool calls in JSON array format to be executed instead of displayed
- Prevents raw tool JSON from appearing in chat window
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Fix tool buttons sending display text instead of internal ID
- Tool buttons now work correctly on first click
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- botui: Fix workspace conflict in CI workflow
- botserver: Fix workspace conflict in CI workflow
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Binaries at cache/bin/valkey-server
- exec_cmd and check_cmd updated to use bin/ subdirectory
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Uses valkey-9.0.2-jammy-x86_64.tar.gz from download.valkey.io
- No source compilation required
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Cache connection verification with PING test
- Environment variable support for cache URL (CACHE_URL, REDIS_URL, VALKEY_URL)
- Environment variable support for LLM config (LLM_URL, LLM_MODEL, LLM_KEY)
- Better fallback to local LLM when no bot config exists
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Document /opt/gbo/data/ directory for local bot packages
- Document auto-loading, compilation, and hot-reload features
- Update botserver submodule with latest changes
- Add console and network config files
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Increments i18n cache version to v2
- Forces fresh translation fetch from all users
- Resolves placeholder translation issue
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- botlib now embeds i18n translations in both debug and release builds
- Uses debug-embed feature from rust-embed
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- botlib now uses embedded assets via rust-embed by default
- i18n feature is now part of default features
- Fixes placeholder translations issue
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- bottemplates: Add register_student.bas for edu bot
- botui: Add config-colors.css and UI component updates
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add Redis-based tracking to prevent start.bas from running repeatedly
when clicking suggestion buttons
- Add generic tool executor for LLM tool calling
- Fix suggestion duplication by clearing from Redis after fetch
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add ConfigWatcher for monitoring ~/data/*.gbai/*.gbot/config.csv
- Skip DriveMonitor for default bot (managed via ConfigWatcher)
- Fix model routing hierarchy: session → bot → default
- Fix ConfigWatcher to handle local embedded (llm-server=true)
- Add notify dependency for file system watching
- Add data/ to .gitignore (contains API keys)
- Update package.json for botui
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>