Commit graph

349 commits

Author SHA1 Message Date
b7275ed233 chore: update botserver submodule with WhatsApp routing fixes
Some checks failed
BotServer CI / build (push) Failing after 21s
- 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
e245077700 feat(whatsapp): add phone_number_id based bot routing
Some checks failed
BotServer CI / build (push) Failing after 10s
- 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
a23b4f1983 chore: update botserver submodule with system-prompt fix
Some checks failed
BotServer CI / build (push) Failing after 13s
- 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
ff9e3f56a9 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
62e2390da3 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
39a6a4cf20 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
4da3910b3b 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
db119148cf chore: Update botserver submodule with KB search fixes
Some checks failed
BotServer CI / build (push) Failing after 12s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-05 00:11:22 -03:00
d89a5c9d30 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
f8c36c3778 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
9123756e82 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
28c4f89e16 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
cc8b432aa8 Update submodules to latest commits 2026-03-03 15:19:28 -03:00
d65794fa93 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
2fe91226b0 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
465fa71c84 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
853181cd1d 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
c7fe607171 docs: Update AGENTS.md with guidelines for file saving and production push policy 2026-03-03 12:51:33 -03:00
12e7cba9bd fix: update botserver with PathBuf import fix 2026-03-03 10:04:20 -03:00
31f68d7bf0 fix: update botserver submodule with tool path resolution fix 2026-03-03 10:02:09 -03:00
334bb9239b chore: Update botui submodule - Fix desktop title branding
Some checks failed
BotServer CI / build (push) Failing after 9s
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
a9c4714929 chore: Update botserver with deployment API endpoints
Some checks failed
BotServer CI / build (push) Failing after 9s
2026-03-02 07:42:45 -03:00
41efb790ef chore: Update submodules with Phase 1 Code Editor Integration
Some checks failed
BotServer CI / build (push) Failing after 10s
- 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
4e0737f60a chore: Update submodules with Phase 0 deployment infrastructure
Some checks failed
BotServer CI / build (push) Failing after 10s
- 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
649afd7947 chore: Update submodules with enhanced logging
Some checks failed
BotServer CI / build (push) Failing after 8s
- 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
a99c17008e 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
abedde3af7 feat(directory): improve OAuth client creation with better credential handling
Some checks failed
BotServer CI / build (push) Failing after 11s
- 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
9fc33725b7 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
7d4708b516 chore: bump botui submodule for theme manager fix
Some checks failed
BotServer CI / build (push) Failing after 12s
2026-02-28 13:30:41 -03:00
34af1f2a16 Complete agent UI workspace 2026-02-26 09:22:02 -03:00
21b96804e8 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
a6a221788b 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
610741e123 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
ddb11a7c06 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
57b09e5b66 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
046dbc63ad docs: finalize UI.md migration status to COMPLETED 2026-02-24 20:11:06 -03:00
c3c235f8c4 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
19b4a20a02 chore: update botserver submodule with work directory path fixes
Some checks failed
BotServer CI / build (push) Failing after 11s
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
792a13eb67 chore: synchronize submodules and update root dependencies
Some checks failed
BotServer CI / build (push) Failing after 9s
2026-02-22 15:56:19 -03:00
9eb2bfe09c docs: update AGENTS.md and sync submodules after tool path fix
Some checks failed
BotServer CI / build (push) Failing after 23s
- 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
49930f2aa0 docs: fix contradictions in AGENTS.md regarding clippy and allow usage 2026-02-21 17:27:20 -03:00
d08dab26dc chore: push for ci
Some checks failed
BotServer CI / build (push) Failing after 11s
2026-02-20 21:10:42 -03:00
ba032f41eb fix(ui): update botui with robust contrast fix
Some checks failed
BotServer CI / build (push) Failing after 10s
2026-02-20 20:37:58 -03:00
ec8d002574 fix(ci): deploy botui static assets and implement cache busting
Some checks failed
BotServer CI / build (push) Failing after 16s
2026-02-20 20:36:30 -03:00
ce81951a69 chore: use relative URLs for submodules to support ALM CI
Some checks failed
BotServer CI / build (push) Failing after 13s
2026-02-20 20:08:52 -03:00
1d0c9ccdb8 update: sync for alm
Some checks failed
BotServer CI / build (push) Failing after 4s
2026-02-20 18:54:23 -03:00
f0e0553966 update: track submodules latest commits for alm deployment 2026-02-20 15:11:48 -03:00
9b02df3bec style: update text color for bot messages and suggestion chips to white 2026-02-20 12:38:17 -03:00
49d9b193b2 feat: Complete security remediation and submodule updates
Some checks failed
BotServer CI / build (push) Failing after 29s
- 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
b11140d106 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