Method
broadcastInbound
(
channelId: string,
platform: string,
sender: { id: string; username: string },
text: string,
)
Source from the content-addressed store, hash-verified
| 125 | } |
| 126 | |
| 127 | broadcastInbound( |
| 128 | channelId: string, |
| 129 | platform: string, |
| 130 | sender: { id: string; username: string }, |
| 131 | text: string, |
| 132 | ): void { |
| 133 | this.sendIpc({ |
| 134 | type: "inbound_message", |
| 135 | channelId, |
| 136 | platform, |
| 137 | sender, |
| 138 | text, |
| 139 | timestamp: Date.now(), |
| 140 | }); |
| 141 | } |
| 142 | |
| 143 | broadcastAgentEvent(channelId: string, event: AgentEvent): void { |
| 144 | this.sendIpc({ |
Callers
nothing calls this directly
Tested by
no test coverage detected