@deepseek-ai/dsh-session-query-sqlite 0.1.3-alpha.2 → 0.1.5-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/session-query/session-query-sqlite/README.md
5
- README.md: 81518cb5c902583f91ef3194e7c9311f49ffe229
6
- README.zh.md: b8a7e268d5d1771d75f8a4fb6cae2e2d33e38169
5
+ README.md: da99dc20eee0b9366364f184c618a961d83ae044
6
+ README.zh.md: b5ae08391b799f7faeac56e4c714c32dddba46b3
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-session-query-sqlite` searches session history with a SQLite FTS5 index and returns ranked, cursor-paginated results grouped by session or within one session. Mount it together with `dsh-session-query` and you get full-text search plus the whole query surface — exact reads, filters, and traces — at once. Live sessions are indexed from memory and persisted sessions from a dedicated derived-index database, so results always reflect the newest state without touching the session-persistence store. Search is opt-in and off by default in shipped compositions: `openAt` decides whether the index opens at startup, at the first search, or never. Setup and usage come first; the implementation internals live in a collapsible developer section below.
12
+ Use this package to add ranked SQLite FTS5 search across session history, either across sessions or within one session, with cursor pagination. It indexes live and persisted history in a separate derived database, so searches reflect current state without modifying the session-persistence store. Exact reads, filters, and traces remain available through the same query API. Search is opt-in in shipped compositions; configure `openAt` to open the index at startup, on first search, or never. Results match tokens and phrases rather than arbitrary substrings, and each index path has a single process owner.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-session-query-sqlite` 用 SQLite FTS5 索引搜索会话历史,返回按会话分组或会话内排序、游标分页的结果。与 `dsh-session-query` 一起挂载,即可同时获得全文搜索与完整查询表面——精确读取、过滤与追踪。实时会话从内存索引,持久化会话从专用派生索引数据库索引,因此结果始终反映最新状态,且不触碰会话持久化存储。搜索是可选能力,已发布组合默认关闭:`openAt` 决定索引在启动时、首次搜索时打开,还是永不打开。设置与用法在前;实现内部细节放在下方可折叠的开发者章节中。
12
+ 使用本包可为会话历史增加带排序的 SQLite FTS5 搜索,既能跨会话搜索,也能在单个会话内搜索,并支持游标分页。它把实时与持久化历史索引到独立的派生数据库,因此搜索反映当前状态,同时不会修改会话持久化存储。精确读取、过滤与追踪仍通过同一查询 API 提供。已发布组合中的搜索是可选能力;配置 `openAt` 可让索引在启动时、首次搜索时打开,或永不打开。结果匹配 token 与短语,而非任意子字符串;每个索引路径只能由一个进程持有。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-query-sqlite",
3
3
  "description": "Concrete ctx.sessionQuery backend with SQLite FTS5 search",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-session-persistence": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-session-query": "^0.1.3-alpha.2",
30
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
31
+ "@deepseek-ai/dsh-session-persistence": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/dsh-session-query": "^0.1.5-alpha.2",
33
33
  "@deepseek-ai/cordis": "^4.0.2"
34
34
  },
35
35
  "peerDependenciesMeta": {
@@ -42,11 +42,11 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
45
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-session-persistence": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.3-alpha.2",
45
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-alpha.2",
46
+ "@deepseek-ai/dsh-session-query": "^0.1.5-alpha.2",
47
+ "@deepseek-ai/dsh-session-persistence": "^0.1.5-alpha.2",
48
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
48
49
  "@deepseek-ai/cordis": "^4.0.2",
49
- "@deepseek-ai/dsh-session-query": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
50
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2"
51
51
  }
52
52
  }