switchroom 0.13.54 → 0.13.55
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 +131 -80
- package/dist/auth-broker/index.js +131 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +13388 -0
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +1451 -730
- package/dist/host-control/main.js +199 -148
- package/dist/vault/approvals/kernel-server.js +134 -83
- package/dist/vault/broker/server.js +135 -84
- package/package.json +1 -1
- package/skills/notion/SKILL.md +144 -0
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +247 -192
- package/telegram-plugin/dist/server.js +160 -160
|
@@ -328,7 +328,7 @@ var init_merge = __esm(() => {
|
|
|
328
328
|
})(mergeAgentConfig ||= {});
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
//
|
|
331
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
332
332
|
var require_identity = __commonJS((exports) => {
|
|
333
333
|
var ALIAS = Symbol.for("yaml.alias");
|
|
334
334
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -382,7 +382,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
382
382
|
exports.isSeq = isSeq;
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
//
|
|
385
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
386
386
|
var require_visit = __commonJS((exports) => {
|
|
387
387
|
var identity = require_identity();
|
|
388
388
|
var BREAK = Symbol("break visit");
|
|
@@ -537,7 +537,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
537
537
|
exports.visitAsync = visitAsync;
|
|
538
538
|
});
|
|
539
539
|
|
|
540
|
-
//
|
|
540
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
541
541
|
var require_directives = __commonJS((exports) => {
|
|
542
542
|
var identity = require_identity();
|
|
543
543
|
var visit = require_visit();
|
|
@@ -689,7 +689,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
689
689
|
exports.Directives = Directives;
|
|
690
690
|
});
|
|
691
691
|
|
|
692
|
-
//
|
|
692
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
693
693
|
var require_anchors = __commonJS((exports) => {
|
|
694
694
|
var identity = require_identity();
|
|
695
695
|
var visit = require_visit();
|
|
@@ -751,7 +751,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
751
751
|
exports.findNewAnchor = findNewAnchor;
|
|
752
752
|
});
|
|
753
753
|
|
|
754
|
-
//
|
|
754
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
755
755
|
var require_applyReviver = __commonJS((exports) => {
|
|
756
756
|
function applyReviver(reviver, obj, key, val) {
|
|
757
757
|
if (val && typeof val === "object") {
|
|
@@ -798,7 +798,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
798
798
|
exports.applyReviver = applyReviver;
|
|
799
799
|
});
|
|
800
800
|
|
|
801
|
-
//
|
|
801
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
802
802
|
var require_toJS = __commonJS((exports) => {
|
|
803
803
|
var identity = require_identity();
|
|
804
804
|
function toJS(value, arg, ctx) {
|
|
@@ -825,7 +825,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
825
825
|
exports.toJS = toJS;
|
|
826
826
|
});
|
|
827
827
|
|
|
828
|
-
//
|
|
828
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
829
829
|
var require_Node = __commonJS((exports) => {
|
|
830
830
|
var applyReviver = require_applyReviver();
|
|
831
831
|
var identity = require_identity();
|
|
@@ -862,7 +862,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
862
862
|
exports.NodeBase = NodeBase;
|
|
863
863
|
});
|
|
864
864
|
|
|
865
|
-
//
|
|
865
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
866
866
|
var require_Alias = __commonJS((exports) => {
|
|
867
867
|
var anchors = require_anchors();
|
|
868
868
|
var visit = require_visit();
|
|
@@ -970,7 +970,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
970
970
|
exports.Alias = Alias;
|
|
971
971
|
});
|
|
972
972
|
|
|
973
|
-
//
|
|
973
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
974
974
|
var require_Scalar = __commonJS((exports) => {
|
|
975
975
|
var identity = require_identity();
|
|
976
976
|
var Node = require_Node();
|
|
@@ -998,7 +998,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
998
998
|
exports.isScalarValue = isScalarValue;
|
|
999
999
|
});
|
|
1000
1000
|
|
|
1001
|
-
//
|
|
1001
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
1002
1002
|
var require_createNode = __commonJS((exports) => {
|
|
1003
1003
|
var Alias = require_Alias();
|
|
1004
1004
|
var identity = require_identity();
|
|
@@ -1070,7 +1070,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
1070
1070
|
exports.createNode = createNode;
|
|
1071
1071
|
});
|
|
1072
1072
|
|
|
1073
|
-
//
|
|
1073
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
1074
1074
|
var require_Collection = __commonJS((exports) => {
|
|
1075
1075
|
var createNode = require_createNode();
|
|
1076
1076
|
var identity = require_identity();
|
|
@@ -1185,7 +1185,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
1185
1185
|
exports.isEmptyPath = isEmptyPath;
|
|
1186
1186
|
});
|
|
1187
1187
|
|
|
1188
|
-
//
|
|
1188
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1189
1189
|
var require_stringifyComment = __commonJS((exports) => {
|
|
1190
1190
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
1191
1191
|
function indentComment(comment, indent) {
|
|
@@ -1202,7 +1202,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
1202
1202
|
exports.stringifyComment = stringifyComment;
|
|
1203
1203
|
});
|
|
1204
1204
|
|
|
1205
|
-
//
|
|
1205
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1206
1206
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
1207
1207
|
var FOLD_FLOW = "flow";
|
|
1208
1208
|
var FOLD_BLOCK = "block";
|
|
@@ -1339,7 +1339,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
1339
1339
|
exports.foldFlowLines = foldFlowLines;
|
|
1340
1340
|
});
|
|
1341
1341
|
|
|
1342
|
-
//
|
|
1342
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1343
1343
|
var require_stringifyString = __commonJS((exports) => {
|
|
1344
1344
|
var Scalar = require_Scalar();
|
|
1345
1345
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1637,7 +1637,7 @@ ${indent}`);
|
|
|
1637
1637
|
exports.stringifyString = stringifyString;
|
|
1638
1638
|
});
|
|
1639
1639
|
|
|
1640
|
-
//
|
|
1640
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
1641
1641
|
var require_stringify = __commonJS((exports) => {
|
|
1642
1642
|
var anchors = require_anchors();
|
|
1643
1643
|
var identity = require_identity();
|
|
@@ -1758,7 +1758,7 @@ ${ctx.indent}${str}`;
|
|
|
1758
1758
|
exports.stringify = stringify;
|
|
1759
1759
|
});
|
|
1760
1760
|
|
|
1761
|
-
//
|
|
1761
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1762
1762
|
var require_stringifyPair = __commonJS((exports) => {
|
|
1763
1763
|
var identity = require_identity();
|
|
1764
1764
|
var Scalar = require_Scalar();
|
|
@@ -1894,7 +1894,7 @@ ${ctx.indent}`;
|
|
|
1894
1894
|
exports.stringifyPair = stringifyPair;
|
|
1895
1895
|
});
|
|
1896
1896
|
|
|
1897
|
-
//
|
|
1897
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
1898
1898
|
var require_log = __commonJS((exports) => {
|
|
1899
1899
|
var node_process = __require("process");
|
|
1900
1900
|
function debug(logLevel, ...messages) {
|
|
@@ -1913,7 +1913,7 @@ var require_log = __commonJS((exports) => {
|
|
|
1913
1913
|
exports.warn = warn;
|
|
1914
1914
|
});
|
|
1915
1915
|
|
|
1916
|
-
//
|
|
1916
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1917
1917
|
var require_merge = __commonJS((exports) => {
|
|
1918
1918
|
var identity = require_identity();
|
|
1919
1919
|
var Scalar = require_Scalar();
|
|
@@ -1967,7 +1967,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
1967
1967
|
exports.merge = merge;
|
|
1968
1968
|
});
|
|
1969
1969
|
|
|
1970
|
-
//
|
|
1970
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1971
1971
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
1972
1972
|
var log = require_log();
|
|
1973
1973
|
var merge = require_merge();
|
|
@@ -2028,7 +2028,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
2028
2028
|
exports.addPairToJSMap = addPairToJSMap;
|
|
2029
2029
|
});
|
|
2030
2030
|
|
|
2031
|
-
//
|
|
2031
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
2032
2032
|
var require_Pair = __commonJS((exports) => {
|
|
2033
2033
|
var createNode = require_createNode();
|
|
2034
2034
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2066,7 +2066,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
2066
2066
|
exports.createPair = createPair;
|
|
2067
2067
|
});
|
|
2068
2068
|
|
|
2069
|
-
//
|
|
2069
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2070
2070
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
2071
2071
|
var identity = require_identity();
|
|
2072
2072
|
var stringify = require_stringify();
|
|
@@ -2218,7 +2218,7 @@ ${indent}${end}`;
|
|
|
2218
2218
|
exports.stringifyCollection = stringifyCollection;
|
|
2219
2219
|
});
|
|
2220
2220
|
|
|
2221
|
-
//
|
|
2221
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2222
2222
|
var require_YAMLMap = __commonJS((exports) => {
|
|
2223
2223
|
var stringifyCollection = require_stringifyCollection();
|
|
2224
2224
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2345,7 +2345,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
2345
2345
|
exports.findPair = findPair;
|
|
2346
2346
|
});
|
|
2347
2347
|
|
|
2348
|
-
//
|
|
2348
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
2349
2349
|
var require_map = __commonJS((exports) => {
|
|
2350
2350
|
var identity = require_identity();
|
|
2351
2351
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2364,7 +2364,7 @@ var require_map = __commonJS((exports) => {
|
|
|
2364
2364
|
exports.map = map;
|
|
2365
2365
|
});
|
|
2366
2366
|
|
|
2367
|
-
//
|
|
2367
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2368
2368
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
2369
2369
|
var createNode = require_createNode();
|
|
2370
2370
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2457,7 +2457,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
2457
2457
|
exports.YAMLSeq = YAMLSeq;
|
|
2458
2458
|
});
|
|
2459
2459
|
|
|
2460
|
-
//
|
|
2460
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
2461
2461
|
var require_seq = __commonJS((exports) => {
|
|
2462
2462
|
var identity = require_identity();
|
|
2463
2463
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2476,7 +2476,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
2476
2476
|
exports.seq = seq;
|
|
2477
2477
|
});
|
|
2478
2478
|
|
|
2479
|
-
//
|
|
2479
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
2480
2480
|
var require_string = __commonJS((exports) => {
|
|
2481
2481
|
var stringifyString = require_stringifyString();
|
|
2482
2482
|
var string = {
|
|
@@ -2492,7 +2492,7 @@ var require_string = __commonJS((exports) => {
|
|
|
2492
2492
|
exports.string = string;
|
|
2493
2493
|
});
|
|
2494
2494
|
|
|
2495
|
-
//
|
|
2495
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
2496
2496
|
var require_null = __commonJS((exports) => {
|
|
2497
2497
|
var Scalar = require_Scalar();
|
|
2498
2498
|
var nullTag = {
|
|
@@ -2507,7 +2507,7 @@ var require_null = __commonJS((exports) => {
|
|
|
2507
2507
|
exports.nullTag = nullTag;
|
|
2508
2508
|
});
|
|
2509
2509
|
|
|
2510
|
-
//
|
|
2510
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
2511
2511
|
var require_bool = __commonJS((exports) => {
|
|
2512
2512
|
var Scalar = require_Scalar();
|
|
2513
2513
|
var boolTag = {
|
|
@@ -2528,7 +2528,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
2528
2528
|
exports.boolTag = boolTag;
|
|
2529
2529
|
});
|
|
2530
2530
|
|
|
2531
|
-
//
|
|
2531
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2532
2532
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
2533
2533
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2534
2534
|
if (typeof value === "bigint")
|
|
@@ -2552,7 +2552,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
2552
2552
|
exports.stringifyNumber = stringifyNumber;
|
|
2553
2553
|
});
|
|
2554
2554
|
|
|
2555
|
-
//
|
|
2555
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
2556
2556
|
var require_float = __commonJS((exports) => {
|
|
2557
2557
|
var Scalar = require_Scalar();
|
|
2558
2558
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2595,7 +2595,7 @@ var require_float = __commonJS((exports) => {
|
|
|
2595
2595
|
exports.floatNaN = floatNaN;
|
|
2596
2596
|
});
|
|
2597
2597
|
|
|
2598
|
-
//
|
|
2598
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
2599
2599
|
var require_int = __commonJS((exports) => {
|
|
2600
2600
|
var stringifyNumber = require_stringifyNumber();
|
|
2601
2601
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2637,7 +2637,7 @@ var require_int = __commonJS((exports) => {
|
|
|
2637
2637
|
exports.intOct = intOct;
|
|
2638
2638
|
});
|
|
2639
2639
|
|
|
2640
|
-
//
|
|
2640
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
2641
2641
|
var require_schema = __commonJS((exports) => {
|
|
2642
2642
|
var map = require_map();
|
|
2643
2643
|
var _null = require_null();
|
|
@@ -2662,7 +2662,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
2662
2662
|
exports.schema = schema;
|
|
2663
2663
|
});
|
|
2664
2664
|
|
|
2665
|
-
//
|
|
2665
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
2666
2666
|
var require_schema2 = __commonJS((exports) => {
|
|
2667
2667
|
var Scalar = require_Scalar();
|
|
2668
2668
|
var map = require_map();
|
|
@@ -2726,7 +2726,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
2726
2726
|
exports.schema = schema;
|
|
2727
2727
|
});
|
|
2728
2728
|
|
|
2729
|
-
//
|
|
2729
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2730
2730
|
var require_binary = __commonJS((exports) => {
|
|
2731
2731
|
var node_buffer = __require("buffer");
|
|
2732
2732
|
var Scalar = require_Scalar();
|
|
@@ -2781,7 +2781,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
2781
2781
|
exports.binary = binary;
|
|
2782
2782
|
});
|
|
2783
2783
|
|
|
2784
|
-
//
|
|
2784
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2785
2785
|
var require_pairs = __commonJS((exports) => {
|
|
2786
2786
|
var identity = require_identity();
|
|
2787
2787
|
var Pair = require_Pair();
|
|
@@ -2856,7 +2856,7 @@ ${cn.comment}` : item.comment;
|
|
|
2856
2856
|
exports.resolvePairs = resolvePairs;
|
|
2857
2857
|
});
|
|
2858
2858
|
|
|
2859
|
-
//
|
|
2859
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2860
2860
|
var require_omap = __commonJS((exports) => {
|
|
2861
2861
|
var identity = require_identity();
|
|
2862
2862
|
var toJS = require_toJS();
|
|
@@ -2928,7 +2928,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
2928
2928
|
exports.omap = omap;
|
|
2929
2929
|
});
|
|
2930
2930
|
|
|
2931
|
-
//
|
|
2931
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2932
2932
|
var require_bool2 = __commonJS((exports) => {
|
|
2933
2933
|
var Scalar = require_Scalar();
|
|
2934
2934
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2957,7 +2957,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
2957
2957
|
exports.trueTag = trueTag;
|
|
2958
2958
|
});
|
|
2959
2959
|
|
|
2960
|
-
//
|
|
2960
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2961
2961
|
var require_float2 = __commonJS((exports) => {
|
|
2962
2962
|
var Scalar = require_Scalar();
|
|
2963
2963
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3003,7 +3003,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
3003
3003
|
exports.floatNaN = floatNaN;
|
|
3004
3004
|
});
|
|
3005
3005
|
|
|
3006
|
-
//
|
|
3006
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3007
3007
|
var require_int2 = __commonJS((exports) => {
|
|
3008
3008
|
var stringifyNumber = require_stringifyNumber();
|
|
3009
3009
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3079,7 +3079,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
3079
3079
|
exports.intOct = intOct;
|
|
3080
3080
|
});
|
|
3081
3081
|
|
|
3082
|
-
//
|
|
3082
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3083
3083
|
var require_set = __commonJS((exports) => {
|
|
3084
3084
|
var identity = require_identity();
|
|
3085
3085
|
var Pair = require_Pair();
|
|
@@ -3162,7 +3162,7 @@ var require_set = __commonJS((exports) => {
|
|
|
3162
3162
|
exports.set = set;
|
|
3163
3163
|
});
|
|
3164
3164
|
|
|
3165
|
-
//
|
|
3165
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3166
3166
|
var require_timestamp = __commonJS((exports) => {
|
|
3167
3167
|
var stringifyNumber = require_stringifyNumber();
|
|
3168
3168
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3244,7 +3244,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
3244
3244
|
exports.timestamp = timestamp;
|
|
3245
3245
|
});
|
|
3246
3246
|
|
|
3247
|
-
//
|
|
3247
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3248
3248
|
var require_schema3 = __commonJS((exports) => {
|
|
3249
3249
|
var map = require_map();
|
|
3250
3250
|
var _null = require_null();
|
|
@@ -3285,7 +3285,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
3285
3285
|
exports.schema = schema;
|
|
3286
3286
|
});
|
|
3287
3287
|
|
|
3288
|
-
//
|
|
3288
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
3289
3289
|
var require_tags = __commonJS((exports) => {
|
|
3290
3290
|
var map = require_map();
|
|
3291
3291
|
var _null = require_null();
|
|
@@ -3376,7 +3376,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
3376
3376
|
exports.getTags = getTags;
|
|
3377
3377
|
});
|
|
3378
3378
|
|
|
3379
|
-
//
|
|
3379
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
3380
3380
|
var require_Schema = __commonJS((exports) => {
|
|
3381
3381
|
var identity = require_identity();
|
|
3382
3382
|
var map = require_map();
|
|
@@ -3406,7 +3406,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
3406
3406
|
exports.Schema = Schema;
|
|
3407
3407
|
});
|
|
3408
3408
|
|
|
3409
|
-
//
|
|
3409
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3410
3410
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
3411
3411
|
var identity = require_identity();
|
|
3412
3412
|
var stringify = require_stringify();
|
|
@@ -3486,7 +3486,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
3486
3486
|
exports.stringifyDocument = stringifyDocument;
|
|
3487
3487
|
});
|
|
3488
3488
|
|
|
3489
|
-
//
|
|
3489
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
3490
3490
|
var require_Document = __commonJS((exports) => {
|
|
3491
3491
|
var Alias = require_Alias();
|
|
3492
3492
|
var Collection = require_Collection();
|
|
@@ -3721,7 +3721,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
3721
3721
|
exports.Document = Document;
|
|
3722
3722
|
});
|
|
3723
3723
|
|
|
3724
|
-
//
|
|
3724
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
3725
3725
|
var require_errors = __commonJS((exports) => {
|
|
3726
3726
|
class YAMLError extends Error {
|
|
3727
3727
|
constructor(name, pos, code, message) {
|
|
@@ -3786,7 +3786,7 @@ ${pointer}
|
|
|
3786
3786
|
exports.prettifyError = prettifyError;
|
|
3787
3787
|
});
|
|
3788
3788
|
|
|
3789
|
-
//
|
|
3789
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
3790
3790
|
var require_resolve_props = __commonJS((exports) => {
|
|
3791
3791
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3792
3792
|
let spaceBefore = false;
|
|
@@ -3916,7 +3916,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
3916
3916
|
exports.resolveProps = resolveProps;
|
|
3917
3917
|
});
|
|
3918
3918
|
|
|
3919
|
-
//
|
|
3919
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3920
3920
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
3921
3921
|
function containsNewline(key) {
|
|
3922
3922
|
if (!key)
|
|
@@ -3956,7 +3956,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
3956
3956
|
exports.containsNewline = containsNewline;
|
|
3957
3957
|
});
|
|
3958
3958
|
|
|
3959
|
-
//
|
|
3959
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3960
3960
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
3961
3961
|
var utilContainsNewline = require_util_contains_newline();
|
|
3962
3962
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3971,7 +3971,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
3971
3971
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3972
3972
|
});
|
|
3973
3973
|
|
|
3974
|
-
//
|
|
3974
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3975
3975
|
var require_util_map_includes = __commonJS((exports) => {
|
|
3976
3976
|
var identity = require_identity();
|
|
3977
3977
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3984,7 +3984,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
3984
3984
|
exports.mapIncludes = mapIncludes;
|
|
3985
3985
|
});
|
|
3986
3986
|
|
|
3987
|
-
//
|
|
3987
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3988
3988
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
3989
3989
|
var Pair = require_Pair();
|
|
3990
3990
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4091,7 +4091,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
4091
4091
|
exports.resolveBlockMap = resolveBlockMap;
|
|
4092
4092
|
});
|
|
4093
4093
|
|
|
4094
|
-
//
|
|
4094
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4095
4095
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
4096
4096
|
var YAMLSeq = require_YAMLSeq();
|
|
4097
4097
|
var resolveProps = require_resolve_props();
|
|
@@ -4139,7 +4139,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
4139
4139
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
4140
4140
|
});
|
|
4141
4141
|
|
|
4142
|
-
//
|
|
4142
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
4143
4143
|
var require_resolve_end = __commonJS((exports) => {
|
|
4144
4144
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4145
4145
|
let comment = "";
|
|
@@ -4179,7 +4179,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
4179
4179
|
exports.resolveEnd = resolveEnd;
|
|
4180
4180
|
});
|
|
4181
4181
|
|
|
4182
|
-
//
|
|
4182
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4183
4183
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
4184
4184
|
var identity = require_identity();
|
|
4185
4185
|
var Pair = require_Pair();
|
|
@@ -4370,7 +4370,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
4370
4370
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
4371
4371
|
});
|
|
4372
4372
|
|
|
4373
|
-
//
|
|
4373
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
4374
4374
|
var require_compose_collection = __commonJS((exports) => {
|
|
4375
4375
|
var identity = require_identity();
|
|
4376
4376
|
var Scalar = require_Scalar();
|
|
@@ -4432,7 +4432,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
4432
4432
|
exports.composeCollection = composeCollection;
|
|
4433
4433
|
});
|
|
4434
4434
|
|
|
4435
|
-
//
|
|
4435
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4436
4436
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
4437
4437
|
var Scalar = require_Scalar();
|
|
4438
4438
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4625,7 +4625,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
4625
4625
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
4626
4626
|
});
|
|
4627
4627
|
|
|
4628
|
-
//
|
|
4628
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4629
4629
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
4630
4630
|
var Scalar = require_Scalar();
|
|
4631
4631
|
var resolveEnd = require_resolve_end();
|
|
@@ -4841,7 +4841,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
4841
4841
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4842
4842
|
});
|
|
4843
4843
|
|
|
4844
|
-
//
|
|
4844
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4845
4845
|
var require_compose_scalar = __commonJS((exports) => {
|
|
4846
4846
|
var identity = require_identity();
|
|
4847
4847
|
var Scalar = require_Scalar();
|
|
@@ -4919,7 +4919,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
4919
4919
|
exports.composeScalar = composeScalar;
|
|
4920
4920
|
});
|
|
4921
4921
|
|
|
4922
|
-
//
|
|
4922
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4923
4923
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
4924
4924
|
function emptyScalarPosition(offset, before, pos) {
|
|
4925
4925
|
if (before) {
|
|
@@ -4946,7 +4946,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
4946
4946
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4947
4947
|
});
|
|
4948
4948
|
|
|
4949
|
-
//
|
|
4949
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
4950
4950
|
var require_compose_node = __commonJS((exports) => {
|
|
4951
4951
|
var Alias = require_Alias();
|
|
4952
4952
|
var identity = require_identity();
|
|
@@ -5049,7 +5049,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
5049
5049
|
exports.composeNode = composeNode;
|
|
5050
5050
|
});
|
|
5051
5051
|
|
|
5052
|
-
//
|
|
5052
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
5053
5053
|
var require_compose_doc = __commonJS((exports) => {
|
|
5054
5054
|
var Document = require_Document();
|
|
5055
5055
|
var composeNode = require_compose_node();
|
|
@@ -5089,7 +5089,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
5089
5089
|
exports.composeDoc = composeDoc;
|
|
5090
5090
|
});
|
|
5091
5091
|
|
|
5092
|
-
//
|
|
5092
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
5093
5093
|
var require_composer = __commonJS((exports) => {
|
|
5094
5094
|
var node_process = __require("process");
|
|
5095
5095
|
var directives = require_directives();
|
|
@@ -5278,7 +5278,7 @@ ${end.comment}` : end.comment;
|
|
|
5278
5278
|
exports.Composer = Composer;
|
|
5279
5279
|
});
|
|
5280
5280
|
|
|
5281
|
-
//
|
|
5281
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5282
5282
|
var require_cst_scalar = __commonJS((exports) => {
|
|
5283
5283
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5284
5284
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5468,7 +5468,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
5468
5468
|
exports.setScalarValue = setScalarValue;
|
|
5469
5469
|
});
|
|
5470
5470
|
|
|
5471
|
-
//
|
|
5471
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5472
5472
|
var require_cst_stringify = __commonJS((exports) => {
|
|
5473
5473
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
5474
5474
|
function stringifyToken(token) {
|
|
@@ -5526,7 +5526,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
5526
5526
|
exports.stringify = stringify;
|
|
5527
5527
|
});
|
|
5528
5528
|
|
|
5529
|
-
//
|
|
5529
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
5530
5530
|
var require_cst_visit = __commonJS((exports) => {
|
|
5531
5531
|
var BREAK = Symbol("break visit");
|
|
5532
5532
|
var SKIP = Symbol("skip children");
|
|
@@ -5585,7 +5585,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
5585
5585
|
exports.visit = visit;
|
|
5586
5586
|
});
|
|
5587
5587
|
|
|
5588
|
-
//
|
|
5588
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
5589
5589
|
var require_cst = __commonJS((exports) => {
|
|
5590
5590
|
var cstScalar = require_cst_scalar();
|
|
5591
5591
|
var cstStringify = require_cst_stringify();
|
|
@@ -5686,7 +5686,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
5686
5686
|
exports.tokenType = tokenType;
|
|
5687
5687
|
});
|
|
5688
5688
|
|
|
5689
|
-
//
|
|
5689
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
5690
5690
|
var require_lexer = __commonJS((exports) => {
|
|
5691
5691
|
var cst = require_cst();
|
|
5692
5692
|
function isEmpty(ch) {
|
|
@@ -6272,7 +6272,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
6272
6272
|
exports.Lexer = Lexer;
|
|
6273
6273
|
});
|
|
6274
6274
|
|
|
6275
|
-
//
|
|
6275
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
6276
6276
|
var require_line_counter = __commonJS((exports) => {
|
|
6277
6277
|
class LineCounter {
|
|
6278
6278
|
constructor() {
|
|
@@ -6300,7 +6300,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
6300
6300
|
exports.LineCounter = LineCounter;
|
|
6301
6301
|
});
|
|
6302
6302
|
|
|
6303
|
-
//
|
|
6303
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
6304
6304
|
var require_parser = __commonJS((exports) => {
|
|
6305
6305
|
var node_process = __require("process");
|
|
6306
6306
|
var cst = require_cst();
|
|
@@ -7149,7 +7149,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
7149
7149
|
exports.Parser = Parser;
|
|
7150
7150
|
});
|
|
7151
7151
|
|
|
7152
|
-
//
|
|
7152
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
7153
7153
|
var require_public_api = __commonJS((exports) => {
|
|
7154
7154
|
var composer = require_composer();
|
|
7155
7155
|
var Document = require_Document();
|
|
@@ -7243,7 +7243,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
7243
7243
|
exports.stringify = stringify;
|
|
7244
7244
|
});
|
|
7245
7245
|
|
|
7246
|
-
//
|
|
7246
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
7247
7247
|
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;
|
|
7248
7248
|
var init_dist = __esm(() => {
|
|
7249
7249
|
composer = require_composer();
|
|
@@ -7292,7 +7292,7 @@ var init_dist = __esm(() => {
|
|
|
7292
7292
|
$visitAsync = visit.visitAsync;
|
|
7293
7293
|
});
|
|
7294
7294
|
|
|
7295
|
-
//
|
|
7295
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
7296
7296
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
7297
7297
|
const t = typeof data;
|
|
7298
7298
|
switch (t) {
|
|
@@ -7423,7 +7423,7 @@ var init_util = __esm(() => {
|
|
|
7423
7423
|
]);
|
|
7424
7424
|
});
|
|
7425
7425
|
|
|
7426
|
-
//
|
|
7426
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
7427
7427
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
7428
7428
|
const json = JSON.stringify(obj, null, 2);
|
|
7429
7429
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -7544,7 +7544,7 @@ var init_ZodError = __esm(() => {
|
|
|
7544
7544
|
};
|
|
7545
7545
|
});
|
|
7546
7546
|
|
|
7547
|
-
//
|
|
7547
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
7548
7548
|
var errorMap = (issue, _ctx) => {
|
|
7549
7549
|
let message;
|
|
7550
7550
|
switch (issue.code) {
|
|
@@ -7651,7 +7651,7 @@ var init_en = __esm(() => {
|
|
|
7651
7651
|
en_default = errorMap;
|
|
7652
7652
|
});
|
|
7653
7653
|
|
|
7654
|
-
//
|
|
7654
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
7655
7655
|
function setErrorMap(map) {
|
|
7656
7656
|
overrideErrorMap = map;
|
|
7657
7657
|
}
|
|
@@ -7664,7 +7664,7 @@ var init_errors = __esm(() => {
|
|
|
7664
7664
|
overrideErrorMap = en_default;
|
|
7665
7665
|
});
|
|
7666
7666
|
|
|
7667
|
-
//
|
|
7667
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
7668
7668
|
function addIssueToContext(ctx, issueData) {
|
|
7669
7669
|
const overrideMap = getErrorMap();
|
|
7670
7670
|
const issue = makeIssue({
|
|
@@ -7769,10 +7769,10 @@ var init_parseUtil = __esm(() => {
|
|
|
7769
7769
|
});
|
|
7770
7770
|
});
|
|
7771
7771
|
|
|
7772
|
-
//
|
|
7772
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
7773
7773
|
var init_typeAliases = () => {};
|
|
7774
7774
|
|
|
7775
|
-
//
|
|
7775
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
7776
7776
|
var errorUtil;
|
|
7777
7777
|
var init_errorUtil = __esm(() => {
|
|
7778
7778
|
(function(errorUtil2) {
|
|
@@ -7781,7 +7781,7 @@ var init_errorUtil = __esm(() => {
|
|
|
7781
7781
|
})(errorUtil || (errorUtil = {}));
|
|
7782
7782
|
});
|
|
7783
7783
|
|
|
7784
|
-
//
|
|
7784
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
7785
7785
|
class ParseInputLazyPath {
|
|
7786
7786
|
constructor(parent, value, path, key) {
|
|
7787
7787
|
this._cachedPath = [];
|
|
@@ -11132,7 +11132,7 @@ var init_types = __esm(() => {
|
|
|
11132
11132
|
NEVER = INVALID;
|
|
11133
11133
|
});
|
|
11134
11134
|
|
|
11135
|
-
//
|
|
11135
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
11136
11136
|
var exports_external = {};
|
|
11137
11137
|
__export(exports_external, {
|
|
11138
11138
|
void: () => voidType,
|
|
@@ -11252,14 +11252,14 @@ var init_external = __esm(() => {
|
|
|
11252
11252
|
init_ZodError();
|
|
11253
11253
|
});
|
|
11254
11254
|
|
|
11255
|
-
//
|
|
11255
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
11256
11256
|
var init_zod = __esm(() => {
|
|
11257
11257
|
init_external();
|
|
11258
11258
|
init_external();
|
|
11259
11259
|
});
|
|
11260
11260
|
|
|
11261
11261
|
// src/config/schema.ts
|
|
11262
|
-
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, MicrosoftWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, AgentMicrosoftWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, AutoReleaseCheckSchema, HostControlConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
11262
|
+
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;
|
|
11263
11263
|
var init_schema = __esm(() => {
|
|
11264
11264
|
init_zod();
|
|
11265
11265
|
CodeRepoEntrySchema = exports_external.object({
|
|
@@ -11444,6 +11444,16 @@ var init_schema = __esm(() => {
|
|
|
11444
11444
|
authority: exports_external.string().url().optional().describe("Microsoft authority endpoint. Defaults to " + "'https://login.microsoftonline.com/common' which accepts both " + "personal MSA and work/school tenants. Override only for " + "single-tenant deployments."),
|
|
11445
11445
|
org_mode: exports_external.boolean().optional().describe("Opt-in to Teams + SharePoint surfaces (RFC §6.4). When true, " + "the v1 scope set adds Sites.ReadWrite.All AND the launcher " + "spawns softeria with --org-mode. Defaults to false — personal " + "MSA + standard work surfaces only. Flipping for an existing " + "consented account requires re-running 'auth microsoft account " + "add --replace' to consent the additional scope.")
|
|
11446
11446
|
}).optional();
|
|
11447
|
+
NotionWorkspaceConfigSchema = exports_external.object({
|
|
11448
|
+
vault_key: exports_external.string().min(1).default("notion/integration-token").describe("Vault key holding the Notion internal-integration token. Default " + "`notion/integration-token`. Override only for non-standard vault " + "layouts. The broker's --allow ACL on this key is the authoritative " + "list of which agents may receive the token."),
|
|
11449
|
+
databases: exports_external.record(exports_external.string().regex(/^[a-z0-9][a-z0-9_-]{0,62}$/, {
|
|
11450
|
+
message: "notion_workspace.databases friendly names must match " + "/^[a-z0-9][a-z0-9_-]{0,62}$/ — lowercase letters, digits, " + "hyphens, underscores. Got: '%s'."
|
|
11451
|
+
}), exports_external.string().regex(/^[0-9a-fA-F]{8}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{12}$/, {
|
|
11452
|
+
message: "notion_workspace.databases values must be Notion database " + "UUIDs (32 hex characters, optional dashes)."
|
|
11453
|
+
})).default({}).describe("Friendly-name → Notion database UUID map. Operator-managed; agents " + "reference databases by friendly name only — they never see or type " + "UUIDs. Populate via `switchroom notion list-dbs` (PR 4) after " + "vault-putting the integration token and sharing DBs with the " + "integration in Notion's UI."),
|
|
11454
|
+
mcp_version: exports_external.string().min(1).optional().describe("Optional pin for the upstream `@notionhq/notion-mcp-server` npm " + "package version. Default is the build-time `NOTION_MCP_PINNED_VERSION` " + "constant. Override only when reproducing operator-specific bugs."),
|
|
11455
|
+
rate_limit_rps: exports_external.number().int().positive().max(10).optional().describe("Optional global rate-limit budget in requests per second across all " + "switchroom agents sharing this integration token. Defaults to 3 " + "(Notion's documented public-API limit). Lower it if you also use " + "the integration token from outside switchroom and need to share " + "budget. Higher than 10 is rejected — if you think you need it, " + "your usage probably needs a workspace-tier upgrade with Notion.")
|
|
11456
|
+
}).optional();
|
|
11447
11457
|
AgentGoogleWorkspaceConfigSchema = exports_external.object({
|
|
11448
11458
|
account: exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
|
|
11449
11459
|
message: "google_workspace.account must be a Google account email like " + "'alice@example.com' (colons not allowed)"
|
|
@@ -11457,6 +11467,13 @@ var init_schema = __esm(() => {
|
|
|
11457
11467
|
}).transform((v) => v.trim().toLowerCase()).optional().describe("RFC #1873: the Microsoft account this agent uses for the M365 MCP. " + "Must be a key in top-level `microsoft_accounts:` with this agent " + "listed in its `enabled_for[]`. Read by the auth-broker " + "(get-credentials, provider=microsoft) and by the scaffold to " + "decide whether to emit the `ms-365` MCP entry. Normalized to " + "lowercase so it matches the microsoft_accounts key (which is " + "also normalized)."),
|
|
11458
11468
|
org_mode: exports_external.boolean().optional().describe("Per-agent org_mode override (RFC #1873 §6.4). When set, replaces " + "the top-level microsoft_workspace.org_mode for this agent. " + "Defaults to top-level value (which defaults to false).")
|
|
11459
11469
|
}).optional();
|
|
11470
|
+
AgentNotionWorkspaceConfigSchema = exports_external.object({
|
|
11471
|
+
databases: exports_external.array(exports_external.string().regex(/^[a-z0-9][a-z0-9_-]{0,62}$/, {
|
|
11472
|
+
message: "notion_workspace.databases entries must be friendly names " + "matching /^[a-z0-9][a-z0-9_-]{0,62}$/ — these must appear as " + "keys in top-level notion_workspace.databases."
|
|
11473
|
+
})).min(1, {
|
|
11474
|
+
message: "notion_workspace.databases must list at least one friendly " + "name. An empty list rejects every Notion tool call — if you " + "want to remove this agent's Notion access, delete the entire " + "notion_workspace block instead."
|
|
11475
|
+
}).optional().describe("Optional per-agent allowlist of database friendly names this " + "agent may read/write. Each name must exist as a key in top-level " + "notion_workspace.databases. Omit the field (or leave it undefined) " + "to grant access to every DB the upstream integration can see — " + "appropriate for an admin/orchestrator agent. Set the list to " + "narrow access for specialist agents.")
|
|
11476
|
+
}).optional();
|
|
11460
11477
|
ReactionsSchema = exports_external.object({
|
|
11461
11478
|
enabled: exports_external.boolean().optional().describe("Master switch for the reaction-trigger path. When false, " + "reactions are still persisted via recordReaction but never " + "dispatched to the agent as synthetic inbound turns. Default true."),
|
|
11462
11479
|
trigger_emojis: exports_external.array(exports_external.string()).optional().describe("Emoji allowlist that triggers a synthetic inbound when reacted " + "to a bot message. Default ['\uD83D\uDC4E', '❌', '\uD83D\uDC4D', '✅']. Cascade " + "mode: REPLACE (not union) — setting this at a layer replaces " + "lower layers entirely, so an operator can narrow to [] to " + "disable triggering without flipping `enabled`."),
|
|
@@ -11593,6 +11610,7 @@ var init_schema = __esm(() => {
|
|
|
11593
11610
|
drive: AgentGoogleWorkspaceConfigSchema.describe("RFC D legacy key — use `google_workspace:` instead. Per-agent " + "google_workspace overrides (currently approvers + tier). When set, " + "replaces the top-level approvers list for this agent. " + "google_client_id/secret are not per-agent — they live at the top level."),
|
|
11594
11611
|
google_workspace: AgentGoogleWorkspaceConfigSchema.describe("RFC G canonical key. Per-agent Google Workspace overrides — currently " + "approvers (replaces, does not extend the top-level list) and tier " + "(`core` | `extended` | `complete`, replaces top-level default). " + "google_client_id/secret are not per-agent — they live at the top level. " + "Mutually exclusive with `drive:` on the same agent (loader fails fast " + "if both are set)."),
|
|
11595
11612
|
microsoft_workspace: AgentMicrosoftWorkspaceConfigSchema.describe("RFC #1873 (Microsoft 365 integration). Per-agent Microsoft Workspace " + "override — pins the Microsoft account this agent reads via the " + "auth-broker (must be a key in top-level `microsoft_accounts:` with " + "this agent in its `enabled_for[]`) and optionally overrides org_mode. " + "microsoft_client_id/secret are not per-agent."),
|
|
11613
|
+
notion_workspace: AgentNotionWorkspaceConfigSchema.describe("RFC docs/rfcs/notion-integration.md. Per-agent Notion access. " + "Presence opts the agent IN (launcher scaffolded, MCP entry emitted, " + "broker grants the integration token). Optional `databases:` filter " + "narrows which DBs this agent may read/write — names must resolve in " + "top-level notion_workspace.databases. Absence opts the agent OUT."),
|
|
11596
11614
|
repos: exports_external.record(exports_external.string().regex(/^[a-z0-9][a-z0-9-]*$/, "Repo slug must be kebab-case ASCII: start with a lowercase letter or digit, contain only lowercase letters, digits, and hyphens"), exports_external.object({
|
|
11597
11615
|
url: exports_external.string().min(1).describe("Git remote URL for the repo (e.g. 'git@github.com:org/repo.git' or " + "'https://github.com/org/repo.git'). Used verbatim for git clone."),
|
|
11598
11616
|
branch_default: exports_external.string().optional().describe("Default branch to track (defaults to the remote's HEAD, typically 'main'). " + "The per-agent branch 'agent/<agentName>/main' fast-forwards to this branch " + "when the worktree is clean on session start.")
|
|
@@ -11716,6 +11734,7 @@ var init_schema = __esm(() => {
|
|
|
11716
11734
|
drive: GoogleWorkspaceConfigSchema.describe("RFC D legacy key — use `google_workspace:` instead. Optional Google " + "Workspace onboarding configuration. When set, supplies Google OAuth " + "client credentials, the approver allowlist for `switchroom drive " + "connect`, and the optional tier knob. Env vars " + "(SWITCHROOM_GOOGLE_CLIENT_ID, SWITCHROOM_GOOGLE_CLIENT_SECRET, " + "SWITCHROOM_APPROVER_USER_ID) take precedence over this block when " + "set, preserving back-compat with the env-only flow shipped in #766."),
|
|
11717
11735
|
google_workspace: GoogleWorkspaceConfigSchema.describe("RFC G canonical key. Top-level Google Workspace configuration — " + "OAuth client credentials, approver allowlist, and tier knob (`core` " + "| `extended` | `complete`, default `core`). Mutually exclusive with " + "`drive:` at the top level (loader fails fast if both are set)."),
|
|
11718
11736
|
microsoft_workspace: MicrosoftWorkspaceConfigSchema.describe("RFC #1873 (Microsoft 365 integration). Top-level Microsoft Workspace " + "configuration — OAuth client credentials (Entra app), authority " + "endpoint (defaults to /common for personal MSA + work), and the " + "org_mode opt-in for Teams/SharePoint surfaces. Block is optional; " + "when omitted the broker does not register the Microsoft provider."),
|
|
11737
|
+
notion_workspace: NotionWorkspaceConfigSchema.describe("RFC docs/rfcs/notion-integration.md. Top-level Notion integration " + "config — vault key for the integration token, friendly-name → " + "database UUID map, optional MCP-package version pin, and optional " + "global rate-limit override (default 3 rps, Notion's documented " + "public-API limit). Block is optional; when omitted no agent gets a " + "Notion MCP entry regardless of per-agent config."),
|
|
11719
11738
|
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."),
|
|
11720
11739
|
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)."),
|
|
11721
11740
|
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)."),
|
|
@@ -11912,6 +11931,34 @@ var init_overlay_loader = __esm(() => {
|
|
|
11912
11931
|
OVERLAY_SOURCE = Symbol.for("switchroom.config.overlay-source");
|
|
11913
11932
|
});
|
|
11914
11933
|
|
|
11934
|
+
// src/config/notion-workspace-acl.ts
|
|
11935
|
+
function validateNotionWorkspaceConfig(config) {
|
|
11936
|
+
const issues = [];
|
|
11937
|
+
const dbMap = config.notion_workspace?.databases ?? {};
|
|
11938
|
+
const known = new Set(Object.keys(dbMap));
|
|
11939
|
+
for (const [agentName, agentRaw] of Object.entries(config.agents ?? {})) {
|
|
11940
|
+
if (!agentRaw)
|
|
11941
|
+
continue;
|
|
11942
|
+
const dbFilter = agentRaw.notion_workspace?.databases;
|
|
11943
|
+
if (dbFilter === undefined)
|
|
11944
|
+
continue;
|
|
11945
|
+
if (dbFilter.length === 0) {
|
|
11946
|
+
issues.push(` agents.${agentName}.notion_workspace.databases is an empty ` + `list. Delete the entire notion_workspace block to remove Notion ` + `access, or list at least one database friendly name.`);
|
|
11947
|
+
continue;
|
|
11948
|
+
}
|
|
11949
|
+
if (config.notion_workspace === undefined) {
|
|
11950
|
+
issues.push(` agents.${agentName}.notion_workspace is set but the top-level ` + `notion_workspace block is missing. Configure the integration ` + `globally first (vault_key + databases map), then grant per-agent ` + `access.`);
|
|
11951
|
+
continue;
|
|
11952
|
+
}
|
|
11953
|
+
for (const name of dbFilter) {
|
|
11954
|
+
if (!known.has(name)) {
|
|
11955
|
+
issues.push(` agents.${agentName}.notion_workspace.databases references ` + `unknown database "${name}". Add it to top-level ` + `notion_workspace.databases (run \`switchroom notion list-dbs\` ` + `to see the UUIDs the integration can read), or remove the ` + `reference.`);
|
|
11956
|
+
}
|
|
11957
|
+
}
|
|
11958
|
+
}
|
|
11959
|
+
return issues;
|
|
11960
|
+
}
|
|
11961
|
+
|
|
11915
11962
|
// src/config/loader.ts
|
|
11916
11963
|
var exports_loader = {};
|
|
11917
11964
|
__export(exports_loader, {
|
|
@@ -12034,6 +12081,10 @@ function loadConfig(configPath) {
|
|
|
12034
12081
|
}
|
|
12035
12082
|
applyAgentOverlays(config);
|
|
12036
12083
|
validateAllCronTopicAliases(config, filePath);
|
|
12084
|
+
const notionIssues = validateNotionWorkspaceConfig(config);
|
|
12085
|
+
if (notionIssues.length > 0) {
|
|
12086
|
+
throw new ConfigError(`Invalid notion_workspace configuration in ${filePath}`, notionIssues);
|
|
12087
|
+
}
|
|
12037
12088
|
return config;
|
|
12038
12089
|
}
|
|
12039
12090
|
function validateAllCronTopicAliases(config, filePath) {
|
|
@@ -13756,7 +13807,7 @@ function createAuditLogger(opts = {}) {
|
|
|
13756
13807
|
// src/vault/grants.ts
|
|
13757
13808
|
import { randomBytes as randomBytes4 } from "node:crypto";
|
|
13758
13809
|
|
|
13759
|
-
//
|
|
13810
|
+
// node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
13760
13811
|
import nodeCrypto from "crypto";
|
|
13761
13812
|
var randomFallback = null;
|
|
13762
13813
|
function randomBytes3(len) {
|