Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
779dacd
Drain trace journals through persistent collections
Qard Nov 10, 2026
a140d54
Remove journal implementation details from README
Qard Nov 11, 2026
3839442
Fix journal cleanup and cross-platform recovery tests
Qard Nov 11, 2026
5a94367
Mark async iterator compatibility traits for future removal
Qard Nov 11, 2026
cee1039
Add reusable collection transactions and move delivery ports
Qard Nov 11, 2026
41d0428
Confine SQLite to concrete session collections
Qard Nov 11, 2026
7b83ff0
Import through the daemon and remove the delivery ledger
Qard Nov 11, 2026
3901377
Hand each input to delivery in one transaction
Qard Nov 11, 2026
a97d3f4
Keep main's delivery ports instead of a parallel collection view
Qard Nov 12, 2026
b963a4d
Make the SpanOp collection the delivery channel and collapse its schema
Qard Nov 12, 2026
89fd0ba
Share the sink-field codec between stored ops and translator state
Qard Nov 12, 2026
7e2d504
Deduplicate tags while preparing routed rows instead of in a sink wra…
Qard Nov 12, 2026
35a8a26
Derive translator continuations from serializable translator state
Qard Nov 12, 2026
aebfce5
Merge origin/main into design/sqlite-journal-collections
Qard Nov 13, 2026
022b7d0
Keep storage bounded for sessions that never end
Qard Nov 13, 2026
bb751dd
Merge origin/main into design/sqlite-journal-collections
Qard Nov 13, 2026
03b2218
Append events and controls through one EventCollection method
Qard Nov 13, 2026
1e1c559
Use core and serde traits instead of hand-written conversions
Qard Nov 13, 2026
7bdaf24
Read and write SQLite columns through FromSql/ToSql
Qard Nov 13, 2026
8fe7ac2
Store an event record's kind in a column instead of a JSON tag
Qard Nov 13, 2026
0183a6c
Merge origin/main into design/sqlite-journal-collections
Qard Nov 13, 2026
38c585b
Let translators save and restore their state
Qard Nov 13, 2026
a6483b2
Import through the daemon and remove the delivery ledger
Qard Nov 16, 2026
165579e
Merge #291 into design/sqlite-journal-collections
Qard Nov 16, 2026
3ba8b49
Derive serde traits by their imported names
Qard Nov 16, 2026
d8e7b3e
Merge remote-tracking branch 'origin/design/translator-state' into de…
Qard Nov 16, 2026
230463d
Merge remote-tracking branch 'origin/design/import-through-daemon' in…
Qard Nov 16, 2026
0fc691e
Derive serde traits by their imported names in storage
Qard Nov 16, 2026
611c4da
Translate each import run from fresh state in its own session
Qard Nov 16, 2026
fe20a4c
Merge #291 into design/sqlite-journal-collections
Qard Nov 16, 2026
f60c367
Drop the test that an import after live capture records nothing
Qard Nov 16, 2026
295eb00
Merge remote-tracking branch 'origin/main' into design/import-through…
Qard Nov 16, 2026
c6e69ef
Merge remote-tracking branch 'origin/design/import-through-daemon' in…
Qard Nov 16, 2026
a0db38c
Merge origin/main into design/sqlite-journal-collections
Qard Nov 16, 2026
914f700
Drop the import handlers the merge duplicated
Qard Nov 16, 2026
ecd4b06
bt-daemon: open each session's storage through one handle
Qard Nov 16, 2026
881792d
bt-daemon: tighten the session storage interface
Qard Nov 16, 2026
2297c9a
bt-daemon: match the storage inspector to continuation()
Qard Nov 16, 2026
4edc75a
bt-daemon: read event records as a futures Stream
Qard Nov 16, 2026
5202156
bt-daemon: map storage rows with serde_rusqlite and weak-table
Qard Nov 17, 2026
e6f18f0
bt-daemon: upgrade rusqlite to 0.41
Qard Nov 17, 2026
5b6d8cc
Merge origin/main into design/sqlite-journal-collections
Qard Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 58 additions & 23 deletions bt-daemon/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion bt-daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ description = "Embeddable Braintrust coding-agent tracing daemon."
default = []
# Standalone development/test binary. Production embeds the library in `bt`.
cli = []
# Storage inspection and fault injection for this crate's integration tests.
test-support = []

[[bin]]
name = "bt-daemon"
Expand All @@ -34,6 +36,7 @@ async-trait = "0.1"
chrono = "0.4"
clap = { version = "4", features = ["derive", "env"] }
fs2 = "0.4"
futures = { version = "0.3", default-features = false, features = ["std"] }
regex = "1"
rquickjs = "0.12.2"
rquickjs-serde = "0.6.1"
Expand All @@ -50,13 +53,16 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
uuid = { version = "1", features = ["v4", "v5"] }
url = "2"
rusqlite = { version = "0.37", features = ["bundled"] }
rusqlite = { version = "0.41", features = ["bundled", "fallible_uint"] }
serde_rusqlite = "0.44"
weak-table = "0.4"
file-rotate = "0.8"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_System_Threading"] }

[dev-dependencies]
bt-daemon = { path = ".", features = ["test-support"] }
axum = "0.8"
bytes = "1"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream"] }
Expand Down
Loading
Loading