refactor: убрать мёртвый API и сентинель-исключение

- удалены неиспользуемые ToolRegistry::all(), FileSandbox::root(),
  ChatResult::\ (вместе с параметром конструктора)
- HttpRequestTool: allowPrivate больше не свойство, только параметр
- FileWalker возвращает bool: колбэк возвращает false, чтобы остановить
  обход; из search_files и find_files убраны throw/catch '__limit__'
- добавлены тесты лимита для search_files и find_files
- 102 теста
This commit is contained in:
rsgrinko committed 2026-11-12 23:29:51 +03:00
1 parent 27c0fc2477
commit 6734ca5289
9 files changed
+72 -66

No files matched your search

-5
View File
@@ -47,11 +47,6 @@ final class FileSandbox
return new self($base, false);
}
public function root(): string
{
return $this->root;
}
public function isRestricted(): bool
{
return $this->restricted;