- 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>
26 lines
1.2 KiB
Markdown
26 lines
1.2 KiB
Markdown
# 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. |