Commit Graph

6 Commits

Author SHA1 Message Date
11e52d5910 chore(proto): update chat proto ready marker
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 22:31:55 +03:00
8bc08fb9f9 chore(module): use Gitea SDK import path
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 22:22:50 +03:00
f2825f93a5 chore(proto): update chat proto submodule
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 22:20:19 +03:00
af2560222f Harden Stage 5 subscription safety checks
Fence stale ACK results by generation, make duplicate MarkProcessed harmless after confirmed ACK, and cover forged delivery, mutation, in-flight ACK, initial subscribe, and replacement edge cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 21:29:41 +03:00
54e8c73eb7 Test ACK response loss reconnect behavior
Cover the ambiguous case where the server applies an ACK but the client sees a transient failure, ensuring reconnect follows the server durable cursor instead of local receive state.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 21:23:37 +03:00
9ac1206f2e Add reusable live chat Go SDK
Provide a standalone agent client for l-ai-chat with service-token auth, safe at-least-once subscriptions, ordered cumulative ACK tracking, and self-contained gRPC fake tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 21:17:31 +03:00