boomkin 0.13.0 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1,21 +1,25 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
+ var __defProp = Object.defineProperty;
3
4
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
4
- var __esm = (fn, res, err) => () => {
5
- if (fn)
6
- try {
7
- res = fn(fn = 0);
8
- } catch (e) {
9
- err = [e];
10
- }
11
- if (err)
12
- throw err[0];
13
- return res;
5
+ var __returnValue = (v) => v;
6
+ function __exportSetter(name, newValue) {
7
+ this[name] = __returnValue.bind(null, newValue);
8
+ }
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true,
14
+ configurable: true,
15
+ set: __exportSetter.bind(all, name)
16
+ });
14
17
  };
18
+ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
15
19
  var __require = import.meta.require;
16
20
 
17
21
  // node_modules/yaml/dist/nodes/identity.js
18
- var require_identity = __commonJS(function(exports) {
22
+ var require_identity = __commonJS((exports) => {
19
23
  var ALIAS = Symbol.for("yaml.alias");
20
24
  var DOC = Symbol.for("yaml.document");
21
25
  var MAP = Symbol.for("yaml.map");
@@ -69,7 +73,7 @@ var require_identity = __commonJS(function(exports) {
69
73
  });
70
74
 
71
75
  // node_modules/yaml/dist/visit.js
72
- var require_visit = __commonJS(function(exports) {
76
+ var require_visit = __commonJS((exports) => {
73
77
  var identity = require_identity();
74
78
  var BREAK = Symbol("break visit");
75
79
  var SKIP = Symbol("skip children");
@@ -224,7 +228,7 @@ var require_visit = __commonJS(function(exports) {
224
228
  });
225
229
 
226
230
  // node_modules/yaml/dist/doc/directives.js
227
- var require_directives = __commonJS(function(exports) {
231
+ var require_directives = __commonJS((exports) => {
228
232
  var identity = require_identity();
229
233
  var visit = require_visit();
230
234
  var escapeChars = {
@@ -376,7 +380,7 @@ var require_directives = __commonJS(function(exports) {
376
380
  });
377
381
 
378
382
  // node_modules/yaml/dist/doc/anchors.js
379
- var require_anchors = __commonJS(function(exports) {
383
+ var require_anchors = __commonJS((exports) => {
380
384
  var identity = require_identity();
381
385
  var visit = require_visit();
382
386
  function anchorIsValid(anchor) {
@@ -438,7 +442,7 @@ var require_anchors = __commonJS(function(exports) {
438
442
  });
439
443
 
440
444
  // node_modules/yaml/dist/doc/applyReviver.js
441
- var require_applyReviver = __commonJS(function(exports) {
445
+ var require_applyReviver = __commonJS((exports) => {
442
446
  function applyReviver(reviver, obj, key, val) {
443
447
  if (val && typeof val === "object") {
444
448
  if (Array.isArray(val)) {
@@ -485,7 +489,7 @@ var require_applyReviver = __commonJS(function(exports) {
485
489
  });
486
490
 
487
491
  // node_modules/yaml/dist/nodes/toJS.js
488
- var require_toJS = __commonJS(function(exports) {
492
+ var require_toJS = __commonJS((exports) => {
489
493
  var identity = require_identity();
490
494
  function toJS(value, arg, ctx) {
491
495
  if (Array.isArray(value))
@@ -495,8 +499,8 @@ var require_toJS = __commonJS(function(exports) {
495
499
  return value.toJSON(arg, ctx);
496
500
  const data = { aliasCount: 0, count: 1, res: undefined };
497
501
  ctx.anchors.set(value, data);
498
- ctx.onCreate = (res) => {
499
- data.res = res;
502
+ ctx.onCreate = (res2) => {
503
+ data.res = res2;
500
504
  delete ctx.onCreate;
501
505
  };
502
506
  const res = value.toJSON(arg, ctx);
@@ -512,7 +516,7 @@ var require_toJS = __commonJS(function(exports) {
512
516
  });
513
517
 
514
518
  // node_modules/yaml/dist/nodes/Node.js
515
- var require_Node = __commonJS(function(exports) {
519
+ var require_Node = __commonJS((exports) => {
516
520
  var applyReviver = require_applyReviver();
517
521
  var identity = require_identity();
518
522
  var toJS = require_toJS();
@@ -540,8 +544,8 @@ var require_Node = __commonJS(function(exports) {
540
544
  };
541
545
  const res = toJS.toJS(this, "", ctx);
542
546
  if (typeof onAnchor === "function")
543
- for (const { count, res } of ctx.anchors.values())
544
- onAnchor(res, count);
547
+ for (const { count, res: res2 } of ctx.anchors.values())
548
+ onAnchor(res2, count);
545
549
  return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
546
550
  }
547
551
  }
@@ -549,7 +553,7 @@ var require_Node = __commonJS(function(exports) {
549
553
  });
550
554
 
551
555
  // node_modules/yaml/dist/nodes/Alias.js
552
- var require_Alias = __commonJS(function(exports) {
556
+ var require_Alias = __commonJS((exports) => {
553
557
  var anchors = require_anchors();
554
558
  var visit = require_visit();
555
559
  var identity = require_identity();
@@ -591,11 +595,11 @@ var require_Alias = __commonJS(function(exports) {
591
595
  found = node;
592
596
  }
593
597
  if (found && ctx) {
594
- const { anchors, doc, maxAliasCount } = ctx;
595
- let data = anchors.get(found);
598
+ const { anchors: anchors2, doc: doc2, maxAliasCount } = ctx;
599
+ let data = anchors2.get(found);
596
600
  if (!data) {
597
601
  toJS.toJS(found, null, ctx);
598
- data = anchors.get(found);
602
+ data = anchors2.get(found);
599
603
  }
600
604
  if (data?.res === undefined) {
601
605
  const msg = "This should not happen: Alias anchor was not resolved?";
@@ -604,7 +608,7 @@ var require_Alias = __commonJS(function(exports) {
604
608
  if (maxAliasCount >= 0) {
605
609
  data.count += 1;
606
610
  if (data.aliasCount === 0)
607
- data.aliasCount = getAliasCount(doc, found, anchors);
611
+ data.aliasCount = getAliasCount(doc2, found, anchors2);
608
612
  if (data.count * data.aliasCount > maxAliasCount) {
609
613
  const msg = "Excessive alias count indicates a resource exhaustion attack";
610
614
  throw new ReferenceError(msg);
@@ -637,22 +641,22 @@ var require_Alias = __commonJS(function(exports) {
637
641
  return src;
638
642
  }
639
643
  }
640
- function getAliasCount(doc, node, anchors) {
644
+ function getAliasCount(doc, node, anchors2) {
641
645
  if (identity.isAlias(node)) {
642
646
  const source = node.resolve(doc);
643
- const anchor = anchors && source && anchors.get(source);
647
+ const anchor = anchors2 && source && anchors2.get(source);
644
648
  return anchor ? anchor.count * anchor.aliasCount : 0;
645
649
  } else if (identity.isCollection(node)) {
646
650
  let count = 0;
647
651
  for (const item of node.items) {
648
- const c = getAliasCount(doc, item, anchors);
652
+ const c = getAliasCount(doc, item, anchors2);
649
653
  if (c > count)
650
654
  count = c;
651
655
  }
652
656
  return count;
653
657
  } else if (identity.isPair(node)) {
654
- const kc = getAliasCount(doc, node.key, anchors);
655
- const vc = getAliasCount(doc, node.value, anchors);
658
+ const kc = getAliasCount(doc, node.key, anchors2);
659
+ const vc = getAliasCount(doc, node.value, anchors2);
656
660
  return Math.max(kc, vc);
657
661
  }
658
662
  return 1;
@@ -661,7 +665,7 @@ var require_Alias = __commonJS(function(exports) {
661
665
  });
662
666
 
663
667
  // node_modules/yaml/dist/nodes/Scalar.js
664
- var require_Scalar = __commonJS(function(exports) {
668
+ var require_Scalar = __commonJS((exports) => {
665
669
  var identity = require_identity();
666
670
  var Node = require_Node();
667
671
  var toJS = require_toJS();
@@ -689,7 +693,7 @@ var require_Scalar = __commonJS(function(exports) {
689
693
  });
690
694
 
691
695
  // node_modules/yaml/dist/doc/createNode.js
692
- var require_createNode = __commonJS(function(exports) {
696
+ var require_createNode = __commonJS((exports) => {
693
697
  var Alias = require_Alias();
694
698
  var identity = require_identity();
695
699
  var Scalar = require_Scalar();
@@ -737,10 +741,10 @@ var require_createNode = __commonJS(function(exports) {
737
741
  value = value.toJSON();
738
742
  }
739
743
  if (!value || typeof value !== "object") {
740
- const node = new Scalar.Scalar(value);
744
+ const node2 = new Scalar.Scalar(value);
741
745
  if (ref)
742
- ref.node = node;
743
- return node;
746
+ ref.node = node2;
747
+ return node2;
744
748
  }
745
749
  tagObj = value instanceof Map ? schema[identity.MAP] : (Symbol.iterator in Object(value)) ? schema[identity.SEQ] : schema[identity.MAP];
746
750
  }
@@ -761,7 +765,7 @@ var require_createNode = __commonJS(function(exports) {
761
765
  });
762
766
 
763
767
  // node_modules/yaml/dist/nodes/Collection.js
764
- var require_Collection = __commonJS(function(exports) {
768
+ var require_Collection = __commonJS((exports) => {
765
769
  var createNode = require_createNode();
766
770
  var identity = require_identity();
767
771
  var Node = require_Node();
@@ -876,7 +880,7 @@ var require_Collection = __commonJS(function(exports) {
876
880
  });
877
881
 
878
882
  // node_modules/yaml/dist/stringify/stringifyComment.js
879
- var require_stringifyComment = __commonJS(function(exports) {
883
+ var require_stringifyComment = __commonJS((exports) => {
880
884
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
881
885
  function indentComment(comment, indent) {
882
886
  if (/^\n+$/.test(comment))
@@ -893,7 +897,7 @@ var require_stringifyComment = __commonJS(function(exports) {
893
897
  });
894
898
 
895
899
  // node_modules/yaml/dist/stringify/foldFlowLines.js
896
- var require_foldFlowLines = __commonJS(function(exports) {
900
+ var require_foldFlowLines = __commonJS((exports) => {
897
901
  var FOLD_FLOW = "flow";
898
902
  var FOLD_BLOCK = "block";
899
903
  var FOLD_QUOTED = "quoted";
@@ -989,17 +993,17 @@ var require_foldFlowLines = __commonJS(function(exports) {
989
993
  if (onFold)
990
994
  onFold();
991
995
  let res = text.slice(0, folds[0]);
992
- for (let i = 0;i < folds.length; ++i) {
993
- const fold = folds[i];
994
- const end = folds[i + 1] || text.length;
996
+ for (let i2 = 0;i2 < folds.length; ++i2) {
997
+ const fold = folds[i2];
998
+ const end2 = folds[i2 + 1] || text.length;
995
999
  if (fold === 0)
996
1000
  res = `
997
- ${indent}${text.slice(0, end)}`;
1001
+ ${indent}${text.slice(0, end2)}`;
998
1002
  else {
999
1003
  if (mode === FOLD_QUOTED && escapedFolds[fold])
1000
1004
  res += `${text[fold]}\\`;
1001
1005
  res += `
1002
- ${indent}${text.slice(fold + 1, end)}`;
1006
+ ${indent}${text.slice(fold + 1, end2)}`;
1003
1007
  }
1004
1008
  }
1005
1009
  return res;
@@ -1030,7 +1034,7 @@ ${indent}${text.slice(fold + 1, end)}`;
1030
1034
  });
1031
1035
 
1032
1036
  // node_modules/yaml/dist/stringify/stringifyString.js
1033
- var require_stringifyString = __commonJS(function(exports) {
1037
+ var require_stringifyString = __commonJS((exports) => {
1034
1038
  var Scalar = require_Scalar();
1035
1039
  var foldFlowLines = require_foldFlowLines();
1036
1040
  var getFoldOptions = (ctx, isBlock) => ({
@@ -1328,7 +1332,7 @@ ${indent}`);
1328
1332
  });
1329
1333
 
1330
1334
  // node_modules/yaml/dist/stringify/stringify.js
1331
- var require_stringify = __commonJS(function(exports) {
1335
+ var require_stringify = __commonJS((exports) => {
1332
1336
  var anchors = require_anchors();
1333
1337
  var identity = require_identity();
1334
1338
  var stringifyComment = require_stringifyComment();
@@ -1449,7 +1453,7 @@ ${ctx.indent}${str}`;
1449
1453
  });
1450
1454
 
1451
1455
  // node_modules/yaml/dist/stringify/stringifyPair.js
1452
- var require_stringifyPair = __commonJS(function(exports) {
1456
+ var require_stringifyPair = __commonJS((exports) => {
1453
1457
  var identity = require_identity();
1454
1458
  var Scalar = require_Scalar();
1455
1459
  var stringify = require_stringify();
@@ -1585,7 +1589,7 @@ ${ctx.indent}`;
1585
1589
  });
1586
1590
 
1587
1591
  // node_modules/yaml/dist/log.js
1588
- var require_log = __commonJS(function(exports) {
1592
+ var require_log = __commonJS((exports) => {
1589
1593
  var node_process = __require("process");
1590
1594
  function debug(logLevel, ...messages) {
1591
1595
  if (logLevel === "debug")
@@ -1604,7 +1608,7 @@ var require_log = __commonJS(function(exports) {
1604
1608
  });
1605
1609
 
1606
1610
  // node_modules/yaml/dist/schema/yaml-1.1/merge.js
1607
- var require_merge = __commonJS(function(exports) {
1611
+ var require_merge = __commonJS((exports) => {
1608
1612
  var identity = require_identity();
1609
1613
  var Scalar = require_Scalar();
1610
1614
  var MERGE_KEY = "<<";
@@ -1635,15 +1639,15 @@ var require_merge = __commonJS(function(exports) {
1635
1639
  if (!identity.isMap(source))
1636
1640
  throw new Error("Merge sources must be maps or map aliases");
1637
1641
  const srcMap = source.toJSON(null, ctx, Map);
1638
- for (const [key, value] of srcMap) {
1642
+ for (const [key, value2] of srcMap) {
1639
1643
  if (map instanceof Map) {
1640
1644
  if (!map.has(key))
1641
- map.set(key, value);
1645
+ map.set(key, value2);
1642
1646
  } else if (map instanceof Set) {
1643
1647
  map.add(key);
1644
1648
  } else if (!Object.prototype.hasOwnProperty.call(map, key)) {
1645
1649
  Object.defineProperty(map, key, {
1646
- value,
1650
+ value: value2,
1647
1651
  writable: true,
1648
1652
  enumerable: true,
1649
1653
  configurable: true
@@ -1661,7 +1665,7 @@ var require_merge = __commonJS(function(exports) {
1661
1665
  });
1662
1666
 
1663
1667
  // node_modules/yaml/dist/nodes/addPairToJSMap.js
1664
- var require_addPairToJSMap = __commonJS(function(exports) {
1668
+ var require_addPairToJSMap = __commonJS((exports) => {
1665
1669
  var log = require_log();
1666
1670
  var merge = require_merge();
1667
1671
  var stringify = require_stringify();
@@ -1722,7 +1726,7 @@ var require_addPairToJSMap = __commonJS(function(exports) {
1722
1726
  });
1723
1727
 
1724
1728
  // node_modules/yaml/dist/nodes/Pair.js
1725
- var require_Pair = __commonJS(function(exports) {
1729
+ var require_Pair = __commonJS((exports) => {
1726
1730
  var createNode = require_createNode();
1727
1731
  var stringifyPair = require_stringifyPair();
1728
1732
  var addPairToJSMap = require_addPairToJSMap();
@@ -1760,14 +1764,14 @@ var require_Pair = __commonJS(function(exports) {
1760
1764
  });
1761
1765
 
1762
1766
  // node_modules/yaml/dist/stringify/stringifyCollection.js
1763
- var require_stringifyCollection = __commonJS(function(exports) {
1767
+ var require_stringifyCollection = __commonJS((exports) => {
1764
1768
  var identity = require_identity();
1765
1769
  var stringify = require_stringify();
1766
1770
  var stringifyComment = require_stringifyComment();
1767
1771
  function stringifyCollection(collection, ctx, options) {
1768
1772
  const flow = ctx.inFlow ?? collection.flow;
1769
- const stringify = flow ? stringifyFlowCollection : stringifyBlockCollection;
1770
- return stringify(collection, ctx, options);
1773
+ const stringify2 = flow ? stringifyFlowCollection : stringifyBlockCollection;
1774
+ return stringify2(collection, ctx, options);
1771
1775
  }
1772
1776
  function stringifyBlockCollection({ comment, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) {
1773
1777
  const { indent, options: { commentString } } = ctx;
@@ -1776,13 +1780,13 @@ var require_stringifyCollection = __commonJS(function(exports) {
1776
1780
  const lines = [];
1777
1781
  for (let i = 0;i < items.length; ++i) {
1778
1782
  const item = items[i];
1779
- let comment = null;
1783
+ let comment2 = null;
1780
1784
  if (identity.isNode(item)) {
1781
1785
  if (!chompKeep && item.spaceBefore)
1782
1786
  lines.push("");
1783
1787
  addCommentBefore(ctx, lines, item.commentBefore, chompKeep);
1784
1788
  if (item.comment)
1785
- comment = item.comment;
1789
+ comment2 = item.comment;
1786
1790
  } else if (identity.isPair(item)) {
1787
1791
  const ik = identity.isNode(item.key) ? item.key : null;
1788
1792
  if (ik) {
@@ -1792,12 +1796,12 @@ var require_stringifyCollection = __commonJS(function(exports) {
1792
1796
  }
1793
1797
  }
1794
1798
  chompKeep = false;
1795
- let str = stringify.stringify(item, itemCtx, () => comment = null, () => chompKeep = true);
1796
- if (comment)
1797
- str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
1798
- if (chompKeep && comment)
1799
+ let str2 = stringify.stringify(item, itemCtx, () => comment2 = null, () => chompKeep = true);
1800
+ if (comment2)
1801
+ str2 += stringifyComment.lineComment(str2, itemIndent, commentString(comment2));
1802
+ if (chompKeep && comment2)
1799
1803
  chompKeep = false;
1800
- lines.push(blockItemPrefix + str);
1804
+ lines.push(blockItemPrefix + str2);
1801
1805
  }
1802
1806
  let str;
1803
1807
  if (lines.length === 0) {
@@ -1912,7 +1916,7 @@ ${indent}${end}`;
1912
1916
  });
1913
1917
 
1914
1918
  // node_modules/yaml/dist/nodes/YAMLMap.js
1915
- var require_YAMLMap = __commonJS(function(exports) {
1919
+ var require_YAMLMap = __commonJS((exports) => {
1916
1920
  var stringifyCollection = require_stringifyCollection();
1917
1921
  var addPairToJSMap = require_addPairToJSMap();
1918
1922
  var Collection = require_Collection();
@@ -2039,7 +2043,7 @@ var require_YAMLMap = __commonJS(function(exports) {
2039
2043
  });
2040
2044
 
2041
2045
  // node_modules/yaml/dist/schema/common/map.js
2042
- var require_map = __commonJS(function(exports) {
2046
+ var require_map = __commonJS((exports) => {
2043
2047
  var identity = require_identity();
2044
2048
  var YAMLMap = require_YAMLMap();
2045
2049
  var map = {
@@ -2047,10 +2051,10 @@ var require_map = __commonJS(function(exports) {
2047
2051
  default: true,
2048
2052
  nodeClass: YAMLMap.YAMLMap,
2049
2053
  tag: "tag:yaml.org,2002:map",
2050
- resolve(map, onError) {
2051
- if (!identity.isMap(map))
2054
+ resolve(map2, onError) {
2055
+ if (!identity.isMap(map2))
2052
2056
  onError("Expected a mapping for this tag");
2053
- return map;
2057
+ return map2;
2054
2058
  },
2055
2059
  createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)
2056
2060
  };
@@ -2058,7 +2062,7 @@ var require_map = __commonJS(function(exports) {
2058
2062
  });
2059
2063
 
2060
2064
  // node_modules/yaml/dist/nodes/YAMLSeq.js
2061
- var require_YAMLSeq = __commonJS(function(exports) {
2065
+ var require_YAMLSeq = __commonJS((exports) => {
2062
2066
  var createNode = require_createNode();
2063
2067
  var stringifyCollection = require_stringifyCollection();
2064
2068
  var Collection = require_Collection();
@@ -2151,7 +2155,7 @@ var require_YAMLSeq = __commonJS(function(exports) {
2151
2155
  });
2152
2156
 
2153
2157
  // node_modules/yaml/dist/schema/common/seq.js
2154
- var require_seq = __commonJS(function(exports) {
2158
+ var require_seq = __commonJS((exports) => {
2155
2159
  var identity = require_identity();
2156
2160
  var YAMLSeq = require_YAMLSeq();
2157
2161
  var seq = {
@@ -2159,10 +2163,10 @@ var require_seq = __commonJS(function(exports) {
2159
2163
  default: true,
2160
2164
  nodeClass: YAMLSeq.YAMLSeq,
2161
2165
  tag: "tag:yaml.org,2002:seq",
2162
- resolve(seq, onError) {
2163
- if (!identity.isSeq(seq))
2166
+ resolve(seq2, onError) {
2167
+ if (!identity.isSeq(seq2))
2164
2168
  onError("Expected a sequence for this tag");
2165
- return seq;
2169
+ return seq2;
2166
2170
  },
2167
2171
  createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)
2168
2172
  };
@@ -2170,7 +2174,7 @@ var require_seq = __commonJS(function(exports) {
2170
2174
  });
2171
2175
 
2172
2176
  // node_modules/yaml/dist/schema/common/string.js
2173
- var require_string = __commonJS(function(exports) {
2177
+ var require_string = __commonJS((exports) => {
2174
2178
  var stringifyString = require_stringifyString();
2175
2179
  var string = {
2176
2180
  identify: (value) => typeof value === "string",
@@ -2186,7 +2190,7 @@ var require_string = __commonJS(function(exports) {
2186
2190
  });
2187
2191
 
2188
2192
  // node_modules/yaml/dist/schema/common/null.js
2189
- var require_null = __commonJS(function(exports) {
2193
+ var require_null = __commonJS((exports) => {
2190
2194
  var Scalar = require_Scalar();
2191
2195
  var nullTag = {
2192
2196
  identify: (value) => value == null,
@@ -2201,7 +2205,7 @@ var require_null = __commonJS(function(exports) {
2201
2205
  });
2202
2206
 
2203
2207
  // node_modules/yaml/dist/schema/core/bool.js
2204
- var require_bool = __commonJS(function(exports) {
2208
+ var require_bool = __commonJS((exports) => {
2205
2209
  var Scalar = require_Scalar();
2206
2210
  var boolTag = {
2207
2211
  identify: (value) => typeof value === "boolean",
@@ -2222,7 +2226,7 @@ var require_bool = __commonJS(function(exports) {
2222
2226
  });
2223
2227
 
2224
2228
  // node_modules/yaml/dist/stringify/stringifyNumber.js
2225
- var require_stringifyNumber = __commonJS(function(exports) {
2229
+ var require_stringifyNumber = __commonJS((exports) => {
2226
2230
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2227
2231
  if (typeof value === "bigint")
2228
2232
  return String(value);
@@ -2246,7 +2250,7 @@ var require_stringifyNumber = __commonJS(function(exports) {
2246
2250
  });
2247
2251
 
2248
2252
  // node_modules/yaml/dist/schema/core/float.js
2249
- var require_float = __commonJS(function(exports) {
2253
+ var require_float = __commonJS((exports) => {
2250
2254
  var Scalar = require_Scalar();
2251
2255
  var stringifyNumber = require_stringifyNumber();
2252
2256
  var floatNaN = {
@@ -2289,7 +2293,7 @@ var require_float = __commonJS(function(exports) {
2289
2293
  });
2290
2294
 
2291
2295
  // node_modules/yaml/dist/schema/core/int.js
2292
- var require_int = __commonJS(function(exports) {
2296
+ var require_int = __commonJS((exports) => {
2293
2297
  var stringifyNumber = require_stringifyNumber();
2294
2298
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
2295
2299
  var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
@@ -2331,7 +2335,7 @@ var require_int = __commonJS(function(exports) {
2331
2335
  });
2332
2336
 
2333
2337
  // node_modules/yaml/dist/schema/core/schema.js
2334
- var require_schema = __commonJS(function(exports) {
2338
+ var require_schema = __commonJS((exports) => {
2335
2339
  var map = require_map();
2336
2340
  var _null = require_null();
2337
2341
  var seq = require_seq();
@@ -2356,7 +2360,7 @@ var require_schema = __commonJS(function(exports) {
2356
2360
  });
2357
2361
 
2358
2362
  // node_modules/yaml/dist/schema/json/schema.js
2359
- var require_schema2 = __commonJS(function(exports) {
2363
+ var require_schema2 = __commonJS((exports) => {
2360
2364
  var Scalar = require_Scalar();
2361
2365
  var map = require_map();
2362
2366
  var seq = require_seq();
@@ -2420,7 +2424,7 @@ var require_schema2 = __commonJS(function(exports) {
2420
2424
  });
2421
2425
 
2422
2426
  // node_modules/yaml/dist/schema/yaml-1.1/binary.js
2423
- var require_binary = __commonJS(function(exports) {
2427
+ var require_binary = __commonJS((exports) => {
2424
2428
  var node_buffer = __require("buffer");
2425
2429
  var Scalar = require_Scalar();
2426
2430
  var stringifyString = require_stringifyString();
@@ -2475,7 +2479,7 @@ var require_binary = __commonJS(function(exports) {
2475
2479
  });
2476
2480
 
2477
2481
  // node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2478
- var require_pairs = __commonJS(function(exports) {
2482
+ var require_pairs = __commonJS((exports) => {
2479
2483
  var identity = require_identity();
2480
2484
  var Pair = require_Pair();
2481
2485
  var Scalar = require_Scalar();
@@ -2508,8 +2512,8 @@ ${cn.comment}` : item.comment;
2508
2512
  }
2509
2513
  function createPairs(schema, iterable, ctx) {
2510
2514
  const { replacer } = ctx;
2511
- const pairs = new YAMLSeq.YAMLSeq(schema);
2512
- pairs.tag = "tag:yaml.org,2002:pairs";
2515
+ const pairs2 = new YAMLSeq.YAMLSeq(schema);
2516
+ pairs2.tag = "tag:yaml.org,2002:pairs";
2513
2517
  let i = 0;
2514
2518
  if (iterable && Symbol.iterator in Object(iterable))
2515
2519
  for (let it of iterable) {
@@ -2533,9 +2537,9 @@ ${cn.comment}` : item.comment;
2533
2537
  } else {
2534
2538
  key = it;
2535
2539
  }
2536
- pairs.items.push(Pair.createPair(key, value, ctx));
2540
+ pairs2.items.push(Pair.createPair(key, value, ctx));
2537
2541
  }
2538
- return pairs;
2542
+ return pairs2;
2539
2543
  }
2540
2544
  var pairs = {
2541
2545
  collection: "seq",
@@ -2550,7 +2554,7 @@ ${cn.comment}` : item.comment;
2550
2554
  });
2551
2555
 
2552
2556
  // node_modules/yaml/dist/schema/yaml-1.1/omap.js
2553
- var require_omap = __commonJS(function(exports) {
2557
+ var require_omap = __commonJS((exports) => {
2554
2558
  var identity = require_identity();
2555
2559
  var toJS = require_toJS();
2556
2560
  var YAMLMap = require_YAMLMap();
@@ -2589,9 +2593,9 @@ var require_omap = __commonJS(function(exports) {
2589
2593
  }
2590
2594
  static from(schema, iterable, ctx) {
2591
2595
  const pairs$1 = pairs.createPairs(schema, iterable, ctx);
2592
- const omap = new this;
2593
- omap.items = pairs$1.items;
2594
- return omap;
2596
+ const omap2 = new this;
2597
+ omap2.items = pairs$1.items;
2598
+ return omap2;
2595
2599
  }
2596
2600
  }
2597
2601
  YAMLOMap.tag = "tag:yaml.org,2002:omap";
@@ -2622,7 +2626,7 @@ var require_omap = __commonJS(function(exports) {
2622
2626
  });
2623
2627
 
2624
2628
  // node_modules/yaml/dist/schema/yaml-1.1/bool.js
2625
- var require_bool2 = __commonJS(function(exports) {
2629
+ var require_bool2 = __commonJS((exports) => {
2626
2630
  var Scalar = require_Scalar();
2627
2631
  function boolStringify({ value, source }, ctx) {
2628
2632
  const boolObj = value ? trueTag : falseTag;
@@ -2651,7 +2655,7 @@ var require_bool2 = __commonJS(function(exports) {
2651
2655
  });
2652
2656
 
2653
2657
  // node_modules/yaml/dist/schema/yaml-1.1/float.js
2654
- var require_float2 = __commonJS(function(exports) {
2658
+ var require_float2 = __commonJS((exports) => {
2655
2659
  var Scalar = require_Scalar();
2656
2660
  var stringifyNumber = require_stringifyNumber();
2657
2661
  var floatNaN = {
@@ -2697,7 +2701,7 @@ var require_float2 = __commonJS(function(exports) {
2697
2701
  });
2698
2702
 
2699
2703
  // node_modules/yaml/dist/schema/yaml-1.1/int.js
2700
- var require_int2 = __commonJS(function(exports) {
2704
+ var require_int2 = __commonJS((exports) => {
2701
2705
  var stringifyNumber = require_stringifyNumber();
2702
2706
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
2703
2707
  function intResolve(str, offset, radix, { intAsBigInt }) {
@@ -2717,8 +2721,8 @@ var require_int2 = __commonJS(function(exports) {
2717
2721
  str = `0x${str}`;
2718
2722
  break;
2719
2723
  }
2720
- const n = BigInt(str);
2721
- return sign === "-" ? BigInt(-1) * n : n;
2724
+ const n2 = BigInt(str);
2725
+ return sign === "-" ? BigInt(-1) * n2 : n2;
2722
2726
  }
2723
2727
  const n = parseInt(str, radix);
2724
2728
  return sign === "-" ? -1 * n : n;
@@ -2773,7 +2777,7 @@ var require_int2 = __commonJS(function(exports) {
2773
2777
  });
2774
2778
 
2775
2779
  // node_modules/yaml/dist/schema/yaml-1.1/set.js
2776
- var require_set = __commonJS(function(exports) {
2780
+ var require_set = __commonJS((exports) => {
2777
2781
  var identity = require_identity();
2778
2782
  var Pair = require_Pair();
2779
2783
  var YAMLMap = require_YAMLMap();
@@ -2822,14 +2826,14 @@ var require_set = __commonJS(function(exports) {
2822
2826
  }
2823
2827
  static from(schema, iterable, ctx) {
2824
2828
  const { replacer } = ctx;
2825
- const set = new this(schema);
2829
+ const set2 = new this(schema);
2826
2830
  if (iterable && Symbol.iterator in Object(iterable))
2827
2831
  for (let value of iterable) {
2828
2832
  if (typeof replacer === "function")
2829
2833
  value = replacer.call(iterable, value, value);
2830
- set.items.push(Pair.createPair(value, null, ctx));
2834
+ set2.items.push(Pair.createPair(value, null, ctx));
2831
2835
  }
2832
- return set;
2836
+ return set2;
2833
2837
  }
2834
2838
  }
2835
2839
  YAMLSet.tag = "tag:yaml.org,2002:set";
@@ -2856,13 +2860,13 @@ var require_set = __commonJS(function(exports) {
2856
2860
  });
2857
2861
 
2858
2862
  // node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2859
- var require_timestamp = __commonJS(function(exports) {
2863
+ var require_timestamp = __commonJS((exports) => {
2860
2864
  var stringifyNumber = require_stringifyNumber();
2861
2865
  function parseSexagesimal(str, asBigInt) {
2862
2866
  const sign = str[0];
2863
2867
  const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
2864
2868
  const num = (n) => asBigInt ? BigInt(n) : Number(n);
2865
- const res = parts.replace(/_/g, "").split(":").reduce((res, p) => res * num(60) + num(p), num(0));
2869
+ const res = parts.replace(/_/g, "").split(":").reduce((res2, p) => res2 * num(60) + num(p), num(0));
2866
2870
  return sign === "-" ? num(-1) * res : res;
2867
2871
  }
2868
2872
  function stringifySexagesimal(node) {
@@ -2938,7 +2942,7 @@ var require_timestamp = __commonJS(function(exports) {
2938
2942
  });
2939
2943
 
2940
2944
  // node_modules/yaml/dist/schema/yaml-1.1/schema.js
2941
- var require_schema3 = __commonJS(function(exports) {
2945
+ var require_schema3 = __commonJS((exports) => {
2942
2946
  var map = require_map();
2943
2947
  var _null = require_null();
2944
2948
  var seq = require_seq();
@@ -2979,7 +2983,7 @@ var require_schema3 = __commonJS(function(exports) {
2979
2983
  });
2980
2984
 
2981
2985
  // node_modules/yaml/dist/schema/tags.js
2982
- var require_tags = __commonJS(function(exports) {
2986
+ var require_tags = __commonJS((exports) => {
2983
2987
  var map = require_map();
2984
2988
  var _null = require_null();
2985
2989
  var seq = require_seq();
@@ -3053,16 +3057,16 @@ var require_tags = __commonJS(function(exports) {
3053
3057
  }
3054
3058
  if (addMergeTag)
3055
3059
  tags = tags.concat(merge.merge);
3056
- return tags.reduce((tags, tag) => {
3060
+ return tags.reduce((tags2, tag) => {
3057
3061
  const tagObj = typeof tag === "string" ? tagsByName[tag] : tag;
3058
3062
  if (!tagObj) {
3059
3063
  const tagName = JSON.stringify(tag);
3060
3064
  const keys = Object.keys(tagsByName).map((key) => JSON.stringify(key)).join(", ");
3061
3065
  throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
3062
3066
  }
3063
- if (!tags.includes(tagObj))
3064
- tags.push(tagObj);
3065
- return tags;
3067
+ if (!tags2.includes(tagObj))
3068
+ tags2.push(tagObj);
3069
+ return tags2;
3066
3070
  }, []);
3067
3071
  }
3068
3072
  exports.coreKnownTags = coreKnownTags;
@@ -3070,7 +3074,7 @@ var require_tags = __commonJS(function(exports) {
3070
3074
  });
3071
3075
 
3072
3076
  // node_modules/yaml/dist/schema/Schema.js
3073
- var require_Schema = __commonJS(function(exports) {
3077
+ var require_Schema = __commonJS((exports) => {
3074
3078
  var identity = require_identity();
3075
3079
  var map = require_map();
3076
3080
  var seq = require_seq();
@@ -3100,7 +3104,7 @@ var require_Schema = __commonJS(function(exports) {
3100
3104
  });
3101
3105
 
3102
3106
  // node_modules/yaml/dist/stringify/stringifyDocument.js
3103
- var require_stringifyDocument = __commonJS(function(exports) {
3107
+ var require_stringifyDocument = __commonJS((exports) => {
3104
3108
  var identity = require_identity();
3105
3109
  var stringify = require_stringify();
3106
3110
  var stringifyComment = require_stringifyComment();
@@ -3180,7 +3184,7 @@ var require_stringifyDocument = __commonJS(function(exports) {
3180
3184
  });
3181
3185
 
3182
3186
  // node_modules/yaml/dist/doc/Document.js
3183
- var require_Document = __commonJS(function(exports) {
3187
+ var require_Document = __commonJS((exports) => {
3184
3188
  var Alias = require_Alias();
3185
3189
  var Collection = require_Collection();
3186
3190
  var identity = require_identity();
@@ -3389,8 +3393,8 @@ var require_Document = __commonJS(function(exports) {
3389
3393
  };
3390
3394
  const res = toJS.toJS(this.contents, jsonArg ?? "", ctx);
3391
3395
  if (typeof onAnchor === "function")
3392
- for (const { count, res } of ctx.anchors.values())
3393
- onAnchor(res, count);
3396
+ for (const { count, res: res2 } of ctx.anchors.values())
3397
+ onAnchor(res2, count);
3394
3398
  return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
3395
3399
  }
3396
3400
  toJSON(jsonArg, onAnchor) {
@@ -3415,7 +3419,7 @@ var require_Document = __commonJS(function(exports) {
3415
3419
  });
3416
3420
 
3417
3421
  // node_modules/yaml/dist/errors.js
3418
- var require_errors = __commonJS(function(exports) {
3422
+ var require_errors = __commonJS((exports) => {
3419
3423
  class YAMLError extends Error {
3420
3424
  constructor(name, pos, code, message) {
3421
3425
  super();
@@ -3480,7 +3484,7 @@ ${pointer}
3480
3484
  });
3481
3485
 
3482
3486
  // node_modules/yaml/dist/compose/resolve-props.js
3483
- var require_resolve_props = __commonJS(function(exports) {
3487
+ var require_resolve_props = __commonJS((exports) => {
3484
3488
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3485
3489
  let spaceBefore = false;
3486
3490
  let atNewline = startOnNewline;
@@ -3610,7 +3614,7 @@ var require_resolve_props = __commonJS(function(exports) {
3610
3614
  });
3611
3615
 
3612
3616
  // node_modules/yaml/dist/compose/util-contains-newline.js
3613
- var require_util_contains_newline = __commonJS(function(exports) {
3617
+ var require_util_contains_newline = __commonJS((exports) => {
3614
3618
  function containsNewline(key) {
3615
3619
  if (!key)
3616
3620
  return null;
@@ -3650,7 +3654,7 @@ var require_util_contains_newline = __commonJS(function(exports) {
3650
3654
  });
3651
3655
 
3652
3656
  // node_modules/yaml/dist/compose/util-flow-indent-check.js
3653
- var require_util_flow_indent_check = __commonJS(function(exports) {
3657
+ var require_util_flow_indent_check = __commonJS((exports) => {
3654
3658
  var utilContainsNewline = require_util_contains_newline();
3655
3659
  function flowIndentCheck(indent, fc, onError) {
3656
3660
  if (fc?.type === "flow-collection") {
@@ -3665,7 +3669,7 @@ var require_util_flow_indent_check = __commonJS(function(exports) {
3665
3669
  });
3666
3670
 
3667
3671
  // node_modules/yaml/dist/compose/util-map-includes.js
3668
- var require_util_map_includes = __commonJS(function(exports) {
3672
+ var require_util_map_includes = __commonJS((exports) => {
3669
3673
  var identity = require_identity();
3670
3674
  function mapIncludes(ctx, items, search) {
3671
3675
  const { uniqueKeys } = ctx.options;
@@ -3678,7 +3682,7 @@ var require_util_map_includes = __commonJS(function(exports) {
3678
3682
  });
3679
3683
 
3680
3684
  // node_modules/yaml/dist/compose/resolve-block-map.js
3681
- var require_resolve_block_map = __commonJS(function(exports) {
3685
+ var require_resolve_block_map = __commonJS((exports) => {
3682
3686
  var Pair = require_Pair();
3683
3687
  var YAMLMap = require_YAMLMap();
3684
3688
  var resolveProps = require_resolve_props();
@@ -3785,7 +3789,7 @@ var require_resolve_block_map = __commonJS(function(exports) {
3785
3789
  });
3786
3790
 
3787
3791
  // node_modules/yaml/dist/compose/resolve-block-seq.js
3788
- var require_resolve_block_seq = __commonJS(function(exports) {
3792
+ var require_resolve_block_seq = __commonJS((exports) => {
3789
3793
  var YAMLSeq = require_YAMLSeq();
3790
3794
  var resolveProps = require_resolve_props();
3791
3795
  var utilFlowIndentCheck = require_util_flow_indent_check();
@@ -3833,7 +3837,7 @@ var require_resolve_block_seq = __commonJS(function(exports) {
3833
3837
  });
3834
3838
 
3835
3839
  // node_modules/yaml/dist/compose/resolve-end.js
3836
- var require_resolve_end = __commonJS(function(exports) {
3840
+ var require_resolve_end = __commonJS((exports) => {
3837
3841
  function resolveEnd(end, offset, reqSpace, onError) {
3838
3842
  let comment = "";
3839
3843
  if (end) {
@@ -3873,7 +3877,7 @@ var require_resolve_end = __commonJS(function(exports) {
3873
3877
  });
3874
3878
 
3875
3879
  // node_modules/yaml/dist/compose/resolve-flow-collection.js
3876
- var require_resolve_flow_collection = __commonJS(function(exports) {
3880
+ var require_resolve_flow_collection = __commonJS((exports) => {
3877
3881
  var identity = require_identity();
3878
3882
  var Pair = require_Pair();
3879
3883
  var YAMLMap = require_YAMLMap();
@@ -4064,7 +4068,7 @@ var require_resolve_flow_collection = __commonJS(function(exports) {
4064
4068
  });
4065
4069
 
4066
4070
  // node_modules/yaml/dist/compose/compose-collection.js
4067
- var require_compose_collection = __commonJS(function(exports) {
4071
+ var require_compose_collection = __commonJS((exports) => {
4068
4072
  var identity = require_identity();
4069
4073
  var Scalar = require_Scalar();
4070
4074
  var YAMLMap = require_YAMLMap();
@@ -4126,7 +4130,7 @@ var require_compose_collection = __commonJS(function(exports) {
4126
4130
  });
4127
4131
 
4128
4132
  // node_modules/yaml/dist/compose/resolve-block-scalar.js
4129
- var require_resolve_block_scalar = __commonJS(function(exports) {
4133
+ var require_resolve_block_scalar = __commonJS((exports) => {
4130
4134
  var Scalar = require_Scalar();
4131
4135
  function resolveBlockScalar(ctx, scalar, onError) {
4132
4136
  const start = scalar.offset;
@@ -4144,12 +4148,12 @@ var require_resolve_block_scalar = __commonJS(function(exports) {
4144
4148
  break;
4145
4149
  }
4146
4150
  if (chompStart === 0) {
4147
- const value = header.chomp === "+" && lines.length > 0 ? `
4151
+ const value2 = header.chomp === "+" && lines.length > 0 ? `
4148
4152
  `.repeat(Math.max(1, lines.length - 1)) : "";
4149
- let end = start + header.length;
4153
+ let end2 = start + header.length;
4150
4154
  if (scalar.source)
4151
- end += scalar.source.length;
4152
- return { value, type, comment: header.comment, range: [start, end, end] };
4155
+ end2 += scalar.source.length;
4156
+ return { value: value2, type, comment: header.comment, range: [start, end2, end2] };
4153
4157
  }
4154
4158
  let trimIndent = scalar.indent + header.indent;
4155
4159
  let offset = scalar.offset + header.length;
@@ -4319,7 +4323,7 @@ var require_resolve_block_scalar = __commonJS(function(exports) {
4319
4323
  });
4320
4324
 
4321
4325
  // node_modules/yaml/dist/compose/resolve-flow-scalar.js
4322
- var require_resolve_flow_scalar = __commonJS(function(exports) {
4326
+ var require_resolve_flow_scalar = __commonJS((exports) => {
4323
4327
  var Scalar = require_Scalar();
4324
4328
  var resolveEnd = require_resolve_end();
4325
4329
  function resolveFlowScalar(scalar, strict, onError) {
@@ -4535,7 +4539,7 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4535
4539
  });
4536
4540
 
4537
4541
  // node_modules/yaml/dist/compose/compose-scalar.js
4538
- var require_compose_scalar = __commonJS(function(exports) {
4542
+ var require_compose_scalar = __commonJS((exports) => {
4539
4543
  var identity = require_identity();
4540
4544
  var Scalar = require_Scalar();
4541
4545
  var resolveBlockScalar = require_resolve_block_scalar();
@@ -4597,9 +4601,9 @@ var require_compose_scalar = __commonJS(function(exports) {
4597
4601
  return schema[identity.SCALAR];
4598
4602
  }
4599
4603
  function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) {
4600
- const tag = schema.tags.find((tag) => (tag.default === true || atKey && tag.default === "key") && tag.test?.test(value)) || schema[identity.SCALAR];
4604
+ const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity.SCALAR];
4601
4605
  if (schema.compat) {
4602
- const compat = schema.compat.find((tag) => tag.default && tag.test?.test(value)) ?? schema[identity.SCALAR];
4606
+ const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity.SCALAR];
4603
4607
  if (tag.tag !== compat.tag) {
4604
4608
  const ts = directives.tagString(tag.tag);
4605
4609
  const cs = directives.tagString(compat.tag);
@@ -4613,7 +4617,7 @@ var require_compose_scalar = __commonJS(function(exports) {
4613
4617
  });
4614
4618
 
4615
4619
  // node_modules/yaml/dist/compose/util-empty-scalar-position.js
4616
- var require_util_empty_scalar_position = __commonJS(function(exports) {
4620
+ var require_util_empty_scalar_position = __commonJS((exports) => {
4617
4621
  function emptyScalarPosition(offset, before, pos) {
4618
4622
  if (before) {
4619
4623
  pos ?? (pos = before.length);
@@ -4640,7 +4644,7 @@ var require_util_empty_scalar_position = __commonJS(function(exports) {
4640
4644
  });
4641
4645
 
4642
4646
  // node_modules/yaml/dist/compose/compose-node.js
4643
- var require_compose_node = __commonJS(function(exports) {
4647
+ var require_compose_node = __commonJS((exports) => {
4644
4648
  var Alias = require_Alias();
4645
4649
  var identity = require_identity();
4646
4650
  var composeCollection = require_compose_collection();
@@ -4743,7 +4747,7 @@ var require_compose_node = __commonJS(function(exports) {
4743
4747
  });
4744
4748
 
4745
4749
  // node_modules/yaml/dist/compose/compose-doc.js
4746
- var require_compose_doc = __commonJS(function(exports) {
4750
+ var require_compose_doc = __commonJS((exports) => {
4747
4751
  var Document = require_Document();
4748
4752
  var composeNode = require_compose_node();
4749
4753
  var resolveEnd = require_resolve_end();
@@ -4783,7 +4787,7 @@ var require_compose_doc = __commonJS(function(exports) {
4783
4787
  });
4784
4788
 
4785
4789
  // node_modules/yaml/dist/compose/composer.js
4786
- var require_composer = __commonJS(function(exports) {
4790
+ var require_composer = __commonJS((exports) => {
4787
4791
  var node_process = __require("process");
4788
4792
  var directives = require_directives();
4789
4793
  var Document = require_Document();
@@ -4974,7 +4978,7 @@ ${end.comment}` : end.comment;
4974
4978
  });
4975
4979
 
4976
4980
  // node_modules/yaml/dist/parse/cst-scalar.js
4977
- var require_cst_scalar = __commonJS(function(exports) {
4981
+ var require_cst_scalar = __commonJS((exports) => {
4978
4982
  var resolveBlockScalar = require_resolve_block_scalar();
4979
4983
  var resolveFlowScalar = require_resolve_flow_scalar();
4980
4984
  var errors = require_errors();
@@ -5164,7 +5168,7 @@ var require_cst_scalar = __commonJS(function(exports) {
5164
5168
  });
5165
5169
 
5166
5170
  // node_modules/yaml/dist/parse/cst-stringify.js
5167
- var require_cst_stringify = __commonJS(function(exports) {
5171
+ var require_cst_stringify = __commonJS((exports) => {
5168
5172
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5169
5173
  function stringifyToken(token) {
5170
5174
  switch (token.type) {
@@ -5222,7 +5226,7 @@ var require_cst_stringify = __commonJS(function(exports) {
5222
5226
  });
5223
5227
 
5224
5228
  // node_modules/yaml/dist/parse/cst-visit.js
5225
- var require_cst_visit = __commonJS(function(exports) {
5229
+ var require_cst_visit = __commonJS((exports) => {
5226
5230
  var BREAK = Symbol("break visit");
5227
5231
  var SKIP = Symbol("skip children");
5228
5232
  var REMOVE = Symbol("remove item");
@@ -5281,7 +5285,7 @@ var require_cst_visit = __commonJS(function(exports) {
5281
5285
  });
5282
5286
 
5283
5287
  // node_modules/yaml/dist/parse/cst.js
5284
- var require_cst = __commonJS(function(exports) {
5288
+ var require_cst = __commonJS((exports) => {
5285
5289
  var cstScalar = require_cst_scalar();
5286
5290
  var cstStringify = require_cst_stringify();
5287
5291
  var cstVisit = require_cst_visit();
@@ -5382,7 +5386,7 @@ var require_cst = __commonJS(function(exports) {
5382
5386
  });
5383
5387
 
5384
5388
  // node_modules/yaml/dist/parse/lexer.js
5385
- var require_lexer = __commonJS(function(exports) {
5389
+ var require_lexer = __commonJS((exports) => {
5386
5390
  var cst = require_cst();
5387
5391
  function isEmpty(ch) {
5388
5392
  switch (ch) {
@@ -5755,18 +5759,18 @@ var require_lexer = __commonJS(function(exports) {
5755
5759
  let indent = 0;
5756
5760
  let ch;
5757
5761
  loop:
5758
- for (let i = this.pos;ch = this.buffer[i]; ++i) {
5762
+ for (let i2 = this.pos;ch = this.buffer[i2]; ++i2) {
5759
5763
  switch (ch) {
5760
5764
  case " ":
5761
5765
  indent += 1;
5762
5766
  break;
5763
5767
  case `
5764
5768
  `:
5765
- nl = i;
5769
+ nl = i2;
5766
5770
  indent = 0;
5767
5771
  break;
5768
5772
  case "\r": {
5769
- const next = this.buffer[i + 1];
5773
+ const next = this.buffer[i2 + 1];
5770
5774
  if (!next && !this.atEnd)
5771
5775
  return this.setNext("block-scalar");
5772
5776
  if (next === `
@@ -5809,16 +5813,16 @@ var require_lexer = __commonJS(function(exports) {
5809
5813
  nl = i - 1;
5810
5814
  } else if (!this.blockScalarKeep) {
5811
5815
  do {
5812
- let i = nl - 1;
5813
- let ch = this.buffer[i];
5814
- if (ch === "\r")
5815
- ch = this.buffer[--i];
5816
- const lastChar = i;
5817
- while (ch === " ")
5818
- ch = this.buffer[--i];
5819
- if (ch === `
5820
- ` && i >= this.pos && i + 1 + indent > lastChar)
5821
- nl = i;
5816
+ let i2 = nl - 1;
5817
+ let ch2 = this.buffer[i2];
5818
+ if (ch2 === "\r")
5819
+ ch2 = this.buffer[--i2];
5820
+ const lastChar = i2;
5821
+ while (ch2 === " ")
5822
+ ch2 = this.buffer[--i2];
5823
+ if (ch2 === `
5824
+ ` && i2 >= this.pos && i2 + 1 + indent > lastChar)
5825
+ nl = i2;
5822
5826
  else
5823
5827
  break;
5824
5828
  } while (true);
@@ -5979,7 +5983,7 @@ var require_lexer = __commonJS(function(exports) {
5979
5983
  });
5980
5984
 
5981
5985
  // node_modules/yaml/dist/parse/line-counter.js
5982
- var require_line_counter = __commonJS(function(exports) {
5986
+ var require_line_counter = __commonJS((exports) => {
5983
5987
  class LineCounter {
5984
5988
  constructor() {
5985
5989
  this.lineStarts = [];
@@ -6007,7 +6011,7 @@ var require_line_counter = __commonJS(function(exports) {
6007
6011
  });
6008
6012
 
6009
6013
  // node_modules/yaml/dist/parse/parser.js
6010
- var require_parser = __commonJS(function(exports) {
6014
+ var require_parser = __commonJS((exports) => {
6011
6015
  var node_process = __require("process");
6012
6016
  var cst = require_cst();
6013
6017
  var lexer = require_lexer();
@@ -6505,12 +6509,12 @@ var require_parser = __commonJS(function(exports) {
6505
6509
  if (includesToken(it.start, "newline")) {
6506
6510
  Object.assign(it, { key: null, sep: [this.sourceToken] });
6507
6511
  } else {
6508
- const start = getFirstKeyStartProps(it.start);
6512
+ const start2 = getFirstKeyStartProps(it.start);
6509
6513
  this.stack.push({
6510
6514
  type: "block-map",
6511
6515
  offset: this.offset,
6512
6516
  indent: this.indent,
6513
- items: [{ start, key: null, sep: [this.sourceToken] }]
6517
+ items: [{ start: start2, key: null, sep: [this.sourceToken] }]
6514
6518
  });
6515
6519
  }
6516
6520
  } else if (it.value) {
@@ -6523,7 +6527,7 @@ var require_parser = __commonJS(function(exports) {
6523
6527
  items: [{ start, key: null, sep: [this.sourceToken] }]
6524
6528
  });
6525
6529
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
6526
- const start = getFirstKeyStartProps(it.start);
6530
+ const start2 = getFirstKeyStartProps(it.start);
6527
6531
  const key = it.key;
6528
6532
  const sep = it.sep;
6529
6533
  sep.push(this.sourceToken);
@@ -6533,7 +6537,7 @@ var require_parser = __commonJS(function(exports) {
6533
6537
  type: "block-map",
6534
6538
  offset: this.offset,
6535
6539
  indent: this.indent,
6536
- items: [{ start, key, sep }]
6540
+ items: [{ start: start2, key, sep }]
6537
6541
  });
6538
6542
  } else if (start.length > 0) {
6539
6543
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -6863,7 +6867,7 @@ var require_parser = __commonJS(function(exports) {
6863
6867
  });
6864
6868
 
6865
6869
  // node_modules/yaml/dist/public-api.js
6866
- var require_public_api = __commonJS(function(exports) {
6870
+ var require_public_api = __commonJS((exports) => {
6867
6871
  var composer = require_composer();
6868
6872
  var Document = require_Document();
6869
6873
  var errors = require_errors();
@@ -6877,22 +6881,22 @@ var require_public_api = __commonJS(function(exports) {
6877
6881
  return { lineCounter: lineCounter$1, prettyErrors };
6878
6882
  }
6879
6883
  function parseAllDocuments(source, options = {}) {
6880
- const { lineCounter, prettyErrors } = parseOptions(options);
6881
- const parser$1 = new parser.Parser(lineCounter?.addNewLine);
6884
+ const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
6885
+ const parser$1 = new parser.Parser(lineCounter2?.addNewLine);
6882
6886
  const composer$1 = new composer.Composer(options);
6883
6887
  const docs = Array.from(composer$1.compose(parser$1.parse(source)));
6884
- if (prettyErrors && lineCounter)
6888
+ if (prettyErrors && lineCounter2)
6885
6889
  for (const doc of docs) {
6886
- doc.errors.forEach(errors.prettifyError(source, lineCounter));
6887
- doc.warnings.forEach(errors.prettifyError(source, lineCounter));
6890
+ doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6891
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6888
6892
  }
6889
6893
  if (docs.length > 0)
6890
6894
  return docs;
6891
6895
  return Object.assign([], { empty: true }, composer$1.streamInfo());
6892
6896
  }
6893
6897
  function parseDocument(source, options = {}) {
6894
- const { lineCounter, prettyErrors } = parseOptions(options);
6895
- const parser$1 = new parser.Parser(lineCounter?.addNewLine);
6898
+ const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
6899
+ const parser$1 = new parser.Parser(lineCounter2?.addNewLine);
6896
6900
  const composer$1 = new composer.Composer(options);
6897
6901
  let doc = null;
6898
6902
  for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) {
@@ -6903,9 +6907,9 @@ var require_public_api = __commonJS(function(exports) {
6903
6907
  break;
6904
6908
  }
6905
6909
  }
6906
- if (prettyErrors && lineCounter) {
6907
- doc.errors.forEach(errors.prettifyError(source, lineCounter));
6908
- doc.warnings.forEach(errors.prettifyError(source, lineCounter));
6910
+ if (prettyErrors && lineCounter2) {
6911
+ doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6912
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6909
6913
  }
6910
6914
  return doc;
6911
6915
  }
@@ -7078,8 +7082,8 @@ var init_workflows = __esm(() => {
7078
7082
  "Snapshot or daily-history request, with explicit observation limit",
7079
7083
  "Maximum acceptable age and any comparison provider"
7080
7084
  ],
7081
- output: "Timestamped source observations and raw response hashes, stale/partial coverage, aligned discrepancies and a daily-history envelope when requested.",
7082
- access: "Bounded public CoinGecko and documented public comparison reads; limits and outages remain explicit. Contract identities need the contract-aware token workflow."
7085
+ output: "Timestamped prices with raw response hashes, anything stale or missing, and where sources disagree. Daily history on request.",
7086
+ access: "Uses public CoinGecko and documented public comparison reads, and reports limits and outages. Token contracts need the contract-aware token workflow."
7083
7087
  },
7084
7088
  {
7085
7089
  id: "strategy-backtest",
@@ -7855,6 +7859,20 @@ var init_workflows = __esm(() => {
7855
7859
  });
7856
7860
 
7857
7861
  // src/core.ts
7862
+ var exports_core = {};
7863
+ __export(exports_core, {
7864
+ selectPacks: () => selectPacks,
7865
+ parseHarness: () => parseHarness,
7866
+ parseConfig: () => parseConfig,
7867
+ parseCatalog: () => parseCatalog,
7868
+ installedVersion: () => installedVersion,
7869
+ installArgs: () => installArgs,
7870
+ identity: () => identity2,
7871
+ harnesses: () => harnesses,
7872
+ fetchCatalog: () => fetchCatalog,
7873
+ compatibilitySetupMessage: () => compatibilitySetupMessage,
7874
+ catalogChanges: () => catalogChanges
7875
+ });
7858
7876
  import { resolve } from "path";
7859
7877
  function compatibilitySetupMessage(harness) {
7860
7878
  return harness === "hermes" ? undefined : harnesses[harness].setup;
@@ -7888,10 +7906,34 @@ function parseCatalog(value) {
7888
7906
  return c;
7889
7907
  }
7890
7908
  async function fetchCatalog(fetcher = fetch) {
7891
- const response = await fetcher("https://raw.githubusercontent.com/galleonlabs/boomkin/main/catalog/skills.json", { signal: AbortSignal.timeout(20000) });
7909
+ let response;
7910
+ try {
7911
+ response = await fetcher("https://raw.githubusercontent.com/galleonlabs/boomkin/main/catalog/skills.json", { redirect: "error", signal: AbortSignal.timeout(20000) });
7912
+ } catch {
7913
+ throw new Error("Catalog fetch failed; installed skills were not changed.");
7914
+ }
7892
7915
  if (!response.ok)
7893
7916
  throw new Error(`Catalog fetch failed (${response.status}); installed skills were not changed.`);
7894
- return parseCatalog(await response.json());
7917
+ const declared = Number(response.headers.get("content-length"));
7918
+ if (Number.isFinite(declared) && declared > 1048576)
7919
+ throw new Error("Catalog fetch exceeded the size limit; installed skills were not changed.");
7920
+ let text;
7921
+ try {
7922
+ text = await response.text();
7923
+ } catch {
7924
+ throw new Error("Catalog fetch returned invalid data; installed skills were not changed.");
7925
+ }
7926
+ if (Buffer.byteLength(text) > 1048576)
7927
+ throw new Error("Catalog fetch exceeded the size limit; installed skills were not changed.");
7928
+ let payload;
7929
+ try {
7930
+ payload = JSON.parse(text);
7931
+ } catch {
7932
+ throw new Error("Catalog fetch returned invalid data; installed skills were not changed.");
7933
+ }
7934
+ if (!payload || typeof payload !== "object" || Array.isArray(payload))
7935
+ throw new Error("Catalog fetch returned an unrecognized catalog; installed skills were not changed.");
7936
+ return parseCatalog(payload);
7895
7937
  }
7896
7938
  function catalogChanges(current, previous) {
7897
7939
  const changes = [];
@@ -7906,18 +7948,18 @@ function catalogChanges(current, previous) {
7906
7948
  return changes;
7907
7949
  }
7908
7950
  function parseHarness(value) {
7909
- if (!value || !Object.hasOwn(harnesses, value))
7951
+ if (typeof value !== "string" || !Object.hasOwn(harnesses, value))
7910
7952
  throw new Error(`Choose a harness: ${Object.keys(harnesses).join(", ")}`);
7911
7953
  return value;
7912
7954
  }
7913
7955
  function parseConfig(value, directory) {
7914
7956
  const c = value;
7915
- if (!c || c.schemaVersion !== 1 || c.directory !== resolve(directory))
7957
+ if (!c || typeof c !== "object" || Array.isArray(c) || c.schemaVersion !== 1 || c.directory !== resolve(directory))
7916
7958
  throw new Error("Invalid or moved Boomkin configuration. Run setup in the intended directory again.");
7917
- parseHarness(c.harness);
7959
+ const harness = parseHarness(c.harness);
7918
7960
  if (c.packs !== undefined && (!Array.isArray(c.packs) || !c.packs.length || c.packs.some((id) => typeof id !== "string" || !/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(id)) || new Set(c.packs).size !== c.packs.length))
7919
7961
  throw new Error("Invalid configured pack selection");
7920
- return { ...c, packs: c.packs ?? ["lp-skills", "hyperliquid-skills"] };
7962
+ return { ...c, harness, packs: c.packs ?? ["lp-skills", "hyperliquid-skills"] };
7921
7963
  }
7922
7964
  function installArgs(source, harness, skills) {
7923
7965
  return ["add", source, "--agent", harnesses[harness].agent, "--skill", ...skills, "--copy", "--yes", ...harnesses[harness].global ? ["--global"] : []];
@@ -8000,9 +8042,9 @@ var skills_default = {
8000
8042
  {
8001
8043
  id: "lp-skills",
8002
8044
  source: "galleonlabs/crypto-defi-skills",
8003
- description: "Agent skills and deterministic tools for Uniswap and Aerodrome liquidity provision.",
8004
- version: "0.7.0",
8005
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8045
+ description: "Agent skills and deterministic tools for liquidity research, planning, monitoring and approved execution.",
8046
+ version: "0.7.1",
8047
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8006
8048
  skills: [
8007
8049
  "aerodrome-slipstream",
8008
8050
  "balancer-liquidity",
@@ -8023,9 +8065,9 @@ var skills_default = {
8023
8065
  {
8024
8066
  id: "hyperliquid-skills",
8025
8067
  source: "galleonlabs/crypto-defi-skills",
8026
- description: "Hyperliquid market research, trade planning, monitoring, performance review and reproducible public wallet cost audits.",
8027
- version: "0.4.1",
8028
- revision: "86130b45757a53dad00fd8a4701750baf3528674",
8068
+ description: "Agent skills for Hyperliquid public wallet diagnostics, setup, market analysis, trade planning and execution, monitoring, and performance review.",
8069
+ version: "0.4.2",
8070
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8029
8071
  skills: [
8030
8072
  "hyperliquid-analyze",
8031
8073
  "hyperliquid-engineer",
@@ -8043,8 +8085,8 @@ var skills_default = {
8043
8085
  id: "defi-infra-skills",
8044
8086
  source: "galleonlabs/crypto-defi-skills",
8045
8087
  description: "RPC, wallet and Hermes infrastructure skills with read-only readiness diagnostics.",
8046
- version: "0.4.2",
8047
- revision: "86130b45757a53dad00fd8a4701750baf3528674",
8088
+ version: "0.4.3",
8089
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8048
8090
  skills: [
8049
8091
  "galleon-coinbase-agentkit-readiness",
8050
8092
  "galleon-defi-infra"
@@ -8055,9 +8097,9 @@ var skills_default = {
8055
8097
  {
8056
8098
  id: "defi-data-skills",
8057
8099
  source: "galleonlabs/crypto-defi-skills",
8058
- description: "Capture timestamped market evidence, compare public sources, retrieve daily history and screen DeFi yields.",
8059
- version: "0.6.1",
8060
- revision: "9fe67c24efc0fd5796066605b29576f3b8f2de94",
8100
+ description: "Portable DeFi data skills for CoinGecko, DefiLlama, AIXBT, and source-aware research.",
8101
+ version: "0.6.2",
8102
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8061
8103
  skills: [
8062
8104
  "galleon-coingecko-token-research",
8063
8105
  "galleon-defi-data",
@@ -8071,8 +8113,8 @@ var skills_default = {
8071
8113
  id: "defi-lending-skills",
8072
8114
  source: "galleonlabs/crypto-defi-skills",
8073
8115
  description: "Research lending markets, plan borrowing and monitor liquidation exposure.",
8074
- version: "0.4.0",
8075
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8116
+ version: "0.4.1",
8117
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8076
8118
  skills: [
8077
8119
  "galleon-aave-position",
8078
8120
  "galleon-aave-v4",
@@ -8091,8 +8133,8 @@ var skills_default = {
8091
8133
  id: "defi-staking-skills",
8092
8134
  source: "galleonlabs/crypto-defi-skills",
8093
8135
  description: "Plan liquid staking, restaking and queued withdrawals.",
8094
- version: "0.3.0",
8095
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8136
+ version: "0.3.1",
8137
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8096
8138
  skills: [
8097
8139
  "galleon-defi-staking",
8098
8140
  "galleon-eigenlayer-restaking",
@@ -8107,8 +8149,8 @@ var skills_default = {
8107
8149
  id: "defi-yield-skills",
8108
8150
  source: "galleonlabs/crypto-defi-skills",
8109
8151
  description: "Evaluate vaults and yield tokens, including liquidity and maturity.",
8110
- version: "0.4.0",
8111
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8152
+ version: "0.4.1",
8153
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8112
8154
  skills: [
8113
8155
  "galleon-defi-yield",
8114
8156
  "galleon-ethena-susde",
@@ -8125,8 +8167,8 @@ var skills_default = {
8125
8167
  id: "defi-tokenized-assets-skills",
8126
8168
  source: "galleonlabs/crypto-defi-skills",
8127
8169
  description: "Research tokenized assets, eligibility and issuer settlement.",
8128
- version: "0.2.0",
8129
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8170
+ version: "0.2.1",
8171
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8130
8172
  skills: [
8131
8173
  "galleon-defi-tokenized-assets",
8132
8174
  "galleon-ondo-assets",
@@ -8139,8 +8181,8 @@ var skills_default = {
8139
8181
  id: "defi-routing-skills",
8140
8182
  source: "galleonlabs/crypto-defi-skills",
8141
8183
  description: "Compare swaps and bridges and track cross-chain settlement.",
8142
- version: "0.4.0",
8143
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8184
+ version: "0.4.1",
8185
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8144
8186
  skills: [
8145
8187
  "across-bridge",
8146
8188
  "circle-cctp",
@@ -8160,8 +8202,8 @@ var skills_default = {
8160
8202
  id: "defi-derivatives-skills",
8161
8203
  source: "galleonlabs/crypto-defi-skills",
8162
8204
  description: "Plan derivatives positions and reconcile venue execution.",
8163
- version: "0.2.0",
8164
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8205
+ version: "0.2.1",
8206
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8165
8207
  skills: [
8166
8208
  "derive-options",
8167
8209
  "galleon-defi-derivatives",
@@ -8177,8 +8219,8 @@ var skills_default = {
8177
8219
  id: "defi-portfolio-skills",
8178
8220
  source: "galleonlabs/crypto-defi-skills",
8179
8221
  description: "Reconcile DeFi assets, liabilities, cash flows and exposure.",
8180
- version: "0.2.1",
8181
- revision: "9fe67c24efc0fd5796066605b29576f3b8f2de94",
8222
+ version: "0.2.2",
8223
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8182
8224
  skills: [
8183
8225
  "galleon-defi-portfolio"
8184
8226
  ],
@@ -8188,9 +8230,9 @@ var skills_default = {
8188
8230
  {
8189
8231
  id: "defi-security-skills",
8190
8232
  source: "galleonlabs/crypto-defi-skills",
8191
- description: "Investigate token risks, compare evidence and review transaction permissions.",
8192
- version: "0.2.4",
8193
- revision: "86130b45757a53dad00fd8a4701750baf3528674",
8233
+ description: "Token due diligence, transaction review, permissions and simulation evidence.",
8234
+ version: "0.2.5",
8235
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8194
8236
  skills: [
8195
8237
  "galleon-defi-security",
8196
8238
  "galleon-defi-security-token-diligence"
@@ -8202,8 +8244,8 @@ var skills_default = {
8202
8244
  id: "defi-payments-skills",
8203
8245
  source: "galleonlabs/crypto-defi-skills",
8204
8246
  description: "Plan stablecoin payments, x402 purchases and token streams.",
8205
- version: "0.2.1",
8206
- revision: "9fe67c24efc0fd5796066605b29576f3b8f2de94",
8247
+ version: "0.2.2",
8248
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8207
8249
  skills: [
8208
8250
  "galleon-defi-payments",
8209
8251
  "galleon-sablier-streams",
@@ -8216,8 +8258,8 @@ var skills_default = {
8216
8258
  id: "defi-governance-skills",
8217
8259
  source: "galleonlabs/crypto-defi-skills",
8218
8260
  description: "Research proposals, prepare votes and track governance execution.",
8219
- version: "0.2.0",
8220
- revision: "0fb6faf0369951b628c6b146f055f3d5c8c5e6cb",
8261
+ version: "0.2.1",
8262
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8221
8263
  skills: [
8222
8264
  "galleon-defi-governance",
8223
8265
  "governor-proposal",
@@ -8230,9 +8272,9 @@ var skills_default = {
8230
8272
  {
8231
8273
  id: "defi-strategy-skills",
8232
8274
  source: "galleonlabs/crypto-defi-skills",
8233
- description: "Test frozen daily spot rules with chronological held-out periods, higher trading costs and reproducible same-cost benchmarks.",
8234
- version: "0.2.0",
8235
- revision: "3f91a955d59a55b9927403ddc3c2e26660d48bf8",
8275
+ description: "Frozen daily strategy validation with cost sensitivity, held-out periods and a reproducible benchmark.",
8276
+ version: "0.2.1",
8277
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8236
8278
  skills: [
8237
8279
  "galleon-defi-strategy-backtest"
8238
8280
  ],
@@ -8243,8 +8285,8 @@ var skills_default = {
8243
8285
  id: "defi-agent-skills",
8244
8286
  source: "galleonlabs/crypto-defi-skills",
8245
8287
  description: "Construct unsigned DeFi plans and verify exact transaction simulation evidence.",
8246
- version: "0.1.2",
8247
- revision: "86130b45757a53dad00fd8a4701750baf3528674",
8288
+ version: "0.1.3",
8289
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8248
8290
  skills: [
8249
8291
  "galleon-defi-agent-plan",
8250
8292
  "galleon-defi-agent-simulate"
@@ -8256,8 +8298,8 @@ var skills_default = {
8256
8298
  id: "defi-prediction-skills",
8257
8299
  source: "galleonlabs/crypto-defi-skills",
8258
8300
  description: "Research prediction market order books and reconcile resolution without signing or trading.",
8259
- version: "0.1.1",
8260
- revision: "9fe67c24efc0fd5796066605b29576f3b8f2de94",
8301
+ version: "0.1.2",
8302
+ revision: "27b7cc4478f68dc988bb129a66f8a8f884b76aca",
8261
8303
  skills: [
8262
8304
  "galleon-prediction-market-research",
8263
8305
  "galleon-prediction-market-resolution"
@@ -8270,7 +8312,7 @@ var skills_default = {
8270
8312
  // package.json
8271
8313
  var package_default = {
8272
8314
  name: "boomkin",
8273
- version: "0.13.0",
8315
+ version: "0.13.2",
8274
8316
  description: "Your open-source DeFi desk: native Hermes research projects, verifiable evidence and independent financial skills.",
8275
8317
  type: "module",
8276
8318
  license: "MIT",
@@ -8278,8 +8320,10 @@ var package_default = {
8278
8320
  scripts: {
8279
8321
  boomkin: "bun src/cli.ts",
8280
8322
  test: "bun test test",
8323
+ "test:gate": "bun test ./test/core.test.ts ./test/source.test.ts ./test/integrity.test.ts ./test/state.test.ts ./test/catalog-freshness.test.ts ./test/hermes.test.ts ./test/chatgpt.test.ts ./test/providers.test.ts ./test/mcp-discovery.test.ts ./test/onboarding.test.ts ./test/templates.test.ts ./test/workflows.test.ts ./test/desk.test.ts ./test/docs-code.test.ts ./test/distribution.test.ts ./test/site-copy.test.ts ./test/agent-onboarding.test.ts",
8281
8324
  typecheck: "tsc --noEmit",
8282
- check: "bun run typecheck && bun run test",
8325
+ check: "bun run typecheck && bun run test:gate",
8326
+ gate: "bun run check && bun run build && bun run smoke && bun run build:site && bun run check:site",
8283
8327
  build: "bun scripts/build.ts",
8284
8328
  smoke: "bun scripts/smoke.ts",
8285
8329
  "build:site": "bun scripts/build-site.ts",
@@ -8377,10 +8421,10 @@ async function packageDirectory(pack, checkout) {
8377
8421
  const manifest = JSON.parse(await readFile(join(path, "package.json"), "utf8"));
8378
8422
  if (manifest.name !== pack.package || manifest.version !== pack.version)
8379
8423
  throw new Error(`Package release metadata mismatch: ${pack.id}`);
8380
- await Promise.resolve().then(() => init_core());
8424
+ const { installedVersion: installedVersion2 } = await Promise.resolve().then(() => (init_core(), exports_core));
8381
8425
  for (const skill of pack.skills) {
8382
8426
  const text = await readFile(join(path, "skills", skill, "SKILL.md"), "utf8");
8383
- if (installedVersion(text) !== pack.version)
8427
+ if (installedVersion2(text) !== pack.version)
8384
8428
  throw new Error(`Source skill version mismatch: ${skill}`);
8385
8429
  }
8386
8430
  return path;
@@ -8494,8 +8538,8 @@ function hermesModelConfigured(config) {
8494
8538
  const flatten = (value) => {
8495
8539
  if (!object(value))
8496
8540
  return value;
8497
- const id = value.model || value.default;
8498
- return typeof id === "string" ? id.trim() : id;
8541
+ const id2 = value.model || value.default;
8542
+ return typeof id2 === "string" ? id2.trim() : id2;
8499
8543
  };
8500
8544
  const id = flatten(model.default) || flatten(model.model) || flatten(model.name);
8501
8545
  return typeof id === "string" && !!id.trim();
@@ -8611,9 +8655,9 @@ async function ensureRuntime(directory, options) {
8611
8655
  const installed = await findRuntime(root);
8612
8656
  if (!installed || !installed.startsWith(runtime + "/"))
8613
8657
  throw new Error("The installer completed without a usable profile-managed Hermes executable");
8614
- const git = Bun.spawn(["git", "-C", runtime, "rev-parse", "HEAD"], { stdout: "pipe", stderr: "ignore" });
8615
- const revision = (await new Response(git.stdout).text()).trim();
8616
- if (await git.exited !== 0 || revision !== HERMES_COMMIT)
8658
+ const git2 = Bun.spawn(["git", "-C", runtime, "rev-parse", "HEAD"], { stdout: "pipe", stderr: "ignore" });
8659
+ const revision = (await new Response(git2.stdout).text()).trim();
8660
+ if (await git2.exited !== 0 || revision !== HERMES_COMMIT)
8617
8661
  throw new Error("Hermes installed revision differs from the reviewed pin. Existing runtime was preserved; review it before continuing.");
8618
8662
  if (!(await localProfileStatus(root)).runtime.available)
8619
8663
  throw new Error("Installed Hermes cannot report its version; runtime readiness is incomplete");
@@ -8622,12 +8666,12 @@ async function ensureRuntime(directory, options) {
8622
8666
  await rm(path, { force: true });
8623
8667
  }
8624
8668
  }
8625
- async function initializeProfile(directory, identity) {
8669
+ async function initializeProfile(directory, identity3) {
8626
8670
  const root = await profilePath(directory);
8627
8671
  await mkdir(root, { recursive: true, mode: 448 });
8628
8672
  await safePath(join(root, "SOUL.md"));
8629
8673
  try {
8630
- await writeFile(join(root, "SOUL.md"), identity, { flag: "wx", mode: 384 });
8674
+ await writeFile(join(root, "SOUL.md"), identity3, { flag: "wx", mode: 384 });
8631
8675
  return { createdSoul: true };
8632
8676
  } catch (error) {
8633
8677
  if (error.code === "EEXIST")
@@ -8656,7 +8700,7 @@ async function configureMcpServers(directory, servers) {
8656
8700
  for (const [name, server] of Object.entries(servers)) {
8657
8701
  if (!/^[a-z][a-z0-9_-]*$/.test(name))
8658
8702
  throw new Error("Invalid MCP server name");
8659
- if (server.trust !== "untrusted" || !Array.isArray(server.tools?.include) || server.tools.include.some((name) => !name || /[*?\[\]]/.test(name)) || server.tools.resources !== false || server.tools.prompts !== false)
8703
+ if (server.trust !== "untrusted" || !Array.isArray(server.tools?.include) || server.tools.include.some((name2) => !name2 || /[*?\[\]]/.test(name2)) || server.tools.resources !== false || server.tools.prompts !== false)
8660
8704
  throw new Error("Boomkin MCP setup requires untrusted servers, explicit tool names, and disabled resource/prompt utilities");
8661
8705
  if (Boolean(server.url) === Boolean(server.command))
8662
8706
  throw new Error("Choose one MCP transport");
@@ -9148,7 +9192,7 @@ async function doctor(directory, catalog, live = false) {
9148
9192
  var providers_default = {
9149
9193
  schemaVersion: 1,
9150
9194
  directory: "https://skills.eth.sh/",
9151
- checkedOn: "2026-10-08",
9195
+ checkedOn: "2026-11-12",
9152
9196
  providers: [
9153
9197
  {
9154
9198
  id: "polymarket",
@@ -9188,7 +9232,7 @@ var providers_default = {
9188
9232
  {
9189
9233
  id: "hyperliquid-cli",
9190
9234
  name: "Hyperliquid CLI",
9191
- provider: "hypurrclaw",
9235
+ provider: "hypurr-inc",
9192
9236
  listedInDirectory: true,
9193
9237
  listedCapabilities: [
9194
9238
  "Trading",
@@ -9200,16 +9244,16 @@ var providers_default = {
9200
9244
  ],
9201
9245
  summary: "Keep official SDK preferred; document optional version-pinned CLI plus schema and API-wallet boundary.",
9202
9246
  sources: [
9203
- "https://github.com/hypurrclaw/hyperliquid-cli"
9247
+ "https://github.com/hypurr-inc/hyperliquid-cli"
9204
9248
  ],
9205
9249
  review: {
9206
9250
  status: "primary-source-reviewed",
9207
- checkedOn: "2026-10-08",
9208
- notes: "hypurrclaw is independent of Hyperliquid. OWS encrypted keystore, schemas, dry-run, agent mode; setup can persist builder fee/referral defaults. No default adoption of fees or master signer."
9251
+ checkedOn: "2026-11-12",
9252
+ notes: "hypurr-inc, formerly hypurrclaw, is independent of Hyperliquid. The old GitHub organization redirects. OWS encrypted keystore, schemas, dry-run, agent mode; setup can persist builder fee/referral defaults. No default adoption of fees or master signer."
9209
9253
  },
9210
9254
  access: {
9211
9255
  kind: "mixed",
9212
- requirements: "hypurrclaw is independent of Hyperliquid. OWS encrypted keystore, schemas, dry-run, agent mode; setup can persist builder fee/referral defaults. No default adoption of fees or master signer."
9256
+ requirements: "hypurr-inc, formerly hypurrclaw, is independent of Hyperliquid. The old GitHub organization redirects. OWS encrypted keystore, schemas, dry-run, agent mode; setup can persist builder fee/referral defaults. No default adoption of fees or master signer."
9213
9257
  },
9214
9258
  cost: "mixed",
9215
9259
  authority: "mixed",
@@ -9351,17 +9395,17 @@ var providers_default = {
9351
9395
  ],
9352
9396
  summary: "Use migrated name/endpoint, preserve explicit wallet connection and signing boundaries.",
9353
9397
  sources: [
9354
- "https://docs.base.org/agents/quickstart",
9355
- "https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp"
9398
+ "https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp",
9399
+ "https://github.com/coinbase/agents/tree/main/skills/wallet-mcp"
9356
9400
  ],
9357
9401
  review: {
9358
9402
  status: "primary-source-reviewed",
9359
- checkedOn: "2026-10-08",
9360
- notes: "Base docs migrated to Coinbase Wallet MCP. Current endpoint wallet-mcp.coinbase.com uses OAuth and every write approval. Own/in-session wallet history only. Skill remains base/skills base-mcp."
9403
+ checkedOn: "2026-11-12",
9404
+ notes: "Coinbase Wallet MCP at wallet-mcp.coinbase.com uses OAuth, and every write needs approval. Own/in-session wallet history only. The canonical skill is coinbase/agents wallet-mcp. docs.base.org/agents/quickstart now redirects to Base documentation resources, not this wallet server. A base/skills base-mcp zip is still offered."
9361
9405
  },
9362
9406
  access: {
9363
9407
  kind: "credentials",
9364
- requirements: "Base docs migrated to Coinbase Wallet MCP. Current endpoint wallet-mcp.coinbase.com uses OAuth and every write approval. Own/in-session wallet history only. Skill remains base/skills base-mcp."
9408
+ requirements: "Coinbase Wallet MCP at wallet-mcp.coinbase.com uses OAuth, and every write needs approval. Own/in-session wallet history only. The canonical skill is coinbase/agents wallet-mcp. docs.base.org/agents/quickstart now redirects to Base documentation resources, not this wallet server. A base/skills base-mcp zip is still offered."
9365
9409
  },
9366
9410
  cost: "mixed",
9367
9411
  authority: "signing",
@@ -9433,7 +9477,7 @@ var providers_default = {
9433
9477
  ],
9434
9478
  review: {
9435
9479
  status: "primary-source-reviewed",
9436
- checkedOn: "2026-10-08",
9480
+ checkedOn: "2026-11-12",
9437
9481
  notes: "0x API v2 API-key path vs x402/MPP paid gateway. Docs MCP serves docs, not swaps. AllowanceHolder/Permit2 flow selection; Never approve Settler. Keyless HTTP402 requests spend stablecoins."
9438
9482
  },
9439
9483
  access: {
@@ -9472,7 +9516,7 @@ var providers_default = {
9472
9516
  ],
9473
9517
  review: {
9474
9518
  status: "primary-source-reviewed",
9475
- checkedOn: "2026-10-08",
9519
+ checkedOn: "2026-11-12",
9476
9520
  notes: "Sugar CLI rejects private keys and yields approvals plus unsigned calls; pool/position raw balances use token base units. Linked v0.4.2 differs from existing v0.4.1 pin. Crosschain superswap may need relayer orchestration."
9477
9521
  },
9478
9522
  access: {
@@ -9547,7 +9591,7 @@ var providers_default = {
9547
9591
  ],
9548
9592
  review: {
9549
9593
  status: "primary-source-reviewed",
9550
- checkedOn: "2026-10-08",
9594
+ checkedOn: "2026-11-12",
9551
9595
  notes: "CTRL anonymous REST vs authenticated MCP; activation encodes wallet-signed batch and recurring keeper authority under caps. Seven tools. Live URL fetch GET fails; repo docs available."
9552
9596
  },
9553
9597
  access: {
@@ -9585,7 +9629,7 @@ var providers_default = {
9585
9629
  ],
9586
9630
  review: {
9587
9631
  status: "primary-source-reviewed",
9588
- checkedOn: "2026-10-08",
9632
+ checkedOn: "2026-11-12",
9589
9633
  notes: "Morpho current docs: experimental pre-v1 hosted keyless mcp.morpho.org, discover deployed chains live. Builder skills Earn/Borrow differ from user MCP. Nothing signs or broadcasts. Public initialize/tools-list discovery observed 18 tool names on 2026-10-08; no data, build, simulation or financial tool was called. This endpoint remains outside Boomkin connection setup."
9590
9634
  },
9591
9635
  access: {
@@ -9603,40 +9647,6 @@ var providers_default = {
9603
9647
  directoryId: 12,
9604
9648
  documentedEndpoint: "https://mcp.morpho.org/"
9605
9649
  },
9606
- {
9607
- id: "fluid",
9608
- name: "Fluid Skill",
9609
- provider: "Fluid",
9610
- listedInDirectory: true,
9611
- listedCapabilities: [
9612
- "DeFi"
9613
- ],
9614
- listedInterfaces: [
9615
- "Skill"
9616
- ],
9617
- summary: "Keep unavailable status; use official Fluid resolver docs only after current deployment/ABI verification.",
9618
- sources: [
9619
- "https://fluid.io/skill.md"
9620
- ],
9621
- review: {
9622
- status: "directory-listed",
9623
- checkedOn: "2026-10-08",
9624
- notes: "Fluid linked skill returns HTTP200 Page not found, including alternate uppercase URL. No reliable skill body retrieved; directory claim cannot establish RPC resolver contracts."
9625
- },
9626
- access: {
9627
- kind: "unknown",
9628
- requirements: "Fluid linked skill returns HTTP200 Page not found, including alternate uppercase URL. No reliable skill body retrieved; directory claim cannot establish RPC resolver contracts."
9629
- },
9630
- cost: "unknown",
9631
- authority: "unknown",
9632
- integration: {
9633
- kind: "reference",
9634
- defaultEnabled: false,
9635
- policy: "no-connection"
9636
- },
9637
- provenance: "unverified",
9638
- directoryId: 13
9639
- },
9640
9650
  {
9641
9651
  id: "pendle",
9642
9652
  name: "Pendle AI",
@@ -9841,17 +9851,16 @@ var providers_default = {
9841
9851
  ],
9842
9852
  summary: "Prefer official builder to adapter; ABI/deployment/playbook provenance plus exact approval ordering and external simulation.",
9843
9853
  sources: [
9844
- "https://defi-skills.nethermind.io/",
9845
9854
  "https://github.com/NethermindEth/defi-skills"
9846
9855
  ],
9847
9856
  review: {
9848
9857
  status: "primary-source-reviewed",
9849
- checkedOn: "2026-10-08",
9850
- notes: "Nethermind deterministic JSON playbooks yield raw_tx chain_id/to/value/data. Never signs/broadcasts; signer owns gas/nonce. Resolver API keys optional by feature, hosted API bearer/free limits."
9858
+ checkedOn: "2026-11-12",
9859
+ notes: "Nethermind playbooks emit unsigned raw_tx chain_id/to/value/data and never sign or broadcast. Optional Alchemy, 1inch and Anthropic keys cover quotes, L2 token discovery and chat. https://defi-skills.nethermind.io/ returned HTTP 404 on 2026-11-12; the README still links it. The current README describes no hosted bearer API."
9851
9860
  },
9852
9861
  access: {
9853
9862
  kind: "mixed",
9854
- requirements: "Nethermind deterministic JSON playbooks yield raw_tx chain_id/to/value/data. Never signs/broadcasts; signer owns gas/nonce. Resolver API keys optional by feature, hosted API bearer/free limits."
9863
+ requirements: "Nethermind playbooks emit unsigned raw_tx chain_id/to/value/data and never sign or broadcast. Optional Alchemy, 1inch and Anthropic keys cover quotes, L2 token discovery and chat. https://defi-skills.nethermind.io/ returned HTTP 404 on 2026-11-12; the README still links it. The current README describes no hosted bearer API."
9855
9864
  },
9856
9865
  cost: "mixed",
9857
9866
  authority: "unsigned",
@@ -10110,18 +10119,19 @@ var providers_default = {
10110
10119
  summary: "Bound SQL scans/query cost; provenance execution id/timestamp/schema/coverage and parameterized wallet input.",
10111
10120
  sources: [
10112
10121
  "https://dune.com/agents",
10113
- "https://docs.dune.com/api-reference/agents/mcp",
10114
- "https://docs.dune.com/api-reference/agents/cli-and-skills",
10122
+ "https://docs.dune.com/docs/agents/mcp",
10123
+ "https://docs.dune.com/docs/agents/cli-and-skills",
10124
+ "https://docs.dune.com/docs/agents/mpp",
10115
10125
  "https://github.com/duneanalytics/skills"
10116
10126
  ],
10117
10127
  review: {
10118
10128
  status: "primary-source-reviewed",
10119
- checkedOn: "2026-10-08",
10120
- notes: "Dune MCP/CLI OAuth and credits; SQL execution/persisted queries/dashboard writes differ. HTTP402 Tempo agent queries are paid without signup."
10129
+ checkedOn: "2026-11-12",
10130
+ notes: "Dune MCP/CLI OAuth and credits; SQL execution/persisted queries/dashboard writes differ. The MPP page documents HTTP 402 Tempo payment channels with no Dune account. Former /api-reference/agents paths redirect to /docs/agents."
10121
10131
  },
10122
10132
  access: {
10123
10133
  kind: "mixed",
10124
- requirements: "Dune MCP/CLI OAuth and credits; SQL execution/persisted queries/dashboard writes differ. HTTP402 Tempo agent queries are paid without signup."
10134
+ requirements: "Dune MCP/CLI OAuth and credits; SQL execution/persisted queries/dashboard writes differ. The MPP page documents HTTP 402 Tempo payment channels with no Dune account. Former /api-reference/agents paths redirect to /docs/agents."
10125
10135
  },
10126
10136
  cost: "mixed",
10127
10137
  authority: "mixed",
@@ -10151,7 +10161,7 @@ var providers_default = {
10151
10161
  ],
10152
10162
  review: {
10153
10163
  status: "primary-source-reviewed",
10154
- checkedOn: "2026-10-08",
10164
+ checkedOn: "2026-11-12",
10155
10165
  notes: "CoinGecko shared MCP is keyless; rate-limited market/onchain data. Current Boomkin reviewed execute/search_docs discovery is narrow by name but generic operation semantics require research boundaries. Official CoinGecko public MCP docs and the reviewed execute/search_docs contract. A discovered tool does not prove a successful market read."
10156
10166
  },
10157
10167
  access: {
@@ -10313,17 +10323,16 @@ var providers_default = {
10313
10323
  summary: "Schema-driven provider routing, explicit signer/payer selection, simulation/smart-wallet call-id-to-hash status verification.",
10314
10324
  sources: [
10315
10325
  "https://www.alchemy.com/docs/alchemy-cli",
10316
- "https://www.alchemy.com/ai-agents",
10317
- "https://www.alchemy.com/docs/reference/simulation"
10326
+ "https://www.alchemy.com/ai-agents"
10318
10327
  ],
10319
10328
  review: {
10320
10329
  status: "primary-source-reviewed",
10321
- checkedOn: "2026-10-08",
10322
- notes: "Alchemy CLI JSON/no-interactive and agent-prompt schema; evm contract call mutates. Session signer can win over local. App/webhook commands are external admin writes; x402 estimate free then max-payment required. Official Alchemy agent and CLI documentation. RPC reads, simulation, wallet-signed transactions and app administration need distinct capability review. Alchemy Transaction Simulation APIs were deprecated 2026-09-30; CLI simulation listings alone do not establish a supported backend."
10330
+ checkedOn: "2026-11-12",
10331
+ notes: "Alchemy CLI JSON/no-interactive and agent-prompt schema; evm contract call mutates. Session signer can win over local. App/webhook commands are external admin writes; x402 estimate free then max-payment required. Official Alchemy agent and CLI documentation. RPC reads, simulation, wallet-signed transactions and app administration need distinct capability review. The former simulation reference now redirects to the Data APIs overview. The 2026-10-08 review recorded a 2026-09-30 Transaction Simulation API deprecation; current CLI docs still list simulation commands, so a listing alone does not establish a supported backend."
10323
10332
  },
10324
10333
  access: {
10325
10334
  kind: "credentials",
10326
- requirements: "Alchemy CLI JSON/no-interactive and agent-prompt schema; evm contract call mutates. Session signer can win over local. App/webhook commands are external admin writes; x402 estimate free then max-payment required."
10335
+ requirements: "Alchemy CLI JSON/no-interactive and agent-prompt schema; evm contract call mutates. Session signer can win over local. App/webhook commands are external admin writes; x402 estimate free then max-payment required. The former simulation reference now redirects to the Data APIs overview."
10327
10336
  },
10328
10337
  cost: "mixed",
10329
10338
  authority: "mixed",
@@ -10600,17 +10609,16 @@ var providers_default = {
10600
10609
  "https://github.com/WalletConnect/agent-sdk",
10601
10610
  "https://www.npmjs.com/package/@walletconnect/cli-sdk",
10602
10611
  "https://www.npmjs.com/package/@walletconnect/staking-cli",
10603
- "https://www.npmjs.com/package/@walletconnect/pay-cli",
10604
- "https://walletconnect.network/"
10612
+ "https://www.npmjs.com/package/@walletconnect/pay-cli"
10605
10613
  ],
10606
10614
  review: {
10607
10615
  status: "primary-source-reviewed",
10608
- checkedOn: "2026-10-08",
10609
- notes: "WalletConnect project ID; Beta tooling. send-transaction auto-bridges low ETH in pipe/agent mode, so send authority cannot imply bridge authority. Pay may require personal compliance data."
10616
+ checkedOn: "2026-11-12",
10617
+ notes: "WalletConnect project ID; Beta tooling. send-transaction auto-bridges low ETH in pipe/agent mode, so send authority cannot imply bridge authority. Pay may require personal compliance data. walletconnect.network now redirects to a generic Network page and does not document the agent SDK."
10610
10618
  },
10611
10619
  access: {
10612
10620
  kind: "mixed",
10613
- requirements: "WalletConnect project ID; Beta tooling. send-transaction auto-bridges low ETH in pipe/agent mode, so send authority cannot imply bridge authority. Pay may require personal compliance data."
10621
+ requirements: "WalletConnect project ID; Beta tooling. send-transaction auto-bridges low ETH in pipe/agent mode, so send authority cannot imply bridge authority. Pay may require personal compliance data. walletconnect.network now redirects to a generic Network page and does not document the agent SDK."
10614
10622
  },
10615
10623
  cost: "mixed",
10616
10624
  authority: "signing",
@@ -10676,12 +10684,12 @@ var providers_default = {
10676
10684
  sources: [
10677
10685
  "https://jaw.id/",
10678
10686
  "https://docs.jaw.id",
10679
- "https://github.com/JustaName-id/jaw-mono",
10680
- "https://github.com/JustaName-id/jaw-skills"
10687
+ "https://github.com/JustaLab-co/jaw-mono",
10688
+ "https://github.com/JustaLab-co/jaw-skills"
10681
10689
  ],
10682
10690
  review: {
10683
10691
  status: "primary-source-reviewed",
10684
- checkedOn: "2026-10-08",
10692
+ checkedOn: "2026-11-12",
10685
10693
  notes: "JAW canonical org now JustaLab-co, old org redirects. Passkey smart account, EIP7702 upgrades, ERC7715 grant/revoke permissions and session keys are separate authorities."
10686
10694
  },
10687
10695
  access: {
@@ -10719,7 +10727,7 @@ var providers_default = {
10719
10727
  ],
10720
10728
  review: {
10721
10729
  status: "primary-source-reviewed",
10722
- checkedOn: "2026-10-08",
10730
+ checkedOn: "2026-11-12",
10723
10731
  notes: "Directory read-only claim is stale: @steerprotocol/cli latest 4.7.3 adds IPFS publication, unsigned pool/strategy/vault prepare and --web signer handoff. markets remains read-only."
10724
10732
  },
10725
10733
  access: {
@@ -11309,16 +11317,16 @@ var providers_default = {
11309
11317
  "https://github.com/aeonfun/aeon/tree/main/skills/sc-audit",
11310
11318
  "https://github.com/aeonfun/aeon/tree/main/skills/deploy-uni-hook",
11311
11319
  "https://www.aeon.fun/hooks",
11312
- "https://www.aeon.fun/connect/mcp"
11320
+ "https://www.aeon.fun/connect"
11313
11321
  ],
11314
11322
  review: {
11315
11323
  status: "primary-source-reviewed",
11316
- checkedOn: "2026-10-08",
11317
- notes: "Aeon autonomous GitHub Actions agent has 85 consumer skill paths plus examples and malicious test fixtures. Deployed hooks include mandatory AeonFee buyback, so adoption adds economic assumptions."
11324
+ checkedOn: "2026-11-12",
11325
+ notes: "Aeon autonomous GitHub Actions agent has 92 SKILL.md files under skills/ on main, checked 2026-11-12, plus separate examples and malicious skill-scan fixtures. www.aeon.fun/connect/mcp now opens browser GitHub setup, not a hosted MCP endpoint, and the repo has no root README. Deployed hooks inherit a mandatory 10 bps AeonFee that derived hooks cannot skip."
11318
11326
  },
11319
11327
  access: {
11320
11328
  kind: "mixed",
11321
- requirements: "Aeon autonomous GitHub Actions agent has 85 consumer skill paths plus examples and malicious test fixtures. Deployed hooks include mandatory AeonFee buyback, so adoption adds economic assumptions."
11329
+ requirements: "Aeon autonomous GitHub Actions agent has 92 SKILL.md files under skills/ on main, checked 2026-11-12, plus separate examples and malicious skill-scan fixtures. www.aeon.fun/connect/mcp now opens browser GitHub setup, not a hosted MCP endpoint, and the repo has no root README. Deployed hooks inherit a mandatory 10 bps AeonFee that derived hooks cannot skip."
11322
11330
  },
11323
11331
  cost: "mixed",
11324
11332
  authority: "runtime",
@@ -11383,16 +11391,17 @@ var providers_default = {
11383
11391
  ],
11384
11392
  summary: "Reviewed named read tools only; the doctor performs keyless discovery and never verifies protected account entitlements.",
11385
11393
  sources: [
11386
- "https://docs.aixbt.tech/developers/mcp"
11394
+ "https://docs.aixbt.tech/developers/v3",
11395
+ "https://aixbt.tech/.well-known/mcp/server.json"
11387
11396
  ],
11388
11397
  review: {
11389
11398
  status: "primary-source-reviewed",
11390
- checkedOn: "2026-10-08",
11391
- notes: "Reviewed named read tools only; the doctor performs keyless discovery and never verifies protected account entitlements."
11399
+ checkedOn: "2026-11-12",
11400
+ notes: "API v3 documents public Topics and an x-api-key for every other surface. The published MCP remote remains https://api.aixbt.tech/mcp. The old developers/mcp page redirects to aixbt.tech/connect. Boomkin's reviewed connection still references Authorization Bearer ${AIXBT_API_KEY}; this review did not re-probe that header."
11392
11401
  },
11393
11402
  access: {
11394
11403
  kind: "mixed",
11395
- requirements: "Topic list/detail reads are public; protected intelligence requires AIXBT_API_KEY, quotas and report entitlements."
11404
+ requirements: "API v3 documents public Topics and an x-api-key for every other surface. The published MCP remote remains https://api.aixbt.tech/mcp. Boomkin's reviewed connection still references Authorization Bearer ${AIXBT_API_KEY}; this review did not re-probe that header."
11396
11405
  },
11397
11406
  cost: "mixed",
11398
11407
  authority: "read",
@@ -11461,9 +11470,14 @@ var connections = {
11461
11470
  var nonempty = (value) => typeof value === "string" && !!value.trim();
11462
11471
  var list = (value) => Array.isArray(value) && value.length > 0 && value.every(nonempty) && new Set(value).size === value.length;
11463
11472
  var https = (value) => {
11473
+ if (!/^https:\/\/[A-Za-z0-9._~:/?#\[\]@!$&'()*+,;=%-]+$/.test(value))
11474
+ return false;
11464
11475
  try {
11465
11476
  const url = new URL(value);
11466
- return url.protocol === "https:" && !url.username && !url.password;
11477
+ const host = url.hostname;
11478
+ if (url.protocol !== "https:" || url.username || url.password || !host || host === "." || host.endsWith(".") || host.includes(".."))
11479
+ return false;
11480
+ return host.includes(".") || host.startsWith("[");
11467
11481
  } catch {
11468
11482
  return false;
11469
11483
  }
@@ -11535,7 +11549,32 @@ function renderProvider(provider, detailed = false) {
11535
11549
 
11536
11550
  // src/workflows.ts
11537
11551
  init_workflows();
11538
- var workflows = workflows_default.workflows;
11552
+ var slug = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
11553
+ var plain = (value) => typeof value === "string" && !!value.trim() && !/[\u0000-\u001f]/.test(value);
11554
+ function parseWorkflowRegistry(value) {
11555
+ const registry = value;
11556
+ if (!registry || typeof registry !== "object" || Array.isArray(registry) || registry.schemaVersion !== 1 || !Array.isArray(registry.workflows) || !registry.workflows.length)
11557
+ throw new Error("Malformed workflow registry");
11558
+ const ids = new Set;
11559
+ const workflows = [];
11560
+ for (const item of registry.workflows) {
11561
+ if (!item || typeof item !== "object" || Array.isArray(item))
11562
+ throw new Error("Invalid or duplicate workflow");
11563
+ const workflow = item;
11564
+ if (typeof workflow.id !== "string" || !slug.test(workflow.id) || ids.has(workflow.id) || !plain(workflow.protocol) || !plain(workflow.title) || typeof workflow.skill !== "string" || !slug.test(workflow.skill) || typeof workflow.pack !== "string" || !slug.test(workflow.pack) || !Array.isArray(workflow.inputs) || !workflow.inputs.length || workflow.inputs.some((input) => !plain(input)) || !plain(workflow.output) || !plain(workflow.access))
11565
+ throw new Error("Invalid or duplicate workflow");
11566
+ ids.add(workflow.id);
11567
+ workflows.push({ id: workflow.id, protocol: workflow.protocol, title: workflow.title, skill: workflow.skill, pack: workflow.pack, inputs: [...workflow.inputs], output: workflow.output, access: workflow.access });
11568
+ }
11569
+ return { schemaVersion: 1, workflows };
11570
+ }
11571
+ var workflows = parseWorkflowRegistry(workflows_default).workflows;
11572
+ function workflowMatchesProtocol(workflow, protocol) {
11573
+ const wanted = protocol.trim().toLowerCase();
11574
+ if (!wanted)
11575
+ return false;
11576
+ return [workflow.protocol, ...workflow.protocol.split(" / ")].some((name) => name.trim().toLowerCase() === wanted);
11577
+ }
11539
11578
  function selectWorkflow(id) {
11540
11579
  const workflow = workflows.find((item) => item.id === id);
11541
11580
  if (!workflow)
@@ -12082,7 +12121,7 @@ function walletRow(id, label, before, after, note) {
12082
12121
  note: a && b ? note : `${note} Missing or invalid amounts remain unavailable.`
12083
12122
  };
12084
12123
  }
12085
- function numericRow(id, label, unit, before, after, comparable, note, relative = false) {
12124
+ function numericRow(id, label, unit, before, after, comparable, note, relative2 = false) {
12086
12125
  const a = number(before), b = number(after), delta = comparable && a !== null && b !== null ? b - a : null;
12087
12126
  return {
12088
12127
  id,
@@ -12091,7 +12130,7 @@ function numericRow(id, label, unit, before, after, comparable, note, relative =
12091
12130
  before: display(a),
12092
12131
  after: display(b),
12093
12132
  delta: display(delta),
12094
- changePct: relative && delta !== null && a !== null && a > 0 ? display(delta / a * 100) : null,
12133
+ changePct: relative2 && delta !== null && a !== null && a > 0 ? display(delta / a * 100) : null,
12095
12134
  note: a === null || b === null ? `${note} Missing or invalid values remain unavailable.` : note
12096
12135
  };
12097
12136
  }
@@ -12164,12 +12203,12 @@ function finish(output) {
12164
12203
  }
12165
12204
  function market(output, before, after) {
12166
12205
  function observations(snapshot) {
12167
- const rows = new Map;
12206
+ const rows2 = new Map;
12168
12207
  const age = number(at(snapshot.result, "parameters", "maxAgeSeconds")) ?? 300;
12169
12208
  for (const read of list2(at(snapshot.result, "reads")))
12170
12209
  for (const row of list2(at(read, "observations"))) {
12171
- const provider = at(read, "provider"), identity = at(row, "identity");
12172
- if (typeof provider !== "string" || !["coingecko", "defillama"].includes(provider) || at(row, "provider") !== provider || at(identity, "namespace") !== "coingecko" || at(identity, "id") !== snapshot.inputs.asset) {
12210
+ const provider = at(read, "provider"), identity3 = at(row, "identity");
12211
+ if (typeof provider !== "string" || !["coingecko", "defillama"].includes(provider) || at(row, "provider") !== provider || at(identity3, "namespace") !== "coingecko" || at(identity3, "id") !== snapshot.inputs.asset) {
12173
12212
  output.issues.push("A market observation has an unsupported provider or mismatched CoinGecko identity.");
12174
12213
  continue;
12175
12214
  }
@@ -12177,13 +12216,13 @@ function market(output, before, after) {
12177
12216
  const price = number(at(row, "priceUsd")), delay = (retrieved - observed) / 1000;
12178
12217
  const valid = at(row, "ok") === true && at(row, "unit") === "USD" && price !== null && price >= 0.000000000001 && price <= 1000000000000 && delay >= -60 && delay <= age && age >= 1 && age <= 86400;
12179
12218
  const note = valid ? `Observed ${at(row, "observedAt")}; retrieved ${at(row, "retrievedAt")}.` : `Unavailable: ${typeof at(row, "error") === "string" ? at(row, "error") : "missing, stale or invalid observation"}.`;
12180
- if (rows.has(key)) {
12219
+ if (rows2.has(key)) {
12181
12220
  output.issues.push(`Duplicate ${key} observations cannot be matched reliably.`);
12182
- rows.set(key, { value: null, observed: NaN, note: "Duplicate source observations." });
12221
+ rows2.set(key, { value: null, observed: NaN, note: "Duplicate source observations." });
12183
12222
  } else
12184
- rows.set(key, { value: valid ? price : null, observed, note });
12223
+ rows2.set(key, { value: valid ? price : null, observed, note });
12185
12224
  }
12186
- return rows;
12225
+ return rows2;
12187
12226
  }
12188
12227
  const a = observations(before), b = observations(after);
12189
12228
  const rows = [...new Set([...a.keys(), ...b.keys()])].sort().map((provider) => {
@@ -12273,7 +12312,7 @@ var sha = (value) => createHash5("sha256").update(value).digest("hex");
12273
12312
  var json2 = (value) => JSON.stringify(value, null, 2) + `
12274
12313
  `;
12275
12314
  var object = (value) => !!value && typeof value === "object" && !Array.isArray(value);
12276
- var slug = /^[a-z0-9][a-z0-9-]{0,62}$/;
12315
+ var slug2 = /^[a-z0-9][a-z0-9-]{0,62}$/;
12277
12316
  var runPattern = /^\d{4}-\d{2}-\d{2}T[0-9-]+Z-[0-9a-f]{8}$/;
12278
12317
  var kinds = {
12279
12318
  wallet: { workflow: "hyperliquid-wallet-audit", pack: "hyperliquid-skills", skill: "hyperliquid-wallet-audit", module: "audit-engine.mjs" },
@@ -12289,7 +12328,7 @@ class DeskError extends Error {
12289
12328
  }
12290
12329
  }
12291
12330
  function validName(value) {
12292
- if (!slug.test(value))
12331
+ if (!slug2.test(value))
12293
12332
  throw new DeskError("Invalid project name");
12294
12333
  return value;
12295
12334
  }
@@ -12335,17 +12374,17 @@ async function atomic(root, parts, value) {
12335
12374
  await rm3(temporary, { force: true });
12336
12375
  }
12337
12376
  }
12338
- var projectParts = (name) => [".boomkin", "projects", validName(name)];
12339
- var runParts = (name, id) => [...projectParts(name), "runs", validRun(id)];
12340
- function parseRun(value, name, id) {
12341
- if (!object(value) || value.schemaVersion !== 1 || value.project !== name || value.id !== id || !Object.hasOwn(kinds, value.kind) || !["queued", "running", "complete", "partial", "failed", "cancelled", "interrupted"].includes(value.state) || typeof value.createdAt !== "string" || !Number.isFinite(Date.parse(value.createdAt)) || typeof value.progress !== "string")
12377
+ var projectParts = (name2) => [".boomkin", "projects", validName(name2)];
12378
+ var runParts = (name2, id) => [...projectParts(name2), "runs", validRun(id)];
12379
+ function parseRun(value, name2, id) {
12380
+ if (!object(value) || value.schemaVersion !== 1 || value.project !== name2 || value.id !== id || !Object.hasOwn(kinds, value.kind) || !["queued", "running", "complete", "partial", "failed", "cancelled", "interrupted"].includes(value.state) || typeof value.createdAt !== "string" || !Number.isFinite(Date.parse(value.createdAt)) || typeof value.progress !== "string")
12342
12381
  throw new DeskError("Saved desk run is malformed; files were preserved", 409);
12343
12382
  return value;
12344
12383
  }
12345
12384
  function parseMetadata(value) {
12346
12385
  if (!object(value) || value.schemaVersion !== 1 || !Object.hasOwn(kinds, value.kind) || typeof value.title !== "string" || !value.title.trim() || value.title.length > 160)
12347
12386
  throw new DeskError("Saved desk project is malformed; files were preserved", 409);
12348
- if (value.parent !== undefined && (!object(value.parent) || typeof value.parent.project !== "string" || !slug.test(value.parent.project) || typeof value.parent.runId !== "string" || !runPattern.test(value.parent.runId)))
12387
+ if (value.parent !== undefined && (!object(value.parent) || typeof value.parent.project !== "string" || !slug2.test(value.parent.project) || typeof value.parent.runId !== "string" || !runPattern.test(value.parent.runId)))
12349
12388
  throw new DeskError("Saved parent capture is malformed; files were preserved", 409);
12350
12389
  return value;
12351
12390
  }
@@ -12413,10 +12452,10 @@ async function startDesk(options) {
12413
12452
  const recovery = await safe(root, [".boomkin", "desk-recovery.lock"]);
12414
12453
  try {
12415
12454
  await mkdir3(recovery, { mode: 448 });
12416
- } catch (error) {
12417
- if (error.code === "EEXIST")
12455
+ } catch (error2) {
12456
+ if (error2.code === "EEXIST")
12418
12457
  throw new DeskError("Desk lock recovery is already in progress. Retry after it finishes; inspect a retained recovery lock before removing it", 409);
12419
- throw error;
12458
+ throw error2;
12420
12459
  }
12421
12460
  try {
12422
12461
  await writeFile3(join5(recovery, "owner.json"), json2({ pid: process.pid, startedAt: new Date().toISOString() }), { flag: "wx", mode: 384 });
@@ -12431,8 +12470,8 @@ async function startDesk(options) {
12431
12470
  let alive = true;
12432
12471
  try {
12433
12472
  process.kill(owner.pid, 0);
12434
- } catch (error) {
12435
- if (error.code === "ESRCH")
12473
+ } catch (error2) {
12474
+ if (error2.code === "ESRCH")
12436
12475
  alive = false;
12437
12476
  }
12438
12477
  if (alive)
@@ -12444,11 +12483,11 @@ async function startDesk(options) {
12444
12483
  }
12445
12484
  }
12446
12485
  await writeFile3(join5(lock, "owner.json"), json2({ pid: process.pid, startedAt: new Date().toISOString() }), { flag: "wx", mode: 384 });
12447
- async function readMetadata(name) {
12448
- return parseMetadata(JSON.parse(await limited(await safe(root, [...projectParts(name), "desk.json"]))));
12486
+ async function readMetadata(name2) {
12487
+ return parseMetadata(JSON.parse(await limited(await safe(root, [...projectParts(name2), "desk.json"]))));
12449
12488
  }
12450
- async function readDeskRun(name, id) {
12451
- return parseRun(JSON.parse(await limited(await safe(root, [...runParts(name, id), "desk.json"]))), name, id);
12489
+ async function readDeskRun(name2, id) {
12490
+ return parseRun(JSON.parse(await limited(await safe(root, [...runParts(name2, id), "desk.json"]))), name2, id);
12452
12491
  }
12453
12492
  async function saveRun(run) {
12454
12493
  await atomic(root, [...runParts(run.project, run.id), "desk.json"], json2(run));
@@ -12502,7 +12541,7 @@ async function startDesk(options) {
12502
12541
  throw new DeskError(`Install ${contract.pack} in this profile`, 409);
12503
12542
  if (pack.version !== reviewed.version || pack.revision !== reviewed.revision || json2(pack) !== json2(reviewed))
12504
12543
  throw new DeskError("Installed release differs from the reviewed catalog; review update before running", 409);
12505
- const skills = await safe(root, ["skills"]), skillPath = await safe(root, ["skills", contract.skill]);
12544
+ const skills = await safe(root, ["skills"]);
12506
12545
  if (installedVersion(await limited(await safe(root, ["skills", contract.skill, "SKILL.md"]))) !== pack.version)
12507
12546
  throw new DeskError("Installed skill version differs from its recorded release", 409);
12508
12547
  const issues = await verifyIntegrity(skills, { schemaVersion: 3, packs: [pack] }, recorded.integrity);
@@ -12521,8 +12560,8 @@ async function startDesk(options) {
12521
12560
  throw new DeskError("This project already has an active run", 409);
12522
12561
  const controller = new AbortController;
12523
12562
  let release;
12524
- const done = new Promise((resolve) => {
12525
- release = resolve;
12563
+ const done = new Promise((resolve6) => {
12564
+ release = resolve6;
12526
12565
  });
12527
12566
  preparing.set(key, { controller, done });
12528
12567
  try {
@@ -12574,20 +12613,20 @@ async function startDesk(options) {
12574
12613
  const title = body.title ?? (kind === "wallet" ? "Hyperliquid wallet review" : kind === "market" ? `${input.asset} market research` : `${input.asset} strategy test`);
12575
12614
  if (typeof title !== "string" || !title.trim() || title.length > 160)
12576
12615
  throw new DeskError("Title must contain 1\u2013160 characters");
12577
- const name = `${kind}-${randomUUID3().slice(0, 8)}`;
12616
+ const name2 = `${kind}-${randomUUID3().slice(0, 8)}`;
12578
12617
  controller.signal.throwIfAborted();
12579
12618
  const { dataset, ...savedInput } = input;
12580
12619
  if (dataset)
12581
12620
  savedInput.uploadedDatasetSha256 = sha(json2(dataset));
12582
- const project = await createProject(root, { name, workflow: kinds[kind].workflow, inputs: savedInput, objective: title }, catalog);
12621
+ const project = await createProject(root, { name: name2, workflow: kinds[kind].workflow, inputs: savedInput, objective: title }, catalog);
12583
12622
  if (dataset)
12584
- await writeFile3(await safe(root, [...projectParts(name), "input.json"]), json2(dataset), { flag: "wx", mode: 384 });
12585
- await writeFile3(await safe(root, [...projectParts(name), "desk.json"]), json2({ schemaVersion: 1, kind, title }), { flag: "wx", mode: 384 });
12623
+ await writeFile3(await safe(root, [...projectParts(name2), "input.json"]), json2(dataset), { flag: "wx", mode: 384 });
12624
+ await writeFile3(await safe(root, [...projectParts(name2), "desk.json"]), json2({ schemaVersion: 1, kind, title }), { flag: "wx", mode: 384 });
12586
12625
  return projectDto(project);
12587
12626
  });
12588
12627
  }
12589
- async function runDetails(name, id) {
12590
- const run = await readDeskRun(name, id), parts = runParts(name, id);
12628
+ async function runDetails(name2, id) {
12629
+ const run = await readDeskRun(name2, id), parts = runParts(name2, id);
12591
12630
  const integrity = { issues: [], resultVerified: false };
12592
12631
  function parseSaved(value, file) {
12593
12632
  try {
@@ -12609,7 +12648,7 @@ async function startDesk(options) {
12609
12648
  }
12610
12649
  const resultText = await optional("result.json");
12611
12650
  if (["complete", "partial"].includes(run.state)) {
12612
- integrity.issues = (await checkProjectRun(root, name, id)).issues;
12651
+ integrity.issues = (await checkProjectRun(root, name2, id)).issues;
12613
12652
  if (run.resultSha256 !== undefined) {
12614
12653
  integrity.resultVerified = typeof run.resultSha256 === "string" && /^[a-f0-9]{64}$/.test(run.resultSha256) && resultText !== null && sha(resultText) === run.resultSha256;
12615
12654
  if (!integrity.resultVerified)
@@ -12618,22 +12657,22 @@ async function startDesk(options) {
12618
12657
  }
12619
12658
  return { run, report: await optional("report.md"), evidence: await optional("evidence.json", true), result: resultText === null ? null : parseSaved(resultText, "result.json"), integrity };
12620
12659
  }
12621
- async function comparisonSnapshot(name, id) {
12622
- const detail = await runDetails(name, id), record = (await projectRuns(root, name)).find((run) => run.id === id);
12623
- const brief = detail.integrity.issues.length ? { inputs: {} } : JSON.parse(await limited(await safe(root, [...runParts(name, id), "brief.json"])));
12624
- return { run: detail.run, inputs: brief.inputs, packRevision: record.pack.revision, result: detail.result, evidence: detail.evidence?.observations ?? [], integrityIssues: detail.integrity.issues, resultVerified: detail.integrity.resultVerified };
12660
+ async function comparisonSnapshot(name2, id) {
12661
+ const detail = await runDetails(name2, id), record2 = (await projectRuns(root, name2)).find((run) => run.id === id);
12662
+ const brief = detail.integrity.issues.length ? { inputs: {} } : JSON.parse(await limited(await safe(root, [...runParts(name2, id), "brief.json"])));
12663
+ return { run: detail.run, inputs: brief.inputs, packRevision: record2.pack.revision, result: detail.result, evidence: detail.evidence?.observations ?? [], integrityIssues: detail.integrity.issues, resultVerified: detail.integrity.resultVerified };
12625
12664
  }
12626
- async function startRun(name) {
12627
- return reserve(name, async (controller) => {
12628
- const project = await readProject(root, name), meta = await readMetadata(name), tools = await installed(meta.kind);
12665
+ async function startRun(name2) {
12666
+ return reserve(name2, async (controller) => {
12667
+ const project = await readProject(root, name2), meta = await readMetadata(name2), tools = await installed(meta.kind);
12629
12668
  controller.signal.throwIfAborted();
12630
12669
  if (meta.execution === "native-hermes")
12631
12670
  return startNative(project, meta, controller);
12632
- const id = new Date().toISOString().replaceAll(":", "-").replace(".", "-") + "-" + randomUUID3().slice(0, 8), parts = runParts(name, id);
12671
+ const id = new Date().toISOString().replaceAll(":", "-").replace(".", "-") + "-" + randomUUID3().slice(0, 8), parts = runParts(name2, id);
12633
12672
  const output = await safe(root, parts), createdAt = new Date().toISOString();
12634
- const brief = json2(project), prompt = renderProjectPrompt(project, output, (await projectRuns(root, name)).at(-1));
12673
+ const brief = json2(project), prompt = renderProjectPrompt(project, output, (await projectRuns(root, name2)).at(-1));
12635
12674
  controller.signal.throwIfAborted();
12636
- const projectLock = await safe(root, [...projectParts(name), "run.lock"]);
12675
+ const projectLock = await safe(root, [...projectParts(name2), "run.lock"]);
12637
12676
  try {
12638
12677
  await mkdir3(projectLock, { mode: 448 });
12639
12678
  } catch (error) {
@@ -12641,29 +12680,29 @@ async function startDesk(options) {
12641
12680
  throw new DeskError("This project already has an active run or an unresolved run lock", 409);
12642
12681
  throw error;
12643
12682
  }
12644
- const run = { schemaVersion: 1, id, project: name, kind: meta.kind, createdAt, state: "queued", progress: "Preparing verified research tools" };
12645
- const record = { schemaVersion: 1, id, project: name, createdAt, state: "prepared", briefSha256: sha(brief), promptSha256: sha(prompt), pack: tools.pack, maxTurns: 1 };
12683
+ const run = { schemaVersion: 1, id, project: name2, kind: meta.kind, createdAt, state: "queued", progress: "Preparing verified research tools" };
12684
+ const record2 = { schemaVersion: 1, id, project: name2, createdAt, state: "prepared", briefSha256: sha(brief), promptSha256: sha(prompt), pack: tools.pack, maxTurns: 1 };
12646
12685
  try {
12647
12686
  await writeFile3(join5(projectLock, "owner.json"), json2({ pid: process.pid, runId: id, owner: "desk" }), { flag: "wx", mode: 384 });
12648
12687
  await mkdir3(output, { mode: 448 });
12649
12688
  await mkdir3(join5(output, "sources"), { mode: 448 });
12650
- for (const [file, value] of [["brief.json", brief], ["prompt.md", prompt], ["run.json", json2(record)], ["desk.json", json2(run)]])
12689
+ for (const [file, value] of [["brief.json", brief], ["prompt.md", prompt], ["run.json", json2(record2)], ["desk.json", json2(run)]])
12651
12690
  await writeFile3(join5(output, file), value, { flag: "wx", mode: 384 });
12652
12691
  } catch (error) {
12653
12692
  await rm3(projectLock, { recursive: true, force: true });
12654
12693
  throw error;
12655
12694
  }
12656
12695
  const entry = { controller, done: Promise.resolve() };
12657
- active.set(name, entry);
12658
- entry.done = execute(project, tools, run, record, controller.signal).finally(async () => {
12659
- active.delete(name);
12696
+ active.set(name2, entry);
12697
+ entry.done = execute(project, tools, run, record2, controller.signal).finally(async () => {
12698
+ active.delete(name2);
12660
12699
  await rm3(projectLock, { recursive: true, force: true });
12661
12700
  });
12662
12701
  return run;
12663
12702
  });
12664
12703
  }
12665
- async function followup(name, body) {
12666
- return reserve(`followup-${name}`, async (controller) => {
12704
+ async function followup(name2, body) {
12705
+ return reserve(`followup-${name2}`, async (controller) => {
12667
12706
  if (!object(body) || Object.keys(body).some((key) => !["question", "maxTurns", "runId"].includes(key)) || typeof body.question !== "string" || !body.question.trim() || body.question.length > 4000)
12668
12707
  throw new DeskError("Enter a follow-up question under 4000 characters");
12669
12708
  if (body.runId !== undefined && (typeof body.runId !== "string" || !runPattern.test(body.runId)))
@@ -12671,13 +12710,13 @@ async function startDesk(options) {
12671
12710
  const maxTurns = body.maxTurns ?? 10;
12672
12711
  if (!Number.isInteger(maxTurns) || maxTurns < 1 || maxTurns > 30)
12673
12712
  throw new DeskError("Follow-up requires 1\u201330 native model turns");
12674
- const previous = await readProject(root, name), meta = await readMetadata(name);
12713
+ const previous = await readProject(root, name2), meta = await readMetadata(name2);
12675
12714
  await installed(meta.kind);
12676
- const runs = await projectRuns(root, name);
12715
+ const runs = await projectRuns(root, name2);
12677
12716
  const priorRun = body.runId ? runs.find((item) => item.id === body.runId) : runs.filter((item) => item.state === "ready-for-review").at(-1);
12678
12717
  if (!priorRun || priorRun.state !== "ready-for-review")
12679
12718
  throw new DeskError("Follow up on a completed result with verified evidence", 409);
12680
- const priorDetail = await runDetails(name, priorRun.id);
12719
+ const priorDetail = await runDetails(name2, priorRun.id);
12681
12720
  if (!["complete", "partial"].includes(priorDetail.run.state) || priorDetail.integrity.issues.length)
12682
12721
  throw new DeskError("Follow up on a completed result with verified evidence", 409);
12683
12722
  checkProfile();
@@ -12688,9 +12727,9 @@ async function startDesk(options) {
12688
12727
  throw new DeskError("Configure the native Hermes runtime and model first", 409);
12689
12728
  const derivedName = `followup-${randomUUID3().slice(0, 8)}`;
12690
12729
  const question = body.question.trim(), title = `Follow-up: ${question}`.slice(0, 160);
12691
- const priorBrief = JSON.parse(await limited(await safe(root, [...runParts(name, priorRun.id), "brief.json"])));
12692
- const project = await createProject(root, { name: derivedName, workflow: previous.workflow.id, objective: `Answer the user's follow-up using fresh public reads and the previous saved research as historical context. Question: ${question}`, inputs: { ...priorBrief.inputs, followupQuestion: question, previousProject: name, previousRunId: priorRun.id, previousReport: await safe(root, [...runParts(name, priorRun.id), "report.md"]), previousEvidence: await safe(root, [...runParts(name, priorRun.id), "evidence.json"]) } }, catalog);
12693
- const derived = { schemaVersion: 1, kind: meta.kind, title, execution: "native-hermes", maxTurns, parent: { project: name, runId: priorRun.id } };
12730
+ const priorBrief = JSON.parse(await limited(await safe(root, [...runParts(name2, priorRun.id), "brief.json"])));
12731
+ const project = await createProject(root, { name: derivedName, workflow: previous.workflow.id, objective: `Answer the user's follow-up using fresh public reads and the previous saved research as historical context. Question: ${question}`, inputs: { ...priorBrief.inputs, followupQuestion: question, previousProject: name2, previousRunId: priorRun.id, previousReport: await safe(root, [...runParts(name2, priorRun.id), "report.md"]), previousEvidence: await safe(root, [...runParts(name2, priorRun.id), "evidence.json"]) } }, catalog);
12732
+ const derived = { schemaVersion: 1, kind: meta.kind, title, execution: "native-hermes", maxTurns, parent: { project: name2, runId: priorRun.id } };
12694
12733
  await writeFile3(await safe(root, [...projectParts(derivedName), "desk.json"]), json2(derived), { flag: "wx", mode: 384 });
12695
12734
  const run = await startNative(project, derived, controller);
12696
12735
  return { project: await projectDto(project), run };
@@ -12700,8 +12739,8 @@ async function startDesk(options) {
12700
12739
  if (active.has(project.name))
12701
12740
  throw new DeskError("This project already has an active run", 409);
12702
12741
  let persisted, preparedResolve, preparedReject;
12703
- const prepared = new Promise((resolve, reject) => {
12704
- preparedResolve = resolve;
12742
+ const prepared = new Promise((resolve6, reject) => {
12743
+ preparedResolve = resolve6;
12705
12744
  preparedReject = reject;
12706
12745
  });
12707
12746
  const entry = { controller, done: Promise.resolve() };
@@ -12712,8 +12751,8 @@ async function startDesk(options) {
12712
12751
  signal: controller.signal,
12713
12752
  executable: options.nativeExecutable,
12714
12753
  maxTurns: meta.maxTurns ?? 10,
12715
- onPrepared: async (record) => {
12716
- persisted = { schemaVersion: 1, project: project.name, id: record.id, kind: meta.kind, execution: "native-hermes", createdAt: record.createdAt, state: "queued", progress: "Starting native Hermes with the configured model; provider usage may incur costs" };
12754
+ onPrepared: async (record2) => {
12755
+ persisted = { schemaVersion: 1, project: project.name, id: record2.id, kind: meta.kind, execution: "native-hermes", createdAt: record2.createdAt, state: "queued", progress: "Starting native Hermes with the configured model; provider usage may incur costs" };
12717
12756
  await saveRun(persisted);
12718
12757
  preparedResolve(persisted);
12719
12758
  },
@@ -12747,7 +12786,7 @@ async function startDesk(options) {
12747
12786
  })();
12748
12787
  return prepared;
12749
12788
  }
12750
- async function execute(project, tools, run, record, signal) {
12789
+ async function execute(project, tools, run, record2, signal) {
12751
12790
  const parts = runParts(project.name, run.id), evidence = [];
12752
12791
  async function progress(message) {
12753
12792
  signal.throwIfAborted();
@@ -12773,11 +12812,15 @@ async function startDesk(options) {
12773
12812
  }
12774
12813
  await progress(label);
12775
12814
  const sequence = ++readSequence;
12776
- const response = await (options.fetcher ?? fetch)(resource, { ...init, credentials: "omit", redirect: "error", signal: init?.signal ? AbortSignal.any([signal, init.signal]) : signal });
12815
+ const response2 = await (options.fetcher ?? fetch)(resource, { ...init, credentials: "omit", redirect: "error", signal: init?.signal ? AbortSignal.any([signal, init.signal]) : signal });
12777
12816
  {
12778
- const limit = run.kind === "wallet" ? 8388608 : 2097152, reader = response.body?.getReader();
12779
- if (!reader || Number(response.headers.get("content-length")) > limit)
12817
+ const limit = run.kind === "wallet" ? 8388608 : 2097152;
12818
+ const declared = Number(response2.headers.get("content-length"));
12819
+ if (Number.isFinite(declared) && declared > limit)
12780
12820
  throw new DeskError("Public response exceeds the capture bound", 502);
12821
+ const reader = response2.body?.getReader();
12822
+ if (!reader)
12823
+ throw new DeskError("Public response had no body", 502);
12781
12824
  const chunks = [];
12782
12825
  let length = 0;
12783
12826
  try {
@@ -12794,17 +12837,17 @@ async function startDesk(options) {
12794
12837
  } finally {
12795
12838
  await reader.cancel().catch(() => {});
12796
12839
  }
12797
- const bytes = Buffer.concat(chunks);
12798
- new TextDecoder("utf-8", { fatal: true }).decode(bytes);
12799
- await artifact(`read-${String(sequence).padStart(3, "0")}.${run.kind === "wallet" ? "txt" : "json"}`, bytes, url, `Raw public response: HTTP ${response.status}; historical timestamps are contained in the response`, [run.kind === "wallet" ? "Sequential exchange snapshot; full-window completeness is unverified." : "Aggregate observations are not executable quotes."]);
12800
- return new Response(bytes, { status: response.status, headers: response.headers });
12840
+ const bytes2 = Buffer.concat(chunks);
12841
+ new TextDecoder("utf-8", { fatal: true }).decode(bytes2);
12842
+ await artifact(`read-${String(sequence).padStart(3, "0")}.${run.kind === "wallet" ? "txt" : "json"}`, bytes2, url, `Raw public response: HTTP ${response2.status}; historical timestamps are contained in the response`, [run.kind === "wallet" ? "Sequential exchange snapshot; full-window completeness is unverified." : "Aggregate observations are not executable quotes."]);
12843
+ return new Response(bytes2, { status: response2.status, headers: response2.headers });
12801
12844
  }
12802
12845
  };
12803
12846
  try {
12804
12847
  run.state = "running";
12805
- record.state = "running";
12848
+ record2.state = "running";
12806
12849
  await saveRun(run);
12807
- await atomic(root, [...parts, "run.json"], json2(record));
12850
+ await atomic(root, [...parts, "run.json"], json2(record2));
12808
12851
  const module = await import(pathToFileURL(tools.path).href + `?release=${tools.pack.revision}`);
12809
12852
  let result, report, partial = false;
12810
12853
  if (run.kind === "wallet") {
@@ -12906,16 +12949,16 @@ Captured evidence:
12906
12949
  await atomic(root, [...parts, "report.md"], report);
12907
12950
  await atomic(root, [...parts, "evidence.json"], json2({ schemaVersion: 1, observations: evidence }));
12908
12951
  await atomic(root, [...parts, "plan.json"], json2({ schemaVersion: 1, status: "no-action", authorization: "not-granted", summary: "Read-only research; no financial action or authority", steps: [] }));
12909
- record.state = "needs-review";
12910
- record.finishedAt = new Date().toISOString();
12911
- await atomic(root, [...parts, "run.json"], json2(record));
12952
+ record2.state = "needs-review";
12953
+ record2.finishedAt = new Date().toISOString();
12954
+ await atomic(root, [...parts, "run.json"], json2(record2));
12912
12955
  const checked = await checkProjectRun(root, project.name, run.id);
12913
12956
  if (checked.issues.length)
12914
12957
  throw new DeskError("Saved result failed evidence validation: " + checked.issues.join("; "), 409);
12915
- record.state = "ready-for-review";
12916
- await atomic(root, [...parts, "run.json"], json2(record));
12958
+ record2.state = "ready-for-review";
12959
+ await atomic(root, [...parts, "run.json"], json2(record2));
12917
12960
  run.state = partial ? "partial" : "complete";
12918
- run.finishedAt = record.finishedAt;
12961
+ run.finishedAt = record2.finishedAt;
12919
12962
  run.progress = partial ? "Saved with explicit missing or partial observations" : "Research saved; sources and methodology are available";
12920
12963
  await saveRun(run);
12921
12964
  } catch (error) {
@@ -12924,9 +12967,9 @@ Captured evidence:
12924
12967
  run.finishedAt = new Date().toISOString();
12925
12968
  run.error = message;
12926
12969
  run.progress = message;
12927
- record.state = "failed";
12928
- record.finishedAt = run.finishedAt;
12929
- record.issues = [message];
12970
+ record2.state = "failed";
12971
+ record2.finishedAt = run.finishedAt;
12972
+ record2.issues = [message];
12930
12973
  await atomic(root, [...parts, "evidence.json"], json2({ schemaVersion: 1, observations: evidence }));
12931
12974
  await atomic(root, [...parts, "report.md"], `# Research incomplete
12932
12975
 
@@ -12937,14 +12980,14 @@ ${evidence.map((item) => `[${item.id}] ${item.summary}`).join(`
12937
12980
  `)}
12938
12981
  `);
12939
12982
  await atomic(root, [...parts, "plan.json"], json2({ schemaVersion: 1, status: "no-action", authorization: "not-granted", summary: message, steps: [] }));
12940
- await atomic(root, [...parts, "run.json"], json2(record));
12983
+ await atomic(root, [...parts, "run.json"], json2(record2));
12941
12984
  await saveRun(run);
12942
12985
  }
12943
12986
  }
12944
12987
  let origin = "";
12945
12988
  const headers = { "cache-control": "no-store", "x-content-type-options": "nosniff", "referrer-policy": "no-referrer", "content-security-policy": "default-src 'self'; connect-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'self'" };
12946
- function response(value, status = 200) {
12947
- return Response.json(value, { status, headers });
12989
+ function response(value, status2 = 200) {
12990
+ return Response.json(value, { status: status2, headers });
12948
12991
  }
12949
12992
  async function requestJson(request) {
12950
12993
  if (request.headers.get("content-type")?.split(";")[0].trim() !== "application/json")
@@ -13031,13 +13074,13 @@ ${evidence.map((item) => `[${item.id}] ${item.summary}`).join(`
13031
13074
  const match = path.match(/^\/api\/projects\/([a-z0-9-]+)(?:\/runs\/([^/]+)(?:\/(export|cancel|evidence|compare)(?:\/([^/]+))?)?|\/(run|refresh|followup))?$/);
13032
13075
  if (!match)
13033
13076
  throw new DeskError("Unknown desk route", 404);
13034
- const [, name, id, action, observationId, operation] = match;
13077
+ const [, name2, id, action, observationId, operation] = match;
13035
13078
  if (!id && !operation && request.method === "GET")
13036
- return response({ project: await projectDto(await readProject(root, name)) });
13079
+ return response({ project: await projectDto(await readProject(root, name2)) });
13037
13080
  if (operation === "followup" && request.method === "POST")
13038
- return response(await followup(name, await requestJson(request)), 202);
13081
+ return response(await followup(name2, await requestJson(request)), 202);
13039
13082
  if (operation && request.method === "POST")
13040
- return response({ run: await startRun(name) }, 202);
13083
+ return response({ run: await startRun(name2) }, 202);
13041
13084
  if (id) {
13042
13085
  if (action === "compare" && request.method === "GET") {
13043
13086
  const params = new URL(request.url).searchParams, baseline = params.get("baseline");
@@ -13045,35 +13088,35 @@ ${evidence.map((item) => `[${item.id}] ${item.summary}`).join(`
13045
13088
  throw new DeskError("Choose one baseline run from this project");
13046
13089
  validRun(baseline);
13047
13090
  validRun(id);
13048
- const before = await comparisonSnapshot(name, baseline), after = await comparisonSnapshot(name, id);
13091
+ const before = await comparisonSnapshot(name2, baseline), after = await comparisonSnapshot(name2, id);
13049
13092
  return response(compareDeskRuns(after.run.kind, before, after));
13050
13093
  }
13051
13094
  if (action === "cancel" && request.method === "POST") {
13052
- const run = await readDeskRun(name, id), pending = active.get(name);
13095
+ const run = await readDeskRun(name2, id), pending = active.get(name2);
13053
13096
  if (!pending || !["queued", "running"].includes(run.state))
13054
13097
  throw new DeskError("This run is no longer active", 409);
13055
- const current = (await projectRuns(root, name)).at(-1);
13098
+ const current = (await projectRuns(root, name2)).at(-1);
13056
13099
  if (current?.id !== id)
13057
13100
  throw new DeskError("Only the active run can be cancelled", 409);
13058
13101
  pending.controller.abort();
13059
13102
  await pending.done;
13060
- return response({ run: await readDeskRun(name, id) });
13103
+ return response({ run: await readDeskRun(name2, id) });
13061
13104
  }
13062
13105
  if (request.method === "GET" && action === "evidence") {
13063
- if (!observationId || !slug.test(observationId))
13106
+ if (!observationId || !slug2.test(observationId))
13064
13107
  throw new DeskError("Invalid observation ID");
13065
- const detail = await runDetails(name, id), evidence = detail.evidence?.observations?.find((item) => item.id === observationId);
13108
+ const detail = await runDetails(name2, id), evidence = detail.evidence?.observations?.find((item) => item.id === observationId);
13066
13109
  if (!evidence || !/^sources\/(?:[a-zA-Z0-9][a-zA-Z0-9._-]*\/)*[a-zA-Z0-9][a-zA-Z0-9._-]*$/.test(evidence.artifact))
13067
13110
  throw new DeskError("Unknown captured observation", 404);
13068
- const bytes = await limitedBytes(await safe(root, [...runParts(name, id), ...evidence.artifact.split("/")]), 20971520);
13069
- if (sha(bytes) !== evidence.sha256)
13111
+ const bytes2 = await limitedBytes(await safe(root, [...runParts(name2, id), ...evidence.artifact.split("/")]), 20971520);
13112
+ if (sha(bytes2) !== evidence.sha256)
13070
13113
  throw new DeskError("Captured artifact hash differs from its evidence record", 409);
13071
- return new Response(bytes, { headers: { ...headers, "content-type": "text/plain; charset=utf-8" } });
13114
+ return new Response(bytes2, { headers: { ...headers, "content-type": "text/plain; charset=utf-8" } });
13072
13115
  }
13073
13116
  if (request.method === "GET" && (!action || action === "export")) {
13074
- const detail = await runDetails(name, id);
13117
+ const detail = await runDetails(name2, id);
13075
13118
  if (action === "export")
13076
- return new Response(json2(detail), { headers: { ...headers, "content-type": "application/json", "content-disposition": `attachment; filename="${name}-${id}.json"` } });
13119
+ return new Response(json2(detail), { headers: { ...headers, "content-type": "application/json", "content-disposition": `attachment; filename="${name2}-${id}.json"` } });
13077
13120
  return response(detail);
13078
13121
  }
13079
13122
  }
@@ -13104,8 +13147,8 @@ ${evidence.map((item) => `[${item.id}] ${item.summary}`).join(`
13104
13147
  const contents = await readFile5(filePath);
13105
13148
  return new Response(request.method === "HEAD" ? null : contents, { headers: { ...headers, "content-type": file.type } });
13106
13149
  } catch (error) {
13107
- const status = error instanceof DeskError ? error.status : error?.code === "ENOENT" ? 404 : 500;
13108
- return response({ error: { message: status === 500 ? "Desk operation failed; saved files were preserved" : error.message } }, status);
13150
+ const status2 = error instanceof DeskError ? error.status : error?.code === "ENOENT" ? 404 : 500;
13151
+ return response({ error: { message: status2 === 500 ? "Desk operation failed; saved files were preserved" : error.message } }, status2);
13109
13152
  }
13110
13153
  }
13111
13154
  });
@@ -13243,8 +13286,8 @@ function createNativeDashboard(directory, options = {}) {
13243
13286
  const consume = async (stream) => {
13244
13287
  const decoder = new TextDecoder;
13245
13288
  let tail = "";
13246
- for await (const bytes of stream) {
13247
- const lines = (tail + decoder.decode(bytes, { stream: true })).split(`
13289
+ for await (const bytes2 of stream) {
13290
+ const lines = (tail + decoder.decode(bytes2, { stream: true })).split(`
13248
13291
  `);
13249
13292
  tail = lines.pop().slice(-4096);
13250
13293
  for (const line of lines) {
@@ -13306,6 +13349,7 @@ boomkin providers --search simulation --json
13306
13349
  boomkin providers --access keyless
13307
13350
  boomkin providers --provider blockscout
13308
13351
  boomkin workflows
13352
+ boomkin workflows --protocol Aave
13309
13353
  boomkin workflows --workflow aave-health
13310
13354
  boomkin templates
13311
13355
  boomkin templates --template wallet-audit --json
@@ -13314,6 +13358,7 @@ boomkin project create --name my-research --workflow yield-screen --input-file .
13314
13358
  boomkin project run --name my-research --dry-run
13315
13359
  boomkin project run --name my-research
13316
13360
  boomkin project check --name my-research
13361
+ boomkin project show --name my-research
13317
13362
  boomkin project list
13318
13363
  boomkin onboard --workflow yield-screen
13319
13364
  boomkin connect --provider alchemy
@@ -13322,7 +13367,10 @@ boomkin connect --provider blockscout
13322
13367
  boomkin model
13323
13368
  boomkin chatgpt --action login
13324
13369
  boomkin chatgpt --action status
13370
+ boomkin chatgpt --action refresh
13371
+ boomkin chatgpt --action model
13325
13372
  boomkin check --directory ~/.boomkin/hermes
13373
+ boomkin status --directory ~/.boomkin/hermes
13326
13374
  boomkin update --directory ~/.boomkin/hermes
13327
13375
 
13328
13376
  desk opens your local browser desk for public market data, wallet reviews and strategy tests.
@@ -13331,12 +13379,13 @@ Optional research uses native Hermes and your selected model. --port chooses a l
13331
13379
  --no-open prints the local address without opening a browser. Stop with Ctrl-C.
13332
13380
  onboard installs the official Hermes runtime if needed, prepares an isolated profile,
13333
13381
  installs the selected Galleon skill packs and public CoinGecko MCP, then runs native model setup.
13334
- --directory chooses the Hermes home (default ~/.boomkin/hermes for the commands above).
13382
+ --directory chooses the Hermes home (default ~/.boomkin/hermes) for desk, onboard, doctor, start, connect, model, chatgpt and project.
13383
+ setup, update, check and status require it. workflows, templates, providers, catalog and harnesses do not use a profile.
13335
13384
  --skip-model-setup prepares files without an interactive model login.
13336
13385
  --no-install uses an existing Hermes executable. --dry-run previews without writes.
13337
13386
  --all-packs opts an existing onboarding profile into every pack in the current catalog.
13338
13387
  --workflow chooses one task's pack for onboarding; updates keep that selection.
13339
- workflows lists inputs, concrete results and access requirements; --json emits structured data.
13388
+ workflows lists inputs, concrete results and access requirements; --protocol filters by protocol name; --json emits structured data.
13340
13389
  templates lists reviewed starting points; --template inspects the required inputs and example.
13341
13390
  project create accepts either --template or --workflow with your --input-file.
13342
13391
  providers discovers sourced provider tools locally; --search, --capability and --access narrow results.
@@ -13430,25 +13479,29 @@ async function main() {
13430
13479
  throw new Error("Onboarding options are only available for onboard");
13431
13480
  if (values["dry-run"] && !["desk", "onboard", "setup", "update", "connect", "start", "model", "chatgpt", "project"].includes(command))
13432
13481
  throw new Error("--dry-run is unavailable for this read-only command");
13482
+ if (values["offline-catalog"] && !["check", "update", "setup", "onboard"].includes(command))
13483
+ throw new Error("--offline-catalog is available for setup, onboard, check and update");
13484
+ if ((command === "harnesses" || command === "catalog") && (values.pack || values.harness || values.directory))
13485
+ throw new Error(`${command} does not accept profile, harness or pack options`);
13433
13486
  if (command === "desk") {
13434
- if (values.pack || values.harness || values["offline-catalog"])
13487
+ if (values.pack || values.harness)
13435
13488
  throw new Error("desk uses its selected Hermes profile; pack options belong to setup or onboard");
13436
- const directory = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13489
+ const directory2 = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13437
13490
  const port = deskPort(values.port);
13438
13491
  if (values["dry-run"])
13439
- return console.log(`Would serve the local desk on 127.0.0.1:${port || "an available port"} using ${directory}; no model, data read or setup starts in this preview.`);
13440
- const catalog = parseCatalog(skills_default);
13441
- const nativeDashboard = createNativeDashboard(directory);
13492
+ return console.log(`Would serve the local desk on 127.0.0.1:${port || "an available port"} using ${directory2}; no model, data read or setup starts in this preview.`);
13493
+ const catalog2 = parseCatalog(skills_default);
13494
+ const nativeDashboard = createNativeDashboard(directory2);
13442
13495
  const desk = await startDesk({
13443
- directory,
13444
- catalog,
13496
+ directory: directory2,
13497
+ catalog: catalog2,
13445
13498
  port,
13446
13499
  assetsDirectory: deskAssetsDirectory(import.meta.url),
13447
13500
  onSetup: async (signal) => {
13448
- const selected = await deskSetupPacks(directory, catalog);
13501
+ const selected = await deskSetupPacks(directory2, catalog2);
13449
13502
  signal.throwIfAborted();
13450
13503
  const group = process.platform !== "win32";
13451
- const child = Bun.spawn([process.execPath, fileURLToPath2(import.meta.url), "setup", "--harness", "hermes", "--directory", directory, ...selected.flatMap((id) => ["--pack", id])], { stdin: "inherit", stdout: "inherit", stderr: "inherit", detached: group });
13504
+ const child = Bun.spawn([process.execPath, fileURLToPath2(import.meta.url), "setup", "--harness", "hermes", "--directory", directory2, ...selected.flatMap((id) => ["--pack", id])], { stdin: "inherit", stdout: "inherit", stderr: "inherit", detached: group });
13452
13505
  let termination;
13453
13506
  const abort = () => {
13454
13507
  termination ??= terminateOwnedProcess(child, group);
@@ -13468,13 +13521,13 @@ async function main() {
13468
13521
  }
13469
13522
  },
13470
13523
  onModelSetup: async (signal) => {
13471
- await prepareHermes(directory, { install: true, skipModelSetup: true, signal });
13524
+ await prepareHermes(directory2, { install: true, skipModelSetup: true, signal });
13472
13525
  signal.throwIfAborted();
13473
13526
  return nativeDashboard.open();
13474
13527
  }
13475
13528
  });
13476
13529
  console.log(`Boomkin desk: ${desk.url}
13477
- Profile: ${directory}
13530
+ Profile: ${directory2}
13478
13531
  Public jobs use bounded keyless reads. Native model research is optional. Stop with Ctrl-C.`);
13479
13532
  if (!values["no-open"]) {
13480
13533
  const opener = process.platform === "darwin" ? "open" : process.platform === "win32" ? undefined : Bun.which("xdg-open");
@@ -13496,7 +13549,7 @@ Public jobs use bounded keyless reads. Native model research is optional. Stop w
13496
13549
  const action = positionals[1];
13497
13550
  if (!action || !["create", "list", "show", "run", "check"].includes(action))
13498
13551
  throw new Error("Choose project create, list, show, run or check");
13499
- if (values.pack || values.harness || values["offline-catalog"])
13552
+ if (values.pack || values.harness)
13500
13553
  throw new Error("Project commands use the selected Hermes profile; pack options belong to onboard");
13501
13554
  if (action !== "create" && [values.workflow, values.template, values["input-file"], values.objective].some((value) => value !== undefined))
13502
13555
  throw new Error("--workflow, --template, --input-file and --objective are only available for project create");
@@ -13508,11 +13561,11 @@ Public jobs use bounded keyless reads. Native model research is optional. Stop w
13508
13561
  throw new Error("--dry-run is available for project create and run");
13509
13562
  if (action === "run" && values.json && !values["dry-run"])
13510
13563
  throw new Error("Live project run streams native Hermes output. Use --dry-run --json to preview, or project show/project check for saved JSON results");
13511
- const directory = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13564
+ const directory2 = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13512
13565
  if (action === "list") {
13513
13566
  if (values.name !== undefined)
13514
13567
  throw new Error("project list does not accept --name");
13515
- const projects = await listProjects(directory);
13568
+ const projects = await listProjects(directory2);
13516
13569
  return console.log(values.json ? JSON.stringify({ schemaVersion: 1, projects }, null, 2) : projects.length ? projects.map((project) => `${project.name}: ${project.workflow.title}`).join(`
13517
13570
  `) : "No saved projects. Use project create with a workflow and input file.");
13518
13571
  }
@@ -13525,26 +13578,26 @@ Public jobs use bounded keyless reads. Native model research is optional. Stop w
13525
13578
  if (file.size > 65536)
13526
13579
  throw new Error("Project input file exceeds 64 KiB");
13527
13580
  const supplied = await file.json();
13528
- const project = await createProject(directory, { name: values.name, workflow: values.template ? selectTemplate(values.template).workflow : values.workflow, inputs: values.template ? templateInputs(values.template, supplied) : supplied, objective: values.objective, dryRun: values["dry-run"] }, parseCatalog(skills_default));
13529
- return console.log(values.json ? JSON.stringify(project, null, 2) : `${values["dry-run"] ? "Would create" : "Saved"} ${project.name} in ${directory}. Preview with project run --name ${project.name} --dry-run.`);
13581
+ const project = await createProject(directory2, { name: values.name, workflow: values.template ? selectTemplate(values.template).workflow : values.workflow, inputs: values.template ? templateInputs(values.template, supplied) : supplied, objective: values.objective, dryRun: values["dry-run"] }, parseCatalog(skills_default));
13582
+ return console.log(values.json ? JSON.stringify(project, null, 2) : `${values["dry-run"] ? "Would create" : "Saved"} ${project.name} in ${directory2}. Preview with project run --name ${project.name} --dry-run.`);
13530
13583
  }
13531
13584
  if (action === "show")
13532
- return console.log(JSON.stringify({ project: await readProject(directory, values.name), runs: await projectRuns(directory, values.name) }, null, 2));
13585
+ return console.log(JSON.stringify({ project: await readProject(directory2, values.name), runs: await projectRuns(directory2, values.name) }, null, 2));
13533
13586
  if (action === "run") {
13534
- const result = await runProject(directory, values.name, { dryRun: values["dry-run"], maxTurns: values["max-turns"] === undefined ? undefined : Number(values["max-turns"]) });
13535
- return console.log(values.json ? JSON.stringify(result, null, 2) : values["dry-run"] ? result.prompt : `${result.run.state}: ${result.path}${result.run.issues?.length ? `
13536
- ${result.run.issues.join(`
13587
+ const result2 = await runProject(directory2, values.name, { dryRun: values["dry-run"], maxTurns: values["max-turns"] === undefined ? undefined : Number(values["max-turns"]) });
13588
+ return console.log(values.json ? JSON.stringify(result2, null, 2) : values["dry-run"] ? result2.prompt : `${result2.run.state}: ${result2.path}${result2.run.issues?.length ? `
13589
+ ${result2.run.issues.join(`
13537
13590
  `)}` : `
13538
13591
  Captured files passed structural and hash checks. Review the findings and unsigned plan.`}`);
13539
13592
  }
13540
- const result = await checkProjectRun(directory, values.name, values["run-id"]);
13593
+ const result = await checkProjectRun(directory2, values.name, values["run-id"]);
13541
13594
  console.log(JSON.stringify(result, null, 2));
13542
13595
  if (result.issues.length)
13543
13596
  process.exitCode = 1;
13544
13597
  return;
13545
13598
  }
13546
13599
  if (command === "templates") {
13547
- if (values.pack || values.harness || values.directory || values["offline-catalog"] || values.workflow)
13600
+ if (values.pack || values.harness || values.directory || values.workflow)
13548
13601
  throw new Error("templates accepts --template and --json");
13549
13602
  const selected = values.template !== undefined ? [selectTemplate(values.template)] : templates;
13550
13603
  return console.log(values.json ? JSON.stringify({ schemaVersion: 1, templates: selected }, null, 2) : selected.map(renderTemplate).join(`
@@ -13554,8 +13607,7 @@ Captured files passed structural and hash checks. Review the findings and unsign
13554
13607
  if (command === "workflows") {
13555
13608
  if (values.pack || values.harness || values.directory)
13556
13609
  throw new Error("workflows accepts --workflow, --protocol and --json");
13557
- const protocol = values.protocol?.toLowerCase();
13558
- const selected = values.workflow !== undefined ? [selectWorkflow(values.workflow)] : workflows.filter((item) => protocol === undefined || item.protocol.split(" / ").some((name) => name.toLowerCase() === protocol));
13610
+ const selected = values.workflow !== undefined ? [selectWorkflow(values.workflow)] : workflows.filter((item) => values.protocol === undefined || workflowMatchesProtocol(item, values.protocol));
13559
13611
  if (!selected.length)
13560
13612
  throw new Error("No matching protocol. Run workflows to list supported protocols.");
13561
13613
  return console.log(values.json ? JSON.stringify({ schemaVersion: 1, workflows: selected }, null, 2) : selected.map(renderWorkflow).join(`
@@ -13563,7 +13615,7 @@ Captured files passed structural and hash checks. Review the findings and unsign
13563
13615
  `));
13564
13616
  }
13565
13617
  if (command === "providers") {
13566
- if (values.pack || values.harness || values.directory || values["offline-catalog"])
13618
+ if (values.pack || values.harness || values.directory)
13567
13619
  throw new Error("providers accepts --provider, --search, --capability, --access and --json");
13568
13620
  if (values.provider !== undefined && [values.search, values.capability, values.access].some((value) => value !== undefined))
13569
13621
  throw new Error("Choose one --provider or discovery filters separately");
@@ -13574,7 +13626,7 @@ Captured files passed structural and hash checks. Review the findings and unsign
13574
13626
  if (["onboard", "doctor", "start", "connect", "model", "chatgpt"].includes(command)) {
13575
13627
  if (values.harness && values.harness !== "hermes")
13576
13628
  throw new Error("Boomkin onboarding uses Hermes. Use setup for skill-only compatibility with another harness.");
13577
- const directory = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13629
+ const directory2 = await canonicalPath(resolve8(values.directory ?? defaultProfile()));
13578
13630
  if (command === "onboard") {
13579
13631
  if (values.pack && values["all-packs"])
13580
13632
  throw new Error("Choose --pack or --all-packs, not both");
@@ -13586,36 +13638,36 @@ Captured files passed structural and hash checks. Review the findings and unsign
13586
13638
  "--harness",
13587
13639
  "hermes",
13588
13640
  "--directory",
13589
- directory,
13641
+ directory2,
13590
13642
  ...selected?.flatMap((id) => ["--pack", id]) ?? [],
13591
13643
  ...values["dry-run"] ? ["--dry-run"] : []
13592
13644
  ];
13593
13645
  const child = Bun.spawn(args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" });
13594
13646
  if (await child.exited !== 0)
13595
13647
  throw new Error("Skill setup did not finish. Resolve its reported issue and rerun onboard.");
13596
- console.log(`Hermes home: ${directory}. Native model setup and keyless CoinGecko data; other providers are opt-in.`);
13597
- await prepareHermes(directory, { install: !values["no-install"], dryRun: values["dry-run"], skipModelSetup: values["skip-model-setup"] });
13648
+ console.log(`Hermes home: ${directory2}. Native model setup and keyless CoinGecko data; other providers are opt-in.`);
13649
+ await prepareHermes(directory2, { install: !values["no-install"], dryRun: values["dry-run"], skipModelSetup: values["skip-model-setup"] });
13598
13650
  if (values["dry-run"])
13599
13651
  return;
13600
- console.log(JSON.stringify(await doctor(directory, parseCatalog(skills_default)), null, 2));
13652
+ console.log(JSON.stringify(await doctor(directory2, parseCatalog(skills_default)), null, 2));
13601
13653
  console.log("Onboarding saved. Use doctor --live to check public data, then start to launch Hermes. Complete any listed setup gaps first.");
13602
13654
  return;
13603
13655
  }
13604
13656
  if (values.pack || values["all-packs"] || values["skip-model-setup"] || values["no-install"])
13605
13657
  throw new Error("Pack and installer options are only available for onboard here");
13606
13658
  if (command === "chatgpt")
13607
- return runChatGpt(directory, values.action ?? "status", values["dry-run"]);
13659
+ return runChatGpt(directory2, values.action ?? "status", values["dry-run"]);
13608
13660
  if (command === "doctor")
13609
- return console.log(JSON.stringify(await doctor(directory, parseCatalog(skills_default), values.live), null, 2));
13661
+ return console.log(JSON.stringify(await doctor(directory2, parseCatalog(skills_default), values.live), null, 2));
13610
13662
  if (command === "connect")
13611
- return connectProvider(directory, values.provider ?? "", values["dry-run"], values["key-file"] ? resolve8(values["key-file"]) : undefined);
13663
+ return connectProvider(directory2, values.provider ?? "", values["dry-run"], values["key-file"] ? resolve8(values["key-file"]) : undefined);
13612
13664
  if (values["dry-run"])
13613
- return console.log(`Hermes ${command === "model" ? "setup model" : "chat"} in ${directory}`);
13614
- return runHermes(directory, command === "model" ? ["setup", "model"] : ["chat"]);
13665
+ return console.log(`Hermes ${command === "model" ? "setup model" : "chat"} in ${directory2}`);
13666
+ return runHermes(directory2, command === "model" ? ["setup", "model"] : ["chat"]);
13615
13667
  }
13616
13668
  if (command === "harnesses") {
13617
- for (const [name, h] of Object.entries(harnesses))
13618
- console.log(`${name}
13669
+ for (const [name2, h] of Object.entries(harnesses))
13670
+ console.log(`${name2}
13619
13671
  ${h.setup}
13620
13672
  ${h.docs}
13621
13673
  `);
@@ -13625,6 +13677,8 @@ Captured files passed structural and hash checks. Review the findings and unsign
13625
13677
  return console.log(JSON.stringify(parseCatalog(skills_default), null, 2));
13626
13678
  if (!["setup", "update", "check", "status"].includes(command))
13627
13679
  throw new Error(`Unknown command: ${command}`);
13680
+ if (values.harness && command !== "setup")
13681
+ throw new Error("--harness is available for setup");
13628
13682
  if (!values.directory)
13629
13683
  throw new Error("Pass --directory with your harness workspace (Hermes: its HERMES_HOME).");
13630
13684
  const directory = await canonicalPath(resolve8(values.directory));
@@ -13656,11 +13710,11 @@ Captured files passed structural and hash checks. Review the findings and unsign
13656
13710
  if (await child.exited !== 0)
13657
13711
  throw new Error("Upstream skills command failed. Completed packs remain installed; rerun after resolving the error.");
13658
13712
  }
13659
- async function verifyInstalled(catalog) {
13660
- for (const pack of catalog.packs) {
13713
+ async function verifyInstalled(catalog2) {
13714
+ for (const pack of catalog2.packs) {
13661
13715
  for (const skill of pack.skills) {
13662
- const text = await readFile7(join8(directory, adapter.skillsPath, skill, "SKILL.md"), "utf8");
13663
- const version = installedVersion(text);
13716
+ const text2 = await readFile7(join8(directory, adapter.skillsPath, skill, "SKILL.md"), "utf8");
13717
+ const version = installedVersion(text2);
13664
13718
  if (version !== pack.version)
13665
13719
  throw new Error(`Installed ${skill} has version ${version ?? "unknown"}; expected ${pack.version}. Sync not marked complete.`);
13666
13720
  }
@@ -13674,9 +13728,9 @@ ${adapter.setup}`);
13674
13728
  }
13675
13729
  let previous;
13676
13730
  try {
13677
- const record = JSON.parse(await readFile7(join8(stateDir, "last-sync.json"), "utf8"));
13678
- if (record.catalog?.schemaVersion === 3)
13679
- previous = parseCatalog(record.catalog);
13731
+ const record2 = JSON.parse(await readFile7(join8(stateDir, "last-sync.json"), "utf8"));
13732
+ if (record2.catalog?.schemaVersion === 3)
13733
+ previous = parseCatalog(record2.catalog);
13680
13734
  } catch (error) {
13681
13735
  if (error.code !== "ENOENT" && command === "check")
13682
13736
  throw new Error("Sync record is incomplete; run update to rebuild it.");