mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-22 00:00:50 +00:00
BashTool: add 30s subprocess timeout and 256KB output truncation. ReadFileTool: require absolute paths, canonicalize to block traversal, enforce 1MB size limit. ToolRegistry::get returns &dyn Tool instead of &Box<dyn Tool>. Remove wasted infer_error_kind call from log_entry() since every error path overwrites via set_backend_error_kind(). Cancel pending observability refresh timer in loadDashboard to prevent duplicate concurrent fetches. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>