@adl-spec/cli 0.1.2 → 0.2.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 (2) hide show
  1. package/dist/index.js +2414 -522
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ var __toESM = (mod, isNodeMode, target) => {
20
20
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
21
21
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
22
22
 
23
- // node_modules/commander/lib/error.js
23
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
24
24
  var require_error = __commonJS((exports) => {
25
25
  class CommanderError extends Error {
26
26
  constructor(exitCode, code, message) {
@@ -44,7 +44,7 @@ var require_error = __commonJS((exports) => {
44
44
  exports.InvalidArgumentError = InvalidArgumentError;
45
45
  });
46
46
 
47
- // node_modules/commander/lib/argument.js
47
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
48
48
  var require_argument = __commonJS((exports) => {
49
49
  var { InvalidArgumentError } = require_error();
50
50
 
@@ -123,7 +123,7 @@ var require_argument = __commonJS((exports) => {
123
123
  exports.humanReadableArgName = humanReadableArgName;
124
124
  });
125
125
 
126
- // node_modules/commander/lib/help.js
126
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
127
127
  var require_help = __commonJS((exports) => {
128
128
  var { humanReadableArgName } = require_argument();
129
129
 
@@ -473,7 +473,7 @@ ${itemIndentStr}`);
473
473
  exports.stripColor = stripColor;
474
474
  });
475
475
 
476
- // node_modules/commander/lib/option.js
476
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
477
477
  var require_option = __commonJS((exports) => {
478
478
  var { InvalidArgumentError } = require_error();
479
479
 
@@ -651,7 +651,7 @@ var require_option = __commonJS((exports) => {
651
651
  exports.DualOptions = DualOptions;
652
652
  });
653
653
 
654
- // node_modules/commander/lib/suggestSimilar.js
654
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
655
655
  var require_suggestSimilar = __commonJS((exports) => {
656
656
  var maxDistance = 3;
657
657
  function editDistance(a, b) {
@@ -724,7 +724,7 @@ var require_suggestSimilar = __commonJS((exports) => {
724
724
  exports.suggestSimilar = suggestSimilar;
725
725
  });
726
726
 
727
- // node_modules/commander/lib/command.js
727
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
728
728
  var require_command = __commonJS((exports) => {
729
729
  var EventEmitter = __require("node:events").EventEmitter;
730
730
  var childProcess = __require("node:child_process");
@@ -2034,7 +2034,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2034
2034
  exports.useColor = useColor;
2035
2035
  });
2036
2036
 
2037
- // node_modules/commander/index.js
2037
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
2038
2038
  var require_commander = __commonJS((exports) => {
2039
2039
  var { Argument } = require_argument();
2040
2040
  var { Command } = require_command();
@@ -2054,7 +2054,7 @@ var require_commander = __commonJS((exports) => {
2054
2054
  exports.InvalidOptionArgumentError = InvalidArgumentError;
2055
2055
  });
2056
2056
 
2057
- // node_modules/yaml/dist/nodes/identity.js
2057
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.js
2058
2058
  var require_identity = __commonJS((exports) => {
2059
2059
  var ALIAS = Symbol.for("yaml.alias");
2060
2060
  var DOC = Symbol.for("yaml.document");
@@ -2108,7 +2108,7 @@ var require_identity = __commonJS((exports) => {
2108
2108
  exports.isSeq = isSeq;
2109
2109
  });
2110
2110
 
2111
- // node_modules/yaml/dist/visit.js
2111
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/visit.js
2112
2112
  var require_visit = __commonJS((exports) => {
2113
2113
  var identity = require_identity();
2114
2114
  var BREAK = Symbol("break visit");
@@ -2263,7 +2263,7 @@ var require_visit = __commonJS((exports) => {
2263
2263
  exports.visitAsync = visitAsync;
2264
2264
  });
2265
2265
 
2266
- // node_modules/yaml/dist/doc/directives.js
2266
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/directives.js
2267
2267
  var require_directives = __commonJS((exports) => {
2268
2268
  var identity = require_identity();
2269
2269
  var visit = require_visit();
@@ -2415,7 +2415,7 @@ var require_directives = __commonJS((exports) => {
2415
2415
  exports.Directives = Directives;
2416
2416
  });
2417
2417
 
2418
- // node_modules/yaml/dist/doc/anchors.js
2418
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.js
2419
2419
  var require_anchors = __commonJS((exports) => {
2420
2420
  var identity = require_identity();
2421
2421
  var visit = require_visit();
@@ -2477,7 +2477,7 @@ var require_anchors = __commonJS((exports) => {
2477
2477
  exports.findNewAnchor = findNewAnchor;
2478
2478
  });
2479
2479
 
2480
- // node_modules/yaml/dist/doc/applyReviver.js
2480
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.js
2481
2481
  var require_applyReviver = __commonJS((exports) => {
2482
2482
  function applyReviver(reviver, obj, key, val) {
2483
2483
  if (val && typeof val === "object") {
@@ -2524,7 +2524,7 @@ var require_applyReviver = __commonJS((exports) => {
2524
2524
  exports.applyReviver = applyReviver;
2525
2525
  });
2526
2526
 
2527
- // node_modules/yaml/dist/nodes/toJS.js
2527
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.js
2528
2528
  var require_toJS = __commonJS((exports) => {
2529
2529
  var identity = require_identity();
2530
2530
  function toJS(value, arg, ctx) {
@@ -2551,7 +2551,7 @@ var require_toJS = __commonJS((exports) => {
2551
2551
  exports.toJS = toJS;
2552
2552
  });
2553
2553
 
2554
- // node_modules/yaml/dist/nodes/Node.js
2554
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.js
2555
2555
  var require_Node = __commonJS((exports) => {
2556
2556
  var applyReviver = require_applyReviver();
2557
2557
  var identity = require_identity();
@@ -2588,7 +2588,7 @@ var require_Node = __commonJS((exports) => {
2588
2588
  exports.NodeBase = NodeBase;
2589
2589
  });
2590
2590
 
2591
- // node_modules/yaml/dist/nodes/Alias.js
2591
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.js
2592
2592
  var require_Alias = __commonJS((exports) => {
2593
2593
  var anchors = require_anchors();
2594
2594
  var visit = require_visit();
@@ -2696,7 +2696,7 @@ var require_Alias = __commonJS((exports) => {
2696
2696
  exports.Alias = Alias;
2697
2697
  });
2698
2698
 
2699
- // node_modules/yaml/dist/nodes/Scalar.js
2699
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.js
2700
2700
  var require_Scalar = __commonJS((exports) => {
2701
2701
  var identity = require_identity();
2702
2702
  var Node = require_Node();
@@ -2724,7 +2724,7 @@ var require_Scalar = __commonJS((exports) => {
2724
2724
  exports.isScalarValue = isScalarValue;
2725
2725
  });
2726
2726
 
2727
- // node_modules/yaml/dist/doc/createNode.js
2727
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.js
2728
2728
  var require_createNode = __commonJS((exports) => {
2729
2729
  var Alias = require_Alias();
2730
2730
  var identity = require_identity();
@@ -2796,7 +2796,7 @@ var require_createNode = __commonJS((exports) => {
2796
2796
  exports.createNode = createNode;
2797
2797
  });
2798
2798
 
2799
- // node_modules/yaml/dist/nodes/Collection.js
2799
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.js
2800
2800
  var require_Collection = __commonJS((exports) => {
2801
2801
  var createNode = require_createNode();
2802
2802
  var identity = require_identity();
@@ -2911,7 +2911,7 @@ var require_Collection = __commonJS((exports) => {
2911
2911
  exports.isEmptyPath = isEmptyPath;
2912
2912
  });
2913
2913
 
2914
- // node_modules/yaml/dist/stringify/stringifyComment.js
2914
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.js
2915
2915
  var require_stringifyComment = __commonJS((exports) => {
2916
2916
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
2917
2917
  function indentComment(comment, indent) {
@@ -2928,7 +2928,7 @@ var require_stringifyComment = __commonJS((exports) => {
2928
2928
  exports.stringifyComment = stringifyComment;
2929
2929
  });
2930
2930
 
2931
- // node_modules/yaml/dist/stringify/foldFlowLines.js
2931
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.js
2932
2932
  var require_foldFlowLines = __commonJS((exports) => {
2933
2933
  var FOLD_FLOW = "flow";
2934
2934
  var FOLD_BLOCK = "block";
@@ -3065,7 +3065,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
3065
3065
  exports.foldFlowLines = foldFlowLines;
3066
3066
  });
3067
3067
 
3068
- // node_modules/yaml/dist/stringify/stringifyString.js
3068
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.js
3069
3069
  var require_stringifyString = __commonJS((exports) => {
3070
3070
  var Scalar = require_Scalar();
3071
3071
  var foldFlowLines = require_foldFlowLines();
@@ -3363,7 +3363,7 @@ ${indent}`);
3363
3363
  exports.stringifyString = stringifyString;
3364
3364
  });
3365
3365
 
3366
- // node_modules/yaml/dist/stringify/stringify.js
3366
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.js
3367
3367
  var require_stringify = __commonJS((exports) => {
3368
3368
  var anchors = require_anchors();
3369
3369
  var identity = require_identity();
@@ -3483,7 +3483,7 @@ ${ctx.indent}${str}`;
3483
3483
  exports.stringify = stringify;
3484
3484
  });
3485
3485
 
3486
- // node_modules/yaml/dist/stringify/stringifyPair.js
3486
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.js
3487
3487
  var require_stringifyPair = __commonJS((exports) => {
3488
3488
  var identity = require_identity();
3489
3489
  var Scalar = require_Scalar();
@@ -3619,7 +3619,7 @@ ${ctx.indent}`;
3619
3619
  exports.stringifyPair = stringifyPair;
3620
3620
  });
3621
3621
 
3622
- // node_modules/yaml/dist/log.js
3622
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/log.js
3623
3623
  var require_log = __commonJS((exports) => {
3624
3624
  var node_process = __require("process");
3625
3625
  function debug(logLevel, ...messages) {
@@ -3638,7 +3638,7 @@ var require_log = __commonJS((exports) => {
3638
3638
  exports.warn = warn;
3639
3639
  });
3640
3640
 
3641
- // node_modules/yaml/dist/schema/yaml-1.1/merge.js
3641
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.js
3642
3642
  var require_merge = __commonJS((exports) => {
3643
3643
  var identity = require_identity();
3644
3644
  var Scalar = require_Scalar();
@@ -3692,7 +3692,7 @@ var require_merge = __commonJS((exports) => {
3692
3692
  exports.merge = merge;
3693
3693
  });
3694
3694
 
3695
- // node_modules/yaml/dist/nodes/addPairToJSMap.js
3695
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
3696
3696
  var require_addPairToJSMap = __commonJS((exports) => {
3697
3697
  var log = require_log();
3698
3698
  var merge = require_merge();
@@ -3753,7 +3753,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
3753
3753
  exports.addPairToJSMap = addPairToJSMap;
3754
3754
  });
3755
3755
 
3756
- // node_modules/yaml/dist/nodes/Pair.js
3756
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.js
3757
3757
  var require_Pair = __commonJS((exports) => {
3758
3758
  var createNode = require_createNode();
3759
3759
  var stringifyPair = require_stringifyPair();
@@ -3791,7 +3791,7 @@ var require_Pair = __commonJS((exports) => {
3791
3791
  exports.createPair = createPair;
3792
3792
  });
3793
3793
 
3794
- // node_modules/yaml/dist/stringify/stringifyCollection.js
3794
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.js
3795
3795
  var require_stringifyCollection = __commonJS((exports) => {
3796
3796
  var identity = require_identity();
3797
3797
  var stringify = require_stringify();
@@ -3936,7 +3936,7 @@ ${indent}${end}`;
3936
3936
  exports.stringifyCollection = stringifyCollection;
3937
3937
  });
3938
3938
 
3939
- // node_modules/yaml/dist/nodes/YAMLMap.js
3939
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.js
3940
3940
  var require_YAMLMap = __commonJS((exports) => {
3941
3941
  var stringifyCollection = require_stringifyCollection();
3942
3942
  var addPairToJSMap = require_addPairToJSMap();
@@ -4063,7 +4063,7 @@ var require_YAMLMap = __commonJS((exports) => {
4063
4063
  exports.findPair = findPair;
4064
4064
  });
4065
4065
 
4066
- // node_modules/yaml/dist/schema/common/map.js
4066
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.js
4067
4067
  var require_map = __commonJS((exports) => {
4068
4068
  var identity = require_identity();
4069
4069
  var YAMLMap = require_YAMLMap();
@@ -4082,7 +4082,7 @@ var require_map = __commonJS((exports) => {
4082
4082
  exports.map = map;
4083
4083
  });
4084
4084
 
4085
- // node_modules/yaml/dist/nodes/YAMLSeq.js
4085
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.js
4086
4086
  var require_YAMLSeq = __commonJS((exports) => {
4087
4087
  var createNode = require_createNode();
4088
4088
  var stringifyCollection = require_stringifyCollection();
@@ -4175,7 +4175,7 @@ var require_YAMLSeq = __commonJS((exports) => {
4175
4175
  exports.YAMLSeq = YAMLSeq;
4176
4176
  });
4177
4177
 
4178
- // node_modules/yaml/dist/schema/common/seq.js
4178
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.js
4179
4179
  var require_seq = __commonJS((exports) => {
4180
4180
  var identity = require_identity();
4181
4181
  var YAMLSeq = require_YAMLSeq();
@@ -4194,7 +4194,7 @@ var require_seq = __commonJS((exports) => {
4194
4194
  exports.seq = seq;
4195
4195
  });
4196
4196
 
4197
- // node_modules/yaml/dist/schema/common/string.js
4197
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.js
4198
4198
  var require_string = __commonJS((exports) => {
4199
4199
  var stringifyString = require_stringifyString();
4200
4200
  var string = {
@@ -4210,7 +4210,7 @@ var require_string = __commonJS((exports) => {
4210
4210
  exports.string = string;
4211
4211
  });
4212
4212
 
4213
- // node_modules/yaml/dist/schema/common/null.js
4213
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.js
4214
4214
  var require_null = __commonJS((exports) => {
4215
4215
  var Scalar = require_Scalar();
4216
4216
  var nullTag = {
@@ -4225,7 +4225,7 @@ var require_null = __commonJS((exports) => {
4225
4225
  exports.nullTag = nullTag;
4226
4226
  });
4227
4227
 
4228
- // node_modules/yaml/dist/schema/core/bool.js
4228
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.js
4229
4229
  var require_bool = __commonJS((exports) => {
4230
4230
  var Scalar = require_Scalar();
4231
4231
  var boolTag = {
@@ -4246,7 +4246,7 @@ var require_bool = __commonJS((exports) => {
4246
4246
  exports.boolTag = boolTag;
4247
4247
  });
4248
4248
 
4249
- // node_modules/yaml/dist/stringify/stringifyNumber.js
4249
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.js
4250
4250
  var require_stringifyNumber = __commonJS((exports) => {
4251
4251
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
4252
4252
  if (typeof value === "bigint")
@@ -4270,7 +4270,7 @@ var require_stringifyNumber = __commonJS((exports) => {
4270
4270
  exports.stringifyNumber = stringifyNumber;
4271
4271
  });
4272
4272
 
4273
- // node_modules/yaml/dist/schema/core/float.js
4273
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.js
4274
4274
  var require_float = __commonJS((exports) => {
4275
4275
  var Scalar = require_Scalar();
4276
4276
  var stringifyNumber = require_stringifyNumber();
@@ -4313,7 +4313,7 @@ var require_float = __commonJS((exports) => {
4313
4313
  exports.floatNaN = floatNaN;
4314
4314
  });
4315
4315
 
4316
- // node_modules/yaml/dist/schema/core/int.js
4316
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.js
4317
4317
  var require_int = __commonJS((exports) => {
4318
4318
  var stringifyNumber = require_stringifyNumber();
4319
4319
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -4355,7 +4355,7 @@ var require_int = __commonJS((exports) => {
4355
4355
  exports.intOct = intOct;
4356
4356
  });
4357
4357
 
4358
- // node_modules/yaml/dist/schema/core/schema.js
4358
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.js
4359
4359
  var require_schema = __commonJS((exports) => {
4360
4360
  var map = require_map();
4361
4361
  var _null = require_null();
@@ -4380,7 +4380,7 @@ var require_schema = __commonJS((exports) => {
4380
4380
  exports.schema = schema;
4381
4381
  });
4382
4382
 
4383
- // node_modules/yaml/dist/schema/json/schema.js
4383
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.js
4384
4384
  var require_schema2 = __commonJS((exports) => {
4385
4385
  var Scalar = require_Scalar();
4386
4386
  var map = require_map();
@@ -4444,7 +4444,7 @@ var require_schema2 = __commonJS((exports) => {
4444
4444
  exports.schema = schema;
4445
4445
  });
4446
4446
 
4447
- // node_modules/yaml/dist/schema/yaml-1.1/binary.js
4447
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
4448
4448
  var require_binary = __commonJS((exports) => {
4449
4449
  var node_buffer = __require("buffer");
4450
4450
  var Scalar = require_Scalar();
@@ -4499,7 +4499,7 @@ var require_binary = __commonJS((exports) => {
4499
4499
  exports.binary = binary;
4500
4500
  });
4501
4501
 
4502
- // node_modules/yaml/dist/schema/yaml-1.1/pairs.js
4502
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
4503
4503
  var require_pairs = __commonJS((exports) => {
4504
4504
  var identity = require_identity();
4505
4505
  var Pair = require_Pair();
@@ -4574,7 +4574,7 @@ ${cn.comment}` : item.comment;
4574
4574
  exports.resolvePairs = resolvePairs;
4575
4575
  });
4576
4576
 
4577
- // node_modules/yaml/dist/schema/yaml-1.1/omap.js
4577
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
4578
4578
  var require_omap = __commonJS((exports) => {
4579
4579
  var identity = require_identity();
4580
4580
  var toJS = require_toJS();
@@ -4646,7 +4646,7 @@ var require_omap = __commonJS((exports) => {
4646
4646
  exports.omap = omap;
4647
4647
  });
4648
4648
 
4649
- // node_modules/yaml/dist/schema/yaml-1.1/bool.js
4649
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
4650
4650
  var require_bool2 = __commonJS((exports) => {
4651
4651
  var Scalar = require_Scalar();
4652
4652
  function boolStringify({ value, source }, ctx) {
@@ -4675,7 +4675,7 @@ var require_bool2 = __commonJS((exports) => {
4675
4675
  exports.trueTag = trueTag;
4676
4676
  });
4677
4677
 
4678
- // node_modules/yaml/dist/schema/yaml-1.1/float.js
4678
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
4679
4679
  var require_float2 = __commonJS((exports) => {
4680
4680
  var Scalar = require_Scalar();
4681
4681
  var stringifyNumber = require_stringifyNumber();
@@ -4721,7 +4721,7 @@ var require_float2 = __commonJS((exports) => {
4721
4721
  exports.floatNaN = floatNaN;
4722
4722
  });
4723
4723
 
4724
- // node_modules/yaml/dist/schema/yaml-1.1/int.js
4724
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
4725
4725
  var require_int2 = __commonJS((exports) => {
4726
4726
  var stringifyNumber = require_stringifyNumber();
4727
4727
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -4797,7 +4797,7 @@ var require_int2 = __commonJS((exports) => {
4797
4797
  exports.intOct = intOct;
4798
4798
  });
4799
4799
 
4800
- // node_modules/yaml/dist/schema/yaml-1.1/set.js
4800
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
4801
4801
  var require_set = __commonJS((exports) => {
4802
4802
  var identity = require_identity();
4803
4803
  var Pair = require_Pair();
@@ -4880,7 +4880,7 @@ var require_set = __commonJS((exports) => {
4880
4880
  exports.set = set;
4881
4881
  });
4882
4882
 
4883
- // node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
4883
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
4884
4884
  var require_timestamp = __commonJS((exports) => {
4885
4885
  var stringifyNumber = require_stringifyNumber();
4886
4886
  function parseSexagesimal(str, asBigInt) {
@@ -4962,7 +4962,7 @@ var require_timestamp = __commonJS((exports) => {
4962
4962
  exports.timestamp = timestamp;
4963
4963
  });
4964
4964
 
4965
- // node_modules/yaml/dist/schema/yaml-1.1/schema.js
4965
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
4966
4966
  var require_schema3 = __commonJS((exports) => {
4967
4967
  var map = require_map();
4968
4968
  var _null = require_null();
@@ -5003,7 +5003,7 @@ var require_schema3 = __commonJS((exports) => {
5003
5003
  exports.schema = schema;
5004
5004
  });
5005
5005
 
5006
- // node_modules/yaml/dist/schema/tags.js
5006
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/tags.js
5007
5007
  var require_tags = __commonJS((exports) => {
5008
5008
  var map = require_map();
5009
5009
  var _null = require_null();
@@ -5094,7 +5094,7 @@ var require_tags = __commonJS((exports) => {
5094
5094
  exports.getTags = getTags;
5095
5095
  });
5096
5096
 
5097
- // node_modules/yaml/dist/schema/Schema.js
5097
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.js
5098
5098
  var require_Schema = __commonJS((exports) => {
5099
5099
  var identity = require_identity();
5100
5100
  var map = require_map();
@@ -5124,7 +5124,7 @@ var require_Schema = __commonJS((exports) => {
5124
5124
  exports.Schema = Schema;
5125
5125
  });
5126
5126
 
5127
- // node_modules/yaml/dist/stringify/stringifyDocument.js
5127
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.js
5128
5128
  var require_stringifyDocument = __commonJS((exports) => {
5129
5129
  var identity = require_identity();
5130
5130
  var stringify = require_stringify();
@@ -5204,7 +5204,7 @@ var require_stringifyDocument = __commonJS((exports) => {
5204
5204
  exports.stringifyDocument = stringifyDocument;
5205
5205
  });
5206
5206
 
5207
- // node_modules/yaml/dist/doc/Document.js
5207
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/Document.js
5208
5208
  var require_Document = __commonJS((exports) => {
5209
5209
  var Alias = require_Alias();
5210
5210
  var Collection = require_Collection();
@@ -5439,7 +5439,7 @@ var require_Document = __commonJS((exports) => {
5439
5439
  exports.Document = Document;
5440
5440
  });
5441
5441
 
5442
- // node_modules/yaml/dist/errors.js
5442
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/errors.js
5443
5443
  var require_errors = __commonJS((exports) => {
5444
5444
  class YAMLError extends Error {
5445
5445
  constructor(name, pos, code, message) {
@@ -5504,7 +5504,7 @@ ${pointer}
5504
5504
  exports.prettifyError = prettifyError;
5505
5505
  });
5506
5506
 
5507
- // node_modules/yaml/dist/compose/resolve-props.js
5507
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.js
5508
5508
  var require_resolve_props = __commonJS((exports) => {
5509
5509
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
5510
5510
  let spaceBefore = false;
@@ -5634,7 +5634,7 @@ var require_resolve_props = __commonJS((exports) => {
5634
5634
  exports.resolveProps = resolveProps;
5635
5635
  });
5636
5636
 
5637
- // node_modules/yaml/dist/compose/util-contains-newline.js
5637
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.js
5638
5638
  var require_util_contains_newline = __commonJS((exports) => {
5639
5639
  function containsNewline(key) {
5640
5640
  if (!key)
@@ -5674,7 +5674,7 @@ var require_util_contains_newline = __commonJS((exports) => {
5674
5674
  exports.containsNewline = containsNewline;
5675
5675
  });
5676
5676
 
5677
- // node_modules/yaml/dist/compose/util-flow-indent-check.js
5677
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
5678
5678
  var require_util_flow_indent_check = __commonJS((exports) => {
5679
5679
  var utilContainsNewline = require_util_contains_newline();
5680
5680
  function flowIndentCheck(indent, fc, onError) {
@@ -5689,7 +5689,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
5689
5689
  exports.flowIndentCheck = flowIndentCheck;
5690
5690
  });
5691
5691
 
5692
- // node_modules/yaml/dist/compose/util-map-includes.js
5692
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.js
5693
5693
  var require_util_map_includes = __commonJS((exports) => {
5694
5694
  var identity = require_identity();
5695
5695
  function mapIncludes(ctx, items, search) {
@@ -5702,7 +5702,7 @@ var require_util_map_includes = __commonJS((exports) => {
5702
5702
  exports.mapIncludes = mapIncludes;
5703
5703
  });
5704
5704
 
5705
- // node_modules/yaml/dist/compose/resolve-block-map.js
5705
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
5706
5706
  var require_resolve_block_map = __commonJS((exports) => {
5707
5707
  var Pair = require_Pair();
5708
5708
  var YAMLMap = require_YAMLMap();
@@ -5809,7 +5809,7 @@ var require_resolve_block_map = __commonJS((exports) => {
5809
5809
  exports.resolveBlockMap = resolveBlockMap;
5810
5810
  });
5811
5811
 
5812
- // node_modules/yaml/dist/compose/resolve-block-seq.js
5812
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.js
5813
5813
  var require_resolve_block_seq = __commonJS((exports) => {
5814
5814
  var YAMLSeq = require_YAMLSeq();
5815
5815
  var resolveProps = require_resolve_props();
@@ -5857,7 +5857,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
5857
5857
  exports.resolveBlockSeq = resolveBlockSeq;
5858
5858
  });
5859
5859
 
5860
- // node_modules/yaml/dist/compose/resolve-end.js
5860
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.js
5861
5861
  var require_resolve_end = __commonJS((exports) => {
5862
5862
  function resolveEnd(end, offset, reqSpace, onError) {
5863
5863
  let comment = "";
@@ -5897,7 +5897,7 @@ var require_resolve_end = __commonJS((exports) => {
5897
5897
  exports.resolveEnd = resolveEnd;
5898
5898
  });
5899
5899
 
5900
- // node_modules/yaml/dist/compose/resolve-flow-collection.js
5900
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
5901
5901
  var require_resolve_flow_collection = __commonJS((exports) => {
5902
5902
  var identity = require_identity();
5903
5903
  var Pair = require_Pair();
@@ -6088,7 +6088,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
6088
6088
  exports.resolveFlowCollection = resolveFlowCollection;
6089
6089
  });
6090
6090
 
6091
- // node_modules/yaml/dist/compose/compose-collection.js
6091
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.js
6092
6092
  var require_compose_collection = __commonJS((exports) => {
6093
6093
  var identity = require_identity();
6094
6094
  var Scalar = require_Scalar();
@@ -6150,7 +6150,7 @@ var require_compose_collection = __commonJS((exports) => {
6150
6150
  exports.composeCollection = composeCollection;
6151
6151
  });
6152
6152
 
6153
- // node_modules/yaml/dist/compose/resolve-block-scalar.js
6153
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
6154
6154
  var require_resolve_block_scalar = __commonJS((exports) => {
6155
6155
  var Scalar = require_Scalar();
6156
6156
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -6343,7 +6343,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
6343
6343
  exports.resolveBlockScalar = resolveBlockScalar;
6344
6344
  });
6345
6345
 
6346
- // node_modules/yaml/dist/compose/resolve-flow-scalar.js
6346
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
6347
6347
  var require_resolve_flow_scalar = __commonJS((exports) => {
6348
6348
  var Scalar = require_Scalar();
6349
6349
  var resolveEnd = require_resolve_end();
@@ -6559,7 +6559,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
6559
6559
  exports.resolveFlowScalar = resolveFlowScalar;
6560
6560
  });
6561
6561
 
6562
- // node_modules/yaml/dist/compose/compose-scalar.js
6562
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.js
6563
6563
  var require_compose_scalar = __commonJS((exports) => {
6564
6564
  var identity = require_identity();
6565
6565
  var Scalar = require_Scalar();
@@ -6637,7 +6637,7 @@ var require_compose_scalar = __commonJS((exports) => {
6637
6637
  exports.composeScalar = composeScalar;
6638
6638
  });
6639
6639
 
6640
- // node_modules/yaml/dist/compose/util-empty-scalar-position.js
6640
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
6641
6641
  var require_util_empty_scalar_position = __commonJS((exports) => {
6642
6642
  function emptyScalarPosition(offset, before, pos) {
6643
6643
  if (before) {
@@ -6664,7 +6664,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
6664
6664
  exports.emptyScalarPosition = emptyScalarPosition;
6665
6665
  });
6666
6666
 
6667
- // node_modules/yaml/dist/compose/compose-node.js
6667
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.js
6668
6668
  var require_compose_node = __commonJS((exports) => {
6669
6669
  var Alias = require_Alias();
6670
6670
  var identity = require_identity();
@@ -6762,7 +6762,7 @@ var require_compose_node = __commonJS((exports) => {
6762
6762
  exports.composeNode = composeNode;
6763
6763
  });
6764
6764
 
6765
- // node_modules/yaml/dist/compose/compose-doc.js
6765
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.js
6766
6766
  var require_compose_doc = __commonJS((exports) => {
6767
6767
  var Document = require_Document();
6768
6768
  var composeNode = require_compose_node();
@@ -6802,7 +6802,7 @@ var require_compose_doc = __commonJS((exports) => {
6802
6802
  exports.composeDoc = composeDoc;
6803
6803
  });
6804
6804
 
6805
- // node_modules/yaml/dist/compose/composer.js
6805
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
6806
6806
  var require_composer = __commonJS((exports) => {
6807
6807
  var node_process = __require("process");
6808
6808
  var directives = require_directives();
@@ -6991,7 +6991,7 @@ ${end.comment}` : end.comment;
6991
6991
  exports.Composer = Composer;
6992
6992
  });
6993
6993
 
6994
- // node_modules/yaml/dist/parse/cst-scalar.js
6994
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.js
6995
6995
  var require_cst_scalar = __commonJS((exports) => {
6996
6996
  var resolveBlockScalar = require_resolve_block_scalar();
6997
6997
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -7181,7 +7181,7 @@ var require_cst_scalar = __commonJS((exports) => {
7181
7181
  exports.setScalarValue = setScalarValue;
7182
7182
  });
7183
7183
 
7184
- // node_modules/yaml/dist/parse/cst-stringify.js
7184
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.js
7185
7185
  var require_cst_stringify = __commonJS((exports) => {
7186
7186
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
7187
7187
  function stringifyToken(token) {
@@ -7239,7 +7239,7 @@ var require_cst_stringify = __commonJS((exports) => {
7239
7239
  exports.stringify = stringify;
7240
7240
  });
7241
7241
 
7242
- // node_modules/yaml/dist/parse/cst-visit.js
7242
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.js
7243
7243
  var require_cst_visit = __commonJS((exports) => {
7244
7244
  var BREAK = Symbol("break visit");
7245
7245
  var SKIP = Symbol("skip children");
@@ -7298,7 +7298,7 @@ var require_cst_visit = __commonJS((exports) => {
7298
7298
  exports.visit = visit;
7299
7299
  });
7300
7300
 
7301
- // node_modules/yaml/dist/parse/cst.js
7301
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst.js
7302
7302
  var require_cst = __commonJS((exports) => {
7303
7303
  var cstScalar = require_cst_scalar();
7304
7304
  var cstStringify = require_cst_stringify();
@@ -7399,7 +7399,7 @@ var require_cst = __commonJS((exports) => {
7399
7399
  exports.tokenType = tokenType;
7400
7400
  });
7401
7401
 
7402
- // node_modules/yaml/dist/parse/lexer.js
7402
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.js
7403
7403
  var require_lexer = __commonJS((exports) => {
7404
7404
  var cst = require_cst();
7405
7405
  function isEmpty(ch) {
@@ -7985,7 +7985,7 @@ var require_lexer = __commonJS((exports) => {
7985
7985
  exports.Lexer = Lexer;
7986
7986
  });
7987
7987
 
7988
- // node_modules/yaml/dist/parse/line-counter.js
7988
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.js
7989
7989
  var require_line_counter = __commonJS((exports) => {
7990
7990
  class LineCounter {
7991
7991
  constructor() {
@@ -8013,7 +8013,7 @@ var require_line_counter = __commonJS((exports) => {
8013
8013
  exports.LineCounter = LineCounter;
8014
8014
  });
8015
8015
 
8016
- // node_modules/yaml/dist/parse/parser.js
8016
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
8017
8017
  var require_parser = __commonJS((exports) => {
8018
8018
  var node_process = __require("process");
8019
8019
  var cst = require_cst();
@@ -8862,7 +8862,7 @@ var require_parser = __commonJS((exports) => {
8862
8862
  exports.Parser = Parser;
8863
8863
  });
8864
8864
 
8865
- // node_modules/yaml/dist/public-api.js
8865
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/public-api.js
8866
8866
  var require_public_api = __commonJS((exports) => {
8867
8867
  var composer = require_composer();
8868
8868
  var Document = require_Document();
@@ -8956,7 +8956,7 @@ var require_public_api = __commonJS((exports) => {
8956
8956
  exports.stringify = stringify;
8957
8957
  });
8958
8958
 
8959
- // node_modules/ajv/dist/compile/codegen/code.js
8959
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
8960
8960
  var require_code = __commonJS((exports) => {
8961
8961
  Object.defineProperty(exports, "__esModule", { value: true });
8962
8962
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = undefined;
@@ -9110,7 +9110,7 @@ var require_code = __commonJS((exports) => {
9110
9110
  exports.regexpCode = regexpCode;
9111
9111
  });
9112
9112
 
9113
- // node_modules/ajv/dist/compile/codegen/scope.js
9113
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
9114
9114
  var require_scope = __commonJS((exports) => {
9115
9115
  Object.defineProperty(exports, "__esModule", { value: true });
9116
9116
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = undefined;
@@ -9256,7 +9256,7 @@ var require_scope = __commonJS((exports) => {
9256
9256
  exports.ValueScope = ValueScope;
9257
9257
  });
9258
9258
 
9259
- // node_modules/ajv/dist/compile/codegen/index.js
9259
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
9260
9260
  var require_codegen = __commonJS((exports) => {
9261
9261
  Object.defineProperty(exports, "__esModule", { value: true });
9262
9262
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = undefined;
@@ -9966,7 +9966,7 @@ var require_codegen = __commonJS((exports) => {
9966
9966
  }
9967
9967
  });
9968
9968
 
9969
- // node_modules/ajv/dist/compile/util.js
9969
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
9970
9970
  var require_util = __commonJS((exports) => {
9971
9971
  Object.defineProperty(exports, "__esModule", { value: true });
9972
9972
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = undefined;
@@ -10130,7 +10130,7 @@ var require_util = __commonJS((exports) => {
10130
10130
  exports.checkStrictMode = checkStrictMode;
10131
10131
  });
10132
10132
 
10133
- // node_modules/ajv/dist/compile/names.js
10133
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
10134
10134
  var require_names = __commonJS((exports) => {
10135
10135
  Object.defineProperty(exports, "__esModule", { value: true });
10136
10136
  var codegen_1 = require_codegen();
@@ -10155,7 +10155,7 @@ var require_names = __commonJS((exports) => {
10155
10155
  exports.default = names;
10156
10156
  });
10157
10157
 
10158
- // node_modules/ajv/dist/compile/errors.js
10158
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
10159
10159
  var require_errors2 = __commonJS((exports) => {
10160
10160
  Object.defineProperty(exports, "__esModule", { value: true });
10161
10161
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = undefined;
@@ -10273,7 +10273,7 @@ var require_errors2 = __commonJS((exports) => {
10273
10273
  }
10274
10274
  });
10275
10275
 
10276
- // node_modules/ajv/dist/compile/validate/boolSchema.js
10276
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
10277
10277
  var require_boolSchema = __commonJS((exports) => {
10278
10278
  Object.defineProperty(exports, "__esModule", { value: true });
10279
10279
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = undefined;
@@ -10321,7 +10321,7 @@ var require_boolSchema = __commonJS((exports) => {
10321
10321
  }
10322
10322
  });
10323
10323
 
10324
- // node_modules/ajv/dist/compile/rules.js
10324
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
10325
10325
  var require_rules = __commonJS((exports) => {
10326
10326
  Object.defineProperty(exports, "__esModule", { value: true });
10327
10327
  exports.getRules = exports.isJSONType = undefined;
@@ -10349,7 +10349,7 @@ var require_rules = __commonJS((exports) => {
10349
10349
  exports.getRules = getRules;
10350
10350
  });
10351
10351
 
10352
- // node_modules/ajv/dist/compile/validate/applicability.js
10352
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
10353
10353
  var require_applicability = __commonJS((exports) => {
10354
10354
  Object.defineProperty(exports, "__esModule", { value: true });
10355
10355
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = undefined;
@@ -10369,7 +10369,7 @@ var require_applicability = __commonJS((exports) => {
10369
10369
  exports.shouldUseRule = shouldUseRule;
10370
10370
  });
10371
10371
 
10372
- // node_modules/ajv/dist/compile/validate/dataType.js
10372
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
10373
10373
  var require_dataType = __commonJS((exports) => {
10374
10374
  Object.defineProperty(exports, "__esModule", { value: true });
10375
10375
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = undefined;
@@ -10550,7 +10550,7 @@ var require_dataType = __commonJS((exports) => {
10550
10550
  }
10551
10551
  });
10552
10552
 
10553
- // node_modules/ajv/dist/compile/validate/defaults.js
10553
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
10554
10554
  var require_defaults = __commonJS((exports) => {
10555
10555
  Object.defineProperty(exports, "__esModule", { value: true });
10556
10556
  exports.assignDefaults = undefined;
@@ -10584,7 +10584,7 @@ var require_defaults = __commonJS((exports) => {
10584
10584
  }
10585
10585
  });
10586
10586
 
10587
- // node_modules/ajv/dist/vocabularies/code.js
10587
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
10588
10588
  var require_code2 = __commonJS((exports) => {
10589
10589
  Object.defineProperty(exports, "__esModule", { value: true });
10590
10590
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = undefined;
@@ -10713,7 +10713,7 @@ var require_code2 = __commonJS((exports) => {
10713
10713
  exports.validateUnion = validateUnion;
10714
10714
  });
10715
10715
 
10716
- // node_modules/ajv/dist/compile/validate/keyword.js
10716
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
10717
10717
  var require_keyword = __commonJS((exports) => {
10718
10718
  Object.defineProperty(exports, "__esModule", { value: true });
10719
10719
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = undefined;
@@ -10828,7 +10828,7 @@ var require_keyword = __commonJS((exports) => {
10828
10828
  exports.validateKeywordUsage = validateKeywordUsage;
10829
10829
  });
10830
10830
 
10831
- // node_modules/ajv/dist/compile/validate/subschema.js
10831
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
10832
10832
  var require_subschema = __commonJS((exports) => {
10833
10833
  Object.defineProperty(exports, "__esModule", { value: true });
10834
10834
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = undefined;
@@ -10908,7 +10908,7 @@ var require_subschema = __commonJS((exports) => {
10908
10908
  exports.extendSubschemaMode = extendSubschemaMode;
10909
10909
  });
10910
10910
 
10911
- // node_modules/fast-deep-equal/index.js
10911
+ // ../../node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
10912
10912
  var require_fast_deep_equal = __commonJS((exports, module) => {
10913
10913
  module.exports = function equal(a, b) {
10914
10914
  if (a === b)
@@ -10950,7 +10950,7 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
10950
10950
  };
10951
10951
  });
10952
10952
 
10953
- // node_modules/json-schema-traverse/index.js
10953
+ // ../../node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
10954
10954
  var require_json_schema_traverse = __commonJS((exports, module) => {
10955
10955
  var traverse = module.exports = function(schema, opts, cb) {
10956
10956
  if (typeof opts == "function") {
@@ -11033,7 +11033,7 @@ var require_json_schema_traverse = __commonJS((exports, module) => {
11033
11033
  }
11034
11034
  });
11035
11035
 
11036
- // node_modules/ajv/dist/compile/resolve.js
11036
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
11037
11037
  var require_resolve = __commonJS((exports) => {
11038
11038
  Object.defineProperty(exports, "__esModule", { value: true });
11039
11039
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = undefined;
@@ -11186,7 +11186,7 @@ var require_resolve = __commonJS((exports) => {
11186
11186
  exports.getSchemaRefs = getSchemaRefs;
11187
11187
  });
11188
11188
 
11189
- // node_modules/ajv/dist/compile/validate/index.js
11189
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
11190
11190
  var require_validate = __commonJS((exports) => {
11191
11191
  Object.defineProperty(exports, "__esModule", { value: true });
11192
11192
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = undefined;
@@ -11691,7 +11691,7 @@ var require_validate = __commonJS((exports) => {
11691
11691
  exports.getData = getData;
11692
11692
  });
11693
11693
 
11694
- // node_modules/ajv/dist/runtime/validation_error.js
11694
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
11695
11695
  var require_validation_error = __commonJS((exports) => {
11696
11696
  Object.defineProperty(exports, "__esModule", { value: true });
11697
11697
 
@@ -11705,7 +11705,7 @@ var require_validation_error = __commonJS((exports) => {
11705
11705
  exports.default = ValidationError;
11706
11706
  });
11707
11707
 
11708
- // node_modules/ajv/dist/compile/ref_error.js
11708
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
11709
11709
  var require_ref_error = __commonJS((exports) => {
11710
11710
  Object.defineProperty(exports, "__esModule", { value: true });
11711
11711
  var resolve_1 = require_resolve();
@@ -11720,7 +11720,7 @@ var require_ref_error = __commonJS((exports) => {
11720
11720
  exports.default = MissingRefError;
11721
11721
  });
11722
11722
 
11723
- // node_modules/ajv/dist/compile/index.js
11723
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
11724
11724
  var require_compile = __commonJS((exports) => {
11725
11725
  Object.defineProperty(exports, "__esModule", { value: true });
11726
11726
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = undefined;
@@ -11941,7 +11941,7 @@ var require_compile = __commonJS((exports) => {
11941
11941
  }
11942
11942
  });
11943
11943
 
11944
- // node_modules/ajv/dist/refs/data.json
11944
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
11945
11945
  var require_data = __commonJS((exports, module) => {
11946
11946
  module.exports = {
11947
11947
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
@@ -11958,7 +11958,7 @@ var require_data = __commonJS((exports, module) => {
11958
11958
  };
11959
11959
  });
11960
11960
 
11961
- // node_modules/fast-uri/lib/utils.js
11961
+ // ../../node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
11962
11962
  var require_utils = __commonJS((exports, module) => {
11963
11963
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
11964
11964
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -12213,7 +12213,7 @@ var require_utils = __commonJS((exports, module) => {
12213
12213
  };
12214
12214
  });
12215
12215
 
12216
- // node_modules/fast-uri/lib/schemes.js
12216
+ // ../../node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
12217
12217
  var require_schemes = __commonJS((exports, module) => {
12218
12218
  var { isUUID } = require_utils();
12219
12219
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -12387,7 +12387,7 @@ var require_schemes = __commonJS((exports, module) => {
12387
12387
  };
12388
12388
  });
12389
12389
 
12390
- // node_modules/fast-uri/index.js
12390
+ // ../../node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
12391
12391
  var require_fast_uri = __commonJS((exports, module) => {
12392
12392
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
12393
12393
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -12638,7 +12638,7 @@ var require_fast_uri = __commonJS((exports, module) => {
12638
12638
  module.exports.fastUri = fastUri;
12639
12639
  });
12640
12640
 
12641
- // node_modules/ajv/dist/runtime/uri.js
12641
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
12642
12642
  var require_uri = __commonJS((exports) => {
12643
12643
  Object.defineProperty(exports, "__esModule", { value: true });
12644
12644
  var uri = require_fast_uri();
@@ -12646,7 +12646,7 @@ var require_uri = __commonJS((exports) => {
12646
12646
  exports.default = uri;
12647
12647
  });
12648
12648
 
12649
- // node_modules/ajv/dist/core.js
12649
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
12650
12650
  var require_core = __commonJS((exports) => {
12651
12651
  Object.defineProperty(exports, "__esModule", { value: true });
12652
12652
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = undefined;
@@ -13239,7 +13239,7 @@ var require_core = __commonJS((exports) => {
13239
13239
  }
13240
13240
  });
13241
13241
 
13242
- // node_modules/ajv/dist/vocabularies/core/id.js
13242
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
13243
13243
  var require_id = __commonJS((exports) => {
13244
13244
  Object.defineProperty(exports, "__esModule", { value: true });
13245
13245
  var def = {
@@ -13251,7 +13251,7 @@ var require_id = __commonJS((exports) => {
13251
13251
  exports.default = def;
13252
13252
  });
13253
13253
 
13254
- // node_modules/ajv/dist/vocabularies/core/ref.js
13254
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
13255
13255
  var require_ref = __commonJS((exports) => {
13256
13256
  Object.defineProperty(exports, "__esModule", { value: true });
13257
13257
  exports.callRef = exports.getValidate = undefined;
@@ -13370,7 +13370,7 @@ var require_ref = __commonJS((exports) => {
13370
13370
  exports.default = def;
13371
13371
  });
13372
13372
 
13373
- // node_modules/ajv/dist/vocabularies/core/index.js
13373
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
13374
13374
  var require_core2 = __commonJS((exports) => {
13375
13375
  Object.defineProperty(exports, "__esModule", { value: true });
13376
13376
  var id_1 = require_id();
@@ -13388,7 +13388,7 @@ var require_core2 = __commonJS((exports) => {
13388
13388
  exports.default = core;
13389
13389
  });
13390
13390
 
13391
- // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
13391
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
13392
13392
  var require_limitNumber = __commonJS((exports) => {
13393
13393
  Object.defineProperty(exports, "__esModule", { value: true });
13394
13394
  var codegen_1 = require_codegen();
@@ -13417,7 +13417,7 @@ var require_limitNumber = __commonJS((exports) => {
13417
13417
  exports.default = def;
13418
13418
  });
13419
13419
 
13420
- // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
13420
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
13421
13421
  var require_multipleOf = __commonJS((exports) => {
13422
13422
  Object.defineProperty(exports, "__esModule", { value: true });
13423
13423
  var codegen_1 = require_codegen();
@@ -13442,7 +13442,7 @@ var require_multipleOf = __commonJS((exports) => {
13442
13442
  exports.default = def;
13443
13443
  });
13444
13444
 
13445
- // node_modules/ajv/dist/runtime/ucs2length.js
13445
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
13446
13446
  var require_ucs2length = __commonJS((exports) => {
13447
13447
  Object.defineProperty(exports, "__esModule", { value: true });
13448
13448
  function ucs2length(str) {
@@ -13465,7 +13465,7 @@ var require_ucs2length = __commonJS((exports) => {
13465
13465
  ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
13466
13466
  });
13467
13467
 
13468
- // node_modules/ajv/dist/vocabularies/validation/limitLength.js
13468
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
13469
13469
  var require_limitLength = __commonJS((exports) => {
13470
13470
  Object.defineProperty(exports, "__esModule", { value: true });
13471
13471
  var codegen_1 = require_codegen();
@@ -13494,7 +13494,7 @@ var require_limitLength = __commonJS((exports) => {
13494
13494
  exports.default = def;
13495
13495
  });
13496
13496
 
13497
- // node_modules/ajv/dist/vocabularies/validation/pattern.js
13497
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
13498
13498
  var require_pattern = __commonJS((exports) => {
13499
13499
  Object.defineProperty(exports, "__esModule", { value: true });
13500
13500
  var code_1 = require_code2();
@@ -13528,7 +13528,7 @@ var require_pattern = __commonJS((exports) => {
13528
13528
  exports.default = def;
13529
13529
  });
13530
13530
 
13531
- // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
13531
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
13532
13532
  var require_limitProperties = __commonJS((exports) => {
13533
13533
  Object.defineProperty(exports, "__esModule", { value: true });
13534
13534
  var codegen_1 = require_codegen();
@@ -13554,7 +13554,7 @@ var require_limitProperties = __commonJS((exports) => {
13554
13554
  exports.default = def;
13555
13555
  });
13556
13556
 
13557
- // node_modules/ajv/dist/vocabularies/validation/required.js
13557
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
13558
13558
  var require_required = __commonJS((exports) => {
13559
13559
  Object.defineProperty(exports, "__esModule", { value: true });
13560
13560
  var code_1 = require_code2();
@@ -13633,7 +13633,7 @@ var require_required = __commonJS((exports) => {
13633
13633
  exports.default = def;
13634
13634
  });
13635
13635
 
13636
- // node_modules/ajv/dist/vocabularies/validation/limitItems.js
13636
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
13637
13637
  var require_limitItems = __commonJS((exports) => {
13638
13638
  Object.defineProperty(exports, "__esModule", { value: true });
13639
13639
  var codegen_1 = require_codegen();
@@ -13659,7 +13659,7 @@ var require_limitItems = __commonJS((exports) => {
13659
13659
  exports.default = def;
13660
13660
  });
13661
13661
 
13662
- // node_modules/ajv/dist/runtime/equal.js
13662
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
13663
13663
  var require_equal = __commonJS((exports) => {
13664
13664
  Object.defineProperty(exports, "__esModule", { value: true });
13665
13665
  var equal = require_fast_deep_equal();
@@ -13667,7 +13667,7 @@ var require_equal = __commonJS((exports) => {
13667
13667
  exports.default = equal;
13668
13668
  });
13669
13669
 
13670
- // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
13670
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
13671
13671
  var require_uniqueItems = __commonJS((exports) => {
13672
13672
  Object.defineProperty(exports, "__esModule", { value: true });
13673
13673
  var dataType_1 = require_dataType();
@@ -13731,7 +13731,7 @@ var require_uniqueItems = __commonJS((exports) => {
13731
13731
  exports.default = def;
13732
13732
  });
13733
13733
 
13734
- // node_modules/ajv/dist/vocabularies/validation/const.js
13734
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
13735
13735
  var require_const = __commonJS((exports) => {
13736
13736
  Object.defineProperty(exports, "__esModule", { value: true });
13737
13737
  var codegen_1 = require_codegen();
@@ -13757,7 +13757,7 @@ var require_const = __commonJS((exports) => {
13757
13757
  exports.default = def;
13758
13758
  });
13759
13759
 
13760
- // node_modules/ajv/dist/vocabularies/validation/enum.js
13760
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
13761
13761
  var require_enum = __commonJS((exports) => {
13762
13762
  Object.defineProperty(exports, "__esModule", { value: true });
13763
13763
  var codegen_1 = require_codegen();
@@ -13803,7 +13803,7 @@ var require_enum = __commonJS((exports) => {
13803
13803
  exports.default = def;
13804
13804
  });
13805
13805
 
13806
- // node_modules/ajv/dist/vocabularies/validation/index.js
13806
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
13807
13807
  var require_validation = __commonJS((exports) => {
13808
13808
  Object.defineProperty(exports, "__esModule", { value: true });
13809
13809
  var limitNumber_1 = require_limitNumber();
@@ -13833,7 +13833,7 @@ var require_validation = __commonJS((exports) => {
13833
13833
  exports.default = validation;
13834
13834
  });
13835
13835
 
13836
- // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
13836
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
13837
13837
  var require_additionalItems = __commonJS((exports) => {
13838
13838
  Object.defineProperty(exports, "__esModule", { value: true });
13839
13839
  exports.validateAdditionalItems = undefined;
@@ -13883,7 +13883,7 @@ var require_additionalItems = __commonJS((exports) => {
13883
13883
  exports.default = def;
13884
13884
  });
13885
13885
 
13886
- // node_modules/ajv/dist/vocabularies/applicator/items.js
13886
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
13887
13887
  var require_items = __commonJS((exports) => {
13888
13888
  Object.defineProperty(exports, "__esModule", { value: true });
13889
13889
  exports.validateTuple = undefined;
@@ -13937,7 +13937,7 @@ var require_items = __commonJS((exports) => {
13937
13937
  exports.default = def;
13938
13938
  });
13939
13939
 
13940
- // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
13940
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
13941
13941
  var require_prefixItems = __commonJS((exports) => {
13942
13942
  Object.defineProperty(exports, "__esModule", { value: true });
13943
13943
  var items_1 = require_items();
@@ -13951,7 +13951,7 @@ var require_prefixItems = __commonJS((exports) => {
13951
13951
  exports.default = def;
13952
13952
  });
13953
13953
 
13954
- // node_modules/ajv/dist/vocabularies/applicator/items2020.js
13954
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
13955
13955
  var require_items2020 = __commonJS((exports) => {
13956
13956
  Object.defineProperty(exports, "__esModule", { value: true });
13957
13957
  var codegen_1 = require_codegen();
@@ -13983,7 +13983,7 @@ var require_items2020 = __commonJS((exports) => {
13983
13983
  exports.default = def;
13984
13984
  });
13985
13985
 
13986
- // node_modules/ajv/dist/vocabularies/applicator/contains.js
13986
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
13987
13987
  var require_contains = __commonJS((exports) => {
13988
13988
  Object.defineProperty(exports, "__esModule", { value: true });
13989
13989
  var codegen_1 = require_codegen();
@@ -14074,7 +14074,7 @@ var require_contains = __commonJS((exports) => {
14074
14074
  exports.default = def;
14075
14075
  });
14076
14076
 
14077
- // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
14077
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
14078
14078
  var require_dependencies = __commonJS((exports) => {
14079
14079
  Object.defineProperty(exports, "__esModule", { value: true });
14080
14080
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = undefined;
@@ -14159,7 +14159,7 @@ var require_dependencies = __commonJS((exports) => {
14159
14159
  exports.default = def;
14160
14160
  });
14161
14161
 
14162
- // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
14162
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
14163
14163
  var require_propertyNames = __commonJS((exports) => {
14164
14164
  Object.defineProperty(exports, "__esModule", { value: true });
14165
14165
  var codegen_1 = require_codegen();
@@ -14199,7 +14199,7 @@ var require_propertyNames = __commonJS((exports) => {
14199
14199
  exports.default = def;
14200
14200
  });
14201
14201
 
14202
- // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
14202
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
14203
14203
  var require_additionalProperties = __commonJS((exports) => {
14204
14204
  Object.defineProperty(exports, "__esModule", { value: true });
14205
14205
  var code_1 = require_code2();
@@ -14302,7 +14302,7 @@ var require_additionalProperties = __commonJS((exports) => {
14302
14302
  exports.default = def;
14303
14303
  });
14304
14304
 
14305
- // node_modules/ajv/dist/vocabularies/applicator/properties.js
14305
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
14306
14306
  var require_properties = __commonJS((exports) => {
14307
14307
  Object.defineProperty(exports, "__esModule", { value: true });
14308
14308
  var validate_1 = require_validate();
@@ -14357,7 +14357,7 @@ var require_properties = __commonJS((exports) => {
14357
14357
  exports.default = def;
14358
14358
  });
14359
14359
 
14360
- // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
14360
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
14361
14361
  var require_patternProperties = __commonJS((exports) => {
14362
14362
  Object.defineProperty(exports, "__esModule", { value: true });
14363
14363
  var code_1 = require_code2();
@@ -14428,7 +14428,7 @@ var require_patternProperties = __commonJS((exports) => {
14428
14428
  exports.default = def;
14429
14429
  });
14430
14430
 
14431
- // node_modules/ajv/dist/vocabularies/applicator/not.js
14431
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
14432
14432
  var require_not = __commonJS((exports) => {
14433
14433
  Object.defineProperty(exports, "__esModule", { value: true });
14434
14434
  var util_1 = require_util();
@@ -14456,7 +14456,7 @@ var require_not = __commonJS((exports) => {
14456
14456
  exports.default = def;
14457
14457
  });
14458
14458
 
14459
- // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
14459
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
14460
14460
  var require_anyOf = __commonJS((exports) => {
14461
14461
  Object.defineProperty(exports, "__esModule", { value: true });
14462
14462
  var code_1 = require_code2();
@@ -14470,7 +14470,7 @@ var require_anyOf = __commonJS((exports) => {
14470
14470
  exports.default = def;
14471
14471
  });
14472
14472
 
14473
- // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
14473
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
14474
14474
  var require_oneOf = __commonJS((exports) => {
14475
14475
  Object.defineProperty(exports, "__esModule", { value: true });
14476
14476
  var codegen_1 = require_codegen();
@@ -14525,7 +14525,7 @@ var require_oneOf = __commonJS((exports) => {
14525
14525
  exports.default = def;
14526
14526
  });
14527
14527
 
14528
- // node_modules/ajv/dist/vocabularies/applicator/allOf.js
14528
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
14529
14529
  var require_allOf = __commonJS((exports) => {
14530
14530
  Object.defineProperty(exports, "__esModule", { value: true });
14531
14531
  var util_1 = require_util();
@@ -14549,7 +14549,7 @@ var require_allOf = __commonJS((exports) => {
14549
14549
  exports.default = def;
14550
14550
  });
14551
14551
 
14552
- // node_modules/ajv/dist/vocabularies/applicator/if.js
14552
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
14553
14553
  var require_if = __commonJS((exports) => {
14554
14554
  Object.defineProperty(exports, "__esModule", { value: true });
14555
14555
  var codegen_1 = require_codegen();
@@ -14615,7 +14615,7 @@ var require_if = __commonJS((exports) => {
14615
14615
  exports.default = def;
14616
14616
  });
14617
14617
 
14618
- // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
14618
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
14619
14619
  var require_thenElse = __commonJS((exports) => {
14620
14620
  Object.defineProperty(exports, "__esModule", { value: true });
14621
14621
  var util_1 = require_util();
@@ -14630,7 +14630,7 @@ var require_thenElse = __commonJS((exports) => {
14630
14630
  exports.default = def;
14631
14631
  });
14632
14632
 
14633
- // node_modules/ajv/dist/vocabularies/applicator/index.js
14633
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
14634
14634
  var require_applicator = __commonJS((exports) => {
14635
14635
  Object.defineProperty(exports, "__esModule", { value: true });
14636
14636
  var additionalItems_1 = require_additionalItems();
@@ -14673,7 +14673,7 @@ var require_applicator = __commonJS((exports) => {
14673
14673
  exports.default = getApplicator;
14674
14674
  });
14675
14675
 
14676
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
14676
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
14677
14677
  var require_dynamicAnchor = __commonJS((exports) => {
14678
14678
  Object.defineProperty(exports, "__esModule", { value: true });
14679
14679
  exports.dynamicAnchor = undefined;
@@ -14705,7 +14705,7 @@ var require_dynamicAnchor = __commonJS((exports) => {
14705
14705
  exports.default = def;
14706
14706
  });
14707
14707
 
14708
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
14708
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
14709
14709
  var require_dynamicRef = __commonJS((exports) => {
14710
14710
  Object.defineProperty(exports, "__esModule", { value: true });
14711
14711
  exports.dynamicRef = undefined;
@@ -14748,7 +14748,7 @@ var require_dynamicRef = __commonJS((exports) => {
14748
14748
  exports.default = def;
14749
14749
  });
14750
14750
 
14751
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
14751
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
14752
14752
  var require_recursiveAnchor = __commonJS((exports) => {
14753
14753
  Object.defineProperty(exports, "__esModule", { value: true });
14754
14754
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -14766,7 +14766,7 @@ var require_recursiveAnchor = __commonJS((exports) => {
14766
14766
  exports.default = def;
14767
14767
  });
14768
14768
 
14769
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
14769
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
14770
14770
  var require_recursiveRef = __commonJS((exports) => {
14771
14771
  Object.defineProperty(exports, "__esModule", { value: true });
14772
14772
  var dynamicRef_1 = require_dynamicRef();
@@ -14778,7 +14778,7 @@ var require_recursiveRef = __commonJS((exports) => {
14778
14778
  exports.default = def;
14779
14779
  });
14780
14780
 
14781
- // node_modules/ajv/dist/vocabularies/dynamic/index.js
14781
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/dynamic/index.js
14782
14782
  var require_dynamic = __commonJS((exports) => {
14783
14783
  Object.defineProperty(exports, "__esModule", { value: true });
14784
14784
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -14789,7 +14789,7 @@ var require_dynamic = __commonJS((exports) => {
14789
14789
  exports.default = dynamic;
14790
14790
  });
14791
14791
 
14792
- // node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
14792
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
14793
14793
  var require_dependentRequired = __commonJS((exports) => {
14794
14794
  Object.defineProperty(exports, "__esModule", { value: true });
14795
14795
  var dependencies_1 = require_dependencies();
@@ -14803,7 +14803,7 @@ var require_dependentRequired = __commonJS((exports) => {
14803
14803
  exports.default = def;
14804
14804
  });
14805
14805
 
14806
- // node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
14806
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
14807
14807
  var require_dependentSchemas = __commonJS((exports) => {
14808
14808
  Object.defineProperty(exports, "__esModule", { value: true });
14809
14809
  var dependencies_1 = require_dependencies();
@@ -14816,7 +14816,7 @@ var require_dependentSchemas = __commonJS((exports) => {
14816
14816
  exports.default = def;
14817
14817
  });
14818
14818
 
14819
- // node_modules/ajv/dist/vocabularies/validation/limitContains.js
14819
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js
14820
14820
  var require_limitContains = __commonJS((exports) => {
14821
14821
  Object.defineProperty(exports, "__esModule", { value: true });
14822
14822
  var util_1 = require_util();
@@ -14833,7 +14833,7 @@ var require_limitContains = __commonJS((exports) => {
14833
14833
  exports.default = def;
14834
14834
  });
14835
14835
 
14836
- // node_modules/ajv/dist/vocabularies/next.js
14836
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/next.js
14837
14837
  var require_next = __commonJS((exports) => {
14838
14838
  Object.defineProperty(exports, "__esModule", { value: true });
14839
14839
  var dependentRequired_1 = require_dependentRequired();
@@ -14843,7 +14843,7 @@ var require_next = __commonJS((exports) => {
14843
14843
  exports.default = next;
14844
14844
  });
14845
14845
 
14846
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
14846
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
14847
14847
  var require_unevaluatedProperties = __commonJS((exports) => {
14848
14848
  Object.defineProperty(exports, "__esModule", { value: true });
14849
14849
  var codegen_1 = require_codegen();
@@ -14906,7 +14906,7 @@ var require_unevaluatedProperties = __commonJS((exports) => {
14906
14906
  exports.default = def;
14907
14907
  });
14908
14908
 
14909
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
14909
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
14910
14910
  var require_unevaluatedItems = __commonJS((exports) => {
14911
14911
  Object.defineProperty(exports, "__esModule", { value: true });
14912
14912
  var codegen_1 = require_codegen();
@@ -14947,7 +14947,7 @@ var require_unevaluatedItems = __commonJS((exports) => {
14947
14947
  exports.default = def;
14948
14948
  });
14949
14949
 
14950
- // node_modules/ajv/dist/vocabularies/unevaluated/index.js
14950
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js
14951
14951
  var require_unevaluated = __commonJS((exports) => {
14952
14952
  Object.defineProperty(exports, "__esModule", { value: true });
14953
14953
  var unevaluatedProperties_1 = require_unevaluatedProperties();
@@ -14956,7 +14956,7 @@ var require_unevaluated = __commonJS((exports) => {
14956
14956
  exports.default = unevaluated;
14957
14957
  });
14958
14958
 
14959
- // node_modules/ajv/dist/vocabularies/format/format.js
14959
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
14960
14960
  var require_format = __commonJS((exports) => {
14961
14961
  Object.defineProperty(exports, "__esModule", { value: true });
14962
14962
  var codegen_1 = require_codegen();
@@ -15043,7 +15043,7 @@ var require_format = __commonJS((exports) => {
15043
15043
  exports.default = def;
15044
15044
  });
15045
15045
 
15046
- // node_modules/ajv/dist/vocabularies/format/index.js
15046
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
15047
15047
  var require_format2 = __commonJS((exports) => {
15048
15048
  Object.defineProperty(exports, "__esModule", { value: true });
15049
15049
  var format_1 = require_format();
@@ -15051,7 +15051,7 @@ var require_format2 = __commonJS((exports) => {
15051
15051
  exports.default = format;
15052
15052
  });
15053
15053
 
15054
- // node_modules/ajv/dist/vocabularies/metadata.js
15054
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
15055
15055
  var require_metadata = __commonJS((exports) => {
15056
15056
  Object.defineProperty(exports, "__esModule", { value: true });
15057
15057
  exports.contentVocabulary = exports.metadataVocabulary = undefined;
@@ -15071,7 +15071,7 @@ var require_metadata = __commonJS((exports) => {
15071
15071
  ];
15072
15072
  });
15073
15073
 
15074
- // node_modules/ajv/dist/vocabularies/draft2020.js
15074
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft2020.js
15075
15075
  var require_draft2020 = __commonJS((exports) => {
15076
15076
  Object.defineProperty(exports, "__esModule", { value: true });
15077
15077
  var core_1 = require_core2();
@@ -15096,7 +15096,7 @@ var require_draft2020 = __commonJS((exports) => {
15096
15096
  exports.default = draft2020Vocabularies;
15097
15097
  });
15098
15098
 
15099
- // node_modules/ajv/dist/vocabularies/discriminator/types.js
15099
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
15100
15100
  var require_types = __commonJS((exports) => {
15101
15101
  Object.defineProperty(exports, "__esModule", { value: true });
15102
15102
  exports.DiscrError = undefined;
@@ -15107,7 +15107,7 @@ var require_types = __commonJS((exports) => {
15107
15107
  })(DiscrError || (exports.DiscrError = DiscrError = {}));
15108
15108
  });
15109
15109
 
15110
- // node_modules/ajv/dist/vocabularies/discriminator/index.js
15110
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
15111
15111
  var require_discriminator = __commonJS((exports) => {
15112
15112
  Object.defineProperty(exports, "__esModule", { value: true });
15113
15113
  var codegen_1 = require_codegen();
@@ -15209,7 +15209,7 @@ var require_discriminator = __commonJS((exports) => {
15209
15209
  exports.default = def;
15210
15210
  });
15211
15211
 
15212
- // node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
15212
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
15213
15213
  var require_schema4 = __commonJS((exports, module) => {
15214
15214
  module.exports = {
15215
15215
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15267,7 +15267,7 @@ var require_schema4 = __commonJS((exports, module) => {
15267
15267
  };
15268
15268
  });
15269
15269
 
15270
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
15270
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
15271
15271
  var require_applicator2 = __commonJS((exports, module) => {
15272
15272
  module.exports = {
15273
15273
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15318,7 +15318,7 @@ var require_applicator2 = __commonJS((exports, module) => {
15318
15318
  };
15319
15319
  });
15320
15320
 
15321
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
15321
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
15322
15322
  var require_unevaluated2 = __commonJS((exports, module) => {
15323
15323
  module.exports = {
15324
15324
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15336,7 +15336,7 @@ var require_unevaluated2 = __commonJS((exports, module) => {
15336
15336
  };
15337
15337
  });
15338
15338
 
15339
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
15339
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
15340
15340
  var require_content = __commonJS((exports, module) => {
15341
15341
  module.exports = {
15342
15342
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15355,7 +15355,7 @@ var require_content = __commonJS((exports, module) => {
15355
15355
  };
15356
15356
  });
15357
15357
 
15358
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
15358
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
15359
15359
  var require_core3 = __commonJS((exports, module) => {
15360
15360
  module.exports = {
15361
15361
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15409,7 +15409,7 @@ var require_core3 = __commonJS((exports, module) => {
15409
15409
  };
15410
15410
  });
15411
15411
 
15412
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
15412
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
15413
15413
  var require_format_annotation = __commonJS((exports, module) => {
15414
15414
  module.exports = {
15415
15415
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15426,7 +15426,7 @@ var require_format_annotation = __commonJS((exports, module) => {
15426
15426
  };
15427
15427
  });
15428
15428
 
15429
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
15429
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
15430
15430
  var require_meta_data = __commonJS((exports, module) => {
15431
15431
  module.exports = {
15432
15432
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15465,7 +15465,7 @@ var require_meta_data = __commonJS((exports, module) => {
15465
15465
  };
15466
15466
  });
15467
15467
 
15468
- // node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
15468
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
15469
15469
  var require_validation2 = __commonJS((exports, module) => {
15470
15470
  module.exports = {
15471
15471
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -15558,7 +15558,7 @@ var require_validation2 = __commonJS((exports, module) => {
15558
15558
  };
15559
15559
  });
15560
15560
 
15561
- // node_modules/ajv/dist/refs/json-schema-2020-12/index.js
15561
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
15562
15562
  var require_json_schema_2020_12 = __commonJS((exports) => {
15563
15563
  Object.defineProperty(exports, "__esModule", { value: true });
15564
15564
  var metaSchema = require_schema4();
@@ -15589,7 +15589,7 @@ var require_json_schema_2020_12 = __commonJS((exports) => {
15589
15589
  exports.default = addMetaSchema2020;
15590
15590
  });
15591
15591
 
15592
- // node_modules/ajv/dist/2020.js
15592
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/2020.js
15593
15593
  var require_2020 = __commonJS((exports, module) => {
15594
15594
  Object.defineProperty(exports, "__esModule", { value: true });
15595
15595
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv2020 = undefined;
@@ -15664,7 +15664,7 @@ var require_2020 = __commonJS((exports, module) => {
15664
15664
  } });
15665
15665
  });
15666
15666
 
15667
- // node_modules/ajv-formats/dist/formats.js
15667
+ // ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
15668
15668
  var require_formats = __commonJS((exports) => {
15669
15669
  Object.defineProperty(exports, "__esModule", { value: true });
15670
15670
  exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
@@ -15841,7 +15841,7 @@ var require_formats = __commonJS((exports) => {
15841
15841
  }
15842
15842
  });
15843
15843
 
15844
- // node_modules/ajv/dist/vocabularies/draft7.js
15844
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
15845
15845
  var require_draft7 = __commonJS((exports) => {
15846
15846
  Object.defineProperty(exports, "__esModule", { value: true });
15847
15847
  var core_1 = require_core2();
@@ -15860,7 +15860,7 @@ var require_draft7 = __commonJS((exports) => {
15860
15860
  exports.default = draft7Vocabularies;
15861
15861
  });
15862
15862
 
15863
- // node_modules/ajv/dist/refs/json-schema-draft-07.json
15863
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
15864
15864
  var require_json_schema_draft_07 = __commonJS((exports, module) => {
15865
15865
  module.exports = {
15866
15866
  $schema: "http://json-schema.org/draft-07/schema#",
@@ -16015,7 +16015,7 @@ var require_json_schema_draft_07 = __commonJS((exports, module) => {
16015
16015
  };
16016
16016
  });
16017
16017
 
16018
- // node_modules/ajv/dist/ajv.js
16018
+ // ../../node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
16019
16019
  var require_ajv = __commonJS((exports, module) => {
16020
16020
  Object.defineProperty(exports, "__esModule", { value: true });
16021
16021
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = undefined;
@@ -16083,7 +16083,7 @@ var require_ajv = __commonJS((exports, module) => {
16083
16083
  } });
16084
16084
  });
16085
16085
 
16086
- // node_modules/ajv-formats/dist/limit.js
16086
+ // ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
16087
16087
  var require_limit = __commonJS((exports) => {
16088
16088
  Object.defineProperty(exports, "__esModule", { value: true });
16089
16089
  exports.formatLimitDefinition = undefined;
@@ -16152,7 +16152,7 @@ var require_limit = __commonJS((exports) => {
16152
16152
  exports.default = formatLimitPlugin;
16153
16153
  });
16154
16154
 
16155
- // node_modules/ajv-formats/dist/index.js
16155
+ // ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
16156
16156
  var require_dist = __commonJS((exports, module) => {
16157
16157
  Object.defineProperty(exports, "__esModule", { value: true });
16158
16158
  var formats_1 = require_formats();
@@ -16191,7 +16191,7 @@ var require_dist = __commonJS((exports, module) => {
16191
16191
  exports.default = formatsPlugin;
16192
16192
  });
16193
16193
 
16194
- // node_modules/commander/esm.mjs
16194
+ // ../../node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
16195
16195
  var import__ = __toESM(require_commander(), 1);
16196
16196
  var {
16197
16197
  program,
@@ -16207,7 +16207,7 @@ var {
16207
16207
  Help
16208
16208
  } = import__.default;
16209
16209
 
16210
- // node_modules/chalk/source/vendor/ansi-styles/index.js
16210
+ // ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
16211
16211
  var ANSI_BACKGROUND_OFFSET = 10;
16212
16212
  var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
16213
16213
  var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
@@ -16384,7 +16384,7 @@ function assembleStyles() {
16384
16384
  var ansiStyles = assembleStyles();
16385
16385
  var ansi_styles_default = ansiStyles;
16386
16386
 
16387
- // node_modules/chalk/source/vendor/supports-color/index.js
16387
+ // ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
16388
16388
  import process2 from "node:process";
16389
16389
  import os from "node:os";
16390
16390
  import tty from "node:tty";
@@ -16516,7 +16516,7 @@ var supportsColor = {
16516
16516
  };
16517
16517
  var supports_color_default = supportsColor;
16518
16518
 
16519
- // node_modules/chalk/source/utilities.js
16519
+ // ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
16520
16520
  function stringReplaceAll(string, substring, replacer) {
16521
16521
  let index = string.indexOf(substring);
16522
16522
  if (index === -1) {
@@ -16549,7 +16549,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
16549
16549
  return returnValue;
16550
16550
  }
16551
16551
 
16552
- // node_modules/chalk/source/index.js
16552
+ // ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
16553
16553
  var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
16554
16554
  var GENERATOR = Symbol("GENERATOR");
16555
16555
  var STYLER = Symbol("STYLER");
@@ -16696,11 +16696,122 @@ var chalk = createChalk();
16696
16696
  var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
16697
16697
  var source_default = chalk;
16698
16698
 
16699
- // src/core/loader.ts
16700
- import * as fs from "node:fs";
16701
- import * as path from "node:path";
16702
-
16703
- // node_modules/yaml/dist/index.js
16699
+ // ../adl-core/dist/types/errors.js
16700
+ var ADL_ERRORS = {
16701
+ "ADL-1001": { category: "Parse", description: "Invalid JSON syntax" },
16702
+ "ADL-1002": {
16703
+ category: "Parse",
16704
+ description: "Document is not a JSON object"
16705
+ },
16706
+ "ADL-1003": { category: "Schema", description: "Missing required member" },
16707
+ "ADL-1004": { category: "Schema", description: "Invalid member type" },
16708
+ "ADL-1005": { category: "Schema", description: "Invalid enum value" },
16709
+ "ADL-1006": {
16710
+ category: "Schema",
16711
+ description: "Value does not match pattern"
16712
+ },
16713
+ "ADL-2001": { category: "Semantic", description: "Unsupported ADL version" },
16714
+ "ADL-2002": { category: "Semantic", description: "Duplicate tool name" },
16715
+ "ADL-2003": { category: "Semantic", description: "Duplicate resource name" },
16716
+ "ADL-2004": { category: "Semantic", description: "Duplicate prompt name" },
16717
+ "ADL-2005": {
16718
+ category: "Semantic",
16719
+ description: "Invalid timestamp format"
16720
+ },
16721
+ "ADL-2006": { category: "Semantic", description: "Invalid URI format" },
16722
+ "ADL-2007": { category: "Semantic", description: "Invalid JSON Schema" },
16723
+ "ADL-2008": {
16724
+ category: "Semantic",
16725
+ description: "Invalid tool name pattern"
16726
+ },
16727
+ "ADL-2009": {
16728
+ category: "Semantic",
16729
+ description: "Invalid resource type value"
16730
+ },
16731
+ "ADL-2010": {
16732
+ category: "Semantic",
16733
+ description: "Temperature out of range"
16734
+ },
16735
+ "ADL-2011": {
16736
+ category: "Semantic",
16737
+ description: "Invalid authentication type"
16738
+ },
16739
+ "ADL-2012": {
16740
+ category: "Semantic",
16741
+ description: "Invalid attestation type"
16742
+ },
16743
+ "ADL-2013": {
16744
+ category: "Semantic",
16745
+ description: "Invalid error handling action"
16746
+ },
16747
+ "ADL-2014": { category: "Semantic", description: "Invalid output format" },
16748
+ "ADL-2015": {
16749
+ category: "Semantic",
16750
+ description: "Invalid model capability"
16751
+ },
16752
+ "ADL-2016": {
16753
+ category: "Semantic",
16754
+ description: "Invalid host pattern syntax"
16755
+ },
16756
+ "ADL-2017": {
16757
+ category: "Semantic",
16758
+ description: "Invalid filesystem path pattern"
16759
+ },
16760
+ "ADL-2018": {
16761
+ category: "Semantic",
16762
+ description: "Invalid environment variable pattern"
16763
+ },
16764
+ "ADL-2019": {
16765
+ category: "Semantic",
16766
+ description: "Missing digest fields for digest-mode signature"
16767
+ },
16768
+ "ADL-2020": {
16769
+ category: "Semantic",
16770
+ description: "Invalid data classification sensitivity"
16771
+ },
16772
+ "ADL-2021": {
16773
+ category: "Semantic",
16774
+ description: "Invalid data classification category"
16775
+ },
16776
+ "ADL-2022": {
16777
+ category: "Semantic",
16778
+ description: "Retention min_days exceeds max_days"
16779
+ },
16780
+ "ADL-2023": {
16781
+ category: "Semantic",
16782
+ description: "High-water mark violation"
16783
+ },
16784
+ "ADL-3001": {
16785
+ category: "Profile",
16786
+ description: "Profile requirements not satisfied"
16787
+ },
16788
+ "ADL-3002": { category: "Profile", description: "Unknown profile" },
16789
+ "ADL-4001": { category: "Security", description: "Weak key algorithm" },
16790
+ "ADL-4002": { category: "Security", description: "Invalid signature" },
16791
+ "ADL-4003": { category: "Security", description: "Expired attestation" },
16792
+ "ADL-5001": {
16793
+ category: "Lifecycle",
16794
+ description: "Invalid lifecycle status value"
16795
+ },
16796
+ "ADL-5002": {
16797
+ category: "Lifecycle",
16798
+ description: "Successor present on active/draft agent"
16799
+ },
16800
+ "ADL-5003": {
16801
+ category: "Lifecycle",
16802
+ description: "Sunset date in the past with non-retired status"
16803
+ }
16804
+ };
16805
+ function createError(code, detail, source) {
16806
+ const info = ADL_ERRORS[code];
16807
+ return {
16808
+ code,
16809
+ title: info?.description ?? "Unknown error",
16810
+ detail,
16811
+ source
16812
+ };
16813
+ }
16814
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/index.js
16704
16815
  var composer = require_composer();
16705
16816
  var Document = require_Document();
16706
16817
  var Schema = require_Schema();
@@ -16746,136 +16857,77 @@ var $stringify = publicApi.stringify;
16746
16857
  var $visit = visit.visit;
16747
16858
  var $visitAsync = visit.visitAsync;
16748
16859
 
16749
- // src/core/errors.ts
16750
- var ADL_ERRORS = {
16751
- "ADL-1001": { category: "Parse", description: "Invalid JSON syntax" },
16752
- "ADL-1002": { category: "Parse", description: "Document is not a JSON object" },
16753
- "ADL-1003": { category: "Schema", description: "Missing required member" },
16754
- "ADL-1004": { category: "Schema", description: "Invalid member type" },
16755
- "ADL-1005": { category: "Schema", description: "Invalid enum value" },
16756
- "ADL-1006": { category: "Schema", description: "Value does not match pattern" },
16757
- "ADL-2001": { category: "Semantic", description: "Unsupported ADL version" },
16758
- "ADL-2002": { category: "Semantic", description: "Duplicate tool name" },
16759
- "ADL-2003": { category: "Semantic", description: "Duplicate resource name" },
16760
- "ADL-2004": { category: "Semantic", description: "Duplicate prompt name" },
16761
- "ADL-2005": { category: "Semantic", description: "Invalid timestamp format" },
16762
- "ADL-2006": { category: "Semantic", description: "Invalid URI format" },
16763
- "ADL-2007": { category: "Semantic", description: "Invalid JSON Schema" },
16764
- "ADL-2008": { category: "Semantic", description: "Invalid tool name pattern" },
16765
- "ADL-2009": { category: "Semantic", description: "Invalid resource type value" },
16766
- "ADL-2010": { category: "Semantic", description: "Temperature out of range" },
16767
- "ADL-2011": { category: "Semantic", description: "Invalid authentication type" },
16768
- "ADL-2012": { category: "Semantic", description: "Invalid attestation type" },
16769
- "ADL-2013": { category: "Semantic", description: "Invalid error handling action" },
16770
- "ADL-2014": { category: "Semantic", description: "Invalid output format" },
16771
- "ADL-2015": { category: "Semantic", description: "Invalid model capability" },
16772
- "ADL-2016": { category: "Semantic", description: "Invalid host pattern syntax" },
16773
- "ADL-2017": { category: "Semantic", description: "Invalid filesystem path pattern" },
16774
- "ADL-2018": { category: "Semantic", description: "Invalid environment variable pattern" },
16775
- "ADL-2019": { category: "Semantic", description: "Missing digest fields for digest-mode signature" },
16776
- "ADL-3001": { category: "Profile", description: "Profile requirements not satisfied" },
16777
- "ADL-3002": { category: "Profile", description: "Unknown profile" },
16778
- "ADL-4001": { category: "Security", description: "Weak key algorithm" },
16779
- "ADL-4002": { category: "Security", description: "Invalid signature" },
16780
- "ADL-4003": { category: "Security", description: "Expired attestation" },
16781
- "ADL-5001": { category: "Lifecycle", description: "Invalid lifecycle status value" },
16782
- "ADL-5002": { category: "Lifecycle", description: "Successor present on active/draft agent" },
16783
- "ADL-5003": { category: "Lifecycle", description: "Sunset date in the past with non-retired status" }
16784
- };
16785
- function createError(code, detail, source) {
16786
- const info = ADL_ERRORS[code];
16787
- return {
16788
- code,
16789
- title: info?.description ?? "Unknown error",
16790
- detail,
16791
- source
16792
- };
16793
- }
16794
- function formatErrorsTerminal(file, errors2) {
16795
- const lines = [];
16796
- lines.push(source_default.bold.underline(file));
16797
- for (const err of errors2) {
16798
- const location = err.source?.pointer ? source_default.dim(` at ${err.source.pointer}`) : "";
16799
- const code = source_default.yellow(err.code);
16800
- const title = source_default.red(err.title);
16801
- lines.push(` ${code} ${title}${location}`);
16802
- lines.push(` ${source_default.dim(err.detail)}`);
16860
+ // ../adl-core/dist/parse/parser.js
16861
+ function parseADL(input, format) {
16862
+ const detected = format ?? detectFormat(input);
16863
+ if (detected === "json") {
16864
+ return parseJsonString(input);
16803
16865
  }
16804
- lines.push("");
16805
- const count = errors2.length;
16806
- lines.push(source_default.red.bold(`✖ ${count} error${count !== 1 ? "s" : ""} found`));
16807
- return lines.join(`
16808
- `);
16866
+ return parseYamlString(input);
16809
16867
  }
16810
-
16811
- // src/core/loader.ts
16812
- function loadDocument(filePath) {
16813
- const ext = path.extname(filePath).toLowerCase();
16814
- const absolutePath = path.resolve(filePath);
16815
- if (!fs.existsSync(absolutePath)) {
16816
- return {
16817
- data: null,
16818
- errors: [
16819
- createError("ADL-1001", `File not found: ${filePath}`)
16820
- ]
16821
- };
16822
- }
16823
- const content = fs.readFileSync(absolutePath, "utf-8");
16824
- if (ext === ".yaml" || ext === ".yml") {
16825
- return parseYamlDocument(content);
16826
- }
16827
- return parseJsonDocument(content);
16868
+ function detectFormat(input) {
16869
+ const trimmed = input.trimStart();
16870
+ if (trimmed.startsWith("{"))
16871
+ return "json";
16872
+ return "yaml";
16828
16873
  }
16829
- function parseJsonDocument(content) {
16874
+ function parseJsonString(content) {
16830
16875
  try {
16831
16876
  const data = JSON.parse(content);
16832
16877
  if (typeof data !== "object" || data === null || Array.isArray(data)) {
16833
16878
  return {
16834
- data: null,
16835
- errors: [
16836
- createError("ADL-1002", "Document must be a JSON object")
16837
- ]
16879
+ document: null,
16880
+ errors: [createError("ADL-1002", "Document must be a JSON object")]
16838
16881
  };
16839
16882
  }
16840
- return { data, errors: [] };
16883
+ return { document: data, errors: [] };
16841
16884
  } catch (err) {
16842
16885
  const message = err instanceof Error ? err.message : String(err);
16843
16886
  return {
16844
- data: null,
16845
- errors: [
16846
- createError("ADL-1001", `Invalid JSON: ${message}`)
16847
- ]
16887
+ document: null,
16888
+ errors: [createError("ADL-1001", `Invalid JSON: ${message}`)]
16848
16889
  };
16849
16890
  }
16850
16891
  }
16851
- function parseYamlDocument(content) {
16892
+ function parseYamlString(content) {
16852
16893
  try {
16853
16894
  const data = $parse(content);
16854
16895
  if (typeof data !== "object" || data === null || Array.isArray(data)) {
16855
16896
  return {
16856
- data: null,
16857
- errors: [
16858
- createError("ADL-1002", "Document must be a YAML mapping")
16859
- ]
16897
+ document: null,
16898
+ errors: [createError("ADL-1002", "Document must be a YAML mapping")]
16860
16899
  };
16861
16900
  }
16862
- return { data, errors: [] };
16901
+ return { document: data, errors: [] };
16863
16902
  } catch (err) {
16864
16903
  const message = err instanceof Error ? err.message : String(err);
16865
16904
  return {
16866
- data: null,
16867
- errors: [
16868
- createError("ADL-1001", `Invalid YAML: ${message}`)
16869
- ]
16905
+ document: null,
16906
+ errors: [createError("ADL-1001", `Invalid YAML: ${message}`)]
16870
16907
  };
16871
16908
  }
16872
16909
  }
16873
-
16874
- // src/core/validator.ts
16910
+ // ../adl-core/dist/parse/loader.js
16911
+ import * as fs from "node:fs";
16912
+ import * as path from "node:path";
16913
+ function loadADLSync(filePath) {
16914
+ const ext = path.extname(filePath).toLowerCase();
16915
+ const absolutePath = path.resolve(filePath);
16916
+ if (!fs.existsSync(absolutePath)) {
16917
+ return {
16918
+ document: null,
16919
+ errors: [createError("ADL-1001", `File not found: ${filePath}`)]
16920
+ };
16921
+ }
16922
+ const content = fs.readFileSync(absolutePath, "utf-8");
16923
+ const format = ext === ".yaml" || ext === ".yml" ? "yaml" : "json";
16924
+ return parseADL(content, format);
16925
+ }
16926
+ // ../adl-core/dist/validate/schema-validator.js
16875
16927
  var import__2020 = __toESM(require_2020(), 1);
16876
16928
  var import_ajv_formats = __toESM(require_dist(), 1);
16877
- // src/core/schema.json
16878
- var schema_default = {
16929
+ // ../adl-core/dist/schemas/0.1.0.json
16930
+ var _0_1_0_default = {
16879
16931
  $schema: "https://json-schema.org/draft/2020-12/schema",
16880
16932
  $id: "https://adl-spec.org/0.1/schema.json",
16881
16933
  title: "ADL Document",
@@ -17556,225 +17608,1223 @@ var schema_default = {
17556
17608
  },
17557
17609
  additionalProperties: false
17558
17610
  };
17559
-
17560
- // src/core/validator.ts
17561
- var SUPPORTED_VERSIONS = ["0.1.0"];
17562
- function validateDocument(doc) {
17563
- const errors2 = [];
17564
- errors2.push(...validateSchema(doc));
17565
- errors2.push(...semanticChecks(doc));
17566
- return errors2;
17567
- }
17568
- function validateSchema(doc) {
17569
- const ajv = new import__2020.default({ allErrors: true, strict: false });
17570
- import_ajv_formats.default(ajv);
17571
- const validate = ajv.compile(schema_default);
17572
- const valid = validate(doc);
17573
- if (valid)
17574
- return [];
17575
- const errors2 = [];
17576
- for (const err of validate.errors ?? []) {
17577
- const pointer = err.instancePath || "/";
17578
- const keyword = err.keyword;
17579
- let code;
17580
- let detail;
17581
- switch (keyword) {
17582
- case "required":
17583
- code = "ADL-1003";
17584
- detail = `Missing required member: ${err.params?.missingProperty}`;
17585
- break;
17586
- case "type":
17587
- code = "ADL-1004";
17588
- detail = `Expected type ${err.params?.type} at ${pointer}`;
17589
- break;
17590
- case "enum":
17591
- code = "ADL-1005";
17592
- detail = `Invalid value at ${pointer}. Allowed: ${err.params?.allowedValues?.join(", ")}`;
17593
- break;
17594
- case "pattern":
17595
- code = "ADL-1006";
17596
- detail = `Value at ${pointer} does not match pattern: ${err.params?.pattern}`;
17597
- break;
17598
- case "additionalProperties":
17599
- code = "ADL-1004";
17600
- detail = `Unknown property "${err.params?.additionalProperty}" at ${pointer}`;
17601
- break;
17602
- case "format":
17603
- code = "ADL-1006";
17604
- detail = `Invalid format "${err.params?.format}" at ${pointer}`;
17605
- break;
17606
- default:
17607
- code = "ADL-1004";
17608
- detail = err.message ?? `Validation error at ${pointer}`;
17609
- }
17610
- errors2.push(createError(code, detail, { pointer }));
17611
- }
17612
- return errors2;
17613
- }
17614
- function semanticChecks(doc) {
17615
- const errors2 = [];
17616
- if (typeof doc.adl_spec === "string" && !SUPPORTED_VERSIONS.includes(doc.adl_spec)) {
17617
- errors2.push(createError("ADL-2001", `Unsupported ADL version "${doc.adl_spec}". Supported: ${SUPPORTED_VERSIONS.join(", ")}`, { pointer: "/adl_spec" }));
17618
- }
17619
- if (Array.isArray(doc.tools)) {
17620
- const toolNames = new Set;
17621
- for (let i = 0;i < doc.tools.length; i++) {
17622
- const tool = doc.tools[i];
17623
- const name = tool?.name;
17624
- if (typeof name === "string") {
17625
- if (toolNames.has(name)) {
17626
- errors2.push(createError("ADL-2002", `Duplicate tool name: "${name}"`, {
17627
- pointer: `/tools/${i}/name`
17628
- }));
17629
- }
17630
- toolNames.add(name);
17631
- }
17632
- }
17633
- }
17634
- if (Array.isArray(doc.resources)) {
17635
- const resourceNames = new Set;
17636
- for (let i = 0;i < doc.resources.length; i++) {
17637
- const resource = doc.resources[i];
17638
- const name = resource?.name;
17639
- if (typeof name === "string") {
17640
- if (resourceNames.has(name)) {
17641
- errors2.push(createError("ADL-2003", `Duplicate resource name: "${name}"`, {
17642
- pointer: `/resources/${i}/name`
17643
- }));
17644
- }
17645
- resourceNames.add(name);
17646
- }
17647
- }
17648
- }
17649
- if (Array.isArray(doc.prompts)) {
17650
- const promptNames = new Set;
17651
- for (let i = 0;i < doc.prompts.length; i++) {
17652
- const prompt = doc.prompts[i];
17653
- const name = prompt?.name;
17654
- if (typeof name === "string") {
17655
- if (promptNames.has(name)) {
17656
- errors2.push(createError("ADL-2004", `Duplicate prompt name: "${name}"`, {
17657
- pointer: `/prompts/${i}/name`
17658
- }));
17659
- }
17660
- promptNames.add(name);
17661
- }
17662
- }
17663
- }
17664
- const dataClassification = doc.data_classification;
17665
- if (dataClassification) {
17666
- const VALID_SENSITIVITIES = ["public", "internal", "confidential", "restricted"];
17667
- const VALID_CATEGORIES = ["pii", "phi", "financial", "credentials", "intellectual_property", "regulatory"];
17668
- if (typeof dataClassification.sensitivity === "string" && !VALID_SENSITIVITIES.includes(dataClassification.sensitivity)) {
17669
- errors2.push(createError("ADL-2020", `Invalid data classification sensitivity: "${dataClassification.sensitivity}". Valid: ${VALID_SENSITIVITIES.join(", ")}`, { pointer: "/data_classification/sensitivity" }));
17670
- }
17671
- if (Array.isArray(dataClassification.categories)) {
17672
- for (let i = 0;i < dataClassification.categories.length; i++) {
17673
- const cat = dataClassification.categories[i];
17674
- if (typeof cat === "string" && !VALID_CATEGORIES.includes(cat)) {
17675
- errors2.push(createError("ADL-2021", `Invalid data classification category: "${cat}". Valid: ${VALID_CATEGORIES.join(", ")}`, { pointer: `/data_classification/categories/${i}` }));
17676
- }
17677
- }
17678
- }
17679
- const retention = dataClassification.retention;
17680
- if (retention) {
17681
- const minDays = retention.min_days;
17682
- const maxDays = retention.max_days;
17683
- if (typeof minDays === "number" && typeof maxDays === "number" && minDays > maxDays) {
17684
- errors2.push(createError("ADL-2022", `Retention min_days (${minDays}) exceeds max_days (${maxDays})`, { pointer: "/data_classification/retention" }));
17685
- }
17686
- }
17687
- }
17688
- if (dataClassification && typeof dataClassification.sensitivity === "string") {
17689
- const SENSITIVITY_ORDER = {
17690
- public: 0,
17691
- internal: 1,
17692
- confidential: 2,
17693
- restricted: 3
17694
- };
17695
- const topLevel = SENSITIVITY_ORDER[dataClassification.sensitivity] ?? -1;
17696
- const checkItems = (items, kind) => {
17697
- if (!Array.isArray(items))
17698
- return;
17699
- for (let i = 0;i < items.length; i++) {
17700
- const item = items[i];
17701
- const itemDc = item?.data_classification;
17702
- if (itemDc && typeof itemDc.sensitivity === "string") {
17703
- const itemLevel = SENSITIVITY_ORDER[itemDc.sensitivity] ?? -1;
17704
- if (itemLevel > topLevel) {
17705
- errors2.push(createError("ADL-2023", `${kind}[${i}] sensitivity "${itemDc.sensitivity}" exceeds top-level sensitivity "${dataClassification.sensitivity}" (high-water mark violation)`, { pointer: `/${kind}/${i}/data_classification/sensitivity` }));
17706
- }
17611
+ // ../adl-core/dist/schemas/0.2.0.json
17612
+ var _0_2_0_default = {
17613
+ $schema: "https://json-schema.org/draft/2020-12/schema",
17614
+ $id: "https://adl-spec.org/0.2/schema.json",
17615
+ title: "ADL Document",
17616
+ description: "Agent Definition Language v0.2.0",
17617
+ $defs: {
17618
+ data_classification: {
17619
+ type: "object",
17620
+ required: ["sensitivity"],
17621
+ properties: {
17622
+ sensitivity: {
17623
+ type: "string",
17624
+ enum: ["public", "internal", "confidential", "restricted"],
17625
+ description: "Information sensitivity level (NIST FIPS 199 / ISO 27001)"
17626
+ },
17627
+ categories: {
17628
+ type: "array",
17629
+ items: {
17630
+ type: "string",
17631
+ enum: ["pii", "phi", "financial", "credentials", "intellectual_property", "regulatory"]
17632
+ },
17633
+ minItems: 1,
17634
+ description: "Broad information categories handled"
17635
+ },
17636
+ retention: {
17637
+ type: "object",
17638
+ properties: {
17639
+ min_days: { type: "number", minimum: 0 },
17640
+ max_days: { type: "number", minimum: 0 },
17641
+ policy_uri: { type: "string", format: "uri" },
17642
+ extensions: { $ref: "#/$defs/extensions" }
17643
+ },
17644
+ additionalProperties: false,
17645
+ description: "Data retention requirements"
17646
+ },
17647
+ handling: {
17648
+ type: "object",
17649
+ properties: {
17650
+ encryption_required: { type: "boolean" },
17651
+ anonymization_required: { type: "boolean" },
17652
+ cross_border_restricted: { type: "boolean" },
17653
+ logging_required: { type: "boolean" },
17654
+ extensions: { $ref: "#/$defs/extensions" }
17655
+ },
17656
+ additionalProperties: false,
17657
+ description: "Data handling constraints"
17658
+ },
17659
+ extensions: { $ref: "#/$defs/extensions" }
17660
+ },
17661
+ description: "Data classification (composable; profiles MAY add domain-specific sub-objects via schema composition)"
17662
+ },
17663
+ extensions: {
17664
+ type: "object",
17665
+ patternProperties: {
17666
+ "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$": {
17667
+ type: "object",
17668
+ additionalProperties: true
17707
17669
  }
17708
- }
17709
- };
17710
- checkItems(doc.tools ?? [], "tools");
17711
- checkItems(doc.resources ?? [], "resources");
17712
- }
17713
- const lifecycle = doc.lifecycle;
17714
- if (lifecycle) {
17715
- const effectiveDate = lifecycle.effective_date;
17716
- const sunsetDate = lifecycle.sunset_date;
17717
- if (effectiveDate && sunsetDate) {
17718
- const effective = new Date(effectiveDate);
17719
- const sunset = new Date(sunsetDate);
17720
- if (sunset <= effective) {
17721
- errors2.push(createError("ADL-5003", `sunset_date (${sunsetDate}) must be after effective_date (${effectiveDate})`, { pointer: "/lifecycle/sunset_date" }));
17722
- }
17670
+ },
17671
+ additionalProperties: false,
17672
+ description: "Vendor-namespaced extensions. Keys are reverse-domain identifiers."
17723
17673
  }
17724
- }
17725
- return errors2;
17674
+ },
17675
+ type: "object",
17676
+ required: ["adl_spec", "name", "description", "version", "data_classification"],
17677
+ properties: {
17678
+ adl_spec: {
17679
+ type: "string",
17680
+ pattern: "^\\d+\\.\\d+\\.\\d+$",
17681
+ description: "ADL specification version (semantic versioning)"
17682
+ },
17683
+ $schema: {
17684
+ type: "string",
17685
+ format: "uri",
17686
+ description: "URI to this JSON Schema"
17687
+ },
17688
+ name: {
17689
+ type: "string",
17690
+ minLength: 1,
17691
+ description: "Human-readable name for the agent"
17692
+ },
17693
+ description: {
17694
+ type: "string",
17695
+ minLength: 1,
17696
+ description: "Human-readable description of the agent's purpose and capabilities"
17697
+ },
17698
+ version: {
17699
+ type: "string",
17700
+ pattern: "^\\d+\\.\\d+\\.\\d+$",
17701
+ description: "Agent version (semantic versioning)"
17702
+ },
17703
+ lifecycle: {
17704
+ type: "object",
17705
+ required: ["status"],
17706
+ properties: {
17707
+ status: {
17708
+ type: "string",
17709
+ enum: ["draft", "active", "deprecated", "retired"],
17710
+ description: "Lifecycle state of the agent"
17711
+ },
17712
+ effective_date: {
17713
+ type: "string",
17714
+ format: "date-time",
17715
+ description: "ISO 8601 timestamp when current status took effect"
17716
+ },
17717
+ sunset_date: {
17718
+ type: "string",
17719
+ format: "date-time",
17720
+ description: "ISO 8601 timestamp for planned or actual retirement"
17721
+ },
17722
+ successor: {
17723
+ type: "string",
17724
+ format: "uri",
17725
+ description: "URI or URN of the replacement agent"
17726
+ },
17727
+ extensions: { $ref: "#/$defs/extensions" }
17728
+ },
17729
+ additionalProperties: false
17730
+ },
17731
+ id: {
17732
+ type: "string",
17733
+ description: "Unique identifier for the agent (URI or URN)"
17734
+ },
17735
+ provider: {
17736
+ type: "object",
17737
+ required: ["name"],
17738
+ properties: {
17739
+ name: { type: "string", minLength: 1 },
17740
+ url: { type: "string", format: "uri" },
17741
+ contact: { type: "string", format: "email" },
17742
+ extensions: { $ref: "#/$defs/extensions" }
17743
+ },
17744
+ additionalProperties: false,
17745
+ description: "Organization or entity that provides the agent"
17746
+ },
17747
+ cryptographic_identity: {
17748
+ type: "object",
17749
+ properties: {
17750
+ did: { type: "string" },
17751
+ public_key: {
17752
+ type: "object",
17753
+ required: ["algorithm", "value"],
17754
+ properties: {
17755
+ algorithm: { type: "string" },
17756
+ value: { type: "string" },
17757
+ extensions: { $ref: "#/$defs/extensions" }
17758
+ },
17759
+ additionalProperties: false
17760
+ },
17761
+ extensions: { $ref: "#/$defs/extensions" }
17762
+ },
17763
+ additionalProperties: false,
17764
+ description: "Cryptographic identification for the agent"
17765
+ },
17766
+ model: {
17767
+ type: "object",
17768
+ properties: {
17769
+ provider: { type: "string" },
17770
+ name: { type: "string" },
17771
+ version: { type: "string" },
17772
+ context_window: { type: "integer", minimum: 1 },
17773
+ temperature: { type: "number", minimum: 0, maximum: 2 },
17774
+ max_tokens: { type: "integer", minimum: 1 },
17775
+ capabilities: {
17776
+ type: "array",
17777
+ items: {
17778
+ type: "string",
17779
+ enum: ["function_calling", "vision", "code_execution", "streaming"]
17780
+ }
17781
+ },
17782
+ extensions: { $ref: "#/$defs/extensions" }
17783
+ },
17784
+ additionalProperties: false,
17785
+ description: "AI model configuration"
17786
+ },
17787
+ system_prompt: {
17788
+ oneOf: [
17789
+ { type: "string", minLength: 1 },
17790
+ {
17791
+ type: "object",
17792
+ required: ["template"],
17793
+ properties: {
17794
+ template: { type: "string", minLength: 1 },
17795
+ variables: { type: "object" },
17796
+ extensions: { $ref: "#/$defs/extensions" }
17797
+ },
17798
+ additionalProperties: false
17799
+ }
17800
+ ],
17801
+ description: "System prompt (string or template object)"
17802
+ },
17803
+ tools: {
17804
+ type: "array",
17805
+ items: {
17806
+ type: "object",
17807
+ required: ["name", "description"],
17808
+ properties: {
17809
+ name: {
17810
+ type: "string",
17811
+ pattern: "^[a-z][a-z0-9_]*$",
17812
+ description: "Unique tool name"
17813
+ },
17814
+ description: { type: "string", minLength: 1 },
17815
+ parameters: {
17816
+ type: "object",
17817
+ description: "JSON Schema for tool input parameters"
17818
+ },
17819
+ returns: {
17820
+ type: "object",
17821
+ description: "JSON Schema for tool return value"
17822
+ },
17823
+ examples: {
17824
+ type: "array",
17825
+ items: {
17826
+ type: "object",
17827
+ properties: {
17828
+ name: { type: "string" },
17829
+ input: { type: "object" },
17830
+ output: {},
17831
+ extensions: { $ref: "#/$defs/extensions" }
17832
+ },
17833
+ additionalProperties: false
17834
+ },
17835
+ description: "Example invocations"
17836
+ },
17837
+ requires_confirmation: { type: "boolean" },
17838
+ idempotent: { type: "boolean" },
17839
+ read_only: { type: "boolean" },
17840
+ annotations: {
17841
+ type: "object",
17842
+ properties: {
17843
+ openapi_ref: { type: "string", format: "uri" },
17844
+ operation_id: { type: "string" }
17845
+ },
17846
+ additionalProperties: true,
17847
+ description: "Implementation hints and metadata (open object)"
17848
+ },
17849
+ data_classification: {
17850
+ $ref: "#/$defs/data_classification"
17851
+ },
17852
+ extensions: { $ref: "#/$defs/extensions" }
17853
+ },
17854
+ additionalProperties: false
17855
+ },
17856
+ description: "Tools (functions) the agent can invoke"
17857
+ },
17858
+ resources: {
17859
+ type: "array",
17860
+ items: {
17861
+ type: "object",
17862
+ required: ["name", "type"],
17863
+ properties: {
17864
+ name: { type: "string", minLength: 1 },
17865
+ type: {
17866
+ type: "string",
17867
+ enum: ["vector_store", "knowledge_base", "file", "api", "database"]
17868
+ },
17869
+ description: { type: "string" },
17870
+ uri: { type: "string", format: "uri" },
17871
+ mime_types: {
17872
+ type: "array",
17873
+ items: { type: "string" }
17874
+ },
17875
+ schema: {
17876
+ type: "object",
17877
+ description: "JSON Schema describing the resource's data structure"
17878
+ },
17879
+ annotations: {
17880
+ type: "object",
17881
+ additionalProperties: true,
17882
+ description: "Implementation hints and metadata (open object)"
17883
+ },
17884
+ data_classification: {
17885
+ $ref: "#/$defs/data_classification"
17886
+ },
17887
+ extensions: { $ref: "#/$defs/extensions" }
17888
+ },
17889
+ additionalProperties: false
17890
+ },
17891
+ description: "Data sources the agent can access"
17892
+ },
17893
+ prompts: {
17894
+ type: "array",
17895
+ items: {
17896
+ type: "object",
17897
+ required: ["name", "template"],
17898
+ properties: {
17899
+ name: { type: "string", minLength: 1 },
17900
+ template: { type: "string", minLength: 1 },
17901
+ description: { type: "string" },
17902
+ arguments: {
17903
+ type: "object",
17904
+ description: "JSON Schema for template arguments"
17905
+ },
17906
+ extensions: { $ref: "#/$defs/extensions" }
17907
+ },
17908
+ additionalProperties: false
17909
+ },
17910
+ description: "Reusable prompt templates"
17911
+ },
17912
+ permissions: {
17913
+ type: "object",
17914
+ properties: {
17915
+ network: {
17916
+ type: "object",
17917
+ properties: {
17918
+ allowed_hosts: {
17919
+ type: "array",
17920
+ items: { type: "string" },
17921
+ description: "Host patterns (see Section 4.4)"
17922
+ },
17923
+ allowed_ports: {
17924
+ type: "array",
17925
+ items: { type: "integer", minimum: 1, maximum: 65535 }
17926
+ },
17927
+ allowed_protocols: {
17928
+ type: "array",
17929
+ items: { type: "string" }
17930
+ },
17931
+ deny_private: { type: "boolean" },
17932
+ extensions: { $ref: "#/$defs/extensions" }
17933
+ },
17934
+ additionalProperties: false
17935
+ },
17936
+ filesystem: {
17937
+ type: "object",
17938
+ properties: {
17939
+ allowed_paths: {
17940
+ type: "array",
17941
+ items: {
17942
+ type: "object",
17943
+ required: ["path", "access"],
17944
+ properties: {
17945
+ path: { type: "string" },
17946
+ access: {
17947
+ type: "string",
17948
+ enum: ["read", "write", "read_write"]
17949
+ }
17950
+ },
17951
+ additionalProperties: false
17952
+ }
17953
+ },
17954
+ denied_paths: {
17955
+ type: "array",
17956
+ items: { type: "string" },
17957
+ description: "Path patterns to deny (see Section 4.4)"
17958
+ },
17959
+ extensions: { $ref: "#/$defs/extensions" }
17960
+ },
17961
+ additionalProperties: false
17962
+ },
17963
+ environment: {
17964
+ type: "object",
17965
+ properties: {
17966
+ allowed_variables: {
17967
+ type: "array",
17968
+ items: { type: "string" },
17969
+ description: "Variable name patterns (see Section 4.4)"
17970
+ },
17971
+ denied_variables: {
17972
+ type: "array",
17973
+ items: { type: "string" },
17974
+ description: "Variable name patterns to deny (see Section 4.4)"
17975
+ },
17976
+ extensions: { $ref: "#/$defs/extensions" }
17977
+ },
17978
+ additionalProperties: false
17979
+ },
17980
+ execution: {
17981
+ type: "object",
17982
+ properties: {
17983
+ allowed_commands: {
17984
+ type: "array",
17985
+ items: { type: "string" }
17986
+ },
17987
+ denied_commands: {
17988
+ type: "array",
17989
+ items: { type: "string" }
17990
+ },
17991
+ allow_shell: { type: "boolean" },
17992
+ extensions: { $ref: "#/$defs/extensions" }
17993
+ },
17994
+ additionalProperties: false
17995
+ },
17996
+ resource_limits: {
17997
+ type: "object",
17998
+ properties: {
17999
+ max_memory_mb: { type: "number", minimum: 0 },
18000
+ max_cpu_percent: { type: "number", minimum: 0, maximum: 100 },
18001
+ max_duration_sec: { type: "number", minimum: 0 },
18002
+ max_concurrent: { type: "integer", minimum: 1 },
18003
+ extensions: { $ref: "#/$defs/extensions" }
18004
+ },
18005
+ additionalProperties: false
18006
+ },
18007
+ extensions: { $ref: "#/$defs/extensions" }
18008
+ },
18009
+ additionalProperties: false,
18010
+ description: "Agent operational boundaries (deny-by-default)"
18011
+ },
18012
+ security: {
18013
+ type: "object",
18014
+ properties: {
18015
+ authentication: {
18016
+ type: "object",
18017
+ properties: {
18018
+ type: {
18019
+ type: "string",
18020
+ enum: ["none", "api_key", "oauth2", "oidc", "mtls"]
18021
+ },
18022
+ required: { type: "boolean" },
18023
+ scopes: { type: "array", items: { type: "string" } },
18024
+ token_endpoint: { type: "string", format: "uri" },
18025
+ issuer: { type: "string" },
18026
+ audience: { type: "string" },
18027
+ extensions: { $ref: "#/$defs/extensions" }
18028
+ },
18029
+ additionalProperties: false
18030
+ },
18031
+ encryption: {
18032
+ type: "object",
18033
+ properties: {
18034
+ in_transit: {
18035
+ type: "object",
18036
+ properties: {
18037
+ required: { type: "boolean" },
18038
+ min_version: { type: "string" },
18039
+ extensions: { $ref: "#/$defs/extensions" }
18040
+ },
18041
+ additionalProperties: false
18042
+ },
18043
+ at_rest: {
18044
+ type: "object",
18045
+ properties: {
18046
+ required: { type: "boolean" },
18047
+ algorithm: { type: "string" },
18048
+ extensions: { $ref: "#/$defs/extensions" }
18049
+ },
18050
+ additionalProperties: false
18051
+ },
18052
+ extensions: { $ref: "#/$defs/extensions" }
18053
+ },
18054
+ additionalProperties: false
18055
+ },
18056
+ attestation: {
18057
+ type: "object",
18058
+ properties: {
18059
+ type: {
18060
+ type: "string",
18061
+ enum: ["self", "third_party", "verifiable_credential"]
18062
+ },
18063
+ issuer: { type: "string" },
18064
+ issued_at: { type: "string", format: "date-time" },
18065
+ expires_at: { type: "string", format: "date-time" },
18066
+ signature: {
18067
+ type: "object",
18068
+ required: ["algorithm", "value", "signed_content"],
18069
+ properties: {
18070
+ algorithm: { type: "string" },
18071
+ value: { type: "string" },
18072
+ signed_content: {
18073
+ type: "string",
18074
+ enum: ["canonical", "digest"]
18075
+ },
18076
+ digest_algorithm: { type: "string" },
18077
+ digest_value: { type: "string" },
18078
+ extensions: { $ref: "#/$defs/extensions" }
18079
+ },
18080
+ additionalProperties: false
18081
+ },
18082
+ extensions: { $ref: "#/$defs/extensions" }
18083
+ },
18084
+ additionalProperties: false
18085
+ },
18086
+ extensions: { $ref: "#/$defs/extensions" }
18087
+ },
18088
+ additionalProperties: false,
18089
+ description: "Security requirements"
18090
+ },
18091
+ data_classification: {
18092
+ $ref: "#/$defs/data_classification"
18093
+ },
18094
+ runtime: {
18095
+ type: "object",
18096
+ properties: {
18097
+ input_handling: {
18098
+ type: "object",
18099
+ properties: {
18100
+ max_input_length: { type: "integer", minimum: 1 },
18101
+ content_types: {
18102
+ type: "array",
18103
+ items: { type: "string" },
18104
+ description: "Accepted MIME types (e.g., text/plain, application/json)"
18105
+ },
18106
+ sanitization: {
18107
+ type: "object",
18108
+ properties: {
18109
+ enabled: { type: "boolean" },
18110
+ strip_html: { type: "boolean" },
18111
+ max_input_length: { type: "integer", minimum: 1 },
18112
+ extensions: { $ref: "#/$defs/extensions" }
18113
+ },
18114
+ additionalProperties: false
18115
+ },
18116
+ extensions: { $ref: "#/$defs/extensions" }
18117
+ },
18118
+ additionalProperties: false
18119
+ },
18120
+ output_handling: {
18121
+ type: "object",
18122
+ properties: {
18123
+ max_output_length: { type: "integer", minimum: 1 },
18124
+ format: {
18125
+ type: "string",
18126
+ enum: ["text", "json", "markdown", "html"]
18127
+ },
18128
+ streaming: { type: "boolean" },
18129
+ extensions: { $ref: "#/$defs/extensions" }
18130
+ },
18131
+ additionalProperties: false
18132
+ },
18133
+ tool_invocation: {
18134
+ type: "object",
18135
+ properties: {
18136
+ parallel: { type: "boolean" },
18137
+ max_concurrent: { type: "integer", minimum: 1 },
18138
+ timeout_ms: { type: "integer", minimum: 0 },
18139
+ retry_policy: {
18140
+ type: "object",
18141
+ properties: {
18142
+ max_retries: { type: "integer", minimum: 0 },
18143
+ backoff_strategy: {
18144
+ type: "string",
18145
+ enum: ["fixed", "exponential", "linear"]
18146
+ },
18147
+ initial_delay_ms: { type: "integer", minimum: 0 },
18148
+ max_delay_ms: { type: "integer", minimum: 0 },
18149
+ extensions: { $ref: "#/$defs/extensions" }
18150
+ },
18151
+ additionalProperties: false
18152
+ },
18153
+ extensions: { $ref: "#/$defs/extensions" }
18154
+ },
18155
+ additionalProperties: false
18156
+ },
18157
+ error_handling: {
18158
+ type: "object",
18159
+ properties: {
18160
+ on_tool_error: {
18161
+ type: "string",
18162
+ enum: ["abort", "continue", "retry"]
18163
+ },
18164
+ max_retries: { type: "integer", minimum: 0 },
18165
+ fallback_behavior: {
18166
+ type: "object",
18167
+ properties: {
18168
+ action: {
18169
+ type: "string",
18170
+ enum: ["return_error", "use_default", "skip"]
18171
+ },
18172
+ default: {
18173
+ description: "Default value when action is use_default"
18174
+ },
18175
+ message: { type: "string" },
18176
+ extensions: { $ref: "#/$defs/extensions" }
18177
+ },
18178
+ additionalProperties: false
18179
+ },
18180
+ extensions: { $ref: "#/$defs/extensions" }
18181
+ },
18182
+ additionalProperties: false
18183
+ },
18184
+ extensions: { $ref: "#/$defs/extensions" }
18185
+ },
18186
+ additionalProperties: false,
18187
+ description: "Runtime behavior configuration"
18188
+ },
18189
+ metadata: {
18190
+ type: "object",
18191
+ properties: {
18192
+ authors: {
18193
+ type: "array",
18194
+ items: {
18195
+ type: "object",
18196
+ properties: {
18197
+ name: { type: "string" },
18198
+ email: { type: "string", format: "email" },
18199
+ url: { type: "string", format: "uri" },
18200
+ extensions: { $ref: "#/$defs/extensions" }
18201
+ },
18202
+ additionalProperties: false
18203
+ }
18204
+ },
18205
+ license: { type: "string" },
18206
+ documentation: { type: "string", format: "uri" },
18207
+ repository: { type: "string", format: "uri" },
18208
+ tags: {
18209
+ type: "array",
18210
+ items: {
18211
+ type: "string",
18212
+ pattern: "^[a-z0-9][a-z0-9-]*$"
18213
+ }
18214
+ },
18215
+ extensions: { $ref: "#/$defs/extensions" }
18216
+ },
18217
+ additionalProperties: false,
18218
+ description: "Additional metadata"
18219
+ },
18220
+ profiles: {
18221
+ type: "array",
18222
+ items: { type: "string" },
18223
+ description: "Profile identifiers (URIs or registered names)"
18224
+ },
18225
+ extensions: { $ref: "#/$defs/extensions" }
18226
+ }
18227
+ };
18228
+
18229
+ // ../adl-core/dist/schemas/registry.js
18230
+ var SCHEMAS = {
18231
+ "0.1.0": _0_1_0_default,
18232
+ "0.2.0": _0_2_0_default
18233
+ };
18234
+ var SUPPORTED_VERSIONS = Object.keys(SCHEMAS);
18235
+ function getSchema(version) {
18236
+ return SCHEMAS[version];
17726
18237
  }
17727
18238
 
17728
- // src/commands/validate.ts
17729
- function registerValidateCommand(program2) {
17730
- program2.command("validate").description("Validate ADL document(s) against the schema").argument("<files...>", "ADL document file(s) to validate").action(async (files) => {
17731
- let hasErrors = false;
17732
- for (const file of files) {
17733
- const { data, errors: loadErrors } = loadDocument(file);
17734
- if (loadErrors.length > 0) {
17735
- console.error(formatErrorsTerminal(file, loadErrors));
17736
- hasErrors = true;
17737
- continue;
18239
+ // ../adl-core/dist/validate/schema-validator.js
18240
+ function validateSchema(doc) {
18241
+ const version = doc.adl_spec;
18242
+ const schema = getSchema(version);
18243
+ if (!schema) {
18244
+ return validateAgainstSchema(doc, getSchema("0.2.0"));
18245
+ }
18246
+ return validateAgainstSchema(doc, schema);
18247
+ }
18248
+ function validateAgainstSchema(doc, schema) {
18249
+ const ajv = new import__2020.default({ allErrors: true, strict: false });
18250
+ import_ajv_formats.default(ajv);
18251
+ const validate = ajv.compile(schema);
18252
+ const valid = validate(doc);
18253
+ if (valid)
18254
+ return [];
18255
+ const errors2 = [];
18256
+ for (const err of validate.errors ?? []) {
18257
+ const pointer = err.instancePath || "/";
18258
+ const keyword = err.keyword;
18259
+ let code;
18260
+ let detail;
18261
+ switch (keyword) {
18262
+ case "required":
18263
+ code = "ADL-1003";
18264
+ detail = `Missing required member: ${err.params?.missingProperty}`;
18265
+ break;
18266
+ case "type":
18267
+ code = "ADL-1004";
18268
+ detail = `Expected type ${err.params?.type} at ${pointer}`;
18269
+ break;
18270
+ case "enum":
18271
+ code = "ADL-1005";
18272
+ detail = `Invalid value at ${pointer}. Allowed: ${err.params?.allowedValues?.join(", ")}`;
18273
+ break;
18274
+ case "pattern":
18275
+ code = "ADL-1006";
18276
+ detail = `Value at ${pointer} does not match pattern: ${err.params?.pattern}`;
18277
+ break;
18278
+ case "additionalProperties":
18279
+ code = "ADL-1004";
18280
+ detail = `Unknown property "${err.params?.additionalProperty}" at ${pointer}`;
18281
+ break;
18282
+ case "format":
18283
+ code = "ADL-1006";
18284
+ detail = `Invalid format "${err.params?.format}" at ${pointer}`;
18285
+ break;
18286
+ default:
18287
+ code = "ADL-1004";
18288
+ detail = err.message ?? `Validation error at ${pointer}`;
18289
+ }
18290
+ errors2.push(createError(code, detail, { pointer }));
18291
+ }
18292
+ return errors2;
18293
+ }
18294
+
18295
+ // ../adl-core/dist/validate/rules/duplicates.js
18296
+ function checkDuplicates(doc) {
18297
+ const errors2 = [];
18298
+ if (doc.tools) {
18299
+ const seen = new Set;
18300
+ for (let i = 0;i < doc.tools.length; i++) {
18301
+ const name = doc.tools[i].name;
18302
+ if (seen.has(name)) {
18303
+ errors2.push(createError("ADL-2002", `Duplicate tool name: "${name}"`, {
18304
+ pointer: `/tools/${i}/name`
18305
+ }));
17738
18306
  }
17739
- const validationErrors = validateDocument(data);
17740
- if (validationErrors.length > 0) {
17741
- console.error(formatErrorsTerminal(file, validationErrors));
17742
- hasErrors = true;
17743
- } else {
17744
- console.log(source_default.green("✓") + " " + source_default.bold(file) + " is valid");
18307
+ seen.add(name);
18308
+ }
18309
+ }
18310
+ if (doc.resources) {
18311
+ const seen = new Set;
18312
+ for (let i = 0;i < doc.resources.length; i++) {
18313
+ const name = doc.resources[i].name;
18314
+ if (seen.has(name)) {
18315
+ errors2.push(createError("ADL-2003", `Duplicate resource name: "${name}"`, {
18316
+ pointer: `/resources/${i}/name`
18317
+ }));
17745
18318
  }
18319
+ seen.add(name);
17746
18320
  }
17747
- if (hasErrors) {
17748
- process.exit(1);
18321
+ }
18322
+ if (doc.prompts) {
18323
+ const seen = new Set;
18324
+ for (let i = 0;i < doc.prompts.length; i++) {
18325
+ const name = doc.prompts[i].name;
18326
+ if (seen.has(name)) {
18327
+ errors2.push(createError("ADL-2004", `Duplicate prompt name: "${name}"`, {
18328
+ pointer: `/prompts/${i}/name`
18329
+ }));
18330
+ }
18331
+ seen.add(name);
17749
18332
  }
17750
- });
18333
+ }
18334
+ return errors2;
17751
18335
  }
17752
18336
 
17753
- // src/commands/convert.ts
17754
- import * as fs2 from "node:fs";
18337
+ // ../adl-core/dist/validate/rules/data-classification.js
18338
+ var VALID_SENSITIVITIES = [
18339
+ "public",
18340
+ "internal",
18341
+ "confidential",
18342
+ "restricted"
18343
+ ];
18344
+ var VALID_CATEGORIES = [
18345
+ "pii",
18346
+ "phi",
18347
+ "financial",
18348
+ "credentials",
18349
+ "intellectual_property",
18350
+ "regulatory"
18351
+ ];
18352
+ var SENSITIVITY_ORDER = {
18353
+ public: 0,
18354
+ internal: 1,
18355
+ confidential: 2,
18356
+ restricted: 3
18357
+ };
18358
+ function checkDataClassification(doc) {
18359
+ const errors2 = [];
18360
+ const dc = doc.data_classification;
18361
+ if (!dc)
18362
+ return errors2;
18363
+ if (dc.sensitivity && !VALID_SENSITIVITIES.includes(dc.sensitivity)) {
18364
+ errors2.push(createError("ADL-2020", `Invalid data classification sensitivity: "${dc.sensitivity}". Valid: ${VALID_SENSITIVITIES.join(", ")}`, { pointer: "/data_classification/sensitivity" }));
18365
+ }
18366
+ if (dc.categories) {
18367
+ for (let i = 0;i < dc.categories.length; i++) {
18368
+ const cat = dc.categories[i];
18369
+ if (!VALID_CATEGORIES.includes(cat)) {
18370
+ errors2.push(createError("ADL-2021", `Invalid data classification category: "${cat}". Valid: ${VALID_CATEGORIES.join(", ")}`, { pointer: `/data_classification/categories/${i}` }));
18371
+ }
18372
+ }
18373
+ }
18374
+ if (dc.retention) {
18375
+ const { min_days, max_days } = dc.retention;
18376
+ if (typeof min_days === "number" && typeof max_days === "number" && min_days > max_days) {
18377
+ errors2.push(createError("ADL-2022", `Retention min_days (${min_days}) exceeds max_days (${max_days})`, { pointer: "/data_classification/retention" }));
18378
+ }
18379
+ }
18380
+ if (dc.sensitivity) {
18381
+ const topLevel = SENSITIVITY_ORDER[dc.sensitivity] ?? -1;
18382
+ const checkItems = (items, kind) => {
18383
+ if (!items)
18384
+ return;
18385
+ for (let i = 0;i < items.length; i++) {
18386
+ const itemDc = items[i].data_classification;
18387
+ if (itemDc?.sensitivity) {
18388
+ const itemLevel = SENSITIVITY_ORDER[itemDc.sensitivity] ?? -1;
18389
+ if (itemLevel > topLevel) {
18390
+ errors2.push(createError("ADL-2023", `${kind}[${i}] sensitivity "${itemDc.sensitivity}" exceeds top-level sensitivity "${dc.sensitivity}" (high-water mark violation)`, {
18391
+ pointer: `/${kind}/${i}/data_classification/sensitivity`
18392
+ }));
18393
+ }
18394
+ }
18395
+ }
18396
+ };
18397
+ checkItems(doc.tools, "tools");
18398
+ checkItems(doc.resources, "resources");
18399
+ }
18400
+ return errors2;
18401
+ }
17755
18402
 
17756
- // src/converters/a2a.ts
18403
+ // ../adl-core/dist/validate/rules/lifecycle.js
18404
+ var VALID_LIFECYCLE_STATUSES = ["draft", "active", "deprecated", "retired"];
18405
+ function checkLifecycle(doc) {
18406
+ const errors2 = [];
18407
+ const lifecycle = doc.lifecycle;
18408
+ if (!lifecycle)
18409
+ return errors2;
18410
+ if (lifecycle.status && !VALID_LIFECYCLE_STATUSES.includes(lifecycle.status)) {
18411
+ errors2.push(createError("ADL-5001", `Invalid lifecycle status "${lifecycle.status}". Valid: ${VALID_LIFECYCLE_STATUSES.join(", ")}`, { pointer: "/lifecycle/status" }));
18412
+ }
18413
+ if (lifecycle.successor) {
18414
+ const status = lifecycle.status;
18415
+ if (status === "draft" || status === "active") {
18416
+ errors2.push(createError("ADL-5002", `Successor is only valid when lifecycle status is "deprecated" or "retired", got "${status}"`, { pointer: "/lifecycle/successor" }));
18417
+ }
18418
+ }
18419
+ if (lifecycle.effective_date && lifecycle.sunset_date) {
18420
+ const effective = new Date(lifecycle.effective_date);
18421
+ const sunset = new Date(lifecycle.sunset_date);
18422
+ if (sunset <= effective) {
18423
+ errors2.push(createError("ADL-5003", `sunset_date (${lifecycle.sunset_date}) must be after effective_date (${lifecycle.effective_date})`, { pointer: "/lifecycle/sunset_date" }));
18424
+ }
18425
+ }
18426
+ return errors2;
18427
+ }
18428
+
18429
+ // ../adl-core/dist/validate/rules/patterns.js
18430
+ function checkPatterns(doc) {
18431
+ const errors2 = [];
18432
+ if (doc.adl_spec && !SUPPORTED_VERSIONS.includes(doc.adl_spec)) {
18433
+ errors2.push(createError("ADL-2001", `Unsupported ADL version "${doc.adl_spec}". Supported: ${SUPPORTED_VERSIONS.join(", ")}`, { pointer: "/adl_spec" }));
18434
+ }
18435
+ return errors2;
18436
+ }
18437
+
18438
+ // ../adl-core/dist/validate/rules/model-and-enums.js
18439
+ var TOOL_NAME_PATTERN = /^[a-z][a-z0-9_]*$/;
18440
+ var VALID_RESOURCE_TYPES = [
18441
+ "vector_store",
18442
+ "knowledge_base",
18443
+ "file",
18444
+ "api",
18445
+ "database"
18446
+ ];
18447
+ var VALID_AUTH_TYPES = ["none", "api_key", "oauth2", "oidc", "mtls"];
18448
+ var VALID_ATTESTATION_TYPES = [
18449
+ "self",
18450
+ "third_party",
18451
+ "verifiable_credential"
18452
+ ];
18453
+ var VALID_ERROR_ACTIONS = ["abort", "continue", "retry"];
18454
+ var VALID_OUTPUT_FORMATS = ["text", "json", "markdown", "html"];
18455
+ var VALID_CAPABILITIES = [
18456
+ "function_calling",
18457
+ "vision",
18458
+ "code_execution",
18459
+ "streaming"
18460
+ ];
18461
+ function checkModelAndEnums(doc) {
18462
+ const errors2 = [];
18463
+ if (doc.tools) {
18464
+ for (let i = 0;i < doc.tools.length; i++) {
18465
+ const name = doc.tools[i].name;
18466
+ if (typeof name === "string" && !TOOL_NAME_PATTERN.test(name)) {
18467
+ errors2.push(createError("ADL-2008", `Tool name "${name}" does not match pattern ^[a-z][a-z0-9_]*$`, { pointer: `/tools/${i}/name` }));
18468
+ }
18469
+ }
18470
+ }
18471
+ if (doc.resources) {
18472
+ for (let i = 0;i < doc.resources.length; i++) {
18473
+ const type = doc.resources[i].type;
18474
+ if (typeof type === "string" && !VALID_RESOURCE_TYPES.includes(type)) {
18475
+ errors2.push(createError("ADL-2009", `Invalid resource type "${type}". Valid: ${VALID_RESOURCE_TYPES.join(", ")}`, { pointer: `/resources/${i}/type` }));
18476
+ }
18477
+ }
18478
+ }
18479
+ if (doc.model?.temperature !== undefined) {
18480
+ const temp = doc.model.temperature;
18481
+ if (typeof temp === "number" && (temp < 0 || temp > 2)) {
18482
+ errors2.push(createError("ADL-2010", `Temperature ${temp} is out of range. Must be between 0.0 and 2.0`, { pointer: "/model/temperature" }));
18483
+ }
18484
+ }
18485
+ if (doc.security?.authentication?.type) {
18486
+ const type = doc.security.authentication.type;
18487
+ if (!VALID_AUTH_TYPES.includes(type)) {
18488
+ errors2.push(createError("ADL-2011", `Invalid authentication type "${type}". Valid: ${VALID_AUTH_TYPES.join(", ")}`, { pointer: "/security/authentication/type" }));
18489
+ }
18490
+ }
18491
+ if (doc.security?.attestation?.type) {
18492
+ const type = doc.security.attestation.type;
18493
+ if (!VALID_ATTESTATION_TYPES.includes(type)) {
18494
+ errors2.push(createError("ADL-2012", `Invalid attestation type "${type}". Valid: ${VALID_ATTESTATION_TYPES.join(", ")}`, { pointer: "/security/attestation/type" }));
18495
+ }
18496
+ }
18497
+ if (doc.runtime?.error_handling?.on_tool_error) {
18498
+ const action = doc.runtime.error_handling.on_tool_error;
18499
+ if (!VALID_ERROR_ACTIONS.includes(action)) {
18500
+ errors2.push(createError("ADL-2013", `Invalid error handling action "${action}". Valid: ${VALID_ERROR_ACTIONS.join(", ")}`, { pointer: "/runtime/error_handling/on_tool_error" }));
18501
+ }
18502
+ }
18503
+ if (doc.runtime?.output_handling?.format) {
18504
+ const format = doc.runtime.output_handling.format;
18505
+ if (!VALID_OUTPUT_FORMATS.includes(format)) {
18506
+ errors2.push(createError("ADL-2014", `Invalid output format "${format}". Valid: ${VALID_OUTPUT_FORMATS.join(", ")}`, { pointer: "/runtime/output_handling/format" }));
18507
+ }
18508
+ }
18509
+ if (doc.model?.capabilities) {
18510
+ for (let i = 0;i < doc.model.capabilities.length; i++) {
18511
+ const cap = doc.model.capabilities[i];
18512
+ if (!VALID_CAPABILITIES.includes(cap)) {
18513
+ errors2.push(createError("ADL-2015", `Invalid model capability "${cap}". Valid: ${VALID_CAPABILITIES.join(", ")}`, { pointer: `/model/capabilities/${i}` }));
18514
+ }
18515
+ }
18516
+ }
18517
+ return errors2;
18518
+ }
18519
+
18520
+ // ../adl-core/dist/validate/rules/formats.js
18521
+ function isValidDateTime(value) {
18522
+ const date = new Date(value);
18523
+ if (isNaN(date.getTime()))
18524
+ return false;
18525
+ return /^\d{4}-\d{2}-\d{2}/.test(value);
18526
+ }
18527
+ function isValidURI(value) {
18528
+ return /^[a-zA-Z][a-zA-Z0-9+\-.]*:/.test(value);
18529
+ }
18530
+ function isPlausibleJsonSchema(value) {
18531
+ return typeof value === "object" && value !== null && !Array.isArray(value);
18532
+ }
18533
+ function checkFormats(doc) {
18534
+ const errors2 = [];
18535
+ const timestampFields = [
18536
+ {
18537
+ value: doc.lifecycle?.effective_date,
18538
+ pointer: "/lifecycle/effective_date"
18539
+ },
18540
+ { value: doc.lifecycle?.sunset_date, pointer: "/lifecycle/sunset_date" },
18541
+ {
18542
+ value: doc.security?.attestation?.issued_at,
18543
+ pointer: "/security/attestation/issued_at"
18544
+ },
18545
+ {
18546
+ value: doc.security?.attestation?.expires_at,
18547
+ pointer: "/security/attestation/expires_at"
18548
+ }
18549
+ ];
18550
+ for (const { value, pointer } of timestampFields) {
18551
+ if (typeof value === "string" && !isValidDateTime(value)) {
18552
+ errors2.push(createError("ADL-2005", `Invalid timestamp format: "${value}" at ${pointer}`, { pointer }));
18553
+ }
18554
+ }
18555
+ const uriFields = [
18556
+ { value: doc.id, pointer: "/id" },
18557
+ { value: doc.provider?.url, pointer: "/provider/url" },
18558
+ { value: doc.metadata?.documentation, pointer: "/metadata/documentation" },
18559
+ { value: doc.metadata?.repository, pointer: "/metadata/repository" },
18560
+ {
18561
+ value: doc.security?.authentication?.token_endpoint,
18562
+ pointer: "/security/authentication/token_endpoint"
18563
+ },
18564
+ { value: doc.lifecycle?.successor, pointer: "/lifecycle/successor" }
18565
+ ];
18566
+ for (const { value, pointer } of uriFields) {
18567
+ if (typeof value === "string" && value.length > 0 && !isValidURI(value)) {
18568
+ errors2.push(createError("ADL-2006", `Invalid URI format: "${value}" at ${pointer}`, { pointer }));
18569
+ }
18570
+ }
18571
+ if (doc.resources) {
18572
+ for (let i = 0;i < doc.resources.length; i++) {
18573
+ const uri = doc.resources[i].uri;
18574
+ if (typeof uri === "string" && uri.length > 0 && !isValidURI(uri)) {
18575
+ errors2.push(createError("ADL-2006", `Invalid URI format: "${uri}" at /resources/${i}/uri`, { pointer: `/resources/${i}/uri` }));
18576
+ }
18577
+ }
18578
+ }
18579
+ if (doc.tools) {
18580
+ for (let i = 0;i < doc.tools.length; i++) {
18581
+ const tool = doc.tools[i];
18582
+ if (tool.parameters !== undefined && !isPlausibleJsonSchema(tool.parameters)) {
18583
+ errors2.push(createError("ADL-2007", `Tool "${tool.name}" parameters must be a valid JSON Schema object`, { pointer: `/tools/${i}/parameters` }));
18584
+ }
18585
+ if (tool.returns !== undefined && !isPlausibleJsonSchema(tool.returns)) {
18586
+ errors2.push(createError("ADL-2007", `Tool "${tool.name}" returns must be a valid JSON Schema object`, { pointer: `/tools/${i}/returns` }));
18587
+ }
18588
+ }
18589
+ }
18590
+ return errors2;
18591
+ }
18592
+
18593
+ // ../adl-core/dist/validate/rules/permissions.js
18594
+ var VALID_PATTERN_CHARS = /^[\x21-\x7e]+$/;
18595
+ function validateNonFsPattern(pattern) {
18596
+ if (pattern.length === 0) {
18597
+ return { valid: false, reason: "Pattern must not be empty" };
18598
+ }
18599
+ if (!VALID_PATTERN_CHARS.test(pattern)) {
18600
+ return {
18601
+ valid: false,
18602
+ reason: "Pattern contains invalid characters (must be printable ASCII)"
18603
+ };
18604
+ }
18605
+ if (pattern.includes("**")) {
18606
+ return {
18607
+ valid: false,
18608
+ reason: "Multi-segment wildcard '**' is not allowed in this pattern context"
18609
+ };
18610
+ }
18611
+ return { valid: true };
18612
+ }
18613
+ function validateFsPattern(pattern) {
18614
+ if (pattern.length === 0) {
18615
+ return { valid: false, reason: "Pattern must not be empty" };
18616
+ }
18617
+ if (!VALID_PATTERN_CHARS.test(pattern)) {
18618
+ return {
18619
+ valid: false,
18620
+ reason: "Pattern contains invalid characters (must be printable ASCII)"
18621
+ };
18622
+ }
18623
+ return { valid: true };
18624
+ }
18625
+ function checkPermissions(doc) {
18626
+ const errors2 = [];
18627
+ if (doc.permissions?.network?.allowed_hosts) {
18628
+ for (let i = 0;i < doc.permissions.network.allowed_hosts.length; i++) {
18629
+ const pattern = doc.permissions.network.allowed_hosts[i];
18630
+ const result = validateNonFsPattern(pattern);
18631
+ if (!result.valid) {
18632
+ errors2.push(createError("ADL-2016", `Invalid host pattern "${pattern}": ${result.reason}`, { pointer: `/permissions/network/allowed_hosts/${i}` }));
18633
+ }
18634
+ }
18635
+ }
18636
+ if (doc.permissions?.filesystem?.allowed_paths) {
18637
+ for (let i = 0;i < doc.permissions.filesystem.allowed_paths.length; i++) {
18638
+ const pathEntry = doc.permissions.filesystem.allowed_paths[i];
18639
+ const result = validateFsPattern(pathEntry.path);
18640
+ if (!result.valid) {
18641
+ errors2.push(createError("ADL-2017", `Invalid filesystem path pattern "${pathEntry.path}": ${result.reason}`, { pointer: `/permissions/filesystem/allowed_paths/${i}/path` }));
18642
+ }
18643
+ }
18644
+ }
18645
+ if (doc.permissions?.filesystem?.denied_paths) {
18646
+ for (let i = 0;i < doc.permissions.filesystem.denied_paths.length; i++) {
18647
+ const pattern = doc.permissions.filesystem.denied_paths[i];
18648
+ const result = validateFsPattern(pattern);
18649
+ if (!result.valid) {
18650
+ errors2.push(createError("ADL-2017", `Invalid filesystem denied path pattern "${pattern}": ${result.reason}`, { pointer: `/permissions/filesystem/denied_paths/${i}` }));
18651
+ }
18652
+ }
18653
+ }
18654
+ if (doc.permissions?.environment?.allowed_variables) {
18655
+ for (let i = 0;i < doc.permissions.environment.allowed_variables.length; i++) {
18656
+ const pattern = doc.permissions.environment.allowed_variables[i];
18657
+ const result = validateNonFsPattern(pattern);
18658
+ if (!result.valid) {
18659
+ errors2.push(createError("ADL-2018", `Invalid environment variable pattern "${pattern}": ${result.reason}`, { pointer: `/permissions/environment/allowed_variables/${i}` }));
18660
+ }
18661
+ }
18662
+ }
18663
+ if (doc.permissions?.environment?.denied_variables) {
18664
+ for (let i = 0;i < doc.permissions.environment.denied_variables.length; i++) {
18665
+ const pattern = doc.permissions.environment.denied_variables[i];
18666
+ const result = validateNonFsPattern(pattern);
18667
+ if (!result.valid) {
18668
+ errors2.push(createError("ADL-2018", `Invalid environment denied variable pattern "${pattern}": ${result.reason}`, { pointer: `/permissions/environment/denied_variables/${i}` }));
18669
+ }
18670
+ }
18671
+ }
18672
+ if (doc.permissions?.execution?.allowed_commands) {
18673
+ for (let i = 0;i < doc.permissions.execution.allowed_commands.length; i++) {
18674
+ const pattern = doc.permissions.execution.allowed_commands[i];
18675
+ if (pattern.includes("**")) {
18676
+ errors2.push(createError("ADL-2016", `Invalid command pattern "${pattern}": multi-segment wildcard '**' is not allowed`, { pointer: `/permissions/execution/allowed_commands/${i}` }));
18677
+ }
18678
+ }
18679
+ }
18680
+ return errors2;
18681
+ }
18682
+
18683
+ // ../adl-core/dist/validate/rules/security.js
18684
+ var WEAK_ALGORITHMS = new Set([
18685
+ "dsa",
18686
+ "rsa1024",
18687
+ "rsa-1024",
18688
+ "md5",
18689
+ "sha1",
18690
+ "sha-1"
18691
+ ]);
18692
+ var SUSPECT_ALGORITHMS = new Set([
18693
+ "rs256",
18694
+ "rs384"
18695
+ ]);
18696
+ function checkSecurity(doc) {
18697
+ const errors2 = [];
18698
+ const attestation = doc.security?.attestation;
18699
+ const signature = attestation?.signature;
18700
+ if (signature?.signed_content === "digest") {
18701
+ if (!signature.digest_algorithm) {
18702
+ errors2.push(createError("ADL-2019", 'Signature signed_content is "digest" but digest_algorithm is missing', { pointer: "/security/attestation/signature/digest_algorithm" }));
18703
+ }
18704
+ if (!signature.digest_value) {
18705
+ errors2.push(createError("ADL-2019", 'Signature signed_content is "digest" but digest_value is missing', { pointer: "/security/attestation/signature/digest_value" }));
18706
+ }
18707
+ }
18708
+ const publicKey = doc.cryptographic_identity?.public_key;
18709
+ if (publicKey?.algorithm) {
18710
+ const algoLower = publicKey.algorithm.toLowerCase();
18711
+ if (WEAK_ALGORITHMS.has(algoLower)) {
18712
+ errors2.push(createError("ADL-4001", `Algorithm "${publicKey.algorithm}" does not meet minimum strength requirements. EdDSA (Ed25519, Ed448) is recommended`, { pointer: "/cryptographic_identity/public_key/algorithm" }));
18713
+ }
18714
+ }
18715
+ if (signature?.algorithm) {
18716
+ const algoLower = signature.algorithm.toLowerCase();
18717
+ if (WEAK_ALGORITHMS.has(algoLower)) {
18718
+ errors2.push(createError("ADL-4001", `Signature algorithm "${signature.algorithm}" does not meet minimum strength requirements`, { pointer: "/security/attestation/signature/algorithm" }));
18719
+ }
18720
+ }
18721
+ if (attestation?.signature !== undefined && typeof attestation.signature === "object") {
18722
+ const sig = attestation.signature;
18723
+ if (!sig.algorithm) {
18724
+ errors2.push(createError("ADL-4002", "Signature object is missing required field: algorithm", { pointer: "/security/attestation/signature/algorithm" }));
18725
+ }
18726
+ if (!sig.value) {
18727
+ errors2.push(createError("ADL-4002", "Signature object is missing required field: value", { pointer: "/security/attestation/signature/value" }));
18728
+ }
18729
+ if (!sig.signed_content) {
18730
+ errors2.push(createError("ADL-4002", "Signature object is missing required field: signed_content", { pointer: "/security/attestation/signature/signed_content" }));
18731
+ }
18732
+ }
18733
+ if (attestation?.expires_at) {
18734
+ const expiresAt = new Date(attestation.expires_at);
18735
+ if (!isNaN(expiresAt.getTime()) && expiresAt < new Date) {
18736
+ errors2.push(createError("ADL-4003", `Attestation expired at ${attestation.expires_at}`, { pointer: "/security/attestation/expires_at" }));
18737
+ }
18738
+ }
18739
+ return errors2;
18740
+ }
18741
+
18742
+ // ../adl-core/dist/validate/rules/profiles.js
18743
+ var KNOWN_STANDARD_PROFILES = new Set([
18744
+ "urn:adl:profile:governance:1.0",
18745
+ "urn:adl:profile:portfolio:1.0",
18746
+ "urn:adl:profile:healthcare:1.0",
18747
+ "urn:adl:profile:financial:1.0"
18748
+ ]);
18749
+ function isUnknownStandardProfile(id) {
18750
+ return id.startsWith("urn:adl:profile:") && !KNOWN_STANDARD_PROFILES.has(id);
18751
+ }
18752
+ function checkProfiles(doc) {
18753
+ const errors2 = [];
18754
+ if (!doc.profiles || doc.profiles.length === 0)
18755
+ return errors2;
18756
+ for (let i = 0;i < doc.profiles.length; i++) {
18757
+ const profileId = doc.profiles[i];
18758
+ if (isUnknownStandardProfile(profileId)) {
18759
+ errors2.push(createError("ADL-3002", `Unknown standard profile "${profileId}". Known profiles: ${[...KNOWN_STANDARD_PROFILES].join(", ")}`, { pointer: `/profiles/${i}` }));
18760
+ }
18761
+ if (profileId === "urn:adl:profile:governance:1.0") {
18762
+ errors2.push(...checkGovernanceRequirements(doc, i));
18763
+ }
18764
+ }
18765
+ return errors2;
18766
+ }
18767
+ function checkGovernanceRequirements(doc, profileIndex) {
18768
+ const errors2 = [];
18769
+ const raw = doc;
18770
+ if (!raw.compliance_framework) {
18771
+ errors2.push(createError("ADL-3001", 'Governance profile requires "compliance_framework" member', { pointer: `/profiles/${profileIndex}` }));
18772
+ }
18773
+ if (!raw.autonomy) {
18774
+ errors2.push(createError("ADL-3001", 'Governance profile requires "autonomy" member', { pointer: `/profiles/${profileIndex}` }));
18775
+ }
18776
+ return errors2;
18777
+ }
18778
+
18779
+ // ../adl-core/dist/validate/semantic-validator.js
18780
+ function validateSemantic(doc) {
18781
+ return [
18782
+ ...checkPatterns(doc),
18783
+ ...checkDuplicates(doc),
18784
+ ...checkDataClassification(doc),
18785
+ ...checkModelAndEnums(doc),
18786
+ ...checkFormats(doc),
18787
+ ...checkPermissions(doc),
18788
+ ...checkSecurity(doc),
18789
+ ...checkProfiles(doc),
18790
+ ...checkLifecycle(doc)
18791
+ ];
18792
+ }
18793
+
18794
+ // ../adl-core/dist/validate/validator.js
18795
+ function validateDocument(doc, options) {
18796
+ const errors2 = [];
18797
+ if (!options?.skipSchema) {
18798
+ errors2.push(...validateSchema(doc));
18799
+ }
18800
+ if (!options?.skipSemantic) {
18801
+ errors2.push(...validateSemantic(doc));
18802
+ }
18803
+ return {
18804
+ valid: errors2.length === 0,
18805
+ errors: errors2
18806
+ };
18807
+ }
18808
+ // ../adl-core/dist/convert/a2a.js
17757
18809
  function convertToA2A(doc) {
17758
- const card = {};
17759
- card.name = doc.name;
17760
- card.description = doc.description;
17761
- card.version = doc.version;
17762
- const cryptoId = doc.cryptographic_identity;
17763
- if (cryptoId?.did) {
17764
- card.id = cryptoId.did;
18810
+ const card = {
18811
+ name: doc.name,
18812
+ description: doc.description,
18813
+ version: doc.version
18814
+ };
18815
+ if (doc.cryptographic_identity?.did) {
18816
+ card.id = doc.cryptographic_identity.did;
17765
18817
  } else if (doc.id) {
17766
18818
  card.id = doc.id;
17767
18819
  }
17768
- const provider = doc.provider;
17769
- if (provider) {
18820
+ if (doc.provider) {
17770
18821
  card.provider = {
17771
- organization: provider.name,
17772
- url: provider.url
18822
+ organization: doc.provider.name,
18823
+ url: doc.provider.url
17773
18824
  };
17774
18825
  }
17775
- const tools = doc.tools;
17776
- if (tools && tools.length > 0) {
17777
- card.skills = tools.map((tool) => {
18826
+ if (doc.tools && doc.tools.length > 0) {
18827
+ card.skills = doc.tools.map((tool) => {
17778
18828
  const skill = {
17779
18829
  id: tool.name,
17780
18830
  name: tool.name,
@@ -17796,9 +18846,8 @@ function convertToA2A(doc) {
17796
18846
  return skill;
17797
18847
  });
17798
18848
  }
17799
- const security = doc.security;
17800
- const auth = security?.authentication;
17801
- if (auth) {
18849
+ if (doc.security?.authentication) {
18850
+ const auth = doc.security.authentication;
17802
18851
  const a2aAuth = {};
17803
18852
  if (auth.type && auth.type !== "none") {
17804
18853
  a2aAuth.schemes = [auth.type];
@@ -17806,28 +18855,24 @@ function convertToA2A(doc) {
17806
18855
  if (auth.scopes) {
17807
18856
  a2aAuth.scopes = auth.scopes;
17808
18857
  }
17809
- if (Object.keys(a2aAuth).length > 0) {
18858
+ if (a2aAuth.schemes || a2aAuth.scopes) {
17810
18859
  card.authentication = a2aAuth;
17811
18860
  }
17812
18861
  }
17813
- const metadata = doc.metadata;
17814
- if (metadata) {
17815
- if (metadata.documentation) {
17816
- card.documentationUrl = metadata.documentation;
17817
- }
18862
+ if (doc.metadata?.documentation) {
18863
+ card.documentationUrl = doc.metadata.documentation;
17818
18864
  }
17819
18865
  return card;
17820
18866
  }
17821
-
17822
- // src/converters/mcp.ts
18867
+ // ../adl-core/dist/convert/mcp.js
17823
18868
  function convertToMCP(doc) {
17824
- const config = {};
17825
- config.name = doc.name;
17826
- config.description = doc.description;
17827
- config.version = doc.version;
17828
- const tools = doc.tools;
17829
- if (tools && tools.length > 0) {
17830
- config.tools = tools.map((tool) => {
18869
+ const config = {
18870
+ name: doc.name,
18871
+ description: doc.description,
18872
+ version: doc.version
18873
+ };
18874
+ if (doc.tools && doc.tools.length > 0) {
18875
+ config.tools = doc.tools.map((tool) => {
17831
18876
  const mcpTool = {
17832
18877
  name: tool.name,
17833
18878
  description: tool.description
@@ -17838,9 +18883,8 @@ function convertToMCP(doc) {
17838
18883
  return mcpTool;
17839
18884
  });
17840
18885
  }
17841
- const resources = doc.resources;
17842
- if (resources && resources.length > 0) {
17843
- config.resources = resources.map((resource) => {
18886
+ if (doc.resources && doc.resources.length > 0) {
18887
+ config.resources = doc.resources.map((resource) => {
17844
18888
  const mcpResource = {
17845
18889
  name: resource.name,
17846
18890
  uri: resource.uri ?? `adl://resource/${resource.name}`
@@ -17854,9 +18898,8 @@ function convertToMCP(doc) {
17854
18898
  return mcpResource;
17855
18899
  });
17856
18900
  }
17857
- const prompts = doc.prompts;
17858
- if (prompts && prompts.length > 0) {
17859
- config.prompts = prompts.map((prompt) => {
18901
+ if (doc.prompts && doc.prompts.length > 0) {
18902
+ config.prompts = doc.prompts.map((prompt) => {
17860
18903
  const mcpPrompt = {
17861
18904
  name: prompt.name
17862
18905
  };
@@ -17864,10 +18907,12 @@ function convertToMCP(doc) {
17864
18907
  mcpPrompt.description = prompt.description;
17865
18908
  }
17866
18909
  if (prompt.arguments) {
17867
- mcpPrompt.arguments = Object.entries(prompt.arguments.properties ?? {}).map(([name, schema]) => ({
18910
+ const properties = prompt.arguments.properties ?? {};
18911
+ const required = prompt.arguments.required ?? [];
18912
+ mcpPrompt.arguments = Object.entries(properties).map(([name, schema]) => ({
17868
18913
  name,
17869
- description: schema?.description ?? "",
17870
- required: (prompt.arguments?.required ?? []).includes(name)
18914
+ description: schema?.description?.toString() ?? "",
18915
+ required: required.includes(name)
17871
18916
  }));
17872
18917
  }
17873
18918
  return mcpPrompt;
@@ -17875,6 +18920,83 @@ function convertToMCP(doc) {
17875
18920
  }
17876
18921
  return config;
17877
18922
  }
18923
+ // ../adl-core/dist/guards.js
18924
+ function isADLDocument(value) {
18925
+ if (typeof value !== "object" || value === null || Array.isArray(value)) {
18926
+ return false;
18927
+ }
18928
+ const obj = value;
18929
+ return typeof obj.adl_spec === "string" && typeof obj.name === "string" && typeof obj.description === "string" && typeof obj.version === "string" && typeof obj.data_classification === "object" && obj.data_classification !== null;
18930
+ }
18931
+ // src/core/loader.ts
18932
+ function loadDocument(filePath) {
18933
+ const { document, errors: errors2 } = loadADLSync(filePath);
18934
+ return { data: document, errors: errors2 };
18935
+ }
18936
+
18937
+ // src/core/validator.ts
18938
+ function validateDocument2(doc) {
18939
+ if (!isADLDocument(doc)) {
18940
+ return validateDocument(doc).errors;
18941
+ }
18942
+ return validateDocument(doc).errors;
18943
+ }
18944
+
18945
+ // src/core/errors.ts
18946
+ function formatErrorsTerminal(file, errors2) {
18947
+ const lines = [];
18948
+ lines.push(source_default.bold.underline(file));
18949
+ for (const err of errors2) {
18950
+ const location = err.source?.pointer ? source_default.dim(` at ${err.source.pointer}`) : "";
18951
+ const code = source_default.yellow(err.code);
18952
+ const title = source_default.red(err.title);
18953
+ lines.push(` ${code} ${title}${location}`);
18954
+ lines.push(` ${source_default.dim(err.detail)}`);
18955
+ }
18956
+ lines.push("");
18957
+ const count = errors2.length;
18958
+ lines.push(source_default.red.bold(`✖ ${count} error${count !== 1 ? "s" : ""} found`));
18959
+ return lines.join(`
18960
+ `);
18961
+ }
18962
+
18963
+ // src/commands/validate.ts
18964
+ function registerValidateCommand(program2) {
18965
+ program2.command("validate").description("Validate ADL document(s) against the schema").argument("<files...>", "ADL document file(s) to validate").action(async (files) => {
18966
+ let hasErrors = false;
18967
+ for (const file of files) {
18968
+ const { data, errors: loadErrors } = loadDocument(file);
18969
+ if (loadErrors.length > 0) {
18970
+ console.error(formatErrorsTerminal(file, loadErrors));
18971
+ hasErrors = true;
18972
+ continue;
18973
+ }
18974
+ const validationErrors = validateDocument2(data);
18975
+ if (validationErrors.length > 0) {
18976
+ console.error(formatErrorsTerminal(file, validationErrors));
18977
+ hasErrors = true;
18978
+ } else {
18979
+ console.log(source_default.green("✓") + " " + source_default.bold(file) + " is valid");
18980
+ }
18981
+ }
18982
+ if (hasErrors) {
18983
+ process.exit(1);
18984
+ }
18985
+ });
18986
+ }
18987
+
18988
+ // src/commands/convert.ts
18989
+ import * as fs2 from "node:fs";
18990
+
18991
+ // src/converters/a2a.ts
18992
+ function convertToA2A2(doc) {
18993
+ return convertToA2A(doc);
18994
+ }
18995
+
18996
+ // src/converters/mcp.ts
18997
+ function convertToMCP2(doc) {
18998
+ return convertToMCP(doc);
18999
+ }
17878
19000
 
17879
19001
  // src/commands/convert.ts
17880
19002
  function registerConvertCommand(program2) {
@@ -17890,16 +19012,16 @@ function registerConvertCommand(program2) {
17890
19012
  process.exit(1);
17891
19013
  }
17892
19014
  const doc = data;
17893
- const validationErrors = validateDocument(doc);
19015
+ const validationErrors = validateDocument2(doc);
17894
19016
  if (validationErrors.length > 0) {
17895
19017
  console.error(formatErrorsTerminal(file, validationErrors));
17896
19018
  process.exit(1);
17897
19019
  }
17898
19020
  let result;
17899
19021
  if (format === "a2a") {
17900
- result = convertToA2A(doc);
19022
+ result = convertToA2A2(doc);
17901
19023
  } else {
17902
- result = convertToMCP(doc);
19024
+ result = convertToMCP2(doc);
17903
19025
  }
17904
19026
  const output = JSON.stringify(result, null, 2) + `
17905
19027
  `;
@@ -17916,18 +19038,24 @@ function registerConvertCommand(program2) {
17916
19038
  import * as fs3 from "node:fs";
17917
19039
  var TEMPLATES = {
17918
19040
  minimal: {
17919
- $schema: "https://adl-spec.org/0.1/schema.json",
17920
- adl_spec: "0.1.0",
19041
+ $schema: "https://adl-spec.org/0.2/schema.json",
19042
+ adl_spec: "0.2.0",
17921
19043
  name: "my-agent",
17922
19044
  description: "Describe your agent's purpose and capabilities.",
17923
- version: "0.1.0"
19045
+ version: "0.1.0",
19046
+ data_classification: {
19047
+ sensitivity: "internal"
19048
+ }
17924
19049
  },
17925
19050
  full: {
17926
- $schema: "https://adl-spec.org/0.1/schema.json",
17927
- adl_spec: "0.1.0",
19051
+ $schema: "https://adl-spec.org/0.2/schema.json",
19052
+ adl_spec: "0.2.0",
17928
19053
  name: "my-agent",
17929
19054
  description: "Describe your agent's purpose and capabilities.",
17930
19055
  version: "0.1.0",
19056
+ data_classification: {
19057
+ sensitivity: "internal"
19058
+ },
17931
19059
  lifecycle: {
17932
19060
  status: "draft"
17933
19061
  },
@@ -17972,11 +19100,14 @@ var TEMPLATES = {
17972
19100
  }
17973
19101
  },
17974
19102
  governance: {
17975
- $schema: "https://adl-spec.org/0.1/schema.json",
17976
- adl_spec: "0.1.0",
19103
+ $schema: "https://adl-spec.org/0.2/schema.json",
19104
+ adl_spec: "0.2.0",
17977
19105
  name: "my-governed-agent",
17978
19106
  description: "An agent with governance profile for compliance requirements.",
17979
19107
  version: "0.1.0",
19108
+ data_classification: {
19109
+ sensitivity: "confidential"
19110
+ },
17980
19111
  profiles: ["urn:adl:profile:governance:1.0"],
17981
19112
  lifecycle: {
17982
19113
  status: "draft"
@@ -18052,10 +19183,771 @@ function registerInitCommand(program2) {
18052
19183
  });
18053
19184
  }
18054
19185
 
19186
+ // src/commands/generate.ts
19187
+ import * as fs4 from "node:fs";
19188
+ import * as path2 from "node:path";
19189
+
19190
+ // ../adl-generator/dist/ir/transform.js
19191
+ function transformToIR(doc) {
19192
+ return {
19193
+ identity: buildIdentity(doc),
19194
+ model: buildModel(doc),
19195
+ systemPrompt: buildSystemPrompt(doc),
19196
+ tools: buildTools(doc),
19197
+ resources: buildResources(doc),
19198
+ permissions: buildPermissions(doc),
19199
+ security: buildSecurity(doc),
19200
+ runtime: buildRuntime(doc),
19201
+ dataClassification: buildDataClassification(doc),
19202
+ lifecycle: buildLifecycle(doc)
19203
+ };
19204
+ }
19205
+ function buildIdentity(doc) {
19206
+ return {
19207
+ name: doc.name,
19208
+ description: doc.description,
19209
+ version: doc.version,
19210
+ ...doc.id ? { id: doc.id } : {}
19211
+ };
19212
+ }
19213
+ function buildModel(doc) {
19214
+ if (!doc.model)
19215
+ return null;
19216
+ return {
19217
+ ...doc.model.provider ? { provider: doc.model.provider } : {},
19218
+ ...doc.model.name ? { name: doc.model.name } : {},
19219
+ ...doc.model.temperature !== undefined ? { temperature: doc.model.temperature } : {},
19220
+ ...doc.model.context_window !== undefined ? { contextWindow: doc.model.context_window } : {},
19221
+ ...doc.model.max_tokens !== undefined ? { maxTokens: doc.model.max_tokens } : {},
19222
+ capabilities: doc.model.capabilities ?? []
19223
+ };
19224
+ }
19225
+ function buildSystemPrompt(doc) {
19226
+ if (!doc.system_prompt)
19227
+ return null;
19228
+ if (typeof doc.system_prompt === "string")
19229
+ return doc.system_prompt;
19230
+ return doc.system_prompt.template;
19231
+ }
19232
+ function buildTools(doc) {
19233
+ if (!doc.tools)
19234
+ return [];
19235
+ return doc.tools.map((t) => ({
19236
+ name: t.name,
19237
+ description: t.description,
19238
+ parameters: t.parameters ?? null,
19239
+ returns: t.returns ?? null,
19240
+ requiresConfirmation: t.requires_confirmation ?? false,
19241
+ idempotent: t.idempotent ?? false,
19242
+ readOnly: t.read_only ?? false
19243
+ }));
19244
+ }
19245
+ function buildResources(doc) {
19246
+ if (!doc.resources)
19247
+ return [];
19248
+ return doc.resources.map((r) => ({
19249
+ name: r.name,
19250
+ type: r.type,
19251
+ description: r.description ?? null,
19252
+ uri: r.uri ?? null,
19253
+ mimeTypes: r.mime_types ?? []
19254
+ }));
19255
+ }
19256
+ function buildPermissions(doc) {
19257
+ const p = doc.permissions;
19258
+ return {
19259
+ network: {
19260
+ allowedHosts: p?.network?.allowed_hosts ?? [],
19261
+ allowedPorts: p?.network?.allowed_ports ?? [],
19262
+ allowedProtocols: p?.network?.allowed_protocols ?? [],
19263
+ denyPrivate: p?.network?.deny_private ?? false
19264
+ },
19265
+ filesystem: {
19266
+ allowedPaths: p?.filesystem?.allowed_paths?.map((fp) => ({
19267
+ path: fp.path,
19268
+ access: fp.access
19269
+ })) ?? [],
19270
+ deniedPaths: p?.filesystem?.denied_paths ?? []
19271
+ },
19272
+ environment: {
19273
+ allowedVariables: p?.environment?.allowed_variables ?? [],
19274
+ deniedVariables: p?.environment?.denied_variables ?? []
19275
+ },
19276
+ execution: {
19277
+ allowedCommands: p?.execution?.allowed_commands ?? [],
19278
+ deniedCommands: p?.execution?.denied_commands ?? [],
19279
+ allowShell: p?.execution?.allow_shell ?? false
19280
+ },
19281
+ resourceLimits: {
19282
+ maxMemoryMb: p?.resource_limits?.max_memory_mb ?? null,
19283
+ maxCpuPercent: p?.resource_limits?.max_cpu_percent ?? null,
19284
+ maxDurationSec: p?.resource_limits?.max_duration_sec ?? null,
19285
+ maxConcurrent: p?.resource_limits?.max_concurrent ?? null
19286
+ }
19287
+ };
19288
+ }
19289
+ function buildSecurity(doc) {
19290
+ const s = doc.security;
19291
+ return {
19292
+ authentication: s?.authentication ? {
19293
+ type: s.authentication.type ?? "none",
19294
+ required: s.authentication.required ?? false,
19295
+ scopes: s.authentication.scopes ?? []
19296
+ } : null,
19297
+ encryptionInTransit: s?.encryption?.in_transit?.required ?? false,
19298
+ encryptionAtRest: s?.encryption?.at_rest?.required ?? false
19299
+ };
19300
+ }
19301
+ function buildRuntime(doc) {
19302
+ const r = doc.runtime;
19303
+ return {
19304
+ errorHandling: {
19305
+ onToolError: r?.error_handling?.on_tool_error ?? "abort",
19306
+ maxRetries: r?.error_handling?.max_retries ?? 0,
19307
+ fallbackAction: r?.error_handling?.fallback_behavior?.action ?? null
19308
+ },
19309
+ toolInvocation: {
19310
+ parallel: r?.tool_invocation?.parallel ?? false,
19311
+ maxConcurrent: r?.tool_invocation?.max_concurrent ?? null,
19312
+ timeoutMs: r?.tool_invocation?.timeout_ms ?? null
19313
+ }
19314
+ };
19315
+ }
19316
+ function buildDataClassification(doc) {
19317
+ return {
19318
+ sensitivity: doc.data_classification.sensitivity,
19319
+ categories: doc.data_classification.categories ?? []
19320
+ };
19321
+ }
19322
+ function buildLifecycle(doc) {
19323
+ if (!doc.lifecycle)
19324
+ return null;
19325
+ return {
19326
+ status: doc.lifecycle.status,
19327
+ effectiveDate: doc.lifecycle.effective_date ?? null,
19328
+ sunsetDate: doc.lifecycle.sunset_date ?? null
19329
+ };
19330
+ }
19331
+
19332
+ // ../adl-generator/dist/renderer.js
19333
+ var targets = new Map;
19334
+ function registerTarget(renderer) {
19335
+ targets.set(renderer.id, renderer);
19336
+ }
19337
+ function getTarget(id) {
19338
+ return targets.get(id);
19339
+ }
19340
+ function listTargets() {
19341
+ return Array.from(targets.values());
19342
+ }
19343
+
19344
+ // ../adl-generator/dist/generator.js
19345
+ function generate(doc, targetId) {
19346
+ const renderer = getTarget(targetId);
19347
+ if (!renderer) {
19348
+ const known = listTargets();
19349
+ throw new Error(`Unknown target "${targetId}". Available targets: ${known.map((t) => t.id).join(", ") || "(none)"}`);
19350
+ }
19351
+ const ir = transformToIR(doc);
19352
+ const files = renderer.render(ir);
19353
+ return { target: targetId, files };
19354
+ }
19355
+
19356
+ // ../adl-generator/dist/utils/json-schema-to-type.js
19357
+ function jsonSchemaToType(schema) {
19358
+ if (!schema)
19359
+ return "unknown";
19360
+ const type = schema.type;
19361
+ if (!type)
19362
+ return "unknown";
19363
+ switch (type) {
19364
+ case "string":
19365
+ return "string";
19366
+ case "integer":
19367
+ case "number":
19368
+ return "number";
19369
+ case "boolean":
19370
+ return "boolean";
19371
+ case "null":
19372
+ return "null";
19373
+ case "array":
19374
+ return jsonSchemaToArrayType(schema);
19375
+ case "object":
19376
+ return jsonSchemaToObjectType(schema);
19377
+ default:
19378
+ return "unknown";
19379
+ }
19380
+ }
19381
+ function jsonSchemaToArrayType(schema) {
19382
+ const items = schema.items;
19383
+ if (!items)
19384
+ return "unknown[]";
19385
+ return `${jsonSchemaToType(items)}[]`;
19386
+ }
19387
+ function jsonSchemaToObjectType(schema) {
19388
+ const properties = schema.properties;
19389
+ if (!properties)
19390
+ return "Record<string, unknown>";
19391
+ const required = schema.required ?? [];
19392
+ const entries = Object.entries(properties);
19393
+ if (entries.length === 0)
19394
+ return "Record<string, unknown>";
19395
+ const fields = entries.map(([key, propSchema]) => {
19396
+ const optional = required.includes(key) ? "" : "?";
19397
+ const typeStr = jsonSchemaToType(propSchema);
19398
+ return `${key}${optional}: ${typeStr}`;
19399
+ });
19400
+ return `{ ${fields.join("; ")} }`;
19401
+ }
19402
+ function jsonSchemaToInterface(name, schema) {
19403
+ if (!schema)
19404
+ return `export interface ${name} {}`;
19405
+ const properties = schema.properties;
19406
+ if (!properties)
19407
+ return `export interface ${name} {}`;
19408
+ const required = schema.required ?? [];
19409
+ const entries = Object.entries(properties);
19410
+ const fields = entries.map(([key, propSchema]) => {
19411
+ const optional = required.includes(key) ? "" : "?";
19412
+ const typeStr = jsonSchemaToType(propSchema);
19413
+ return ` ${key}${optional}: ${typeStr};`;
19414
+ });
19415
+ return `export interface ${name} {
19416
+ ${fields.join(`
19417
+ `)}
19418
+ }`;
19419
+ }
19420
+
19421
+ // ../adl-generator/dist/targets/claude-sdk-ts/templates.js
19422
+ function pascalCase(name) {
19423
+ return name.split(/[_\-\s]+/).map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join("");
19424
+ }
19425
+ function camelCase(name) {
19426
+ const pascal = pascalCase(name);
19427
+ return pascal.charAt(0).toLowerCase() + pascal.slice(1);
19428
+ }
19429
+ function escapeStr(s) {
19430
+ return s.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$/g, "\\$");
19431
+ }
19432
+ function renderTypes(ir) {
19433
+ const lines = [
19434
+ "/**",
19435
+ ` * Generated TypeScript types for ${ir.identity.name}`,
19436
+ " */",
19437
+ ""
19438
+ ];
19439
+ for (const tool of ir.tools) {
19440
+ if (tool.parameters) {
19441
+ const interfaceName = `${pascalCase(tool.name)}Params`;
19442
+ lines.push(jsonSchemaToInterface(interfaceName, tool.parameters));
19443
+ lines.push("");
19444
+ }
19445
+ if (tool.returns) {
19446
+ const returnType = jsonSchemaToType(tool.returns);
19447
+ lines.push(`export type ${pascalCase(tool.name)}Result = ${returnType};`);
19448
+ lines.push("");
19449
+ }
19450
+ }
19451
+ return lines.join(`
19452
+ `);
19453
+ }
19454
+ function renderTools(ir) {
19455
+ const lines = [
19456
+ "/**",
19457
+ ` * Tool implementations for ${ir.identity.name}`,
19458
+ " */",
19459
+ ""
19460
+ ];
19461
+ const paramImports = ir.tools.filter((t) => t.parameters).map((t) => `${pascalCase(t.name)}Params`);
19462
+ const returnImports = ir.tools.filter((t) => t.returns).map((t) => `${pascalCase(t.name)}Result`);
19463
+ const allImports = [...paramImports, ...returnImports];
19464
+ if (allImports.length > 0) {
19465
+ lines.push(`import type { ${allImports.join(", ")} } from "./types.js";`);
19466
+ lines.push("");
19467
+ }
19468
+ for (const tool of ir.tools) {
19469
+ const fnName = camelCase(tool.name);
19470
+ const paramType = tool.parameters ? `${pascalCase(tool.name)}Params` : undefined;
19471
+ const returnType = tool.returns ? `${pascalCase(tool.name)}Result` : "unknown";
19472
+ lines.push(`/**`);
19473
+ lines.push(` * ${tool.description}`);
19474
+ if (tool.readOnly)
19475
+ lines.push(` * @readonly`);
19476
+ if (tool.idempotent)
19477
+ lines.push(` * @idempotent`);
19478
+ if (tool.requiresConfirmation)
19479
+ lines.push(` * @requiresConfirmation`);
19480
+ lines.push(` */`);
19481
+ const paramSig = paramType ? `params: ${paramType}` : "";
19482
+ lines.push(`export async function ${fnName}(${paramSig}): Promise<${returnType}> {`);
19483
+ lines.push(` // TODO: Implement ${tool.name}`);
19484
+ lines.push(` throw new Error("Not implemented: ${tool.name}");`);
19485
+ lines.push(`}`);
19486
+ lines.push("");
19487
+ }
19488
+ return lines.join(`
19489
+ `);
19490
+ }
19491
+ function renderAgent(ir) {
19492
+ const lines = [];
19493
+ lines.push("/**");
19494
+ lines.push(` * ${ir.identity.name} — Claude Agent SDK agent`);
19495
+ lines.push(` * ${ir.identity.description}`);
19496
+ lines.push(` * Version: ${ir.identity.version}`);
19497
+ lines.push(" */");
19498
+ lines.push("");
19499
+ lines.push('import Anthropic from "@anthropic-ai/sdk";');
19500
+ if (ir.tools.length > 0) {
19501
+ const toolImports = ir.tools.map((t) => camelCase(t.name));
19502
+ lines.push(`import { ${toolImports.join(", ")} } from "./tools.js";`);
19503
+ }
19504
+ const paramTypeImports = ir.tools.filter((t) => t.parameters).map((t) => `${pascalCase(t.name)}Params`);
19505
+ if (paramTypeImports.length > 0) {
19506
+ lines.push(`import type { ${paramTypeImports.join(", ")} } from "./types.js";`);
19507
+ }
19508
+ lines.push("");
19509
+ const model = ir.model;
19510
+ const modelName = model?.name ?? "claude-sonnet-4-20250514";
19511
+ lines.push(`const MODEL = "${modelName}";`);
19512
+ if (model?.temperature !== undefined) {
19513
+ lines.push(`const TEMPERATURE = ${model.temperature};`);
19514
+ }
19515
+ if (model?.maxTokens !== undefined) {
19516
+ lines.push(`const MAX_TOKENS = ${model.maxTokens};`);
19517
+ } else {
19518
+ lines.push("const MAX_TOKENS = 4096;");
19519
+ }
19520
+ lines.push("");
19521
+ if (ir.systemPrompt) {
19522
+ lines.push(`const SYSTEM_PROMPT = \`${escapeStr(ir.systemPrompt)}\`;`);
19523
+ lines.push("");
19524
+ }
19525
+ renderPermissionComments(ir, lines);
19526
+ if (ir.tools.length > 0) {
19527
+ lines.push("const TOOLS: Anthropic.Tool[] = [");
19528
+ for (const tool of ir.tools) {
19529
+ lines.push(" {");
19530
+ lines.push(` name: "${tool.name}",`);
19531
+ lines.push(` description: "${tool.description.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}",`);
19532
+ lines.push(" input_schema: {");
19533
+ lines.push(' type: "object" as const,');
19534
+ if (tool.parameters) {
19535
+ const props = tool.parameters.properties;
19536
+ const required = tool.parameters.required;
19537
+ if (props) {
19538
+ lines.push(` properties: ${JSON.stringify(props, null, 6).replace(/\n/g, `
19539
+ `)},`);
19540
+ }
19541
+ if (required) {
19542
+ lines.push(` required: ${JSON.stringify(required)},`);
19543
+ }
19544
+ }
19545
+ lines.push(" },");
19546
+ lines.push(" },");
19547
+ }
19548
+ lines.push("];");
19549
+ lines.push("");
19550
+ }
19551
+ if (ir.tools.length > 0) {
19552
+ lines.push("const TOOL_HANDLERS: Record<string, (input: Record<string, unknown>) => Promise<unknown>> = {");
19553
+ for (const tool of ir.tools) {
19554
+ const fnName = camelCase(tool.name);
19555
+ lines.push(` "${tool.name}": (input) => ${fnName}(input as any),`);
19556
+ }
19557
+ lines.push("};");
19558
+ lines.push("");
19559
+ }
19560
+ lines.push("export async function runAgent(userMessage: string) {");
19561
+ lines.push(" const client = new Anthropic();");
19562
+ lines.push("");
19563
+ lines.push(" const messages: Anthropic.MessageParam[] = [");
19564
+ lines.push(' { role: "user", content: userMessage },');
19565
+ lines.push(" ];");
19566
+ lines.push("");
19567
+ lines.push(" // Agentic tool-use loop");
19568
+ lines.push(" while (true) {");
19569
+ lines.push(" const response = await client.messages.create({");
19570
+ lines.push(" model: MODEL,");
19571
+ lines.push(" max_tokens: MAX_TOKENS,");
19572
+ if (model?.temperature !== undefined) {
19573
+ lines.push(" temperature: TEMPERATURE,");
19574
+ }
19575
+ if (ir.systemPrompt) {
19576
+ lines.push(" system: SYSTEM_PROMPT,");
19577
+ }
19578
+ lines.push(" messages,");
19579
+ if (ir.tools.length > 0) {
19580
+ lines.push(" tools: TOOLS,");
19581
+ }
19582
+ lines.push(" });");
19583
+ lines.push("");
19584
+ lines.push(' if (response.stop_reason === "end_turn") {');
19585
+ lines.push(" return response.content;");
19586
+ lines.push(" }");
19587
+ lines.push("");
19588
+ if (ir.tools.length > 0) {
19589
+ lines.push(' if (response.stop_reason === "tool_use") {');
19590
+ lines.push(' const toolUseBlocks = response.content.filter((b) => b.type === "tool_use");');
19591
+ lines.push(' messages.push({ role: "assistant", content: response.content });');
19592
+ lines.push("");
19593
+ lines.push(" const toolResults: Anthropic.ToolResultBlockParam[] = [];");
19594
+ lines.push(" for (const toolUse of toolUseBlocks) {");
19595
+ lines.push(' if (toolUse.type !== "tool_use") continue;');
19596
+ lines.push(" const handler = TOOL_HANDLERS[toolUse.name];");
19597
+ lines.push(" if (!handler) {");
19598
+ lines.push(" toolResults.push({");
19599
+ lines.push(' type: "tool_result",');
19600
+ lines.push(" tool_use_id: toolUse.id,");
19601
+ lines.push(" content: `Unknown tool: ${toolUse.name}`,");
19602
+ lines.push(" is_error: true,");
19603
+ lines.push(" });");
19604
+ lines.push(" continue;");
19605
+ lines.push(" }");
19606
+ lines.push(" try {");
19607
+ lines.push(" const result = await handler(toolUse.input as Record<string, unknown>);");
19608
+ lines.push(" toolResults.push({");
19609
+ lines.push(' type: "tool_result",');
19610
+ lines.push(" tool_use_id: toolUse.id,");
19611
+ lines.push(" content: JSON.stringify(result),");
19612
+ lines.push(" });");
19613
+ lines.push(" } catch (error) {");
19614
+ const errorAction = ir.runtime.errorHandling.onToolError;
19615
+ if (errorAction === "retry") {
19616
+ lines.push(` // Error policy: retry (max ${ir.runtime.errorHandling.maxRetries})`);
19617
+ } else if (errorAction === "continue") {
19618
+ lines.push(" // Error policy: continue");
19619
+ } else {
19620
+ lines.push(" // Error policy: abort");
19621
+ }
19622
+ lines.push(" toolResults.push({");
19623
+ lines.push(' type: "tool_result",');
19624
+ lines.push(" tool_use_id: toolUse.id,");
19625
+ lines.push(" content: `Error: ${error instanceof Error ? error.message : String(error)}`,");
19626
+ lines.push(" is_error: true,");
19627
+ lines.push(" });");
19628
+ lines.push(" }");
19629
+ lines.push(" }");
19630
+ lines.push(' messages.push({ role: "user", content: toolResults });');
19631
+ lines.push(" continue;");
19632
+ lines.push(" }");
19633
+ lines.push("");
19634
+ }
19635
+ lines.push(" // No more tool calls — return final response");
19636
+ lines.push(" return response.content;");
19637
+ lines.push(" }");
19638
+ lines.push("}");
19639
+ return lines.join(`
19640
+ `);
19641
+ }
19642
+ function renderPermissionComments(ir, lines) {
19643
+ const perms = ir.permissions;
19644
+ const hasPerms = perms.network.allowedHosts.length > 0 || perms.filesystem.allowedPaths.length > 0 || perms.execution.allowedCommands.length > 0;
19645
+ if (!hasPerms)
19646
+ return;
19647
+ lines.push("// ---------------------------------------------------------------------------");
19648
+ lines.push("// Permission Guards (from ADL passport)");
19649
+ lines.push("// ---------------------------------------------------------------------------");
19650
+ if (perms.network.allowedHosts.length > 0) {
19651
+ lines.push(`// Network: allowed hosts = ${JSON.stringify(perms.network.allowedHosts)}`);
19652
+ if (perms.network.denyPrivate) {
19653
+ lines.push("// Network: private addresses denied");
19654
+ }
19655
+ }
19656
+ if (perms.filesystem.allowedPaths.length > 0) {
19657
+ lines.push("// Filesystem:");
19658
+ for (const p of perms.filesystem.allowedPaths) {
19659
+ lines.push(`// ${p.path} (${p.access})`);
19660
+ }
19661
+ }
19662
+ if (perms.execution.allowedCommands.length > 0) {
19663
+ lines.push(`// Execution: allowed commands = ${JSON.stringify(perms.execution.allowedCommands)}`);
19664
+ }
19665
+ lines.push("");
19666
+ }
19667
+ function renderPackageJson(ir) {
19668
+ const pkg = {
19669
+ name: ir.identity.name.toLowerCase().replace(/\s+/g, "-"),
19670
+ version: ir.identity.version,
19671
+ description: ir.identity.description,
19672
+ type: "module",
19673
+ main: "agent.ts",
19674
+ scripts: {
19675
+ start: "npx tsx agent.ts"
19676
+ },
19677
+ dependencies: {
19678
+ "@anthropic-ai/sdk": "^0.39.0"
19679
+ },
19680
+ devDependencies: {
19681
+ tsx: "^4.0.0",
19682
+ typescript: "~5.6.0"
19683
+ }
19684
+ };
19685
+ return JSON.stringify(pkg, null, 2) + `
19686
+ `;
19687
+ }
19688
+ function renderTsConfig() {
19689
+ const config = {
19690
+ compilerOptions: {
19691
+ target: "ESNext",
19692
+ module: "ESNext",
19693
+ moduleResolution: "bundler",
19694
+ esModuleInterop: true,
19695
+ strict: true,
19696
+ skipLibCheck: true,
19697
+ outDir: "dist"
19698
+ },
19699
+ include: ["*.ts"]
19700
+ };
19701
+ return JSON.stringify(config, null, 2) + `
19702
+ `;
19703
+ }
19704
+
19705
+ // ../adl-generator/dist/targets/claude-sdk-ts/index.js
19706
+ class ClaudeSdkTsRenderer {
19707
+ id = "claude-sdk-ts";
19708
+ label = "Claude Agent SDK (TypeScript)";
19709
+ outputLanguage = "typescript";
19710
+ render(ir) {
19711
+ const files = [];
19712
+ files.push({ path: "types.ts", content: renderTypes(ir) });
19713
+ files.push({ path: "tools.ts", content: renderTools(ir) });
19714
+ files.push({ path: "agent.ts", content: renderAgent(ir) });
19715
+ files.push({ path: "package.json", content: renderPackageJson(ir) });
19716
+ files.push({ path: "tsconfig.json", content: renderTsConfig() });
19717
+ return files;
19718
+ }
19719
+ }
19720
+
19721
+ // ../adl-generator/dist/targets/vanilla-ts/templates.js
19722
+ function pascalCase2(name) {
19723
+ return name.split(/[_\-\s]+/).map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join("");
19724
+ }
19725
+ function camelCase2(name) {
19726
+ const pascal = pascalCase2(name);
19727
+ return pascal.charAt(0).toLowerCase() + pascal.slice(1);
19728
+ }
19729
+ function escapeStr2(s) {
19730
+ return s.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$/g, "\\$");
19731
+ }
19732
+ function renderTypes2(ir) {
19733
+ const lines = [
19734
+ "/**",
19735
+ ` * Generated TypeScript types for ${ir.identity.name}`,
19736
+ " */",
19737
+ ""
19738
+ ];
19739
+ for (const tool of ir.tools) {
19740
+ if (tool.parameters) {
19741
+ const interfaceName = `${pascalCase2(tool.name)}Params`;
19742
+ lines.push(jsonSchemaToInterface(interfaceName, tool.parameters));
19743
+ lines.push("");
19744
+ }
19745
+ if (tool.returns) {
19746
+ const returnType = jsonSchemaToType(tool.returns);
19747
+ lines.push(`export type ${pascalCase2(tool.name)}Result = ${returnType};`);
19748
+ lines.push("");
19749
+ }
19750
+ }
19751
+ return lines.join(`
19752
+ `);
19753
+ }
19754
+ function renderAgent2(ir) {
19755
+ const lines = [];
19756
+ lines.push("/**");
19757
+ lines.push(` * ${ir.identity.name} — Framework-agnostic agent`);
19758
+ lines.push(` * ${ir.identity.description}`);
19759
+ lines.push(` * Version: ${ir.identity.version}`);
19760
+ lines.push(" */");
19761
+ lines.push("");
19762
+ const paramTypeImports = ir.tools.filter((t) => t.parameters).map((t) => `${pascalCase2(t.name)}Params`);
19763
+ const returnTypeImports = ir.tools.filter((t) => t.returns).map((t) => `${pascalCase2(t.name)}Result`);
19764
+ const allImports = [...paramTypeImports, ...returnTypeImports];
19765
+ if (allImports.length > 0) {
19766
+ lines.push(`import type { ${allImports.join(", ")} } from "./types.js";`);
19767
+ lines.push("");
19768
+ }
19769
+ if (ir.systemPrompt) {
19770
+ lines.push(`export const SYSTEM_PROMPT = \`${escapeStr2(ir.systemPrompt)}\`;`);
19771
+ lines.push("");
19772
+ }
19773
+ renderPermissionDocs(ir, lines);
19774
+ lines.push(`export class ${pascalCase2(ir.identity.name)}Agent {`);
19775
+ lines.push(` readonly name = "${ir.identity.name}";`);
19776
+ lines.push(` readonly description = "${ir.identity.description.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}";`);
19777
+ lines.push(` readonly version = "${ir.identity.version}";`);
19778
+ if (ir.systemPrompt) {
19779
+ lines.push(` readonly systemPrompt = SYSTEM_PROMPT;`);
19780
+ }
19781
+ lines.push("");
19782
+ for (const tool of ir.tools) {
19783
+ const methodName = camelCase2(tool.name);
19784
+ const paramType = tool.parameters ? `${pascalCase2(tool.name)}Params` : undefined;
19785
+ const returnType = tool.returns ? `${pascalCase2(tool.name)}Result` : "unknown";
19786
+ lines.push(` /**`);
19787
+ lines.push(` * ${tool.description}`);
19788
+ if (tool.readOnly)
19789
+ lines.push(` * @readonly`);
19790
+ if (tool.idempotent)
19791
+ lines.push(` * @idempotent`);
19792
+ if (tool.requiresConfirmation)
19793
+ lines.push(` * @requiresConfirmation`);
19794
+ lines.push(` */`);
19795
+ const paramSig = paramType ? `params: ${paramType}` : "";
19796
+ lines.push(` async ${methodName}(${paramSig}): Promise<${returnType}> {`);
19797
+ lines.push(` // TODO: Implement ${tool.name}`);
19798
+ lines.push(` throw new Error("Not implemented: ${tool.name}");`);
19799
+ lines.push(` }`);
19800
+ lines.push("");
19801
+ }
19802
+ lines.push(" /** List available tools and their metadata. */");
19803
+ lines.push(" listTools(): Array<{ name: string; description: string; readOnly: boolean; idempotent: boolean }> {");
19804
+ lines.push(" return [");
19805
+ for (const tool of ir.tools) {
19806
+ lines.push(" {");
19807
+ lines.push(` name: "${tool.name}",`);
19808
+ lines.push(` description: "${tool.description.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}",`);
19809
+ lines.push(` readOnly: ${tool.readOnly},`);
19810
+ lines.push(` idempotent: ${tool.idempotent},`);
19811
+ lines.push(" },");
19812
+ }
19813
+ lines.push(" ];");
19814
+ lines.push(" }");
19815
+ lines.push("}");
19816
+ return lines.join(`
19817
+ `);
19818
+ }
19819
+ function renderPermissionDocs(ir, lines) {
19820
+ const perms = ir.permissions;
19821
+ const hasPerms = perms.network.allowedHosts.length > 0 || perms.filesystem.allowedPaths.length > 0 || perms.execution.allowedCommands.length > 0;
19822
+ if (!hasPerms)
19823
+ return;
19824
+ lines.push("/**");
19825
+ lines.push(" * Permission constraints (from ADL passport):");
19826
+ if (perms.network.allowedHosts.length > 0) {
19827
+ lines.push(` * - Network: allowed hosts = ${JSON.stringify(perms.network.allowedHosts)}`);
19828
+ if (perms.network.denyPrivate) {
19829
+ lines.push(" * - Network: private addresses denied");
19830
+ }
19831
+ }
19832
+ if (perms.filesystem.allowedPaths.length > 0) {
19833
+ lines.push(" * - Filesystem:");
19834
+ for (const p of perms.filesystem.allowedPaths) {
19835
+ lines.push(` * - ${p.path} (${p.access})`);
19836
+ }
19837
+ }
19838
+ if (perms.execution.allowedCommands.length > 0) {
19839
+ lines.push(` * - Execution: allowed commands = ${JSON.stringify(perms.execution.allowedCommands)}`);
19840
+ }
19841
+ lines.push(" */");
19842
+ lines.push("");
19843
+ }
19844
+ function renderPackageJson2(ir) {
19845
+ const pkg = {
19846
+ name: ir.identity.name.toLowerCase().replace(/\s+/g, "-"),
19847
+ version: ir.identity.version,
19848
+ description: ir.identity.description,
19849
+ type: "module",
19850
+ main: "agent.ts",
19851
+ scripts: {
19852
+ start: "npx tsx agent.ts"
19853
+ },
19854
+ devDependencies: {
19855
+ tsx: "^4.0.0",
19856
+ typescript: "~5.6.0"
19857
+ }
19858
+ };
19859
+ return JSON.stringify(pkg, null, 2) + `
19860
+ `;
19861
+ }
19862
+
19863
+ // ../adl-generator/dist/targets/vanilla-ts/index.js
19864
+ class VanillaTsRenderer {
19865
+ id = "vanilla-ts";
19866
+ label = "Vanilla TypeScript (no framework)";
19867
+ outputLanguage = "typescript";
19868
+ render(ir) {
19869
+ const files = [];
19870
+ files.push({ path: "types.ts", content: renderTypes2(ir) });
19871
+ files.push({ path: "agent.ts", content: renderAgent2(ir) });
19872
+ files.push({ path: "package.json", content: renderPackageJson2(ir) });
19873
+ return files;
19874
+ }
19875
+ }
19876
+
19877
+ // ../adl-generator/dist/index.js
19878
+ registerTarget(new ClaudeSdkTsRenderer);
19879
+ registerTarget(new VanillaTsRenderer);
19880
+ function generateAgent(doc, options) {
19881
+ return generate(doc, options.target);
19882
+ }
19883
+ function listTargets2() {
19884
+ return listTargets().map((t) => ({
19885
+ id: t.id,
19886
+ label: t.label,
19887
+ outputLanguage: t.outputLanguage
19888
+ }));
19889
+ }
19890
+
19891
+ // src/commands/generate.ts
19892
+ function registerGenerateCommand(program2) {
19893
+ program2.command("generate").description("Generate agent code from an ADL document").argument("[file]", "ADL document file to generate from").option("--target <targets...>", "Target framework(s) to generate for").option("--output <dir>", "Output directory", "./generated").option("--list-targets", "List all available generation targets").action(async (file, opts) => {
19894
+ if (opts.listTargets) {
19895
+ const targets2 = listTargets2();
19896
+ console.log(source_default.bold(`Available targets:
19897
+ `));
19898
+ for (const t of targets2) {
19899
+ console.log(` ${source_default.cyan(t.id.padEnd(20))} ${t.label} (${t.outputLanguage})`);
19900
+ }
19901
+ return;
19902
+ }
19903
+ if (!file) {
19904
+ console.error("Error: file argument is required");
19905
+ process.exit(1);
19906
+ }
19907
+ if (!opts.target || opts.target.length === 0) {
19908
+ console.error("Error: --target is required. Use --list-targets to see available targets.");
19909
+ process.exit(1);
19910
+ }
19911
+ const { data, errors: loadErrors } = loadDocument(file);
19912
+ if (loadErrors.length > 0) {
19913
+ console.error(formatErrorsTerminal(file, loadErrors));
19914
+ process.exit(1);
19915
+ }
19916
+ const doc = data;
19917
+ const validationErrors = validateDocument2(doc);
19918
+ if (validationErrors.length > 0) {
19919
+ console.error(formatErrorsTerminal(file, validationErrors));
19920
+ process.exit(1);
19921
+ }
19922
+ for (const targetId of opts.target) {
19923
+ try {
19924
+ const result = generateAgent(doc, {
19925
+ target: targetId
19926
+ });
19927
+ const targetDir = opts.target.length > 1 ? path2.join(opts.output, targetId) : opts.output;
19928
+ for (const genFile of result.files) {
19929
+ const outputPath = path2.join(targetDir, genFile.path);
19930
+ const dir = path2.dirname(outputPath);
19931
+ if (!fs4.existsSync(dir)) {
19932
+ fs4.mkdirSync(dir, { recursive: true });
19933
+ }
19934
+ fs4.writeFileSync(outputPath, genFile.content);
19935
+ }
19936
+ console.log(source_default.green("✓") + ` Generated ${source_default.bold(targetId)} → ${source_default.dim(targetDir)} (${result.files.length} files)`);
19937
+ } catch (err) {
19938
+ const message = err instanceof Error ? err.message : String(err);
19939
+ console.error(source_default.red("✗") + ` Failed to generate ${source_default.bold(targetId)}: ${message}`);
19940
+ process.exit(1);
19941
+ }
19942
+ }
19943
+ });
19944
+ }
19945
+
18055
19946
  // src/index.ts
18056
19947
  var program2 = new Command;
18057
- program2.name("adl").description("CLI tooling for the Agent Definition Language (ADL)").version("0.1.2");
19948
+ program2.name("adl").description("CLI tooling for the Agent Definition Language (ADL)").version("0.2.0");
18058
19949
  registerValidateCommand(program2);
18059
19950
  registerConvertCommand(program2);
18060
19951
  registerInitCommand(program2);
19952
+ registerGenerateCommand(program2);
18061
19953
  program2.parse();