Return latest messages by default instead of oldest. Support paginated loading of older messages when scrolling up via IntersectionObserver, with scrollHeight compensation to preserve scroll position. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
export {
|
|
HelloAction,
|
|
HelloResponseAction,
|
|
type HelloPayload,
|
|
type HelloResponsePayload,
|
|
} from "./hello";
|
|
|
|
export {
|
|
RequestAction,
|
|
ResponseAction,
|
|
type RequestPayload,
|
|
type ResponsePayload,
|
|
type ResponseSuccessPayload,
|
|
type ResponseErrorPayload,
|
|
isResponseSuccess,
|
|
isResponseError,
|
|
type AgentMessageItem,
|
|
DEFAULT_MESSAGES_LIMIT,
|
|
type GetAgentMessagesParams,
|
|
type GetAgentMessagesResult,
|
|
type GetHubInfoResult,
|
|
type ListAgentsResult,
|
|
type CreateAgentParams,
|
|
type CreateAgentResult,
|
|
type DeleteAgentParams,
|
|
type DeleteAgentResult,
|
|
type UpdateGatewayParams,
|
|
type UpdateGatewayResult,
|
|
type DeviceMeta,
|
|
type VerifyParams,
|
|
type VerifyResult,
|
|
} from "./rpc";
|
|
|
|
export {
|
|
StreamAction,
|
|
type StreamPayload,
|
|
type AgentEvent,
|
|
type CompactionEvent,
|
|
type CompactionStartEvent,
|
|
type CompactionEndEvent,
|
|
type ContentBlock,
|
|
type TextContent,
|
|
type ThinkingContent,
|
|
type ToolCall,
|
|
type ImageContent,
|
|
extractThinkingFromEvent,
|
|
} from "./stream";
|
|
|
|
export {
|
|
ExecApprovalRequestAction,
|
|
type ApprovalDecision,
|
|
type ExecApprovalRequestPayload,
|
|
type ResolveExecApprovalParams,
|
|
type ResolveExecApprovalResult,
|
|
} from "./exec-approval";
|