botserver/src/core/bot
Rodrigo Rodriguez (Pragmatismo) febfa2e708
All checks were successful
BotServer CI / build (push) Successful in 8m37s
fix(tools): use relative path for tool .mcp.json files
Changed tool loading to use relative path from current directory instead
of hardcoded HOME/gb path. This makes the code portable across different
deployment environments.

- Updated use_tool.rs to use std::env::current_dir()
- Updated tool_context.rs to use std::env::current_dir()
- Added PathBuf import to both files
- Tools now load from botserver-stack/data/system/work/

Fixes issue where tools weren't being loaded because .mcp.json files
were in a different location than expected.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-22 11:21:07 -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): use relative path for tool .mcp.json files 2026-02-22 11:21:07 -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