/** * External message received from a messenger transport */ export interface ExternalMessage { /** Unique chat/channel identifier */ chatId: string; /** Transport type (matrix) */ transport: string; /** Message content/text */ content: string; /** Sender username */ username: string; /** Sender user ID */ userId: string; /** Message timestamp */ timestamp: Date; /** Unique message identifier */ messageId: string; /** Is this a group/channel message? */ isGroupChat: boolean; /** Was the bot mentioned? (for group chats) */ wasMentioned?: boolean; } /** * Configuration for matrix-bridge extension */ export interface MatrixBridgeConfig { matrix?: { homeserverUrl: string; accessToken: string; encryption?: boolean; }; auth?: { trustedUsers?: string[]; channels?: Record; }; hideToolCalls?: boolean; /** Hide the model's reasoning (💭) from remote messages. Shown by default. */ hideThinking?: boolean; showWidget?: boolean; } /** * Pending remote chat session tracking */ export interface PendingRemoteChat { chatId: string; transport: string; username: string; messageId: string; } /** * Transport connection status */ export interface TransportStatus { type: string; connected: boolean; error?: string; } //# sourceMappingURL=types.d.ts.map