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

Interface PlatformAdapter

src/runtime/adapters/types.ts:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228export interface PlatformAdapter {
229 /** Adapter name, e.g. "web", "telegram" */
230 name: string;
231
232 /** Start the adapter */
233 start(ctx: AdapterContext): Promise<void>;
234
235 /** Stop the adapter gracefully */
236 stop(): Promise<void>;
237}
238
239// ---------------------------------------------------------------------------
240// Message Sender (for adapters that support proactive message sending)

Callers 10

startServerFunction · 0.65
startMethod · 0.65
setEnabledMethod · 0.65
scheduler.test.tsFile · 0.65
gracefulStopMethod · 0.65
stopMethod · 0.65
setEnabledMethod · 0.65
removeFromMapMethod · 0.65
stopMethod · 0.65
scheduler.test.tsFile · 0.65

Implementers 6

TelegramAdaptersrc/runtime/adapters/telegram.ts
IpcAdaptersrc/runtime/adapters/ipc.ts
SlackAdaptersrc/runtime/adapters/slack.ts
SchedulerAdaptersrc/runtime/adapters/scheduler.ts
WebAdaptersrc/runtime/adapters/web.ts
FeishuAdaptersrc/runtime/adapters/feishu.ts

Calls

no outgoing calls

Tested by

no test coverage detected