Files
deepseek-harness/packages/session-query
Tianyi Cui 54ef823be7 fix(cli): keep session search tools opt-in on shipped surfaces
The shipped-roster change made @deepseek-ai/dsh-tool-session-query a
default row of the shared base.cordis.yml, so the TUI and Web surfaces
put the five session-search tools in front of the model. That
contradicts the recorded opt-in stance for the model-facing session
query consumer; the ACP example remains the mounted reference.

Remove the row from the shared base, the now-dangling disabled patch in
the opt-in core-web profile, and the workspace dependency. The
ctx.sessionQuery index stays: the TUI's /resume and the Web content
search consume it directly. Both shipped-composition tests now pin the
20-tool catalog.
2026-08-02 03:56:25 +08:00
..
2026-07-26 05:06:39 +08:00

session-query/ — session retrieval capability family

English | 中文

Trusted exact reads, relationship traces, provider-independent semantic filtering, and SQLite full-text search over live and durable session logs.

Package Role ctx key
session-query/ Combined service contract with concrete logical-corpus reads, traces, and semantic filters plus abstract full-text methods ctx.sessionQuery
session-query-sqlite/ Concrete service backend with SQLite FTS5 persistent bases and live overlays ctx.sessionQuery
tool-session-query/ Workspace-authorized model-facing search, lineage, relationship, and exact event tools

The query service is independent of compaction: it reads canonical lineage, surface operations, logged provenance, and semantic event text but does not participate in compaction policy or execution. One abstract service combines every query operation, one concrete backend owns the full-text lifecycle without a provider registry or coordinator, and the consumer leaves oversized plain-text results to the generic post-execute spill policy.