Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DamienBench/a2a-mcp-webhook-workshop
/ functions
Functions
181 in github.com/DamienBench/a2a-mcp-webhook-workshop
⨍
Functions
181
◇
Types & classes
59
↓ 1 callers
Function
main
* Main function to either run a test or start the server
src/agents/slack/index.ts:230
↓ 1 callers
Function
main
* Main function to either run a test or start the server
src/agents/bench/index.ts:259
↓ 1 callers
Function
main
()
src/webhooks/index.ts:16
↓ 1 callers
Method
methodNotFound
(method: string)
src/a2a/server/error.ts:48
↓ 1 callers
Method
migrateOldStatsFile
* Migrate old stats file if it exists
src/webhooks/server.ts:1026
↓ 1 callers
Method
parseError
(message: string, data?: unknown)
src/a2a/server/error.ts:40
↓ 1 callers
Function
populateWebhookSelect
(webhooks)
src/webhooks/public/js/app.js:1985
↓ 1 callers
Function
printAgentEvent
( event: TaskStatusUpdateEvent | TaskArtifactUpdateEvent )
src/cli.ts:57
↓ 1 callers
Function
processAgentsInParallel
* Process a list of agent tasks in parallel
src/agents/host/index.ts:782
↓ 1 callers
Function
processAgentsSequentially
* Process a list of agent tasks sequentially
src/agents/host/index.ts:862
↓ 1 callers
Function
processRequest
* Process a user request using the LLM
src/agents/host/index.ts:239
↓ 1 callers
Method
processWebhookData
* Process webhook data and send to host agent
src/webhooks/server.ts:297
↓ 1 callers
Function
processWebhookDirectly
* Process a webhook directly in the host agent using the configuration
src/agents/host/index.ts:648
↓ 1 callers
Function
refreshAgentCapabilities
* Refresh agent capabilities by querying all configured agents
src/agents/host/index.ts:113
↓ 1 callers
Function
renderWebhookList
(webhooks)
src/webhooks/public/js/app.js:1374
↓ 1 callers
Function
runTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/github/index.ts:163
↓ 1 callers
Function
runTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/slack/index.ts:150
↓ 1 callers
Function
runTest
* Run a test with direct text input (for command line testing) * @param testMessage Message to process
src/agents/bench/index.ts:169
↓ 1 callers
Function
sendChatRequest
(userMessage: string)
src/agents/bench/bench-typescript-example.ts:21
↓ 1 callers
Function
sendSlackMessage
(args: any)
src/mcp/slack.ts:21
↓ 1 callers
Method
sendTaskSubscribe
* 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 callers
Method
sendToHostAgent
* Send data to the host agent
src/webhooks/server.ts:317
↓ 1 callers
Function
setupAgentSidebar
()
src/webhooks/public/js/app.js:2116
↓ 1 callers
Function
setupEventListeners
()
src/webhooks/public/js/app.js:1103
↓ 1 callers
Function
setupNavigation
()
src/webhooks/public/js/app.js:1294
↓ 1 callers
Method
setupRoutes
* Setup routes for the webhook server
src/webhooks/server.ts:168
↓ 1 callers
Function
setupTerminalScrollListener
()
src/webhooks/public/js/app.js:1669
↓ 1 callers
Function
showWebhookDetails
(webhookId)
src/webhooks/public/js/app.js:563
↓ 1 callers
Function
slackAgent
* Slack agent that can send messages to Slack channels using MCP
src/agents/slack/index.ts:22
↓ 1 callers
Method
start
* Start the webhook server
src/webhooks/server.ts:967
↓ 1 callers
Function
startLogPolling
(agentType, pollingId)
src/webhooks/public/js/app.js:1811
↓ 1 callers
Function
startRemoteAgentMonitoring
(agentType, pollingId)
src/webhooks/public/js/app.js:2246
↓ 1 callers
Method
stop
* Stop the webhook server gracefully
src/webhooks/server.ts:992
↓ 1 callers
Method
toJSONRPCError
* Formats the error into a standard JSON-RPC error object structure.
src/a2a/server/error.ts:27
↓ 1 callers
Function
updateAgentCacheIfNeeded
* Update agent cache if needed
src/agents/host/index.ts:100
↓ 1 callers
Function
updateDashboardContent
()
src/webhooks/public/js/app.js:397
↓ 1 callers
Function
updateServerStatus
()
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
Method
cancelTask
* 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
Method
constructor
(code: number, message: string, data?: unknown)
src/a2a/client/client.ts:43
Method
constructor
* 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
Method
constructor
( code: schema.KnownErrorCode | number, message: string, data?: unknown, taskId?: string )
src/a2a/server/error.ts:11
Method
constructor
(options?: { dir?: string })
src/a2a/server/store.ts:70
Method
constructor
(handler: TaskHandler, options: A2AServerOptions = {})
src/a2a/server/server.ts:125
Method
constructor
(port = 3000)
src/webhooks/server.ts:78
Method
createWebhook
* API endpoint to create a new webhook configuration
src/webhooks/server.ts:425
Function
deleteWebhook
()
src/webhooks/public/js/app.js:2078
Method
deleteWebhook
* API endpoint to delete a webhook configuration
src/webhooks/server.ts:469
Method
errorHandler
* Error handler middleware
src/webhooks/server.ts:955
Method
getAgentConfig
* API endpoint to get agent configuration
src/webhooks/server.ts:623
Method
getAgentLogs
* API endpoint to get agent logs
src/webhooks/server.ts:573
Method
getTask
* 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
Method
getTaskPushNotification
* 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
Method
getWebhook
* API endpoint to get a specific webhook configuration
src/webhooks/server.ts:407
Method
getWebhookInvocationDetails
* Get webhook invocation details
src/webhooks/server.ts:932
Method
getWebhookStats
* Get webhook statistics
src/webhooks/server.ts:920
Function
handleTerminalScroll
()
src/webhooks/public/js/app.js:1678
Method
handleWebhook
* Handle webhook requests
src/webhooks/server.ts:199
Function
hostAgent
* Host agent implementation that routes requests to specialized sub-agents
src/agents/host/index.ts:356
Method
isCancelled
* 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
Function
listAvailableTools
(filter?: string | string[])
src/mcp/client.ts:64
Method
listWebhooks
* API endpoint to list all webhooks
src/webhooks/server.ts:395
Method
load
(taskId: string)
src/a2a/server/store.ts:46
Method
load
(taskId: string)
src/a2a/server/store.ts:143
Function
main
()
src/agents/bench/bench-typescript-example.ts:63
Function
parseResponse
(response: any)
src/mcp/client.ts:48
Method
pushNotificationNotSupported
()
src/a2a/server/error.ts:81
Method
readJsonFile
(filePath: string)
src/a2a/server/store.ts:116
Function
reloadAgentConfigurations
()
src/webhooks/public/js/app.js:2179
Method
resubscribeTask
* 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
Method
save
(data: TaskAndHistory)
src/a2a/server/store.ts:54
Method
save
(data: TaskAndHistory)
src/a2a/server/store.ts:181
Function
saveWebhook
()
src/webhooks/public/js/app.js:2002
Method
sendEvent
(eventData: schema.JSONRPCResponse)
src/a2a/server/server.ts:335
Function
sendWebhook
()
src/webhooks/public/js/app.js:1433
Method
setTaskPushNotification
* 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
Method
supports
* 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
Method
taskNotCancelable
(taskId: string)
src/a2a/server/error.ts:72
Method
testWebhook
* API endpoint to test a webhook
src/webhooks/server.ts:496
Method
unsupportedOperation
(operation: string)
src/a2a/server/error.ts:88
Method
updateWebhook
* API endpoint to update a webhook configuration
src/webhooks/server.ts:447
← previous
101–181 of 181, ranked by callers