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