switchroom 0.14.33 → 0.14.34
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/agent-scheduler/index.js +88 -80
- package/dist/auth-broker/index.js +88 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +90 -82
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +376 -358
- package/dist/host-control/main.js +156 -148
- package/dist/vault/approvals/kernel-server.js +90 -82
- package/dist/vault/broker/server.js +102 -84
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +205 -191
- package/telegram-plugin/dist/server.js +160 -160
|
@@ -140,6 +140,12 @@ function mergeAgentConfig(defaultsIn, agentIn) {
|
|
|
140
140
|
deny: dedupe([...dDeny, ...aDeny])
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
+
if (defaults.secrets || merged.secrets) {
|
|
144
|
+
merged.secrets = dedupe([
|
|
145
|
+
...defaults.secrets ?? [],
|
|
146
|
+
...merged.secrets ?? []
|
|
147
|
+
]);
|
|
148
|
+
}
|
|
143
149
|
if (defaults.soul || merged.soul) {
|
|
144
150
|
const base = defaults.soul ?? {};
|
|
145
151
|
const override = merged.soul ?? {};
|
|
@@ -340,7 +346,7 @@ var init_merge = __esm(() => {
|
|
|
340
346
|
})(mergeAgentConfig ||= {});
|
|
341
347
|
});
|
|
342
348
|
|
|
343
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
349
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
344
350
|
var require_identity = __commonJS((exports) => {
|
|
345
351
|
var ALIAS = Symbol.for("yaml.alias");
|
|
346
352
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -394,7 +400,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
394
400
|
exports.isSeq = isSeq;
|
|
395
401
|
});
|
|
396
402
|
|
|
397
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
403
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
398
404
|
var require_visit = __commonJS((exports) => {
|
|
399
405
|
var identity = require_identity();
|
|
400
406
|
var BREAK = Symbol("break visit");
|
|
@@ -549,7 +555,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
549
555
|
exports.visitAsync = visitAsync;
|
|
550
556
|
});
|
|
551
557
|
|
|
552
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
558
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
553
559
|
var require_directives = __commonJS((exports) => {
|
|
554
560
|
var identity = require_identity();
|
|
555
561
|
var visit = require_visit();
|
|
@@ -701,7 +707,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
701
707
|
exports.Directives = Directives;
|
|
702
708
|
});
|
|
703
709
|
|
|
704
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
710
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
705
711
|
var require_anchors = __commonJS((exports) => {
|
|
706
712
|
var identity = require_identity();
|
|
707
713
|
var visit = require_visit();
|
|
@@ -763,7 +769,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
763
769
|
exports.findNewAnchor = findNewAnchor;
|
|
764
770
|
});
|
|
765
771
|
|
|
766
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
772
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
767
773
|
var require_applyReviver = __commonJS((exports) => {
|
|
768
774
|
function applyReviver(reviver, obj, key, val) {
|
|
769
775
|
if (val && typeof val === "object") {
|
|
@@ -810,7 +816,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
810
816
|
exports.applyReviver = applyReviver;
|
|
811
817
|
});
|
|
812
818
|
|
|
813
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
819
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
814
820
|
var require_toJS = __commonJS((exports) => {
|
|
815
821
|
var identity = require_identity();
|
|
816
822
|
function toJS(value, arg, ctx) {
|
|
@@ -837,7 +843,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
837
843
|
exports.toJS = toJS;
|
|
838
844
|
});
|
|
839
845
|
|
|
840
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
846
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
841
847
|
var require_Node = __commonJS((exports) => {
|
|
842
848
|
var applyReviver = require_applyReviver();
|
|
843
849
|
var identity = require_identity();
|
|
@@ -874,7 +880,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
874
880
|
exports.NodeBase = NodeBase;
|
|
875
881
|
});
|
|
876
882
|
|
|
877
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
883
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
878
884
|
var require_Alias = __commonJS((exports) => {
|
|
879
885
|
var anchors = require_anchors();
|
|
880
886
|
var visit = require_visit();
|
|
@@ -982,7 +988,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
982
988
|
exports.Alias = Alias;
|
|
983
989
|
});
|
|
984
990
|
|
|
985
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
991
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
986
992
|
var require_Scalar = __commonJS((exports) => {
|
|
987
993
|
var identity = require_identity();
|
|
988
994
|
var Node = require_Node();
|
|
@@ -1010,7 +1016,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
1010
1016
|
exports.isScalarValue = isScalarValue;
|
|
1011
1017
|
});
|
|
1012
1018
|
|
|
1013
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
1019
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
1014
1020
|
var require_createNode = __commonJS((exports) => {
|
|
1015
1021
|
var Alias = require_Alias();
|
|
1016
1022
|
var identity = require_identity();
|
|
@@ -1082,7 +1088,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
1082
1088
|
exports.createNode = createNode;
|
|
1083
1089
|
});
|
|
1084
1090
|
|
|
1085
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
1091
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
1086
1092
|
var require_Collection = __commonJS((exports) => {
|
|
1087
1093
|
var createNode = require_createNode();
|
|
1088
1094
|
var identity = require_identity();
|
|
@@ -1197,7 +1203,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
1197
1203
|
exports.isEmptyPath = isEmptyPath;
|
|
1198
1204
|
});
|
|
1199
1205
|
|
|
1200
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1206
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1201
1207
|
var require_stringifyComment = __commonJS((exports) => {
|
|
1202
1208
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
1203
1209
|
function indentComment(comment, indent) {
|
|
@@ -1214,7 +1220,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
1214
1220
|
exports.stringifyComment = stringifyComment;
|
|
1215
1221
|
});
|
|
1216
1222
|
|
|
1217
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1223
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1218
1224
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
1219
1225
|
var FOLD_FLOW = "flow";
|
|
1220
1226
|
var FOLD_BLOCK = "block";
|
|
@@ -1351,7 +1357,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
1351
1357
|
exports.foldFlowLines = foldFlowLines;
|
|
1352
1358
|
});
|
|
1353
1359
|
|
|
1354
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1360
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1355
1361
|
var require_stringifyString = __commonJS((exports) => {
|
|
1356
1362
|
var Scalar = require_Scalar();
|
|
1357
1363
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1649,7 +1655,7 @@ ${indent}`);
|
|
|
1649
1655
|
exports.stringifyString = stringifyString;
|
|
1650
1656
|
});
|
|
1651
1657
|
|
|
1652
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
1658
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
1653
1659
|
var require_stringify = __commonJS((exports) => {
|
|
1654
1660
|
var anchors = require_anchors();
|
|
1655
1661
|
var identity = require_identity();
|
|
@@ -1770,7 +1776,7 @@ ${ctx.indent}${str}`;
|
|
|
1770
1776
|
exports.stringify = stringify;
|
|
1771
1777
|
});
|
|
1772
1778
|
|
|
1773
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1779
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1774
1780
|
var require_stringifyPair = __commonJS((exports) => {
|
|
1775
1781
|
var identity = require_identity();
|
|
1776
1782
|
var Scalar = require_Scalar();
|
|
@@ -1906,7 +1912,7 @@ ${ctx.indent}`;
|
|
|
1906
1912
|
exports.stringifyPair = stringifyPair;
|
|
1907
1913
|
});
|
|
1908
1914
|
|
|
1909
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
1915
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
1910
1916
|
var require_log = __commonJS((exports) => {
|
|
1911
1917
|
var node_process = __require("process");
|
|
1912
1918
|
function debug(logLevel, ...messages) {
|
|
@@ -1925,7 +1931,7 @@ var require_log = __commonJS((exports) => {
|
|
|
1925
1931
|
exports.warn = warn;
|
|
1926
1932
|
});
|
|
1927
1933
|
|
|
1928
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1934
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1929
1935
|
var require_merge = __commonJS((exports) => {
|
|
1930
1936
|
var identity = require_identity();
|
|
1931
1937
|
var Scalar = require_Scalar();
|
|
@@ -1979,7 +1985,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
1979
1985
|
exports.merge = merge;
|
|
1980
1986
|
});
|
|
1981
1987
|
|
|
1982
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1988
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1983
1989
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
1984
1990
|
var log = require_log();
|
|
1985
1991
|
var merge = require_merge();
|
|
@@ -2040,7 +2046,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
2040
2046
|
exports.addPairToJSMap = addPairToJSMap;
|
|
2041
2047
|
});
|
|
2042
2048
|
|
|
2043
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
2049
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
2044
2050
|
var require_Pair = __commonJS((exports) => {
|
|
2045
2051
|
var createNode = require_createNode();
|
|
2046
2052
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2078,7 +2084,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
2078
2084
|
exports.createPair = createPair;
|
|
2079
2085
|
});
|
|
2080
2086
|
|
|
2081
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2087
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2082
2088
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
2083
2089
|
var identity = require_identity();
|
|
2084
2090
|
var stringify = require_stringify();
|
|
@@ -2230,7 +2236,7 @@ ${indent}${end}`;
|
|
|
2230
2236
|
exports.stringifyCollection = stringifyCollection;
|
|
2231
2237
|
});
|
|
2232
2238
|
|
|
2233
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2239
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2234
2240
|
var require_YAMLMap = __commonJS((exports) => {
|
|
2235
2241
|
var stringifyCollection = require_stringifyCollection();
|
|
2236
2242
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2357,7 +2363,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
2357
2363
|
exports.findPair = findPair;
|
|
2358
2364
|
});
|
|
2359
2365
|
|
|
2360
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
2366
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
2361
2367
|
var require_map = __commonJS((exports) => {
|
|
2362
2368
|
var identity = require_identity();
|
|
2363
2369
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2376,7 +2382,7 @@ var require_map = __commonJS((exports) => {
|
|
|
2376
2382
|
exports.map = map;
|
|
2377
2383
|
});
|
|
2378
2384
|
|
|
2379
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2385
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2380
2386
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
2381
2387
|
var createNode = require_createNode();
|
|
2382
2388
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2469,7 +2475,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
2469
2475
|
exports.YAMLSeq = YAMLSeq;
|
|
2470
2476
|
});
|
|
2471
2477
|
|
|
2472
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
2478
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
2473
2479
|
var require_seq = __commonJS((exports) => {
|
|
2474
2480
|
var identity = require_identity();
|
|
2475
2481
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2488,7 +2494,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
2488
2494
|
exports.seq = seq;
|
|
2489
2495
|
});
|
|
2490
2496
|
|
|
2491
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
2497
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
2492
2498
|
var require_string = __commonJS((exports) => {
|
|
2493
2499
|
var stringifyString = require_stringifyString();
|
|
2494
2500
|
var string = {
|
|
@@ -2504,7 +2510,7 @@ var require_string = __commonJS((exports) => {
|
|
|
2504
2510
|
exports.string = string;
|
|
2505
2511
|
});
|
|
2506
2512
|
|
|
2507
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
2513
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
2508
2514
|
var require_null = __commonJS((exports) => {
|
|
2509
2515
|
var Scalar = require_Scalar();
|
|
2510
2516
|
var nullTag = {
|
|
@@ -2519,7 +2525,7 @@ var require_null = __commonJS((exports) => {
|
|
|
2519
2525
|
exports.nullTag = nullTag;
|
|
2520
2526
|
});
|
|
2521
2527
|
|
|
2522
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
2528
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
2523
2529
|
var require_bool = __commonJS((exports) => {
|
|
2524
2530
|
var Scalar = require_Scalar();
|
|
2525
2531
|
var boolTag = {
|
|
@@ -2540,7 +2546,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
2540
2546
|
exports.boolTag = boolTag;
|
|
2541
2547
|
});
|
|
2542
2548
|
|
|
2543
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2549
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2544
2550
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
2545
2551
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2546
2552
|
if (typeof value === "bigint")
|
|
@@ -2564,7 +2570,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
2564
2570
|
exports.stringifyNumber = stringifyNumber;
|
|
2565
2571
|
});
|
|
2566
2572
|
|
|
2567
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
2573
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
2568
2574
|
var require_float = __commonJS((exports) => {
|
|
2569
2575
|
var Scalar = require_Scalar();
|
|
2570
2576
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2607,7 +2613,7 @@ var require_float = __commonJS((exports) => {
|
|
|
2607
2613
|
exports.floatNaN = floatNaN;
|
|
2608
2614
|
});
|
|
2609
2615
|
|
|
2610
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
2616
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
2611
2617
|
var require_int = __commonJS((exports) => {
|
|
2612
2618
|
var stringifyNumber = require_stringifyNumber();
|
|
2613
2619
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2649,7 +2655,7 @@ var require_int = __commonJS((exports) => {
|
|
|
2649
2655
|
exports.intOct = intOct;
|
|
2650
2656
|
});
|
|
2651
2657
|
|
|
2652
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
2658
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
2653
2659
|
var require_schema = __commonJS((exports) => {
|
|
2654
2660
|
var map = require_map();
|
|
2655
2661
|
var _null = require_null();
|
|
@@ -2674,7 +2680,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
2674
2680
|
exports.schema = schema;
|
|
2675
2681
|
});
|
|
2676
2682
|
|
|
2677
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
2683
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
2678
2684
|
var require_schema2 = __commonJS((exports) => {
|
|
2679
2685
|
var Scalar = require_Scalar();
|
|
2680
2686
|
var map = require_map();
|
|
@@ -2738,7 +2744,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
2738
2744
|
exports.schema = schema;
|
|
2739
2745
|
});
|
|
2740
2746
|
|
|
2741
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2747
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2742
2748
|
var require_binary = __commonJS((exports) => {
|
|
2743
2749
|
var node_buffer = __require("buffer");
|
|
2744
2750
|
var Scalar = require_Scalar();
|
|
@@ -2793,7 +2799,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
2793
2799
|
exports.binary = binary;
|
|
2794
2800
|
});
|
|
2795
2801
|
|
|
2796
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2802
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2797
2803
|
var require_pairs = __commonJS((exports) => {
|
|
2798
2804
|
var identity = require_identity();
|
|
2799
2805
|
var Pair = require_Pair();
|
|
@@ -2868,7 +2874,7 @@ ${cn.comment}` : item.comment;
|
|
|
2868
2874
|
exports.resolvePairs = resolvePairs;
|
|
2869
2875
|
});
|
|
2870
2876
|
|
|
2871
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2877
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2872
2878
|
var require_omap = __commonJS((exports) => {
|
|
2873
2879
|
var identity = require_identity();
|
|
2874
2880
|
var toJS = require_toJS();
|
|
@@ -2940,7 +2946,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
2940
2946
|
exports.omap = omap;
|
|
2941
2947
|
});
|
|
2942
2948
|
|
|
2943
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2949
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2944
2950
|
var require_bool2 = __commonJS((exports) => {
|
|
2945
2951
|
var Scalar = require_Scalar();
|
|
2946
2952
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2969,7 +2975,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
2969
2975
|
exports.trueTag = trueTag;
|
|
2970
2976
|
});
|
|
2971
2977
|
|
|
2972
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2978
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2973
2979
|
var require_float2 = __commonJS((exports) => {
|
|
2974
2980
|
var Scalar = require_Scalar();
|
|
2975
2981
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3015,7 +3021,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
3015
3021
|
exports.floatNaN = floatNaN;
|
|
3016
3022
|
});
|
|
3017
3023
|
|
|
3018
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3024
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3019
3025
|
var require_int2 = __commonJS((exports) => {
|
|
3020
3026
|
var stringifyNumber = require_stringifyNumber();
|
|
3021
3027
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3091,7 +3097,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
3091
3097
|
exports.intOct = intOct;
|
|
3092
3098
|
});
|
|
3093
3099
|
|
|
3094
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3100
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3095
3101
|
var require_set = __commonJS((exports) => {
|
|
3096
3102
|
var identity = require_identity();
|
|
3097
3103
|
var Pair = require_Pair();
|
|
@@ -3174,7 +3180,7 @@ var require_set = __commonJS((exports) => {
|
|
|
3174
3180
|
exports.set = set;
|
|
3175
3181
|
});
|
|
3176
3182
|
|
|
3177
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3183
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3178
3184
|
var require_timestamp = __commonJS((exports) => {
|
|
3179
3185
|
var stringifyNumber = require_stringifyNumber();
|
|
3180
3186
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3256,7 +3262,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
3256
3262
|
exports.timestamp = timestamp;
|
|
3257
3263
|
});
|
|
3258
3264
|
|
|
3259
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3265
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3260
3266
|
var require_schema3 = __commonJS((exports) => {
|
|
3261
3267
|
var map = require_map();
|
|
3262
3268
|
var _null = require_null();
|
|
@@ -3297,7 +3303,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
3297
3303
|
exports.schema = schema;
|
|
3298
3304
|
});
|
|
3299
3305
|
|
|
3300
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
3306
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
3301
3307
|
var require_tags = __commonJS((exports) => {
|
|
3302
3308
|
var map = require_map();
|
|
3303
3309
|
var _null = require_null();
|
|
@@ -3388,7 +3394,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
3388
3394
|
exports.getTags = getTags;
|
|
3389
3395
|
});
|
|
3390
3396
|
|
|
3391
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
3397
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
3392
3398
|
var require_Schema = __commonJS((exports) => {
|
|
3393
3399
|
var identity = require_identity();
|
|
3394
3400
|
var map = require_map();
|
|
@@ -3418,7 +3424,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
3418
3424
|
exports.Schema = Schema;
|
|
3419
3425
|
});
|
|
3420
3426
|
|
|
3421
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3427
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3422
3428
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
3423
3429
|
var identity = require_identity();
|
|
3424
3430
|
var stringify = require_stringify();
|
|
@@ -3498,7 +3504,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
3498
3504
|
exports.stringifyDocument = stringifyDocument;
|
|
3499
3505
|
});
|
|
3500
3506
|
|
|
3501
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
3507
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
3502
3508
|
var require_Document = __commonJS((exports) => {
|
|
3503
3509
|
var Alias = require_Alias();
|
|
3504
3510
|
var Collection = require_Collection();
|
|
@@ -3733,7 +3739,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
3733
3739
|
exports.Document = Document;
|
|
3734
3740
|
});
|
|
3735
3741
|
|
|
3736
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
3742
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
3737
3743
|
var require_errors = __commonJS((exports) => {
|
|
3738
3744
|
class YAMLError extends Error {
|
|
3739
3745
|
constructor(name, pos, code, message) {
|
|
@@ -3798,7 +3804,7 @@ ${pointer}
|
|
|
3798
3804
|
exports.prettifyError = prettifyError;
|
|
3799
3805
|
});
|
|
3800
3806
|
|
|
3801
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
3807
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
3802
3808
|
var require_resolve_props = __commonJS((exports) => {
|
|
3803
3809
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3804
3810
|
let spaceBefore = false;
|
|
@@ -3928,7 +3934,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
3928
3934
|
exports.resolveProps = resolveProps;
|
|
3929
3935
|
});
|
|
3930
3936
|
|
|
3931
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3937
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3932
3938
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
3933
3939
|
function containsNewline(key) {
|
|
3934
3940
|
if (!key)
|
|
@@ -3968,7 +3974,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
3968
3974
|
exports.containsNewline = containsNewline;
|
|
3969
3975
|
});
|
|
3970
3976
|
|
|
3971
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3977
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3972
3978
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
3973
3979
|
var utilContainsNewline = require_util_contains_newline();
|
|
3974
3980
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3983,7 +3989,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
3983
3989
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3984
3990
|
});
|
|
3985
3991
|
|
|
3986
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3992
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3987
3993
|
var require_util_map_includes = __commonJS((exports) => {
|
|
3988
3994
|
var identity = require_identity();
|
|
3989
3995
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3996,7 +4002,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
3996
4002
|
exports.mapIncludes = mapIncludes;
|
|
3997
4003
|
});
|
|
3998
4004
|
|
|
3999
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
4005
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
4000
4006
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
4001
4007
|
var Pair = require_Pair();
|
|
4002
4008
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4103,7 +4109,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
4103
4109
|
exports.resolveBlockMap = resolveBlockMap;
|
|
4104
4110
|
});
|
|
4105
4111
|
|
|
4106
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4112
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4107
4113
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
4108
4114
|
var YAMLSeq = require_YAMLSeq();
|
|
4109
4115
|
var resolveProps = require_resolve_props();
|
|
@@ -4151,7 +4157,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
4151
4157
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
4152
4158
|
});
|
|
4153
4159
|
|
|
4154
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
4160
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
4155
4161
|
var require_resolve_end = __commonJS((exports) => {
|
|
4156
4162
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4157
4163
|
let comment = "";
|
|
@@ -4191,7 +4197,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
4191
4197
|
exports.resolveEnd = resolveEnd;
|
|
4192
4198
|
});
|
|
4193
4199
|
|
|
4194
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4200
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4195
4201
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
4196
4202
|
var identity = require_identity();
|
|
4197
4203
|
var Pair = require_Pair();
|
|
@@ -4382,7 +4388,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
4382
4388
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
4383
4389
|
});
|
|
4384
4390
|
|
|
4385
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
4391
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
4386
4392
|
var require_compose_collection = __commonJS((exports) => {
|
|
4387
4393
|
var identity = require_identity();
|
|
4388
4394
|
var Scalar = require_Scalar();
|
|
@@ -4444,7 +4450,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
4444
4450
|
exports.composeCollection = composeCollection;
|
|
4445
4451
|
});
|
|
4446
4452
|
|
|
4447
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4453
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4448
4454
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
4449
4455
|
var Scalar = require_Scalar();
|
|
4450
4456
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4637,7 +4643,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
4637
4643
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
4638
4644
|
});
|
|
4639
4645
|
|
|
4640
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4646
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4641
4647
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
4642
4648
|
var Scalar = require_Scalar();
|
|
4643
4649
|
var resolveEnd = require_resolve_end();
|
|
@@ -4853,7 +4859,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
4853
4859
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4854
4860
|
});
|
|
4855
4861
|
|
|
4856
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4862
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4857
4863
|
var require_compose_scalar = __commonJS((exports) => {
|
|
4858
4864
|
var identity = require_identity();
|
|
4859
4865
|
var Scalar = require_Scalar();
|
|
@@ -4931,7 +4937,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
4931
4937
|
exports.composeScalar = composeScalar;
|
|
4932
4938
|
});
|
|
4933
4939
|
|
|
4934
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4940
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4935
4941
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
4936
4942
|
function emptyScalarPosition(offset, before, pos) {
|
|
4937
4943
|
if (before) {
|
|
@@ -4958,7 +4964,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
4958
4964
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4959
4965
|
});
|
|
4960
4966
|
|
|
4961
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
4967
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
4962
4968
|
var require_compose_node = __commonJS((exports) => {
|
|
4963
4969
|
var Alias = require_Alias();
|
|
4964
4970
|
var identity = require_identity();
|
|
@@ -5061,7 +5067,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
5061
5067
|
exports.composeNode = composeNode;
|
|
5062
5068
|
});
|
|
5063
5069
|
|
|
5064
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
5070
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
5065
5071
|
var require_compose_doc = __commonJS((exports) => {
|
|
5066
5072
|
var Document = require_Document();
|
|
5067
5073
|
var composeNode = require_compose_node();
|
|
@@ -5101,7 +5107,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
5101
5107
|
exports.composeDoc = composeDoc;
|
|
5102
5108
|
});
|
|
5103
5109
|
|
|
5104
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
5110
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
5105
5111
|
var require_composer = __commonJS((exports) => {
|
|
5106
5112
|
var node_process = __require("process");
|
|
5107
5113
|
var directives = require_directives();
|
|
@@ -5290,7 +5296,7 @@ ${end.comment}` : end.comment;
|
|
|
5290
5296
|
exports.Composer = Composer;
|
|
5291
5297
|
});
|
|
5292
5298
|
|
|
5293
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5299
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5294
5300
|
var require_cst_scalar = __commonJS((exports) => {
|
|
5295
5301
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5296
5302
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5480,7 +5486,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
5480
5486
|
exports.setScalarValue = setScalarValue;
|
|
5481
5487
|
});
|
|
5482
5488
|
|
|
5483
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5489
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5484
5490
|
var require_cst_stringify = __commonJS((exports) => {
|
|
5485
5491
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
5486
5492
|
function stringifyToken(token) {
|
|
@@ -5538,7 +5544,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
5538
5544
|
exports.stringify = stringify;
|
|
5539
5545
|
});
|
|
5540
5546
|
|
|
5541
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
5547
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
5542
5548
|
var require_cst_visit = __commonJS((exports) => {
|
|
5543
5549
|
var BREAK = Symbol("break visit");
|
|
5544
5550
|
var SKIP = Symbol("skip children");
|
|
@@ -5597,7 +5603,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
5597
5603
|
exports.visit = visit;
|
|
5598
5604
|
});
|
|
5599
5605
|
|
|
5600
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
5606
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
5601
5607
|
var require_cst = __commonJS((exports) => {
|
|
5602
5608
|
var cstScalar = require_cst_scalar();
|
|
5603
5609
|
var cstStringify = require_cst_stringify();
|
|
@@ -5698,7 +5704,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
5698
5704
|
exports.tokenType = tokenType;
|
|
5699
5705
|
});
|
|
5700
5706
|
|
|
5701
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
5707
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
5702
5708
|
var require_lexer = __commonJS((exports) => {
|
|
5703
5709
|
var cst = require_cst();
|
|
5704
5710
|
function isEmpty(ch) {
|
|
@@ -6284,7 +6290,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
6284
6290
|
exports.Lexer = Lexer;
|
|
6285
6291
|
});
|
|
6286
6292
|
|
|
6287
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
6293
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
6288
6294
|
var require_line_counter = __commonJS((exports) => {
|
|
6289
6295
|
class LineCounter {
|
|
6290
6296
|
constructor() {
|
|
@@ -6312,7 +6318,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
6312
6318
|
exports.LineCounter = LineCounter;
|
|
6313
6319
|
});
|
|
6314
6320
|
|
|
6315
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
6321
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
6316
6322
|
var require_parser = __commonJS((exports) => {
|
|
6317
6323
|
var node_process = __require("process");
|
|
6318
6324
|
var cst = require_cst();
|
|
@@ -7161,7 +7167,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
7161
7167
|
exports.Parser = Parser;
|
|
7162
7168
|
});
|
|
7163
7169
|
|
|
7164
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
7170
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
7165
7171
|
var require_public_api = __commonJS((exports) => {
|
|
7166
7172
|
var composer = require_composer();
|
|
7167
7173
|
var Document = require_Document();
|
|
@@ -7255,7 +7261,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
7255
7261
|
exports.stringify = stringify;
|
|
7256
7262
|
});
|
|
7257
7263
|
|
|
7258
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
7264
|
+
// ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
7259
7265
|
var composer, Document, Schema, errors, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
|
|
7260
7266
|
var init_dist = __esm(() => {
|
|
7261
7267
|
composer = require_composer();
|
|
@@ -7304,7 +7310,7 @@ var init_dist = __esm(() => {
|
|
|
7304
7310
|
$visitAsync = visit.visitAsync;
|
|
7305
7311
|
});
|
|
7306
7312
|
|
|
7307
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
7313
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
7308
7314
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
7309
7315
|
const t = typeof data;
|
|
7310
7316
|
switch (t) {
|
|
@@ -7435,7 +7441,7 @@ var init_util = __esm(() => {
|
|
|
7435
7441
|
]);
|
|
7436
7442
|
});
|
|
7437
7443
|
|
|
7438
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
7444
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
7439
7445
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
7440
7446
|
const json = JSON.stringify(obj, null, 2);
|
|
7441
7447
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -7556,7 +7562,7 @@ var init_ZodError = __esm(() => {
|
|
|
7556
7562
|
};
|
|
7557
7563
|
});
|
|
7558
7564
|
|
|
7559
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
7565
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
7560
7566
|
var errorMap = (issue, _ctx) => {
|
|
7561
7567
|
let message;
|
|
7562
7568
|
switch (issue.code) {
|
|
@@ -7663,7 +7669,7 @@ var init_en = __esm(() => {
|
|
|
7663
7669
|
en_default = errorMap;
|
|
7664
7670
|
});
|
|
7665
7671
|
|
|
7666
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
7672
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
7667
7673
|
function setErrorMap(map) {
|
|
7668
7674
|
overrideErrorMap = map;
|
|
7669
7675
|
}
|
|
@@ -7676,7 +7682,7 @@ var init_errors = __esm(() => {
|
|
|
7676
7682
|
overrideErrorMap = en_default;
|
|
7677
7683
|
});
|
|
7678
7684
|
|
|
7679
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
7685
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
7680
7686
|
function addIssueToContext(ctx, issueData) {
|
|
7681
7687
|
const overrideMap = getErrorMap();
|
|
7682
7688
|
const issue = makeIssue({
|
|
@@ -7781,10 +7787,10 @@ var init_parseUtil = __esm(() => {
|
|
|
7781
7787
|
});
|
|
7782
7788
|
});
|
|
7783
7789
|
|
|
7784
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
7790
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
7785
7791
|
var init_typeAliases = () => {};
|
|
7786
7792
|
|
|
7787
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
7793
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
7788
7794
|
var errorUtil;
|
|
7789
7795
|
var init_errorUtil = __esm(() => {
|
|
7790
7796
|
(function(errorUtil2) {
|
|
@@ -7793,7 +7799,7 @@ var init_errorUtil = __esm(() => {
|
|
|
7793
7799
|
})(errorUtil || (errorUtil = {}));
|
|
7794
7800
|
});
|
|
7795
7801
|
|
|
7796
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
7802
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
7797
7803
|
class ParseInputLazyPath {
|
|
7798
7804
|
constructor(parent, value, path, key) {
|
|
7799
7805
|
this._cachedPath = [];
|
|
@@ -11144,7 +11150,7 @@ var init_types = __esm(() => {
|
|
|
11144
11150
|
NEVER = INVALID;
|
|
11145
11151
|
});
|
|
11146
11152
|
|
|
11147
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
11153
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
11148
11154
|
var exports_external = {};
|
|
11149
11155
|
__export(exports_external, {
|
|
11150
11156
|
void: () => voidType,
|
|
@@ -11264,7 +11270,7 @@ var init_external = __esm(() => {
|
|
|
11264
11270
|
init_ZodError();
|
|
11265
11271
|
});
|
|
11266
11272
|
|
|
11267
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
11273
|
+
// ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
11268
11274
|
var init_zod = __esm(() => {
|
|
11269
11275
|
init_external();
|
|
11270
11276
|
init_external();
|
|
@@ -11534,6 +11540,7 @@ var init_schema = __esm(() => {
|
|
|
11534
11540
|
}).optional()
|
|
11535
11541
|
}).optional(),
|
|
11536
11542
|
schedule: exports_external.array(ScheduleEntrySchema).optional(),
|
|
11543
|
+
secrets: exports_external.array(exports_external.string().regex(/^[a-zA-Z0-9_\-/]+$/, "Secret key names must contain only alphanumeric characters, underscores, hyphens, and forward slashes")).optional().describe("Operator-granted STANDING vault keys this agent may read via the " + "broker — independent of any cron or MCP server. Use when an agent " + "needs a credential both interactively and in its own (agent-managed) " + "schedules, so the grant lives with the agent rather than welded to a " + "specific cron's `secrets[]`. OPERATOR-SET ONLY: agents cannot edit " + "switchroom.yaml or self-grant (reference/vision.md outcome 2 — 'you " + "hold the leash; only your tap grants it'). Exact key names. Cascades " + "UNION across defaults -> profile -> agent (see docs/configuration.md)."),
|
|
11537
11544
|
reactions: ReactionsSchema,
|
|
11538
11545
|
model: exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._\-/\[\]:]*$/, "Model name must be alphanumeric with ._-/[]: only").optional(),
|
|
11539
11546
|
thinking_effort: exports_external.enum(["low", "medium", "high", "xhigh", "max"]).optional().describe("Adaptive-thinking effort level passed as --effort to the claude CLI. " + "lower = faster/cheaper, higher = more reasoning. Omit to use Claude's default."),
|
|
@@ -11602,6 +11609,7 @@ var init_schema = __esm(() => {
|
|
|
11602
11609
|
tools: AgentToolsSchema,
|
|
11603
11610
|
memory: AgentMemorySchema,
|
|
11604
11611
|
schedule: exports_external.array(ScheduleEntrySchema).default([]),
|
|
11612
|
+
secrets: exports_external.array(exports_external.string().regex(/^[a-zA-Z0-9_\-/]+$/, "Secret key names must contain only alphanumeric characters, underscores, hyphens, and forward slashes")).optional(),
|
|
11605
11613
|
reactions: ReactionsSchema,
|
|
11606
11614
|
model: exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._\-/\[\]:]*$/, "Model name must be alphanumeric with ._-/[]: only (no spaces or shell specials)").optional().describe("Claude model override (e.g., 'claude-sonnet-4-6')"),
|
|
11607
11615
|
thinking_effort: exports_external.enum(["low", "medium", "high", "xhigh", "max"]).optional().describe("Adaptive-thinking effort level passed as --effort to the claude CLI. " + "Per-agent override wins over defaults.thinking_effort. " + "lower = faster/cheaper, higher = more reasoning. Omit to use Claude's default."),
|
|
@@ -13288,11 +13296,21 @@ function checkAclByAgent(config, agentName, key) {
|
|
|
13288
13296
|
return { allow: true };
|
|
13289
13297
|
}
|
|
13290
13298
|
}
|
|
13299
|
+
const cfgSecrets = config;
|
|
13300
|
+
const profileSecrets = profileName != null && profileName.length > 0 ? cfgSecrets.profiles?.[profileName]?.secrets : undefined;
|
|
13301
|
+
const standingSecrets = [
|
|
13302
|
+
...Array.isArray(cfgSecrets.defaults?.secrets) ? cfgSecrets.defaults.secrets : [],
|
|
13303
|
+
...Array.isArray(profileSecrets) ? profileSecrets : [],
|
|
13304
|
+
...Array.isArray(agentConfig.secrets) ? agentConfig.secrets : []
|
|
13305
|
+
];
|
|
13306
|
+
if (standingSecrets.includes(key)) {
|
|
13307
|
+
return { allow: true };
|
|
13308
|
+
}
|
|
13291
13309
|
const schedule = agentConfig.schedule ?? [];
|
|
13292
13310
|
if (schedule.length === 0) {
|
|
13293
13311
|
return {
|
|
13294
13312
|
allow: false,
|
|
13295
|
-
reason: `agent '${agentName}' has no schedule entries declaring 'secrets'
|
|
13313
|
+
reason: `agent '${agentName}' has no schedule entries declaring 'secrets', no mcp_servers.*.secrets[], and no agents.${agentName}.secrets[] standing grant declaring '${key}'; nothing is broker-accessible`
|
|
13296
13314
|
};
|
|
13297
13315
|
}
|
|
13298
13316
|
for (const entry of schedule) {
|
|
@@ -13849,7 +13867,7 @@ function createAuditLogger(opts = {}) {
|
|
|
13849
13867
|
// src/vault/grants.ts
|
|
13850
13868
|
import { randomBytes as randomBytes4 } from "node:crypto";
|
|
13851
13869
|
|
|
13852
|
-
// node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
13870
|
+
// ../switchroom-sec-1417/node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
13853
13871
|
import nodeCrypto from "crypto";
|
|
13854
13872
|
var randomFallback = null;
|
|
13855
13873
|
function randomBytes3(len) {
|