Files
orca/src/shared/agent-session-frame-fields.ts
T
Brennan Benson 8c1ade9e44 Keep pending chat decisions available outside loaded history (#29121)
* fix(native-chat): retire acknowledged send echoes after catch-up

* test: follow phone lint rules in reconnect regression

* test: format reconnect message expectation

* Keep current chat requests independent of loaded history

* Read current chat requests in bounded cursor pieces

* Fix current request subscription static checks

* Match generated request schema import ordering

* fix(native-chat): correct current request type boundaries

* Exercise current request reads in wire compatibility inventory

* Align current request fixtures with provider commit and RPC surface

* test(native-chat): include current request browser capability

* Keep the mobile chat session hook within its line budget

* Format mobile current request readers

* fix(native-chat): reopen once for a current-request version whose read keeps failing

A deterministic read failure reopened the subscription, whose first frame re-read the same version and reset the backoff, so the pane resubscribed every 750 ms forever.

* test(native-chat): type the current-request snapshot fixture

* test(native-chat): wait for the hydrated open before driving the subscription
2026-10-16 16:01:58 -07:00

11 lines
566 B
TypeScript

import type { AgentSessionCurrentRequestsMarker } from './agent-session-current-requests-wire'
import type { AgentSessionQueuePublicationFields } from './agent-session-queued-message-wire'
/** Every published frame: the host wall clock (ms epoch, see `AgentSessionHistoryPage`), and what
* rides beside its `queuedMessages`. */
export type AgentSessionFrameFields = {
hostNow?: number
/** Version of the independent current-request read; absent from older hosts. */
currentRequests?: AgentSessionCurrentRequestsMarker
} & AgentSessionQueuePublicationFields