feat: carry char spans on existing chunks

This commit is contained in:
CREDO23 2026-06-18 20:06:26 +02:00
parent 55491fef9d
commit 1e33c28c24

View file

@ -19,6 +19,9 @@ class ExistingChunk:
id: int
content: str
position: int
# Stored char span; None for legacy rows indexed before spans existed.
start_char: int | None = None
end_char: int | None = None
@dataclass(frozen=True, slots=True)