| 212 | /** IPC broadcast interface used by platform adapters to notify Electron */ |
| 213 | export interface IpcBroadcaster { |
| 214 | broadcastInbound( |
| 215 | channelId: string, |
| 216 | platform: string, |
| 217 | sender: { id: string; username: string }, |
| 218 | text: string, |
| 219 | ): void; |
| 220 | broadcastAgentEvent(channelId: string, event: AgentEvent): void; |
| 221 | } |
| 222 | |
| 223 | // --------------------------------------------------------------------------- |
| 224 | // Platform Adapter |
| 225 | // --------------------------------------------------------------------------- |
| 226 | |
| 227 | export interface AdapterContext { |
| 228 | agent: IPackAgent; |
| 229 | server: Server; |
nothing calls this directly
no outgoing calls
no test coverage detected