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
|
@@ -17,7 +17,7 @@ var __export = (target, all) => {
|
|
|
17
17
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
18
18
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
21
21
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
22
22
|
const t = typeof data;
|
|
23
23
|
switch (t) {
|
|
@@ -148,7 +148,7 @@ var init_util = __esm(() => {
|
|
|
148
148
|
]);
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
//
|
|
151
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
152
152
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
153
153
|
const json = JSON.stringify(obj, null, 2);
|
|
154
154
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -269,7 +269,7 @@ var init_ZodError = __esm(() => {
|
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
//
|
|
272
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
273
273
|
var errorMap = (issue, _ctx) => {
|
|
274
274
|
let message;
|
|
275
275
|
switch (issue.code) {
|
|
@@ -376,7 +376,7 @@ var init_en = __esm(() => {
|
|
|
376
376
|
en_default = errorMap;
|
|
377
377
|
});
|
|
378
378
|
|
|
379
|
-
//
|
|
379
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
380
380
|
function setErrorMap(map) {
|
|
381
381
|
overrideErrorMap = map;
|
|
382
382
|
}
|
|
@@ -389,7 +389,7 @@ var init_errors = __esm(() => {
|
|
|
389
389
|
overrideErrorMap = en_default;
|
|
390
390
|
});
|
|
391
391
|
|
|
392
|
-
//
|
|
392
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
393
393
|
function addIssueToContext(ctx, issueData) {
|
|
394
394
|
const overrideMap = getErrorMap();
|
|
395
395
|
const issue = makeIssue({
|
|
@@ -494,10 +494,10 @@ var init_parseUtil = __esm(() => {
|
|
|
494
494
|
});
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
//
|
|
497
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
498
498
|
var init_typeAliases = () => {};
|
|
499
499
|
|
|
500
|
-
//
|
|
500
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
501
501
|
var errorUtil;
|
|
502
502
|
var init_errorUtil = __esm(() => {
|
|
503
503
|
(function(errorUtil2) {
|
|
@@ -506,7 +506,7 @@ var init_errorUtil = __esm(() => {
|
|
|
506
506
|
})(errorUtil || (errorUtil = {}));
|
|
507
507
|
});
|
|
508
508
|
|
|
509
|
-
//
|
|
509
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
510
510
|
class ParseInputLazyPath {
|
|
511
511
|
constructor(parent, value, path, key) {
|
|
512
512
|
this._cachedPath = [];
|
|
@@ -3857,7 +3857,7 @@ var init_types = __esm(() => {
|
|
|
3857
3857
|
NEVER = INVALID;
|
|
3858
3858
|
});
|
|
3859
3859
|
|
|
3860
|
-
//
|
|
3860
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
3861
3861
|
var exports_external = {};
|
|
3862
3862
|
__export(exports_external, {
|
|
3863
3863
|
void: () => voidType,
|
|
@@ -3977,7 +3977,7 @@ var init_external = __esm(() => {
|
|
|
3977
3977
|
init_ZodError();
|
|
3978
3978
|
});
|
|
3979
3979
|
|
|
3980
|
-
//
|
|
3980
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
3981
3981
|
var init_zod = __esm(() => {
|
|
3982
3982
|
init_external();
|
|
3983
3983
|
init_external();
|
|
@@ -4294,7 +4294,7 @@ var init_merge = __esm(() => {
|
|
|
4294
4294
|
})(mergeAgentConfig ||= {});
|
|
4295
4295
|
});
|
|
4296
4296
|
|
|
4297
|
-
//
|
|
4297
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
4298
4298
|
var require_identity = __commonJS((exports) => {
|
|
4299
4299
|
var ALIAS = Symbol.for("yaml.alias");
|
|
4300
4300
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -4348,7 +4348,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
4348
4348
|
exports.isSeq = isSeq;
|
|
4349
4349
|
});
|
|
4350
4350
|
|
|
4351
|
-
//
|
|
4351
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
4352
4352
|
var require_visit = __commonJS((exports) => {
|
|
4353
4353
|
var identity = require_identity();
|
|
4354
4354
|
var BREAK = Symbol("break visit");
|
|
@@ -4503,7 +4503,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
4503
4503
|
exports.visitAsync = visitAsync;
|
|
4504
4504
|
});
|
|
4505
4505
|
|
|
4506
|
-
//
|
|
4506
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
4507
4507
|
var require_directives = __commonJS((exports) => {
|
|
4508
4508
|
var identity = require_identity();
|
|
4509
4509
|
var visit = require_visit();
|
|
@@ -4655,7 +4655,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
4655
4655
|
exports.Directives = Directives;
|
|
4656
4656
|
});
|
|
4657
4657
|
|
|
4658
|
-
//
|
|
4658
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
4659
4659
|
var require_anchors = __commonJS((exports) => {
|
|
4660
4660
|
var identity = require_identity();
|
|
4661
4661
|
var visit = require_visit();
|
|
@@ -4717,7 +4717,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
4717
4717
|
exports.findNewAnchor = findNewAnchor;
|
|
4718
4718
|
});
|
|
4719
4719
|
|
|
4720
|
-
//
|
|
4720
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
4721
4721
|
var require_applyReviver = __commonJS((exports) => {
|
|
4722
4722
|
function applyReviver(reviver, obj, key, val) {
|
|
4723
4723
|
if (val && typeof val === "object") {
|
|
@@ -4764,7 +4764,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
4764
4764
|
exports.applyReviver = applyReviver;
|
|
4765
4765
|
});
|
|
4766
4766
|
|
|
4767
|
-
//
|
|
4767
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
4768
4768
|
var require_toJS = __commonJS((exports) => {
|
|
4769
4769
|
var identity = require_identity();
|
|
4770
4770
|
function toJS(value, arg, ctx) {
|
|
@@ -4791,7 +4791,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
4791
4791
|
exports.toJS = toJS;
|
|
4792
4792
|
});
|
|
4793
4793
|
|
|
4794
|
-
//
|
|
4794
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
4795
4795
|
var require_Node = __commonJS((exports) => {
|
|
4796
4796
|
var applyReviver = require_applyReviver();
|
|
4797
4797
|
var identity = require_identity();
|
|
@@ -4828,7 +4828,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
4828
4828
|
exports.NodeBase = NodeBase;
|
|
4829
4829
|
});
|
|
4830
4830
|
|
|
4831
|
-
//
|
|
4831
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
4832
4832
|
var require_Alias = __commonJS((exports) => {
|
|
4833
4833
|
var anchors = require_anchors();
|
|
4834
4834
|
var visit = require_visit();
|
|
@@ -4936,7 +4936,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
4936
4936
|
exports.Alias = Alias;
|
|
4937
4937
|
});
|
|
4938
4938
|
|
|
4939
|
-
//
|
|
4939
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
4940
4940
|
var require_Scalar = __commonJS((exports) => {
|
|
4941
4941
|
var identity = require_identity();
|
|
4942
4942
|
var Node = require_Node();
|
|
@@ -4964,7 +4964,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
4964
4964
|
exports.isScalarValue = isScalarValue;
|
|
4965
4965
|
});
|
|
4966
4966
|
|
|
4967
|
-
//
|
|
4967
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
4968
4968
|
var require_createNode = __commonJS((exports) => {
|
|
4969
4969
|
var Alias = require_Alias();
|
|
4970
4970
|
var identity = require_identity();
|
|
@@ -5036,7 +5036,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
5036
5036
|
exports.createNode = createNode;
|
|
5037
5037
|
});
|
|
5038
5038
|
|
|
5039
|
-
//
|
|
5039
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
5040
5040
|
var require_Collection = __commonJS((exports) => {
|
|
5041
5041
|
var createNode = require_createNode();
|
|
5042
5042
|
var identity = require_identity();
|
|
@@ -5151,7 +5151,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
5151
5151
|
exports.isEmptyPath = isEmptyPath;
|
|
5152
5152
|
});
|
|
5153
5153
|
|
|
5154
|
-
//
|
|
5154
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
5155
5155
|
var require_stringifyComment = __commonJS((exports) => {
|
|
5156
5156
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
5157
5157
|
function indentComment(comment, indent) {
|
|
@@ -5168,7 +5168,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
5168
5168
|
exports.stringifyComment = stringifyComment;
|
|
5169
5169
|
});
|
|
5170
5170
|
|
|
5171
|
-
//
|
|
5171
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
5172
5172
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
5173
5173
|
var FOLD_FLOW = "flow";
|
|
5174
5174
|
var FOLD_BLOCK = "block";
|
|
@@ -5305,7 +5305,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
5305
5305
|
exports.foldFlowLines = foldFlowLines;
|
|
5306
5306
|
});
|
|
5307
5307
|
|
|
5308
|
-
//
|
|
5308
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
5309
5309
|
var require_stringifyString = __commonJS((exports) => {
|
|
5310
5310
|
var Scalar = require_Scalar();
|
|
5311
5311
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -5603,7 +5603,7 @@ ${indent}`);
|
|
|
5603
5603
|
exports.stringifyString = stringifyString;
|
|
5604
5604
|
});
|
|
5605
5605
|
|
|
5606
|
-
//
|
|
5606
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
5607
5607
|
var require_stringify = __commonJS((exports) => {
|
|
5608
5608
|
var anchors = require_anchors();
|
|
5609
5609
|
var identity = require_identity();
|
|
@@ -5724,7 +5724,7 @@ ${ctx.indent}${str}`;
|
|
|
5724
5724
|
exports.stringify = stringify;
|
|
5725
5725
|
});
|
|
5726
5726
|
|
|
5727
|
-
//
|
|
5727
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
5728
5728
|
var require_stringifyPair = __commonJS((exports) => {
|
|
5729
5729
|
var identity = require_identity();
|
|
5730
5730
|
var Scalar = require_Scalar();
|
|
@@ -5860,7 +5860,7 @@ ${ctx.indent}`;
|
|
|
5860
5860
|
exports.stringifyPair = stringifyPair;
|
|
5861
5861
|
});
|
|
5862
5862
|
|
|
5863
|
-
//
|
|
5863
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
5864
5864
|
var require_log = __commonJS((exports) => {
|
|
5865
5865
|
var node_process = __require("process");
|
|
5866
5866
|
function debug(logLevel, ...messages) {
|
|
@@ -5879,7 +5879,7 @@ var require_log = __commonJS((exports) => {
|
|
|
5879
5879
|
exports.warn = warn;
|
|
5880
5880
|
});
|
|
5881
5881
|
|
|
5882
|
-
//
|
|
5882
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
5883
5883
|
var require_merge = __commonJS((exports) => {
|
|
5884
5884
|
var identity = require_identity();
|
|
5885
5885
|
var Scalar = require_Scalar();
|
|
@@ -5933,7 +5933,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
5933
5933
|
exports.merge = merge;
|
|
5934
5934
|
});
|
|
5935
5935
|
|
|
5936
|
-
//
|
|
5936
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
5937
5937
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
5938
5938
|
var log = require_log();
|
|
5939
5939
|
var merge = require_merge();
|
|
@@ -5994,7 +5994,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
5994
5994
|
exports.addPairToJSMap = addPairToJSMap;
|
|
5995
5995
|
});
|
|
5996
5996
|
|
|
5997
|
-
//
|
|
5997
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
5998
5998
|
var require_Pair = __commonJS((exports) => {
|
|
5999
5999
|
var createNode = require_createNode();
|
|
6000
6000
|
var stringifyPair = require_stringifyPair();
|
|
@@ -6032,7 +6032,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
6032
6032
|
exports.createPair = createPair;
|
|
6033
6033
|
});
|
|
6034
6034
|
|
|
6035
|
-
//
|
|
6035
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
6036
6036
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
6037
6037
|
var identity = require_identity();
|
|
6038
6038
|
var stringify = require_stringify();
|
|
@@ -6184,7 +6184,7 @@ ${indent}${end}`;
|
|
|
6184
6184
|
exports.stringifyCollection = stringifyCollection;
|
|
6185
6185
|
});
|
|
6186
6186
|
|
|
6187
|
-
//
|
|
6187
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
6188
6188
|
var require_YAMLMap = __commonJS((exports) => {
|
|
6189
6189
|
var stringifyCollection = require_stringifyCollection();
|
|
6190
6190
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -6311,7 +6311,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
6311
6311
|
exports.findPair = findPair;
|
|
6312
6312
|
});
|
|
6313
6313
|
|
|
6314
|
-
//
|
|
6314
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
6315
6315
|
var require_map = __commonJS((exports) => {
|
|
6316
6316
|
var identity = require_identity();
|
|
6317
6317
|
var YAMLMap = require_YAMLMap();
|
|
@@ -6330,7 +6330,7 @@ var require_map = __commonJS((exports) => {
|
|
|
6330
6330
|
exports.map = map;
|
|
6331
6331
|
});
|
|
6332
6332
|
|
|
6333
|
-
//
|
|
6333
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
6334
6334
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
6335
6335
|
var createNode = require_createNode();
|
|
6336
6336
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -6423,7 +6423,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
6423
6423
|
exports.YAMLSeq = YAMLSeq;
|
|
6424
6424
|
});
|
|
6425
6425
|
|
|
6426
|
-
//
|
|
6426
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
6427
6427
|
var require_seq = __commonJS((exports) => {
|
|
6428
6428
|
var identity = require_identity();
|
|
6429
6429
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -6442,7 +6442,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
6442
6442
|
exports.seq = seq;
|
|
6443
6443
|
});
|
|
6444
6444
|
|
|
6445
|
-
//
|
|
6445
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
6446
6446
|
var require_string = __commonJS((exports) => {
|
|
6447
6447
|
var stringifyString = require_stringifyString();
|
|
6448
6448
|
var string = {
|
|
@@ -6458,7 +6458,7 @@ var require_string = __commonJS((exports) => {
|
|
|
6458
6458
|
exports.string = string;
|
|
6459
6459
|
});
|
|
6460
6460
|
|
|
6461
|
-
//
|
|
6461
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
6462
6462
|
var require_null = __commonJS((exports) => {
|
|
6463
6463
|
var Scalar = require_Scalar();
|
|
6464
6464
|
var nullTag = {
|
|
@@ -6473,7 +6473,7 @@ var require_null = __commonJS((exports) => {
|
|
|
6473
6473
|
exports.nullTag = nullTag;
|
|
6474
6474
|
});
|
|
6475
6475
|
|
|
6476
|
-
//
|
|
6476
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
6477
6477
|
var require_bool = __commonJS((exports) => {
|
|
6478
6478
|
var Scalar = require_Scalar();
|
|
6479
6479
|
var boolTag = {
|
|
@@ -6494,7 +6494,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
6494
6494
|
exports.boolTag = boolTag;
|
|
6495
6495
|
});
|
|
6496
6496
|
|
|
6497
|
-
//
|
|
6497
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
6498
6498
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
6499
6499
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
6500
6500
|
if (typeof value === "bigint")
|
|
@@ -6518,7 +6518,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
6518
6518
|
exports.stringifyNumber = stringifyNumber;
|
|
6519
6519
|
});
|
|
6520
6520
|
|
|
6521
|
-
//
|
|
6521
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
6522
6522
|
var require_float = __commonJS((exports) => {
|
|
6523
6523
|
var Scalar = require_Scalar();
|
|
6524
6524
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -6561,7 +6561,7 @@ var require_float = __commonJS((exports) => {
|
|
|
6561
6561
|
exports.floatNaN = floatNaN;
|
|
6562
6562
|
});
|
|
6563
6563
|
|
|
6564
|
-
//
|
|
6564
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
6565
6565
|
var require_int = __commonJS((exports) => {
|
|
6566
6566
|
var stringifyNumber = require_stringifyNumber();
|
|
6567
6567
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -6603,7 +6603,7 @@ var require_int = __commonJS((exports) => {
|
|
|
6603
6603
|
exports.intOct = intOct;
|
|
6604
6604
|
});
|
|
6605
6605
|
|
|
6606
|
-
//
|
|
6606
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
6607
6607
|
var require_schema = __commonJS((exports) => {
|
|
6608
6608
|
var map = require_map();
|
|
6609
6609
|
var _null = require_null();
|
|
@@ -6628,7 +6628,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
6628
6628
|
exports.schema = schema;
|
|
6629
6629
|
});
|
|
6630
6630
|
|
|
6631
|
-
//
|
|
6631
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
6632
6632
|
var require_schema2 = __commonJS((exports) => {
|
|
6633
6633
|
var Scalar = require_Scalar();
|
|
6634
6634
|
var map = require_map();
|
|
@@ -6692,7 +6692,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
6692
6692
|
exports.schema = schema;
|
|
6693
6693
|
});
|
|
6694
6694
|
|
|
6695
|
-
//
|
|
6695
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
6696
6696
|
var require_binary = __commonJS((exports) => {
|
|
6697
6697
|
var node_buffer = __require("buffer");
|
|
6698
6698
|
var Scalar = require_Scalar();
|
|
@@ -6747,7 +6747,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
6747
6747
|
exports.binary = binary;
|
|
6748
6748
|
});
|
|
6749
6749
|
|
|
6750
|
-
//
|
|
6750
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
6751
6751
|
var require_pairs = __commonJS((exports) => {
|
|
6752
6752
|
var identity = require_identity();
|
|
6753
6753
|
var Pair = require_Pair();
|
|
@@ -6822,7 +6822,7 @@ ${cn.comment}` : item.comment;
|
|
|
6822
6822
|
exports.resolvePairs = resolvePairs;
|
|
6823
6823
|
});
|
|
6824
6824
|
|
|
6825
|
-
//
|
|
6825
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
6826
6826
|
var require_omap = __commonJS((exports) => {
|
|
6827
6827
|
var identity = require_identity();
|
|
6828
6828
|
var toJS = require_toJS();
|
|
@@ -6894,7 +6894,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
6894
6894
|
exports.omap = omap;
|
|
6895
6895
|
});
|
|
6896
6896
|
|
|
6897
|
-
//
|
|
6897
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
6898
6898
|
var require_bool2 = __commonJS((exports) => {
|
|
6899
6899
|
var Scalar = require_Scalar();
|
|
6900
6900
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -6923,7 +6923,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
6923
6923
|
exports.trueTag = trueTag;
|
|
6924
6924
|
});
|
|
6925
6925
|
|
|
6926
|
-
//
|
|
6926
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
6927
6927
|
var require_float2 = __commonJS((exports) => {
|
|
6928
6928
|
var Scalar = require_Scalar();
|
|
6929
6929
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -6969,7 +6969,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
6969
6969
|
exports.floatNaN = floatNaN;
|
|
6970
6970
|
});
|
|
6971
6971
|
|
|
6972
|
-
//
|
|
6972
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
6973
6973
|
var require_int2 = __commonJS((exports) => {
|
|
6974
6974
|
var stringifyNumber = require_stringifyNumber();
|
|
6975
6975
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -7045,7 +7045,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
7045
7045
|
exports.intOct = intOct;
|
|
7046
7046
|
});
|
|
7047
7047
|
|
|
7048
|
-
//
|
|
7048
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
7049
7049
|
var require_set = __commonJS((exports) => {
|
|
7050
7050
|
var identity = require_identity();
|
|
7051
7051
|
var Pair = require_Pair();
|
|
@@ -7128,7 +7128,7 @@ var require_set = __commonJS((exports) => {
|
|
|
7128
7128
|
exports.set = set;
|
|
7129
7129
|
});
|
|
7130
7130
|
|
|
7131
|
-
//
|
|
7131
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
7132
7132
|
var require_timestamp = __commonJS((exports) => {
|
|
7133
7133
|
var stringifyNumber = require_stringifyNumber();
|
|
7134
7134
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -7210,7 +7210,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
7210
7210
|
exports.timestamp = timestamp;
|
|
7211
7211
|
});
|
|
7212
7212
|
|
|
7213
|
-
//
|
|
7213
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
7214
7214
|
var require_schema3 = __commonJS((exports) => {
|
|
7215
7215
|
var map = require_map();
|
|
7216
7216
|
var _null = require_null();
|
|
@@ -7251,7 +7251,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
7251
7251
|
exports.schema = schema;
|
|
7252
7252
|
});
|
|
7253
7253
|
|
|
7254
|
-
//
|
|
7254
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
7255
7255
|
var require_tags = __commonJS((exports) => {
|
|
7256
7256
|
var map = require_map();
|
|
7257
7257
|
var _null = require_null();
|
|
@@ -7342,7 +7342,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
7342
7342
|
exports.getTags = getTags;
|
|
7343
7343
|
});
|
|
7344
7344
|
|
|
7345
|
-
//
|
|
7345
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
7346
7346
|
var require_Schema = __commonJS((exports) => {
|
|
7347
7347
|
var identity = require_identity();
|
|
7348
7348
|
var map = require_map();
|
|
@@ -7372,7 +7372,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
7372
7372
|
exports.Schema = Schema;
|
|
7373
7373
|
});
|
|
7374
7374
|
|
|
7375
|
-
//
|
|
7375
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
7376
7376
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
7377
7377
|
var identity = require_identity();
|
|
7378
7378
|
var stringify = require_stringify();
|
|
@@ -7452,7 +7452,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
7452
7452
|
exports.stringifyDocument = stringifyDocument;
|
|
7453
7453
|
});
|
|
7454
7454
|
|
|
7455
|
-
//
|
|
7455
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
7456
7456
|
var require_Document = __commonJS((exports) => {
|
|
7457
7457
|
var Alias = require_Alias();
|
|
7458
7458
|
var Collection = require_Collection();
|
|
@@ -7687,7 +7687,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
7687
7687
|
exports.Document = Document;
|
|
7688
7688
|
});
|
|
7689
7689
|
|
|
7690
|
-
//
|
|
7690
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
7691
7691
|
var require_errors = __commonJS((exports) => {
|
|
7692
7692
|
class YAMLError extends Error {
|
|
7693
7693
|
constructor(name, pos, code, message) {
|
|
@@ -7752,7 +7752,7 @@ ${pointer}
|
|
|
7752
7752
|
exports.prettifyError = prettifyError;
|
|
7753
7753
|
});
|
|
7754
7754
|
|
|
7755
|
-
//
|
|
7755
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
7756
7756
|
var require_resolve_props = __commonJS((exports) => {
|
|
7757
7757
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
7758
7758
|
let spaceBefore = false;
|
|
@@ -7882,7 +7882,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
7882
7882
|
exports.resolveProps = resolveProps;
|
|
7883
7883
|
});
|
|
7884
7884
|
|
|
7885
|
-
//
|
|
7885
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
7886
7886
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
7887
7887
|
function containsNewline(key) {
|
|
7888
7888
|
if (!key)
|
|
@@ -7922,7 +7922,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
7922
7922
|
exports.containsNewline = containsNewline;
|
|
7923
7923
|
});
|
|
7924
7924
|
|
|
7925
|
-
//
|
|
7925
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
7926
7926
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
7927
7927
|
var utilContainsNewline = require_util_contains_newline();
|
|
7928
7928
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -7937,7 +7937,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
7937
7937
|
exports.flowIndentCheck = flowIndentCheck;
|
|
7938
7938
|
});
|
|
7939
7939
|
|
|
7940
|
-
//
|
|
7940
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
7941
7941
|
var require_util_map_includes = __commonJS((exports) => {
|
|
7942
7942
|
var identity = require_identity();
|
|
7943
7943
|
function mapIncludes(ctx, items, search) {
|
|
@@ -7950,7 +7950,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
7950
7950
|
exports.mapIncludes = mapIncludes;
|
|
7951
7951
|
});
|
|
7952
7952
|
|
|
7953
|
-
//
|
|
7953
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
7954
7954
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
7955
7955
|
var Pair = require_Pair();
|
|
7956
7956
|
var YAMLMap = require_YAMLMap();
|
|
@@ -8057,7 +8057,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
8057
8057
|
exports.resolveBlockMap = resolveBlockMap;
|
|
8058
8058
|
});
|
|
8059
8059
|
|
|
8060
|
-
//
|
|
8060
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
8061
8061
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
8062
8062
|
var YAMLSeq = require_YAMLSeq();
|
|
8063
8063
|
var resolveProps = require_resolve_props();
|
|
@@ -8105,7 +8105,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
8105
8105
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
8106
8106
|
});
|
|
8107
8107
|
|
|
8108
|
-
//
|
|
8108
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
8109
8109
|
var require_resolve_end = __commonJS((exports) => {
|
|
8110
8110
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
8111
8111
|
let comment = "";
|
|
@@ -8145,7 +8145,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
8145
8145
|
exports.resolveEnd = resolveEnd;
|
|
8146
8146
|
});
|
|
8147
8147
|
|
|
8148
|
-
//
|
|
8148
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
8149
8149
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
8150
8150
|
var identity = require_identity();
|
|
8151
8151
|
var Pair = require_Pair();
|
|
@@ -8336,7 +8336,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
8336
8336
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
8337
8337
|
});
|
|
8338
8338
|
|
|
8339
|
-
//
|
|
8339
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
8340
8340
|
var require_compose_collection = __commonJS((exports) => {
|
|
8341
8341
|
var identity = require_identity();
|
|
8342
8342
|
var Scalar = require_Scalar();
|
|
@@ -8398,7 +8398,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
8398
8398
|
exports.composeCollection = composeCollection;
|
|
8399
8399
|
});
|
|
8400
8400
|
|
|
8401
|
-
//
|
|
8401
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
8402
8402
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
8403
8403
|
var Scalar = require_Scalar();
|
|
8404
8404
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -8591,7 +8591,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
8591
8591
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
8592
8592
|
});
|
|
8593
8593
|
|
|
8594
|
-
//
|
|
8594
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
8595
8595
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
8596
8596
|
var Scalar = require_Scalar();
|
|
8597
8597
|
var resolveEnd = require_resolve_end();
|
|
@@ -8807,7 +8807,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
8807
8807
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
8808
8808
|
});
|
|
8809
8809
|
|
|
8810
|
-
//
|
|
8810
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
8811
8811
|
var require_compose_scalar = __commonJS((exports) => {
|
|
8812
8812
|
var identity = require_identity();
|
|
8813
8813
|
var Scalar = require_Scalar();
|
|
@@ -8885,7 +8885,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
8885
8885
|
exports.composeScalar = composeScalar;
|
|
8886
8886
|
});
|
|
8887
8887
|
|
|
8888
|
-
//
|
|
8888
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
8889
8889
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
8890
8890
|
function emptyScalarPosition(offset, before, pos) {
|
|
8891
8891
|
if (before) {
|
|
@@ -8912,7 +8912,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
8912
8912
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
8913
8913
|
});
|
|
8914
8914
|
|
|
8915
|
-
//
|
|
8915
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
8916
8916
|
var require_compose_node = __commonJS((exports) => {
|
|
8917
8917
|
var Alias = require_Alias();
|
|
8918
8918
|
var identity = require_identity();
|
|
@@ -9015,7 +9015,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
9015
9015
|
exports.composeNode = composeNode;
|
|
9016
9016
|
});
|
|
9017
9017
|
|
|
9018
|
-
//
|
|
9018
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
9019
9019
|
var require_compose_doc = __commonJS((exports) => {
|
|
9020
9020
|
var Document = require_Document();
|
|
9021
9021
|
var composeNode = require_compose_node();
|
|
@@ -9055,7 +9055,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
9055
9055
|
exports.composeDoc = composeDoc;
|
|
9056
9056
|
});
|
|
9057
9057
|
|
|
9058
|
-
//
|
|
9058
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
9059
9059
|
var require_composer = __commonJS((exports) => {
|
|
9060
9060
|
var node_process = __require("process");
|
|
9061
9061
|
var directives = require_directives();
|
|
@@ -9244,7 +9244,7 @@ ${end.comment}` : end.comment;
|
|
|
9244
9244
|
exports.Composer = Composer;
|
|
9245
9245
|
});
|
|
9246
9246
|
|
|
9247
|
-
//
|
|
9247
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
9248
9248
|
var require_cst_scalar = __commonJS((exports) => {
|
|
9249
9249
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
9250
9250
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -9434,7 +9434,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
9434
9434
|
exports.setScalarValue = setScalarValue;
|
|
9435
9435
|
});
|
|
9436
9436
|
|
|
9437
|
-
//
|
|
9437
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
9438
9438
|
var require_cst_stringify = __commonJS((exports) => {
|
|
9439
9439
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
9440
9440
|
function stringifyToken(token) {
|
|
@@ -9492,7 +9492,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
9492
9492
|
exports.stringify = stringify;
|
|
9493
9493
|
});
|
|
9494
9494
|
|
|
9495
|
-
//
|
|
9495
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
9496
9496
|
var require_cst_visit = __commonJS((exports) => {
|
|
9497
9497
|
var BREAK = Symbol("break visit");
|
|
9498
9498
|
var SKIP = Symbol("skip children");
|
|
@@ -9551,7 +9551,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
9551
9551
|
exports.visit = visit;
|
|
9552
9552
|
});
|
|
9553
9553
|
|
|
9554
|
-
//
|
|
9554
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
9555
9555
|
var require_cst = __commonJS((exports) => {
|
|
9556
9556
|
var cstScalar = require_cst_scalar();
|
|
9557
9557
|
var cstStringify = require_cst_stringify();
|
|
@@ -9652,7 +9652,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
9652
9652
|
exports.tokenType = tokenType;
|
|
9653
9653
|
});
|
|
9654
9654
|
|
|
9655
|
-
//
|
|
9655
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
9656
9656
|
var require_lexer = __commonJS((exports) => {
|
|
9657
9657
|
var cst = require_cst();
|
|
9658
9658
|
function isEmpty(ch) {
|
|
@@ -10238,7 +10238,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
10238
10238
|
exports.Lexer = Lexer;
|
|
10239
10239
|
});
|
|
10240
10240
|
|
|
10241
|
-
//
|
|
10241
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
10242
10242
|
var require_line_counter = __commonJS((exports) => {
|
|
10243
10243
|
class LineCounter {
|
|
10244
10244
|
constructor() {
|
|
@@ -10266,7 +10266,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
10266
10266
|
exports.LineCounter = LineCounter;
|
|
10267
10267
|
});
|
|
10268
10268
|
|
|
10269
|
-
//
|
|
10269
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
10270
10270
|
var require_parser = __commonJS((exports) => {
|
|
10271
10271
|
var node_process = __require("process");
|
|
10272
10272
|
var cst = require_cst();
|
|
@@ -11115,7 +11115,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
11115
11115
|
exports.Parser = Parser;
|
|
11116
11116
|
});
|
|
11117
11117
|
|
|
11118
|
-
//
|
|
11118
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
11119
11119
|
var require_public_api = __commonJS((exports) => {
|
|
11120
11120
|
var composer = require_composer();
|
|
11121
11121
|
var Document = require_Document();
|
|
@@ -11209,7 +11209,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
11209
11209
|
exports.stringify = stringify;
|
|
11210
11210
|
});
|
|
11211
11211
|
|
|
11212
|
-
//
|
|
11212
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
11213
11213
|
var composer, Document, Schema, errors2, 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;
|
|
11214
11214
|
var init_dist = __esm(() => {
|
|
11215
11215
|
composer = require_composer();
|
|
@@ -11259,7 +11259,7 @@ var init_dist = __esm(() => {
|
|
|
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) {
|