[codex] Refactor BLE transport event handling (#1266)

* Refactor BLE transport event handling

* Make image output paths unique

* Keep queued Nostr read receipts alive

* Allow self-authored RSR ingress replies

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
This commit is contained in:
jack
2026-05-31 13:58:27 +02:00
committed by GitHub
co-authored by jack
parent 3be8fbf1c4
commit ab0da61533
19 changed files with 575 additions and 152 deletions
+2
View File
@@ -42,6 +42,7 @@ struct ChatViewModelInitializationTests {
// The viewModel should set itself as the transport delegate
#expect(transport.delegate === viewModel)
#expect(transport.eventDelegate === viewModel)
}
@Test @MainActor
@@ -421,6 +422,7 @@ struct ChatViewModelReceivingTests {
// Message may or may not appear due to rate limiting/pipeline batching
// The important thing is no crash and delegate was called
#expect(transport.delegate === viewModel)
#expect(transport.eventDelegate === viewModel)
}
@Test @MainActor