switchroom 0.14.10 → 0.14.12
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 +85 -80
- package/dist/auth-broker/index.js +85 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +87 -82
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +1200 -913
- package/dist/host-control/main.js +153 -148
- package/dist/vault/approvals/kernel-server.js +88 -83
- package/dist/vault/broker/server.js +89 -84
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +201 -358
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/boot-card.ts +15 -11
- package/telegram-plugin/gateway/gateway.ts +9 -67
- package/telegram-plugin/runtime-metrics.ts +8 -52
- package/telegram-plugin/silence-poke.ts +39 -312
- package/telegram-plugin/tests/boot-card-silent-on-operator.test.ts +27 -30
- package/telegram-plugin/tests/silence-poke.test.ts +54 -569
- package/telegram-plugin/uat/scenarios/jtbd-fast-ack-dm.test.ts +21 -23
- package/telegram-plugin/uat/scenarios/silence-poke-soft-dm.test.ts +0 -155
|
@@ -340,7 +340,7 @@ var init_merge = __esm(() => {
|
|
|
340
340
|
})(mergeAgentConfig ||= {});
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
//
|
|
343
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
344
344
|
var require_identity = __commonJS((exports) => {
|
|
345
345
|
var ALIAS = Symbol.for("yaml.alias");
|
|
346
346
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -394,7 +394,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
394
394
|
exports.isSeq = isSeq;
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
//
|
|
397
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
398
398
|
var require_visit = __commonJS((exports) => {
|
|
399
399
|
var identity = require_identity();
|
|
400
400
|
var BREAK = Symbol("break visit");
|
|
@@ -549,7 +549,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
549
549
|
exports.visitAsync = visitAsync;
|
|
550
550
|
});
|
|
551
551
|
|
|
552
|
-
//
|
|
552
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
553
553
|
var require_directives = __commonJS((exports) => {
|
|
554
554
|
var identity = require_identity();
|
|
555
555
|
var visit = require_visit();
|
|
@@ -701,7 +701,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
701
701
|
exports.Directives = Directives;
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
//
|
|
704
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
705
705
|
var require_anchors = __commonJS((exports) => {
|
|
706
706
|
var identity = require_identity();
|
|
707
707
|
var visit = require_visit();
|
|
@@ -763,7 +763,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
763
763
|
exports.findNewAnchor = findNewAnchor;
|
|
764
764
|
});
|
|
765
765
|
|
|
766
|
-
//
|
|
766
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
767
767
|
var require_applyReviver = __commonJS((exports) => {
|
|
768
768
|
function applyReviver(reviver, obj, key, val) {
|
|
769
769
|
if (val && typeof val === "object") {
|
|
@@ -810,7 +810,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
810
810
|
exports.applyReviver = applyReviver;
|
|
811
811
|
});
|
|
812
812
|
|
|
813
|
-
//
|
|
813
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
814
814
|
var require_toJS = __commonJS((exports) => {
|
|
815
815
|
var identity = require_identity();
|
|
816
816
|
function toJS(value, arg, ctx) {
|
|
@@ -837,7 +837,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
837
837
|
exports.toJS = toJS;
|
|
838
838
|
});
|
|
839
839
|
|
|
840
|
-
//
|
|
840
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
841
841
|
var require_Node = __commonJS((exports) => {
|
|
842
842
|
var applyReviver = require_applyReviver();
|
|
843
843
|
var identity = require_identity();
|
|
@@ -874,7 +874,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
874
874
|
exports.NodeBase = NodeBase;
|
|
875
875
|
});
|
|
876
876
|
|
|
877
|
-
//
|
|
877
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
878
878
|
var require_Alias = __commonJS((exports) => {
|
|
879
879
|
var anchors = require_anchors();
|
|
880
880
|
var visit = require_visit();
|
|
@@ -982,7 +982,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
982
982
|
exports.Alias = Alias;
|
|
983
983
|
});
|
|
984
984
|
|
|
985
|
-
//
|
|
985
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
986
986
|
var require_Scalar = __commonJS((exports) => {
|
|
987
987
|
var identity = require_identity();
|
|
988
988
|
var Node = require_Node();
|
|
@@ -1010,7 +1010,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
1010
1010
|
exports.isScalarValue = isScalarValue;
|
|
1011
1011
|
});
|
|
1012
1012
|
|
|
1013
|
-
//
|
|
1013
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
1014
1014
|
var require_createNode = __commonJS((exports) => {
|
|
1015
1015
|
var Alias = require_Alias();
|
|
1016
1016
|
var identity = require_identity();
|
|
@@ -1082,7 +1082,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
1082
1082
|
exports.createNode = createNode;
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
1085
|
-
//
|
|
1085
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
1086
1086
|
var require_Collection = __commonJS((exports) => {
|
|
1087
1087
|
var createNode = require_createNode();
|
|
1088
1088
|
var identity = require_identity();
|
|
@@ -1197,7 +1197,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
1197
1197
|
exports.isEmptyPath = isEmptyPath;
|
|
1198
1198
|
});
|
|
1199
1199
|
|
|
1200
|
-
//
|
|
1200
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1201
1201
|
var require_stringifyComment = __commonJS((exports) => {
|
|
1202
1202
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
1203
1203
|
function indentComment(comment, indent) {
|
|
@@ -1214,7 +1214,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
1214
1214
|
exports.stringifyComment = stringifyComment;
|
|
1215
1215
|
});
|
|
1216
1216
|
|
|
1217
|
-
//
|
|
1217
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1218
1218
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
1219
1219
|
var FOLD_FLOW = "flow";
|
|
1220
1220
|
var FOLD_BLOCK = "block";
|
|
@@ -1351,7 +1351,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
1351
1351
|
exports.foldFlowLines = foldFlowLines;
|
|
1352
1352
|
});
|
|
1353
1353
|
|
|
1354
|
-
//
|
|
1354
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1355
1355
|
var require_stringifyString = __commonJS((exports) => {
|
|
1356
1356
|
var Scalar = require_Scalar();
|
|
1357
1357
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1649,7 +1649,7 @@ ${indent}`);
|
|
|
1649
1649
|
exports.stringifyString = stringifyString;
|
|
1650
1650
|
});
|
|
1651
1651
|
|
|
1652
|
-
//
|
|
1652
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
1653
1653
|
var require_stringify = __commonJS((exports) => {
|
|
1654
1654
|
var anchors = require_anchors();
|
|
1655
1655
|
var identity = require_identity();
|
|
@@ -1770,7 +1770,7 @@ ${ctx.indent}${str}`;
|
|
|
1770
1770
|
exports.stringify = stringify;
|
|
1771
1771
|
});
|
|
1772
1772
|
|
|
1773
|
-
//
|
|
1773
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1774
1774
|
var require_stringifyPair = __commonJS((exports) => {
|
|
1775
1775
|
var identity = require_identity();
|
|
1776
1776
|
var Scalar = require_Scalar();
|
|
@@ -1906,7 +1906,7 @@ ${ctx.indent}`;
|
|
|
1906
1906
|
exports.stringifyPair = stringifyPair;
|
|
1907
1907
|
});
|
|
1908
1908
|
|
|
1909
|
-
//
|
|
1909
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
1910
1910
|
var require_log = __commonJS((exports) => {
|
|
1911
1911
|
var node_process = __require("process");
|
|
1912
1912
|
function debug(logLevel, ...messages) {
|
|
@@ -1925,7 +1925,7 @@ var require_log = __commonJS((exports) => {
|
|
|
1925
1925
|
exports.warn = warn;
|
|
1926
1926
|
});
|
|
1927
1927
|
|
|
1928
|
-
//
|
|
1928
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1929
1929
|
var require_merge = __commonJS((exports) => {
|
|
1930
1930
|
var identity = require_identity();
|
|
1931
1931
|
var Scalar = require_Scalar();
|
|
@@ -1979,7 +1979,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
1979
1979
|
exports.merge = merge;
|
|
1980
1980
|
});
|
|
1981
1981
|
|
|
1982
|
-
//
|
|
1982
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1983
1983
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
1984
1984
|
var log = require_log();
|
|
1985
1985
|
var merge = require_merge();
|
|
@@ -2040,7 +2040,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
2040
2040
|
exports.addPairToJSMap = addPairToJSMap;
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
//
|
|
2043
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
2044
2044
|
var require_Pair = __commonJS((exports) => {
|
|
2045
2045
|
var createNode = require_createNode();
|
|
2046
2046
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2078,7 +2078,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
2078
2078
|
exports.createPair = createPair;
|
|
2079
2079
|
});
|
|
2080
2080
|
|
|
2081
|
-
//
|
|
2081
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2082
2082
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
2083
2083
|
var identity = require_identity();
|
|
2084
2084
|
var stringify = require_stringify();
|
|
@@ -2230,7 +2230,7 @@ ${indent}${end}`;
|
|
|
2230
2230
|
exports.stringifyCollection = stringifyCollection;
|
|
2231
2231
|
});
|
|
2232
2232
|
|
|
2233
|
-
//
|
|
2233
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2234
2234
|
var require_YAMLMap = __commonJS((exports) => {
|
|
2235
2235
|
var stringifyCollection = require_stringifyCollection();
|
|
2236
2236
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2357,7 +2357,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
2357
2357
|
exports.findPair = findPair;
|
|
2358
2358
|
});
|
|
2359
2359
|
|
|
2360
|
-
//
|
|
2360
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
2361
2361
|
var require_map = __commonJS((exports) => {
|
|
2362
2362
|
var identity = require_identity();
|
|
2363
2363
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2376,7 +2376,7 @@ var require_map = __commonJS((exports) => {
|
|
|
2376
2376
|
exports.map = map;
|
|
2377
2377
|
});
|
|
2378
2378
|
|
|
2379
|
-
//
|
|
2379
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2380
2380
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
2381
2381
|
var createNode = require_createNode();
|
|
2382
2382
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2469,7 +2469,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
2469
2469
|
exports.YAMLSeq = YAMLSeq;
|
|
2470
2470
|
});
|
|
2471
2471
|
|
|
2472
|
-
//
|
|
2472
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
2473
2473
|
var require_seq = __commonJS((exports) => {
|
|
2474
2474
|
var identity = require_identity();
|
|
2475
2475
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2488,7 +2488,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
2488
2488
|
exports.seq = seq;
|
|
2489
2489
|
});
|
|
2490
2490
|
|
|
2491
|
-
//
|
|
2491
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
2492
2492
|
var require_string = __commonJS((exports) => {
|
|
2493
2493
|
var stringifyString = require_stringifyString();
|
|
2494
2494
|
var string = {
|
|
@@ -2504,7 +2504,7 @@ var require_string = __commonJS((exports) => {
|
|
|
2504
2504
|
exports.string = string;
|
|
2505
2505
|
});
|
|
2506
2506
|
|
|
2507
|
-
//
|
|
2507
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
2508
2508
|
var require_null = __commonJS((exports) => {
|
|
2509
2509
|
var Scalar = require_Scalar();
|
|
2510
2510
|
var nullTag = {
|
|
@@ -2519,7 +2519,7 @@ var require_null = __commonJS((exports) => {
|
|
|
2519
2519
|
exports.nullTag = nullTag;
|
|
2520
2520
|
});
|
|
2521
2521
|
|
|
2522
|
-
//
|
|
2522
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
2523
2523
|
var require_bool = __commonJS((exports) => {
|
|
2524
2524
|
var Scalar = require_Scalar();
|
|
2525
2525
|
var boolTag = {
|
|
@@ -2540,7 +2540,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
2540
2540
|
exports.boolTag = boolTag;
|
|
2541
2541
|
});
|
|
2542
2542
|
|
|
2543
|
-
//
|
|
2543
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2544
2544
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
2545
2545
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2546
2546
|
if (typeof value === "bigint")
|
|
@@ -2564,7 +2564,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
2564
2564
|
exports.stringifyNumber = stringifyNumber;
|
|
2565
2565
|
});
|
|
2566
2566
|
|
|
2567
|
-
//
|
|
2567
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
2568
2568
|
var require_float = __commonJS((exports) => {
|
|
2569
2569
|
var Scalar = require_Scalar();
|
|
2570
2570
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2607,7 +2607,7 @@ var require_float = __commonJS((exports) => {
|
|
|
2607
2607
|
exports.floatNaN = floatNaN;
|
|
2608
2608
|
});
|
|
2609
2609
|
|
|
2610
|
-
//
|
|
2610
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
2611
2611
|
var require_int = __commonJS((exports) => {
|
|
2612
2612
|
var stringifyNumber = require_stringifyNumber();
|
|
2613
2613
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2649,7 +2649,7 @@ var require_int = __commonJS((exports) => {
|
|
|
2649
2649
|
exports.intOct = intOct;
|
|
2650
2650
|
});
|
|
2651
2651
|
|
|
2652
|
-
//
|
|
2652
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
2653
2653
|
var require_schema = __commonJS((exports) => {
|
|
2654
2654
|
var map = require_map();
|
|
2655
2655
|
var _null = require_null();
|
|
@@ -2674,7 +2674,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
2674
2674
|
exports.schema = schema;
|
|
2675
2675
|
});
|
|
2676
2676
|
|
|
2677
|
-
//
|
|
2677
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
2678
2678
|
var require_schema2 = __commonJS((exports) => {
|
|
2679
2679
|
var Scalar = require_Scalar();
|
|
2680
2680
|
var map = require_map();
|
|
@@ -2738,7 +2738,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
2738
2738
|
exports.schema = schema;
|
|
2739
2739
|
});
|
|
2740
2740
|
|
|
2741
|
-
//
|
|
2741
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2742
2742
|
var require_binary = __commonJS((exports) => {
|
|
2743
2743
|
var node_buffer = __require("buffer");
|
|
2744
2744
|
var Scalar = require_Scalar();
|
|
@@ -2793,7 +2793,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
2793
2793
|
exports.binary = binary;
|
|
2794
2794
|
});
|
|
2795
2795
|
|
|
2796
|
-
//
|
|
2796
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2797
2797
|
var require_pairs = __commonJS((exports) => {
|
|
2798
2798
|
var identity = require_identity();
|
|
2799
2799
|
var Pair = require_Pair();
|
|
@@ -2868,7 +2868,7 @@ ${cn.comment}` : item.comment;
|
|
|
2868
2868
|
exports.resolvePairs = resolvePairs;
|
|
2869
2869
|
});
|
|
2870
2870
|
|
|
2871
|
-
//
|
|
2871
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2872
2872
|
var require_omap = __commonJS((exports) => {
|
|
2873
2873
|
var identity = require_identity();
|
|
2874
2874
|
var toJS = require_toJS();
|
|
@@ -2940,7 +2940,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
2940
2940
|
exports.omap = omap;
|
|
2941
2941
|
});
|
|
2942
2942
|
|
|
2943
|
-
//
|
|
2943
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2944
2944
|
var require_bool2 = __commonJS((exports) => {
|
|
2945
2945
|
var Scalar = require_Scalar();
|
|
2946
2946
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2969,7 +2969,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
2969
2969
|
exports.trueTag = trueTag;
|
|
2970
2970
|
});
|
|
2971
2971
|
|
|
2972
|
-
//
|
|
2972
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2973
2973
|
var require_float2 = __commonJS((exports) => {
|
|
2974
2974
|
var Scalar = require_Scalar();
|
|
2975
2975
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3015,7 +3015,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
3015
3015
|
exports.floatNaN = floatNaN;
|
|
3016
3016
|
});
|
|
3017
3017
|
|
|
3018
|
-
//
|
|
3018
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3019
3019
|
var require_int2 = __commonJS((exports) => {
|
|
3020
3020
|
var stringifyNumber = require_stringifyNumber();
|
|
3021
3021
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3091,7 +3091,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
3091
3091
|
exports.intOct = intOct;
|
|
3092
3092
|
});
|
|
3093
3093
|
|
|
3094
|
-
//
|
|
3094
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3095
3095
|
var require_set = __commonJS((exports) => {
|
|
3096
3096
|
var identity = require_identity();
|
|
3097
3097
|
var Pair = require_Pair();
|
|
@@ -3174,7 +3174,7 @@ var require_set = __commonJS((exports) => {
|
|
|
3174
3174
|
exports.set = set;
|
|
3175
3175
|
});
|
|
3176
3176
|
|
|
3177
|
-
//
|
|
3177
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3178
3178
|
var require_timestamp = __commonJS((exports) => {
|
|
3179
3179
|
var stringifyNumber = require_stringifyNumber();
|
|
3180
3180
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3256,7 +3256,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
3256
3256
|
exports.timestamp = timestamp;
|
|
3257
3257
|
});
|
|
3258
3258
|
|
|
3259
|
-
//
|
|
3259
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3260
3260
|
var require_schema3 = __commonJS((exports) => {
|
|
3261
3261
|
var map = require_map();
|
|
3262
3262
|
var _null = require_null();
|
|
@@ -3297,7 +3297,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
3297
3297
|
exports.schema = schema;
|
|
3298
3298
|
});
|
|
3299
3299
|
|
|
3300
|
-
//
|
|
3300
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
3301
3301
|
var require_tags = __commonJS((exports) => {
|
|
3302
3302
|
var map = require_map();
|
|
3303
3303
|
var _null = require_null();
|
|
@@ -3388,7 +3388,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
3388
3388
|
exports.getTags = getTags;
|
|
3389
3389
|
});
|
|
3390
3390
|
|
|
3391
|
-
//
|
|
3391
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
3392
3392
|
var require_Schema = __commonJS((exports) => {
|
|
3393
3393
|
var identity = require_identity();
|
|
3394
3394
|
var map = require_map();
|
|
@@ -3418,7 +3418,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
3418
3418
|
exports.Schema = Schema;
|
|
3419
3419
|
});
|
|
3420
3420
|
|
|
3421
|
-
//
|
|
3421
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3422
3422
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
3423
3423
|
var identity = require_identity();
|
|
3424
3424
|
var stringify = require_stringify();
|
|
@@ -3498,7 +3498,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
3498
3498
|
exports.stringifyDocument = stringifyDocument;
|
|
3499
3499
|
});
|
|
3500
3500
|
|
|
3501
|
-
//
|
|
3501
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
3502
3502
|
var require_Document = __commonJS((exports) => {
|
|
3503
3503
|
var Alias = require_Alias();
|
|
3504
3504
|
var Collection = require_Collection();
|
|
@@ -3733,7 +3733,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
3733
3733
|
exports.Document = Document;
|
|
3734
3734
|
});
|
|
3735
3735
|
|
|
3736
|
-
//
|
|
3736
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
3737
3737
|
var require_errors = __commonJS((exports) => {
|
|
3738
3738
|
class YAMLError extends Error {
|
|
3739
3739
|
constructor(name, pos, code, message) {
|
|
@@ -3798,7 +3798,7 @@ ${pointer}
|
|
|
3798
3798
|
exports.prettifyError = prettifyError;
|
|
3799
3799
|
});
|
|
3800
3800
|
|
|
3801
|
-
//
|
|
3801
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
3802
3802
|
var require_resolve_props = __commonJS((exports) => {
|
|
3803
3803
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3804
3804
|
let spaceBefore = false;
|
|
@@ -3928,7 +3928,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
3928
3928
|
exports.resolveProps = resolveProps;
|
|
3929
3929
|
});
|
|
3930
3930
|
|
|
3931
|
-
//
|
|
3931
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3932
3932
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
3933
3933
|
function containsNewline(key) {
|
|
3934
3934
|
if (!key)
|
|
@@ -3968,7 +3968,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
3968
3968
|
exports.containsNewline = containsNewline;
|
|
3969
3969
|
});
|
|
3970
3970
|
|
|
3971
|
-
//
|
|
3971
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3972
3972
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
3973
3973
|
var utilContainsNewline = require_util_contains_newline();
|
|
3974
3974
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3983,7 +3983,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
3983
3983
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3984
3984
|
});
|
|
3985
3985
|
|
|
3986
|
-
//
|
|
3986
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3987
3987
|
var require_util_map_includes = __commonJS((exports) => {
|
|
3988
3988
|
var identity = require_identity();
|
|
3989
3989
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3996,7 +3996,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
3996
3996
|
exports.mapIncludes = mapIncludes;
|
|
3997
3997
|
});
|
|
3998
3998
|
|
|
3999
|
-
//
|
|
3999
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
4000
4000
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
4001
4001
|
var Pair = require_Pair();
|
|
4002
4002
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4103,7 +4103,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
4103
4103
|
exports.resolveBlockMap = resolveBlockMap;
|
|
4104
4104
|
});
|
|
4105
4105
|
|
|
4106
|
-
//
|
|
4106
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4107
4107
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
4108
4108
|
var YAMLSeq = require_YAMLSeq();
|
|
4109
4109
|
var resolveProps = require_resolve_props();
|
|
@@ -4151,7 +4151,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
4151
4151
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
4152
4152
|
});
|
|
4153
4153
|
|
|
4154
|
-
//
|
|
4154
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
4155
4155
|
var require_resolve_end = __commonJS((exports) => {
|
|
4156
4156
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4157
4157
|
let comment = "";
|
|
@@ -4191,7 +4191,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
4191
4191
|
exports.resolveEnd = resolveEnd;
|
|
4192
4192
|
});
|
|
4193
4193
|
|
|
4194
|
-
//
|
|
4194
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4195
4195
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
4196
4196
|
var identity = require_identity();
|
|
4197
4197
|
var Pair = require_Pair();
|
|
@@ -4382,7 +4382,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
4382
4382
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
4383
4383
|
});
|
|
4384
4384
|
|
|
4385
|
-
//
|
|
4385
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
4386
4386
|
var require_compose_collection = __commonJS((exports) => {
|
|
4387
4387
|
var identity = require_identity();
|
|
4388
4388
|
var Scalar = require_Scalar();
|
|
@@ -4444,7 +4444,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
4444
4444
|
exports.composeCollection = composeCollection;
|
|
4445
4445
|
});
|
|
4446
4446
|
|
|
4447
|
-
//
|
|
4447
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4448
4448
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
4449
4449
|
var Scalar = require_Scalar();
|
|
4450
4450
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4637,7 +4637,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
4637
4637
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
4638
4638
|
});
|
|
4639
4639
|
|
|
4640
|
-
//
|
|
4640
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4641
4641
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
4642
4642
|
var Scalar = require_Scalar();
|
|
4643
4643
|
var resolveEnd = require_resolve_end();
|
|
@@ -4853,7 +4853,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
4853
4853
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4854
4854
|
});
|
|
4855
4855
|
|
|
4856
|
-
//
|
|
4856
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4857
4857
|
var require_compose_scalar = __commonJS((exports) => {
|
|
4858
4858
|
var identity = require_identity();
|
|
4859
4859
|
var Scalar = require_Scalar();
|
|
@@ -4931,7 +4931,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
4931
4931
|
exports.composeScalar = composeScalar;
|
|
4932
4932
|
});
|
|
4933
4933
|
|
|
4934
|
-
//
|
|
4934
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4935
4935
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
4936
4936
|
function emptyScalarPosition(offset, before, pos) {
|
|
4937
4937
|
if (before) {
|
|
@@ -4958,7 +4958,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
4958
4958
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4959
4959
|
});
|
|
4960
4960
|
|
|
4961
|
-
//
|
|
4961
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
4962
4962
|
var require_compose_node = __commonJS((exports) => {
|
|
4963
4963
|
var Alias = require_Alias();
|
|
4964
4964
|
var identity = require_identity();
|
|
@@ -5061,7 +5061,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
5061
5061
|
exports.composeNode = composeNode;
|
|
5062
5062
|
});
|
|
5063
5063
|
|
|
5064
|
-
//
|
|
5064
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
5065
5065
|
var require_compose_doc = __commonJS((exports) => {
|
|
5066
5066
|
var Document = require_Document();
|
|
5067
5067
|
var composeNode = require_compose_node();
|
|
@@ -5101,7 +5101,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
5101
5101
|
exports.composeDoc = composeDoc;
|
|
5102
5102
|
});
|
|
5103
5103
|
|
|
5104
|
-
//
|
|
5104
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
5105
5105
|
var require_composer = __commonJS((exports) => {
|
|
5106
5106
|
var node_process = __require("process");
|
|
5107
5107
|
var directives = require_directives();
|
|
@@ -5290,7 +5290,7 @@ ${end.comment}` : end.comment;
|
|
|
5290
5290
|
exports.Composer = Composer;
|
|
5291
5291
|
});
|
|
5292
5292
|
|
|
5293
|
-
//
|
|
5293
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5294
5294
|
var require_cst_scalar = __commonJS((exports) => {
|
|
5295
5295
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5296
5296
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5480,7 +5480,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
5480
5480
|
exports.setScalarValue = setScalarValue;
|
|
5481
5481
|
});
|
|
5482
5482
|
|
|
5483
|
-
//
|
|
5483
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5484
5484
|
var require_cst_stringify = __commonJS((exports) => {
|
|
5485
5485
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
5486
5486
|
function stringifyToken(token) {
|
|
@@ -5538,7 +5538,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
5538
5538
|
exports.stringify = stringify;
|
|
5539
5539
|
});
|
|
5540
5540
|
|
|
5541
|
-
//
|
|
5541
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
5542
5542
|
var require_cst_visit = __commonJS((exports) => {
|
|
5543
5543
|
var BREAK = Symbol("break visit");
|
|
5544
5544
|
var SKIP = Symbol("skip children");
|
|
@@ -5597,7 +5597,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
5597
5597
|
exports.visit = visit;
|
|
5598
5598
|
});
|
|
5599
5599
|
|
|
5600
|
-
//
|
|
5600
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
5601
5601
|
var require_cst = __commonJS((exports) => {
|
|
5602
5602
|
var cstScalar = require_cst_scalar();
|
|
5603
5603
|
var cstStringify = require_cst_stringify();
|
|
@@ -5698,7 +5698,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
5698
5698
|
exports.tokenType = tokenType;
|
|
5699
5699
|
});
|
|
5700
5700
|
|
|
5701
|
-
//
|
|
5701
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
5702
5702
|
var require_lexer = __commonJS((exports) => {
|
|
5703
5703
|
var cst = require_cst();
|
|
5704
5704
|
function isEmpty(ch) {
|
|
@@ -6284,7 +6284,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
6284
6284
|
exports.Lexer = Lexer;
|
|
6285
6285
|
});
|
|
6286
6286
|
|
|
6287
|
-
//
|
|
6287
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
6288
6288
|
var require_line_counter = __commonJS((exports) => {
|
|
6289
6289
|
class LineCounter {
|
|
6290
6290
|
constructor() {
|
|
@@ -6312,7 +6312,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
6312
6312
|
exports.LineCounter = LineCounter;
|
|
6313
6313
|
});
|
|
6314
6314
|
|
|
6315
|
-
//
|
|
6315
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
6316
6316
|
var require_parser = __commonJS((exports) => {
|
|
6317
6317
|
var node_process = __require("process");
|
|
6318
6318
|
var cst = require_cst();
|
|
@@ -7161,7 +7161,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
7161
7161
|
exports.Parser = Parser;
|
|
7162
7162
|
});
|
|
7163
7163
|
|
|
7164
|
-
//
|
|
7164
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
7165
7165
|
var require_public_api = __commonJS((exports) => {
|
|
7166
7166
|
var composer = require_composer();
|
|
7167
7167
|
var Document = require_Document();
|
|
@@ -7255,7 +7255,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
7255
7255
|
exports.stringify = stringify;
|
|
7256
7256
|
});
|
|
7257
7257
|
|
|
7258
|
-
//
|
|
7258
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
7259
7259
|
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
7260
|
var init_dist = __esm(() => {
|
|
7261
7261
|
composer = require_composer();
|
|
@@ -7304,7 +7304,7 @@ var init_dist = __esm(() => {
|
|
|
7304
7304
|
$visitAsync = visit.visitAsync;
|
|
7305
7305
|
});
|
|
7306
7306
|
|
|
7307
|
-
//
|
|
7307
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
7308
7308
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
7309
7309
|
const t = typeof data;
|
|
7310
7310
|
switch (t) {
|
|
@@ -7435,7 +7435,7 @@ var init_util = __esm(() => {
|
|
|
7435
7435
|
]);
|
|
7436
7436
|
});
|
|
7437
7437
|
|
|
7438
|
-
//
|
|
7438
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
7439
7439
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
7440
7440
|
const json = JSON.stringify(obj, null, 2);
|
|
7441
7441
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -7556,7 +7556,7 @@ var init_ZodError = __esm(() => {
|
|
|
7556
7556
|
};
|
|
7557
7557
|
});
|
|
7558
7558
|
|
|
7559
|
-
//
|
|
7559
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
7560
7560
|
var errorMap = (issue, _ctx) => {
|
|
7561
7561
|
let message;
|
|
7562
7562
|
switch (issue.code) {
|
|
@@ -7663,7 +7663,7 @@ var init_en = __esm(() => {
|
|
|
7663
7663
|
en_default = errorMap;
|
|
7664
7664
|
});
|
|
7665
7665
|
|
|
7666
|
-
//
|
|
7666
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
7667
7667
|
function setErrorMap(map) {
|
|
7668
7668
|
overrideErrorMap = map;
|
|
7669
7669
|
}
|
|
@@ -7676,7 +7676,7 @@ var init_errors = __esm(() => {
|
|
|
7676
7676
|
overrideErrorMap = en_default;
|
|
7677
7677
|
});
|
|
7678
7678
|
|
|
7679
|
-
//
|
|
7679
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
7680
7680
|
function addIssueToContext(ctx, issueData) {
|
|
7681
7681
|
const overrideMap = getErrorMap();
|
|
7682
7682
|
const issue = makeIssue({
|
|
@@ -7781,10 +7781,10 @@ var init_parseUtil = __esm(() => {
|
|
|
7781
7781
|
});
|
|
7782
7782
|
});
|
|
7783
7783
|
|
|
7784
|
-
//
|
|
7784
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
7785
7785
|
var init_typeAliases = () => {};
|
|
7786
7786
|
|
|
7787
|
-
//
|
|
7787
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
7788
7788
|
var errorUtil;
|
|
7789
7789
|
var init_errorUtil = __esm(() => {
|
|
7790
7790
|
(function(errorUtil2) {
|
|
@@ -7793,7 +7793,7 @@ var init_errorUtil = __esm(() => {
|
|
|
7793
7793
|
})(errorUtil || (errorUtil = {}));
|
|
7794
7794
|
});
|
|
7795
7795
|
|
|
7796
|
-
//
|
|
7796
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
7797
7797
|
class ParseInputLazyPath {
|
|
7798
7798
|
constructor(parent, value, path, key) {
|
|
7799
7799
|
this._cachedPath = [];
|
|
@@ -11144,7 +11144,7 @@ var init_types = __esm(() => {
|
|
|
11144
11144
|
NEVER = INVALID;
|
|
11145
11145
|
});
|
|
11146
11146
|
|
|
11147
|
-
//
|
|
11147
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
11148
11148
|
var exports_external = {};
|
|
11149
11149
|
__export(exports_external, {
|
|
11150
11150
|
void: () => voidType,
|
|
@@ -11264,14 +11264,14 @@ var init_external = __esm(() => {
|
|
|
11264
11264
|
init_ZodError();
|
|
11265
11265
|
});
|
|
11266
11266
|
|
|
11267
|
-
//
|
|
11267
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
11268
11268
|
var init_zod = __esm(() => {
|
|
11269
11269
|
init_external();
|
|
11270
11270
|
init_external();
|
|
11271
11271
|
});
|
|
11272
11272
|
|
|
11273
11273
|
// src/config/schema.ts
|
|
11274
|
-
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, MicrosoftWorkspaceConfigSchema, NotionWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, AgentMicrosoftWorkspaceConfigSchema, AgentNotionWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, AutoReleaseCheckSchema, HostControlConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
11274
|
+
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, MicrosoftWorkspaceConfigSchema, NotionWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, AgentMicrosoftWorkspaceConfigSchema, AgentNotionWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, AutoReleaseCheckSchema, HostControlConfigSchema, WebServiceConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
11275
11275
|
var init_schema = __esm(() => {
|
|
11276
11276
|
init_zod();
|
|
11277
11277
|
CodeRepoEntrySchema = exports_external.object({
|
|
@@ -11407,6 +11407,7 @@ var init_schema = __esm(() => {
|
|
|
11407
11407
|
rpm: exports_external.number().int().positive()
|
|
11408
11408
|
}).optional().describe("Per-source rate limit for the webhook ingest path (#714). " + "Off by default — when this key is absent the handler skips " + "rate-limit checks entirely. Opt in by setting `rpm` to an " + "integer requests-per-minute (token bucket per (agent, source); " + "burst equal to rpm). When enabled, exceeding the limit returns " + "429 with Retry-After header; first throttle event per " + "(agent, source) per 60s window is written to " + "<agent>/telegram/issues.jsonl. " + "Cascades from defaults.channels.telegram.webhook_rate_limit."),
|
|
11409
11409
|
webhook_via_gateway: exports_external.boolean().optional().describe("Route verified webhook events to the agent's in-container gateway " + "over a peercred-gated UDS (<agent>/telegram/webhook.sock) instead " + "of having the host-side web receiver write the agent dir directly. " + "Required under the Docker runtime: the receiver runs as the host " + "operator UID and cannot write the per-agent-UID-owned agent dir " + "(EACCES 500) nor connect the gateway socket. When true the gateway " + "(running as the agent UID) becomes the sole writer of " + "webhook-events.jsonl + dedup/cooldown state and also fires " + "webhook_dispatch. Off by default for back-compat with host-runtime " + "installs. See docs/rfcs/webhook-via-gateway-socket.md."),
|
|
11410
|
+
webhook_require_edge: exports_external.boolean().optional().describe("Cloudflare-only edge lock: require the X-Switchroom-Edge header " + "(injected by a Cloudflare Transform Rule on hooks.switchroom.ai) to " + "match the operator's edge secret at ~/.switchroom/webhook-edge-secret " + "before any HMAC verification; reject 403 otherwise. Proves the " + "request entered through our Cloudflare edge — the per-agent HMAC " + "alone can't (it proves body provenance, not network path). Stacks " + "on the GitHub-IP WAF + per-agent HMAC. Fail-closed: when required " + "but the secret file is missing/empty every request is rejected. Off " + "by default. See docs/rfcs/webhook-cloudflare-edge-lock.md."),
|
|
11410
11411
|
chat_id: exports_external.string().regex(/^-\d+$/, 'supergroup chat_id must be a negative integer as a string (e.g. "-1001234567890")').optional().describe("Per-agent supergroup ID — overrides fleet `telegram.forum_chat_id`. " + "When set, requires `default_topic_id`. Negative integer as string. " + "Forbidden when `dm_only: true`. See docs/rfcs/supergroup-mode.md."),
|
|
11411
11412
|
default_topic_id: exports_external.number().int().positive().optional().describe("Forum topic ID this agent's automated outbounds default to when " + "no more-specific alias resolves. Required when `chat_id` is set. " + "Telegram's General topic is `id=1` at MTProto but sends omit the " + "field — the outbound wrapper strips `message_thread_id === 1` " + "on send. Forbidden when `dm_only: true`."),
|
|
11412
11413
|
topic_aliases: exports_external.record(exports_external.string(), exports_external.number().int().positive()).optional().describe("Operator-friendly names for forum topic IDs (e.g. " + "`{ general: 1, planning: 17, cron: 23, admin: 31, alerts: 41 }`). " + "Referenced from per-cron `topic:` fields and the outbound router " + "for autonomous events (boot → alerts, hostd → admin, etc.). " + "Cascades per-key through defaults → profile → agent.")
|
|
@@ -11720,6 +11721,9 @@ var init_schema = __esm(() => {
|
|
|
11720
11721
|
enabled: exports_external.boolean().default(true).describe("Whether the host-control daemon is in use. Default: true (since " + "RFC C Phase 2 default-flip — the gateway's /restart, /new, /reset, " + "and /update apply slash-commands all dispatch through hostd, and " + "without it those verbs fail on docker-mode installs because the " + "agent container has no docker binary/socket). " + "When true, the compose generator emits per-agent bind mounts " + "at `~/.switchroom/hostd/<name>/sock` for every admin-flagged " + "agent. Install the daemon with `switchroom hostd install` — " + "it runs as a docker container in its own compose project " + "(`switchroom-hostd`), separate from the agent fleet's compose " + "project so `up -d --remove-orphans` cycles of the fleet " + "can't recreate the daemon mid-RPC. See RFC C §5.1. " + "Set enabled: false only on legacy systemd-mode installs that " + "still rely on the in-container `spawnSwitchroomDetached` " + "shellout (removal is tracked as RFC C Phase 3)."),
|
|
11721
11722
|
auto_release_check: AutoReleaseCheckSchema.default({}).describe("Pull-based release-triggered fleet restart (#1743). hostd polls " + "the remote release tag on a fixed interval and applies + " + "restarts the fleet (graceful) when a new release is detected. " + "Opt-in: default enabled=false.")
|
|
11722
11723
|
});
|
|
11724
|
+
WebServiceConfigSchema = exports_external.object({
|
|
11725
|
+
managed: exports_external.boolean().default(false).describe("Whether `switchroom update` refreshes the web-service container " + "(dashboard + GitHub-webhook receiver) via `switchroom webd " + "install`. Default: false — existing installs run the web server " + "as the legacy `switchroom-web.service` systemd unit and must not " + "be surprised by a container takeover of host loopback 127.0.0.1:" + "8080 mid-update. Set true ONLY after cutting over to the " + "container (stop+disable the systemd unit, `switchroom webd " + "install`). The container runs in its own compose project " + "(`switchroom-web`), separate from the agent fleet, with " + "network_mode: host so it keeps owning loopback:8080 for the " + "cloudflared tunnel + tailscale serve consumers.")
|
|
11726
|
+
});
|
|
11723
11727
|
HostdConfigSchema = exports_external.object({
|
|
11724
11728
|
config_edit_enabled: exports_external.boolean().default(false).describe("Opt-in toggle for the `config_propose_edit` hostd verb (RFC " + "admin-agent-config-edit §3). Default false — the verb returns " + "`E_CONFIG_EDIT_DISABLED` until the operator explicitly flips " + "this to true. When true (and once PR 1c lands the apply path), " + "admin agents can propose unified-diff patches against " + "`/state/config/switchroom.yaml`, gated by an operator approval " + "card in the primary chat. Same trust posture as `update_apply` " + "and `agent_restart`: the human-in-the-loop tap is the security " + "boundary, not the agent's judgement."),
|
|
11725
11729
|
config_edit_rate_per_hour: exports_external.number().int().min(1).max(20).default(3).describe("Per-requesting-agent rate cap for `config_propose_edit` cards " + "(RFC admin-agent-config-edit §5). Default 3 cards/hour; min 1, " + "max 20. Implemented as a sqlite token bucket in PR 1c; the " + "field is wired here in PR 1a so operators can pin it before the " + "limiter is live. Above the cap, the verb returns " + "`E_RATE_LIMITED` without raising a card.")
|
|
@@ -11753,6 +11757,7 @@ var init_schema = __esm(() => {
|
|
|
11753
11757
|
quota: QuotaConfigSchema.optional().describe("Optional weekly/monthly USD spend budgets rendered in the session " + "greeting. Usage is read from ccusage at runtime; no network calls."),
|
|
11754
11758
|
host_control: HostControlConfigSchema.default({}).describe("Host-control daemon configuration. Defaults to enabled=true since " + "RFC C Phase 2 (docs/rfcs/host-control-daemon.md). Omit the block " + "to accept defaults; set `enabled: false` only on legacy systemd-" + "mode installs (removal tracked as RFC C Phase 3)."),
|
|
11755
11759
|
hostd: HostdConfigSchema.default({}).describe("hostd verb-level knobs (RFC admin-agent-config-edit). Distinct " + "from `host_control:` which governs whether the daemon runs at " + "all. Currently scopes the opt-in flag and rate cap for the new " + "`config_propose_edit` verb (PR 1a — disabled by default)."),
|
|
11760
|
+
web_service: WebServiceConfigSchema.default({}).describe("Web-service container (dashboard + GitHub-webhook receiver) config. " + "Defaults to managed=false so existing systemd-mode installs are " + "untouched. Set managed: true after cutting over to the " + "`switchroom-web` container — then `switchroom update` keeps it " + "refreshed. See `switchroom webd install`."),
|
|
11756
11761
|
google_accounts: exports_external.record(exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
|
|
11757
11762
|
message: "Account key must be a Google account email like 'alice@example.com' (colons not allowed)"
|
|
11758
11763
|
}).transform((v) => v.trim().toLowerCase()), exports_external.object({
|
|
@@ -13837,7 +13842,7 @@ function createAuditLogger(opts = {}) {
|
|
|
13837
13842
|
// src/vault/grants.ts
|
|
13838
13843
|
import { randomBytes as randomBytes4 } from "node:crypto";
|
|
13839
13844
|
|
|
13840
|
-
//
|
|
13845
|
+
// node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
13841
13846
|
import nodeCrypto from "crypto";
|
|
13842
13847
|
var randomFallback = null;
|
|
13843
13848
|
function randomBytes3(len) {
|