mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
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.
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.