Commit graph

346 commits

Author SHA1 Message Date
16f776f9b5 chore: update botserver submodule with WhatsApp routing fixes
- Phone number ID based bot routing
- System prompt loading from config.csv fix

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-09 12:31:16 -03:00
11465ab7eb feat(whatsapp): add phone_number_id based bot routing
- Add resolve_bot_by_phone_number_id function for automatic routing
- Webhooks now route to correct bot based on whatsapp-phone-number-id
- Enables multiple WhatsApp numbers to use single webhook URL
- Falls back to default bot if no match found

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-09 12:28:44 -03:00
78f6eea275 chore: update botserver submodule with system-prompt fix
- Fix system-prompt loading from config.csv for GLM-5 and other LLMs
- System prompts are now correctly injected into LLM API calls

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-09 11:56:38 -03:00
7ee2816f10 feat(whatsapp): update submodule with list isolation and code removal
- Update botserver submodule to commit 97661d75
- Add list isolation as single messages in WhatsApp
- Add JavaScript/C# code block removal
- Update zap.md with streaming example and correction history
- Change restart.sh logging from trace to debug level

Related: botserver submodule update
2026-03-08 14:53:43 -03:00
dcdc237bfa docs: Update zap.md with /clear command documentation
- Add Comandos Disponíveis section with /clear command
- Document usage, behavior, and implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-07 18:58:09 -03:00
38307a9710 Update zap.md with WhatsApp integration fixes
- Document content extraction fix (JSON deserialization)
- Document list streaming fix (single message vs chunks)
- Update status to reflect working integration
- Add debug commands and next steps for production

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-07 07:46:49 -03:00
f99ba5a911 Fix WhatsApp message content extraction issue
Messages from WhatsApp are being correctly received and processed by the bot now.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-06 17:16:31 -03:00
9861f1cefc chore: Update botserver submodule with KB search fixes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-05 00:11:22 -03:00
153cb41918 chore: Update botserver submodule with KB search fixes
- Lower KB search thresholds for better recall
- Add Cloudflare AI embedding support in cache

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-05 00:07:19 -03:00
176f07b345 chore: Update submodules with latest changes
- botserver: KB context, embedding generator, and website crawler enhancements
- botui: Organizations settings UI improvements
2026-03-04 15:43:55 -03:00
254a760f7b Revert: Remove hardcoded formatting from botserver
Reverting commit 4896296c - formatting should be in bot-specific .md file, not in server code
2026-03-03 16:24:00 -03:00
79521d1659 fix: Update botserver submodule with parameter formatting fix
- Updates botserver to commit 4896296c
- Fixes LLM prompt formatting for tool parameter collection
- Resolves formatting issues starting from item 5 in generated prompts
2026-03-03 16:19:51 -03:00
ca0ca5f72c Update submodules to latest commits 2026-03-03 15:19:28 -03:00
54e50d94a3 chore: update botui submodule with fullscreen height fix
- Make maximized window fill entire screen with 100vh height
- Window now occupies all screen space when maximized (1920x1080)
- Recovers 28px of vertical space previously lost to minibar offset
2026-03-03 13:37:45 -03:00
beb9e19c8c chore: update botui submodule with top offset fix
- Remove 28px top offset for maximized windows
- Window now fills screen from top without blank space
- Fixes issue with padding before window title when maximized
2026-03-03 13:30:54 -03:00
ca7ed157e1 chore: update botui submodule with toolbar fix
- Hide toolbar when window is maximized to remove blank space at top
- Fixes issue where 50px blank space appeared before window title
2026-03-03 13:24:59 -03:00
39190da88e chore: update botui submodule with latest changes
- Window maximization fix to hide sidebar when maximized
- Dynamic window title updates
- Remove quick action chips from desktop
2026-03-03 13:16:54 -03:00
94f73b1f66 docs: Update AGENTS.md with guidelines for file saving and production push policy 2026-03-03 12:51:33 -03:00
ea6a154d5d fix: update botserver with PathBuf import fix 2026-03-03 10:04:20 -03:00
0993b8a712 fix: update botserver submodule with tool path resolution fix 2026-03-03 10:02:09 -03:00
b610d2f1b9 chore: Update botui submodule - Fix desktop title branding
Update botui to latest commit which changes desktop title from
'Agent Farm' to 'General Bots' for brand consistency.
2026-03-03 08:42:30 -03:00
903f48cd14 chore: Update botserver with deployment API endpoints 2026-03-02 07:42:45 -03:00
530456ea7f chore: Update submodules with Phase 1 Code Editor Integration
- botserver: Add editor API endpoints
- botui: Add Monaco Editor and code editor component

Phase 1 (P0 - Critical) COMPLETED:
- Monaco Editor installed and configured
- Full-featured code editor with file tree, tabs, syntax highlighting
- API endpoints for file operations
- Keyboard shortcuts and auto-save preparation
2026-03-02 07:27:14 -03:00
dc27c7f082 chore: Update submodules with Phase 0 deployment infrastructure
- botserver: Add deployment router and Forgejo integration
- botui: Add deployment UI modal in Vibe

Phase 0 CRITICAL features completed:
- Phase 0.1: Deployment Router
- Phase 0.2: Forgejo Integration
- Phase 0.3: Deployment UI in Vibe
2026-03-02 07:13:12 -03:00
db96fd6efe chore: Update submodules with enhanced logging
- botserver: Add comprehensive stage progress logging
- botui: Format vibe.html for better readability

