Variable: MessageListQuerySchema
constMessageListQuerySchema:TObject<{branchId:TOptional<TString>;cursor:TOptional<TString>;limit:TOptional<TInteger>;order:TOptional<TUnion<[TLiteral<"asc">,TLiteral<"desc">]>>; }>
Defined in: packages/contracts/src/message.ts:305
Message page query. Old messages are loaded in batches (AGENTS.md §13). Default order is descending (newest first) for efficient "open chat and show the last N messages"; the client reverses for display.