uncomitted changes from the agent.

This commit is contained in:
2026-05-10 14:11:13 -04:00
parent 504c1afaa9
commit 3bdd269d5e
11 changed files with 90 additions and 36 deletions
@@ -1,12 +1,12 @@
# Implementation Plan: Interactive Text Slice Highlighting
## Phase 1: Slice Model & Fuzzy Anchors
- [ ] Update `FileItem` in `src/models.py` with a `custom_slices: list[dict]` field.
- [ ] Implement a `FuzzyAnchor` utility to generate and re-resolve slices based on contextual text hashing.
- [x] Update `FileItem` in `src/models.py` with a `custom_slices: list[dict]` field.
- [x] Implement a `FuzzyAnchor` utility to generate and re-resolve slices based on contextual text hashing.
## Phase 2: Editor UI Integration
- [ ] In `src/gui_2.py`, add `[Edit Slices]` to the Context Panel.
- [ ] Enhance the `TextEditor` wrapper to support visual highlighting and a context menu for adding/removing slices.
- [x] In `src/gui_2.py`, add `[Slices]` to the Context Panel.
- [x] Enhance the `TextEditor` wrapper to support visual highlighting and a context menu for adding/removing slices.
## Phase 3: Aggregation Execution
- [ ] Update `src/aggregate.py` to respect `custom_slices` when building the final markdown text for a file.
- [x] Update `src/aggregate.py` to respect `custom_slices` when building the final markdown text for a file.