@ai-setting/roy-agent-cli 1.5.18 → 1.5.22

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/index.js CHANGED
@@ -245,7 +245,7 @@ var init_stream_output_service = __esm(() => {
245
245
  };
246
246
  });
247
247
 
248
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/identity.js
248
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
249
249
  var require_identity = __commonJS((exports) => {
250
250
  var ALIAS = Symbol.for("yaml.alias");
251
251
  var DOC = Symbol.for("yaml.document");
@@ -299,7 +299,7 @@ var require_identity = __commonJS((exports) => {
299
299
  exports.isSeq = isSeq;
300
300
  });
301
301
 
302
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/visit.js
302
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
303
303
  var require_visit = __commonJS((exports) => {
304
304
  var identity = require_identity();
305
305
  var BREAK = Symbol("break visit");
@@ -454,7 +454,7 @@ var require_visit = __commonJS((exports) => {
454
454
  exports.visitAsync = visitAsync;
455
455
  });
456
456
 
457
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/doc/directives.js
457
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
458
458
  var require_directives = __commonJS((exports) => {
459
459
  var identity = require_identity();
460
460
  var visit = require_visit();
@@ -606,7 +606,7 @@ var require_directives = __commonJS((exports) => {
606
606
  exports.Directives = Directives;
607
607
  });
608
608
 
609
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/doc/anchors.js
609
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
610
610
  var require_anchors = __commonJS((exports) => {
611
611
  var identity = require_identity();
612
612
  var visit = require_visit();
@@ -668,7 +668,7 @@ var require_anchors = __commonJS((exports) => {
668
668
  exports.findNewAnchor = findNewAnchor;
669
669
  });
670
670
 
671
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/doc/applyReviver.js
671
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
672
672
  var require_applyReviver = __commonJS((exports) => {
673
673
  function applyReviver(reviver, obj, key, val) {
674
674
  if (val && typeof val === "object") {
@@ -715,7 +715,7 @@ var require_applyReviver = __commonJS((exports) => {
715
715
  exports.applyReviver = applyReviver;
716
716
  });
717
717
 
718
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/toJS.js
718
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
719
719
  var require_toJS = __commonJS((exports) => {
720
720
  var identity = require_identity();
721
721
  function toJS(value, arg, ctx) {
@@ -742,7 +742,7 @@ var require_toJS = __commonJS((exports) => {
742
742
  exports.toJS = toJS;
743
743
  });
744
744
 
745
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/Node.js
745
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
746
746
  var require_Node = __commonJS((exports) => {
747
747
  var applyReviver = require_applyReviver();
748
748
  var identity = require_identity();
@@ -779,7 +779,7 @@ var require_Node = __commonJS((exports) => {
779
779
  exports.NodeBase = NodeBase;
780
780
  });
781
781
 
782
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/Alias.js
782
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
783
783
  var require_Alias = __commonJS((exports) => {
784
784
  var anchors = require_anchors();
785
785
  var visit = require_visit();
@@ -889,7 +889,7 @@ var require_Alias = __commonJS((exports) => {
889
889
  exports.Alias = Alias;
890
890
  });
891
891
 
892
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/Scalar.js
892
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
893
893
  var require_Scalar = __commonJS((exports) => {
894
894
  var identity = require_identity();
895
895
  var Node = require_Node();
@@ -917,7 +917,7 @@ var require_Scalar = __commonJS((exports) => {
917
917
  exports.isScalarValue = isScalarValue;
918
918
  });
919
919
 
920
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/doc/createNode.js
920
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
921
921
  var require_createNode = __commonJS((exports) => {
922
922
  var Alias = require_Alias();
923
923
  var identity = require_identity();
@@ -989,7 +989,7 @@ var require_createNode = __commonJS((exports) => {
989
989
  exports.createNode = createNode;
990
990
  });
991
991
 
992
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/Collection.js
992
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
993
993
  var require_Collection = __commonJS((exports) => {
994
994
  var createNode = require_createNode();
995
995
  var identity = require_identity();
@@ -1104,7 +1104,7 @@ var require_Collection = __commonJS((exports) => {
1104
1104
  exports.isEmptyPath = isEmptyPath;
1105
1105
  });
1106
1106
 
1107
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyComment.js
1107
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
1108
1108
  var require_stringifyComment = __commonJS((exports) => {
1109
1109
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
1110
1110
  function indentComment(comment, indent) {
@@ -1121,7 +1121,7 @@ var require_stringifyComment = __commonJS((exports) => {
1121
1121
  exports.stringifyComment = stringifyComment;
1122
1122
  });
1123
1123
 
1124
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/foldFlowLines.js
1124
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
1125
1125
  var require_foldFlowLines = __commonJS((exports) => {
1126
1126
  var FOLD_FLOW = "flow";
1127
1127
  var FOLD_BLOCK = "block";
@@ -1258,7 +1258,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
1258
1258
  exports.foldFlowLines = foldFlowLines;
1259
1259
  });
1260
1260
 
1261
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyString.js
1261
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1262
1262
  var require_stringifyString = __commonJS((exports) => {
1263
1263
  var Scalar = require_Scalar();
1264
1264
  var foldFlowLines = require_foldFlowLines();
@@ -1556,7 +1556,7 @@ ${indent}`);
1556
1556
  exports.stringifyString = stringifyString;
1557
1557
  });
1558
1558
 
1559
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringify.js
1559
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1560
1560
  var require_stringify = __commonJS((exports) => {
1561
1561
  var anchors = require_anchors();
1562
1562
  var identity = require_identity();
@@ -1677,7 +1677,7 @@ ${ctx.indent}${str}`;
1677
1677
  exports.stringify = stringify;
1678
1678
  });
1679
1679
 
1680
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyPair.js
1680
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1681
1681
  var require_stringifyPair = __commonJS((exports) => {
1682
1682
  var identity = require_identity();
1683
1683
  var Scalar = require_Scalar();
@@ -1813,7 +1813,7 @@ ${ctx.indent}`;
1813
1813
  exports.stringifyPair = stringifyPair;
1814
1814
  });
1815
1815
 
1816
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/log.js
1816
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
1817
1817
  var require_log = __commonJS((exports) => {
1818
1818
  var node_process = __require("process");
1819
1819
  function debug(logLevel, ...messages) {
@@ -1832,7 +1832,7 @@ var require_log = __commonJS((exports) => {
1832
1832
  exports.warn = warn;
1833
1833
  });
1834
1834
 
1835
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1835
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1836
1836
  var require_merge = __commonJS((exports) => {
1837
1837
  var identity = require_identity();
1838
1838
  var Scalar = require_Scalar();
@@ -1889,7 +1889,7 @@ var require_merge = __commonJS((exports) => {
1889
1889
  exports.merge = merge;
1890
1890
  });
1891
1891
 
1892
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/addPairToJSMap.js
1892
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1893
1893
  var require_addPairToJSMap = __commonJS((exports) => {
1894
1894
  var log = require_log();
1895
1895
  var merge = require_merge();
@@ -1950,7 +1950,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
1950
1950
  exports.addPairToJSMap = addPairToJSMap;
1951
1951
  });
1952
1952
 
1953
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/Pair.js
1953
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1954
1954
  var require_Pair = __commonJS((exports) => {
1955
1955
  var createNode = require_createNode();
1956
1956
  var stringifyPair = require_stringifyPair();
@@ -1988,7 +1988,7 @@ var require_Pair = __commonJS((exports) => {
1988
1988
  exports.createPair = createPair;
1989
1989
  });
1990
1990
 
1991
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyCollection.js
1991
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1992
1992
  var require_stringifyCollection = __commonJS((exports) => {
1993
1993
  var identity = require_identity();
1994
1994
  var stringify = require_stringify();
@@ -2140,7 +2140,7 @@ ${indent}${end}`;
2140
2140
  exports.stringifyCollection = stringifyCollection;
2141
2141
  });
2142
2142
 
2143
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLMap.js
2143
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
2144
2144
  var require_YAMLMap = __commonJS((exports) => {
2145
2145
  var stringifyCollection = require_stringifyCollection();
2146
2146
  var addPairToJSMap = require_addPairToJSMap();
@@ -2267,7 +2267,7 @@ var require_YAMLMap = __commonJS((exports) => {
2267
2267
  exports.findPair = findPair;
2268
2268
  });
2269
2269
 
2270
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/common/map.js
2270
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
2271
2271
  var require_map = __commonJS((exports) => {
2272
2272
  var identity = require_identity();
2273
2273
  var YAMLMap = require_YAMLMap();
@@ -2286,7 +2286,7 @@ var require_map = __commonJS((exports) => {
2286
2286
  exports.map = map;
2287
2287
  });
2288
2288
 
2289
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/nodes/YAMLSeq.js
2289
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
2290
2290
  var require_YAMLSeq = __commonJS((exports) => {
2291
2291
  var createNode = require_createNode();
2292
2292
  var stringifyCollection = require_stringifyCollection();
@@ -2379,7 +2379,7 @@ var require_YAMLSeq = __commonJS((exports) => {
2379
2379
  exports.YAMLSeq = YAMLSeq;
2380
2380
  });
2381
2381
 
2382
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/common/seq.js
2382
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
2383
2383
  var require_seq = __commonJS((exports) => {
2384
2384
  var identity = require_identity();
2385
2385
  var YAMLSeq = require_YAMLSeq();
@@ -2398,7 +2398,7 @@ var require_seq = __commonJS((exports) => {
2398
2398
  exports.seq = seq;
2399
2399
  });
2400
2400
 
2401
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/common/string.js
2401
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
2402
2402
  var require_string = __commonJS((exports) => {
2403
2403
  var stringifyString = require_stringifyString();
2404
2404
  var string = {
@@ -2414,7 +2414,7 @@ var require_string = __commonJS((exports) => {
2414
2414
  exports.string = string;
2415
2415
  });
2416
2416
 
2417
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/common/null.js
2417
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
2418
2418
  var require_null = __commonJS((exports) => {
2419
2419
  var Scalar = require_Scalar();
2420
2420
  var nullTag = {
@@ -2429,7 +2429,7 @@ var require_null = __commonJS((exports) => {
2429
2429
  exports.nullTag = nullTag;
2430
2430
  });
2431
2431
 
2432
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/core/bool.js
2432
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
2433
2433
  var require_bool = __commonJS((exports) => {
2434
2434
  var Scalar = require_Scalar();
2435
2435
  var boolTag = {
@@ -2450,7 +2450,7 @@ var require_bool = __commonJS((exports) => {
2450
2450
  exports.boolTag = boolTag;
2451
2451
  });
2452
2452
 
2453
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyNumber.js
2453
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2454
2454
  var require_stringifyNumber = __commonJS((exports) => {
2455
2455
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2456
2456
  if (typeof value === "bigint")
@@ -2474,7 +2474,7 @@ var require_stringifyNumber = __commonJS((exports) => {
2474
2474
  exports.stringifyNumber = stringifyNumber;
2475
2475
  });
2476
2476
 
2477
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/core/float.js
2477
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2478
2478
  var require_float = __commonJS((exports) => {
2479
2479
  var Scalar = require_Scalar();
2480
2480
  var stringifyNumber = require_stringifyNumber();
@@ -2517,7 +2517,7 @@ var require_float = __commonJS((exports) => {
2517
2517
  exports.floatNaN = floatNaN;
2518
2518
  });
2519
2519
 
2520
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/core/int.js
2520
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2521
2521
  var require_int = __commonJS((exports) => {
2522
2522
  var stringifyNumber = require_stringifyNumber();
2523
2523
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2559,7 +2559,7 @@ var require_int = __commonJS((exports) => {
2559
2559
  exports.intOct = intOct;
2560
2560
  });
2561
2561
 
2562
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/core/schema.js
2562
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2563
2563
  var require_schema = __commonJS((exports) => {
2564
2564
  var map = require_map();
2565
2565
  var _null = require_null();
@@ -2584,7 +2584,7 @@ var require_schema = __commonJS((exports) => {
2584
2584
  exports.schema = schema;
2585
2585
  });
2586
2586
 
2587
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/json/schema.js
2587
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2588
2588
  var require_schema2 = __commonJS((exports) => {
2589
2589
  var Scalar = require_Scalar();
2590
2590
  var map = require_map();
@@ -2648,7 +2648,7 @@ var require_schema2 = __commonJS((exports) => {
2648
2648
  exports.schema = schema;
2649
2649
  });
2650
2650
 
2651
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2651
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2652
2652
  var require_binary = __commonJS((exports) => {
2653
2653
  var node_buffer = __require("buffer");
2654
2654
  var Scalar = require_Scalar();
@@ -2703,7 +2703,7 @@ var require_binary = __commonJS((exports) => {
2703
2703
  exports.binary = binary;
2704
2704
  });
2705
2705
 
2706
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2706
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2707
2707
  var require_pairs = __commonJS((exports) => {
2708
2708
  var identity = require_identity();
2709
2709
  var Pair = require_Pair();
@@ -2778,7 +2778,7 @@ ${cn.comment}` : item.comment;
2778
2778
  exports.resolvePairs = resolvePairs;
2779
2779
  });
2780
2780
 
2781
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2781
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2782
2782
  var require_omap = __commonJS((exports) => {
2783
2783
  var identity = require_identity();
2784
2784
  var toJS = require_toJS();
@@ -2850,7 +2850,7 @@ var require_omap = __commonJS((exports) => {
2850
2850
  exports.omap = omap;
2851
2851
  });
2852
2852
 
2853
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2853
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2854
2854
  var require_bool2 = __commonJS((exports) => {
2855
2855
  var Scalar = require_Scalar();
2856
2856
  function boolStringify({ value, source }, ctx) {
@@ -2879,7 +2879,7 @@ var require_bool2 = __commonJS((exports) => {
2879
2879
  exports.trueTag = trueTag;
2880
2880
  });
2881
2881
 
2882
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/float.js
2882
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2883
2883
  var require_float2 = __commonJS((exports) => {
2884
2884
  var Scalar = require_Scalar();
2885
2885
  var stringifyNumber = require_stringifyNumber();
@@ -2925,7 +2925,7 @@ var require_float2 = __commonJS((exports) => {
2925
2925
  exports.floatNaN = floatNaN;
2926
2926
  });
2927
2927
 
2928
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/int.js
2928
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2929
2929
  var require_int2 = __commonJS((exports) => {
2930
2930
  var stringifyNumber = require_stringifyNumber();
2931
2931
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -3001,7 +3001,7 @@ var require_int2 = __commonJS((exports) => {
3001
3001
  exports.intOct = intOct;
3002
3002
  });
3003
3003
 
3004
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/set.js
3004
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
3005
3005
  var require_set = __commonJS((exports) => {
3006
3006
  var identity = require_identity();
3007
3007
  var Pair = require_Pair();
@@ -3084,7 +3084,7 @@ var require_set = __commonJS((exports) => {
3084
3084
  exports.set = set;
3085
3085
  });
3086
3086
 
3087
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
3087
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
3088
3088
  var require_timestamp = __commonJS((exports) => {
3089
3089
  var stringifyNumber = require_stringifyNumber();
3090
3090
  function parseSexagesimal(str, asBigInt) {
@@ -3166,7 +3166,7 @@ var require_timestamp = __commonJS((exports) => {
3166
3166
  exports.timestamp = timestamp;
3167
3167
  });
3168
3168
 
3169
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/yaml-1.1/schema.js
3169
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
3170
3170
  var require_schema3 = __commonJS((exports) => {
3171
3171
  var map = require_map();
3172
3172
  var _null = require_null();
@@ -3207,7 +3207,7 @@ var require_schema3 = __commonJS((exports) => {
3207
3207
  exports.schema = schema;
3208
3208
  });
3209
3209
 
3210
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/tags.js
3210
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
3211
3211
  var require_tags = __commonJS((exports) => {
3212
3212
  var map = require_map();
3213
3213
  var _null = require_null();
@@ -3298,7 +3298,7 @@ var require_tags = __commonJS((exports) => {
3298
3298
  exports.getTags = getTags;
3299
3299
  });
3300
3300
 
3301
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/schema/Schema.js
3301
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
3302
3302
  var require_Schema = __commonJS((exports) => {
3303
3303
  var identity = require_identity();
3304
3304
  var map = require_map();
@@ -3328,7 +3328,7 @@ var require_Schema = __commonJS((exports) => {
3328
3328
  exports.Schema = Schema;
3329
3329
  });
3330
3330
 
3331
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/stringify/stringifyDocument.js
3331
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
3332
3332
  var require_stringifyDocument = __commonJS((exports) => {
3333
3333
  var identity = require_identity();
3334
3334
  var stringify = require_stringify();
@@ -3408,7 +3408,7 @@ var require_stringifyDocument = __commonJS((exports) => {
3408
3408
  exports.stringifyDocument = stringifyDocument;
3409
3409
  });
3410
3410
 
3411
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/doc/Document.js
3411
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
3412
3412
  var require_Document = __commonJS((exports) => {
3413
3413
  var Alias = require_Alias();
3414
3414
  var Collection = require_Collection();
@@ -3643,7 +3643,7 @@ var require_Document = __commonJS((exports) => {
3643
3643
  exports.Document = Document;
3644
3644
  });
3645
3645
 
3646
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/errors.js
3646
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
3647
3647
  var require_errors = __commonJS((exports) => {
3648
3648
  class YAMLError extends Error {
3649
3649
  constructor(name, pos, code, message) {
@@ -3708,7 +3708,7 @@ ${pointer}
3708
3708
  exports.prettifyError = prettifyError;
3709
3709
  });
3710
3710
 
3711
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-props.js
3711
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3712
3712
  var require_resolve_props = __commonJS((exports) => {
3713
3713
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3714
3714
  let spaceBefore = false;
@@ -3838,7 +3838,7 @@ var require_resolve_props = __commonJS((exports) => {
3838
3838
  exports.resolveProps = resolveProps;
3839
3839
  });
3840
3840
 
3841
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/util-contains-newline.js
3841
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3842
3842
  var require_util_contains_newline = __commonJS((exports) => {
3843
3843
  function containsNewline(key) {
3844
3844
  if (!key)
@@ -3878,7 +3878,7 @@ var require_util_contains_newline = __commonJS((exports) => {
3878
3878
  exports.containsNewline = containsNewline;
3879
3879
  });
3880
3880
 
3881
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/util-flow-indent-check.js
3881
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3882
3882
  var require_util_flow_indent_check = __commonJS((exports) => {
3883
3883
  var utilContainsNewline = require_util_contains_newline();
3884
3884
  function flowIndentCheck(indent, fc, onError) {
@@ -3893,7 +3893,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
3893
3893
  exports.flowIndentCheck = flowIndentCheck;
3894
3894
  });
3895
3895
 
3896
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/util-map-includes.js
3896
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3897
3897
  var require_util_map_includes = __commonJS((exports) => {
3898
3898
  var identity = require_identity();
3899
3899
  function mapIncludes(ctx, items, search) {
@@ -3906,7 +3906,7 @@ var require_util_map_includes = __commonJS((exports) => {
3906
3906
  exports.mapIncludes = mapIncludes;
3907
3907
  });
3908
3908
 
3909
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-block-map.js
3909
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3910
3910
  var require_resolve_block_map = __commonJS((exports) => {
3911
3911
  var Pair = require_Pair();
3912
3912
  var YAMLMap = require_YAMLMap();
@@ -4013,7 +4013,7 @@ var require_resolve_block_map = __commonJS((exports) => {
4013
4013
  exports.resolveBlockMap = resolveBlockMap;
4014
4014
  });
4015
4015
 
4016
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-block-seq.js
4016
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
4017
4017
  var require_resolve_block_seq = __commonJS((exports) => {
4018
4018
  var YAMLSeq = require_YAMLSeq();
4019
4019
  var resolveProps = require_resolve_props();
@@ -4061,7 +4061,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
4061
4061
  exports.resolveBlockSeq = resolveBlockSeq;
4062
4062
  });
4063
4063
 
4064
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-end.js
4064
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
4065
4065
  var require_resolve_end = __commonJS((exports) => {
4066
4066
  function resolveEnd(end, offset, reqSpace, onError) {
4067
4067
  let comment = "";
@@ -4101,7 +4101,7 @@ var require_resolve_end = __commonJS((exports) => {
4101
4101
  exports.resolveEnd = resolveEnd;
4102
4102
  });
4103
4103
 
4104
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-flow-collection.js
4104
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
4105
4105
  var require_resolve_flow_collection = __commonJS((exports) => {
4106
4106
  var identity = require_identity();
4107
4107
  var Pair = require_Pair();
@@ -4292,7 +4292,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
4292
4292
  exports.resolveFlowCollection = resolveFlowCollection;
4293
4293
  });
4294
4294
 
4295
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/compose-collection.js
4295
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
4296
4296
  var require_compose_collection = __commonJS((exports) => {
4297
4297
  var identity = require_identity();
4298
4298
  var Scalar = require_Scalar();
@@ -4354,7 +4354,7 @@ var require_compose_collection = __commonJS((exports) => {
4354
4354
  exports.composeCollection = composeCollection;
4355
4355
  });
4356
4356
 
4357
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-block-scalar.js
4357
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
4358
4358
  var require_resolve_block_scalar = __commonJS((exports) => {
4359
4359
  var Scalar = require_Scalar();
4360
4360
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -4547,7 +4547,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
4547
4547
  exports.resolveBlockScalar = resolveBlockScalar;
4548
4548
  });
4549
4549
 
4550
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4550
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4551
4551
  var require_resolve_flow_scalar = __commonJS((exports) => {
4552
4552
  var Scalar = require_Scalar();
4553
4553
  var resolveEnd = require_resolve_end();
@@ -4764,7 +4764,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
4764
4764
  exports.resolveFlowScalar = resolveFlowScalar;
4765
4765
  });
4766
4766
 
4767
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/compose-scalar.js
4767
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4768
4768
  var require_compose_scalar = __commonJS((exports) => {
4769
4769
  var identity = require_identity();
4770
4770
  var Scalar = require_Scalar();
@@ -4842,7 +4842,7 @@ var require_compose_scalar = __commonJS((exports) => {
4842
4842
  exports.composeScalar = composeScalar;
4843
4843
  });
4844
4844
 
4845
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4845
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4846
4846
  var require_util_empty_scalar_position = __commonJS((exports) => {
4847
4847
  function emptyScalarPosition(offset, before, pos) {
4848
4848
  if (before) {
@@ -4869,7 +4869,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
4869
4869
  exports.emptyScalarPosition = emptyScalarPosition;
4870
4870
  });
4871
4871
 
4872
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/compose-node.js
4872
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4873
4873
  var require_compose_node = __commonJS((exports) => {
4874
4874
  var Alias = require_Alias();
4875
4875
  var identity = require_identity();
@@ -4972,7 +4972,7 @@ var require_compose_node = __commonJS((exports) => {
4972
4972
  exports.composeNode = composeNode;
4973
4973
  });
4974
4974
 
4975
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/compose-doc.js
4975
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4976
4976
  var require_compose_doc = __commonJS((exports) => {
4977
4977
  var Document = require_Document();
4978
4978
  var composeNode = require_compose_node();
@@ -5012,7 +5012,7 @@ var require_compose_doc = __commonJS((exports) => {
5012
5012
  exports.composeDoc = composeDoc;
5013
5013
  });
5014
5014
 
5015
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/compose/composer.js
5015
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
5016
5016
  var require_composer = __commonJS((exports) => {
5017
5017
  var node_process = __require("process");
5018
5018
  var directives = require_directives();
@@ -5098,8 +5098,10 @@ ${cb}` : comment;
5098
5098
  }
5099
5099
  }
5100
5100
  if (afterDoc) {
5101
- Array.prototype.push.apply(doc.errors, this.errors);
5102
- Array.prototype.push.apply(doc.warnings, this.warnings);
5101
+ for (let i = 0;i < this.errors.length; ++i)
5102
+ doc.errors.push(this.errors[i]);
5103
+ for (let i = 0;i < this.warnings.length; ++i)
5104
+ doc.warnings.push(this.warnings[i]);
5103
5105
  } else {
5104
5106
  doc.errors = this.errors;
5105
5107
  doc.warnings = this.warnings;
@@ -5201,7 +5203,7 @@ ${end.comment}` : end.comment;
5201
5203
  exports.Composer = Composer;
5202
5204
  });
5203
5205
 
5204
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-scalar.js
5206
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
5205
5207
  var require_cst_scalar = __commonJS((exports) => {
5206
5208
  var resolveBlockScalar = require_resolve_block_scalar();
5207
5209
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5391,7 +5393,7 @@ var require_cst_scalar = __commonJS((exports) => {
5391
5393
  exports.setScalarValue = setScalarValue;
5392
5394
  });
5393
5395
 
5394
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-stringify.js
5396
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
5395
5397
  var require_cst_stringify = __commonJS((exports) => {
5396
5398
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5397
5399
  function stringifyToken(token) {
@@ -5449,7 +5451,7 @@ var require_cst_stringify = __commonJS((exports) => {
5449
5451
  exports.stringify = stringify;
5450
5452
  });
5451
5453
 
5452
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-visit.js
5454
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
5453
5455
  var require_cst_visit = __commonJS((exports) => {
5454
5456
  var BREAK = Symbol("break visit");
5455
5457
  var SKIP = Symbol("skip children");
@@ -5508,7 +5510,7 @@ var require_cst_visit = __commonJS((exports) => {
5508
5510
  exports.visit = visit;
5509
5511
  });
5510
5512
 
5511
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst.js
5513
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
5512
5514
  var require_cst = __commonJS((exports) => {
5513
5515
  var cstScalar = require_cst_scalar();
5514
5516
  var cstStringify = require_cst_stringify();
@@ -5609,7 +5611,7 @@ var require_cst = __commonJS((exports) => {
5609
5611
  exports.tokenType = tokenType;
5610
5612
  });
5611
5613
 
5612
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/lexer.js
5614
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5613
5615
  var require_lexer = __commonJS((exports) => {
5614
5616
  var cst = require_cst();
5615
5617
  function isEmpty(ch) {
@@ -5811,7 +5813,7 @@ var require_lexer = __commonJS((exports) => {
5811
5813
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
5812
5814
  this.indentNext = this.indentValue + 1;
5813
5815
  this.indentValue += n;
5814
- return yield* this.parseBlockStart();
5816
+ return "block-start";
5815
5817
  }
5816
5818
  return "doc";
5817
5819
  }
@@ -6118,26 +6120,37 @@ var require_lexer = __commonJS((exports) => {
6118
6120
  return 0;
6119
6121
  }
6120
6122
  *pushIndicators() {
6121
- switch (this.charAt(0)) {
6122
- case "!":
6123
- return (yield* this.pushTag()) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6124
- case "&":
6125
- return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6126
- case "-":
6127
- case "?":
6128
- case ":": {
6129
- const inFlow = this.flowLevel > 0;
6130
- const ch1 = this.charAt(1);
6131
- if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
6132
- if (!inFlow)
6133
- this.indentNext = this.indentValue + 1;
6134
- else if (this.flowKey)
6135
- this.flowKey = false;
6136
- return (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6123
+ let n = 0;
6124
+ loop:
6125
+ while (true) {
6126
+ switch (this.charAt(0)) {
6127
+ case "!":
6128
+ n += yield* this.pushTag();
6129
+ n += yield* this.pushSpaces(true);
6130
+ continue loop;
6131
+ case "&":
6132
+ n += yield* this.pushUntil(isNotAnchorChar);
6133
+ n += yield* this.pushSpaces(true);
6134
+ continue loop;
6135
+ case "-":
6136
+ case "?":
6137
+ case ":": {
6138
+ const inFlow = this.flowLevel > 0;
6139
+ const ch1 = this.charAt(1);
6140
+ if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
6141
+ if (!inFlow)
6142
+ this.indentNext = this.indentValue + 1;
6143
+ else if (this.flowKey)
6144
+ this.flowKey = false;
6145
+ n += yield* this.pushCount(1);
6146
+ n += yield* this.pushSpaces(true);
6147
+ continue loop;
6148
+ }
6149
+ }
6137
6150
  }
6151
+ break loop;
6138
6152
  }
6139
- }
6140
- return 0;
6153
+ return n;
6141
6154
  }
6142
6155
  *pushTag() {
6143
6156
  if (this.charAt(1) === "<") {
@@ -6195,7 +6208,7 @@ var require_lexer = __commonJS((exports) => {
6195
6208
  exports.Lexer = Lexer;
6196
6209
  });
6197
6210
 
6198
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/line-counter.js
6211
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
6199
6212
  var require_line_counter = __commonJS((exports) => {
6200
6213
  class LineCounter {
6201
6214
  constructor() {
@@ -6223,7 +6236,7 @@ var require_line_counter = __commonJS((exports) => {
6223
6236
  exports.LineCounter = LineCounter;
6224
6237
  });
6225
6238
 
6226
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/parser.js
6239
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
6227
6240
  var require_parser = __commonJS((exports) => {
6228
6241
  var node_process = __require("process");
6229
6242
  var cst = require_cst();
@@ -6291,6 +6304,13 @@ var require_parser = __commonJS((exports) => {
6291
6304
  while (prev[++i]?.type === "space") {}
6292
6305
  return prev.splice(i, prev.length);
6293
6306
  }
6307
+ function arrayPushArray(target, source) {
6308
+ if (source.length < 1e5)
6309
+ Array.prototype.push.apply(target, source);
6310
+ else
6311
+ for (let i = 0;i < source.length; ++i)
6312
+ target.push(source[i]);
6313
+ }
6294
6314
  function fixFlowSeqItems(fc) {
6295
6315
  if (fc.start.type === "flow-seq-start") {
6296
6316
  for (const it of fc.items) {
@@ -6300,11 +6320,11 @@ var require_parser = __commonJS((exports) => {
6300
6320
  delete it.key;
6301
6321
  if (isFlowToken(it.value)) {
6302
6322
  if (it.value.end)
6303
- Array.prototype.push.apply(it.value.end, it.sep);
6323
+ arrayPushArray(it.value.end, it.sep);
6304
6324
  else
6305
6325
  it.value.end = it.sep;
6306
6326
  } else
6307
- Array.prototype.push.apply(it.start, it.sep);
6327
+ arrayPushArray(it.start, it.sep);
6308
6328
  delete it.sep;
6309
6329
  }
6310
6330
  }
@@ -6644,7 +6664,7 @@ var require_parser = __commonJS((exports) => {
6644
6664
  const prev = map.items[map.items.length - 2];
6645
6665
  const end = prev?.value?.end;
6646
6666
  if (Array.isArray(end)) {
6647
- Array.prototype.push.apply(end, it.start);
6667
+ arrayPushArray(end, it.start);
6648
6668
  end.push(this.sourceToken);
6649
6669
  map.items.pop();
6650
6670
  return;
@@ -6832,7 +6852,7 @@ var require_parser = __commonJS((exports) => {
6832
6852
  const prev = seq.items[seq.items.length - 2];
6833
6853
  const end = prev?.value?.end;
6834
6854
  if (Array.isArray(end)) {
6835
- Array.prototype.push.apply(end, it.start);
6855
+ arrayPushArray(end, it.start);
6836
6856
  end.push(this.sourceToken);
6837
6857
  seq.items.pop();
6838
6858
  return;
@@ -7072,7 +7092,7 @@ var require_parser = __commonJS((exports) => {
7072
7092
  exports.Parser = Parser;
7073
7093
  });
7074
7094
 
7075
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/public-api.js
7095
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
7076
7096
  var require_public_api = __commonJS((exports) => {
7077
7097
  var composer = require_composer();
7078
7098
  var Document = require_Document();
@@ -7166,7 +7186,7 @@ var require_public_api = __commonJS((exports) => {
7166
7186
  exports.stringify = stringify;
7167
7187
  });
7168
7188
 
7169
- // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/index.js
7189
+ // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
7170
7190
  var require_dist = __commonJS((exports) => {
7171
7191
  var composer = require_composer();
7172
7192
  var Document = require_Document();
@@ -7219,7 +7239,7 @@ var require_dist = __commonJS((exports) => {
7219
7239
  var require_package = __commonJS((exports, module) => {
7220
7240
  module.exports = {
7221
7241
  name: "@ai-setting/roy-agent-cli",
7222
- version: "1.5.18",
7242
+ version: "1.5.22",
7223
7243
  type: "module",
7224
7244
  description: "CLI for roy-agent - Non-interactive command execution",
7225
7245
  main: "./dist/index.js",
@@ -7245,8 +7265,8 @@ var require_package = __commonJS((exports, module) => {
7245
7265
  typecheck: "npx tsc --noEmit --skipLibCheck"
7246
7266
  },
7247
7267
  dependencies: {
7248
- "@ai-setting/roy-agent-coder-harness": "workspace:*",
7249
- "@ai-setting/roy-agent-core": "workspace:*",
7268
+ "@ai-setting/roy-agent-coder-harness": "1.5.22",
7269
+ "@ai-setting/roy-agent-core": "1.5.22",
7250
7270
  chalk: "^5.6.2",
7251
7271
  commander: "^14.0.3",
7252
7272
  pyright: "^1.1.409",
@@ -7309,11 +7329,6 @@ class CliQuietModeService {
7309
7329
  setQuiet(value) {
7310
7330
  setCoreQuietMode(value);
7311
7331
  }
7312
- setQuietFromArgv(argv) {
7313
- if (argv.quiet === true) {
7314
- this.setQuiet(true);
7315
- }
7316
- }
7317
7332
  isQuiet() {
7318
7333
  return isCoreQuietMode();
7319
7334
  }
@@ -7345,6 +7360,7 @@ import {
7345
7360
  import { WorkflowComponent } from "@ai-setting/roy-agent-core";
7346
7361
  import { MemoryPlugin } from "@ai-setting/roy-agent-core";
7347
7362
  import { createLogger } from "@ai-setting/roy-agent-core";
7363
+ import { globalHookManager } from "@ai-setting/roy-agent-core";
7348
7364
 
7349
7365
  // src/services/output.service.ts
7350
7366
  import chalk from "chalk";
@@ -7835,20 +7851,23 @@ class EnvironmentService {
7835
7851
  return env;
7836
7852
  }
7837
7853
  registerCommandsPromptHook(promptComponent, commandsComponent) {
7838
- promptComponent.addHook("prompt.after-render", "commands-prompt", async (ctx) => {
7839
- const data = ctx.data;
7840
- if (data.name !== "default")
7841
- return;
7842
- try {
7843
- const metaList = await commandsComponent.getCommandsMeta();
7844
- if (metaList.length === 0)
7854
+ globalHookManager.register("prompt.after-render", {
7855
+ name: "commands-prompt",
7856
+ execute: async (ctx) => {
7857
+ const hookCtx = ctx.data;
7858
+ if (hookCtx?.name !== "default")
7845
7859
  return;
7846
- const commandsSection = this.renderCommandsSection(metaList);
7847
- data.renderedContent += `
7860
+ try {
7861
+ const metaList = await commandsComponent.getCommandsMeta();
7862
+ if (metaList.length === 0)
7863
+ return;
7864
+ const commandsSection = this.renderCommandsSection(metaList);
7865
+ hookCtx.renderedContent += `
7848
7866
 
7849
7867
  ` + commandsSection;
7850
- } catch (error) {
7851
- this.output.error(`Failed to inject commands into prompt: ${error}`);
7868
+ } catch (error) {
7869
+ this.output.error(`Failed to inject commands into prompt: ${error}`);
7870
+ }
7852
7871
  }
7853
7872
  });
7854
7873
  this.output.info("Registered commands-prompt Hook");
@@ -7893,7 +7912,7 @@ Progressive Discovery: Run \`<command> --help\` to explore full capabilities.`;
7893
7912
  }
7894
7913
  async loadCoderPlugins(pluginNames) {
7895
7914
  const { createPluginHookAdapter } = await import("@ai-setting/roy-agent-coder-harness");
7896
- const { globalHookManager } = await import("@ai-setting/roy-agent-core");
7915
+ const { globalHookManager: globalHookManager2 } = await import("@ai-setting/roy-agent-core");
7897
7916
  const pluginConfigs = {
7898
7917
  enableLSP: pluginNames.includes("lsp"),
7899
7918
  enableCodeCheck: pluginNames.includes("code-check"),
@@ -7902,7 +7921,7 @@ Progressive Discovery: Run \`<command> --help\` to explore full capabilities.`;
7902
7921
  if (!pluginConfigs.enableLSP && !pluginConfigs.enableCodeCheck && !pluginConfigs.enableReminder) {
7903
7922
  return;
7904
7923
  }
7905
- const hookManager = globalHookManager;
7924
+ const hookManager = globalHookManager2;
7906
7925
  const adapter = createPluginHookAdapter(hookManager, pluginConfigs);
7907
7926
  await adapter.initialize();
7908
7927
  this.output.log(`[EnvironmentService] Loaded coder plugins: ${pluginNames.join(", ")}`);
@@ -8280,8 +8299,7 @@ var ActCommand = {
8280
8299
  describe: "配置文件路径",
8281
8300
  type: "string"
8282
8301
  }).option("quiet", {
8283
- alias: "q",
8284
- describe: "安静模式:只输出最终结果(默认开启)",
8302
+ describe: "安静模式(默认开启)",
8285
8303
  type: "boolean",
8286
8304
  default: true
8287
8305
  }).option("reasoning", {
@@ -8406,9 +8424,9 @@ var ActCommand = {
8406
8424
  }
8407
8425
  if (coderPluginNames.length > 0) {
8408
8426
  try {
8409
- const { globalHookManager } = await import("@ai-setting/roy-agent-core");
8427
+ const { globalHookManager: globalHookManager2 } = await import("@ai-setting/roy-agent-core");
8410
8428
  const { createPluginHookAdapter, createGlobalLSPManager } = await import("@ai-setting/roy-agent-coder-harness");
8411
- const adapter = createPluginHookAdapter(globalHookManager, {
8429
+ const adapter = createPluginHookAdapter(globalHookManager2, {
8412
8430
  enableLSP: coderPluginNames.includes("lsp"),
8413
8431
  enableCodeCheck: coderPluginNames.includes("code-check"),
8414
8432
  enableReminder: coderPluginNames.includes("reminder"),
@@ -9632,9 +9650,9 @@ var InteractiveCommand = {
9632
9650
  let memoryPluginInstance = null;
9633
9651
  if (coderPluginNames.length > 0) {
9634
9652
  try {
9635
- const { globalHookManager } = await import("@ai-setting/roy-agent-core");
9653
+ const { globalHookManager: globalHookManager2 } = await import("@ai-setting/roy-agent-core");
9636
9654
  const { createPluginHookAdapter, createGlobalLSPManager } = await import("@ai-setting/roy-agent-coder-harness");
9637
- const adapter = createPluginHookAdapter(globalHookManager, {
9655
+ const adapter = createPluginHookAdapter(globalHookManager2, {
9638
9656
  enableLSP: coderPluginNames.includes("lsp"),
9639
9657
  enableCodeCheck: coderPluginNames.includes("code-check"),
9640
9658
  enableReminder: coderPluginNames.includes("reminder"),
@@ -9895,7 +9913,7 @@ var ListCommand = {
9895
9913
  command: "list [options]",
9896
9914
  aliases: ["ls"],
9897
9915
  describe: "列出所有会话",
9898
- builder: (yargs) => yargs.option("limit", { alias: "n", type: "number", default: 20 }).option("offset", { type: "number", default: 0 }).option("sort", { type: "string", default: "updatedAt" }).option("order", { type: "string", default: "desc" }).option("json", { alias: "j", type: "boolean", default: false }).option("quiet", { alias: "q", type: "boolean", default: false }).option("id", { alias: "i", type: "boolean", default: false, description: "显示 Session ID" }).option("type", { alias: "t", type: "string", description: "按 session 类型过滤 (如 workflow)" }).option("status", { alias: "s", type: "string", description: "按状态过滤 (如 running, paused)" }),
9916
+ builder: (yargs) => yargs.option("limit", { alias: "n", type: "number", default: 20 }).option("offset", { type: "number", default: 0 }).option("sort", { type: "string", default: "updatedAt" }).option("order", { type: "string", default: "desc" }).option("json", { alias: "j", type: "boolean", default: false }).option("quiet", { alias: "q", type: "boolean", hidden: true }).option("id", { alias: "i", type: "boolean", default: false, description: "显示 Session ID" }).option("type", { alias: "t", type: "string", description: "按 session 类型过滤 (如 workflow)" }).option("status", { alias: "s", type: "string", description: "按状态过滤 (如 running, paused)" }),
9899
9917
  async handler(args) {
9900
9918
  const isQuiet = args.quiet === true;
9901
9919
  if (isQuiet) {
@@ -11467,7 +11485,7 @@ var ListCommand2 = {
11467
11485
  type: "string",
11468
11486
  choices: ["low", "medium", "high"],
11469
11487
  description: "按优先级筛选"
11470
- }).option("limit", { alias: "n", type: "number", default: 20, description: "返回数量" }).option("offset", { type: "number", default: 0, description: "偏移量" }).option("json", { alias: "j", type: "boolean", default: false, description: "JSON 输出" }).option("quiet", { alias: "q", type: "boolean", default: false, description: "简洁输出" }),
11488
+ }).option("limit", { alias: "n", type: "number", default: 20, description: "返回数量" }).option("offset", { type: "number", default: 0, description: "偏移量" }).option("json", { alias: "j", type: "boolean", default: false, description: "JSON 输出" }).option("quiet", { alias: "q", type: "boolean", hidden: true }),
11471
11489
  async handler(args) {
11472
11490
  const output = new OutputService;
11473
11491
  const envService = new EnvironmentService(output);
@@ -14279,10 +14297,9 @@ var EventSourceAddCommand = {
14279
14297
  type: "string",
14280
14298
  demandOption: true
14281
14299
  }).positional("type", {
14282
- describe: "事件源类型",
14300
+ describe: "事件源类型(如 lark-cli, timer, websocket 或第三方自定义类型)",
14283
14301
  type: "string",
14284
- demandOption: true,
14285
- choices: ["lark-cli", "websocket", "timer", "http-webhook", "file-watcher"]
14302
+ demandOption: true
14286
14303
  }).option("event-types", {
14287
14304
  alias: "e",
14288
14305
  describe: "事件类型过滤(逗号分隔,支持通配符如 im.message.*)",
@@ -17618,7 +17635,9 @@ var LspCommand = {
17618
17635
  // src/cli.ts
17619
17636
  function quietModeMiddleware(argv) {
17620
17637
  const quietService = CliQuietModeService.getInstance();
17621
- quietService.setQuietFromArgv(argv);
17638
+ if (argv.quiet === true) {
17639
+ quietService.setQuiet(true);
17640
+ }
17622
17641
  }
17623
17642
  var PLUGIN_HELP = `
17624
17643
  Plugins:
@@ -17648,10 +17667,9 @@ async function runCli() {
17648
17667
  const pkg = await Promise.resolve().then(() => __toESM(require_package(), 1));
17649
17668
  const yargs = yargsLib;
17650
17669
  await yargs(hideBin(process.argv)).scriptName("roy-agent").version(pkg.default.version).option("quiet", {
17651
- alias: "q",
17670
+ describe: "Quiet mode (default: on, use --no-quiet to enable logging)",
17652
17671
  type: "boolean",
17653
17672
  default: true,
17654
- description: "Suppress all log output (default: true)",
17655
17673
  global: true
17656
17674
  }).option("plugin", {
17657
17675
  alias: "p",