Files
deepseek-harness/packages/session-query
Hypatia May b6b6a72df7 feat(session-query): ship full-text session search opt-in via openAt never
The shipped bundles keep ctx.sessionQuery mounted but set the new
session-query-sqlite `openAt: never` phase: searchSessions/searchEvents
fail with the typed SESSION_QUERY_SEARCH_DISABLED code before any request
normalization, node:sqlite is never imported or opened, and no source
observation or reconciliation runs. Every inherited exact read, filter,
and trace — session export descendants, subagent-fork Workspace
inheritance, title reads — keeps working, and the Web sidebar search
degrades to its designed local title/workspace matching. Enabling content
search is a one-line openAt override in a later patch layer; the web e2e
scaffold keeps it enabled as the assembled opt-in coverage.
2026-08-13 11:46:37 +08:00
..

session-query/ — session retrieval capability family

English | 中文

This family provides authorized retrieval over live and durable session logs, independently of compaction.

Package Role ctx key
session-query/ Defines trusted reads, relationship queries, and search operations ctx.sessionQuery
session-query-sqlite/ Implements session queries with SQLite full-text search ctx.sessionQuery
session-log-export/ Adds the Web /export command, shared browser download state, and result modal over the Host ZIP endpoint ctx.sessionLogDownload
tool-session-query/ Exposes workspace-authorized session queries to the model registers on ctx.tools

The subsystem reference — logical records, bounded reads, traces, filters, result pages — is docs/subsystems/session-query.md.