Commit graph

45 commits

Author SHA1 Message Date
Christian Klotz
e05cc6e12c
docs: remove contributor changelog updates 2026-08-02 13:06:24 +03:00
Christian Klotz
f07af611d3
feat(agent): compose session storage through repositories 2026-08-02 12:35:02 +03:00
Christian Klotz
cbc893b0d4
feat(agent): prepare session storage foundation for harness v2 2026-08-02 12:35:02 +03:00
Christian Klotz
6e48c10f5b
Merge pull request #7448 from earendil-works/feat/agent-branch-queries-v2
feat(agent): add bounded branch entry queries
2026-08-01 22:14:17 +03:00
Christian Klotz
eb2683fc59
fix(agent): use type index for compaction discovery 2026-08-01 21:38:41 +03:00
Christian Klotz
081d7fbfca
fix(agent): harden bounded branch queries 2026-08-01 21:26:55 +03:00
Christian Klotz
9b75872017
feat(agent): add bounded branch queries 2026-08-01 21:26:55 +03:00
Christian Klotz
e92bf60a58
fix(agent): make SQLite branch caching scalable 2026-08-01 10:08:56 +03:00
Christian Klotz
5cd0f98e93
docs(agent): clarify staged branch handling 2026-08-01 02:55:49 +03:00
Christian Klotz
57583617ef
fix(agent): make SQLite session operations linear 2026-08-01 02:11:22 +03:00
Christian Klotz
2366649ba4
fix(agent): avoid counting entries when opening sessions 2026-08-01 01:39:12 +03:00
Christian Klotz
53422a241a
feat(agent): add storage-owned session readers 2026-08-01 01:24:59 +03:00
Christian Klotz
9f4dfdddbf
fix(agent): remove obsolete SQLite session internals 2026-07-31 22:55:49 +03:00
Christian Klotz
9c3b271be0
fix(agent): make session search query-only 2026-07-31 18:31:04 +03:00
Christian Klotz
2b765ef529
fix(agent): restore forward session cursor reads
Document complete session store and search composition for scanning and canonical SQLite search.
2026-07-31 17:17:41 +03:00
Christian Klotz
2132f8f75f
fix(agent): clarify session persistence ownership 2026-07-31 16:16:42 +03:00
Christian Klotz
a1bb7e4483
fix(agent): expose session stores through factories 2026-07-31 10:28:59 +03:00
Christian Klotz
2700511e45
fix(agent): refine session repository API 2026-07-31 09:48:24 +03:00
Christian Klotz
9b50b046d3
Merge pull request #7163 from cristinaponcela/feat/search
feat: search index sqlite
2026-07-31 09:15:12 +03:00
Cristina Poncela Cubeiro
aa784e5eed refactor, cleanup and conditionals for fts5 2026-07-31 05:51:24 +02:00
Cristina Poncela Cubeiro
83a7f755cc refactor and cleanup 2026-07-30 16:35:29 +02:00
Cristina Poncela Cubeiro
5e48d41ecd refactor: repo facade 2026-07-30 14:07:58 +02:00
Armin Ronacher
71efc6f0c1 Add [Unreleased] section for next cycle
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-07-30 00:24:23 +02:00
Armin Ronacher
845d6ff1f6 Release v0.83.0 2026-07-30 00:24:19 +02:00
Cristina Poncela Cubeiro
6a9591ae78 refactor: repo owns session and storage separately 2026-07-29 16:33:20 +02:00
Cristina Poncela Cubeiro
3627c01179 fix: do not require index 2026-07-29 10:22:51 +02:00
Cristina Poncela Cubeiro
d5c37c65bf refactor: composable Storage vs Search 2026-07-29 09:50:36 +02:00
Cristina Poncela Cubeiro
c63bf0ee4b cleanup 2026-07-27 21:42:54 +02:00
Cristina Poncela Cubeiro
c2bd0eda7f fix: default sqlite search backend to fts5 2026-07-27 21:32:48 +02:00
Cristina Poncela Cubeiro
5d6237ab34 fix: helper owns create 2026-07-27 17:58:34 +02:00
Cristina Poncela Cubeiro
3c2b71b570 refactor: search index swappable 2026-07-27 17:52:13 +02:00
Cristina Poncela Cubeiro
0ee1ec0030 rename: may not be index 2026-07-27 16:12:43 +02:00
Cristina Poncela Cubeiro
bd8dc676bf
Merge branch 'main' into feat/search 2026-07-27 10:05:39 +02:00
Cristina Poncela Cubeiro
b92e5e8614 feat: search index factory 2026-07-27 10:02:25 +02:00
Cristina Poncela Cubeiro
0f5a6e422b feat: search index sqlite 2026-07-27 09:47:22 +02:00
Armin Ronacher
5bc1c2c0a6 Add [Unreleased] section for next cycle
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-07-25 14:37:15 +02:00
Armin Ronacher
b4f293684b Release v0.82.1 2026-07-25 14:37:11 +02:00
Armin Ronacher
7df73a00c6 Add [Unreleased] section for next cycle
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-07-24 08:00:35 +02:00
Armin Ronacher
083e616212 Release v0.82.0 2026-07-24 08:00:31 +02:00
Mario Zechner
dd6bea41ef Add [Unreleased] section for next cycle
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-07-21 18:40:11 +02:00
Mario Zechner
20be4b18d4 Release v0.81.1 2026-07-21 18:40:08 +02:00
Mario Zechner
3dcb411e89 Add [Unreleased] section for next cycle 2026-07-21 15:28:05 +02:00
Mario Zechner
9c480b6ad2 Release v0.81.0 2026-07-21 15:28:05 +02:00
Mario Zechner
109c4125d2 feat(agent): prepare SQLite storage package for publishing 2026-07-21 14:13:14 +02:00
Cristina Poncela Cubeiro
9e7582aa03
feat: sqlite session storage (#6594)
This PR:

- Adds retainedTail to compaction entries in the new agent harness so we don't have to walk up the tree for the 2000 tokens before compaction,
- Changes getPathToRoot to getPathToRootOrCompaction to only load until last compaction, as unnecessary to access all nodes where it is called,
- Adds a SQLite storage backend, in a separate packages/session-backend-sqlite, with a migration system and schemas as per on-site discussions: sessions to match session header messages (except for metadata, which I couldn't understand what it's used for or where it gets written, so I omitted it), session_entries for shared entry types as columns plus payload as a json for what remains, session_sequences to represent the append-only, serialized nature of the jsonl files, branch_entries to attribute nodes to branches (relationship one-to-many), and session_materialized with the session info (see /session in TUI) to act as a "cache" or quick-access for costs, message count, token info, labels, session name, and model-thinking-level config (e.g. for fast resume).
- This is compatible with the new agent harness Session abstraction.
2026-07-21 11:36:31 +02:00