Unattended test: build the subscription the current way

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 01:08:01 +00:00
32 changed files with 1538 additions and 186 deletions
+4
View File
@@ -357,6 +357,10 @@ type ChatSession struct {
Tag string `json:"tag,omitempty"`
CreatedAt int64 `json:"created_at,omitempty"`
UpdatedAt int64 `json:"updated_at,omitempty"`
// Revision increases with every change to the chat's registry row. The
// chat_session_changed pushes may arrive out of order; a client ignores one
// older than the row it holds. 0 (older servers) is unordered.
Revision int64 `json:"revision,omitempty"`
// Busy is retained for wire compatibility only: it is never set by this
// server. A session is never read-only, any number of clients may watch and
// write it, and only a turn is serialised (a waiting prompt is acknowledged