* build(deps): upgrade the client to React 19 Raise react and react-dom to ^19.3.1 in every workspace manifest and the root @types/react and @types/react-dom to 19.3, then regenerate the lockfile on the current master. The website keeps the React 18 optional peer of @docsearch/react 3.8.2, whose peer range excludes React 19. Refs #9214 * fix(client): adopt React 19-only ref types and coverage arm These adaptations compile or cover only under React 19: - RefObject replaces MutableRefObject, which @types/react 19 deprecates; RefObject.current is writable only in the React 19 types. - Tooltip excludes its React 18 element.ref arm from coverage instead of the React 19 props arm, which now always runs, and writes an object ref through RefObject. - THIRD_PARTY_NOTICES.md takes the React 19.3.1 repository URL. Refs #9214 * docs(upgrade-guide): describe the React 19 client runtime Client plugins receive React 19 from the shared module table and compile against React 19 types; the guide lists the runtime and type changes plugin authors must handle and the new test-runtime peer range. Refs #9214 * test(ui-directory-picker-browse): wait for the passive refocus after a failed pick The browser re-parks focus on the edit zone in a passive effect after the commit that shows the failure alert. The test asserted focus right after the alert appeared, so on Windows CI under React 19 it could run before the effect. It now waits for the focus. Refs #9214
description, kind
| description | kind |
|---|---|
| Package map for the session retrieval capability family: searching, tracing, and reading live and durable session history, plus the Web session-log export. | package-group |
session-query/ — session retrieval capability family
English | 中文
Summary
The session-query/ group provides retrieval over live and durable session history, independent of compaction: programmatic callers query one unified service for exact logs, filtered lists, relationship traces, and full-text search; a SQLite backend powers the search; the Web UI gets an /export command that downloads a session ZIP. Search results agree with the conversation history the model sees. This page maps the group; each package README owns its per-package contract.
Table of Contents
Packages
Each package README describes what you can do with its part of the family.
| Package | Role | ctx key |
|---|---|---|
session-query/ |
Unified session-history query service: exact reads, relationship traces, and filters | ctx.sessionQuery |
session-query-sqlite/ |
Full-text search across session history backed by a SQLite FTS5 index | registers on ctx.sessionQuery |
tool-session-list/ |
Optional read-only Workspace and Session metadata tools | — |
session-log-export/ |
Web /export command and browser download of a session ZIP |
ctx.sessionLogDownload (browser) |
Related documentation
Start with the subsystem reference for the shared query vocabulary, then the design records behind tracing and search.
The default Web and Desktop use this shared query, index, and export infrastructure. The experimental model-facing tools are a separate optional consumer.
- Session Query subsystem reference — logical records, filters, search pages, lineage, bounded reads, and event relationships.
- Session query relationship tracing — trace semantics and the validation boundary.
- SQLite FTS5 session search — search semantics, reconciliation, and the tokenizer decision.
Dev Note
None.