@ai-setting/roy-agent-cli 1.5.80 → 1.5.82
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 +244 -168
- package/dist/index.js +244 -168
- package/dist/roy-agent-linux-x64/bin/roy-agent +0 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -325,7 +325,7 @@ var init_stream_output_service = __esm(() => {
|
|
|
325
325
|
};
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
// ../../node_modules/.
|
|
328
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
|
|
329
329
|
var require_identity = __commonJS((exports) => {
|
|
330
330
|
var ALIAS = Symbol.for("yaml.alias");
|
|
331
331
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -379,7 +379,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
379
379
|
exports.isSeq = isSeq;
|
|
380
380
|
});
|
|
381
381
|
|
|
382
|
-
// ../../node_modules/.
|
|
382
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
|
|
383
383
|
var require_visit = __commonJS((exports) => {
|
|
384
384
|
var identity = require_identity();
|
|
385
385
|
var BREAK = Symbol("break visit");
|
|
@@ -534,7 +534,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
534
534
|
exports.visitAsync = visitAsync;
|
|
535
535
|
});
|
|
536
536
|
|
|
537
|
-
// ../../node_modules/.
|
|
537
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
|
|
538
538
|
var require_directives = __commonJS((exports) => {
|
|
539
539
|
var identity = require_identity();
|
|
540
540
|
var visit = require_visit();
|
|
@@ -686,7 +686,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
686
686
|
exports.Directives = Directives;
|
|
687
687
|
});
|
|
688
688
|
|
|
689
|
-
// ../../node_modules/.
|
|
689
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
|
|
690
690
|
var require_anchors = __commonJS((exports) => {
|
|
691
691
|
var identity = require_identity();
|
|
692
692
|
var visit = require_visit();
|
|
@@ -748,7 +748,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
748
748
|
exports.findNewAnchor = findNewAnchor;
|
|
749
749
|
});
|
|
750
750
|
|
|
751
|
-
// ../../node_modules/.
|
|
751
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
|
|
752
752
|
var require_applyReviver = __commonJS((exports) => {
|
|
753
753
|
function applyReviver(reviver, obj, key, val) {
|
|
754
754
|
if (val && typeof val === "object") {
|
|
@@ -795,7 +795,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
795
795
|
exports.applyReviver = applyReviver;
|
|
796
796
|
});
|
|
797
797
|
|
|
798
|
-
// ../../node_modules/.
|
|
798
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
|
|
799
799
|
var require_toJS = __commonJS((exports) => {
|
|
800
800
|
var identity = require_identity();
|
|
801
801
|
function toJS(value, arg, ctx) {
|
|
@@ -822,7 +822,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
822
822
|
exports.toJS = toJS;
|
|
823
823
|
});
|
|
824
824
|
|
|
825
|
-
// ../../node_modules/.
|
|
825
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
|
|
826
826
|
var require_Node = __commonJS((exports) => {
|
|
827
827
|
var applyReviver = require_applyReviver();
|
|
828
828
|
var identity = require_identity();
|
|
@@ -859,7 +859,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
859
859
|
exports.NodeBase = NodeBase;
|
|
860
860
|
});
|
|
861
861
|
|
|
862
|
-
// ../../node_modules/.
|
|
862
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
|
|
863
863
|
var require_Alias = __commonJS((exports) => {
|
|
864
864
|
var anchors = require_anchors();
|
|
865
865
|
var visit = require_visit();
|
|
@@ -969,7 +969,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
969
969
|
exports.Alias = Alias;
|
|
970
970
|
});
|
|
971
971
|
|
|
972
|
-
// ../../node_modules/.
|
|
972
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
|
|
973
973
|
var require_Scalar = __commonJS((exports) => {
|
|
974
974
|
var identity = require_identity();
|
|
975
975
|
var Node = require_Node();
|
|
@@ -997,7 +997,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
997
997
|
exports.isScalarValue = isScalarValue;
|
|
998
998
|
});
|
|
999
999
|
|
|
1000
|
-
// ../../node_modules/.
|
|
1000
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
|
|
1001
1001
|
var require_createNode = __commonJS((exports) => {
|
|
1002
1002
|
var Alias = require_Alias();
|
|
1003
1003
|
var identity = require_identity();
|
|
@@ -1069,7 +1069,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
1069
1069
|
exports.createNode = createNode;
|
|
1070
1070
|
});
|
|
1071
1071
|
|
|
1072
|
-
// ../../node_modules/.
|
|
1072
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
|
|
1073
1073
|
var require_Collection = __commonJS((exports) => {
|
|
1074
1074
|
var createNode = require_createNode();
|
|
1075
1075
|
var identity = require_identity();
|
|
@@ -1184,7 +1184,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
1184
1184
|
exports.isEmptyPath = isEmptyPath;
|
|
1185
1185
|
});
|
|
1186
1186
|
|
|
1187
|
-
// ../../node_modules/.
|
|
1187
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1188
1188
|
var require_stringifyComment = __commonJS((exports) => {
|
|
1189
1189
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
1190
1190
|
function indentComment(comment, indent) {
|
|
@@ -1201,7 +1201,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
1201
1201
|
exports.stringifyComment = stringifyComment;
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
|
-
// ../../node_modules/.
|
|
1204
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1205
1205
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
1206
1206
|
var FOLD_FLOW = "flow";
|
|
1207
1207
|
var FOLD_BLOCK = "block";
|
|
@@ -1338,7 +1338,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
1338
1338
|
exports.foldFlowLines = foldFlowLines;
|
|
1339
1339
|
});
|
|
1340
1340
|
|
|
1341
|
-
// ../../node_modules/.
|
|
1341
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1342
1342
|
var require_stringifyString = __commonJS((exports) => {
|
|
1343
1343
|
var Scalar = require_Scalar();
|
|
1344
1344
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1636,7 +1636,7 @@ ${indent}`);
|
|
|
1636
1636
|
exports.stringifyString = stringifyString;
|
|
1637
1637
|
});
|
|
1638
1638
|
|
|
1639
|
-
// ../../node_modules/.
|
|
1639
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
|
|
1640
1640
|
var require_stringify = __commonJS((exports) => {
|
|
1641
1641
|
var anchors = require_anchors();
|
|
1642
1642
|
var identity = require_identity();
|
|
@@ -1757,7 +1757,7 @@ ${ctx.indent}${str}`;
|
|
|
1757
1757
|
exports.stringify = stringify;
|
|
1758
1758
|
});
|
|
1759
1759
|
|
|
1760
|
-
// ../../node_modules/.
|
|
1760
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1761
1761
|
var require_stringifyPair = __commonJS((exports) => {
|
|
1762
1762
|
var identity = require_identity();
|
|
1763
1763
|
var Scalar = require_Scalar();
|
|
@@ -1893,7 +1893,7 @@ ${ctx.indent}`;
|
|
|
1893
1893
|
exports.stringifyPair = stringifyPair;
|
|
1894
1894
|
});
|
|
1895
1895
|
|
|
1896
|
-
// ../../node_modules/.
|
|
1896
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
|
|
1897
1897
|
var require_log = __commonJS((exports) => {
|
|
1898
1898
|
var node_process = __require("process");
|
|
1899
1899
|
function debug(logLevel, ...messages) {
|
|
@@ -1912,7 +1912,7 @@ var require_log = __commonJS((exports) => {
|
|
|
1912
1912
|
exports.warn = warn;
|
|
1913
1913
|
});
|
|
1914
1914
|
|
|
1915
|
-
// ../../node_modules/.
|
|
1915
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1916
1916
|
var require_merge = __commonJS((exports) => {
|
|
1917
1917
|
var identity = require_identity();
|
|
1918
1918
|
var Scalar = require_Scalar();
|
|
@@ -1969,7 +1969,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
1969
1969
|
exports.merge = merge;
|
|
1970
1970
|
});
|
|
1971
1971
|
|
|
1972
|
-
// ../../node_modules/.
|
|
1972
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1973
1973
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
1974
1974
|
var log = require_log();
|
|
1975
1975
|
var merge = require_merge();
|
|
@@ -2030,7 +2030,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
2030
2030
|
exports.addPairToJSMap = addPairToJSMap;
|
|
2031
2031
|
});
|
|
2032
2032
|
|
|
2033
|
-
// ../../node_modules/.
|
|
2033
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
|
|
2034
2034
|
var require_Pair = __commonJS((exports) => {
|
|
2035
2035
|
var createNode = require_createNode();
|
|
2036
2036
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2068,7 +2068,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
2068
2068
|
exports.createPair = createPair;
|
|
2069
2069
|
});
|
|
2070
2070
|
|
|
2071
|
-
// ../../node_modules/.
|
|
2071
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2072
2072
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
2073
2073
|
var identity = require_identity();
|
|
2074
2074
|
var stringify = require_stringify();
|
|
@@ -2220,7 +2220,7 @@ ${indent}${end}`;
|
|
|
2220
2220
|
exports.stringifyCollection = stringifyCollection;
|
|
2221
2221
|
});
|
|
2222
2222
|
|
|
2223
|
-
// ../../node_modules/.
|
|
2223
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2224
2224
|
var require_YAMLMap = __commonJS((exports) => {
|
|
2225
2225
|
var stringifyCollection = require_stringifyCollection();
|
|
2226
2226
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2347,7 +2347,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
2347
2347
|
exports.findPair = findPair;
|
|
2348
2348
|
});
|
|
2349
2349
|
|
|
2350
|
-
// ../../node_modules/.
|
|
2350
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
|
|
2351
2351
|
var require_map = __commonJS((exports) => {
|
|
2352
2352
|
var identity = require_identity();
|
|
2353
2353
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2366,7 +2366,7 @@ var require_map = __commonJS((exports) => {
|
|
|
2366
2366
|
exports.map = map;
|
|
2367
2367
|
});
|
|
2368
2368
|
|
|
2369
|
-
// ../../node_modules/.
|
|
2369
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2370
2370
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
2371
2371
|
var createNode = require_createNode();
|
|
2372
2372
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2459,7 +2459,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
2459
2459
|
exports.YAMLSeq = YAMLSeq;
|
|
2460
2460
|
});
|
|
2461
2461
|
|
|
2462
|
-
// ../../node_modules/.
|
|
2462
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
|
|
2463
2463
|
var require_seq = __commonJS((exports) => {
|
|
2464
2464
|
var identity = require_identity();
|
|
2465
2465
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2478,7 +2478,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
2478
2478
|
exports.seq = seq;
|
|
2479
2479
|
});
|
|
2480
2480
|
|
|
2481
|
-
// ../../node_modules/.
|
|
2481
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
|
|
2482
2482
|
var require_string = __commonJS((exports) => {
|
|
2483
2483
|
var stringifyString = require_stringifyString();
|
|
2484
2484
|
var string = {
|
|
@@ -2494,7 +2494,7 @@ var require_string = __commonJS((exports) => {
|
|
|
2494
2494
|
exports.string = string;
|
|
2495
2495
|
});
|
|
2496
2496
|
|
|
2497
|
-
// ../../node_modules/.
|
|
2497
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
|
|
2498
2498
|
var require_null = __commonJS((exports) => {
|
|
2499
2499
|
var Scalar = require_Scalar();
|
|
2500
2500
|
var nullTag = {
|
|
@@ -2509,7 +2509,7 @@ var require_null = __commonJS((exports) => {
|
|
|
2509
2509
|
exports.nullTag = nullTag;
|
|
2510
2510
|
});
|
|
2511
2511
|
|
|
2512
|
-
// ../../node_modules/.
|
|
2512
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
|
|
2513
2513
|
var require_bool = __commonJS((exports) => {
|
|
2514
2514
|
var Scalar = require_Scalar();
|
|
2515
2515
|
var boolTag = {
|
|
@@ -2530,7 +2530,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
2530
2530
|
exports.boolTag = boolTag;
|
|
2531
2531
|
});
|
|
2532
2532
|
|
|
2533
|
-
// ../../node_modules/.
|
|
2533
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2534
2534
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
2535
2535
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2536
2536
|
if (typeof value === "bigint")
|
|
@@ -2554,7 +2554,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
2554
2554
|
exports.stringifyNumber = stringifyNumber;
|
|
2555
2555
|
});
|
|
2556
2556
|
|
|
2557
|
-
// ../../node_modules/.
|
|
2557
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
|
|
2558
2558
|
var require_float = __commonJS((exports) => {
|
|
2559
2559
|
var Scalar = require_Scalar();
|
|
2560
2560
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2597,7 +2597,7 @@ var require_float = __commonJS((exports) => {
|
|
|
2597
2597
|
exports.floatNaN = floatNaN;
|
|
2598
2598
|
});
|
|
2599
2599
|
|
|
2600
|
-
// ../../node_modules/.
|
|
2600
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
|
|
2601
2601
|
var require_int = __commonJS((exports) => {
|
|
2602
2602
|
var stringifyNumber = require_stringifyNumber();
|
|
2603
2603
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2639,7 +2639,7 @@ var require_int = __commonJS((exports) => {
|
|
|
2639
2639
|
exports.intOct = intOct;
|
|
2640
2640
|
});
|
|
2641
2641
|
|
|
2642
|
-
// ../../node_modules/.
|
|
2642
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
|
|
2643
2643
|
var require_schema = __commonJS((exports) => {
|
|
2644
2644
|
var map = require_map();
|
|
2645
2645
|
var _null = require_null();
|
|
@@ -2664,7 +2664,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
2664
2664
|
exports.schema = schema;
|
|
2665
2665
|
});
|
|
2666
2666
|
|
|
2667
|
-
// ../../node_modules/.
|
|
2667
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
|
|
2668
2668
|
var require_schema2 = __commonJS((exports) => {
|
|
2669
2669
|
var Scalar = require_Scalar();
|
|
2670
2670
|
var map = require_map();
|
|
@@ -2728,7 +2728,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
2728
2728
|
exports.schema = schema;
|
|
2729
2729
|
});
|
|
2730
2730
|
|
|
2731
|
-
// ../../node_modules/.
|
|
2731
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2732
2732
|
var require_binary = __commonJS((exports) => {
|
|
2733
2733
|
var node_buffer = __require("buffer");
|
|
2734
2734
|
var Scalar = require_Scalar();
|
|
@@ -2783,7 +2783,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
2783
2783
|
exports.binary = binary;
|
|
2784
2784
|
});
|
|
2785
2785
|
|
|
2786
|
-
// ../../node_modules/.
|
|
2786
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2787
2787
|
var require_pairs = __commonJS((exports) => {
|
|
2788
2788
|
var identity = require_identity();
|
|
2789
2789
|
var Pair = require_Pair();
|
|
@@ -2858,7 +2858,7 @@ ${cn.comment}` : item.comment;
|
|
|
2858
2858
|
exports.resolvePairs = resolvePairs;
|
|
2859
2859
|
});
|
|
2860
2860
|
|
|
2861
|
-
// ../../node_modules/.
|
|
2861
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2862
2862
|
var require_omap = __commonJS((exports) => {
|
|
2863
2863
|
var identity = require_identity();
|
|
2864
2864
|
var toJS = require_toJS();
|
|
@@ -2930,7 +2930,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
2930
2930
|
exports.omap = omap;
|
|
2931
2931
|
});
|
|
2932
2932
|
|
|
2933
|
-
// ../../node_modules/.
|
|
2933
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2934
2934
|
var require_bool2 = __commonJS((exports) => {
|
|
2935
2935
|
var Scalar = require_Scalar();
|
|
2936
2936
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2959,7 +2959,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
2959
2959
|
exports.trueTag = trueTag;
|
|
2960
2960
|
});
|
|
2961
2961
|
|
|
2962
|
-
// ../../node_modules/.
|
|
2962
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2963
2963
|
var require_float2 = __commonJS((exports) => {
|
|
2964
2964
|
var Scalar = require_Scalar();
|
|
2965
2965
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3005,7 +3005,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
3005
3005
|
exports.floatNaN = floatNaN;
|
|
3006
3006
|
});
|
|
3007
3007
|
|
|
3008
|
-
// ../../node_modules/.
|
|
3008
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3009
3009
|
var require_int2 = __commonJS((exports) => {
|
|
3010
3010
|
var stringifyNumber = require_stringifyNumber();
|
|
3011
3011
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3081,7 +3081,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
3081
3081
|
exports.intOct = intOct;
|
|
3082
3082
|
});
|
|
3083
3083
|
|
|
3084
|
-
// ../../node_modules/.
|
|
3084
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3085
3085
|
var require_set = __commonJS((exports) => {
|
|
3086
3086
|
var identity = require_identity();
|
|
3087
3087
|
var Pair = require_Pair();
|
|
@@ -3164,7 +3164,7 @@ var require_set = __commonJS((exports) => {
|
|
|
3164
3164
|
exports.set = set;
|
|
3165
3165
|
});
|
|
3166
3166
|
|
|
3167
|
-
// ../../node_modules/.
|
|
3167
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3168
3168
|
var require_timestamp = __commonJS((exports) => {
|
|
3169
3169
|
var stringifyNumber = require_stringifyNumber();
|
|
3170
3170
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3246,7 +3246,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
3246
3246
|
exports.timestamp = timestamp;
|
|
3247
3247
|
});
|
|
3248
3248
|
|
|
3249
|
-
// ../../node_modules/.
|
|
3249
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3250
3250
|
var require_schema3 = __commonJS((exports) => {
|
|
3251
3251
|
var map = require_map();
|
|
3252
3252
|
var _null = require_null();
|
|
@@ -3287,7 +3287,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
3287
3287
|
exports.schema = schema;
|
|
3288
3288
|
});
|
|
3289
3289
|
|
|
3290
|
-
// ../../node_modules/.
|
|
3290
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
|
|
3291
3291
|
var require_tags = __commonJS((exports) => {
|
|
3292
3292
|
var map = require_map();
|
|
3293
3293
|
var _null = require_null();
|
|
@@ -3378,7 +3378,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
3378
3378
|
exports.getTags = getTags;
|
|
3379
3379
|
});
|
|
3380
3380
|
|
|
3381
|
-
// ../../node_modules/.
|
|
3381
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
|
|
3382
3382
|
var require_Schema = __commonJS((exports) => {
|
|
3383
3383
|
var identity = require_identity();
|
|
3384
3384
|
var map = require_map();
|
|
@@ -3408,7 +3408,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
3408
3408
|
exports.Schema = Schema;
|
|
3409
3409
|
});
|
|
3410
3410
|
|
|
3411
|
-
// ../../node_modules/.
|
|
3411
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3412
3412
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
3413
3413
|
var identity = require_identity();
|
|
3414
3414
|
var stringify = require_stringify();
|
|
@@ -3488,7 +3488,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
3488
3488
|
exports.stringifyDocument = stringifyDocument;
|
|
3489
3489
|
});
|
|
3490
3490
|
|
|
3491
|
-
// ../../node_modules/.
|
|
3491
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
|
|
3492
3492
|
var require_Document = __commonJS((exports) => {
|
|
3493
3493
|
var Alias = require_Alias();
|
|
3494
3494
|
var Collection = require_Collection();
|
|
@@ -3723,7 +3723,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
3723
3723
|
exports.Document = Document;
|
|
3724
3724
|
});
|
|
3725
3725
|
|
|
3726
|
-
// ../../node_modules/.
|
|
3726
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
|
|
3727
3727
|
var require_errors = __commonJS((exports) => {
|
|
3728
3728
|
class YAMLError extends Error {
|
|
3729
3729
|
constructor(name, pos, code, message) {
|
|
@@ -3788,7 +3788,7 @@ ${pointer}
|
|
|
3788
3788
|
exports.prettifyError = prettifyError;
|
|
3789
3789
|
});
|
|
3790
3790
|
|
|
3791
|
-
// ../../node_modules/.
|
|
3791
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
|
|
3792
3792
|
var require_resolve_props = __commonJS((exports) => {
|
|
3793
3793
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3794
3794
|
let spaceBefore = false;
|
|
@@ -3918,7 +3918,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
3918
3918
|
exports.resolveProps = resolveProps;
|
|
3919
3919
|
});
|
|
3920
3920
|
|
|
3921
|
-
// ../../node_modules/.
|
|
3921
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3922
3922
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
3923
3923
|
function containsNewline(key) {
|
|
3924
3924
|
if (!key)
|
|
@@ -3958,7 +3958,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
3958
3958
|
exports.containsNewline = containsNewline;
|
|
3959
3959
|
});
|
|
3960
3960
|
|
|
3961
|
-
// ../../node_modules/.
|
|
3961
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3962
3962
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
3963
3963
|
var utilContainsNewline = require_util_contains_newline();
|
|
3964
3964
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3973,7 +3973,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
3973
3973
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3974
3974
|
});
|
|
3975
3975
|
|
|
3976
|
-
// ../../node_modules/.
|
|
3976
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3977
3977
|
var require_util_map_includes = __commonJS((exports) => {
|
|
3978
3978
|
var identity = require_identity();
|
|
3979
3979
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3986,7 +3986,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
3986
3986
|
exports.mapIncludes = mapIncludes;
|
|
3987
3987
|
});
|
|
3988
3988
|
|
|
3989
|
-
// ../../node_modules/.
|
|
3989
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3990
3990
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
3991
3991
|
var Pair = require_Pair();
|
|
3992
3992
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4093,7 +4093,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
4093
4093
|
exports.resolveBlockMap = resolveBlockMap;
|
|
4094
4094
|
});
|
|
4095
4095
|
|
|
4096
|
-
// ../../node_modules/.
|
|
4096
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4097
4097
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
4098
4098
|
var YAMLSeq = require_YAMLSeq();
|
|
4099
4099
|
var resolveProps = require_resolve_props();
|
|
@@ -4141,7 +4141,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
4141
4141
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
4142
4142
|
});
|
|
4143
4143
|
|
|
4144
|
-
// ../../node_modules/.
|
|
4144
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
|
|
4145
4145
|
var require_resolve_end = __commonJS((exports) => {
|
|
4146
4146
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4147
4147
|
let comment = "";
|
|
@@ -4181,7 +4181,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
4181
4181
|
exports.resolveEnd = resolveEnd;
|
|
4182
4182
|
});
|
|
4183
4183
|
|
|
4184
|
-
// ../../node_modules/.
|
|
4184
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4185
4185
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
4186
4186
|
var identity = require_identity();
|
|
4187
4187
|
var Pair = require_Pair();
|
|
@@ -4372,7 +4372,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
4372
4372
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
4373
4373
|
});
|
|
4374
4374
|
|
|
4375
|
-
// ../../node_modules/.
|
|
4375
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
|
|
4376
4376
|
var require_compose_collection = __commonJS((exports) => {
|
|
4377
4377
|
var identity = require_identity();
|
|
4378
4378
|
var Scalar = require_Scalar();
|
|
@@ -4434,7 +4434,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
4434
4434
|
exports.composeCollection = composeCollection;
|
|
4435
4435
|
});
|
|
4436
4436
|
|
|
4437
|
-
// ../../node_modules/.
|
|
4437
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4438
4438
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
4439
4439
|
var Scalar = require_Scalar();
|
|
4440
4440
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4627,7 +4627,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
4627
4627
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
4628
4628
|
});
|
|
4629
4629
|
|
|
4630
|
-
// ../../node_modules/.
|
|
4630
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4631
4631
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
4632
4632
|
var Scalar = require_Scalar();
|
|
4633
4633
|
var resolveEnd = require_resolve_end();
|
|
@@ -4844,7 +4844,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
4844
4844
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4845
4845
|
});
|
|
4846
4846
|
|
|
4847
|
-
// ../../node_modules/.
|
|
4847
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4848
4848
|
var require_compose_scalar = __commonJS((exports) => {
|
|
4849
4849
|
var identity = require_identity();
|
|
4850
4850
|
var Scalar = require_Scalar();
|
|
@@ -4922,7 +4922,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
4922
4922
|
exports.composeScalar = composeScalar;
|
|
4923
4923
|
});
|
|
4924
4924
|
|
|
4925
|
-
// ../../node_modules/.
|
|
4925
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4926
4926
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
4927
4927
|
function emptyScalarPosition(offset, before, pos) {
|
|
4928
4928
|
if (before) {
|
|
@@ -4949,7 +4949,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
4949
4949
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4950
4950
|
});
|
|
4951
4951
|
|
|
4952
|
-
// ../../node_modules/.
|
|
4952
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
|
|
4953
4953
|
var require_compose_node = __commonJS((exports) => {
|
|
4954
4954
|
var Alias = require_Alias();
|
|
4955
4955
|
var identity = require_identity();
|
|
@@ -5052,7 +5052,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
5052
5052
|
exports.composeNode = composeNode;
|
|
5053
5053
|
});
|
|
5054
5054
|
|
|
5055
|
-
// ../../node_modules/.
|
|
5055
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
|
|
5056
5056
|
var require_compose_doc = __commonJS((exports) => {
|
|
5057
5057
|
var Document = require_Document();
|
|
5058
5058
|
var composeNode = require_compose_node();
|
|
@@ -5092,7 +5092,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
5092
5092
|
exports.composeDoc = composeDoc;
|
|
5093
5093
|
});
|
|
5094
5094
|
|
|
5095
|
-
// ../../node_modules/.
|
|
5095
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
|
|
5096
5096
|
var require_composer = __commonJS((exports) => {
|
|
5097
5097
|
var node_process = __require("process");
|
|
5098
5098
|
var directives = require_directives();
|
|
@@ -5178,8 +5178,10 @@ ${cb}` : comment;
|
|
|
5178
5178
|
}
|
|
5179
5179
|
}
|
|
5180
5180
|
if (afterDoc) {
|
|
5181
|
-
|
|
5182
|
-
|
|
5181
|
+
for (let i = 0;i < this.errors.length; ++i)
|
|
5182
|
+
doc.errors.push(this.errors[i]);
|
|
5183
|
+
for (let i = 0;i < this.warnings.length; ++i)
|
|
5184
|
+
doc.warnings.push(this.warnings[i]);
|
|
5183
5185
|
} else {
|
|
5184
5186
|
doc.errors = this.errors;
|
|
5185
5187
|
doc.warnings = this.warnings;
|
|
@@ -5281,7 +5283,7 @@ ${end.comment}` : end.comment;
|
|
|
5281
5283
|
exports.Composer = Composer;
|
|
5282
5284
|
});
|
|
5283
5285
|
|
|
5284
|
-
// ../../node_modules/.
|
|
5286
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5285
5287
|
var require_cst_scalar = __commonJS((exports) => {
|
|
5286
5288
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5287
5289
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5471,7 +5473,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
5471
5473
|
exports.setScalarValue = setScalarValue;
|
|
5472
5474
|
});
|
|
5473
5475
|
|
|
5474
|
-
// ../../node_modules/.
|
|
5476
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5475
5477
|
var require_cst_stringify = __commonJS((exports) => {
|
|
5476
5478
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
5477
5479
|
function stringifyToken(token) {
|
|
@@ -5529,7 +5531,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
5529
5531
|
exports.stringify = stringify;
|
|
5530
5532
|
});
|
|
5531
5533
|
|
|
5532
|
-
// ../../node_modules/.
|
|
5534
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
|
|
5533
5535
|
var require_cst_visit = __commonJS((exports) => {
|
|
5534
5536
|
var BREAK = Symbol("break visit");
|
|
5535
5537
|
var SKIP = Symbol("skip children");
|
|
@@ -5588,7 +5590,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
5588
5590
|
exports.visit = visit;
|
|
5589
5591
|
});
|
|
5590
5592
|
|
|
5591
|
-
// ../../node_modules/.
|
|
5593
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
|
|
5592
5594
|
var require_cst = __commonJS((exports) => {
|
|
5593
5595
|
var cstScalar = require_cst_scalar();
|
|
5594
5596
|
var cstStringify = require_cst_stringify();
|
|
@@ -5689,7 +5691,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
5689
5691
|
exports.tokenType = tokenType;
|
|
5690
5692
|
});
|
|
5691
5693
|
|
|
5692
|
-
// ../../node_modules/.
|
|
5694
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
|
|
5693
5695
|
var require_lexer = __commonJS((exports) => {
|
|
5694
5696
|
var cst = require_cst();
|
|
5695
5697
|
function isEmpty(ch) {
|
|
@@ -5891,7 +5893,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
5891
5893
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
5892
5894
|
this.indentNext = this.indentValue + 1;
|
|
5893
5895
|
this.indentValue += n;
|
|
5894
|
-
return
|
|
5896
|
+
return "block-start";
|
|
5895
5897
|
}
|
|
5896
5898
|
return "doc";
|
|
5897
5899
|
}
|
|
@@ -6198,26 +6200,37 @@ var require_lexer = __commonJS((exports) => {
|
|
|
6198
6200
|
return 0;
|
|
6199
6201
|
}
|
|
6200
6202
|
*pushIndicators() {
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6203
|
+
let n = 0;
|
|
6204
|
+
loop:
|
|
6205
|
+
while (true) {
|
|
6206
|
+
switch (this.charAt(0)) {
|
|
6207
|
+
case "!":
|
|
6208
|
+
n += yield* this.pushTag();
|
|
6209
|
+
n += yield* this.pushSpaces(true);
|
|
6210
|
+
continue loop;
|
|
6211
|
+
case "&":
|
|
6212
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
6213
|
+
n += yield* this.pushSpaces(true);
|
|
6214
|
+
continue loop;
|
|
6215
|
+
case "-":
|
|
6216
|
+
case "?":
|
|
6217
|
+
case ":": {
|
|
6218
|
+
const inFlow = this.flowLevel > 0;
|
|
6219
|
+
const ch1 = this.charAt(1);
|
|
6220
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
6221
|
+
if (!inFlow)
|
|
6222
|
+
this.indentNext = this.indentValue + 1;
|
|
6223
|
+
else if (this.flowKey)
|
|
6224
|
+
this.flowKey = false;
|
|
6225
|
+
n += yield* this.pushCount(1);
|
|
6226
|
+
n += yield* this.pushSpaces(true);
|
|
6227
|
+
continue loop;
|
|
6228
|
+
}
|
|
6229
|
+
}
|
|
6217
6230
|
}
|
|
6231
|
+
break loop;
|
|
6218
6232
|
}
|
|
6219
|
-
|
|
6220
|
-
return 0;
|
|
6233
|
+
return n;
|
|
6221
6234
|
}
|
|
6222
6235
|
*pushTag() {
|
|
6223
6236
|
if (this.charAt(1) === "<") {
|
|
@@ -6275,7 +6288,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
6275
6288
|
exports.Lexer = Lexer;
|
|
6276
6289
|
});
|
|
6277
6290
|
|
|
6278
|
-
// ../../node_modules/.
|
|
6291
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
|
|
6279
6292
|
var require_line_counter = __commonJS((exports) => {
|
|
6280
6293
|
class LineCounter {
|
|
6281
6294
|
constructor() {
|
|
@@ -6303,7 +6316,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
6303
6316
|
exports.LineCounter = LineCounter;
|
|
6304
6317
|
});
|
|
6305
6318
|
|
|
6306
|
-
// ../../node_modules/.
|
|
6319
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
|
|
6307
6320
|
var require_parser = __commonJS((exports) => {
|
|
6308
6321
|
var node_process = __require("process");
|
|
6309
6322
|
var cst = require_cst();
|
|
@@ -6371,6 +6384,13 @@ var require_parser = __commonJS((exports) => {
|
|
|
6371
6384
|
while (prev[++i]?.type === "space") {}
|
|
6372
6385
|
return prev.splice(i, prev.length);
|
|
6373
6386
|
}
|
|
6387
|
+
function arrayPushArray(target, source) {
|
|
6388
|
+
if (source.length < 1e5)
|
|
6389
|
+
Array.prototype.push.apply(target, source);
|
|
6390
|
+
else
|
|
6391
|
+
for (let i = 0;i < source.length; ++i)
|
|
6392
|
+
target.push(source[i]);
|
|
6393
|
+
}
|
|
6374
6394
|
function fixFlowSeqItems(fc) {
|
|
6375
6395
|
if (fc.start.type === "flow-seq-start") {
|
|
6376
6396
|
for (const it of fc.items) {
|
|
@@ -6380,11 +6400,11 @@ var require_parser = __commonJS((exports) => {
|
|
|
6380
6400
|
delete it.key;
|
|
6381
6401
|
if (isFlowToken(it.value)) {
|
|
6382
6402
|
if (it.value.end)
|
|
6383
|
-
|
|
6403
|
+
arrayPushArray(it.value.end, it.sep);
|
|
6384
6404
|
else
|
|
6385
6405
|
it.value.end = it.sep;
|
|
6386
6406
|
} else
|
|
6387
|
-
|
|
6407
|
+
arrayPushArray(it.start, it.sep);
|
|
6388
6408
|
delete it.sep;
|
|
6389
6409
|
}
|
|
6390
6410
|
}
|
|
@@ -6724,7 +6744,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
6724
6744
|
const prev = map.items[map.items.length - 2];
|
|
6725
6745
|
const end = prev?.value?.end;
|
|
6726
6746
|
if (Array.isArray(end)) {
|
|
6727
|
-
|
|
6747
|
+
arrayPushArray(end, it.start);
|
|
6728
6748
|
end.push(this.sourceToken);
|
|
6729
6749
|
map.items.pop();
|
|
6730
6750
|
return;
|
|
@@ -6912,7 +6932,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
6912
6932
|
const prev = seq.items[seq.items.length - 2];
|
|
6913
6933
|
const end = prev?.value?.end;
|
|
6914
6934
|
if (Array.isArray(end)) {
|
|
6915
|
-
|
|
6935
|
+
arrayPushArray(end, it.start);
|
|
6916
6936
|
end.push(this.sourceToken);
|
|
6917
6937
|
seq.items.pop();
|
|
6918
6938
|
return;
|
|
@@ -7152,7 +7172,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
7152
7172
|
exports.Parser = Parser;
|
|
7153
7173
|
});
|
|
7154
7174
|
|
|
7155
|
-
// ../../node_modules/.
|
|
7175
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
|
|
7156
7176
|
var require_public_api = __commonJS((exports) => {
|
|
7157
7177
|
var composer = require_composer();
|
|
7158
7178
|
var Document = require_Document();
|
|
@@ -7246,7 +7266,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
7246
7266
|
exports.stringify = stringify;
|
|
7247
7267
|
});
|
|
7248
7268
|
|
|
7249
|
-
// ../../node_modules/.
|
|
7269
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
|
|
7250
7270
|
var require_dist = __commonJS((exports) => {
|
|
7251
7271
|
var composer = require_composer();
|
|
7252
7272
|
var Document = require_Document();
|
|
@@ -7299,7 +7319,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
7299
7319
|
var require_package = __commonJS((exports, module) => {
|
|
7300
7320
|
module.exports = {
|
|
7301
7321
|
name: "@ai-setting/roy-agent-cli",
|
|
7302
|
-
version: "1.5.
|
|
7322
|
+
version: "1.5.82",
|
|
7303
7323
|
type: "module",
|
|
7304
7324
|
description: "CLI for roy-agent - Non-interactive command execution",
|
|
7305
7325
|
main: "./dist/index.js",
|
|
@@ -7326,7 +7346,7 @@ var require_package = __commonJS((exports, module) => {
|
|
|
7326
7346
|
},
|
|
7327
7347
|
dependencies: {
|
|
7328
7348
|
"@ai-setting/roy-agent-coder-harness": "^1.5.48",
|
|
7329
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
7349
|
+
"@ai-setting/roy-agent-core": "^1.5.81",
|
|
7330
7350
|
"@ai-setting/roy-agent-ontology-harness": "^1.5.47",
|
|
7331
7351
|
chalk: "^5.6.2",
|
|
7332
7352
|
commander: "^14.0.3",
|
|
@@ -8067,9 +8087,17 @@ class ContextHandlerService {
|
|
|
8067
8087
|
}
|
|
8068
8088
|
throw error;
|
|
8069
8089
|
}
|
|
8070
|
-
if (compactResult.newQuery) {
|
|
8071
|
-
query
|
|
8090
|
+
if (!compactResult.newQuery || compactResult.newQuery === query) {
|
|
8091
|
+
logger3.error("Compact succeeded but produced no new query, terminating to avoid silent retry loop", {
|
|
8092
|
+
compactCount,
|
|
8093
|
+
query
|
|
8094
|
+
});
|
|
8095
|
+
if (span) {
|
|
8096
|
+
span?.end(undefined, error);
|
|
8097
|
+
}
|
|
8098
|
+
throw error;
|
|
8072
8099
|
}
|
|
8100
|
+
query = compactResult.newQuery;
|
|
8073
8101
|
continue;
|
|
8074
8102
|
}
|
|
8075
8103
|
if (span) {
|
|
@@ -16967,6 +16995,7 @@ function renderNodesList(nodes) {
|
|
|
16967
16995
|
|
|
16968
16996
|
// src/commands/workflow/commands/list.ts
|
|
16969
16997
|
import chalk61 from "chalk";
|
|
16998
|
+
import { createWorkflowListTool } from "@ai-setting/roy-agent-core/env/workflow/tools";
|
|
16970
16999
|
var WorkflowListCommand = {
|
|
16971
17000
|
command: "list",
|
|
16972
17001
|
describe: "列出所有已注册的 Workflow",
|
|
@@ -17026,29 +17055,44 @@ var WorkflowListCommand = {
|
|
|
17026
17055
|
output.error('WorkflowService not initialized. Please run "roy-agent workflow init" first.');
|
|
17027
17056
|
process.exit(1);
|
|
17028
17057
|
}
|
|
17029
|
-
const
|
|
17058
|
+
const tool = createWorkflowListTool(service);
|
|
17059
|
+
const result = await tool.execute({
|
|
17030
17060
|
tag: args.tag,
|
|
17031
|
-
taskId: args.taskId,
|
|
17032
17061
|
search: args.search,
|
|
17033
17062
|
limit: args.limit,
|
|
17034
17063
|
offset: args.offset
|
|
17035
|
-
});
|
|
17064
|
+
}, {});
|
|
17065
|
+
if (!result.success) {
|
|
17066
|
+
output.error(result.error || "Failed to list workflows");
|
|
17067
|
+
process.exit(1);
|
|
17068
|
+
}
|
|
17069
|
+
const data = JSON.parse(result.output);
|
|
17070
|
+
const workflows = data.workflows || [];
|
|
17036
17071
|
if (args.json) {
|
|
17037
17072
|
output.json({
|
|
17038
17073
|
workflows: workflows.map((w) => ({
|
|
17039
|
-
id: w.id,
|
|
17040
17074
|
name: w.name,
|
|
17041
17075
|
version: w.version,
|
|
17042
17076
|
description: w.description,
|
|
17043
17077
|
tags: w.tags,
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
updatedAt: w.updatedAt.toISOString()
|
|
17078
|
+
createdAt: w.created_at,
|
|
17079
|
+
updatedAt: w.created_at
|
|
17047
17080
|
})),
|
|
17048
|
-
total: workflows.length
|
|
17081
|
+
total: data.total || workflows.length
|
|
17049
17082
|
});
|
|
17050
17083
|
} else {
|
|
17051
|
-
|
|
17084
|
+
const renderWorkflows = workflows.map((w) => ({
|
|
17085
|
+
id: w.name,
|
|
17086
|
+
name: w.name,
|
|
17087
|
+
version: w.version,
|
|
17088
|
+
description: w.description,
|
|
17089
|
+
tags: w.tags || [],
|
|
17090
|
+
createdAt: w.created_at ? new Date(w.created_at) : new Date,
|
|
17091
|
+
updatedAt: w.created_at ? new Date(w.created_at) : new Date,
|
|
17092
|
+
definition: { nodes: [], config: {}, inputs: {} },
|
|
17093
|
+
metadata: {}
|
|
17094
|
+
}));
|
|
17095
|
+
output.log(renderWorkflowList(renderWorkflows));
|
|
17052
17096
|
output.log(chalk61.green(`
|
|
17053
17097
|
✅ 共 ${workflows.length} 个 Workflow`));
|
|
17054
17098
|
}
|
|
@@ -17735,7 +17779,12 @@ var WorkflowAddCommand = {
|
|
|
17735
17779
|
}).option("config", {
|
|
17736
17780
|
describe: "配置文件路径",
|
|
17737
17781
|
type: "string"
|
|
17738
|
-
})
|
|
17782
|
+
}).epilogue(`提示:
|
|
17783
|
+
- 模版变量建议不加空格: {{nodeId.field}} 即可,{{ nodeId.field }}(带空格)也能通过自动兼容
|
|
17784
|
+
- 输出节点请使用 echo tool 的 message 参数:
|
|
17785
|
+
tool: echo
|
|
17786
|
+
message: "{{nodeId.field}}"
|
|
17787
|
+
不要用 bash tool + command 输出多行内容(shell 会执行失败)。`),
|
|
17739
17788
|
async handler(args) {
|
|
17740
17789
|
const a = args;
|
|
17741
17790
|
const output = new OutputService;
|
|
@@ -17880,6 +17929,7 @@ Agent output:
|
|
|
17880
17929
|
|
|
17881
17930
|
// src/commands/workflow/commands/get.ts
|
|
17882
17931
|
import chalk63 from "chalk";
|
|
17932
|
+
import { createWorkflowGetTool } from "@ai-setting/roy-agent-core/env/workflow/tools";
|
|
17883
17933
|
var WorkflowGetCommand = {
|
|
17884
17934
|
command: "get <identifier>",
|
|
17885
17935
|
describe: "获取 Workflow 或 Run 详情",
|
|
@@ -17929,46 +17979,59 @@ var WorkflowGetCommand = {
|
|
|
17929
17979
|
process.exit(1);
|
|
17930
17980
|
}
|
|
17931
17981
|
const service = workflowComponent.getService();
|
|
17982
|
+
const tool = createWorkflowGetTool(service);
|
|
17932
17983
|
const isRunId = args.runId || args.identifier.startsWith("run_");
|
|
17933
17984
|
if (isRunId) {
|
|
17934
|
-
const
|
|
17935
|
-
if (!
|
|
17936
|
-
output.error(`Run not found: ${args.identifier}`);
|
|
17985
|
+
const result = await tool.execute({ run_id: args.identifier }, {});
|
|
17986
|
+
if (!result.success) {
|
|
17987
|
+
output.error(result.error || `Run not found: ${args.identifier}`);
|
|
17937
17988
|
process.exit(1);
|
|
17938
17989
|
}
|
|
17939
|
-
const
|
|
17990
|
+
const data = JSON.parse(result.output);
|
|
17940
17991
|
if (args.json) {
|
|
17941
17992
|
output.json({
|
|
17942
17993
|
run: {
|
|
17943
|
-
id:
|
|
17944
|
-
workflowId:
|
|
17945
|
-
status:
|
|
17946
|
-
input:
|
|
17947
|
-
startedAt:
|
|
17994
|
+
id: data.run_id,
|
|
17995
|
+
workflowId: data.workflow_id,
|
|
17996
|
+
status: data.status,
|
|
17997
|
+
input: data.input,
|
|
17998
|
+
startedAt: data.created_at
|
|
17948
17999
|
}
|
|
17949
18000
|
});
|
|
17950
18001
|
} else {
|
|
17951
18002
|
const run = {
|
|
17952
|
-
id:
|
|
17953
|
-
workflowId:
|
|
17954
|
-
workflowName:
|
|
17955
|
-
status:
|
|
17956
|
-
input:
|
|
17957
|
-
startedAt:
|
|
18003
|
+
id: data.run_id,
|
|
18004
|
+
workflowId: data.workflow_id || "",
|
|
18005
|
+
workflowName: data.workflow_name,
|
|
18006
|
+
status: data.status,
|
|
18007
|
+
input: data.input,
|
|
18008
|
+
startedAt: data.created_at ? new Date(data.created_at) : undefined,
|
|
17958
18009
|
debugMode: false
|
|
17959
18010
|
};
|
|
17960
18011
|
output.log(renderRunDetail(run));
|
|
17961
18012
|
}
|
|
17962
18013
|
} else {
|
|
17963
|
-
const
|
|
17964
|
-
if (!
|
|
17965
|
-
output.error(`Workflow not found: ${args.identifier}`);
|
|
18014
|
+
const result = await tool.execute({ name: args.identifier }, {});
|
|
18015
|
+
if (!result.success) {
|
|
18016
|
+
output.error(result.error || `Workflow not found: ${args.identifier}`);
|
|
17966
18017
|
process.exit(1);
|
|
17967
18018
|
}
|
|
18019
|
+
const data = JSON.parse(result.output);
|
|
18020
|
+
const workflow = {
|
|
18021
|
+
id: data.name,
|
|
18022
|
+
name: data.name,
|
|
18023
|
+
version: data.version,
|
|
18024
|
+
description: data.description,
|
|
18025
|
+
tags: data.tags || [],
|
|
18026
|
+
createdAt: data.created_at ? new Date(data.created_at) : new Date,
|
|
18027
|
+
updatedAt: data.updated_at ? new Date(data.updated_at) : new Date,
|
|
18028
|
+
definition: data.definition || { inputs: {}, nodes: [], config: {} },
|
|
18029
|
+
metadata: {}
|
|
18030
|
+
};
|
|
17968
18031
|
let sessionRuns = [];
|
|
17969
18032
|
if (args.includeRuns) {
|
|
17970
18033
|
sessionRuns = await service.listSessions({ limit: 5 });
|
|
17971
|
-
sessionRuns = sessionRuns.filter((r) => r.metadata.
|
|
18034
|
+
sessionRuns = sessionRuns.filter((r) => r.metadata.workflowName === workflow.name);
|
|
17972
18035
|
}
|
|
17973
18036
|
const runs = sessionRuns.map((r) => {
|
|
17974
18037
|
const m = r.metadata;
|
|
@@ -17984,7 +18047,7 @@ var WorkflowGetCommand = {
|
|
|
17984
18047
|
if (args.json) {
|
|
17985
18048
|
output.json({
|
|
17986
18049
|
workflow: {
|
|
17987
|
-
id: workflow.
|
|
18050
|
+
id: workflow.name,
|
|
17988
18051
|
name: workflow.name,
|
|
17989
18052
|
version: workflow.version,
|
|
17990
18053
|
description: workflow.description,
|
|
@@ -18005,8 +18068,13 @@ var WorkflowGetCommand = {
|
|
|
18005
18068
|
if (args.includeNodes) {
|
|
18006
18069
|
output.log(chalk63.bold(`
|
|
18007
18070
|
\uD83D\uDCCB All Nodes:`));
|
|
18008
|
-
output.log(renderNodesList(
|
|
18071
|
+
output.log(renderNodesList(data.nodes || []));
|
|
18009
18072
|
}
|
|
18073
|
+
const yaml = await Promise.resolve().then(() => __toESM(require_dist(), 1));
|
|
18074
|
+
const defYaml = yaml.stringify(data.definition || {}, { indent: 2 });
|
|
18075
|
+
output.log(chalk63.bold(`
|
|
18076
|
+
\uD83D\uDCC4 Definition (YAML):`));
|
|
18077
|
+
output.log(chalk63.gray(defYaml));
|
|
18010
18078
|
}
|
|
18011
18079
|
}
|
|
18012
18080
|
} catch (error) {
|
|
@@ -18167,6 +18235,7 @@ var import_yaml = __toESM(require_dist(), 1);
|
|
|
18167
18235
|
import chalk66 from "chalk";
|
|
18168
18236
|
import fs5 from "fs";
|
|
18169
18237
|
import path8 from "path";
|
|
18238
|
+
import { createRunWorkflowTool } from "@ai-setting/roy-agent-core/env/workflow/tools";
|
|
18170
18239
|
import { getTracerProvider as getTracerProvider4, propagation, wrapFunction } from "@ai-setting/roy-agent-core";
|
|
18171
18240
|
var runWorkflow = wrapFunction(async function runWorkflowImpl(args) {
|
|
18172
18241
|
const output = new OutputService;
|
|
@@ -18323,18 +18392,27 @@ var runWorkflow = wrapFunction(async function runWorkflowImpl(args) {
|
|
|
18323
18392
|
\uD83D\uDCA1 Use "roy-agent workflow run ${result.runId} --session-id ${result.runId} --input '<response>'" to resume`));
|
|
18324
18393
|
}
|
|
18325
18394
|
} else {
|
|
18326
|
-
|
|
18327
|
-
const
|
|
18395
|
+
const tool = createRunWorkflowTool(service);
|
|
18396
|
+
const toolResult = await tool.execute({
|
|
18397
|
+
workflow_name: args.identifier,
|
|
18398
|
+
input: input || undefined,
|
|
18399
|
+
timeout: args.timeout
|
|
18400
|
+
}, {});
|
|
18401
|
+
if (!toolResult.success) {
|
|
18402
|
+
output.error(toolResult.error || `Failed to run workflow: ${args.identifier}`);
|
|
18403
|
+
process.exit(1);
|
|
18404
|
+
}
|
|
18405
|
+
const runData = toolResult.output;
|
|
18328
18406
|
output.log(renderRunResult({
|
|
18329
|
-
runId:
|
|
18330
|
-
status:
|
|
18331
|
-
output:
|
|
18332
|
-
error:
|
|
18333
|
-
durationMs:
|
|
18407
|
+
runId: runData.run_id,
|
|
18408
|
+
status: runData.status,
|
|
18409
|
+
output: runData.output,
|
|
18410
|
+
error: runData.error,
|
|
18411
|
+
durationMs: runData.duration_ms
|
|
18334
18412
|
}));
|
|
18335
|
-
if (
|
|
18413
|
+
if (runData.status === "paused") {
|
|
18336
18414
|
output.log(chalk66.gray(`
|
|
18337
|
-
\uD83D\uDCA1 Use "roy-agent workflow run ${
|
|
18415
|
+
\uD83D\uDCA1 Use "roy-agent workflow run ${runData.run_id} --session-id ${runData.run_id} --input '<response>'" to resume`));
|
|
18338
18416
|
}
|
|
18339
18417
|
}
|
|
18340
18418
|
if (workflowSpan) {
|
|
@@ -18406,6 +18484,7 @@ var WorkflowRunCommand = {
|
|
|
18406
18484
|
|
|
18407
18485
|
// src/commands/workflow/commands/stop.ts
|
|
18408
18486
|
import chalk67 from "chalk";
|
|
18487
|
+
import { createWorkflowRunStopTool } from "@ai-setting/roy-agent-core/env/workflow/tools";
|
|
18409
18488
|
import { wrapFunction as wrapFunction2 } from "@ai-setting/roy-agent-core";
|
|
18410
18489
|
var stopWorkflow = wrapFunction2(async function stopWorkflowImpl(args) {
|
|
18411
18490
|
const output = new OutputService;
|
|
@@ -18423,17 +18502,12 @@ var stopWorkflow = wrapFunction2(async function stopWorkflowImpl(args) {
|
|
|
18423
18502
|
process.exit(1);
|
|
18424
18503
|
}
|
|
18425
18504
|
const service = workflowComponent.getService();
|
|
18426
|
-
const
|
|
18427
|
-
|
|
18428
|
-
|
|
18505
|
+
const tool = createWorkflowRunStopTool(service);
|
|
18506
|
+
const result = await tool.execute({ run_id: args.runId }, {});
|
|
18507
|
+
if (!result.success) {
|
|
18508
|
+
output.error(result.error || `Failed to stop workflow: ${args.runId}`);
|
|
18429
18509
|
process.exit(1);
|
|
18430
18510
|
}
|
|
18431
|
-
const metadata = session.metadata;
|
|
18432
|
-
if (!["running", "paused"].includes(metadata.status)) {
|
|
18433
|
-
output.error(`Cannot stop run in status: ${metadata.status}`);
|
|
18434
|
-
process.exit(1);
|
|
18435
|
-
}
|
|
18436
|
-
await service.stopRun(args.runId);
|
|
18437
18511
|
output.log(chalk67.red(`
|
|
18438
18512
|
⏹️ Workflow stopped: ${args.runId}`));
|
|
18439
18513
|
} catch (error) {
|
|
@@ -18459,6 +18533,7 @@ var WorkflowStopCommand = {
|
|
|
18459
18533
|
|
|
18460
18534
|
// src/commands/workflow/commands/status.ts
|
|
18461
18535
|
import chalk68 from "chalk";
|
|
18536
|
+
import { createWorkflowRunStatusTool } from "@ai-setting/roy-agent-core/env/workflow/tools";
|
|
18462
18537
|
var WorkflowStatusCommand = {
|
|
18463
18538
|
command: "status <runId>",
|
|
18464
18539
|
describe: "查看 Workflow 运行状态",
|
|
@@ -18496,23 +18571,24 @@ var WorkflowStatusCommand = {
|
|
|
18496
18571
|
process.exit(1);
|
|
18497
18572
|
}
|
|
18498
18573
|
const service = workflowComponent.getService();
|
|
18574
|
+
const tool = createWorkflowRunStatusTool(service);
|
|
18499
18575
|
if (args.watch) {
|
|
18500
18576
|
let lastStatus = "";
|
|
18501
18577
|
while (true) {
|
|
18502
|
-
const
|
|
18503
|
-
if (!
|
|
18504
|
-
output.error(`Run not found: ${args.runId}`);
|
|
18578
|
+
const result = await tool.execute({ run_id: args.runId }, {});
|
|
18579
|
+
if (!result.success) {
|
|
18580
|
+
output.error(result.error || `Run not found: ${args.runId}`);
|
|
18505
18581
|
process.exit(1);
|
|
18506
18582
|
}
|
|
18507
|
-
const
|
|
18508
|
-
const status =
|
|
18583
|
+
const data = JSON.parse(result.output);
|
|
18584
|
+
const status = data.status;
|
|
18509
18585
|
if (status !== lastStatus) {
|
|
18510
18586
|
const run = {
|
|
18511
|
-
id:
|
|
18512
|
-
workflowId:
|
|
18513
|
-
workflowName:
|
|
18587
|
+
id: data.run_id,
|
|
18588
|
+
workflowId: data.workflow_id || "",
|
|
18589
|
+
workflowName: data.workflow_name,
|
|
18514
18590
|
status,
|
|
18515
|
-
startedAt:
|
|
18591
|
+
startedAt: data.created_at ? new Date(data.created_at) : undefined,
|
|
18516
18592
|
debugMode: false
|
|
18517
18593
|
};
|
|
18518
18594
|
output.log(renderRunDetail(run));
|
|
@@ -18524,19 +18600,19 @@ var WorkflowStatusCommand = {
|
|
|
18524
18600
|
await new Promise((resolve) => setTimeout(resolve, args.interval));
|
|
18525
18601
|
}
|
|
18526
18602
|
} else {
|
|
18527
|
-
const
|
|
18528
|
-
if (!
|
|
18529
|
-
output.error(`Run not found: ${args.runId}`);
|
|
18603
|
+
const result = await tool.execute({ run_id: args.runId }, {});
|
|
18604
|
+
if (!result.success) {
|
|
18605
|
+
output.error(result.error || `Run not found: ${args.runId}`);
|
|
18530
18606
|
process.exit(1);
|
|
18531
18607
|
}
|
|
18532
|
-
const
|
|
18533
|
-
const status =
|
|
18608
|
+
const data = JSON.parse(result.output);
|
|
18609
|
+
const status = data.status;
|
|
18534
18610
|
const run = {
|
|
18535
|
-
id:
|
|
18536
|
-
workflowId:
|
|
18537
|
-
workflowName:
|
|
18611
|
+
id: data.run_id,
|
|
18612
|
+
workflowId: data.workflow_id || "",
|
|
18613
|
+
workflowName: data.workflow_name,
|
|
18538
18614
|
status,
|
|
18539
|
-
startedAt:
|
|
18615
|
+
startedAt: data.created_at ? new Date(data.created_at) : undefined,
|
|
18540
18616
|
debugMode: false
|
|
18541
18617
|
};
|
|
18542
18618
|
output.log(renderRunDetail(run));
|