amf-client-js 5.9.2 → 5.10.0-RC.0

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 (3) hide show
  1. package/amf.js +11887 -11814
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +41 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.9.2",
3
+ "version": "5.10.0-RC.0",
4
4
  "description": "AMF Library",
5
5
  "main": "amf.js",
6
6
  "author": "amf team",
@@ -16,7 +16,7 @@
16
16
  "types": "./typings/amf-client-js.d.ts",
17
17
  "typings": "./typings/amf-client-js.d.ts",
18
18
  "dependencies": {
19
- "@aml-org/amf-antlr-parsers": "0.8.30",
19
+ "@aml-org/amf-antlr-parsers": "0.8.34",
20
20
  "ajv": "6.12.6",
21
21
  "avro-js": "1.11.3"
22
22
  }
@@ -6816,6 +6816,10 @@ declare module "amf-client-js" {
6816
6816
  static readonly MCP: ProfileName;
6817
6817
  static readonly AGENT_NETWORK: ProfileName;
6818
6818
  static readonly AGENT_CARD: ProfileName;
6819
+ static readonly OTHER_CARD: ProfileName;
6820
+ static readonly AGENT_METADATA: ProfileName;
6821
+ static readonly LLM_METADATA: ProfileName;
6822
+ static readonly AGENT_GRAPH: ProfileName;
6819
6823
  }
6820
6824
  export class PropertyDependencies implements DomainElement {
6821
6825
  customDomainProperties: Array<DomainExtension>;
@@ -8962,6 +8966,10 @@ declare module "amf-client-js" {
8962
8966
  static readonly MCP: Spec;
8963
8967
  static readonly AGENT_NETWORK: Spec;
8964
8968
  static readonly AGENT_CARD: Spec;
8969
+ static readonly OTHER_CARD: Spec;
8970
+ static readonly AGENT_METADATA: Spec;
8971
+ static readonly LLM_METADATA: Spec;
8972
+ static readonly AGENT_GRAPH: Spec;
8965
8973
 
8966
8974
  static apply(name: string): Spec;
8967
8975
  }
@@ -9824,6 +9832,39 @@ declare module "amf-client-js" {
9824
9832
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9825
9833
  }
9826
9834
 
9835
+ export class AgentGraphConfiguration extends BaseAgentGraphConfiguration {
9836
+ static AgentGraph(): AgentGraphConfiguration;
9837
+
9838
+ baseUnitClient(): AgentGraphBaseUnitClient;
9839
+ }
9840
+
9841
+ export class BaseAgentGraphConfiguration extends BaseShapesConfiguration {
9842
+ withDialect(dialect: Dialect): BaseAgentGraphConfiguration;
9843
+
9844
+ withErrorHandlerProvider(
9845
+ provider: ErrorHandlerProvider
9846
+ ): BaseAgentGraphConfiguration;
9847
+
9848
+ withEventListener(listener: AMFEventListener): BaseAgentGraphConfiguration;
9849
+
9850
+ withParsingOptions(parsingOptions: ParsingOptions): BaseAgentGraphConfiguration;
9851
+
9852
+ withRenderOptions(renderOptions: RenderOptions): BaseAgentGraphConfiguration;
9853
+
9854
+ withResourceLoader(rl: ResourceLoader): BaseAgentGraphConfiguration;
9855
+
9856
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseAgentGraphConfiguration;
9857
+
9858
+ withTransformationPipeline(
9859
+ pipeline: TransformationPipeline
9860
+ ): BaseAgentGraphConfiguration;
9861
+
9862
+ withUnitCache(cache: UnitCache): BaseAgentGraphConfiguration;
9863
+ }
9864
+ export class AgentGraphBaseUnitClient extends AMLBaseUnitClient {
9865
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9866
+ }
9867
+
9827
9868
  export class ConfigurationAdapter {
9828
9869
  static adapt(baseConfiguration: AMFGraphConfiguration): AMFConfiguration;
9829
9870
  }