botserver/src
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
..
analytics feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
attendance feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
attendant Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
auto_task fix: Resolve compilation errors 2026-02-14 22:15:35 +00:00
basic fix(tools): use relative path for tool .mcp.json files 2026-02-22 11:21:07 -03:00
billing Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
botmodels Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
calendar Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
canvas Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
channels feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
compliance Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
console Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
contacts feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
core fix(tools): use relative path for tool .mcp.json files 2026-02-22 11:21:07 -03:00
dashboards Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
designer feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
directory feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
docs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
drive feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
email fix: Correct parameter names in tool .bas files to match database schema 2026-02-18 17:51:47 +00:00
instagram Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
learn Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
legal Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
llm fix: Complete security remediation - RCE and SSRF fixes 2026-02-20 01:14:14 +00:00
main_module chore: Fix warnings and clean TODO refs 2026-02-19 12:18:39 +00:00
maintenance Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
meet feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
monitoring Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
msteams Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
multimodal Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
nvidia Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
paper Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
people Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
player Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
products Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
project Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
research Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
search Fix SafeCommand to allow shell scripts with redirects and command chaining 2026-01-08 23:50:38 -03:00
security feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
settings Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
sheet Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
slides Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
social Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
sources feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
tasks feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
telegram Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
tickets Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
timeseries Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
vector-db Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
video Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
weba Fix build errors and unused imports in core, security and package_manager modules 2026-01-24 22:04:47 -03:00
whatsapp Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
workspaces Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
embedded_ui.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
main.rs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00