Skip to content

Your lightweight open-source personal agent.

chore(tools): merge main and resolve conflicts

Xubin Ren7e122d6e4983
diff --cc nanobot/utils/file_edit_events.py
index acef725b0,3b9ec8da8..f02022c13
--- a/nanobot/utils/file_edit_events.py
+++ b/nanobot/utils/file_edit_events.py
@@@ -9,8 -10,7 +9,7 @@@ from dataclasses import dataclass, fiel
from pathlib import Path
from typing import Any, Awaitable, Callable
-
-TRACKED_FILE_EDIT_TOOLS = frozenset({"write_file", "edit_file", "notebook_edit"})
+TRACKED_FILE_EDIT_TOOLS = frozenset({"write_file", "edit_file", "apply_patch"})
_MAX_SNAPSHOT_BYTES = 2 * 1024 * 1024
_LIVE_EMIT_INTERVAL_S = 0.18
_LIVE_EMIT_LINE_STEP = 24
diff --cc tests/utils/test_file_edit_events.py
index 3ac4dc929,768b8d1f6..ec1046061
--- a/tests/utils/test_file_edit_events.py
+++ b/tests/utils/test_file_edit_events.py
@@@ -9,9 -10,7 +10,8 @@@ from nanobot.utils.file_edit_events imp
build_file_edit_start_event,
line_diff_stats,
prepare_file_edit_tracker,
+ prepare_file_edit_trackers,
read_file_snapshot,
- StreamingFileEditTracker,
)