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

Method handleMessage

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

Handle an incoming message with streaming events

(
    adapter: RuntimePlatform,
    channelId: string,
    text: string,
    onEvent: (event: AgentEvent) => void,
    attachments?: ChannelAttachment[],
  )

Source from the content-addressed store, hash-verified

125export interface IPackAgent {
126 /** Handle an incoming message with streaming events */
127 handleMessage(
128 adapter: RuntimePlatform,
129 channelId: string,
130 text: string,

Callers 6

handleTelegramMessageMethod · 0.65
handleRequestMethod · 0.65
runAgentMethod · 0.65
runJobMethod · 0.65
handleWsConnectionMethod · 0.65
handleIncomingMessageMethod · 0.65

Implementers 1

PackAgentsrc/runtime/agent.ts

Calls

no outgoing calls

Tested by

no test coverage detected