amf-client-js 5.8.2-INTERNAL-AGENTS-SNAPSHOT.5 → 5.8.2-INTERNAL-AGENTS-SNAPSHOT.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/amf.js +2 -2
  2. package/package.json +1 -1
package/amf.js CHANGED
@@ -1867,8 +1867,8 @@ bta.prototype.Nkc=function(a,b,c){if(b instanceof Eg){var e=v(a.E,Ck().Fd).p;e=e
1867
1867
  var ata;function Smb(){}Smb.prototype=new m;Smb.prototype.constructor=Smb;Smb.prototype.rld=function(a,b){return a===b};Smb.prototype.prd=function(){return"duplicatedCommonEndpointPath"};p(Smb,"amf.apicontract.internal.validation.shacl.oas.DuplicatedCommonEndpointPathValidation$",{mte:1,GCd:1});var Rmb;function fK(a){this.TVc=null;this.HCd=a;this.TVc=a.prd()}fK.prototype=new m;fK.prototype.constructor=fK;fK.prototype.Ba=function(){return this.TVc};
1868
1868
  fK.prototype.cf=function(a,b){if(a instanceof LI)Jq(a).w(new u((c=>e=>{var f=v(e.lc,Qk().Tf).p;f=f.a()?null:f.b();lta(this.HCd,c,f)&&b.u(new M(new hq(Tk().zP,new M("Duplicated resource path: '"+f+"'"),new M(e.bw))))})(a)));else throw new w(a);};p(fK,"amf.apicontract.internal.validation.shacl.oas.DuplicatedEndpointPathValidation$$anon$1",{nte:1,gf:1});function xnb(a){return Dp(a.endsWith("/")?tra(new Xc(a)):a,"\\{.*?\\}","{parameter}")}function Qmb(){}Qmb.prototype=new m;
1869
1869
  Qmb.prototype.constructor=Qmb;Qmb.prototype.rld=function(a,b){return xnb(a)===xnb(b)};Qmb.prototype.prd=function(){return"duplicatedOas3EndpointPath"};p(Qmb,"amf.apicontract.internal.validation.shacl.oas.DuplicatedOas3EndpointPathValidation$",{ote:1,GCd:1});var Pmb;function ynb(a){this.ICd=a}ynb.prototype=new m;ynb.prototype.constructor=ynb;ynb.prototype.pg=function(){return(0,this.ICd)()};p(ynb,"amf.brokergroup.client.platform.BrokerGroupConfiguration$$Lambda$1",{tte:1,sQ:1});function znb(){}
1870
- znb.prototype=new lNa;znb.prototype.constructor=znb;p(znb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersion",{Dte:1,p4b:1});function Anb(){}Anb.prototype=new m;Anb.prototype.constructor=Anb;Anb.prototype.dfc=function(){return"ansVersion"};Anb.prototype.Xec=function(a){return new M(new znb(a))};p(Anb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersion$",{Ete:1,rcd:1});var Bnb;function Cnb(){}Cnb.prototype=new m;Cnb.prototype.constructor=Cnb;
1871
- Cnb.prototype.Qkc=function(){Bnb||(Bnb=new Anb);return Bnb};p(Cnb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersionEntry$",{Fte:1,qcd:1});var Dnb;function Enb(){}Enb.prototype=new nNa;Enb.prototype.constructor=Enb;Enb.prototype.Uic=function(){return zl(new Xc('{"$schema":"http://json-schema.org/draft-07/schema#","title":"Agent Network Specification","@context":{"@type":["http://anypoint.com/vocabs/agents#Network"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","required":["ansVersion"],"properties":{"ansVersion":{"type":"string","const":"1.0.0","description":"The schema version for this file"},"description":{"type":"string","description":"The description of this network"},"label":{"type":"string","description":"A human readable text for this network."},"tags":{"type":"array","items":{"type":"string"}},"brokers":{"type":"object","additionalProperties":false,"description":"The brokers defined as part of this group","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/Broker"}},"propertyNames":{"not":{"enum":["default","defaults","system","local","null"]}}},"connections":{"$ref":"#/definitions/Connections","description":"The list of connections defined as part of this network."},"agents":{"type":"object","additionalProperties":false,"description":"The agent elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/AgentEntity"}}},"mcps":{"type":"object","additionalProperties":false,"description":"The mcp elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/MCPServerEntity"}}},"llms":{"type":"object","additionalProperties":false,"description":"The llms defined.","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/LLMEntity"}}}},"additionalProperties":false,"definitions":{"BrokerLLM":{"type":"object","additionalProperties":false,"required":["llmRef"],"properties":{"llmRef":{"description":"The reference to the LLM to be used by the orchestrator","$ref":"#/definitions/RegistryRef"},"connectionRef":{"$ref":"#/definitions/ConnectionRef"}}},"RegistryRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"BrokerSpec":{"type":"object","additionalProperties":false,"required":["llm","instructions","links"],"properties":{"llm":{"$ref":"#/definitions/BrokerLLM"},"instructions":{"type":"array","description":"Set of custom instructions that will inform the orchestration","items":{"type":"string"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}},"maxNumberOfLoops":{"type":"integer","description":"The maximum number of steps that a task can take. Useful for keeping orchestrations from running too long and consuming too many tokens","default":25},"maxConsecutiveErrors":{"type":"integer","description":"The maximum number of errors that the orchestrator will attempt to recover from before returning a failed status.","default":3},"taskTimeoutSecs":{"type":"integer","description":"A timeout (in seconds) for how long should each orchestration task ","default":60},"tools":{"type":"array","description":"The tools available to this broker","items":{"type":"object","additionalProperties":false,"required":["mcpRef"],"properties":{"mcpRef":{"$ref":"#/definitions/RegistryRef","description":"The reference to the MCP server to be available to this broker"},"connectionRef":{"$ref":"#/definitions/ConnectionRef"},"allowed":{"type":"array","description":"Filters the list of tools advertised by the MCP server to only those in this list. Mutually exclusive with \'denied\'","items":{"type":"string"}}}}},"links":{"type":"array","description":"Defines which of the other brokers or external agents can be orchestrated by this broker","items":{"type":"object","additionalProperties":false,"required":["agentRef"],"properties":{"agentRef":{"$ref":"#/definitions/RegistryRef"},"connectionRef":{"$ref":"#/definitions/ConnectionRef"}}}},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}},"Broker":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent","http://anypoint.com/vocabs/agents#Broker"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["card","spec"],"properties":{"card":{"$ref":"#/definitions/AgentCard"},"spec":{"$ref":"#/definitions/BrokerSpec"}}},"BasicAuth":{"type":"object","title":"Basic Authentication","description":"Properties for Basic Authentication.","properties":{"kind":{"const":"basic","type":"string"},"username":{"type":"string","description":"The username for authentication."},"password":{"type":"string","description":"The password for authentication."}},"additionalProperties":false,"required":["kind","username","password"]},"AnypointClientCredentialsAuth":{"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret"],"properties":{"kind":{"const":"apikey-client-credentials","type":"string"},"clientId":{"type":"string","description":"The client ID."},"clientSecret":{"type":"string","description":"The client secret."}}},"OAuth2ClientCredentialsAuth":{"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret","tokenUrl"],"title":"OAuth 2.0 Client Credentials Grant","description":"Properties for the OAuth 2.0 Client Credentials Grant Type.","properties":{"kind":{"const":"oauth2-client-credentials","type":"string"},"clientId":{"type":"string","description":"The client ID."},"clientSecret":{"type":"string","description":"The client secret."},"tokenUrl":{"type":"string","description":"The URL of the token endpoint to obtain the access token."},"scopes":{"type":"array","items":{"type":"string"},"description":"An array of scopes to request."}}},"Authentication":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"anyOf":[{"$ref":"#/definitions/OAuth2ClientCredentialsAuth"},{"$ref":"#/definitions/BasicAuth"},{"$ref":"#/definitions/AnypointClientCredentialsAuth"}]},"AgentConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#AgentConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Defines an agent that exists outside of this domain","required":["kind","spec"],"properties":{"kind":{"const":"agent","type":"string"},"agentRef":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string"},"authentication":{"$ref":"#/definitions/Authentication"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"LLMConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#LLMConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Configuration for using Salesforce Einstein as the reasoning LLM","required":["kind","spec"],"properties":{"kind":{"const":"llm","type":"string"},"llmRef":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"required":["url","configuration"],"properties":{"url":{"type":"string"},"configuration":{"type":"object"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"MCPServerConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#MCPServerConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["spec","kind"],"properties":{"kind":{"const":"mcp","type":"string"},"mcpRef":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","description":"The base URL for the MCP server"},"authentication":{"$ref":"#/definitions/Authentication","description":"The Authentication to use when connecting to the MCP server"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"PolicyBinding":{"@context":{"@type":["http://anypoint.com/vocabs/agents#PolicyBinding"]},"description":"The policy to be applied","type":"object","additionalProperties":false,"required":["policyRef","configuration"],"properties":{"policyRef":{"$ref":"#/definitions/RegistryRef"},"configuration":{"type":"object"}}},"ConnectionElement":{"oneOf":[{"$ref":"#/definitions/LLMConnection"},{"$ref":"#/definitions/AgentConnection"},{"$ref":"#/definitions/MCPServerConnection"}]},"Connections":{"description":"The registry elements","type":"object","additionalProperties":false,"patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/ConnectionElement"}}},"ConnectionRef":{"description":"The reference to a connection","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}},"AgentEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this agent"},"description":{"type":"string","description":"A description for this agent"},"tags":{"type":"array","items":{"type":"string"}},"card":{"$ref":"#/definitions/AgentCard"},"metadata":{"type":"object","additionalProperties":false,"required":["protocol"],"properties":{"platform":{"type":"string","description":"The name of the platform this agent is running on. i.e Bedrock, AgentForce, etc."},"protocol":{"type":"string","enum":["a2a","other"],"description":"The name of the protocol. For example a2a"},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agentRef"],"properties":{"agentRef":{"$ref":"#/definitions/RegistryRef"}}}},"tools":{"description":"Defines the list of tools this agent is connected with","items":{"type":"object","additionalProperties":false,"properties":{"mcpRef":{"$ref":"#/definitions/RegistryRef"},"allowed":{"type":"array","items":{"type":"string"}}},"required":["mcpRef"]}}}},"additionalProperties":false}},"LLMEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLM"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string","description":"The description of this llm"},"metadata":{"oneOf":[{"$ref":"#/definitions/WellKnowLLM"},{"$ref":"#/definitions/CustomLLM"}]}}},"WellKnowLLM":{"type":"object","additionalProperties":false,"required":["platform"],"properties":{"platform":{"type":"string","enum":["OpenAI","Anthropic","AzureOpenai","GoogleGemini","Einstein"]},"models":{"type":"array","items":{"type":"string"}}}},"CustomLLM":{"type":"object","additionalProperties":false,"required":["policyRef","platform"],"properties":{"platform":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"policyRef":{"$ref":"#/definitions/RegistryRef"}}},"MCPServerEntity":{"description":"The definition of the MCP Server entity","type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/definitions/MCPServer"}}},"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"AgentCard":{"description":"An AgentCard conveys key information:\\n- Overall details (version, name, description, uses)\\n- Skills: A set of capabilities the agent can perform\\n- Default modalities/content types supported by the agent.\\n- Authentication requirements","properties":{"additionalInterfaces":{"description":"Announcement of additional supported transports. Client can use any of\\nthe supported transports.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"Optional capabilities supported by the agent."},"defaultInputModes":{"description":"The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"A URL to documentation for the agent.","type":"string"},"iconUrl":{"description":"A URL to an icon for the agent.","type":"string"},"name":{"description":"Human readable name of the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"description":"The transport of the preferred endpoint. If empty, defaults to JSONRPC.","type":"string"},"protocolVersion":{"default":"0.2.5","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"The service provider of the agent"},"security":{"description":"Security requirements for contacting the agent.","items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"skills":{"description":"Skills are a unit of capability that an agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.","type":"boolean"},"url":{"description":"A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.","type":"string"},"version":{"description":"The version of the agent - format is up to the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentInterface":{"description":"AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.","properties":{"transport":{"description":"The transport supported this url. This is an open form string, to be\\neasily extended for many transport protocols. The core ones officially\\nsupported are JSONRPC, GRPC and HTTP+JSON.","type":"string"},"url":{"type":"string"}},"required":["transport","url"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"extensions supported by this agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"true if the agent can notify updates to client.","type":"boolean"},"stateTransitionHistory":{"description":"true if the agent exposes status change history for tasks.","type":"boolean"},"streaming":{"description":"true if the agent supports SSE.","type":"boolean"}},"type":"object"},"AgentExtension":{"description":"A declaration of an extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A description of how this agent uses this extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional configuration for the extension.","type":"object"},"required":{"description":"Whether the client must follow specific requirements of the extension.","type":"boolean"},"uri":{"description":"The URI of the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"Agent provider\'s organization name.","type":"string"},"url":{"description":"Agent provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"AgentSkill":{"description":"Represents a unit of capability that an agent can perform.","properties":{"description":{"description":"Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.","type":"string"},"examples":{"description":"The set of example scenarios that the skill can perform.\\nWill be used by the client as a hint to understand how the skill can be used.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"Unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"name":{"description":"Human readable name of the skill.","type":"string"},"outputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"tags":{"description":"Set of tagwords describing classes of capabilities for this specific skill.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"}}}'))};
1870
+ znb.prototype=new lNa;znb.prototype.constructor=znb;p(znb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersion",{Dte:1,p4b:1});function Anb(){}Anb.prototype=new m;Anb.prototype.constructor=Anb;Anb.prototype.dfc=function(){return"schemaVersion"};Anb.prototype.Xec=function(a){return new M(new znb(a))};p(Anb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersion$",{Ete:1,rcd:1});var Bnb;function Cnb(){}Cnb.prototype=new m;Cnb.prototype.constructor=Cnb;
1871
+ Cnb.prototype.Qkc=function(){Bnb||(Bnb=new Anb);return Bnb};p(Cnb,"amf.brokergroup.internal.plugins.parse.entry.BrokerGroupSchemaVersionEntry$",{Fte:1,qcd:1});var Dnb;function Enb(){}Enb.prototype=new nNa;Enb.prototype.constructor=Enb;Enb.prototype.Uic=function(){return zl(new Xc('{"$schema":"http://json-schema.org/draft-07/schema#","title":"Agent Network Specification","@context":{"@type":["http://anypoint.com/vocabs/agents#Network"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"string","const":"1.0.0","description":"The schema version for this file"},"description":{"type":"string","description":"The description of this network"},"label":{"type":"string","description":"A human readable text for this network."},"tags":{"type":"array","items":{"type":"string"}},"brokers":{"type":"object","additionalProperties":false,"description":"The brokers defined as part of this group","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/Broker"}},"propertyNames":{"not":{"enum":["default","defaults","system","local","null"]}}},"connections":{"$ref":"#/definitions/Connections","description":"The list of connections defined as part of this network."},"agents":{"type":"object","additionalProperties":false,"description":"The agent elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/AgentEntity"}}},"mcpServers":{"type":"object","additionalProperties":false,"description":"The mcp elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/MCPServerEntity"}}},"llmProviders":{"type":"object","additionalProperties":false,"description":"The llms defined.","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/LLMEntity"}}}},"additionalProperties":false,"definitions":{"BrokerLLM":{"type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"description":"The reference to the LLM to be used by the orchestrator","$ref":"#/definitions/RegistryRef"},"connection":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"configuration":{"type":"object","additionalProperties":false,"required":["model"],"properties":{"model":{"type":"string","description":"The name of the model to use"}}}}},"RegistryRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"BrokerSpec":{"type":"object","additionalProperties":false,"required":["llm","instructions","links"],"properties":{"llm":{"$ref":"#/definitions/BrokerLLM"},"instructions":{"type":"array","description":"Set of custom instructions that will inform the orchestration","items":{"type":"string"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}},"maxNumberOfLoops":{"type":"integer","description":"The maximum number of steps that a task can take. Useful for keeping orchestrations from running too long and consuming too many tokens","default":25},"maxConsecutiveErrors":{"type":"integer","description":"The maximum number of errors that the orchestrator will attempt to recover from before returning a failed status.","default":3},"taskTimeoutSecs":{"type":"integer","description":"A timeout (in seconds) for how long should each orchestration task ","default":60},"tools":{"type":"array","description":"The tools available to this broker","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/RegistryRef","description":"The reference to the MCP server to be available to this broker"},"connection":{"type":"object","additionalProperties":false,"description":"The connection to be used by this mcp","required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"allowed":{"type":"array","description":"Filters the list of tools advertised by the MCP server to only those in this list. Mutually exclusive with \'denied\'","items":{"type":"string"}}}}}}},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/RegistryRef"},"connection":{"type":"object","description":"The connection to be used by this agent","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}}}}}}},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}},"Broker":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent","http://anypoint.com/vocabs/agents#Broker"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["card","spec"],"properties":{"card":{"$ref":"#/definitions/AgentCard"},"spec":{"$ref":"#/definitions/BrokerSpec"}}},"BasicAuth":{"type":"object","title":"Basic Authentication","description":"Properties for Basic Authentication.","additionalProperties":false,"required":["kind","username","password"],"properties":{"kind":{"const":"basic","type":"string"},"username":{"type":"string","description":"The username for authentication."},"password":{"type":"string","description":"The password for authentication."},"headerName":{"type":"string","description":"The name of the header where to set the key. If not specified \'Authorization\' is set by default."}}},"ApiKeyClientCredentialsAuth":{"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret"],"properties":{"kind":{"const":"apikey-client-credentials","type":"string"},"clientId":{"type":"object","description":"The client ID.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientId"},"name":{"type":"string","description":"The name for the clientId by default is going to be \'client_id\'"}}},"clientSecret":{"type":"object","description":"The client secret.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientSecret"},"name":{"type":"string","description":"The name for the clientSecret by default is going to be \'client_secret\'"}}}}},"APIKeyAuth":{"type":"object","additionalProperties":false,"required":["value"],"properties":{"kind":{"const":"apiKey","type":"string"},"headerName":{"description":"The name of the header to be used. If not specified Authorization is used.","type":"string"},"apiKey":{"type":"string","description":"The value of the apiKey"}}},"OAuth2ClientCredentialsAuth":{"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret","token"],"title":"OAuth 2.0 Client Credentials Grant","description":"Properties for the OAuth 2.0 Client Credentials Grant Type.","properties":{"kind":{"const":"oauth2-client-credentials","type":"string"},"clientId":{"type":"string","description":"The client ID."},"clientSecret":{"type":"string","description":"The client secret."},"token":{"type":"object","description":"Configuration on how to fetch the token.","required":["url"],"properties":{"url":{"type":"string","description":"The url of the token provider"},"timeout":{"type":"number","description":"Time in seconds to wait for the service to return the token."},"bodyEncoding":{"type":"string","enum":["form","json"]}}},"scopes":{"type":"array","items":{"type":"string"},"description":"An array of scopes to request."}}},"Authentication":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"anyOf":[{"$ref":"#/definitions/OAuth2ClientCredentialsAuth"},{"$ref":"#/definitions/BasicAuth"},{"$ref":"#/definitions/ApiKeyClientCredentialsAuth"},{"$ref":"#/definitions/APIKeyAuth"}]},"AgentConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#AgentConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Defines an agent that exists outside of this domain","required":["kind","ref","spec"],"properties":{"kind":{"const":"agent","type":"string"},"ref":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string"},"authentication":{"$ref":"#/definitions/Authentication"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"LLMConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#LLMConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Configuration for using Salesforce Einstein as the reasoning LLM","required":["kind","ref","spec"],"properties":{"kind":{"const":"llm","type":"string"},"ref":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"required":["url","configuration"],"properties":{"url":{"type":"string"},"configuration":{"type":"object"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"MCPServerConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#MCPServerConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["spec","ref","kind"],"properties":{"kind":{"const":"mcp","type":"string"},"ref":{"$ref":"#/definitions/RegistryRef"},"spec":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","description":"The base URL for the MCP server"},"authentication":{"$ref":"#/definitions/Authentication","description":"The Authentication to use when connecting to the MCP server"},"policies":{"type":"array","items":{"ref":"#/definitions/PolicyBinding"}}}}}},"PolicyBinding":{"@context":{"@type":["http://anypoint.com/vocabs/agents#PolicyBinding"]},"description":"The policy to be applied","type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"$ref":"#/definitions/RegistryRef"},"configuration":{"type":"object"}}},"ConnectionElement":{"oneOf":[{"$ref":"#/definitions/LLMConnection"},{"$ref":"#/definitions/AgentConnection"},{"$ref":"#/definitions/MCPServerConnection"}]},"Connections":{"description":"The registry elements","type":"object","additionalProperties":false,"patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/ConnectionElement"}}},"ConnectionRef":{"description":"The reference to a connection","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}},"AgentEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this agent"},"description":{"type":"string","description":"A description for this agent"},"tags":{"type":"array","items":{"type":"string"}},"card":{"$ref":"#/definitions/AgentCard"},"metadata":{"type":"object","additionalProperties":false,"required":["protocol"],"properties":{"platform":{"type":"string","description":"The name of the platform this agent is running on. i.e Bedrock, AgentForce, etc."},"protocol":{"type":"string","enum":["a2a","other"],"description":"The name of the protocol. For example a2a"},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/RegistryRef"}}}}}},"tools":{"description":"Defines the list of tools this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","required":["ref"],"additionalProperties":false,"properties":{"ref":{"$ref":"#/definitions/RegistryRef"},"allowed":{"type":"array","items":{"type":"string"}}}}}}}}},"additionalProperties":false}},"LLMEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLM"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string","description":"The description of this llm"},"metadata":{"oneOf":[{"$ref":"#/definitions/WellKnowLLM"},{"$ref":"#/definitions/CustomLLM"}]}}},"WellKnowLLM":{"type":"object","additionalProperties":false,"required":["platform"],"properties":{"platform":{"type":"string","enum":["OpenAI","Anthropic","AzureOpenai","GoogleGemini","Einstein"]},"models":{"type":"array","items":{"type":"string"}}}},"CustomLLM":{"type":"object","additionalProperties":false,"required":["policyRef","platform"],"properties":{"platform":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"policyRef":{"$ref":"#/definitions/RegistryRef"}}},"MCPServerEntity":{"description":"The definition of the MCP Server entity","type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/definitions/MCPServer"}}},"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"platform":{"type":"string","description":"The platform the mcp server is running"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"MCPProvider":{"description":"Represents the service provider of an MCP server.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"MCP provider\'s organization name.","type":"string"},"url":{"description":"MCP provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server"},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"AgentCard":{"description":"An AgentCard conveys key information:\\n- Overall details (version, name, description, uses)\\n- Skills: A set of capabilities the agent can perform\\n- Default modalities/content types supported by the agent.\\n- Authentication requirements","properties":{"additionalInterfaces":{"description":"Announcement of additional supported transports. Client can use any of\\nthe supported transports.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"Optional capabilities supported by the agent."},"defaultInputModes":{"description":"The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"A URL to documentation for the agent.","type":"string"},"iconUrl":{"description":"A URL to an icon for the agent.","type":"string"},"name":{"description":"Human readable name of the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"description":"The transport of the preferred endpoint. If empty, defaults to JSONRPC.","type":"string"},"protocolVersion":{"default":"0.2.5","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"The service provider of the agent"},"security":{"description":"Security requirements for contacting the agent.","items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"skills":{"description":"Skills are a unit of capability that an agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.","type":"boolean"},"url":{"description":"A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.","type":"string"},"version":{"description":"The version of the agent - format is up to the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentInterface":{"description":"AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.","properties":{"transport":{"description":"The transport supported this url. This is an open form string, to be\\neasily extended for many transport protocols. The core ones officially\\nsupported are JSONRPC, GRPC and HTTP+JSON.","type":"string"},"url":{"type":"string"}},"required":["transport","url"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"extensions supported by this agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"true if the agent can notify updates to client.","type":"boolean"},"stateTransitionHistory":{"description":"true if the agent exposes status change history for tasks.","type":"boolean"},"streaming":{"description":"true if the agent supports SSE.","type":"boolean"}},"type":"object"},"AgentExtension":{"description":"A declaration of an extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A description of how this agent uses this extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional configuration for the extension.","type":"object"},"required":{"description":"Whether the client must follow specific requirements of the extension.","type":"boolean"},"uri":{"description":"The URI of the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"Agent provider\'s organization name.","type":"string"},"url":{"description":"Agent provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"AgentSkill":{"description":"Represents a unit of capability that an agent can perform.","properties":{"description":{"description":"Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.","type":"string"},"examples":{"description":"The set of example scenarios that the skill can perform.\\nWill be used by the client as a hint to understand how the skill can be used.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"Unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"name":{"description":"Human readable name of the skill.","type":"string"},"outputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"tags":{"description":"Set of tagwords describing classes of capabilities for this specific skill.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"}}}'))};
1872
1872
  p(Enb,"amf.brokergroup.internal.plugins.parse.schema.BrokerGroupSchema$",{Gte:1,scd:1});var Fnb;function Gnb(){this.rVa=this.sVa=null;this.vR=0}Gnb.prototype=new pNa;Gnb.prototype.constructor=Gnb;Gnb.prototype.Tic=function(){Fnb||(Fnb=new Enb);return Fnb};p(Gnb,"amf.brokergroup.internal.plugins.parse.schema.BrokerGroupSchemaLoader$",{Hte:1,tcd:1});var Hnb;function Inb(){Hnb||(Hnb=new Gnb);return Hnb}function Eta(){}Eta.prototype=new kua;Eta.prototype.constructor=Eta;
1873
1873
  Eta.prototype.yea=function(){var a=new Fy;pE(a,null,null);throw a;};p(Eta,"amf.cli.internal.commands.RuntimeProc$",{Ste:1,Rte:1});var Dta;function Cta(){}Cta.prototype=new mua;Cta.prototype.constructor=Cta;Cta.prototype.zpa=function(a){mK(NC().Qea,a)};Cta.prototype.E1a=function(a){nK(NC().Qea,a+"\n")};p(Cta,"amf.cli.internal.commands.StdErrWriter$",{Tte:1,JCd:1});var Bta;function Jnb(a,b){a.mya=b;return a}function oK(){this.mya=null}oK.prototype=new m;oK.prototype.constructor=oK;function Knb(){}
1874
1874
  Knb.prototype=oK.prototype;oK.prototype.Kd=function(){return this.mya};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.8.2-INTERNAL-AGENTS-SNAPSHOT.5",
3
+ "version": "5.8.2-INTERNAL-AGENTS-SNAPSHOT.6",
4
4
  "description": "AMF Library",
5
5
  "main": "amf.js",
6
6
  "author": "amf team",