This updates the submodules to include the latest changes for:
- Enhanced textual progress logging in console
- Better code formatting in Vibe UI
2026-03-01 22:37:24 -03:00
83ce8b70ee chore: update botserver submodule with Zitadel OAuth fix
Updates botserver to commit c326581a which includes:
- Fix for PAT extraction timing issue
- Retry loop with sync command for reliable PAT extraction
- Improved logging and verification
- Consolidated setup module
- OAuth client initialization now works correctly
2026-03-01 19:07:00 -03:00
cea656ea17 feat(directory): improve OAuth client creation with better credential handling
- Updated setup_directory() to try multiple credential sources:
  1. Existing config file
  2. Zitadel log extraction
  3. Default credentials
  4. Helpful error message if all fail

- Made ensure_admin_token() async to actually authenticate with credentials
- Added test_zitadel_credentials() helper function
- Improved error messages for debugging

This addresses the issue where OAuth client creation was failing because
credentials couldn't be extracted from Zitadel logs.

Related: zit.md plan for automatic OAuth client creation
2026-03-01 09:42:13 -03:00
fb2129eead fix: use OAuth client credentials when PAT is missing
The login flow now falls back to OAuth client credentials flow when
the admin PAT token is not available. This allows login.html to work
even when Zitadel PAT generation hasn't been configured yet.

- Added get_oauth_token() helper function
- Login now tries PAT first, then OAuth client credentials
- Includes proper Zitadel scope for API access

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 14:46:54 -03:00
313e3dfc78 chore: bump botui submodule for theme manager fix 2026-02-28 13:30:41 -03:00
d41fbdb5eb Complete agent UI workspace 2026-02-26 09:22:02 -03:00
5275cbaa31 chore: update botui submodule with WebSocket improvements
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 22:24:47 -03:00
665a4a107a chore: update botui submodule with anonymous chat fix
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 21:47:36 -03:00
b8aa71e206 chore: update botui submodule with correct app paths
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 21:21:14 -03:00
cad04a41bf chore: update botui submodule with desktop icon fixes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 20:32:53 -03:00
50ee73e275 chore: update botui submodule
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 20:18:10 -03:00
3aeb941638 docs: finalize UI.md migration status to COMPLETED 2026-02-24 20:11:06 -03:00
6fd3c019ba feat(ui): migrate desktop environment to Window Manager
- Updated UI.md with the completed specification and status
- Synced botui submodule with new desktop.html and window-manager.js implementation
- Synced botserver submodule with latest changes
2026-02-24 19:02:48 -03:00
efce147586 chore: update botserver submodule with work directory path fixes
Updated the botserver submodule to include fixes for work directory
paths that now use botserver-stack/data/system/work consistently.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-22 16:21:19 -03:00
e706eb9fbb chore: synchronize submodules and update root dependencies 2026-02-22 15:56:19 -03:00
1fdacca368 docs: update AGENTS.md and sync submodules after tool path fix
- Documented that /opt/gbo/data is also a location for bots
- Added warning to never search /target folder (compiled binaries)
- Synced all submodules with latest changes

Related to tool loading fix that moved .mcp.json files to
botserver-stack/data/system/work/ and updated code to use
relative paths instead of hardcoded HOME/gb path.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-22 11:22:10 -03:00
fd0ad0f785 docs: fix contradictions in AGENTS.md regarding clippy and allow usage 2026-02-21 17:27:20 -03:00
219e01a9f3 chore: push for ci 2026-02-20 21:10:42 -03:00
3660a86afc fix(ui): update botui with robust contrast fix 2026-02-20 20:37:58 -03:00
c05c218891 fix(ci): deploy botui static assets and implement cache busting 2026-02-20 20:36:30 -03:00
cf3f9d806c chore: use relative URLs for submodules to support ALM CI 2026-02-20 20:08:52 -03:00
25eac616fb update: sync for alm 2026-02-20 18:54:23 -03:00
542763983d update: track submodules latest commits for alm deployment 2026-02-20 15:11:48 -03:00
116c5885f6 style: update text color for bot messages and suggestion chips to white 2026-02-20 12:38:17 -03:00
c939c4f1dd feat: Complete security remediation and submodule updates
- Added security audit documentation (tasks.md)
- Fixed RCE vulnerability via trusted_shell_script_arg command injection
- Fixed SSRF vulnerability in Rhai GET requests
- Updated all submodules with latest fixes:
  - botapp: desktop tray implementation
  - botlib: i18n bundle handling
  - botserver: security fixes (RCE & SSRF)
  - bottemplates: default gbot configuration
  - bottest: test harness and e2e tests
  - botui: chat UI theme management
- Added test_salesianos_bot.js for testing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 01:14:21 +00:00
abc73de918 chore: Remove TASKS.md after completing clippy cleanup
The comprehensive security and quality audit documented in TASKS.md
has been completed successfully:
- 24/26 security tasks resolved (92%)
- 0 clippy warnings achieved (perfect score)
- Security expert review completed with A- grade

Backup retained as TASKS_backup.md for reference.

Remaining tasks:
- SEC-02: Secret rotation (operational, not code)
- SEC-06: Passkey module (optional feature)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-19 18:49:58 +00:00