Commit graph

21 commits

Author SHA1 Message Date
Cristina Poncela Cubeiro
11dd14f6ee fix(sqlite): unicode keys, duplicate create 2026-08-13 14:16:42 +02:00
Cristina Poncela Cubeiro
5b8df56823 feat(sqlite): readonly storage 2026-08-13 13:55:13 +02:00
Cristina Poncela Cubeiro
f69f19ecc0 feat(sqlite): branch and usage helpers 2026-08-13 13:54:41 +02:00
Cristina Poncela Cubeiro
6b8b140c85 feat(sqlite): scaffold storage 2026-08-13 12:08:51 +02:00
Cristina Poncela Cubeiro
cf82e2e2ae feat(sqlite): more helpers 2026-08-13 11:58:39 +02:00
Cristina Poncela Cubeiro
90b63bf172 feat: initial sqlite repo 2026-08-12 22:45:01 +02:00
Cristina Poncela Cubeiro
ba6190f820 feat: session helpers for repo 2026-08-12 17:06:11 +02:00
Cristina Poncela Cubeiro
1969b02865 feat: SQLite migration 2026-08-12 17:02:30 +02:00
Mario Zechner
5aeb06bb11 feat(agent): establish durable harness type contracts 2026-08-11 17:43:26 +02:00
Cristina Poncela Cubeiro
b75be04d92
refactor: search (#7797)
* refactor: search out of repo

* fix: apply cases, no resolve for index on every hit

* chore: tests

* fix: use iterator and no open

* refactor: public dir stuff in jsonl, source

* cleanup and sqlite time number

* fix: use storage for label search too, delete types

* refactor: abstract some more

* docs: example jsonl with elastic search

* docs: Christian's md

* refactor: simpler api surface

* feat: rebuild

* docs: consolidate

* fix: use trigger for sqlite, cleanup indexable, add example in doc

* chore: restore upstream responses shared

* fix: delete metadata from jsonl search hit

* fix: AsynIterable

* refactor: scanning for memory, reuse

* fix: dont export jsonlSessionDirectoryName

* cleanup: more shared stuff

* cleanup: why, jsonl?
2026-08-11 13:27:48 +02:00
Cristina Poncela Cubeiro
a4453b79bb fix: sqlite time to number 2026-08-11 10:07:53 +02:00
David Brailovsky
7bdb16c28d feat(agent): support clearing session names 2026-08-08 19:19:46 +02:00
Cristina Poncela Cubeiro
e7fb8eb2ac fix: no ctes in sqlite, delete indexes 2026-08-07 16:13:16 +02:00
Cristina Poncela Cubeiro
ae1e410e37
fix: sqlite queries optimizations (#7727)
* fix: findEntriesOnBranch filters

* fix: branch entry membership index

* fix: get log limit, add test

* fix: record indexes

* fix: use facts index

* fix: composite desc index for cwd, created at
2026-08-07 07:24:00 +02:00
Armin Ronacher
055ecce080 feat(agent): add SQLite SQL template queries 2026-08-06 18:10:42 +02:00
Cristina Poncela Cubeiro
2f550d827d
fix: project open operation id to lanes (#7654)
* fix: project open operation id to lanes

* delete: idx_lanes_session_leaf

* fix: split, over-defensive

* delete: unnecessary assertion
2026-08-05 16:57:41 +02:00
Christian Klotz
1022a9e824
fix(agent): list SQLite sessions without writer claims (#7655)
* fix(agent): list SQLite sessions without writer claims

* fix(agent): reject null SQLite session names
2026-08-05 13:25:37 +03:00
Vegard Stikbakke
1e95e16b61 fix(agent): remove redundant SQLite read clones 2026-08-05 10:51:46 +02:00
Vegard Stikbakke
591f22a618
feat(agent): add indexed harness recovery queries (#7646)
Implements R0 of the harness v2 plan, which adds RecordQuery.operationKind filtering and adds Session.findOpenOperations() for recovery purposes. The in-memory implementation keeps the open-operation projections in memory. SQLite implementation adds an index idx_records_session_lane_run_id_type.
2026-08-05 10:41:44 +02:00
David Brailovsky
7bdeeb8f93 fix(agent): count copied messages in fork stats 2026-08-05 09:57:30 +02:00
Cristina Poncela Cubeiro
a80008b96c chore: rename storage package to session-backends 2026-08-05 09:28:44 +02:00