MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
* Main function to either run a test or start the server
src/agents/slack/index.ts:230
↓ 1 callersFunctionmain
* Main function to either run a test or start the server
src/agents/bench/index.ts:259
↓ 1 callersFunctionmain
()
src/webhooks/index.ts:16
↓ 1 callersMethodmethodNotFound
(method: string)
src/a2a/server/error.ts:48
↓ 1 callersMethodmigrateOldStatsFile
* Migrate old stats file if it exists
src/webhooks/server.ts:1026
↓ 1 callersMethodparseError
(message: string, data?: unknown)
src/a2a/server/error.ts:40
↓ 1 callersFunctionpopulateWebhookSelect
(webhooks)
src/webhooks/public/js/app.js:1985
↓ 1 callersFunctionprintAgentEvent
( event: TaskStatusUpdateEvent | TaskArtifactUpdateEvent )
src/cli.ts:57
↓ 1 callersFunctionprocessAgentsInParallel
* Process a list of agent tasks in parallel
src/agents/host/index.ts:782
↓ 1 callersFunctionprocessAgentsSequentially
* Process a list of agent tasks sequentially
src/agents/host/index.ts:862
↓ 1 callersFunctionprocessRequest
* Process a user request using the LLM
src/agents/host/index.ts:239
↓ 1 callersMethodprocessWebhookData
* Process webhook data and send to host agent
src/webhooks/server.ts:297
↓ 1 callersFunctionprocessWebhookDirectly
* Process a webhook directly in the host agent using the configuration
src/agents/host/index.ts:648
↓ 1 callersFunctionrefreshAgentCapabilities
* Refresh agent capabilities by querying all configured agents
src/agents/host/index.ts:113
↓ 1 callersFunctionrenderWebhookList
(webhooks)
src/webhooks/public/js/app.js:1374
↓ 1 callersFunctionrunTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/github/index.ts:163
↓ 1 callersFunctionrunTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/slack/index.ts:150
↓ 1 callersFunctionrunTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/bench/index.ts:169
↓ 1 callersFunctionsendChatRequest
(userMessage: string)
src/agents/bench/bench-typescript-example.ts:21
↓ 1 callersFunctionsendSlackMessage
(args: any)
src/mcp/slack.ts:21
↓ 1 callersMethodsendTaskSubscribe
* Sends a task request and subscribes to streaming updates. * @param params The parameters for the tasks/sendSubscribe method. * @yields TaskSta
src/a2a/client/client.ts:415
↓ 1 callersMethodsendToHostAgent
* Send data to the host agent
src/webhooks/server.ts:317
↓ 1 callersFunctionsetupAgentSidebar
()
src/webhooks/public/js/app.js:2116
↓ 1 callersFunctionsetupEventListeners
()
src/webhooks/public/js/app.js:1103
↓ 1 callersFunctionsetupNavigation
()
src/webhooks/public/js/app.js:1294
↓ 1 callersMethodsetupRoutes
* Setup routes for the webhook server
src/webhooks/server.ts:168
↓ 1 callersFunctionsetupTerminalScrollListener
()
src/webhooks/public/js/app.js:1669
↓ 1 callersFunctionshowWebhookDetails
(webhookId)
src/webhooks/public/js/app.js:563
↓ 1 callersFunctionslackAgent
* Slack agent that can send messages to Slack channels using MCP
src/agents/slack/index.ts:22
↓ 1 callersMethodstart
* Start the webhook server
src/webhooks/server.ts:967
↓ 1 callersFunctionstartLogPolling
(agentType, pollingId)
src/webhooks/public/js/app.js:1811
↓ 1 callersFunctionstartRemoteAgentMonitoring
(agentType, pollingId)
src/webhooks/public/js/app.js:2246
↓ 1 callersMethodstop
* Stop the webhook server gracefully
src/webhooks/server.ts:992
↓ 1 callersMethodtoJSONRPCError
* Formats the error into a standard JSON-RPC error object structure.
src/a2a/server/error.ts:27
↓ 1 callersFunctionupdateAgentCacheIfNeeded
* Update agent cache if needed
src/agents/host/index.ts:100
↓ 1 callersFunctionupdateDashboardContent
()
src/webhooks/public/js/app.js:397
↓ 1 callersFunctionupdateServerStatus
()
src/webhooks/public/js/app.js:1353
Method_makeHttpRequest
* Internal helper method to make JSON-RPC calls via HTTP POST. * @param method The JSON-RPC method name. * @param params The parameters for the
src/a2a/client/client.ts:94
MethodcancelTask
* Cancels a currently running task. * @param params The parameters for the tasks/cancel method. * @returns A promise resolving to the updated Ta
src/a2a/client/client.ts:455
Methodconstructor
(code: number, message: string, data?: unknown)
src/a2a/client/client.ts:43
Methodconstructor
* Creates an instance of A2AClient. * @param baseUrl The base URL of the A2A server endpoint. * @param fetchImpl Optional custom fetch implement
src/a2a/client/client.ts:65
Methodconstructor
( code: schema.KnownErrorCode | number, message: string, data?: unknown, taskId?: string )
src/a2a/server/error.ts:11
Methodconstructor
(options?: { dir?: string })
src/a2a/server/store.ts:70
Methodconstructor
(handler: TaskHandler, options: A2AServerOptions = {})
src/a2a/server/server.ts:125
Methodconstructor
(port = 3000)
src/webhooks/server.ts:78
MethodcreateWebhook
* API endpoint to create a new webhook configuration
src/webhooks/server.ts:425
FunctiondeleteWebhook
()
src/webhooks/public/js/app.js:2078
MethoddeleteWebhook
* API endpoint to delete a webhook configuration
src/webhooks/server.ts:469
MethoderrorHandler
* Error handler middleware
src/webhooks/server.ts:955
MethodgetAgentConfig
* API endpoint to get agent configuration
src/webhooks/server.ts:623
MethodgetAgentLogs
* API endpoint to get agent logs
src/webhooks/server.ts:573
MethodgetTask
* Retrieves the current state of a task. * @param params The parameters for the tasks/get method. * @returns A promise resolving to the Task obj
src/a2a/client/client.ts:442
MethodgetTaskPushNotification
* Retrieves the currently configured push notification config for a task. * @param params The parameters for the tasks/pushNotification/get method.
src/a2a/client/client.ts:489
MethodgetWebhook
* API endpoint to get a specific webhook configuration
src/webhooks/server.ts:407
MethodgetWebhookInvocationDetails
* Get webhook invocation details
src/webhooks/server.ts:932
MethodgetWebhookStats
* Get webhook statistics
src/webhooks/server.ts:920
FunctionhandleTerminalScroll
()
src/webhooks/public/js/app.js:1678
MethodhandleWebhook
* Handle webhook requests
src/webhooks/server.ts:199
FunctionhostAgent
* Host agent implementation that routes requests to specialized sub-agents
src/agents/host/index.ts:356
MethodisCancelled
* Function to check if cancellation has been requested for this task. * Handlers should ideally check this periodically during long-running operati
src/a2a/server/handler.ts:25
FunctionlistAvailableTools
(filter?: string | string[])
src/mcp/client.ts:64
MethodlistWebhooks
* API endpoint to list all webhooks
src/webhooks/server.ts:395
Methodload
(taskId: string)
src/a2a/server/store.ts:46
Methodload
(taskId: string)
src/a2a/server/store.ts:143
Functionmain
()
src/agents/bench/bench-typescript-example.ts:63
FunctionparseResponse
(response: any)
src/mcp/client.ts:48
MethodpushNotificationNotSupported
()
src/a2a/server/error.ts:81
MethodreadJsonFile
(filePath: string)
src/a2a/server/store.ts:116
FunctionreloadAgentConfigurations
()
src/webhooks/public/js/app.js:2179
MethodresubscribeTask
* Resubscribes to updates for a task after a potential connection interruption. * @param params The parameters for the tasks/resubscribe method.
src/a2a/client/client.ts:507
Methodsave
(data: TaskAndHistory)
src/a2a/server/store.ts:54
Methodsave
(data: TaskAndHistory)
src/a2a/server/store.ts:181
FunctionsaveWebhook
()
src/webhooks/public/js/app.js:2002
MethodsendEvent
(eventData: schema.JSONRPCResponse)
src/a2a/server/server.ts:335
FunctionsendWebhook
()
src/webhooks/public/js/app.js:1433
MethodsetTaskPushNotification
* Sets or updates the push notification config for a task. * @param params The parameters for the tasks/pushNotification/set method (which is TaskP
src/a2a/client/client.ts:471
Methodsupports
* Optional: Checks if the server likely supports optional methods based on agent card. * This is a client-side heuristic and might not be perfectly
src/a2a/client/client.ts:534
MethodtaskNotCancelable
(taskId: string)
src/a2a/server/error.ts:72
MethodtestWebhook
* API endpoint to test a webhook
src/webhooks/server.ts:496
MethodunsupportedOperation
(operation: string)
src/a2a/server/error.ts:88
MethodupdateWebhook
* API endpoint to update a webhook configuration
src/webhooks/server.ts:447
← previous101–181 of 181, ranked by callers