@ai-setting/roy-agent-cli 1.5.36 → 1.5.38

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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
248
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
302
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
457
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
609
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
671
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
718
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
745
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
782
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
892
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
920
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
992
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
1107
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
1124
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1261
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1559
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1680
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
1816
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1835
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1892
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1953
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1991
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
2143
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
2270
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
2289
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
2382
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
2401
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
2417
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
2432
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2453
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2477
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2520
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2562
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2587
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2651
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2706
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2781
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2853
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2882
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2928
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
3004
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
3087
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
3169
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
3210
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
3301
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
3331
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
3411
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
3646
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3711
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3841
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3881
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3896
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3909
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
4016
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
4064
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
4104
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
4295
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
4357
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4550
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4767
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4845
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4872
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4975
+ // ../../node_modules/.pnpm/yaml@2.8.4/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/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
5015
+ // ../../node_modules/.pnpm/yaml@2.8.4/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,10 +5098,8 @@ ${cb}` : comment;
5098
5098
  }
5099
5099
  }
5100
5100
  if (afterDoc) {
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]);
5101
+ Array.prototype.push.apply(doc.errors, this.errors);
5102
+ Array.prototype.push.apply(doc.warnings, this.warnings);
5105
5103
  } else {
5106
5104
  doc.errors = this.errors;
5107
5105
  doc.warnings = this.warnings;
@@ -5203,7 +5201,7 @@ ${end.comment}` : end.comment;
5203
5201
  exports.Composer = Composer;
5204
5202
  });
5205
5203
 
5206
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
5204
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-scalar.js
5207
5205
  var require_cst_scalar = __commonJS((exports) => {
5208
5206
  var resolveBlockScalar = require_resolve_block_scalar();
5209
5207
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5393,7 +5391,7 @@ var require_cst_scalar = __commonJS((exports) => {
5393
5391
  exports.setScalarValue = setScalarValue;
5394
5392
  });
5395
5393
 
5396
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
5394
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-stringify.js
5397
5395
  var require_cst_stringify = __commonJS((exports) => {
5398
5396
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5399
5397
  function stringifyToken(token) {
@@ -5451,7 +5449,7 @@ var require_cst_stringify = __commonJS((exports) => {
5451
5449
  exports.stringify = stringify;
5452
5450
  });
5453
5451
 
5454
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
5452
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst-visit.js
5455
5453
  var require_cst_visit = __commonJS((exports) => {
5456
5454
  var BREAK = Symbol("break visit");
5457
5455
  var SKIP = Symbol("skip children");
@@ -5510,7 +5508,7 @@ var require_cst_visit = __commonJS((exports) => {
5510
5508
  exports.visit = visit;
5511
5509
  });
5512
5510
 
5513
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
5511
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/cst.js
5514
5512
  var require_cst = __commonJS((exports) => {
5515
5513
  var cstScalar = require_cst_scalar();
5516
5514
  var cstStringify = require_cst_stringify();
@@ -5611,7 +5609,7 @@ var require_cst = __commonJS((exports) => {
5611
5609
  exports.tokenType = tokenType;
5612
5610
  });
5613
5611
 
5614
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5612
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/lexer.js
5615
5613
  var require_lexer = __commonJS((exports) => {
5616
5614
  var cst = require_cst();
5617
5615
  function isEmpty(ch) {
@@ -5813,7 +5811,7 @@ var require_lexer = __commonJS((exports) => {
5813
5811
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
5814
5812
  this.indentNext = this.indentValue + 1;
5815
5813
  this.indentValue += n;
5816
- return "block-start";
5814
+ return yield* this.parseBlockStart();
5817
5815
  }
5818
5816
  return "doc";
5819
5817
  }
@@ -6120,37 +6118,26 @@ var require_lexer = __commonJS((exports) => {
6120
6118
  return 0;
6121
6119
  }
6122
6120
  *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
- }
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());
6150
6137
  }
6151
- break loop;
6152
6138
  }
6153
- return n;
6139
+ }
6140
+ return 0;
6154
6141
  }
6155
6142
  *pushTag() {
6156
6143
  if (this.charAt(1) === "<") {
@@ -6208,7 +6195,7 @@ var require_lexer = __commonJS((exports) => {
6208
6195
  exports.Lexer = Lexer;
6209
6196
  });
6210
6197
 
6211
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
6198
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/line-counter.js
6212
6199
  var require_line_counter = __commonJS((exports) => {
6213
6200
  class LineCounter {
6214
6201
  constructor() {
@@ -6236,7 +6223,7 @@ var require_line_counter = __commonJS((exports) => {
6236
6223
  exports.LineCounter = LineCounter;
6237
6224
  });
6238
6225
 
6239
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
6226
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/parse/parser.js
6240
6227
  var require_parser = __commonJS((exports) => {
6241
6228
  var node_process = __require("process");
6242
6229
  var cst = require_cst();
@@ -6304,13 +6291,6 @@ var require_parser = __commonJS((exports) => {
6304
6291
  while (prev[++i]?.type === "space") {}
6305
6292
  return prev.splice(i, prev.length);
6306
6293
  }
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
- }
6314
6294
  function fixFlowSeqItems(fc) {
6315
6295
  if (fc.start.type === "flow-seq-start") {
6316
6296
  for (const it of fc.items) {
@@ -6320,11 +6300,11 @@ var require_parser = __commonJS((exports) => {
6320
6300
  delete it.key;
6321
6301
  if (isFlowToken(it.value)) {
6322
6302
  if (it.value.end)
6323
- arrayPushArray(it.value.end, it.sep);
6303
+ Array.prototype.push.apply(it.value.end, it.sep);
6324
6304
  else
6325
6305
  it.value.end = it.sep;
6326
6306
  } else
6327
- arrayPushArray(it.start, it.sep);
6307
+ Array.prototype.push.apply(it.start, it.sep);
6328
6308
  delete it.sep;
6329
6309
  }
6330
6310
  }
@@ -6664,7 +6644,7 @@ var require_parser = __commonJS((exports) => {
6664
6644
  const prev = map.items[map.items.length - 2];
6665
6645
  const end = prev?.value?.end;
6666
6646
  if (Array.isArray(end)) {
6667
- arrayPushArray(end, it.start);
6647
+ Array.prototype.push.apply(end, it.start);
6668
6648
  end.push(this.sourceToken);
6669
6649
  map.items.pop();
6670
6650
  return;
@@ -6852,7 +6832,7 @@ var require_parser = __commonJS((exports) => {
6852
6832
  const prev = seq.items[seq.items.length - 2];
6853
6833
  const end = prev?.value?.end;
6854
6834
  if (Array.isArray(end)) {
6855
- arrayPushArray(end, it.start);
6835
+ Array.prototype.push.apply(end, it.start);
6856
6836
  end.push(this.sourceToken);
6857
6837
  seq.items.pop();
6858
6838
  return;
@@ -7092,7 +7072,7 @@ var require_parser = __commonJS((exports) => {
7092
7072
  exports.Parser = Parser;
7093
7073
  });
7094
7074
 
7095
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
7075
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/public-api.js
7096
7076
  var require_public_api = __commonJS((exports) => {
7097
7077
  var composer = require_composer();
7098
7078
  var Document = require_Document();
@@ -7186,7 +7166,7 @@ var require_public_api = __commonJS((exports) => {
7186
7166
  exports.stringify = stringify;
7187
7167
  });
7188
7168
 
7189
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
7169
+ // ../../node_modules/.pnpm/yaml@2.8.4/node_modules/yaml/dist/index.js
7190
7170
  var require_dist = __commonJS((exports) => {
7191
7171
  var composer = require_composer();
7192
7172
  var Document = require_Document();
@@ -7239,7 +7219,7 @@ var require_dist = __commonJS((exports) => {
7239
7219
  var require_package = __commonJS((exports, module) => {
7240
7220
  module.exports = {
7241
7221
  name: "@ai-setting/roy-agent-cli",
7242
- version: "1.5.36",
7222
+ version: "1.5.38",
7243
7223
  type: "module",
7244
7224
  description: "CLI for roy-agent - Non-interactive command execution",
7245
7225
  main: "./dist/index.js",
@@ -7266,9 +7246,10 @@ var require_package = __commonJS((exports, module) => {
7266
7246
  },
7267
7247
  dependencies: {
7268
7248
  "@ai-setting/roy-agent-coder-harness": "^1.5.36",
7269
- "@ai-setting/roy-agent-core": "^1.5.34",
7249
+ "@ai-setting/roy-agent-core": "^1.5.36",
7270
7250
  chalk: "^5.6.2",
7271
7251
  commander: "^14.0.3",
7252
+ effect: "^3.21.2",
7272
7253
  pyright: "^1.1.409",
7273
7254
  "typescript-language-server": "^5.1.3",
7274
7255
  "vscode-css-languageserver-bin": "^1.4.0",
@@ -8754,7 +8735,7 @@ class QueryExecutor {
8754
8735
  }
8755
8736
  this.streamService?.handleEvent(event);
8756
8737
  }
8757
- async execute(message, sessionId, streamOptions, traceId) {
8738
+ async execute(message, sessionId, streamOptions, traceId, agentContext) {
8758
8739
  const options = {
8759
8740
  showReasoning: streamOptions?.showReasoning ?? this.streamOptions.showReasoning,
8760
8741
  showToolCalls: streamOptions?.showToolCalls ?? this.streamOptions.showToolCalls,
@@ -8772,7 +8753,8 @@ class QueryExecutor {
8772
8753
  metadata: {
8773
8754
  originalQuery: message,
8774
8755
  traceId
8775
- }
8756
+ },
8757
+ ...agentContext
8776
8758
  };
8777
8759
  let span;
8778
8760
  const tracer = getTracerProvider3().getTracer("roy-tracer");
@@ -8978,6 +8960,12 @@ class EventMessageFormatter {
8978
8960
  const seconds = Math.floor(ms % 60000 / 1000);
8979
8961
  return `${minutes}分${seconds}秒`;
8980
8962
  }
8963
+ formatWithEvent(event) {
8964
+ return {
8965
+ message: this.format(event),
8966
+ envEvent: event
8967
+ };
8968
+ }
8981
8969
  }
8982
8970
 
8983
8971
  // src/commands/shared/event-handler.ts
@@ -8985,6 +8973,7 @@ class EventHandler {
8985
8973
  env;
8986
8974
  eventTypes;
8987
8975
  onEvent;
8976
+ onEventWithEnv;
8988
8977
  formatter;
8989
8978
  isIdle;
8990
8979
  idleCheckInterval;
@@ -8996,6 +8985,7 @@ class EventHandler {
8996
8985
  this.env = options.env;
8997
8986
  this.eventTypes = options.eventTypes;
8998
8987
  this.onEvent = options.onEvent;
8988
+ this.onEventWithEnv = options.onEventWithEnv;
8999
8989
  this.formatter = options.formatter ?? new EventMessageFormatter;
9000
8990
  this.isIdle = options.isIdle ?? (() => true);
9001
8991
  this.idleCheckInterval = options.idleCheckInterval ?? 100;
@@ -9039,14 +9029,14 @@ class EventHandler {
9039
9029
  if (this.isStopped) {
9040
9030
  return;
9041
9031
  }
9042
- const message = this.formatter.format(event);
9043
- this.enqueue(message);
9032
+ const formatted = this.formatter.formatWithEvent(event);
9033
+ this.enqueue(formatted);
9044
9034
  }
9045
- enqueue(message) {
9035
+ enqueue(formattedEvent) {
9046
9036
  if (this.isStopped) {
9047
9037
  return;
9048
9038
  }
9049
- this.queue.push(message);
9039
+ this.queue.push(formattedEvent);
9050
9040
  if (!this.isProcessing) {
9051
9041
  this.processQueue();
9052
9042
  }
@@ -9064,12 +9054,16 @@ class EventHandler {
9064
9054
  if (this.isStopped) {
9065
9055
  break;
9066
9056
  }
9067
- const message = this.queue.shift();
9068
- if (!message) {
9057
+ const item = this.queue.shift();
9058
+ if (!item) {
9069
9059
  break;
9070
9060
  }
9071
9061
  try {
9072
- await this.onEvent(message);
9062
+ if (this.onEventWithEnv) {
9063
+ await this.onEventWithEnv(item);
9064
+ continue;
9065
+ }
9066
+ await this.onEvent(item.message);
9073
9067
  } catch (error) {
9074
9068
  console.error(`[EventHandler] 处理事件失败:`, error);
9075
9069
  }
@@ -9341,11 +9335,34 @@ ${COLORS.system("[通知] ❯ " + message.replace(/\n/g, `
9341
9335
  `);
9342
9336
  await this.executeInternal(message, { showPrompt: true });
9343
9337
  }
9338
+ async handleEventMessageWithEnv(formattedEvent) {
9339
+ const { message, envEvent } = formattedEvent;
9340
+ console.log(`
9341
+ ${COLORS.system("[通知2] ❯ " + message.replace(/\n/g, `
9342
+ ` + COLORS.system("[通知2] ❯ ")))}
9343
+ `);
9344
+ const sourceId = envEvent.metadata?.sourceId;
9345
+ const plugins = envEvent.metadata?.plugins || [];
9346
+ const pluginEnabled = {};
9347
+ for (const pluginName of plugins) {
9348
+ const key = `${sourceId}:${pluginName}`;
9349
+ pluginEnabled[key] = true;
9350
+ }
9351
+ this.currentAgentContext = {
9352
+ pluginEnabled,
9353
+ envEvent,
9354
+ plugins
9355
+ };
9356
+ await this.executeInternal(message, { showPrompt: true });
9357
+ }
9358
+ currentAgentContext = undefined;
9344
9359
  isIdle() {
9345
9360
  return !this.isExecuting;
9346
9361
  }
9347
9362
  async executeInternal(message, options) {
9348
9363
  this.isExecuting = true;
9364
+ const agentContext = this.currentAgentContext;
9365
+ this.currentAgentContext = undefined;
9349
9366
  resetStreamAbort();
9350
9367
  const provider = getTracerProvider4();
9351
9368
  const tracer = provider.getTracer("roy-tracer");
@@ -9355,7 +9372,7 @@ ${COLORS.system("[通知] ❯ " + message.replace(/\n/g, `
9355
9372
  console.log(`${COLORS.system("[Trace] " + traceId)}`);
9356
9373
  console.log(`${COLORS.progress("[thinking...]")}`);
9357
9374
  try {
9358
- await this.options.onExecute(message, traceId);
9375
+ await this.options.onExecute(message, traceId, agentContext);
9359
9376
  } catch (error) {
9360
9377
  const askUserError = this.parseAskUserError(error);
9361
9378
  if (askUserError) {
@@ -9748,16 +9765,21 @@ function createInteractiveCommand(externalEnvService) {
9748
9765
  output.error(`❌ 加载 coder-harness 插件失败: ${error}`);
9749
9766
  }
9750
9767
  }
9768
+ let currentAgentContext = undefined;
9751
9769
  const repl = new REPL({
9752
9770
  sessionId,
9753
9771
  sessionTitle,
9754
- onExecute: async (message, traceId) => {
9772
+ onExecute: async (message, traceId, agentContext) => {
9755
9773
  resetStreamAbort();
9774
+ const mergedContext = {
9775
+ ...currentAgentContext,
9776
+ ...agentContext
9777
+ };
9756
9778
  return queryExecutor.execute(message, sessionId, {
9757
9779
  showReasoning: args.reasoning,
9758
9780
  showToolCalls: args.toolCalls,
9759
9781
  showToolResults: args.toolResults
9760
- }, traceId);
9782
+ }, traceId, mergedContext);
9761
9783
  },
9762
9784
  onStatus: async () => {
9763
9785
  const session = await sessionComponent.get(sessionId);
@@ -9829,6 +9851,9 @@ function createInteractiveCommand(externalEnvService) {
9829
9851
  isIdle: () => repl.isIdle(),
9830
9852
  onEvent: async (message) => {
9831
9853
  await repl.handleEventMessage(message);
9854
+ },
9855
+ onEventWithEnv: async (formattedEvent) => {
9856
+ await repl.handleEventMessageWithEnv(formattedEvent);
9832
9857
  }
9833
9858
  });
9834
9859
  const stopEventHandler = eventHandler.start();