@mermanjs/node-wasm 0.9.2 → 0.10.0-alpha.1
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/CHANGELOG.md +29 -0
- package/README.md +64 -6
- package/THIRD_PARTY_LICENSES/roxmltree-dom/LICENSE-APACHE +201 -0
- package/THIRD_PARTY_LICENSES/roxmltree-dom/LICENSE-ISC +13 -0
- package/THIRD_PARTY_LICENSES/roxmltree-dom/LICENSE-MIT +21 -0
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +186 -144
- package/THIRD_PARTY_LICENSES/sdk-cousine/OFL.txt +93 -0
- package/THIRD_PARTY_NOTICES.md +118 -48
- package/artifact/merman_node.cjs +5 -2
- package/artifact/merman_node_bg.wasm +0 -0
- package/dist/candidates/wasm.mjs +4 -1
- package/dist/engine.mjs +62 -25
- package/dist/errors.mjs +46 -20
- package/dist/generated/binding-contract.mjs +234 -17
- package/dist/generated/capability-surface.mjs +61 -15
- package/dist/generated/node-wire-contract.json +13 -7
- package/dist/index.d.ts +19 -2
- package/dist/index.mjs +2 -2
- package/dist/native-loader.mjs +7 -5
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Sources: typed registries in merman-bindings-core. Do not edit directly.
|
|
3
3
|
|
|
4
4
|
export const RUNTIME_CATALOG_SCHEMA_VERSION = 1;
|
|
5
|
-
export const BINDING_OPTIONS_SCHEMA_VERSION =
|
|
5
|
+
export const BINDING_OPTIONS_SCHEMA_VERSION = 3;
|
|
6
6
|
export const TEXT_MEASUREMENT_PROTOCOL_VERSION = 1;
|
|
7
7
|
|
|
8
8
|
export const RUNTIME_CATALOG_IDENTIFIER_PATTERN = "^[a-z0-9][a-z0-9-]*$";
|
|
@@ -22,6 +22,12 @@ export const CAPABILITY_SPECS = [
|
|
|
22
22
|
"id": "editor",
|
|
23
23
|
"implication_ids": []
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
"id": "fixes",
|
|
27
|
+
"implication_ids": [
|
|
28
|
+
"analysis"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
25
31
|
{
|
|
26
32
|
"id": "icons",
|
|
27
33
|
"implication_ids": []
|
|
@@ -76,8 +82,7 @@ export const CAPABILITY_SPECS = [
|
|
|
76
82
|
"id": "rustdoc",
|
|
77
83
|
"implication_ids": [
|
|
78
84
|
"layout-cytoscape",
|
|
79
|
-
"markdown"
|
|
80
|
-
"math"
|
|
85
|
+
"markdown"
|
|
81
86
|
]
|
|
82
87
|
},
|
|
83
88
|
{
|
|
@@ -151,6 +156,20 @@ export const BINDING_OPERATION_METADATA_CONTRACT = {
|
|
|
151
156
|
"required": false,
|
|
152
157
|
"integer_width_bits": null,
|
|
153
158
|
"open_value": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "layout_adaptation",
|
|
162
|
+
"json_type": "object",
|
|
163
|
+
"required": false,
|
|
164
|
+
"integer_width_bits": null,
|
|
165
|
+
"open_value": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "theme_execution_evidence",
|
|
169
|
+
"json_type": "object",
|
|
170
|
+
"required": false,
|
|
171
|
+
"integer_width_bits": null,
|
|
172
|
+
"open_value": true
|
|
154
173
|
}
|
|
155
174
|
],
|
|
156
175
|
"output_plans": [
|
|
@@ -422,14 +441,119 @@ export const BINDING_OPERATION_METADATA_CONTRACT = {
|
|
|
422
441
|
]
|
|
423
442
|
}
|
|
424
443
|
],
|
|
444
|
+
"theme_execution_evidence_versions": [
|
|
445
|
+
{
|
|
446
|
+
"version": 1,
|
|
447
|
+
"fields": [
|
|
448
|
+
{
|
|
449
|
+
"name": "version",
|
|
450
|
+
"json_type": "unsigned-integer",
|
|
451
|
+
"required": true,
|
|
452
|
+
"integer_width_bits": 32,
|
|
453
|
+
"open_value": false
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "family_id",
|
|
457
|
+
"json_type": "string",
|
|
458
|
+
"required": true,
|
|
459
|
+
"integer_width_bits": null,
|
|
460
|
+
"open_value": true
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "theme_status",
|
|
464
|
+
"json_type": "string",
|
|
465
|
+
"required": true,
|
|
466
|
+
"integer_width_bits": null,
|
|
467
|
+
"open_value": true
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "output_mutated",
|
|
471
|
+
"json_type": "boolean",
|
|
472
|
+
"required": true,
|
|
473
|
+
"integer_width_bits": null,
|
|
474
|
+
"open_value": false
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "target_kind",
|
|
478
|
+
"json_type": "string",
|
|
479
|
+
"required": true,
|
|
480
|
+
"integer_width_bits": null,
|
|
481
|
+
"open_value": true
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "target_status",
|
|
485
|
+
"json_type": "string",
|
|
486
|
+
"required": true,
|
|
487
|
+
"integer_width_bits": null,
|
|
488
|
+
"open_value": true
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "target_reason_ids",
|
|
492
|
+
"json_type": "array",
|
|
493
|
+
"required": true,
|
|
494
|
+
"integer_width_bits": null,
|
|
495
|
+
"open_value": true
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "font_source",
|
|
499
|
+
"json_type": "string",
|
|
500
|
+
"required": true,
|
|
501
|
+
"integer_width_bits": null,
|
|
502
|
+
"open_value": true
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "diagnostics",
|
|
506
|
+
"json_type": "array",
|
|
507
|
+
"required": false,
|
|
508
|
+
"integer_width_bits": null,
|
|
509
|
+
"open_value": true
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"max_id_utf8_bytes": 128,
|
|
513
|
+
"max_target_reason_ids": 32,
|
|
514
|
+
"target_reason_ids_unique": true
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"layout_adaptation_fields": [
|
|
518
|
+
{
|
|
519
|
+
"name": "mode",
|
|
520
|
+
"json_type": "string",
|
|
521
|
+
"required": true,
|
|
522
|
+
"integer_width_bits": null,
|
|
523
|
+
"open_value": true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "requested_width",
|
|
527
|
+
"json_type": "number",
|
|
528
|
+
"required": true,
|
|
529
|
+
"integer_width_bits": null,
|
|
530
|
+
"open_value": false
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "actual_width",
|
|
534
|
+
"json_type": "number",
|
|
535
|
+
"required": true,
|
|
536
|
+
"integer_width_bits": null,
|
|
537
|
+
"open_value": false
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "overflowed",
|
|
541
|
+
"json_type": "boolean",
|
|
542
|
+
"required": true,
|
|
543
|
+
"integer_width_bits": null,
|
|
544
|
+
"open_value": false
|
|
545
|
+
}
|
|
546
|
+
],
|
|
425
547
|
"additional_fields_policy": "preserve",
|
|
426
548
|
"unknown_output_plan_policy": "preserve",
|
|
549
|
+
"unknown_theme_execution_evidence_policy": "preserve",
|
|
427
550
|
"original_json_policy": "preserve-exact-bytes"
|
|
428
551
|
};
|
|
429
552
|
|
|
430
553
|
export const BINDING_OPERATION_EXPECTATIONS = [
|
|
431
554
|
{
|
|
432
555
|
"operation_id": "analysis-facts-json",
|
|
556
|
+
"maturity": "stable",
|
|
433
557
|
"output_id": null,
|
|
434
558
|
"media_type": "application/json",
|
|
435
559
|
"metadata_schema_version": 1,
|
|
@@ -445,6 +569,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
445
569
|
},
|
|
446
570
|
{
|
|
447
571
|
"operation_id": "analysis-json",
|
|
572
|
+
"maturity": "stable",
|
|
448
573
|
"output_id": null,
|
|
449
574
|
"media_type": "application/json",
|
|
450
575
|
"metadata_schema_version": 1,
|
|
@@ -460,6 +585,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
460
585
|
},
|
|
461
586
|
{
|
|
462
587
|
"operation_id": "ascii",
|
|
588
|
+
"maturity": "stable",
|
|
463
589
|
"output_id": "ascii",
|
|
464
590
|
"media_type": "text/plain; charset=utf-8",
|
|
465
591
|
"metadata_schema_version": 1,
|
|
@@ -473,8 +599,25 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
473
599
|
"capability_id": "ascii"
|
|
474
600
|
}
|
|
475
601
|
},
|
|
602
|
+
{
|
|
603
|
+
"operation_id": "describe-theme-support-json",
|
|
604
|
+
"maturity": "alpha",
|
|
605
|
+
"output_id": null,
|
|
606
|
+
"media_type": "application/json",
|
|
607
|
+
"metadata_schema_version": 1,
|
|
608
|
+
"requires_uri": false,
|
|
609
|
+
"availability_capability_id": "svg",
|
|
610
|
+
"compiled_prerequisite_ids": [],
|
|
611
|
+
"unavailable": {
|
|
612
|
+
"status_code": 7,
|
|
613
|
+
"status_name": "MERMAN_UNSUPPORTED_OPERATION",
|
|
614
|
+
"error_kind": "missing-capability",
|
|
615
|
+
"capability_id": "svg"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
476
618
|
{
|
|
477
619
|
"operation_id": "document-analysis-facts-json",
|
|
620
|
+
"maturity": "stable",
|
|
478
621
|
"output_id": null,
|
|
479
622
|
"media_type": "application/json",
|
|
480
623
|
"metadata_schema_version": 1,
|
|
@@ -490,6 +633,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
490
633
|
},
|
|
491
634
|
{
|
|
492
635
|
"operation_id": "document-analysis-json",
|
|
636
|
+
"maturity": "stable",
|
|
493
637
|
"output_id": null,
|
|
494
638
|
"media_type": "application/json",
|
|
495
639
|
"metadata_schema_version": 1,
|
|
@@ -505,6 +649,23 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
505
649
|
},
|
|
506
650
|
{
|
|
507
651
|
"operation_id": "edge-geometry-json",
|
|
652
|
+
"maturity": "stable",
|
|
653
|
+
"output_id": null,
|
|
654
|
+
"media_type": "application/json",
|
|
655
|
+
"metadata_schema_version": 1,
|
|
656
|
+
"requires_uri": false,
|
|
657
|
+
"availability_capability_id": "svg",
|
|
658
|
+
"compiled_prerequisite_ids": [],
|
|
659
|
+
"unavailable": {
|
|
660
|
+
"status_code": 7,
|
|
661
|
+
"status_name": "MERMAN_UNSUPPORTED_OPERATION",
|
|
662
|
+
"error_kind": "missing-capability",
|
|
663
|
+
"capability_id": "svg"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"operation_id": "export-theme-preset-json",
|
|
668
|
+
"maturity": "alpha",
|
|
508
669
|
"output_id": null,
|
|
509
670
|
"media_type": "application/json",
|
|
510
671
|
"metadata_schema_version": 1,
|
|
@@ -520,6 +681,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
520
681
|
},
|
|
521
682
|
{
|
|
522
683
|
"operation_id": "jpeg",
|
|
684
|
+
"maturity": "stable",
|
|
523
685
|
"output_id": "jpeg",
|
|
524
686
|
"media_type": "image/jpeg",
|
|
525
687
|
"metadata_schema_version": 1,
|
|
@@ -537,6 +699,23 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
537
699
|
},
|
|
538
700
|
{
|
|
539
701
|
"operation_id": "layout-json",
|
|
702
|
+
"maturity": "stable",
|
|
703
|
+
"output_id": null,
|
|
704
|
+
"media_type": "application/json",
|
|
705
|
+
"metadata_schema_version": 1,
|
|
706
|
+
"requires_uri": false,
|
|
707
|
+
"availability_capability_id": "svg",
|
|
708
|
+
"compiled_prerequisite_ids": [],
|
|
709
|
+
"unavailable": {
|
|
710
|
+
"status_code": 7,
|
|
711
|
+
"status_name": "MERMAN_UNSUPPORTED_OPERATION",
|
|
712
|
+
"error_kind": "missing-capability",
|
|
713
|
+
"capability_id": "svg"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"operation_id": "materialize-theme-json",
|
|
718
|
+
"maturity": "alpha",
|
|
540
719
|
"output_id": null,
|
|
541
720
|
"media_type": "application/json",
|
|
542
721
|
"metadata_schema_version": 1,
|
|
@@ -552,6 +731,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
552
731
|
},
|
|
553
732
|
{
|
|
554
733
|
"operation_id": "pdf",
|
|
734
|
+
"maturity": "stable",
|
|
555
735
|
"output_id": "pdf",
|
|
556
736
|
"media_type": "application/pdf",
|
|
557
737
|
"metadata_schema_version": 1,
|
|
@@ -569,6 +749,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
569
749
|
},
|
|
570
750
|
{
|
|
571
751
|
"operation_id": "png",
|
|
752
|
+
"maturity": "stable",
|
|
572
753
|
"output_id": "png",
|
|
573
754
|
"media_type": "image/png",
|
|
574
755
|
"metadata_schema_version": 1,
|
|
@@ -586,6 +767,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
586
767
|
},
|
|
587
768
|
{
|
|
588
769
|
"operation_id": "semantic-json",
|
|
770
|
+
"maturity": "stable",
|
|
589
771
|
"output_id": null,
|
|
590
772
|
"media_type": "application/json",
|
|
591
773
|
"metadata_schema_version": 1,
|
|
@@ -596,6 +778,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
596
778
|
},
|
|
597
779
|
{
|
|
598
780
|
"operation_id": "svg",
|
|
781
|
+
"maturity": "stable",
|
|
599
782
|
"output_id": "svg",
|
|
600
783
|
"media_type": "image/svg+xml",
|
|
601
784
|
"metadata_schema_version": 1,
|
|
@@ -611,6 +794,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
611
794
|
},
|
|
612
795
|
{
|
|
613
796
|
"operation_id": "svg-plan-json",
|
|
797
|
+
"maturity": "stable",
|
|
614
798
|
"output_id": null,
|
|
615
799
|
"media_type": "application/json",
|
|
616
800
|
"metadata_schema_version": 1,
|
|
@@ -626,6 +810,7 @@ export const BINDING_OPERATION_EXPECTATIONS = [
|
|
|
626
810
|
},
|
|
627
811
|
{
|
|
628
812
|
"operation_id": "validation-json",
|
|
813
|
+
"maturity": "stable",
|
|
629
814
|
"output_id": null,
|
|
630
815
|
"media_type": "application/json",
|
|
631
816
|
"metadata_schema_version": 1,
|
|
@@ -666,15 +851,15 @@ export const METADATA_SPECS = [
|
|
|
666
851
|
"required_capability_id": "analysis"
|
|
667
852
|
},
|
|
668
853
|
{
|
|
669
|
-
"id": "
|
|
854
|
+
"id": "supported-diagrams",
|
|
670
855
|
"required_capability_id": null
|
|
671
856
|
},
|
|
672
857
|
{
|
|
673
|
-
"id": "supported-
|
|
858
|
+
"id": "supported-themes",
|
|
674
859
|
"required_capability_id": null
|
|
675
860
|
},
|
|
676
861
|
{
|
|
677
|
-
"id": "
|
|
862
|
+
"id": "theme-catalog",
|
|
678
863
|
"required_capability_id": null
|
|
679
864
|
}
|
|
680
865
|
];
|
|
@@ -742,12 +927,6 @@ export const BINDING_OPTION_GROUP_SPECS = [
|
|
|
742
927
|
],
|
|
743
928
|
"requires_svg_pipeline": false
|
|
744
929
|
},
|
|
745
|
-
{
|
|
746
|
-
"id": "presentation",
|
|
747
|
-
"always_available": false,
|
|
748
|
-
"any_capability_ids": [],
|
|
749
|
-
"requires_svg_pipeline": true
|
|
750
|
-
},
|
|
751
930
|
{
|
|
752
931
|
"id": "raster",
|
|
753
932
|
"always_available": false,
|
|
@@ -781,6 +960,12 @@ export const BINDING_OPTION_GROUP_SPECS = [
|
|
|
781
960
|
"any_capability_ids": [],
|
|
782
961
|
"requires_svg_pipeline": true
|
|
783
962
|
},
|
|
963
|
+
{
|
|
964
|
+
"id": "theme",
|
|
965
|
+
"always_available": false,
|
|
966
|
+
"any_capability_ids": [],
|
|
967
|
+
"requires_svg_pipeline": true
|
|
968
|
+
},
|
|
784
969
|
{
|
|
785
970
|
"id": "version",
|
|
786
971
|
"always_available": true,
|
|
@@ -799,12 +984,18 @@ export const TEXT_MEASUREMENT_PROVIDER_SPECS = [
|
|
|
799
984
|
"id": "host-callback",
|
|
800
985
|
"source": "constructor-service",
|
|
801
986
|
"constructor_service_id": "host-text-measurement"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"id": "native-fonts",
|
|
990
|
+
"source": "constructor-service",
|
|
991
|
+
"constructor_service_id": "native-font-context"
|
|
802
992
|
}
|
|
803
993
|
];
|
|
804
994
|
|
|
805
995
|
export const TEXT_MEASUREMENT_PROVIDER_IDS = [
|
|
806
996
|
"deterministic",
|
|
807
|
-
"host-callback"
|
|
997
|
+
"host-callback",
|
|
998
|
+
"native-fonts"
|
|
808
999
|
];
|
|
809
1000
|
export const DETERMINISTIC_TEXT_MEASUREMENT_PROVIDER_ID = "deterministic";
|
|
810
1001
|
export const HOST_CALLBACK_TEXT_MEASUREMENT_PROVIDER_ID = "host-callback";
|
|
@@ -813,6 +1004,7 @@ export const CONSTRUCTOR_SERVICE_SPECS = [
|
|
|
813
1004
|
{
|
|
814
1005
|
"id": "host-text-measurement",
|
|
815
1006
|
"requires_svg_pipeline": true,
|
|
1007
|
+
"required_capability_id": null,
|
|
816
1008
|
"provided_text_measurement_provider_ids": [
|
|
817
1009
|
"host-callback"
|
|
818
1010
|
],
|
|
@@ -821,6 +1013,7 @@ export const CONSTRUCTOR_SERVICE_SPECS = [
|
|
|
821
1013
|
{
|
|
822
1014
|
"id": "icon-registry",
|
|
823
1015
|
"requires_svg_pipeline": true,
|
|
1016
|
+
"required_capability_id": null,
|
|
824
1017
|
"provided_text_measurement_provider_ids": [],
|
|
825
1018
|
"resource_limits": [
|
|
826
1019
|
{
|
|
@@ -978,6 +1171,15 @@ export const CONSTRUCTOR_SERVICE_SPECS = [
|
|
|
978
1171
|
"value": 4096
|
|
979
1172
|
}
|
|
980
1173
|
]
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"id": "native-font-context",
|
|
1177
|
+
"requires_svg_pipeline": true,
|
|
1178
|
+
"required_capability_id": "native-fonts",
|
|
1179
|
+
"provided_text_measurement_provider_ids": [
|
|
1180
|
+
"native-fonts"
|
|
1181
|
+
],
|
|
1182
|
+
"resource_limits": []
|
|
981
1183
|
}
|
|
982
1184
|
];
|
|
983
1185
|
export const BINDING_TRANSPORT_EXPOSURE_SPECS = [
|
|
@@ -1000,7 +1202,8 @@ export const BINDING_TRANSPORT_EXPOSURE_SPECS = [
|
|
|
1000
1202
|
],
|
|
1001
1203
|
"constructor_service_candidate_ids": [
|
|
1002
1204
|
"host-text-measurement",
|
|
1003
|
-
"icon-registry"
|
|
1205
|
+
"icon-registry",
|
|
1206
|
+
"native-font-context"
|
|
1004
1207
|
]
|
|
1005
1208
|
},
|
|
1006
1209
|
{
|
|
@@ -1009,7 +1212,9 @@ export const BINDING_TRANSPORT_EXPOSURE_SPECS = [
|
|
|
1009
1212
|
"binding-result",
|
|
1010
1213
|
"operation-metadata"
|
|
1011
1214
|
],
|
|
1012
|
-
"constructor_service_candidate_ids": [
|
|
1215
|
+
"constructor_service_candidate_ids": [
|
|
1216
|
+
"icon-registry"
|
|
1217
|
+
]
|
|
1013
1218
|
},
|
|
1014
1219
|
{
|
|
1015
1220
|
"id": "rust",
|
|
@@ -1019,7 +1224,8 @@ export const BINDING_TRANSPORT_EXPOSURE_SPECS = [
|
|
|
1019
1224
|
],
|
|
1020
1225
|
"constructor_service_candidate_ids": [
|
|
1021
1226
|
"host-text-measurement",
|
|
1022
|
-
"icon-registry"
|
|
1227
|
+
"icon-registry",
|
|
1228
|
+
"native-font-context"
|
|
1023
1229
|
]
|
|
1024
1230
|
},
|
|
1025
1231
|
{
|
|
@@ -1038,13 +1244,24 @@ export const BINDING_TRANSPORT_EXPOSURE_SPECS = [
|
|
|
1038
1244
|
"icon-registry"
|
|
1039
1245
|
]
|
|
1040
1246
|
},
|
|
1247
|
+
{
|
|
1248
|
+
"id": "wasi",
|
|
1249
|
+
"payload_schema_ids": [
|
|
1250
|
+
"binding-result",
|
|
1251
|
+
"operation-metadata"
|
|
1252
|
+
],
|
|
1253
|
+
"constructor_service_candidate_ids": [
|
|
1254
|
+
"native-font-context"
|
|
1255
|
+
]
|
|
1256
|
+
},
|
|
1041
1257
|
{
|
|
1042
1258
|
"id": "web",
|
|
1043
1259
|
"payload_schema_ids": [
|
|
1044
1260
|
"binding-result"
|
|
1045
1261
|
],
|
|
1046
1262
|
"constructor_service_candidate_ids": [
|
|
1047
|
-
"host-text-measurement"
|
|
1263
|
+
"host-text-measurement",
|
|
1264
|
+
"icon-registry"
|
|
1048
1265
|
]
|
|
1049
1266
|
}
|
|
1050
1267
|
];
|
|
@@ -2,69 +2,115 @@
|
|
|
2
2
|
// Source: capabilities/feature-surface-v1.json. Do not edit directly.
|
|
3
3
|
|
|
4
4
|
export const CAPABILITY_DESCRIPTOR_SCHEMA_VERSION = 1;
|
|
5
|
-
export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:
|
|
5
|
+
export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:a979bad1c2c244a56d592eb0e6a261425edf031bb8f30235d739e62670b5cafb";
|
|
6
6
|
|
|
7
7
|
export const NODE_BINDING_OPERATIONS = [
|
|
8
8
|
{
|
|
9
9
|
"id": "analysis-facts-json",
|
|
10
|
-
"
|
|
10
|
+
"maturity": "stable",
|
|
11
|
+
"compiled_prerequisites": [],
|
|
12
|
+
"input_kind": "mermaid-source"
|
|
11
13
|
},
|
|
12
14
|
{
|
|
13
15
|
"id": "analysis-json",
|
|
14
|
-
"
|
|
16
|
+
"maturity": "stable",
|
|
17
|
+
"compiled_prerequisites": [],
|
|
18
|
+
"input_kind": "mermaid-source"
|
|
15
19
|
},
|
|
16
20
|
{
|
|
17
21
|
"id": "ascii",
|
|
18
|
-
"
|
|
22
|
+
"maturity": "stable",
|
|
23
|
+
"compiled_prerequisites": [],
|
|
24
|
+
"input_kind": "mermaid-source"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "describe-theme-support-json",
|
|
28
|
+
"maturity": "alpha",
|
|
29
|
+
"compiled_prerequisites": [],
|
|
30
|
+
"input_kind": "theme-support-query-json"
|
|
19
31
|
},
|
|
20
32
|
{
|
|
21
33
|
"id": "document-analysis-facts-json",
|
|
22
|
-
"
|
|
34
|
+
"maturity": "stable",
|
|
35
|
+
"compiled_prerequisites": [],
|
|
36
|
+
"input_kind": "mermaid-source"
|
|
23
37
|
},
|
|
24
38
|
{
|
|
25
39
|
"id": "document-analysis-json",
|
|
26
|
-
"
|
|
40
|
+
"maturity": "stable",
|
|
41
|
+
"compiled_prerequisites": [],
|
|
42
|
+
"input_kind": "mermaid-source"
|
|
27
43
|
},
|
|
28
44
|
{
|
|
29
45
|
"id": "edge-geometry-json",
|
|
30
|
-
"
|
|
46
|
+
"maturity": "stable",
|
|
47
|
+
"compiled_prerequisites": [],
|
|
48
|
+
"input_kind": "mermaid-source"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "export-theme-preset-json",
|
|
52
|
+
"maturity": "alpha",
|
|
53
|
+
"compiled_prerequisites": [],
|
|
54
|
+
"input_kind": "theme-preset-id"
|
|
31
55
|
},
|
|
32
56
|
{
|
|
33
57
|
"id": "jpeg",
|
|
58
|
+
"maturity": "stable",
|
|
34
59
|
"compiled_prerequisites": [
|
|
35
60
|
"svg"
|
|
36
|
-
]
|
|
61
|
+
],
|
|
62
|
+
"input_kind": "mermaid-source"
|
|
37
63
|
},
|
|
38
64
|
{
|
|
39
65
|
"id": "layout-json",
|
|
40
|
-
"
|
|
66
|
+
"maturity": "stable",
|
|
67
|
+
"compiled_prerequisites": [],
|
|
68
|
+
"input_kind": "mermaid-source"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "materialize-theme-json",
|
|
72
|
+
"maturity": "alpha",
|
|
73
|
+
"compiled_prerequisites": [],
|
|
74
|
+
"input_kind": "theme-design-json"
|
|
41
75
|
},
|
|
42
76
|
{
|
|
43
77
|
"id": "pdf",
|
|
78
|
+
"maturity": "stable",
|
|
44
79
|
"compiled_prerequisites": [
|
|
45
80
|
"svg"
|
|
46
|
-
]
|
|
81
|
+
],
|
|
82
|
+
"input_kind": "mermaid-source"
|
|
47
83
|
},
|
|
48
84
|
{
|
|
49
85
|
"id": "png",
|
|
86
|
+
"maturity": "stable",
|
|
50
87
|
"compiled_prerequisites": [
|
|
51
88
|
"svg"
|
|
52
|
-
]
|
|
89
|
+
],
|
|
90
|
+
"input_kind": "mermaid-source"
|
|
53
91
|
},
|
|
54
92
|
{
|
|
55
93
|
"id": "semantic-json",
|
|
56
|
-
"
|
|
94
|
+
"maturity": "stable",
|
|
95
|
+
"compiled_prerequisites": [],
|
|
96
|
+
"input_kind": "mermaid-source"
|
|
57
97
|
},
|
|
58
98
|
{
|
|
59
99
|
"id": "svg",
|
|
60
|
-
"
|
|
100
|
+
"maturity": "stable",
|
|
101
|
+
"compiled_prerequisites": [],
|
|
102
|
+
"input_kind": "mermaid-source"
|
|
61
103
|
},
|
|
62
104
|
{
|
|
63
105
|
"id": "svg-plan-json",
|
|
64
|
-
"
|
|
106
|
+
"maturity": "stable",
|
|
107
|
+
"compiled_prerequisites": [],
|
|
108
|
+
"input_kind": "mermaid-source"
|
|
65
109
|
},
|
|
66
110
|
{
|
|
67
111
|
"id": "validation-json",
|
|
68
|
-
"
|
|
112
|
+
"maturity": "stable",
|
|
113
|
+
"compiled_prerequisites": [],
|
|
114
|
+
"input_kind": "mermaid-source"
|
|
69
115
|
}
|
|
70
116
|
];
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"capability_ids": [
|
|
9
9
|
"layout-cytoscape",
|
|
10
10
|
"layout-elk",
|
|
11
|
+
"math",
|
|
11
12
|
"svg"
|
|
12
13
|
],
|
|
13
14
|
"output_ids": [
|
|
@@ -23,16 +24,19 @@
|
|
|
23
24
|
],
|
|
24
25
|
"system_adapter_ids": [],
|
|
25
26
|
"operation_ids": [
|
|
27
|
+
"describe-theme-support-json",
|
|
28
|
+
"export-theme-preset-json",
|
|
26
29
|
"layout-json",
|
|
30
|
+
"materialize-theme-json",
|
|
27
31
|
"semantic-json",
|
|
28
32
|
"svg",
|
|
29
33
|
"svg-plan-json"
|
|
30
34
|
],
|
|
31
35
|
"metadata_ids": [
|
|
32
36
|
"diagram-family-capabilities",
|
|
33
|
-
"presentation-catalog",
|
|
34
37
|
"supported-diagrams",
|
|
35
|
-
"supported-themes"
|
|
38
|
+
"supported-themes",
|
|
39
|
+
"theme-catalog"
|
|
36
40
|
],
|
|
37
41
|
"option_group_ids": [
|
|
38
42
|
"environment",
|
|
@@ -40,14 +44,16 @@
|
|
|
40
44
|
"fixed_today",
|
|
41
45
|
"layout",
|
|
42
46
|
"parse",
|
|
43
|
-
"presentation",
|
|
44
47
|
"resources",
|
|
45
48
|
"runtime_policy",
|
|
46
49
|
"site_config",
|
|
47
50
|
"svg",
|
|
51
|
+
"theme",
|
|
48
52
|
"version"
|
|
49
53
|
],
|
|
50
|
-
"constructor_service_ids": [
|
|
54
|
+
"constructor_service_ids": [
|
|
55
|
+
"icon-registry"
|
|
56
|
+
],
|
|
51
57
|
"text_measurement_provider_ids": [
|
|
52
58
|
"deterministic"
|
|
53
59
|
]
|
|
@@ -83,14 +89,14 @@
|
|
|
83
89
|
},
|
|
84
90
|
"response": {
|
|
85
91
|
"max_utf8_bytes": 27262976,
|
|
86
|
-
"max_depth":
|
|
92
|
+
"max_depth": 9,
|
|
87
93
|
"max_members": 32,
|
|
88
94
|
"max_tokens": 128,
|
|
89
95
|
"max_string_utf8_bytes": 16777216
|
|
90
96
|
},
|
|
91
97
|
"error": {
|
|
92
|
-
"max_utf8_bytes":
|
|
93
|
-
"max_depth":
|
|
98
|
+
"max_utf8_bytes": 1048576,
|
|
99
|
+
"max_depth": 9,
|
|
94
100
|
"max_members": 32,
|
|
95
101
|
"max_tokens": 128,
|
|
96
102
|
"max_string_utf8_bytes": 65536
|