MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / AdapterContext

Interface AdapterContext

src/runtime/adapters/types.ts:214–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212/** IPC broadcast interface used by platform adapters to notify Electron */
213export 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
227export interface AdapterContext {
228 agent: IPackAgent;
229 server: Server;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected