MCPcopy Create free account

hub / github.com/DamienBench/a2a-mcp-webhook-workshop / functions

Functions181 in github.com/DamienBench/a2a-mcp-webhook-workshop

↓ 35 callersFunctionaddTerminalLine
(text, shouldScroll = true)
src/webhooks/public/js/app.js:1831
↓ 25 callersFunctioncolorize
(color: keyof typeof colors, text: string)
src/cli.ts:34
↓ 9 callersFunctiondebug
(...args: any[])
src/agents/host/index.ts:55
↓ 8 callersMethodapplyUpdateToTaskAndHistory
( current: TaskAndHistory, update: Omit<schema.TaskStatus, "timestamp"> | schema.Artifact )
src/a2a/server/server.ts:50
↓ 7 callersFunctioncreateDashboardUI
()
src/webhooks/public/js/app.js:230
↓ 7 callersMethodsave
* Saves a task and its associated message history. * Overwrites existing data if the task ID exists. * @param data An object containing the task
src/a2a/server/store.ts:28
↓ 6 callersFunctionconvertUrlsToLinks
(text)
src/webhooks/public/js/app.js:1078
↓ 6 callersMethodinternalError
(message: string, data?: unknown)
src/a2a/server/error.ts:59
↓ 6 callersMethodinvalidParams
(message: string, data?: unknown)
src/a2a/server/error.ts:55
↓ 5 callersMethod_handleJsonResponse
* Handles standard JSON-RPC responses (non-streaming). * Parses the response, checks for JSON-RPC errors, and returns ONLY the 'result' payload.
src/a2a/client/client.ts:138
↓ 5 callersMethodnormalizeError
Normalizes various error types into a JSONRPCResponse containing an error
src/a2a/server/server.ts:716
↓ 4 callersMethodcreateSuccessResponse
( id: number | string | null, result: T )
src/a2a/server/server.ts:686
↓ 4 callersFunctionfetchWebhooks
()
src/webhooks/public/js/app.js:1953
↓ 4 callersFunctiongracefulShutdown
(signal: string)
src/webhooks/index.ts:35
↓ 4 callersMethodrecordWebhookInvocation
* Record a webhook invocation and update statistics
src/webhooks/server.ts:642
↓ 4 callersFunctionscrollToBottom
()
src/webhooks/public/js/app.js:1716
↓ 4 callersMethodsendJsonResponse
Sends a standard JSON success response
src/a2a/server/server.ts:837
↓ 4 callersFunctionsetupWebhookTableRowListeners
()
src/webhooks/public/js/app.js:553
↓ 4 callersMethodstart
* Starts the Express server listening on the specified port. * @param port Port number to listen on. Defaults to 41240. * @returns The running E
src/a2a/server/server.ts:142
↓ 3 callersMethodagentCard
()
src/a2a/client/client.ts:355
↓ 3 callersFunctioncreateMcpClient
(name: string = "a2a-mcp-client")
src/mcp/client.ts:16
↓ 3 callersMethodcreateTaskStatusEvent
Creates a TaskStatusUpdateEvent object
src/a2a/server/server.ts:748
↓ 3 callersFunctionfetchWebhookStats
()
src/webhooks/public/js/app.js:166
↓ 3 callersMethodload
* Loads a task and its history by task ID. * @param taskId The ID of the task to load. * @returns A promise resolving to an object containing th
src/a2a/server/store.ts:35
↓ 3 callersFunctionregisterAgent
(agentType: string, agentUrl: string)
src/agents/host/genkit.ts:205
↓ 3 callersMethodsaveStats
* Save statistics to file
src/webhooks/server.ts:856
↓ 3 callersMethodsendTask
* Sends a task request to the agent (non-streaming). * @param params The parameters for the tasks/send method. * @returns A promise resolving to
src/a2a/client/client.ts:398
↓ 3 callersMethodupdateAgentInvocationStats
(agentType: string)
src/webhooks/server.ts:1220
↓ 3 callersFunctionupdateAgentTerminal
(agentType)
src/webhooks/public/js/app.js:1583
↓ 3 callersFunctionupdateTestPayload
()
src/webhooks/public/js/app.js:1871
↓ 2 callersMethod_handleStreamingResponse
* Handles streaming Server-Sent Events (SSE) responses. * Returns an AsyncIterable that yields ONLY the 'result' payloads (events). * Throws Rpc
src/a2a/client/client.ts:229
↓ 2 callersMethodcreateTaskContext
( task: schema.Task, userMessage: schema.Message, history: schema.Message[] // Add history paramet
src/a2a/server/server.ts:634
↓ 2 callersMethoddetermineWebhookSuccess
* A helper method to determine if a webhook execution was successful
src/webhooks/server.ts:1062
↓ 2 callersMethodensureDirectoryExists
()
src/a2a/server/store.ts:75
↓ 2 callersFunctionfetchAgentLogs
(agentType, pollingId)
src/webhooks/public/js/app.js:1727
↓ 2 callersFunctionfetchRemoteAgentActivity
(agentType, pollingId)
src/webhooks/public/js/app.js:2269
↓ 2 callersFunctiongenerateTaskId
()
src/cli.ts:38
↓ 2 callersFunctiongenerateWebhookTableRows
(webhooks)
src/webhooks/public/js/app.js:415
↓ 2 callersFunctiongetAgentIconClass
(agentType)
src/webhooks/public/js/app.js:1066
↓ 2 callersFunctiongetCurrentTimestamp
()
src/a2a/server/utils.ts:5
↓ 2 callersMethodgetHistoryFilePath
(taskId: string)
src/a2a/server/store.ts:92
↓ 2 callersFunctiongetHostTools
()
src/agents/host/genkit.ts:220
↓ 2 callersMethodgetTaskFilePath
(taskId: string)
src/a2a/server/store.ts:86
↓ 2 callersFunctionhandleNavigation
(hash)
src/webhooks/public/js/app.js:1162
↓ 2 callersFunctionisArtifactUpdate
( update: any // eslint-disable-line @typescript-eslint/no-explicit-any )
src/a2a/server/utils.ts:33
↓ 2 callersFunctionisObject
(value: unknown)
src/a2a/server/utils.ts:14
↓ 2 callersFunctionisTaskStatusUpdate
( update: any // eslint-disable-line @typescript-eslint/no-explicit-any )
src/a2a/server/utils.ts:22
↓ 2 callersFunctionloadAgentConfig
()
src/agents/host/index.ts:135
↓ 2 callersMethodloadOrCreateTaskAndHistory
( taskId: string, initialMessage: schema.Message, sessionId?: string | null, // Allow null met
src/a2a/server/server.ts:551
↓ 2 callersFunctionprintMessageContent
(message: Message)
src/cli.ts:120
↓ 2 callersMethodprocessWebhookAsync
* Process webhook data asynchronously
src/webhooks/server.ts:265
↓ 2 callersMethodsaveConfiguration
* Save a webhook configuration to disk
src/webhooks/server.ts:145
↓ 2 callersFunctionsendAgentTask
* Send a task to an agent and get the result
src/agents/host/index.ts:927
↓ 2 callersFunctionshowWebhookModal
(webhook = null)
src/webhooks/public/js/app.js:1896
↓ 2 callersMethodtaskNotFound
(taskId: string)
src/a2a/server/error.ts:63
↓ 2 callersFunctionupdateDashboard
()
src/webhooks/public/js/app.js:203
↓ 2 callersFunctionupdateWebhookStats
(webhookId, status)
src/webhooks/public/js/app.js:1577
↓ 2 callersMethodvalidateTaskSendParams
( params: any )
src/a2a/server/server.ts:663
↓ 2 callersMethodwriteJsonFile
(filePath: string, data: any)
src/a2a/server/store.ts:131
↓ 1 callersMethod_generateRequestId
* Helper to generate unique request IDs. * Uses crypto.randomUUID if available, otherwise a simple timestamp-based fallback.
src/a2a/client/client.ts:75
↓ 1 callersFunctionaddSingleLine
(text, shouldScroll = true)
src/webhooks/public/js/app.js:1837
↓ 1 callersFunctionanalyzeContentWithLLM
* Analyze content with LLM and identify tasks for specific agents
src/agents/host/index.ts:969
↓ 1 callersFunctionbenchAgent
* Bench agent that can interact with the Bench API
src/agents/bench/index.ts:27
↓ 1 callersMethodcreateErrorResponse
( id: number | string | null, error: schema.JSONRPCError<unknown> )
src/a2a/server/server.ts:703
↓ 1 callersFunctioncreateGithubIssue
(args: any)
src/mcp/github.ts:21
↓ 1 callersMethodcreateTaskArtifactEvent
Creates a TaskArtifactUpdateEvent object
src/a2a/server/server.ts:761
↓ 1 callersFunctiondetermineActualWebhookStatus
(webhook)
src/webhooks/public/js/app.js:449
↓ 1 callersMethodendpoint
* Returns an Express RequestHandler function to handle A2A requests.
src/a2a/server/server.ts:182
↓ 1 callersFunctionfetchAgentCapabilities
* Fetch agent capabilities from its agent card
src/agents/host/index.ts:71
↓ 1 callersFunctionfetchAgentInfo
* Fetch agent information from its agent card
src/agents/host/genkit.ts:47
↓ 1 callersFunctionfetchAndDisplayAgentCard
()
src/cli.ts:149
↓ 1 callersFunctionformatJson
()
src/webhooks/public/js/app.js:1152
↓ 1 callersFunctiongetBenchTools
()
src/agents/bench/genkit.ts:121
↓ 1 callersFunctiongetGithubTools
()
src/agents/github/genkit.ts:119
↓ 1 callersFunctiongetMcpClient
()
src/mcp/slack.ts:8
↓ 1 callersFunctiongetMcpClient
()
src/mcp/github.ts:8
↓ 1 callersFunctiongetSlackTools
()
src/agents/slack/genkit.ts:159
↓ 1 callersFunctiongithubAgent
* GitHub agent that can create issues
src/agents/github/index.ts:28
↓ 1 callersMethodhandleTaskCancel
( req: schema.CancelTaskRequest, res: Response )
src/a2a/server/server.ts:502
↓ 1 callersMethodhandleTaskGet
( req: schema.GetTaskRequest, res: Response )
src/a2a/server/server.ts:486
↓ 1 callersMethodhandleTaskSend
( req: schema.SendTaskRequest, res: Response )
src/a2a/server/server.ts:235
↓ 1 callersMethodhandleTaskSendSubscribe
( req: schema.SendTaskStreamingRequest, res: Response )
src/a2a/server/server.ts:305
↓ 1 callersFunctionhashLogEntries
(entries)
src/webhooks/public/js/app.js:1799
↓ 1 callersFunctioninit
()
src/webhooks/public/js/app.js:106
↓ 1 callersFunctioninitDashboard
()
src/webhooks/public/js/app.js:140
↓ 1 callersFunctioninitServer
* Start the A2A server for Host agent
src/agents/host/index.ts:1195
↓ 1 callersFunctioninitServer
* Start the A2A server for GitHub agent
src/agents/github/index.ts:196
↓ 1 callersFunctioninitServer
* Start the A2A server for Slack agent
src/agents/slack/index.ts:183
↓ 1 callersFunctioninitServer
* Start the A2A server for Bench agent
src/agents/bench/index.ts:202
↓ 1 callersFunctioninitializeAgentDetection
()
src/webhooks/public/js/app.js:2217
↓ 1 callersFunctioninitializeAgentMaps
()
src/agents/host/index.ts:220
↓ 1 callersFunctioninitializeTerminal
()
src/webhooks/public/js/app.js:1856
↓ 1 callersMethodinvalidRequest
(message: string, data?: unknown)
src/a2a/server/error.ts:44
↓ 1 callersMethodisHistoryFileContent
( content: any )
src/a2a/server/store.ts:102
↓ 1 callersMethodisValidJsonRpcRequest
(body: any)
src/a2a/server/server.ts:648
↓ 1 callersMethodloadStats
* Load statistics from file
src/webhooks/server.ts:881
↓ 1 callersMethodloadWebhookConfigurations
* Load all webhook configurations from the host agent config directory
src/webhooks/server.ts:110
↓ 1 callersFunctionmain
()
src/cli.ts:183
↓ 1 callersFunctionmain
* Main function to start the server
src/agents/host/index.ts:1291
↓ 1 callersFunctionmain
* Main function to either run a test or start the server
src/agents/github/index.ts:244
next →1–100 of 181, ranked by callers