mirror of
https://github.com/stablyai/orca.git
synced 2026-11-02 18:17:36 +00:00
* 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
25 lines
609 B
TypeScript
25 lines
609 B
TypeScript
import type { AGENT_SESSION_CURRENT_REQUESTS_CLIENT_CAPABILITY } from './agent-session-current-requests-capability'
|
|
|
|
export type AgentSessionCurrentRequestsMarker = {
|
|
contract: typeof AGENT_SESSION_CURRENT_REQUESTS_CLIENT_CAPABILITY
|
|
sessionId: string
|
|
epoch: string
|
|
publisher: string
|
|
revision: number
|
|
owner: string
|
|
version: string
|
|
}
|
|
|
|
export type AgentSessionCurrentRequestsRead = {
|
|
sessionId: string
|
|
version: string
|
|
cursor?: number
|
|
}
|
|
|
|
export type AgentSessionCurrentRequestsPiece = {
|
|
marker: AgentSessionCurrentRequestsMarker
|
|
json: string
|
|
nextCursor: number | null
|
|
restart?: true
|
|
}
|