Compare commits

..
Author SHA1 Message Date
rust-dev (hermes)
6437f9ee90
feat(sdk): expose the outbox rows behind a queued chat message
All checks were successful
ci / test (pull_request) Successful in 3m0s
ci / sdk (pull_request) Successful in 55s
The TUI can say why a queued row is still queued ('queued (try n/8,
retry 45s)') because it reads OutboxEntry::attempts and next_attempt_at
directly. The SDK exposed neither: ChatMessage.delivery is a flat
'queued'/'sending'/'failed: <reason>' string and Wire had no outbox
accessor, so an Android chat row could only invent a countdown.

Adds OutboxRow { message_id, status, attempts, next_attempt_at,
last_error } and Wire::outbox(pubkey_hex) over Node::outbox_pending, plus
outbox_max_attempts() so the client renders 'try n/8' against the core's
own budget instead of a hardcoded 8. Additive: Wire::send() and
ChatMessage.delivery are untouched.
2026-09-12 17:12:52 -04:00

Diff content is not available