Wire up query history: localStorage session persistence + sidebar UI

This commit is contained in:
2026-08-14 17:44:36 +07:00
parent 9be5819710
commit 057d4ed9dc
23 changed files with 1231 additions and 30 deletions
+9
View File
@@ -76,3 +76,12 @@ class SectionRetriever(Protocol):
class ParentStore(Protocol):
def get(self, parent_id: str) -> ParentDocument | None: ...
class SectionListRetriever(Protocol):
"""The per-drug section checklist Feature-List #4 needs, cheap because
`drug_id`/`section_key` are already-indexed Qdrant payload fields — no
new indexing. Separate from `SectionRetriever` (interface segregation):
this returns labels only, never chunk text."""
def list_sections(self, drug_id: str) -> list[tuple[str, str]]: ...