amf-client-js 5.8.0-SNAPSHOT.67 → 5.8.0-SNAPSHOT.68
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.
- package/amf.js +1 -1
- package/package.json +1 -1
package/amf.js
CHANGED
|
@@ -1364,7 +1364,7 @@ p(l9a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersion",{FPd
|
|
|
1364
1364
|
p(o9a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersionEntry$",{HPd:1,lbd:1});var p9a;function q9a(){}q9a.prototype=new bNa;q9a.prototype.constructor=q9a;q9a.prototype.mic=function(){return Dl(new $c('{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "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",\n | "properties": {\n | "additionalInterfaces": {\n | "description": "Announcement of additional supported transports. Client can use any of\\nthe supported transports.",\n | "items": {\n | "$ref": "#/definitions/AgentInterface"\n | },\n | "type": "array"\n | },\n | "capabilities": {\n | "$ref": "#/definitions/AgentCapabilities",\n | "description": "Optional capabilities supported by the agent."\n | },\n | "defaultInputModes": {\n | "description": "The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "defaultOutputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "description": {\n | "description": "A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.",\n | "examples": [\n | "Agent that helps users with recipes and cooking."\n | ],\n | "type": "string"\n | },\n | "documentationUrl": {\n | "description": "A URL to documentation for the agent.",\n | "type": "string"\n | },\n | "iconUrl": {\n | "description": "A URL to an icon for the agent.",\n | "type": "string"\n | },\n | "name": {\n | "description": "Human readable name of the agent.",\n | "examples": [\n | "Recipe Agent"\n | ],\n | "type": "string"\n | },\n | "preferredTransport": {\n | "description": "The transport of the preferred endpoint. If empty, defaults to JSONRPC.",\n | "type": "string"\n | },\n | "protocolVersion": {\n | "default": "0.2.5",\n | "description": "The version of the agent-card protocol this agent supports.",\n | "type": "string"\n | },\n | "provider": {\n | "$ref": "#/definitions/AgentProvider",\n | "description": "The service provider of the agent"\n | },\n | "security": {\n | "description": "Security requirements for contacting the agent.",\n | "items": {\n | "additionalProperties": {\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "type": "object"\n | },\n | "type": "array"\n | },\n | "securitySchemes": {\n | "additionalProperties": {\n | "$ref": "#/definitions/SecurityScheme"\n | },\n | "description": "Security scheme details used for authenticating with this agent.",\n | "type": "object"\n | },\n | "skills": {\n | "description": "Skills are a unit of capability that an agent can perform.",\n | "items": {\n | "$ref": "#/definitions/AgentSkill"\n | },\n | "type": "array"\n | },\n | "supportsAuthenticatedExtendedCard": {\n | "description": "true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.",\n | "type": "boolean"\n | },\n | "url": {\n | "description": "A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.",\n | "type": "string"\n | },\n | "version": {\n | "description": "The version of the agent - format is up to the provider.",\n | "examples": [\n | "1.0.0"\n | ],\n | "type": "string"\n | }\n | },\n | "required": [\n | "capabilities",\n | "defaultInputModes",\n | "defaultOutputModes",\n | "description",\n | "name",\n | "protocolVersion",\n | "skills",\n | "url",\n | "version"\n | ],\n | "type": "object",\n | "definitions": {\n | "AgentInterface": {\n | "description": "AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.",\n | "properties": {\n | "transport": {\n | "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.",\n | "type": "string"\n | },\n | "url": {\n | "type": "string"\n | }\n | },\n | "required": [\n | "transport",\n | "url"\n | ],\n | "type": "object"\n | },\n | "AgentCapabilities": {\n | "description": "Defines optional capabilities supported by an agent.",\n | "properties": {\n | "extensions": {\n | "description": "extensions supported by this agent.",\n | "items": {\n | "$ref": "#/definitions/AgentExtension"\n | },\n | "type": "array"\n | },\n | "pushNotifications": {\n | "description": "true if the agent can notify updates to client.",\n | "type": "boolean"\n | },\n | "stateTransitionHistory": {\n | "description": "true if the agent exposes status change history for tasks.",\n | "type": "boolean"\n | },\n | "streaming": {\n | "description": "true if the agent supports SSE.",\n | "type": "boolean"\n | }\n | },\n | "type": "object"\n | },\n | "AgentExtension": {\n | "description": "A declaration of an extension supported by an Agent.",\n | "examples": [\n | {\n | "description": "Google OAuth 2.0 authentication",\n | "required": false,\n | "uri": "https://developers.google.com/identity/protocols/oauth2"\n | }\n | ],\n | "properties": {\n | "description": {\n | "description": "A description of how this agent uses this extension.",\n | "type": "string"\n | },\n | "params": {\n | "additionalProperties": {},\n | "description": "Optional configuration for the extension.",\n | "type": "object"\n | },\n | "required": {\n | "description": "Whether the client must follow specific requirements of the extension.",\n | "type": "boolean"\n | },\n | "uri": {\n | "description": "The URI of the extension.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "uri"\n | ],\n | "type": "object"\n | },\n | "SecurityScheme": {\n | "anyOf": [\n | {\n | "$ref": "#/definitions/APIKeySecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/HTTPAuthSecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OAuth2SecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OpenIdConnectSecurityScheme"\n | }\n | ],\n | "description": "Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"\n | },\n | "APIKeySecurityScheme": {\n | "description": "API Key security scheme.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "in": {\n | "description": "The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".",\n | "enum": [\n | "cookie",\n | "header",\n | "query"\n | ],\n | "type": "string"\n | },\n | "name": {\n | "description": "The name of the header, query or cookie parameter to be used.",\n | "type": "string"\n | },\n | "type": {\n | "const": "apiKey",\n | "type": "string"\n | }\n | },\n | "required": [\n | "in",\n | "name",\n | "type"\n | ],\n | "type": "object"\n | },\n | "HTTPAuthSecurityScheme": {\n | "description": "HTTP Authentication security scheme.",\n | "properties": {\n | "bearerFormat": {\n | "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.",\n | "type": "string"\n | },\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "scheme": {\n | "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.",\n | "type": "string"\n | },\n | "type": {\n | "const": "http",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scheme",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuth2SecurityScheme": {\n | "description": "OAuth2.0 security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "flows": {\n | "$ref": "#/definitions/OAuthFlows",\n | "description": "An object containing configuration information for the flow types supported."\n | },\n | "type": {\n | "const": "oauth2",\n | "type": "string"\n | }\n | },\n | "required": [\n | "flows",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OpenIdConnectSecurityScheme": {\n | "description": "OpenID Connect security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "openIdConnectUrl": {\n | "description": "Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.",\n | "type": "string"\n | },\n | "type": {\n | "const": "openIdConnect",\n | "type": "string"\n | }\n | },\n | "required": [\n | "openIdConnectUrl",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuthFlows": {\n | "description": "Allows configuration of the supported OAuth Flows",\n | "properties": {\n | "authorizationCode": {\n | "$ref": "#/definitions/AuthorizationCodeOAuthFlow",\n | "description": "Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."\n | },\n | "clientCredentials": {\n | "$ref": "#/definitions/ClientCredentialsOAuthFlow",\n | "description": "Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"\n | },\n | "implicit": {\n | "$ref": "#/definitions/ImplicitOAuthFlow",\n | "description": "Configuration for the OAuth Implicit flow"\n | },\n | "password": {\n | "$ref": "#/definitions/PasswordOAuthFlow",\n | "description": "Configuration for the OAuth Resource Owner Password flow"\n | }\n | },\n | "type": "object"\n | },\n | "AuthorizationCodeOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ClientCredentialsOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ImplicitOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes"\n | ],\n | "type": "object"\n | },\n | "PasswordOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "AgentSkill": {\n | "description": "Represents a unit of capability that an agent can perform.",\n | "properties": {\n | "description": {\n | "description": "Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.",\n | "type": "string"\n | },\n | "examples": {\n | "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.",\n | "examples": [\n | [\n | "I need a recipe for bread"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "id": {\n | "description": "Unique identifier for the agent\'s skill.",\n | "type": "string"\n | },\n | "inputModes": {\n | "description": "The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "name": {\n | "description": "Human readable name of the skill.",\n | "type": "string"\n | },\n | "outputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "tags": {\n | "description": "Set of tagwords describing classes of capabilities for this specific skill.",\n | "examples": [\n | [\n | "cooking",\n | "customer support",\n | "billing"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | }\n | },\n | "required": [\n | "description",\n | "id",\n | "name",\n | "tags"\n | ],\n | "type": "object"\n | },\n | "AgentProvider": {\n | "description": "Represents the service provider of an agent.",\n | "examples": [\n | {\n | "organization": "Google",\n | "url": "https://ai.google.dev"\n | }\n | ],\n | "properties": {\n | "organization": {\n | "description": "Agent provider\'s organization name.",\n | "type": "string"\n | },\n | "url": {\n | "description": "Agent provider\'s URL.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "organization",\n | "url"\n | ],\n | "type": "object"\n | }\n | }\n |}\n |'))};
|
|
1365
1365
|
p(q9a,"amf.agentcard.internal.plugins.parse.schema.AgentCardSchema$",{IPd:1,nbd:1});var r9a;function s9a(){this.VUa=this.WUa=null;this.jR=0}s9a.prototype=new dNa;s9a.prototype.constructor=s9a;s9a.prototype.lic=function(){r9a||(r9a=new q9a);return r9a};p(s9a,"amf.agentcard.internal.plugins.parse.schema.AgentCardSchemaLoader$",{JPd:1,obd:1});var t9a;function u9a(){t9a||(t9a=new s9a);return t9a}function v9a(a){this.Jqd=a}v9a.prototype=new n;v9a.prototype.constructor=v9a;v9a.prototype.pg=function(){return(0,this.Jqd)()};
|
|
1366
1366
|
p(v9a,"amf.agentfabric.client.platform.AgentFabricConfiguration$$Lambda$1",{PPd:1,lQ:1});function w9a(){}w9a.prototype=new n;w9a.prototype.constructor=w9a;w9a.prototype.jkc=function(){x9a||(x9a=new y9a);return x9a};p(w9a,"amf.agentfabric.internal.plugins.parse.entry.AgentFabricApiVersionEntry$",{$Pd:1,lbd:1});var z9a;function A9a(){}A9a.prototype=new $Ma;A9a.prototype.constructor=A9a;p(A9a,"amf.agentfabric.internal.plugins.parse.entry.AgentFabricProtocolVersion",{aQd:1,H3b:1});function y9a(){}
|
|
1367
|
-
y9a.prototype=new n;y9a.prototype.constructor=y9a;y9a.prototype.wec=function(){return"apiVersion"};y9a.prototype.pec=function(a){return new M(new A9a(a))};p(y9a,"amf.agentfabric.internal.plugins.parse.entry.AgentFabricProtocolVersion$",{bQd:1,mbd:1});var x9a;function B9a(){}B9a.prototype=new bNa;B9a.prototype.constructor=B9a;B9a.prototype.mic=function(){return Dl(new $c('{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "title": "Agent Factory",\n | "type": "object",\n | "required": [\n | "apiVersion",\n | "agents",\n | "agents-fabric"\n | ],\n | "properties": {\n | "apiVersion": {\n | "anyOf": [\n | {\n | "type": "string"\n | },\n | {\n | "type": "number"\n | }\n | ]\n | },\n | "agents": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/Agent"\n | }\n | }\n | },\n | "agents-fabric": {\n | "$ref": "#/definitions/AgentsFabric"\n | }\n | },\n | "additionalProperties": false,\n | "definitions": {\n | "AgentSpec": {\n | "type": "object",\n | "required": [\n | "llm",\n | "instructions"\n | ],\n | "properties": {\n | "llm": {\n | "type": "string"\n | },\n | "instructions": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "tools": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "properties": {\n | "mcp": {\n | "type": "object",\n | "required": [\n | "server"\n | ],\n | "properties": {\n | "server": {\n | "type": "string"\n | },\n | "allowed": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | }\n | }\n | },\n | "links": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "type": "object",\n | "properties": {\n | "authentication": {\n | "$ref": "#/definitions/Authentication"\n | }\n | }\n | }\n | }\n | }\n | },\n | "policies": {\n | "type": "object",\n | "properties": {\n | "inbound": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "outbound": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | }\n | },\n | "Agent": {\n | "type": "object",\n | "properties": {\n | "card": {\n | "$ref": "#/definitions/AgentCard"\n | },\n | "spec": {\n | "$ref": "#/definitions/AgentSpec"\n | }\n | },\n | "required": [\n | "card",\n | "spec"\n | ]\n | },\n | "OAuth2ClientCredentialsAuth": {\n | "type": "object",\n | "properties": {\n | "clientId": {\n | "type": "string"\n | },\n | "clientSecret": {\n | "type": "string"\n | },\n | "policies": {\n | "type": "object",\n | "properties": {\n | "inbound": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "outbound": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | },\n | "required": [\n | "clientId",\n | "clientSecret"\n | ]\n | },\n | "Authentication": {\n | "type": "object",\n | "properties": {\n | "oAuth2ClientCredentials": {\n | "$ref": "#/definitions/OAuth2ClientCredentialsAuth"\n | }\n | }\n | },\n | "ExternalAgent": {\n | "type": "object",\n | "properties": {\n | "cardUrl": {\n | "type": "string"\n | },\n | "authentication": {\n | "$ref": "#/definitions/Authentication"\n | }\n | }\n | },\n | "EinsteinLLM": {\n | "type": "object",\n | "required": [\n | "clientId",\n | "clientSecret",\n | "baseUrl",\n | "modelName"\n | ],\n | "properties": {\n | "clientId": {\n | "type": "string"\n | },\n | "clientSecret": {\n | "type": "string"\n | },\n | "baseUrl": {\n | "type": "string"\n | },\n | "modelName": {\n | "type": "string"\n | },\n | "probability": {\n | "type": "number"\n | },\n | "locale": {\n | "type": "string"\n | }\n | }\n | },\n | "SseTransportConfig": {\n | "type": "object",\n | "properties": {\n | "ssePath": {\n | "type": "string"\n | },\n | "messagesPath": {\n | "type": "string"\n | }\n | }\n | },\n | "StreamableHttpTransportConfig": {\n | "type": "object",\n | "properties": {\n | "path": {\n | "type": "string"\n | },\n | "messagesPath": {\n | "type": "string"\n | }\n | }\n | },\n | "MCPTransport": {\n | "type": "object",\n | "oneOf": [\n | {\n | "required": [\n | "sse"\n | ],\n | "properties": {\n | "sse": {\n | "$ref": "#/definitions/SseTransportConfig"\n | }\n | }\n | },\n | {\n | "required": [\n | "streamableHttp"\n | ],\n | "properties": {\n | "streamableHttp": {\n | "$ref": "#/definitions/StreamableHttpTransportConfig"\n | }\n | }\n | }\n | ]\n | },\n | "MCPServer": {\n | "type": "object",\n | "required": [\n | "url",\n | "transport",\n | "tools"\n | ],\n | "properties": {\n | "url": {\n | "type": "string",\n | "format": "uri"\n | },\n | "transport": {\n | "$ref": "#/definitions/MCPTransport"\n | },\n | "tools": {\n | "type": "object",\n | "properties": {\n | "allowed": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "denied": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | }\n | },\n | "AgentsFabric": {\n | "type": "object",\n | "required": [],\n | "properties": {\n | "external-agents": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/ExternalAgent"\n | }\n | }\n | },\n | "llm-providers": {\n | "type": "object",\n | "properties": {\n | "einstein": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/EinsteinLLM"\n | }\n | }\n | }\n | }\n | }\n | },\n | "mcp-servers": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/MCPServer"\n | }\n | }\n | }\n | }\n | }\n | },\n | "AgentCard": {\n | "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",\n | "properties": {\n | "additionalInterfaces": {\n | "description": "Announcement of additional supported transports. Client can use any of\\nthe supported transports.",\n | "items": {\n | "$ref": "#/definitions/AgentInterface"\n | },\n | "type": "array"\n | },\n | "capabilities": {\n | "$ref": "#/definitions/AgentCapabilities",\n | "description": "Optional capabilities supported by the agent."\n | },\n | "defaultInputModes": {\n | "description": "The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "defaultOutputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "description": {\n | "description": "A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.",\n | "examples": [\n | "Agent that helps users with recipes and cooking."\n | ],\n | "type": "string"\n | },\n | "documentationUrl": {\n | "description": "A URL to documentation for the agent.",\n | "type": "string"\n | },\n | "iconUrl": {\n | "description": "A URL to an icon for the agent.",\n | "type": "string"\n | },\n | "name": {\n | "description": "Human readable name of the agent.",\n | "examples": [\n | "Recipe Agent"\n | ],\n | "type": "string"\n | },\n | "preferredTransport": {\n | "description": "The transport of the preferred endpoint. If empty, defaults to JSONRPC.",\n | "type": "string"\n | },\n | "protocolVersion": {\n | "default": "0.2.5",\n | "description": "The version of the agent-card protocol this agent supports.",\n | "type": "string"\n | },\n | "provider": {\n | "$ref": "#/definitions/AgentProvider",\n | "description": "The service provider of the agent"\n | },\n | "security": {\n | "description": "Security requirements for contacting the agent.",\n | "items": {\n | "additionalProperties": {\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "type": "object"\n | },\n | "type": "array"\n | },\n | "securitySchemes": {\n | "additionalProperties": {\n | "$ref": "#/definitions/SecurityScheme"\n | },\n | "description": "Security scheme details used for authenticating with this agent.",\n | "type": "object"\n | },\n | "skills": {\n | "description": "Skills are a unit of capability that an agent can perform.",\n | "items": {\n | "$ref": "#/definitions/AgentSkill"\n | },\n | "type": "array"\n | },\n | "supportsAuthenticatedExtendedCard": {\n | "description": "true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.",\n | "type": "boolean"\n | },\n | "url": {\n | "description": "A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.",\n | "type": "string"\n | },\n | "version": {\n | "description": "The version of the agent - format is up to the provider.",\n | "examples": [\n | "1.0.0"\n | ],\n | "type": "string"\n | }\n | },\n | "required": [\n | "capabilities",\n | "defaultInputModes",\n | "defaultOutputModes",\n | "description",\n | "name",\n | "protocolVersion",\n | "skills",\n | "url",\n | "version"\n | ],\n | "type": "object"\n | },\n | "AgentInterface": {\n | "description": "AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.",\n | "properties": {\n | "transport": {\n | "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.",\n | "type": "string"\n | },\n | "url": {\n | "type": "string"\n | }\n | },\n | "required": [\n | "transport",\n | "url"\n | ],\n | "type": "object"\n | },\n | "AgentCapabilities": {\n | "description": "Defines optional capabilities supported by an agent.",\n | "properties": {\n | "extensions": {\n | "description": "extensions supported by this agent.",\n | "items": {\n | "$ref": "#/definitions/AgentExtension"\n | },\n | "type": "array"\n | },\n | "pushNotifications": {\n | "description": "true if the agent can notify updates to client.",\n | "type": "boolean"\n | },\n | "stateTransitionHistory": {\n | "description": "true if the agent exposes status change history for tasks.",\n | "type": "boolean"\n | },\n | "streaming": {\n | "description": "true if the agent supports SSE.",\n | "type": "boolean"\n | }\n | },\n | "type": "object"\n | },\n | "AgentExtension": {\n | "description": "A declaration of an extension supported by an Agent.",\n | "examples": [\n | {\n | "description": "Google OAuth 2.0 authentication",\n | "required": false,\n | "uri": "https://developers.google.com/identity/protocols/oauth2"\n | }\n | ],\n | "properties": {\n | "description": {\n | "description": "A description of how this agent uses this extension.",\n | "type": "string"\n | },\n | "params": {\n | "additionalProperties": {},\n | "description": "Optional configuration for the extension.",\n | "type": "object"\n | },\n | "required": {\n | "description": "Whether the client must follow specific requirements of the extension.",\n | "type": "boolean"\n | },\n | "uri": {\n | "description": "The URI of the extension.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "uri"\n | ],\n | "type": "object"\n | },\n | "AgentProvider": {\n | "description": "Represents the service provider of an agent.",\n | "examples": [\n | {\n | "organization": "Google",\n | "url": "https://ai.google.dev"\n | }\n | ],\n | "properties": {\n | "organization": {\n | "description": "Agent provider\'s organization name.",\n | "type": "string"\n | },\n | "url": {\n | "description": "Agent provider\'s URL.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "organization",\n | "url"\n | ],\n | "type": "object"\n | },\n | "SecurityScheme": {\n | "anyOf": [\n | {\n | "$ref": "#/definitions/APIKeySecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/HTTPAuthSecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OAuth2SecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OpenIdConnectSecurityScheme"\n | }\n | ],\n | "description": "Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"\n | },\n | "APIKeySecurityScheme": {\n | "description": "API Key security scheme.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "in": {\n | "description": "The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".",\n | "enum": [\n | "cookie",\n | "header",\n | "query"\n | ],\n | "type": "string"\n | },\n | "name": {\n | "description": "The name of the header, query or cookie parameter to be used.",\n | "type": "string"\n | },\n | "type": {\n | "const": "apiKey",\n | "type": "string"\n | }\n | },\n | "required": [\n | "in",\n | "name",\n | "type"\n | ],\n | "type": "object"\n | },\n | "HTTPAuthSecurityScheme": {\n | "description": "HTTP Authentication security scheme.",\n | "properties": {\n | "bearerFormat": {\n | "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.",\n | "type": "string"\n | },\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "scheme": {\n | "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.",\n | "type": "string"\n | },\n | "type": {\n | "const": "http",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scheme",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuth2SecurityScheme": {\n | "description": "OAuth2.0 security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "flows": {\n | "$ref": "#/definitions/OAuthFlows",\n | "description": "An object containing configuration information for the flow types supported."\n | },\n | "type": {\n | "const": "oauth2",\n | "type": "string"\n | }\n | },\n | "required": [\n | "flows",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuthFlows": {\n | "description": "Allows configuration of the supported OAuth Flows",\n | "properties": {\n | "authorizationCode": {\n | "$ref": "#/definitions/AuthorizationCodeOAuthFlow",\n | "description": "Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."\n | },\n | "clientCredentials": {\n | "$ref": "#/definitions/ClientCredentialsOAuthFlow",\n | "description": "Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"\n | },\n | "implicit": {\n | "$ref": "#/definitions/ImplicitOAuthFlow",\n | "description": "Configuration for the OAuth Implicit flow"\n | },\n | "password": {\n | "$ref": "#/definitions/PasswordOAuthFlow",\n | "description": "Configuration for the OAuth Resource Owner Password flow"\n | }\n | },\n | "type": "object"\n | },\n | "AuthorizationCodeOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ClientCredentialsOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ImplicitOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes"\n | ],\n | "type": "object"\n | },\n | "PasswordOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "OpenIdConnectSecurityScheme": {\n | "description": "OpenID Connect security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "openIdConnectUrl": {\n | "description": "Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.",\n | "type": "string"\n | },\n | "type": {\n | "const": "openIdConnect",\n | "type": "string"\n | }\n | },\n | "required": [\n | "openIdConnectUrl",\n | "type"\n | ],\n | "type": "object"\n | },\n | "AgentSkill": {\n | "description": "Represents a unit of capability that an agent can perform.",\n | "properties": {\n | "description": {\n | "description": "Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.",\n | "type": "string"\n | },\n | "examples": {\n | "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.",\n | "examples": [\n | [\n | "I need a recipe for bread"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "id": {\n | "description": "Unique identifier for the agent\'s skill.",\n | "type": "string"\n | },\n | "inputModes": {\n | "description": "The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "name": {\n | "description": "Human readable name of the skill.",\n | "type": "string"\n | },\n | "outputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "tags": {\n | "description": "Set of tagwords describing classes of capabilities for this specific skill.",\n | "examples": [\n | [\n | "cooking",\n | "customer support",\n | "billing"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | }\n | },\n | "required": [\n | "description",\n | "id",\n | "name",\n | "tags"\n | ],\n | "type": "object"\n | }\n | }\n |}\n |'))};
|
|
1367
|
+
y9a.prototype=new n;y9a.prototype.constructor=y9a;y9a.prototype.wec=function(){return"apiVersion"};y9a.prototype.pec=function(a){return new M(new A9a(a))};p(y9a,"amf.agentfabric.internal.plugins.parse.entry.AgentFabricProtocolVersion$",{bQd:1,mbd:1});var x9a;function B9a(){}B9a.prototype=new bNa;B9a.prototype.constructor=B9a;B9a.prototype.mic=function(){return Dl(new $c('{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "title": "Agent Factory",\n | "type": "object",\n | "required": [\n | "apiVersion",\n | "agents",\n | "agents-fabric"\n | ],\n | "properties": {\n | "apiVersion": {\n | "anyOf": [\n | {\n | "type": "string"\n | },\n | {\n | "type": "number"\n | }\n | ]\n | },\n | "agents": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/Agent"\n | }\n | }\n | },\n | "agents-fabric": {\n | "$ref": "#/definitions/AgentsFabric"\n | }\n | },\n | "additionalProperties": false,\n | "definitions": {\n | "AgentSpec": {\n | "type": "object",\n | "required": [\n | "llm",\n | "instructions"\n | ],\n | "properties": {\n | "llm": {\n | "type": "string"\n | },\n | "instructions": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "tools": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "properties": {\n | "mcp": {\n | "type": "object",\n | "required": [\n | "server"\n | ],\n | "properties": {\n | "server": {\n | "type": "string"\n | },\n | "allowed": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | }\n | }\n | },\n | "links": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "type": "object",\n | "properties": {\n | "authentication": {\n | "$ref": "#/definitions/Authentication"\n | }\n | }\n | }\n | }\n | }\n | }\n | }\n | },\n | "Agent": {\n | "type": "object",\n | "properties": {\n | "card": {\n | "$ref": "#/definitions/AgentCard"\n | },\n | "spec": {\n | "$ref": "#/definitions/AgentSpec"\n | }\n | },\n | "required": [\n | "card",\n | "spec"\n | ]\n | },\n | "BasicAuth": {\n | "type": "object",\n | "title": "Basic Authentication",\n | "description": "Properties for Basic Authentication.",\n | "properties": {\n | "type": {\n | "const": "basic",\n | "type": "string"\n | },\n | "username": {\n | "type": "string",\n | "description": "The username for authentication."\n | },\n | "password": {\n | "type": "string",\n | "description": "The password for authentication."\n | }\n | },\n | "required": [\n | "type",\n | "username",\n | "password"\n | ]\n | },\n | "AnypointClientCredentialsAuth": {\n | "type": "object",\n | "properties": {\n | "type": {\n | "const": "apikey-client-credentials",\n | "type": "string"\n | },\n | "clientId": {\n | "type": "string",\n | "description": "The client ID."\n | },\n | "clientSecret": {\n | "type": "string",\n | "description": "The client secret."\n | }\n | }\n | },\n | "OAuth2ClientCredentialsAuth": {\n | "type": "object",\n | "title": "OAuth 2.0 Client Credentials Grant",\n | "description": "Properties for the OAuth 2.0 Client Credentials Grant Type.",\n | "properties": {\n | "type": {\n | "const": "oauth2-client-credentials",\n | "type": "string"\n | },\n | "clientId": {\n | "type": "string",\n | "description": "The client ID."\n | },\n | "clientSecret": {\n | "type": "string",\n | "description": "The client secret."\n | },\n | "tokenUrl": {\n | "type": "string",\n | "description": "The URL of the token endpoint to obtain the access token."\n | },\n | "scopes": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | },\n | "description": "An array of scopes to request."\n | }\n | },\n | "required": [\n | "type",\n | "clientId",\n | "clientSecret",\n | "tokenUrl"\n | ]\n | },\n | "Authentication": {\n | "anyOf": [\n | {\n | "$ref": "#/definitions/OAuth2ClientCredentialsAuth"\n | },\n | {\n | "$ref": "#/definitions/BasicAuth"\n | },\n | {\n | "$ref": "#/definitions/AnypointClientCredentialsAuth"\n | }\n | ]\n | },\n | "ExternalAgent": {\n | "type": "object",\n | "properties": {\n | "cardUrl": {\n | "type": "string"\n | },\n | "authentication": {\n | "$ref": "#/definitions/Authentication"\n | }\n | }\n | },\n | "EinsteinLLM": {\n | "type": "object",\n | "required": [\n | "clientId",\n | "clientSecret",\n | "baseUrl",\n | "modelName"\n | ],\n | "properties": {\n | "type": {\n | "type": "string",\n | "const": "einstein"\n | },\n | "clientId": {\n | "type": "string"\n | },\n | "clientSecret": {\n | "type": "string"\n | },\n | "baseUrl": {\n | "type": "string"\n | },\n | "modelName": {\n | "type": "string"\n | },\n | "probability": {\n | "type": "number"\n | },\n | "locale": {\n | "type": "string"\n | }\n | }\n | },\n | "SseTransport": {\n | "required": [\n | "sse"\n | ],\n | "properties": {\n | "sse": {\n | "type": "object",\n | "properties": {\n | "ssePath": {\n | "type": "string"\n | },\n | "messagesPath": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | },\n | "StreamableHttpTransport": {\n | "required": [\n | "streamableHttp"\n | ],\n | "properties": {\n | "streamableHttp": {\n | "type": "object",\n | "properties": {\n | "path": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | },\n | "MCPTransport": {\n | "type": "object",\n | "oneOf": [\n | {\n | "$ref": "#/definitions/SseTransport"\n | },\n | {\n | "$ref": "#/definitions/StreamableHttpTransport"\n | }\n | ]\n | },\n | "MCPServer": {\n | "type": "object",\n | "required": [\n | "url",\n | "transport"\n | ],\n | "properties": {\n | "url": {\n | "type": "string",\n | "format": "uri"\n | },\n | "transport": {\n | "$ref": "#/definitions/MCPTransport"\n | },\n | "tools": {\n | "type": "object",\n | "properties": {\n | "allowed": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "denied": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | }\n | }\n | },\n | "AgentsFabric": {\n | "type": "object",\n | "required": [\n | "llm-providers"\n | ],\n | "properties": {\n | "external-agents": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/ExternalAgent"\n | }\n | }\n | },\n | "llm-providers": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/EinsteinLLM"\n | }\n | }\n | },\n | "mcp-servers": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "patternProperties": {\n | "^[a-zA-Z_][a-zA-Z0-9_.-]*$": {\n | "$ref": "#/definitions/MCPServer"\n | }\n | }\n | }\n | }\n | }\n | },\n | "AgentCard": {\n | "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",\n | "properties": {\n | "additionalInterfaces": {\n | "description": "Announcement of additional supported transports. Client can use any of\\nthe supported transports.",\n | "items": {\n | "$ref": "#/definitions/AgentInterface"\n | },\n | "type": "array"\n | },\n | "capabilities": {\n | "$ref": "#/definitions/AgentCapabilities",\n | "description": "Optional capabilities supported by the agent."\n | },\n | "defaultInputModes": {\n | "description": "The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "defaultOutputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "description": {\n | "description": "A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.",\n | "examples": [\n | "Agent that helps users with recipes and cooking."\n | ],\n | "type": "string"\n | },\n | "documentationUrl": {\n | "description": "A URL to documentation for the agent.",\n | "type": "string"\n | },\n | "iconUrl": {\n | "description": "A URL to an icon for the agent.",\n | "type": "string"\n | },\n | "name": {\n | "description": "Human readable name of the agent.",\n | "examples": [\n | "Recipe Agent"\n | ],\n | "type": "string"\n | },\n | "preferredTransport": {\n | "description": "The transport of the preferred endpoint. If empty, defaults to JSONRPC.",\n | "type": "string"\n | },\n | "protocolVersion": {\n | "default": "0.2.5",\n | "description": "The version of the A2A protocol this agent supports.",\n | "type": "string"\n | },\n | "provider": {\n | "$ref": "#/definitions/AgentProvider",\n | "description": "The service provider of the agent"\n | },\n | "security": {\n | "description": "Security requirements for contacting the agent.",\n | "items": {\n | "additionalProperties": {\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "type": "object"\n | },\n | "type": "array"\n | },\n | "securitySchemes": {\n | "additionalProperties": {\n | "$ref": "#/definitions/SecurityScheme"\n | },\n | "description": "Security scheme details used for authenticating with this agent.",\n | "type": "object"\n | },\n | "skills": {\n | "description": "Skills are a unit of capability that an agent can perform.",\n | "items": {\n | "$ref": "#/definitions/AgentSkill"\n | },\n | "type": "array"\n | },\n | "supportsAuthenticatedExtendedCard": {\n | "description": "true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.",\n | "type": "boolean"\n | },\n | "url": {\n | "description": "A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.",\n | "type": "string"\n | },\n | "version": {\n | "description": "The version of the agent - format is up to the provider.",\n | "examples": [\n | "1.0.0"\n | ],\n | "type": "string"\n | }\n | },\n | "required": [\n | "capabilities",\n | "defaultInputModes",\n | "defaultOutputModes",\n | "description",\n | "name",\n | "protocolVersion",\n | "skills",\n | "url",\n | "version"\n | ],\n | "type": "object"\n | },\n | "AgentInterface": {\n | "description": "AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.",\n | "properties": {\n | "transport": {\n | "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.",\n | "type": "string"\n | },\n | "url": {\n | "type": "string"\n | }\n | },\n | "required": [\n | "transport",\n | "url"\n | ],\n | "type": "object"\n | },\n | "AgentCapabilities": {\n | "description": "Defines optional capabilities supported by an agent.",\n | "properties": {\n | "extensions": {\n | "description": "extensions supported by this agent.",\n | "items": {\n | "$ref": "#/definitions/AgentExtension"\n | },\n | "type": "array"\n | },\n | "pushNotifications": {\n | "description": "true if the agent can notify updates to client.",\n | "type": "boolean"\n | },\n | "stateTransitionHistory": {\n | "description": "true if the agent exposes status change history for tasks.",\n | "type": "boolean"\n | },\n | "streaming": {\n | "description": "true if the agent supports SSE.",\n | "type": "boolean"\n | }\n | },\n | "type": "object"\n | },\n | "AgentExtension": {\n | "description": "A declaration of an extension supported by an Agent.",\n | "examples": [\n | {\n | "description": "Google OAuth 2.0 authentication",\n | "required": false,\n | "uri": "https://developers.google.com/identity/protocols/oauth2"\n | }\n | ],\n | "properties": {\n | "description": {\n | "description": "A description of how this agent uses this extension.",\n | "type": "string"\n | },\n | "params": {\n | "additionalProperties": {},\n | "description": "Optional configuration for the extension.",\n | "type": "object"\n | },\n | "required": {\n | "description": "Whether the client must follow specific requirements of the extension.",\n | "type": "boolean"\n | },\n | "uri": {\n | "description": "The URI of the extension.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "uri"\n | ],\n | "type": "object"\n | },\n | "AgentProvider": {\n | "description": "Represents the service provider of an agent.",\n | "examples": [\n | {\n | "organization": "Google",\n | "url": "https://ai.google.dev"\n | }\n | ],\n | "properties": {\n | "organization": {\n | "description": "Agent provider\'s organization name.",\n | "type": "string"\n | },\n | "url": {\n | "description": "Agent provider\'s URL.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "organization",\n | "url"\n | ],\n | "type": "object"\n | },\n | "SecurityScheme": {\n | "anyOf": [\n | {\n | "$ref": "#/definitions/APIKeySecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/HTTPAuthSecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OAuth2SecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OpenIdConnectSecurityScheme"\n | }\n | ],\n | "description": "Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"\n | },\n | "APIKeySecurityScheme": {\n | "description": "API Key security scheme.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "in": {\n | "description": "The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".",\n | "enum": [\n | "cookie",\n | "header",\n | "query"\n | ],\n | "type": "string"\n | },\n | "name": {\n | "description": "The name of the header, query or cookie parameter to be used.",\n | "type": "string"\n | },\n | "type": {\n | "const": "apiKey",\n | "type": "string"\n | }\n | },\n | "required": [\n | "in",\n | "name",\n | "type"\n | ],\n | "type": "object"\n | },\n | "HTTPAuthSecurityScheme": {\n | "description": "HTTP Authentication security scheme.",\n | "properties": {\n | "bearerFormat": {\n | "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.",\n | "type": "string"\n | },\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "scheme": {\n | "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.",\n | "type": "string"\n | },\n | "type": {\n | "const": "http",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scheme",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuth2SecurityScheme": {\n | "description": "OAuth2.0 security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "flows": {\n | "$ref": "#/definitions/OAuthFlows",\n | "description": "An object containing configuration information for the flow types supported."\n | },\n | "type": {\n | "const": "oauth2",\n | "type": "string"\n | }\n | },\n | "required": [\n | "flows",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuthFlows": {\n | "description": "Allows configuration of the supported OAuth Flows",\n | "properties": {\n | "authorizationCode": {\n | "$ref": "#/definitions/AuthorizationCodeOAuthFlow",\n | "description": "Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."\n | },\n | "clientCredentials": {\n | "$ref": "#/definitions/ClientCredentialsOAuthFlow",\n | "description": "Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"\n | },\n | "implicit": {\n | "$ref": "#/definitions/ImplicitOAuthFlow",\n | "description": "Configuration for the OAuth Implicit flow"\n | },\n | "password": {\n | "$ref": "#/definitions/PasswordOAuthFlow",\n | "description": "Configuration for the OAuth Resource Owner Password flow"\n | }\n | },\n | "type": "object"\n | },\n | "AuthorizationCodeOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ClientCredentialsOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ImplicitOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "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",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes"\n | ],\n | "type": "object"\n | },\n | "PasswordOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "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.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "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.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "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.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "OpenIdConnectSecurityScheme": {\n | "description": "OpenID Connect security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "openIdConnectUrl": {\n | "description": "Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.",\n | "type": "string"\n | },\n | "type": {\n | "const": "openIdConnect",\n | "type": "string"\n | }\n | },\n | "required": [\n | "openIdConnectUrl",\n | "type"\n | ],\n | "type": "object"\n | },\n | "AgentSkill": {\n | "description": "Represents a unit of capability that an agent can perform.",\n | "properties": {\n | "description": {\n | "description": "Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.",\n | "type": "string"\n | },\n | "examples": {\n | "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.",\n | "examples": [\n | [\n | "I need a recipe for bread"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "id": {\n | "description": "Unique identifier for the agent\'s skill.",\n | "type": "string"\n | },\n | "inputModes": {\n | "description": "The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "name": {\n | "description": "Human readable name of the skill.",\n | "type": "string"\n | },\n | "outputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "tags": {\n | "description": "Set of tagwords describing classes of capabilities for this specific skill.",\n | "examples": [\n | [\n | "cooking",\n | "customer support",\n | "billing"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | }\n | },\n | "required": [\n | "description",\n | "id",\n | "name",\n | "tags"\n | ],\n | "type": "object"\n | }\n | }\n |}\n |'))};
|
|
1368
1368
|
p(B9a,"amf.agentfabric.internal.plugins.parse.schema.AgentFabricSchema$",{cQd:1,nbd:1});var C9a;function D9a(){this.VUa=this.WUa=null;this.jR=0}D9a.prototype=new dNa;D9a.prototype.constructor=D9a;D9a.prototype.lic=function(){C9a||(C9a=new B9a);return C9a};p(D9a,"amf.agentfabric.internal.plugins.parse.schema.AgentFabricSchemaLoader$",{dQd:1,obd:1});var E9a;function F9a(){E9a||(E9a=new D9a);return E9a}function G9a(a){this.Kqd=a}G9a.prototype=new n;G9a.prototype.constructor=G9a;G9a.prototype.pg=function(){return(0,this.Kqd)()};
|
|
1369
1369
|
p(G9a,"amf.aml.client.platform.AMLConfiguration$$Lambda$1",{iQd:1,lQ:1});function H9a(a,b){a.lK=b;a.Qs=b;a.QD=Xq(b.YE());a.EA=Xq(b.WG())}function I9a(){this.EA=this.lK=this.QD=this.Qs=null}I9a.prototype=new Pua;I9a.prototype.constructor=I9a;function J9a(){}J9a.prototype=I9a.prototype;I9a.prototype.parseVocabulary=function(a){var b=ob();a=K9a(this.lK,a);var c=ob();null===ob().S3a&&null===ob().S3a&&(ob().S3a=new L9a(c));c=ob().S3a;return(new Cl(b,a,c,this.EA)).va()};
|
|
1370
1370
|
I9a.prototype.parseDialectInstance=function(a){var b=ob();a=M9a(this.lK,a);var c=ob();null===ob().Q3a&&null===ob().Q3a&&(ob().Q3a=new N9a(c));c=ob().Q3a;return(new Cl(b,a,c,this.EA)).va()};I9a.prototype.parseDialect=function(a){var b=ob();a=Lta(this.lK,a);var c=ob();null===ob().R3a&&null===ob().R3a&&(ob().R3a=new O9a(c));c=ob().R3a;return(new Cl(b,a,c,this.EA)).va()};function gG(a,b){xr(a,b);a.Et=Xq(b);return a}function hG(){this.Et=this.cw=this.az=null}hG.prototype=new ava;
|