amf-client-js 5.10.2-7 → 5.10.2-8
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 +2 -2
- package/package.json +1 -1
package/amf.js
CHANGED
|
@@ -34,7 +34,7 @@ this.uoc=' Auth Flows": {\n "$schema": "http://json-schema.org/draft-07/sch
|
|
|
34
34
|
this.voc=""+this.soc+this.toc+this.uoc}kba.prototype=new l;kba.prototype.constructor=kba;n(kba,"amf.agenticnetwork.internal.spec.AgenticNetworkSchemaContent$",{HVd:1});var lba;function mba(){}mba.prototype=new l;mba.prototype.constructor=mba;
|
|
35
35
|
mba.prototype.AgentMetadata=function(){nba||(nba=new oba);var a=gb();a=new wb(a.Xf(),a.wf(),a.Rj(),a.Hi(),a.Wf(),a.ff());pba||(pba=new xb);var b=pba;qba||(qba=new rba);var c=qba;var e=new sba,f=jb(),g=kb();b=[b,c,e,f,g];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Wd.call(a,e);b=[new lb("default"),new mb(!0,"editing"),new mb(!1,"cache")];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Og.call(a,e);return new yb(a)};
|
|
36
36
|
n(mba,"amf.agentmetadata.client.platform.AgentMetadataConfiguration$",{KVd:1});var tba;function oba(){}oba.prototype=new l;oba.prototype.constructor=oba;n(oba,"amf.agentmetadata.client.scala.AgentMetadataConfiguration$",{OVd:1});var nba;
|
|
37
|
-
function uba(){this.Aoc=this.zoc=null;vba=this;this.Aoc=this.zoc='{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "Agent Metadata Specification",\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents#AgentMetadata"\n ],\n "@base": "http://anypoint.com/vocabs/agents#"\n },\n "$ref": "#/definitions/AgentMetadata",\n "definitions": {\n "GAV": {\n "description": "The asset GAV coordinates.",\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "groupId": {\n "description": "The group identifier of the asset",\n "type": "string"\n },\n "assetId": {\n "description": "The asset identifier",\n "type": "string"\n },\n "version": {\n "description": "The version of the asset",\n "type": "string"\n }\n }\n },\n "AgentMetadata": {\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "protocol": {\n "description": "The communication protocol(s) supported by this agent (e.g., \'a2a\' for Agent-to-Agent protocol)",\n "anyOf": [\n {\n "type": "string",\n "enum": [\n "a2a",\n "other"\n ],\n "description": "The name of the protocol. For example a2a"\n },\n {\n "type": "array",\n "items": {\n "type": "string",\n "enum": [\n "a2a",\n "other"\n ],\n "description": "The name of the protocol. For example a2a"\n }\n }\n ]\n },\n "platform": {\n "description": "The name of the platform this agent run on",\n "type": "string"\n },\n "kind": {\n "description": "The type of agent (e.g., \'broker\', \'orchestrator\', \'evaluator\')",\n "type": "string"\n },\n "name": {\n "description": "The human-readable name of the agent",\n "type": "string"\n },\n "description": {\n "description": "Description of the agent",\n "type": "string"\n },\n "
|
|
37
|
+
function uba(){this.Aoc=this.zoc=null;vba=this;this.Aoc=this.zoc='{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "Agent Metadata Specification",\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents#AgentMetadata"\n ],\n "@base": "http://anypoint.com/vocabs/agents#"\n },\n "$ref": "#/definitions/AgentMetadata",\n "definitions": {\n "GAV": {\n "description": "The asset GAV coordinates.",\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "groupId": {\n "description": "The group identifier of the asset",\n "type": "string"\n },\n "assetId": {\n "description": "The asset identifier",\n "type": "string"\n },\n "version": {\n "description": "The version of the asset",\n "type": "string"\n }\n }\n },\n "AgentMetadata": {\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "protocol": {\n "description": "The communication protocol(s) supported by this agent (e.g., \'a2a\' for Agent-to-Agent protocol)",\n "anyOf": [\n {\n "type": "string",\n "enum": [\n "a2a",\n "a2a_v1",\n "other"\n ],\n "description": "The name of the protocol. For example a2a or a2a_v1"\n },\n {\n "type": "array",\n "items": {\n "type": "string",\n "enum": [\n "a2a",\n "a2a_v1",\n "other"\n ],\n "description": "The name of the protocol. For example a2a or a2a_v1"\n }\n }\n ]\n },\n "platform": {\n "description": "The name of the platform this agent run on",\n "type": "string"\n },\n "kind": {\n "description": "The type of agent (e.g., \'broker\', \'orchestrator\', \'evaluator\')",\n "type": "string"\n },\n "name": {\n "description": "The human-readable name of the agent",\n "type": "string"\n },\n "description": {\n "description": "Description of the agent",\n "type": "string"\n },\n "connections": {\n "description": "The list of services (MCP, Agents and LLM) that this agent is consuming.",\n "type": "array",\n "items": {\n "type": "object",\n "additionalProperties": true,\n "oneOf": [\n {\n "$ref": "#/definitions/AgentLink"\n },\n {\n "$ref": "#/definitions/MCPLink"\n },\n {\n "$ref": "#/definitions/LLMLink"\n }\n ]\n }\n },\n "provenance": {\n "$ref": "#/definitions/ProvenanceDefinition"\n },\n "extensions": {\n "$comment": "This section is not going to be indexed",\n "description": "Optional platform-specific or custom extensions for this agent metadata",\n "additionalProperties": true,\n "type": "object",\n "properties": {\n "agentId": {\n "description": "The unique identifier of the agent in its native platform",\n "type": "string"\n },\n "environment": {\n "description": "The cloud region or geographic zone where the agent runs",\n "type": "string"\n },\n "foundationModel": {\n "description": "The underlying AI model the agent uses.",\n "type": "string"\n },\n "instruction": {\n "description": "The agent\'s system prompt / instruction \u2014 what it\'s been told to do.",\n "type": "string"\n }\n }\n }\n }\n },\n "AgentLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#Agent"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'agent\' for agent connections",\n "type": "string",\n "const": "agent"\n },\n "name": {\n "description": "The human-readable name of the connected agent",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "MCPLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#MCP"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'mcp\' for MCP server connections",\n "type": "string",\n "const": "mcp"\n },\n "name": {\n "description": "The human-readable name of the connected MCP server",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n },\n "allowed": {\n "description": "An optional list of tool names from the MCP server that are allowed to be used",\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n }\n },\n "LLMLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#LLM"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'llm\' for LLM connections",\n "type": "string",\n "const": "llm"\n },\n "name": {\n "description": "The human-readable name of the connected LLM",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "ProvenanceDefinition": {\n "description": "The provenance object used in all metadata files.",\n "additionalProperties": false,\n "type": "object",\n "properties": {\n "id": {\n "description": "A urn that identifies the original resource that generated this metadata.",\n "type": "string",\n "format": "uri"\n },\n "createdAt": {\n "description": "The timestamp where the original resource was created",\n "type": "string",\n "format": "date-time"\n },\n "updatedAt": {\n "description": "The timestamp where the original resource was updated",\n "type": "string",\n "format": "date-time"\n },\n "version": {\n "description": "The version in the target system of this resource",\n "type": "string"\n },\n "status": {\n "description": "The status of the resource in the origin system.",\n "type": "string"\n },\n "url": {\n "description": "The url of the original resource.",\n "type": "string"\n }\n }\n }\n }\n}\n'}
|
|
38
38
|
uba.prototype=new l;uba.prototype.constructor=uba;n(uba,"amf.agentmetadata.internal.spec.AgentMetadataSchemaContent$",{ZVd:1});var vba;function wba(){}wba.prototype=new l;wba.prototype.constructor=wba;
|
|
39
39
|
wba.prototype.AgentNetwork=function(){xba||(xba=new yba);var a=gb();a=new zb(a.Xf(),a.wf(),a.Rj(),a.Hi(),a.Wf(),a.ff());zba||(zba=new Bb);var b=zba;Aba||(Aba=new Bba);var c=Aba;var e=new Cba,f=jb(),g=kb();b=[b,c,e,f,g];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Wd.call(a,e);b=[new lb("default"),new mb(!0,"editing"),new mb(!1,"cache")];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Og.call(a,e);return new Cb(a)};
|
|
40
40
|
n(wba,"amf.agentnetwork.client.platform.AgentNetworkConfiguration$",{bWd:1});var Dba;function yba(){}yba.prototype=new l;yba.prototype.constructor=yba;n(yba,"amf.agentnetwork.client.scala.AgentNetworkConfiguration$",{fWd:1});var xba;
|
|
@@ -43,7 +43,7 @@ function Eba(){this.Goc=this.Foc=this.Eoc=null;Fba=this;this.Eoc='{\n "$schema"
|
|
|
43
43
|
this.Goc=""+this.Eoc+this.Foc}Eba.prototype=new l;Eba.prototype.constructor=Eba;n(Eba,"amf.agentnetwork.internal.spec.AgentNetworkSchemaContent$",{tWd:1});var Fba;function Gba(){}Gba.prototype=new l;Gba.prototype.constructor=Gba;
|
|
44
44
|
Gba.prototype.AgentNetworkMetadata=function(){Hba||(Hba=new Iba);var a=gb();a=new Db(a.Xf(),a.wf(),a.Rj(),a.Hi(),a.Wf(),a.ff());Jba||(Jba=new Eb);var b=Jba;Kba||(Kba=new Lba);var c=Kba;var e=new Mba,f=jb(),g=kb();b=[b,c,e,f,g];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Wd.call(a,e);b=[new lb("default"),new mb(!0,"editing"),new mb(!1,"cache")];c=(b.length|0)-1|0;for(e=p();0<=c;)e=new q(b[c],e),c=c-1|0;a=t.prototype.Og.call(a,e);return new Fb(a)};
|
|
45
45
|
n(Gba,"amf.agentnetworkmetadata.client.platform.AgentNetworkMetadataConfiguration$",{wWd:1});var Nba;function Iba(){}Iba.prototype=new l;Iba.prototype.constructor=Iba;n(Iba,"amf.agentnetworkmetadata.client.scala.AgentNetworkMetadataConfiguration$",{AWd:1});var Hba;
|
|
46
|
-
function Oba(){this.Loc=this.Koc=null;Pba=this;this.Loc=this.Koc='{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "Agent Network Metadata Specification",\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents#AgentNetworkMetadata"\n ],\n "@base": "http://anypoint.com/vocabs/agent-network #"\n },\n "$ref": "#/definitions/AgentNetworkMetadata",\n "definitions": {\n "AgentNetworkMetadata": {\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "brokers": {\n "description": "The list of all brokers defined in this Network",\n "type": "array",\n "items": {\n "$ref": "#/definitions/
|
|
46
|
+
function Oba(){this.Loc=this.Koc=null;Pba=this;this.Loc=this.Koc='{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "title": "Agent Network Metadata Specification",\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents#AgentNetworkMetadata"\n ],\n "@base": "http://anypoint.com/vocabs/agent-network #"\n },\n "$ref": "#/definitions/AgentNetworkMetadata",\n "definitions": {\n "AgentNetworkMetadata": {\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "brokers": {\n "description": "The list of all brokers defined in this Network",\n "type": "array",\n "items": {\n "$ref": "#/definitions/BrokerMetadata"\n }\n },\n "registry": {\n "description": "The list of all assets defined in this Network",\n "type": "array",\n "items": {\n "$ref": "#/definitions/RegistryEntry"\n }\n },\n "provenance": {\n "$ref": "#/definitions/ProvenanceDefinition"\n }\n }\n },\n "BrokerMetadata": {\n "description": "Metadata describing a broker defined in this Network. Mirrors AgentMetadata but additionally allows a top-level ref to the broker asset.",\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "protocol": {\n "description": "The communication protocol(s) supported by this agent (e.g., \'a2a\' for Agent-to-Agent protocol)",\n "anyOf": [\n {\n "type": "string",\n "enum": [\n "a2a",\n "a2a_v1",\n "other"\n ],\n "description": "The name of the protocol. For example a2a or a2a_v1"\n },\n {\n "type": "array",\n "items": {\n "type": "string",\n "enum": [\n "a2a",\n "a2a_v1",\n "other"\n ],\n "description": "The name of the protocol. For example a2a or a2a_v1"\n }\n }\n ]\n },\n "platform": {\n "description": "The name of the platform this agent run on",\n "type": "string"\n },\n "kind": {\n "description": "The type of agent (e.g., \'broker\', \'orchestrator\', \'evaluator\')",\n "type": "string"\n },\n "name": {\n "description": "The human-readable name of the agent",\n "type": "string"\n },\n "description": {\n "description": "Description of the agent",\n "type": "string"\n },\n "connections": {\n "description": "The list of services (MCP, Agents and LLM) that this agent is consuming.",\n "type": "array",\n "items": {\n "type": "object",\n "additionalProperties": true,\n "oneOf": [\n {\n "$ref": "#/definitions/AgentLink"\n },\n {\n "$ref": "#/definitions/MCPLink"\n },\n {\n "$ref": "#/definitions/LLMLink"\n }\n ]\n }\n },\n "provenance": {\n "$ref": "#/definitions/ProvenanceDefinition"\n },\n "extensions": {\n "$comment": "This section is not going to be indexed",\n "description": "Optional platform-specific or custom extensions for this agent metadata",\n "additionalProperties": true,\n "type": "object",\n "properties": {\n "agentId": {\n "description": "The unique identifier of the agent in its native platform",\n "type": "string"\n },\n "environment": {\n "description": "The cloud region or geographic zone where the agent runs",\n "type": "string"\n },\n "foundationModel": {\n "description": "The underlying AI model the agent uses.",\n "type": "string"\n },\n "instruction": {\n "description": "The agent\'s system prompt / instruction \u2014 what it\'s been told to do.",\n "type": "string"\n }\n }\n },\n "ref": {\n "description": "The reference to the broker asset using GAV coordinates",\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "RegistryEntry": {\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of registry entry (e.g., \'a2a\', \'mcp\', \'llm\')",\n "type": "string"\n },\n "name": {\n "description": "The human-readable name of the registry entry",\n "type": "string"\n },\n "ref": {\n "description": "The reference to the asset using GAV coordinates",\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "ProvenanceDefinition": {\n "description": "The provenance object used in all metadata files.",\n "additionalProperties": false,\n "type": "object",\n "properties": {\n "id": {\n "description": "A urn that identifies the original resource that generated this metadata.",\n "type": "string",\n "format": "uri"\n },\n "createdAt": {\n "description": "The timestamp where the original resource was created",\n "type": "string",\n "format": "date-time"\n },\n "updatedAt": {\n "description": "The timestamp where the original resource was updated",\n "type": "string",\n "format": "date-time"\n },\n "version": {\n "description": "The version in the target system of this resource",\n "type": "string"\n },\n "status": {\n "description": "The status of the resource in the origin system.",\n "type": "string"\n },\n "url": {\n "description": "The url of the original resource.",\n "type": "string"\n }\n }\n },\n "AgentLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#Agent"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'agent\' for agent connections",\n "type": "string",\n "const": "agent"\n },\n "name": {\n "description": "The human-readable name of the connected agent",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "MCPLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#MCP"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'mcp\' for MCP server connections",\n "type": "string",\n "const": "mcp"\n },\n "name": {\n "description": "The human-readable name of the connected MCP server",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n },\n "allowed": {\n "description": "An optional list of tool names from the MCP server that are allowed to be used",\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n }\n },\n "LLMLink": {\n "@context": {\n "@type": [\n "http://anypoint.com/vocabs/agents/link#LLM"\n ],\n "@base": "http://anypoint.com/vocabs/agents/link#"\n },\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "kind": {\n "description": "The type of connection - must be \'llm\' for LLM connections",\n "type": "string",\n "const": "llm"\n },\n "name": {\n "description": "The human-readable name of the connected LLM",\n "type": "string"\n },\n "ref": {\n "$ref": "#/definitions/GAV"\n }\n }\n },\n "GAV": {\n "description": "The asset GAV coordinates.",\n "type": "object",\n "additionalProperties": false,\n "properties": {\n "groupId": {\n "description": "The group identifier of the asset",\n "type": "string"\n },\n "assetId": {\n "description": "The asset identifier",\n "type": "string"\n },\n "version": {\n "description": "The version of the asset",\n "type": "string"\n }\n }\n }\n }\n}\n'}
|
|
47
47
|
Oba.prototype=new l;Oba.prototype.constructor=Oba;n(Oba,"amf.agentnetworkmetadata.internal.spec.AgentNetworkMetadataSchemaContent$",{LWd:1});var Pba;function Qba(){}Qba.prototype=new l;Qba.prototype.constructor=Qba;Qba.prototype.predefined=function(){Gb();var a=Rba();Hb();return new Ib(a)};Qba.prototype.empty=function(){Gb();Sba();var a=Tba(new Jb,Uba(),Vba(),Kb().C9,(Lb(),Mb()),Wba(),new Nb);Hb();return new Ib(a)};n(Qba,"amf.aml.client.platform.AMLConfiguration$",{NWd:1});var Xba;
|
|
48
48
|
function Ob(a,b){a.xKa=b;return a}function Pb(){this.xKa=null}Pb.prototype=new l;Pb.prototype.constructor=Pb;function Yba(){}Yba.prototype=Pb.prototype;function Zba(a,b,c){return Zba(a,b,c)}Pb.prototype.getExtensions=function(){return(new Qb(Gb(),$ba(aca(),this.xKa.bn()),bca())).ra()};Pb.prototype.getDialect=function(a,...b){switch(b.length|0){case 0:return(new Qb(Gb(),cca(this.xKa,dca(a)),Gb().Hm())).ra();case 1:return Zba(this,a,b[0]);default:throw"No matching overload";}};
|
|
49
49
|
Pb.prototype.getDialects=function(){return(new Qb(Gb(),eca(this.xKa),Gb().Hm())).ra()};n(Pb,"amf.aml.client.platform.AMLConfigurationState",{Gvd:1});function fca(){}fca.prototype=new l;fca.prototype.constructor=fca;function gca(a,b,c,e){Gb();Gb().xv();var f=b.Ta();a=eca(c.kp().K1()).Jb(new u(g=>!Rb(v(g.rc,Sb().je),new Tb(f)).a()));a.a()||hca(Ub(),ica(jca(),f,a.b(),c.kp().wf().Fi(),p()),e)}fca.prototype.emitToBuilder=function(a,b,c){gca(kca(),a,b,c)};
|