Files
meeting-room/.tasks/v2-p1-tools.md
vitya 52e77bb50c feat: v2 plan — remove autogen/crewai, add tasks and wiki
- Remove autogen and crewai backends (focus on custom only)
- Simplify CLI: remove --backend flag
- Remove optional deps from pyproject.toml
- Add .tasks/ with 7 tasks for Phase 1 refactor
- Add .wiki/concepts/meeting-room-v2.md with architecture plan
- Update .wiki/index.md and .tasks/STATUS.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 23:42:39 +03:00

26 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# v2-p1-tools
## Goal
Рефактор tools.py: класс ToolRegistry вместо модульных глобалов, замена find/grep на чистый Python, описания инструментов на английском.
## Key files
- `meeting_room/tools.py` — изменить
- `tests/test_tools.py` — создать
## Decisions log
- 2026-05-03: Чистый Python вместо shell-команд для Windows-совместимости
## Open questions
- [ ]
## Completed steps
- [ ] Создать класс ToolRegistry с __init__(workdir: str)
- [ ] Перенести get_tool_schemas() и execute_tool() как instance methods
- [ ] Заменить tool_list_files: subprocess.run(["find",...]) → os.walk() + fnmatch
- [ ] Заменить tool_search_in_files: subprocess.run(["grep",...]) → re.search() по файлам
- [ ] Перевести описания инструментов и ошибки на английский
- [ ] Написать тесты (особенно list_files и search_in_files на Windows)
- [ ] Запустить тесты
## Notes
Это критическое исправление — текущие find/grep не работают на Windows.