session-query/

September 4, 2026 · View on GitHub

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 model gets five workspace-authorized tools; and 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.

PackageRolectx key
session-query/Unified session-history query service: exact reads, relationship traces, and filtersctx.sessionQuery
session-query-sqlite/Full-text search across session history backed by a SQLite FTS5 indexregisters on ctx.sessionQuery
session-log-export/Web /export command and browser download of a session ZIPctx.sessionLogDownload (browser)
tool-session-query/Model-facing tools to search, trace, and read session historyregisters on ctx.tools

Start with the subsystem reference for the shared query vocabulary, then the design records behind tracing, search, and the model-facing tools.

Dev Note

None.