Commit graph

367 commits

Author SHA1 Message Date
137e71f819 Add ALWAYS.md with THINK KB implementation summary 2026-03-16 08:41:48 -03:00
478363d562 Update submodule references to include THINK KB implementation
- botserver: f062cc4a (THINK KB keyword)
- botbook: ea5e92e (THINK KB documentation)
- botlib: 47a7643 (localization updates)
- bottemplates: d95f154 (marketing templates)
- bottest: 68f52ff (integration tests)
- botui: bdc8667 (UI updates)
2026-03-16 08:41:25 -03:00
Thiago Patriota
7e71bf3e15 chore: remover arquivo raiz indevido 2026-03-15 18:08:49 -03:00
Thiago Patriota
96c69dc08b chore: ignorar e remover artefatos locais 2026-03-15 18:07:39 -03:00
Thiago Patriota
0a02759a89 chore: registrar artefatos locais pendentes 2026-03-15 16:02:25 -03:00
Thiago Patriota
3d5a9d7fab chore: atualizar ponteiros de submódulos 2026-03-15 15:53:54 -03:00
Thiago Patriota
9c1a2eae34 feat: Windows build support, clippy zero-warnings, and dev tooling
New files:
- prompts/win.md: Complete Windows execution guide covering
  build dependencies (libpq), compilation steps, runtime
  compatibility table (3rdparty.toml Windows URLs), shell
  command adaptations, GPU detection for LLM, directory
  structure, and troubleshooting
- DEPENDENCIES.ps1: PowerShell script to auto-install
  PostgreSQL binaries and set PQ_LIB_DIR for Windows builds
- restart.ps1: PowerShell restart script for Windows dev env

Submodule updates:
- botserver: Full Windows compatibility (21 files changed)
  including 3rdparty.toml Windows URLs, installer/cache/facade
  Windows process management, certificate generation,
  #[cfg(unix)] guards, and clippy zero-warnings refactors
- bottest: #[cfg(unix)] guards for nix crate in postgres.rs,
  minio.rs, redis.rs service managers
- botapp: Remove unused import (clippy auto-fix)

Config:
- .cargo/config.toml: Updated for Windows toolchain
- Cargo.lock: Dependency updates
2026-03-14 17:28:26 -03:00
4504108799 Add desktop UI navigation instructions for CRM testing 2026-03-12 18:20:05 -03:00
7d8c60b4b9 chore: update botserver submodule 2026-03-10 21:18:19 -03:00
121eb4b5f2 chore: update submodule references 2026-03-10 19:39:35 -03:00
310318e879 update submodules 2026-03-10 17:19:59 -03:00
5abd8282d0 chore: sync botserver submodule 2026-03-10 15:26:24 -03:00
fce6c76f07 chore: update submodule pointers 2026-03-10 15:15:46 -03:00
f3dc4c989c Fix Bedrock config for OpenAI GPT-OSS models 2026-03-10 12:36:01 -03:00
5fa88d49e0 Update botserver: Redis-based rate limiting 2026-03-09 21:01:36 -03:00
4167906c00 Update botserver: fix WhatsApp streaming buffer 2026-03-09 20:24:03 -03:00
78609fe3c7 Update botserver: simplify hallucination detector 2026-03-09 20:03:08 -03:00
dbede36f10 Update botserver: fix Redis BLPOP parsing 2026-03-09 19:44:12 -03:00
44982757f5 Update botserver submodule: fix compilation errors 2026-03-09 19:32:54 -03:00
2539161d71 Update submodules: WhatsApp Meta rate limits + config inheritance fix 2026-03-09 19:18:18 -03:00
83272e946c chore: update submodule pointers 2026-03-09 17:28:45 -03:00
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