botserver/src/core/bot
Rodrigo Rodriguez (Pragmatismo) affb702e90
All checks were successful
BotServer CI / build (push) Successful in 8m12s
fix(tools): auto-create work directory if missing in production
Added logic to create botserver-stack/data/system/work directory
if it doesn't exist. This ensures production deployments work
without manual directory setup.

Changes:
- Added fs::create_dir_all() in use_tool.rs
- Added fs::create_dir_all() in tool_context.rs
- Logs when directory is created
- Fixes production deployment where /system/work may not exist

This ensures the tool loading works in fresh production environments
where the work folder hasn't been populated yet.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-22 12:58:58 -03:00
..
channels Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
kb_context.rs fix: Correct parameter names in tool .bas files to match database schema 2026-02-18 17:51:47 +00:00
manager.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
mod.rs fix: Complete security remediation - RCE and SSRF fixes 2026-02-20 01:14:14 +00:00
mod_backup.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
multimedia.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
tool_context.rs fix(tools): auto-create work directory if missing in production 2026-02-22 12:58:58 -03:00
tool_executor.rs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
ui.rs - Refactor folder as features. 2025-11-22 22:55:35 -03:00