MCPcopy
hub / github.com/GetBindu/Bindu / MockAgentConfig

Interface MockAgentConfig

gateway/tests/helpers/mock-bindu-agent.ts:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 */
18
19export interface MockAgentConfig {
20 /** Name surfaced in AgentCard.name. */
21 name: string
22 /** Given the incoming user text, returns the artifact text to echo back. */
23 respond: (userText: string) => string
24 /** Skills to expose in the AgentCard. Defaults to one passthrough skill. */
25 skills?: Array<{ id: string; description: string }>
26 /** DID to expose in capabilities.extensions (optional). */
27 did?: string
28 /** When true, ``tasks/get`` always returns ``working`` — simulates a
29 * stuck peer that never reaches a terminal state. Used to exercise
30 * the gateway's abort + deadline paths. */
31 stuck?: boolean
32}
33
34export interface MockAgentHandle {
35 url: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected