switchroom 0.12.7 → 0.12.9
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 +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +539 -427
- package/dist/host-control/main.js +123 -100
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +96 -83
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +263 -204
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/gateway.ts +96 -7
package/dist/cli/switchroom.js
CHANGED
|
@@ -66,7 +66,7 @@ var __export = (target, all) => {
|
|
|
66
66
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
67
67
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
68
68
|
|
|
69
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
|
|
69
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
|
|
70
70
|
var require_error = __commonJS((exports) => {
|
|
71
71
|
class CommanderError extends Error {
|
|
72
72
|
constructor(exitCode, code, message) {
|
|
@@ -90,7 +90,7 @@ var require_error = __commonJS((exports) => {
|
|
|
90
90
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
|
|
93
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
|
|
94
94
|
var require_argument = __commonJS((exports) => {
|
|
95
95
|
var { InvalidArgumentError } = require_error();
|
|
96
96
|
|
|
@@ -169,7 +169,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
169
169
|
exports.humanReadableArgName = humanReadableArgName;
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
|
|
172
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
|
|
173
173
|
var require_help = __commonJS((exports) => {
|
|
174
174
|
var { humanReadableArgName } = require_argument();
|
|
175
175
|
|
|
@@ -519,7 +519,7 @@ ${itemIndentStr}`);
|
|
|
519
519
|
exports.stripColor = stripColor;
|
|
520
520
|
});
|
|
521
521
|
|
|
522
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
|
|
522
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
|
|
523
523
|
var require_option = __commonJS((exports) => {
|
|
524
524
|
var { InvalidArgumentError } = require_error();
|
|
525
525
|
|
|
@@ -697,7 +697,7 @@ var require_option = __commonJS((exports) => {
|
|
|
697
697
|
exports.DualOptions = DualOptions;
|
|
698
698
|
});
|
|
699
699
|
|
|
700
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
|
|
700
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
|
|
701
701
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
702
702
|
var maxDistance = 3;
|
|
703
703
|
function editDistance(a, b) {
|
|
@@ -770,7 +770,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
770
770
|
exports.suggestSimilar = suggestSimilar;
|
|
771
771
|
});
|
|
772
772
|
|
|
773
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
|
|
773
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
|
|
774
774
|
var require_command = __commonJS((exports) => {
|
|
775
775
|
var EventEmitter = __require("node:events").EventEmitter;
|
|
776
776
|
var childProcess = __require("node:child_process");
|
|
@@ -2080,7 +2080,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2080
2080
|
exports.useColor = useColor;
|
|
2081
2081
|
});
|
|
2082
2082
|
|
|
2083
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
|
|
2083
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
|
|
2084
2084
|
var require_commander = __commonJS((exports) => {
|
|
2085
2085
|
var { Argument } = require_argument();
|
|
2086
2086
|
var { Command } = require_command();
|
|
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS((exports) => {
|
|
|
2100
2100
|
exports.InvalidOptionArgumentError = InvalidArgumentError;
|
|
2101
2101
|
});
|
|
2102
2102
|
|
|
2103
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
2103
|
+
// ../switchroom/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
2104
2104
|
function assembleStyles() {
|
|
2105
2105
|
const codes = new Map;
|
|
2106
2106
|
for (const [groupName, group] of Object.entries(styles)) {
|
|
@@ -2276,7 +2276,7 @@ var init_ansi_styles = __esm(() => {
|
|
|
2276
2276
|
ansi_styles_default = ansiStyles;
|
|
2277
2277
|
});
|
|
2278
2278
|
|
|
2279
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
2279
|
+
// ../switchroom/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
2280
2280
|
import process2 from "node:process";
|
|
2281
2281
|
import os from "node:os";
|
|
2282
2282
|
import tty from "node:tty";
|
|
@@ -2410,7 +2410,7 @@ var init_supports_color = __esm(() => {
|
|
|
2410
2410
|
supports_color_default = supportsColor;
|
|
2411
2411
|
});
|
|
2412
2412
|
|
|
2413
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
2413
|
+
// ../switchroom/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
2414
2414
|
function stringReplaceAll(string, substring, replacer) {
|
|
2415
2415
|
let index = string.indexOf(substring);
|
|
2416
2416
|
if (index === -1) {
|
|
@@ -2443,7 +2443,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
2443
2443
|
return returnValue;
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
2446
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
2446
|
+
// ../switchroom/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
2447
2447
|
function createChalk(options) {
|
|
2448
2448
|
return chalkFactory(options);
|
|
2449
2449
|
}
|
|
@@ -2589,7 +2589,7 @@ var init_source = __esm(() => {
|
|
|
2589
2589
|
source_default = chalk;
|
|
2590
2590
|
});
|
|
2591
2591
|
|
|
2592
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
2592
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
2593
2593
|
var require_identity = __commonJS((exports) => {
|
|
2594
2594
|
var ALIAS = Symbol.for("yaml.alias");
|
|
2595
2595
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -2643,7 +2643,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
2643
2643
|
exports.isSeq = isSeq;
|
|
2644
2644
|
});
|
|
2645
2645
|
|
|
2646
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
2646
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
2647
2647
|
var require_visit = __commonJS((exports) => {
|
|
2648
2648
|
var identity = require_identity();
|
|
2649
2649
|
var BREAK = Symbol("break visit");
|
|
@@ -2798,7 +2798,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
2798
2798
|
exports.visitAsync = visitAsync;
|
|
2799
2799
|
});
|
|
2800
2800
|
|
|
2801
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
2801
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
2802
2802
|
var require_directives = __commonJS((exports) => {
|
|
2803
2803
|
var identity = require_identity();
|
|
2804
2804
|
var visit = require_visit();
|
|
@@ -2950,7 +2950,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
2950
2950
|
exports.Directives = Directives;
|
|
2951
2951
|
});
|
|
2952
2952
|
|
|
2953
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
2953
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
2954
2954
|
var require_anchors = __commonJS((exports) => {
|
|
2955
2955
|
var identity = require_identity();
|
|
2956
2956
|
var visit = require_visit();
|
|
@@ -3012,7 +3012,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
3012
3012
|
exports.findNewAnchor = findNewAnchor;
|
|
3013
3013
|
});
|
|
3014
3014
|
|
|
3015
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
3015
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
3016
3016
|
var require_applyReviver = __commonJS((exports) => {
|
|
3017
3017
|
function applyReviver(reviver, obj, key, val) {
|
|
3018
3018
|
if (val && typeof val === "object") {
|
|
@@ -3059,7 +3059,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
3059
3059
|
exports.applyReviver = applyReviver;
|
|
3060
3060
|
});
|
|
3061
3061
|
|
|
3062
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
3062
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
3063
3063
|
var require_toJS = __commonJS((exports) => {
|
|
3064
3064
|
var identity = require_identity();
|
|
3065
3065
|
function toJS(value, arg, ctx) {
|
|
@@ -3086,7 +3086,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
3086
3086
|
exports.toJS = toJS;
|
|
3087
3087
|
});
|
|
3088
3088
|
|
|
3089
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
3089
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
3090
3090
|
var require_Node = __commonJS((exports) => {
|
|
3091
3091
|
var applyReviver = require_applyReviver();
|
|
3092
3092
|
var identity = require_identity();
|
|
@@ -3123,7 +3123,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
3123
3123
|
exports.NodeBase = NodeBase;
|
|
3124
3124
|
});
|
|
3125
3125
|
|
|
3126
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
3126
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
3127
3127
|
var require_Alias = __commonJS((exports) => {
|
|
3128
3128
|
var anchors = require_anchors();
|
|
3129
3129
|
var visit = require_visit();
|
|
@@ -3231,7 +3231,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
3231
3231
|
exports.Alias = Alias;
|
|
3232
3232
|
});
|
|
3233
3233
|
|
|
3234
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
3234
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
3235
3235
|
var require_Scalar = __commonJS((exports) => {
|
|
3236
3236
|
var identity = require_identity();
|
|
3237
3237
|
var Node = require_Node();
|
|
@@ -3259,7 +3259,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
3259
3259
|
exports.isScalarValue = isScalarValue;
|
|
3260
3260
|
});
|
|
3261
3261
|
|
|
3262
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
3262
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
3263
3263
|
var require_createNode = __commonJS((exports) => {
|
|
3264
3264
|
var Alias = require_Alias();
|
|
3265
3265
|
var identity = require_identity();
|
|
@@ -3331,7 +3331,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
3331
3331
|
exports.createNode = createNode;
|
|
3332
3332
|
});
|
|
3333
3333
|
|
|
3334
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
3334
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
3335
3335
|
var require_Collection = __commonJS((exports) => {
|
|
3336
3336
|
var createNode = require_createNode();
|
|
3337
3337
|
var identity = require_identity();
|
|
@@ -3446,7 +3446,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
3446
3446
|
exports.isEmptyPath = isEmptyPath;
|
|
3447
3447
|
});
|
|
3448
3448
|
|
|
3449
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
3449
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
3450
3450
|
var require_stringifyComment = __commonJS((exports) => {
|
|
3451
3451
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
3452
3452
|
function indentComment(comment, indent) {
|
|
@@ -3463,7 +3463,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
3463
3463
|
exports.stringifyComment = stringifyComment;
|
|
3464
3464
|
});
|
|
3465
3465
|
|
|
3466
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
3466
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
3467
3467
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
3468
3468
|
var FOLD_FLOW = "flow";
|
|
3469
3469
|
var FOLD_BLOCK = "block";
|
|
@@ -3600,7 +3600,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
3600
3600
|
exports.foldFlowLines = foldFlowLines;
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
3603
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
3604
3604
|
var require_stringifyString = __commonJS((exports) => {
|
|
3605
3605
|
var Scalar = require_Scalar();
|
|
3606
3606
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -3898,7 +3898,7 @@ ${indent}`);
|
|
|
3898
3898
|
exports.stringifyString = stringifyString;
|
|
3899
3899
|
});
|
|
3900
3900
|
|
|
3901
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
3901
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
3902
3902
|
var require_stringify = __commonJS((exports) => {
|
|
3903
3903
|
var anchors = require_anchors();
|
|
3904
3904
|
var identity = require_identity();
|
|
@@ -4019,7 +4019,7 @@ ${ctx.indent}${str}`;
|
|
|
4019
4019
|
exports.stringify = stringify;
|
|
4020
4020
|
});
|
|
4021
4021
|
|
|
4022
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
4022
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
4023
4023
|
var require_stringifyPair = __commonJS((exports) => {
|
|
4024
4024
|
var identity = require_identity();
|
|
4025
4025
|
var Scalar = require_Scalar();
|
|
@@ -4155,7 +4155,7 @@ ${ctx.indent}`;
|
|
|
4155
4155
|
exports.stringifyPair = stringifyPair;
|
|
4156
4156
|
});
|
|
4157
4157
|
|
|
4158
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
4158
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
4159
4159
|
var require_log = __commonJS((exports) => {
|
|
4160
4160
|
var node_process = __require("process");
|
|
4161
4161
|
function debug(logLevel, ...messages) {
|
|
@@ -4174,7 +4174,7 @@ var require_log = __commonJS((exports) => {
|
|
|
4174
4174
|
exports.warn = warn;
|
|
4175
4175
|
});
|
|
4176
4176
|
|
|
4177
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
4177
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
4178
4178
|
var require_merge = __commonJS((exports) => {
|
|
4179
4179
|
var identity = require_identity();
|
|
4180
4180
|
var Scalar = require_Scalar();
|
|
@@ -4228,7 +4228,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
4228
4228
|
exports.merge = merge;
|
|
4229
4229
|
});
|
|
4230
4230
|
|
|
4231
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
4231
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
4232
4232
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
4233
4233
|
var log = require_log();
|
|
4234
4234
|
var merge = require_merge();
|
|
@@ -4289,7 +4289,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
4289
4289
|
exports.addPairToJSMap = addPairToJSMap;
|
|
4290
4290
|
});
|
|
4291
4291
|
|
|
4292
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
4292
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
4293
4293
|
var require_Pair = __commonJS((exports) => {
|
|
4294
4294
|
var createNode = require_createNode();
|
|
4295
4295
|
var stringifyPair = require_stringifyPair();
|
|
@@ -4327,7 +4327,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
4327
4327
|
exports.createPair = createPair;
|
|
4328
4328
|
});
|
|
4329
4329
|
|
|
4330
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
4330
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
4331
4331
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
4332
4332
|
var identity = require_identity();
|
|
4333
4333
|
var stringify = require_stringify();
|
|
@@ -4479,7 +4479,7 @@ ${indent}${end}`;
|
|
|
4479
4479
|
exports.stringifyCollection = stringifyCollection;
|
|
4480
4480
|
});
|
|
4481
4481
|
|
|
4482
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
4482
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
4483
4483
|
var require_YAMLMap = __commonJS((exports) => {
|
|
4484
4484
|
var stringifyCollection = require_stringifyCollection();
|
|
4485
4485
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -4606,7 +4606,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
4606
4606
|
exports.findPair = findPair;
|
|
4607
4607
|
});
|
|
4608
4608
|
|
|
4609
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
4609
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
4610
4610
|
var require_map = __commonJS((exports) => {
|
|
4611
4611
|
var identity = require_identity();
|
|
4612
4612
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4625,7 +4625,7 @@ var require_map = __commonJS((exports) => {
|
|
|
4625
4625
|
exports.map = map;
|
|
4626
4626
|
});
|
|
4627
4627
|
|
|
4628
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
4628
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
4629
4629
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
4630
4630
|
var createNode = require_createNode();
|
|
4631
4631
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -4718,7 +4718,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
4718
4718
|
exports.YAMLSeq = YAMLSeq;
|
|
4719
4719
|
});
|
|
4720
4720
|
|
|
4721
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
4721
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
4722
4722
|
var require_seq = __commonJS((exports) => {
|
|
4723
4723
|
var identity = require_identity();
|
|
4724
4724
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -4737,7 +4737,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
4737
4737
|
exports.seq = seq;
|
|
4738
4738
|
});
|
|
4739
4739
|
|
|
4740
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
4740
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
4741
4741
|
var require_string = __commonJS((exports) => {
|
|
4742
4742
|
var stringifyString = require_stringifyString();
|
|
4743
4743
|
var string = {
|
|
@@ -4753,7 +4753,7 @@ var require_string = __commonJS((exports) => {
|
|
|
4753
4753
|
exports.string = string;
|
|
4754
4754
|
});
|
|
4755
4755
|
|
|
4756
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
4756
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
4757
4757
|
var require_null = __commonJS((exports) => {
|
|
4758
4758
|
var Scalar = require_Scalar();
|
|
4759
4759
|
var nullTag = {
|
|
@@ -4768,7 +4768,7 @@ var require_null = __commonJS((exports) => {
|
|
|
4768
4768
|
exports.nullTag = nullTag;
|
|
4769
4769
|
});
|
|
4770
4770
|
|
|
4771
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
4771
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
4772
4772
|
var require_bool = __commonJS((exports) => {
|
|
4773
4773
|
var Scalar = require_Scalar();
|
|
4774
4774
|
var boolTag = {
|
|
@@ -4789,7 +4789,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
4789
4789
|
exports.boolTag = boolTag;
|
|
4790
4790
|
});
|
|
4791
4791
|
|
|
4792
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
4792
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
4793
4793
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
4794
4794
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
4795
4795
|
if (typeof value === "bigint")
|
|
@@ -4813,7 +4813,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
4813
4813
|
exports.stringifyNumber = stringifyNumber;
|
|
4814
4814
|
});
|
|
4815
4815
|
|
|
4816
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
4816
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
4817
4817
|
var require_float = __commonJS((exports) => {
|
|
4818
4818
|
var Scalar = require_Scalar();
|
|
4819
4819
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -4856,7 +4856,7 @@ var require_float = __commonJS((exports) => {
|
|
|
4856
4856
|
exports.floatNaN = floatNaN;
|
|
4857
4857
|
});
|
|
4858
4858
|
|
|
4859
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
4859
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
4860
4860
|
var require_int = __commonJS((exports) => {
|
|
4861
4861
|
var stringifyNumber = require_stringifyNumber();
|
|
4862
4862
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -4898,7 +4898,7 @@ var require_int = __commonJS((exports) => {
|
|
|
4898
4898
|
exports.intOct = intOct;
|
|
4899
4899
|
});
|
|
4900
4900
|
|
|
4901
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
4901
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
4902
4902
|
var require_schema = __commonJS((exports) => {
|
|
4903
4903
|
var map = require_map();
|
|
4904
4904
|
var _null = require_null();
|
|
@@ -4923,7 +4923,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
4923
4923
|
exports.schema = schema;
|
|
4924
4924
|
});
|
|
4925
4925
|
|
|
4926
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
4926
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
4927
4927
|
var require_schema2 = __commonJS((exports) => {
|
|
4928
4928
|
var Scalar = require_Scalar();
|
|
4929
4929
|
var map = require_map();
|
|
@@ -4987,7 +4987,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
4987
4987
|
exports.schema = schema;
|
|
4988
4988
|
});
|
|
4989
4989
|
|
|
4990
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
4990
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
4991
4991
|
var require_binary = __commonJS((exports) => {
|
|
4992
4992
|
var node_buffer = __require("buffer");
|
|
4993
4993
|
var Scalar = require_Scalar();
|
|
@@ -5042,7 +5042,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
5042
5042
|
exports.binary = binary;
|
|
5043
5043
|
});
|
|
5044
5044
|
|
|
5045
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
5045
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
5046
5046
|
var require_pairs = __commonJS((exports) => {
|
|
5047
5047
|
var identity = require_identity();
|
|
5048
5048
|
var Pair = require_Pair();
|
|
@@ -5117,7 +5117,7 @@ ${cn.comment}` : item.comment;
|
|
|
5117
5117
|
exports.resolvePairs = resolvePairs;
|
|
5118
5118
|
});
|
|
5119
5119
|
|
|
5120
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
5120
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
5121
5121
|
var require_omap = __commonJS((exports) => {
|
|
5122
5122
|
var identity = require_identity();
|
|
5123
5123
|
var toJS = require_toJS();
|
|
@@ -5189,7 +5189,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
5189
5189
|
exports.omap = omap;
|
|
5190
5190
|
});
|
|
5191
5191
|
|
|
5192
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
5192
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
5193
5193
|
var require_bool2 = __commonJS((exports) => {
|
|
5194
5194
|
var Scalar = require_Scalar();
|
|
5195
5195
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -5218,7 +5218,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
5218
5218
|
exports.trueTag = trueTag;
|
|
5219
5219
|
});
|
|
5220
5220
|
|
|
5221
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
5221
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
5222
5222
|
var require_float2 = __commonJS((exports) => {
|
|
5223
5223
|
var Scalar = require_Scalar();
|
|
5224
5224
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -5264,7 +5264,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
5264
5264
|
exports.floatNaN = floatNaN;
|
|
5265
5265
|
});
|
|
5266
5266
|
|
|
5267
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
5267
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
5268
5268
|
var require_int2 = __commonJS((exports) => {
|
|
5269
5269
|
var stringifyNumber = require_stringifyNumber();
|
|
5270
5270
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -5340,7 +5340,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
5340
5340
|
exports.intOct = intOct;
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
5343
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
5344
5344
|
var require_set = __commonJS((exports) => {
|
|
5345
5345
|
var identity = require_identity();
|
|
5346
5346
|
var Pair = require_Pair();
|
|
@@ -5423,7 +5423,7 @@ var require_set = __commonJS((exports) => {
|
|
|
5423
5423
|
exports.set = set;
|
|
5424
5424
|
});
|
|
5425
5425
|
|
|
5426
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
5426
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
5427
5427
|
var require_timestamp = __commonJS((exports) => {
|
|
5428
5428
|
var stringifyNumber = require_stringifyNumber();
|
|
5429
5429
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -5505,7 +5505,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
5505
5505
|
exports.timestamp = timestamp;
|
|
5506
5506
|
});
|
|
5507
5507
|
|
|
5508
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
5508
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
5509
5509
|
var require_schema3 = __commonJS((exports) => {
|
|
5510
5510
|
var map = require_map();
|
|
5511
5511
|
var _null = require_null();
|
|
@@ -5546,7 +5546,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
5546
5546
|
exports.schema = schema;
|
|
5547
5547
|
});
|
|
5548
5548
|
|
|
5549
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
5549
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
5550
5550
|
var require_tags = __commonJS((exports) => {
|
|
5551
5551
|
var map = require_map();
|
|
5552
5552
|
var _null = require_null();
|
|
@@ -5637,7 +5637,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
5637
5637
|
exports.getTags = getTags;
|
|
5638
5638
|
});
|
|
5639
5639
|
|
|
5640
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
5640
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
5641
5641
|
var require_Schema = __commonJS((exports) => {
|
|
5642
5642
|
var identity = require_identity();
|
|
5643
5643
|
var map = require_map();
|
|
@@ -5667,7 +5667,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
5667
5667
|
exports.Schema = Schema;
|
|
5668
5668
|
});
|
|
5669
5669
|
|
|
5670
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
5670
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
5671
5671
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
5672
5672
|
var identity = require_identity();
|
|
5673
5673
|
var stringify = require_stringify();
|
|
@@ -5747,7 +5747,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
5747
5747
|
exports.stringifyDocument = stringifyDocument;
|
|
5748
5748
|
});
|
|
5749
5749
|
|
|
5750
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
5750
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
5751
5751
|
var require_Document = __commonJS((exports) => {
|
|
5752
5752
|
var Alias = require_Alias();
|
|
5753
5753
|
var Collection = require_Collection();
|
|
@@ -5982,7 +5982,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
5982
5982
|
exports.Document = Document;
|
|
5983
5983
|
});
|
|
5984
5984
|
|
|
5985
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
5985
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
5986
5986
|
var require_errors = __commonJS((exports) => {
|
|
5987
5987
|
class YAMLError extends Error {
|
|
5988
5988
|
constructor(name, pos, code, message) {
|
|
@@ -6047,7 +6047,7 @@ ${pointer}
|
|
|
6047
6047
|
exports.prettifyError = prettifyError;
|
|
6048
6048
|
});
|
|
6049
6049
|
|
|
6050
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
6050
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
6051
6051
|
var require_resolve_props = __commonJS((exports) => {
|
|
6052
6052
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
6053
6053
|
let spaceBefore = false;
|
|
@@ -6177,7 +6177,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
6177
6177
|
exports.resolveProps = resolveProps;
|
|
6178
6178
|
});
|
|
6179
6179
|
|
|
6180
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
6180
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
6181
6181
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
6182
6182
|
function containsNewline(key) {
|
|
6183
6183
|
if (!key)
|
|
@@ -6217,7 +6217,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
6217
6217
|
exports.containsNewline = containsNewline;
|
|
6218
6218
|
});
|
|
6219
6219
|
|
|
6220
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
6220
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
6221
6221
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
6222
6222
|
var utilContainsNewline = require_util_contains_newline();
|
|
6223
6223
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -6232,7 +6232,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
6232
6232
|
exports.flowIndentCheck = flowIndentCheck;
|
|
6233
6233
|
});
|
|
6234
6234
|
|
|
6235
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
6235
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
6236
6236
|
var require_util_map_includes = __commonJS((exports) => {
|
|
6237
6237
|
var identity = require_identity();
|
|
6238
6238
|
function mapIncludes(ctx, items, search) {
|
|
@@ -6245,7 +6245,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
6245
6245
|
exports.mapIncludes = mapIncludes;
|
|
6246
6246
|
});
|
|
6247
6247
|
|
|
6248
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
6248
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
6249
6249
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
6250
6250
|
var Pair = require_Pair();
|
|
6251
6251
|
var YAMLMap = require_YAMLMap();
|
|
@@ -6352,7 +6352,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
6352
6352
|
exports.resolveBlockMap = resolveBlockMap;
|
|
6353
6353
|
});
|
|
6354
6354
|
|
|
6355
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
6355
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
6356
6356
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
6357
6357
|
var YAMLSeq = require_YAMLSeq();
|
|
6358
6358
|
var resolveProps = require_resolve_props();
|
|
@@ -6400,7 +6400,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
6400
6400
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
6401
6401
|
});
|
|
6402
6402
|
|
|
6403
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
6403
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
6404
6404
|
var require_resolve_end = __commonJS((exports) => {
|
|
6405
6405
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
6406
6406
|
let comment = "";
|
|
@@ -6440,7 +6440,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
6440
6440
|
exports.resolveEnd = resolveEnd;
|
|
6441
6441
|
});
|
|
6442
6442
|
|
|
6443
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
6443
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
6444
6444
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
6445
6445
|
var identity = require_identity();
|
|
6446
6446
|
var Pair = require_Pair();
|
|
@@ -6631,7 +6631,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
6631
6631
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
6632
6632
|
});
|
|
6633
6633
|
|
|
6634
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
6634
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
6635
6635
|
var require_compose_collection = __commonJS((exports) => {
|
|
6636
6636
|
var identity = require_identity();
|
|
6637
6637
|
var Scalar = require_Scalar();
|
|
@@ -6693,7 +6693,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
6693
6693
|
exports.composeCollection = composeCollection;
|
|
6694
6694
|
});
|
|
6695
6695
|
|
|
6696
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
6696
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
6697
6697
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
6698
6698
|
var Scalar = require_Scalar();
|
|
6699
6699
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -6886,7 +6886,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
6886
6886
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
6887
6887
|
});
|
|
6888
6888
|
|
|
6889
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
6889
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
6890
6890
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
6891
6891
|
var Scalar = require_Scalar();
|
|
6892
6892
|
var resolveEnd = require_resolve_end();
|
|
@@ -7102,7 +7102,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
7102
7102
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
7103
7103
|
});
|
|
7104
7104
|
|
|
7105
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
7105
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
7106
7106
|
var require_compose_scalar = __commonJS((exports) => {
|
|
7107
7107
|
var identity = require_identity();
|
|
7108
7108
|
var Scalar = require_Scalar();
|
|
@@ -7180,7 +7180,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
7180
7180
|
exports.composeScalar = composeScalar;
|
|
7181
7181
|
});
|
|
7182
7182
|
|
|
7183
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
7183
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
7184
7184
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
7185
7185
|
function emptyScalarPosition(offset, before, pos) {
|
|
7186
7186
|
if (before) {
|
|
@@ -7207,7 +7207,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
7207
7207
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
7208
7208
|
});
|
|
7209
7209
|
|
|
7210
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
7210
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
7211
7211
|
var require_compose_node = __commonJS((exports) => {
|
|
7212
7212
|
var Alias = require_Alias();
|
|
7213
7213
|
var identity = require_identity();
|
|
@@ -7310,7 +7310,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
7310
7310
|
exports.composeNode = composeNode;
|
|
7311
7311
|
});
|
|
7312
7312
|
|
|
7313
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
7313
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
7314
7314
|
var require_compose_doc = __commonJS((exports) => {
|
|
7315
7315
|
var Document = require_Document();
|
|
7316
7316
|
var composeNode = require_compose_node();
|
|
@@ -7350,7 +7350,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
7350
7350
|
exports.composeDoc = composeDoc;
|
|
7351
7351
|
});
|
|
7352
7352
|
|
|
7353
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
7353
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
7354
7354
|
var require_composer = __commonJS((exports) => {
|
|
7355
7355
|
var node_process = __require("process");
|
|
7356
7356
|
var directives = require_directives();
|
|
@@ -7539,7 +7539,7 @@ ${end.comment}` : end.comment;
|
|
|
7539
7539
|
exports.Composer = Composer;
|
|
7540
7540
|
});
|
|
7541
7541
|
|
|
7542
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
7542
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
7543
7543
|
var require_cst_scalar = __commonJS((exports) => {
|
|
7544
7544
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
7545
7545
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -7729,7 +7729,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
7729
7729
|
exports.setScalarValue = setScalarValue;
|
|
7730
7730
|
});
|
|
7731
7731
|
|
|
7732
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
7732
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
7733
7733
|
var require_cst_stringify = __commonJS((exports) => {
|
|
7734
7734
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
7735
7735
|
function stringifyToken(token) {
|
|
@@ -7787,7 +7787,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
7787
7787
|
exports.stringify = stringify;
|
|
7788
7788
|
});
|
|
7789
7789
|
|
|
7790
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
7790
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
7791
7791
|
var require_cst_visit = __commonJS((exports) => {
|
|
7792
7792
|
var BREAK = Symbol("break visit");
|
|
7793
7793
|
var SKIP = Symbol("skip children");
|
|
@@ -7846,7 +7846,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
7846
7846
|
exports.visit = visit;
|
|
7847
7847
|
});
|
|
7848
7848
|
|
|
7849
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
7849
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
7850
7850
|
var require_cst = __commonJS((exports) => {
|
|
7851
7851
|
var cstScalar = require_cst_scalar();
|
|
7852
7852
|
var cstStringify = require_cst_stringify();
|
|
@@ -7947,7 +7947,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
7947
7947
|
exports.tokenType = tokenType;
|
|
7948
7948
|
});
|
|
7949
7949
|
|
|
7950
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
7950
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
7951
7951
|
var require_lexer = __commonJS((exports) => {
|
|
7952
7952
|
var cst = require_cst();
|
|
7953
7953
|
function isEmpty(ch) {
|
|
@@ -8533,7 +8533,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
8533
8533
|
exports.Lexer = Lexer;
|
|
8534
8534
|
});
|
|
8535
8535
|
|
|
8536
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
8536
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
8537
8537
|
var require_line_counter = __commonJS((exports) => {
|
|
8538
8538
|
class LineCounter {
|
|
8539
8539
|
constructor() {
|
|
@@ -8561,7 +8561,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
8561
8561
|
exports.LineCounter = LineCounter;
|
|
8562
8562
|
});
|
|
8563
8563
|
|
|
8564
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
8564
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
8565
8565
|
var require_parser = __commonJS((exports) => {
|
|
8566
8566
|
var node_process = __require("process");
|
|
8567
8567
|
var cst = require_cst();
|
|
@@ -9410,7 +9410,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
9410
9410
|
exports.Parser = Parser;
|
|
9411
9411
|
});
|
|
9412
9412
|
|
|
9413
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
9413
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
9414
9414
|
var require_public_api = __commonJS((exports) => {
|
|
9415
9415
|
var composer = require_composer();
|
|
9416
9416
|
var Document = require_Document();
|
|
@@ -9504,7 +9504,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
9504
9504
|
exports.stringify = stringify;
|
|
9505
9505
|
});
|
|
9506
9506
|
|
|
9507
|
-
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
9507
|
+
// ../switchroom/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
9508
9508
|
var require_dist = __commonJS((exports) => {
|
|
9509
9509
|
var composer = require_composer();
|
|
9510
9510
|
var Document = require_Document();
|
|
@@ -9553,7 +9553,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
9553
9553
|
exports.visitAsync = visit.visitAsync;
|
|
9554
9554
|
});
|
|
9555
9555
|
|
|
9556
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
9556
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
9557
9557
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
9558
9558
|
const t = typeof data;
|
|
9559
9559
|
switch (t) {
|
|
@@ -9684,7 +9684,7 @@ var init_util = __esm(() => {
|
|
|
9684
9684
|
]);
|
|
9685
9685
|
});
|
|
9686
9686
|
|
|
9687
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
9687
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
9688
9688
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
9689
9689
|
const json = JSON.stringify(obj, null, 2);
|
|
9690
9690
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -9805,7 +9805,7 @@ var init_ZodError = __esm(() => {
|
|
|
9805
9805
|
};
|
|
9806
9806
|
});
|
|
9807
9807
|
|
|
9808
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
9808
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
9809
9809
|
var errorMap = (issue, _ctx) => {
|
|
9810
9810
|
let message;
|
|
9811
9811
|
switch (issue.code) {
|
|
@@ -9912,7 +9912,7 @@ var init_en = __esm(() => {
|
|
|
9912
9912
|
en_default = errorMap;
|
|
9913
9913
|
});
|
|
9914
9914
|
|
|
9915
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
9915
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
9916
9916
|
function setErrorMap(map) {
|
|
9917
9917
|
overrideErrorMap = map;
|
|
9918
9918
|
}
|
|
@@ -9925,7 +9925,7 @@ var init_errors = __esm(() => {
|
|
|
9925
9925
|
overrideErrorMap = en_default;
|
|
9926
9926
|
});
|
|
9927
9927
|
|
|
9928
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
9928
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
9929
9929
|
function addIssueToContext(ctx, issueData) {
|
|
9930
9930
|
const overrideMap = getErrorMap();
|
|
9931
9931
|
const issue = makeIssue({
|
|
@@ -10030,10 +10030,10 @@ var init_parseUtil = __esm(() => {
|
|
|
10030
10030
|
});
|
|
10031
10031
|
});
|
|
10032
10032
|
|
|
10033
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
10033
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
10034
10034
|
var init_typeAliases = () => {};
|
|
10035
10035
|
|
|
10036
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
10036
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
10037
10037
|
var errorUtil;
|
|
10038
10038
|
var init_errorUtil = __esm(() => {
|
|
10039
10039
|
(function(errorUtil2) {
|
|
@@ -10042,7 +10042,7 @@ var init_errorUtil = __esm(() => {
|
|
|
10042
10042
|
})(errorUtil || (errorUtil = {}));
|
|
10043
10043
|
});
|
|
10044
10044
|
|
|
10045
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
10045
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
10046
10046
|
class ParseInputLazyPath {
|
|
10047
10047
|
constructor(parent, value, path, key) {
|
|
10048
10048
|
this._cachedPath = [];
|
|
@@ -13393,7 +13393,7 @@ var init_types = __esm(() => {
|
|
|
13393
13393
|
NEVER = INVALID;
|
|
13394
13394
|
});
|
|
13395
13395
|
|
|
13396
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
13396
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
13397
13397
|
var exports_external = {};
|
|
13398
13398
|
__export(exports_external, {
|
|
13399
13399
|
void: () => voidType,
|
|
@@ -13513,7 +13513,7 @@ var init_external = __esm(() => {
|
|
|
13513
13513
|
init_ZodError();
|
|
13514
13514
|
});
|
|
13515
13515
|
|
|
13516
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
13516
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
13517
13517
|
var init_zod = __esm(() => {
|
|
13518
13518
|
init_external();
|
|
13519
13519
|
init_external();
|
|
@@ -15053,7 +15053,7 @@ function classifyTimezoneSource(config, resolvedAgent) {
|
|
|
15053
15053
|
}
|
|
15054
15054
|
var init_timezone = () => {};
|
|
15055
15055
|
|
|
15056
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
15056
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
15057
15057
|
var require_utils = __commonJS((exports) => {
|
|
15058
15058
|
exports.__esModule = true;
|
|
15059
15059
|
exports.extend = extend;
|
|
@@ -15149,7 +15149,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
15149
15149
|
}
|
|
15150
15150
|
});
|
|
15151
15151
|
|
|
15152
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
15152
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
15153
15153
|
var require_exception = __commonJS((exports, module) => {
|
|
15154
15154
|
exports.__esModule = true;
|
|
15155
15155
|
var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
@@ -15194,7 +15194,7 @@ var require_exception = __commonJS((exports, module) => {
|
|
|
15194
15194
|
module.exports = exports["default"];
|
|
15195
15195
|
});
|
|
15196
15196
|
|
|
15197
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
15197
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
15198
15198
|
var require_block_helper_missing = __commonJS((exports, module) => {
|
|
15199
15199
|
exports.__esModule = true;
|
|
15200
15200
|
var _utils = require_utils();
|
|
@@ -15227,7 +15227,7 @@ var require_block_helper_missing = __commonJS((exports, module) => {
|
|
|
15227
15227
|
module.exports = exports["default"];
|
|
15228
15228
|
});
|
|
15229
15229
|
|
|
15230
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
15230
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
15231
15231
|
var require_each = __commonJS((exports, module) => {
|
|
15232
15232
|
exports.__esModule = true;
|
|
15233
15233
|
function _interopRequireDefault(obj) {
|
|
@@ -15308,7 +15308,7 @@ var require_each = __commonJS((exports, module) => {
|
|
|
15308
15308
|
module.exports = exports["default"];
|
|
15309
15309
|
});
|
|
15310
15310
|
|
|
15311
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
15311
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
15312
15312
|
var require_helper_missing = __commonJS((exports, module) => {
|
|
15313
15313
|
exports.__esModule = true;
|
|
15314
15314
|
function _interopRequireDefault(obj) {
|
|
@@ -15328,7 +15328,7 @@ var require_helper_missing = __commonJS((exports, module) => {
|
|
|
15328
15328
|
module.exports = exports["default"];
|
|
15329
15329
|
});
|
|
15330
15330
|
|
|
15331
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
15331
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
15332
15332
|
var require_if = __commonJS((exports, module) => {
|
|
15333
15333
|
exports.__esModule = true;
|
|
15334
15334
|
function _interopRequireDefault(obj) {
|
|
@@ -15365,7 +15365,7 @@ var require_if = __commonJS((exports, module) => {
|
|
|
15365
15365
|
module.exports = exports["default"];
|
|
15366
15366
|
});
|
|
15367
15367
|
|
|
15368
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
15368
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
15369
15369
|
var require_log2 = __commonJS((exports, module) => {
|
|
15370
15370
|
exports.__esModule = true;
|
|
15371
15371
|
exports.default = function(instance) {
|
|
@@ -15387,7 +15387,7 @@ var require_log2 = __commonJS((exports, module) => {
|
|
|
15387
15387
|
module.exports = exports["default"];
|
|
15388
15388
|
});
|
|
15389
15389
|
|
|
15390
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
15390
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
15391
15391
|
var require_lookup = __commonJS((exports, module) => {
|
|
15392
15392
|
exports.__esModule = true;
|
|
15393
15393
|
exports.default = function(instance) {
|
|
@@ -15401,7 +15401,7 @@ var require_lookup = __commonJS((exports, module) => {
|
|
|
15401
15401
|
module.exports = exports["default"];
|
|
15402
15402
|
});
|
|
15403
15403
|
|
|
15404
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
15404
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
15405
15405
|
var require_with = __commonJS((exports, module) => {
|
|
15406
15406
|
exports.__esModule = true;
|
|
15407
15407
|
function _interopRequireDefault(obj) {
|
|
@@ -15437,7 +15437,7 @@ var require_with = __commonJS((exports, module) => {
|
|
|
15437
15437
|
module.exports = exports["default"];
|
|
15438
15438
|
});
|
|
15439
15439
|
|
|
15440
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
15440
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
15441
15441
|
var require_helpers = __commonJS((exports) => {
|
|
15442
15442
|
exports.__esModule = true;
|
|
15443
15443
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
|
@@ -15478,7 +15478,7 @@ var require_helpers = __commonJS((exports) => {
|
|
|
15478
15478
|
}
|
|
15479
15479
|
});
|
|
15480
15480
|
|
|
15481
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
15481
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
15482
15482
|
var require_inline = __commonJS((exports, module) => {
|
|
15483
15483
|
exports.__esModule = true;
|
|
15484
15484
|
var _utils = require_utils();
|
|
@@ -15502,7 +15502,7 @@ var require_inline = __commonJS((exports, module) => {
|
|
|
15502
15502
|
module.exports = exports["default"];
|
|
15503
15503
|
});
|
|
15504
15504
|
|
|
15505
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
15505
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
15506
15506
|
var require_decorators = __commonJS((exports) => {
|
|
15507
15507
|
exports.__esModule = true;
|
|
15508
15508
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
|
@@ -15516,7 +15516,7 @@ var require_decorators = __commonJS((exports) => {
|
|
|
15516
15516
|
}
|
|
15517
15517
|
});
|
|
15518
15518
|
|
|
15519
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
15519
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
15520
15520
|
var require_logger = __commonJS((exports, module) => {
|
|
15521
15521
|
exports.__esModule = true;
|
|
15522
15522
|
var _utils = require_utils();
|
|
@@ -15552,7 +15552,7 @@ var require_logger = __commonJS((exports, module) => {
|
|
|
15552
15552
|
module.exports = exports["default"];
|
|
15553
15553
|
});
|
|
15554
15554
|
|
|
15555
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
15555
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
15556
15556
|
var require_proto_access = __commonJS((exports) => {
|
|
15557
15557
|
exports.__esModule = true;
|
|
15558
15558
|
exports.createProtoAccessControl = createProtoAccessControl;
|
|
@@ -15619,7 +15619,7 @@ var require_proto_access = __commonJS((exports) => {
|
|
|
15619
15619
|
}
|
|
15620
15620
|
});
|
|
15621
15621
|
|
|
15622
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
15622
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
15623
15623
|
var require_base = __commonJS((exports) => {
|
|
15624
15624
|
exports.__esModule = true;
|
|
15625
15625
|
exports.HandlebarsEnvironment = HandlebarsEnvironment;
|
|
@@ -15712,7 +15712,7 @@ var require_base = __commonJS((exports) => {
|
|
|
15712
15712
|
exports.logger = _logger2["default"];
|
|
15713
15713
|
});
|
|
15714
15714
|
|
|
15715
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
15715
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
15716
15716
|
var require_safe_string = __commonJS((exports, module) => {
|
|
15717
15717
|
exports.__esModule = true;
|
|
15718
15718
|
function SafeString(string) {
|
|
@@ -15725,7 +15725,7 @@ var require_safe_string = __commonJS((exports, module) => {
|
|
|
15725
15725
|
module.exports = exports["default"];
|
|
15726
15726
|
});
|
|
15727
15727
|
|
|
15728
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
15728
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
15729
15729
|
var require_wrapHelper = __commonJS((exports) => {
|
|
15730
15730
|
exports.__esModule = true;
|
|
15731
15731
|
exports.wrapHelper = wrapHelper;
|
|
@@ -15742,7 +15742,7 @@ var require_wrapHelper = __commonJS((exports) => {
|
|
|
15742
15742
|
}
|
|
15743
15743
|
});
|
|
15744
15744
|
|
|
15745
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
15745
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
15746
15746
|
var require_runtime = __commonJS((exports) => {
|
|
15747
15747
|
exports.__esModule = true;
|
|
15748
15748
|
exports.checkRevision = checkRevision;
|
|
@@ -16057,7 +16057,7 @@ var require_runtime = __commonJS((exports) => {
|
|
|
16057
16057
|
}
|
|
16058
16058
|
});
|
|
16059
16059
|
|
|
16060
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
16060
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
16061
16061
|
var require_no_conflict = __commonJS((exports, module) => {
|
|
16062
16062
|
exports.__esModule = true;
|
|
16063
16063
|
exports.default = function(Handlebars) {
|
|
@@ -16081,7 +16081,7 @@ var require_no_conflict = __commonJS((exports, module) => {
|
|
|
16081
16081
|
module.exports = exports["default"];
|
|
16082
16082
|
});
|
|
16083
16083
|
|
|
16084
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
16084
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
16085
16085
|
var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
16086
16086
|
exports.__esModule = true;
|
|
16087
16087
|
function _interopRequireDefault(obj) {
|
|
@@ -16135,7 +16135,7 @@ var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
|
16135
16135
|
module.exports = exports["default"];
|
|
16136
16136
|
});
|
|
16137
16137
|
|
|
16138
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
16138
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
16139
16139
|
var require_ast = __commonJS((exports, module) => {
|
|
16140
16140
|
exports.__esModule = true;
|
|
16141
16141
|
var AST = {
|
|
@@ -16155,7 +16155,7 @@ var require_ast = __commonJS((exports, module) => {
|
|
|
16155
16155
|
module.exports = exports["default"];
|
|
16156
16156
|
});
|
|
16157
16157
|
|
|
16158
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
16158
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
16159
16159
|
var require_parser2 = __commonJS((exports, module) => {
|
|
16160
16160
|
exports.__esModule = true;
|
|
16161
16161
|
var handlebars = function() {
|
|
@@ -16879,7 +16879,7 @@ Expecting ` + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symb
|
|
|
16879
16879
|
module.exports = exports["default"];
|
|
16880
16880
|
});
|
|
16881
16881
|
|
|
16882
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
16882
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
16883
16883
|
var require_visitor = __commonJS((exports, module) => {
|
|
16884
16884
|
exports.__esModule = true;
|
|
16885
16885
|
function _interopRequireDefault(obj) {
|
|
@@ -16984,7 +16984,7 @@ var require_visitor = __commonJS((exports, module) => {
|
|
|
16984
16984
|
module.exports = exports["default"];
|
|
16985
16985
|
});
|
|
16986
16986
|
|
|
16987
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
16987
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
16988
16988
|
var require_whitespace_control = __commonJS((exports, module) => {
|
|
16989
16989
|
exports.__esModule = true;
|
|
16990
16990
|
function _interopRequireDefault(obj) {
|
|
@@ -17130,7 +17130,7 @@ var require_whitespace_control = __commonJS((exports, module) => {
|
|
|
17130
17130
|
module.exports = exports["default"];
|
|
17131
17131
|
});
|
|
17132
17132
|
|
|
17133
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
17133
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
17134
17134
|
var require_helpers2 = __commonJS((exports) => {
|
|
17135
17135
|
exports.__esModule = true;
|
|
17136
17136
|
exports.SourceLocation = SourceLocation;
|
|
@@ -17315,7 +17315,7 @@ var require_helpers2 = __commonJS((exports) => {
|
|
|
17315
17315
|
}
|
|
17316
17316
|
});
|
|
17317
17317
|
|
|
17318
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
17318
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
17319
17319
|
var require_base2 = __commonJS((exports) => {
|
|
17320
17320
|
exports.__esModule = true;
|
|
17321
17321
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
|
@@ -17414,7 +17414,7 @@ var require_base2 = __commonJS((exports) => {
|
|
|
17414
17414
|
}
|
|
17415
17415
|
});
|
|
17416
17416
|
|
|
17417
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
17417
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
17418
17418
|
var require_compiler = __commonJS((exports) => {
|
|
17419
17419
|
exports.__esModule = true;
|
|
17420
17420
|
exports.Compiler = Compiler;
|
|
@@ -17831,7 +17831,7 @@ var require_compiler = __commonJS((exports) => {
|
|
|
17831
17831
|
}
|
|
17832
17832
|
});
|
|
17833
17833
|
|
|
17834
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64.js
|
|
17834
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64.js
|
|
17835
17835
|
var require_base64 = __commonJS((exports) => {
|
|
17836
17836
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
17837
17837
|
exports.encode = function(number) {
|
|
@@ -17870,7 +17870,7 @@ var require_base64 = __commonJS((exports) => {
|
|
|
17870
17870
|
};
|
|
17871
17871
|
});
|
|
17872
17872
|
|
|
17873
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js
|
|
17873
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js
|
|
17874
17874
|
var require_base64_vlq = __commonJS((exports) => {
|
|
17875
17875
|
var base64 = require_base64();
|
|
17876
17876
|
var VLQ_BASE_SHIFT = 5;
|
|
@@ -17922,7 +17922,7 @@ var require_base64_vlq = __commonJS((exports) => {
|
|
|
17922
17922
|
};
|
|
17923
17923
|
});
|
|
17924
17924
|
|
|
17925
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/util.js
|
|
17925
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/util.js
|
|
17926
17926
|
var require_util = __commonJS((exports) => {
|
|
17927
17927
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
17928
17928
|
if (aName in aArgs) {
|
|
@@ -18221,7 +18221,7 @@ var require_util = __commonJS((exports) => {
|
|
|
18221
18221
|
exports.computeSourceURL = computeSourceURL;
|
|
18222
18222
|
});
|
|
18223
18223
|
|
|
18224
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/array-set.js
|
|
18224
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/array-set.js
|
|
18225
18225
|
var require_array_set = __commonJS((exports) => {
|
|
18226
18226
|
var util3 = require_util();
|
|
18227
18227
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -18289,7 +18289,7 @@ var require_array_set = __commonJS((exports) => {
|
|
|
18289
18289
|
exports.ArraySet = ArraySet;
|
|
18290
18290
|
});
|
|
18291
18291
|
|
|
18292
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js
|
|
18292
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js
|
|
18293
18293
|
var require_mapping_list = __commonJS((exports) => {
|
|
18294
18294
|
var util3 = require_util();
|
|
18295
18295
|
function generatedPositionAfter(mappingA, mappingB) {
|
|
@@ -18326,7 +18326,7 @@ var require_mapping_list = __commonJS((exports) => {
|
|
|
18326
18326
|
exports.MappingList = MappingList;
|
|
18327
18327
|
});
|
|
18328
18328
|
|
|
18329
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js
|
|
18329
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js
|
|
18330
18330
|
var require_source_map_generator = __commonJS((exports) => {
|
|
18331
18331
|
var base64VLQ = require_base64_vlq();
|
|
18332
18332
|
var util3 = require_util();
|
|
@@ -18596,7 +18596,7 @@ var require_source_map_generator = __commonJS((exports) => {
|
|
|
18596
18596
|
exports.SourceMapGenerator = SourceMapGenerator;
|
|
18597
18597
|
});
|
|
18598
18598
|
|
|
18599
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/binary-search.js
|
|
18599
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/binary-search.js
|
|
18600
18600
|
var require_binary_search = __commonJS((exports) => {
|
|
18601
18601
|
exports.GREATEST_LOWER_BOUND = 1;
|
|
18602
18602
|
exports.LEAST_UPPER_BOUND = 2;
|
|
@@ -18643,7 +18643,7 @@ var require_binary_search = __commonJS((exports) => {
|
|
|
18643
18643
|
};
|
|
18644
18644
|
});
|
|
18645
18645
|
|
|
18646
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js
|
|
18646
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js
|
|
18647
18647
|
var require_quick_sort = __commonJS((exports) => {
|
|
18648
18648
|
function swap(ary, x, y) {
|
|
18649
18649
|
var temp = ary[x];
|
|
@@ -18676,7 +18676,7 @@ var require_quick_sort = __commonJS((exports) => {
|
|
|
18676
18676
|
};
|
|
18677
18677
|
});
|
|
18678
18678
|
|
|
18679
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js
|
|
18679
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js
|
|
18680
18680
|
var require_source_map_consumer = __commonJS((exports) => {
|
|
18681
18681
|
var util3 = require_util();
|
|
18682
18682
|
var binarySearch = require_binary_search();
|
|
@@ -19245,7 +19245,7 @@ var require_source_map_consumer = __commonJS((exports) => {
|
|
|
19245
19245
|
exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
|
|
19246
19246
|
});
|
|
19247
19247
|
|
|
19248
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-node.js
|
|
19248
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-node.js
|
|
19249
19249
|
var require_source_node = __commonJS((exports) => {
|
|
19250
19250
|
var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
19251
19251
|
var util3 = require_util();
|
|
@@ -19499,14 +19499,14 @@ var require_source_node = __commonJS((exports) => {
|
|
|
19499
19499
|
exports.SourceNode = SourceNode;
|
|
19500
19500
|
});
|
|
19501
19501
|
|
|
19502
|
-
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/source-map.js
|
|
19502
|
+
// ../switchroom/node_modules/.bun/source-map@0.6.1/node_modules/source-map/source-map.js
|
|
19503
19503
|
var require_source_map = __commonJS((exports) => {
|
|
19504
19504
|
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
19505
19505
|
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
19506
19506
|
exports.SourceNode = require_source_node().SourceNode;
|
|
19507
19507
|
});
|
|
19508
19508
|
|
|
19509
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
19509
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
19510
19510
|
var require_code_gen = __commonJS((exports, module) => {
|
|
19511
19511
|
exports.__esModule = true;
|
|
19512
19512
|
var _utils = require_utils();
|
|
@@ -19639,7 +19639,7 @@ var require_code_gen = __commonJS((exports, module) => {
|
|
|
19639
19639
|
module.exports = exports["default"];
|
|
19640
19640
|
});
|
|
19641
19641
|
|
|
19642
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
19642
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
19643
19643
|
var require_javascript_compiler = __commonJS((exports, module) => {
|
|
19644
19644
|
exports.__esModule = true;
|
|
19645
19645
|
function _interopRequireDefault(obj) {
|
|
@@ -20407,7 +20407,7 @@ var require_javascript_compiler = __commonJS((exports, module) => {
|
|
|
20407
20407
|
module.exports = exports["default"];
|
|
20408
20408
|
});
|
|
20409
20409
|
|
|
20410
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
|
|
20410
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
|
|
20411
20411
|
var require_handlebars = __commonJS((exports, module) => {
|
|
20412
20412
|
exports.__esModule = true;
|
|
20413
20413
|
function _interopRequireDefault(obj) {
|
|
@@ -20451,7 +20451,7 @@ var require_handlebars = __commonJS((exports, module) => {
|
|
|
20451
20451
|
module.exports = exports["default"];
|
|
20452
20452
|
});
|
|
20453
20453
|
|
|
20454
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
20454
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
20455
20455
|
var require_printer = __commonJS((exports) => {
|
|
20456
20456
|
exports.__esModule = true;
|
|
20457
20457
|
exports.print = print;
|
|
@@ -20595,7 +20595,7 @@ var require_printer = __commonJS((exports) => {
|
|
|
20595
20595
|
};
|
|
20596
20596
|
});
|
|
20597
20597
|
|
|
20598
|
-
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/lib/index.js
|
|
20598
|
+
// ../switchroom/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/lib/index.js
|
|
20599
20599
|
var require_lib = __commonJS((exports, module) => {
|
|
20600
20600
|
var handlebars = require_handlebars()["default"];
|
|
20601
20601
|
var printer = require_printer();
|
|
@@ -24527,6 +24527,23 @@ function submitAuthCode(name, agentDir, code, slot, _opts = {}) {
|
|
|
24527
24527
|
]
|
|
24528
24528
|
};
|
|
24529
24529
|
}
|
|
24530
|
+
function cancelAuthSession(name, agentDir, slot) {
|
|
24531
|
+
let targetSlot = slot;
|
|
24532
|
+
if (!targetSlot) {
|
|
24533
|
+
const pending = readJsonFile(authSessionMetaPath(agentDir));
|
|
24534
|
+
if (pending?.slot)
|
|
24535
|
+
targetSlot = pending.slot;
|
|
24536
|
+
}
|
|
24537
|
+
const sessionName = authSessionName(name, targetSlot);
|
|
24538
|
+
if (tmuxSessionExists(sessionName)) {
|
|
24539
|
+
tmux(["kill-session", "-t", sessionName]);
|
|
24540
|
+
}
|
|
24541
|
+
clearAuthSessionMeta(agentDir);
|
|
24542
|
+
cleanupAuthTempDirs(agentDir);
|
|
24543
|
+
return {
|
|
24544
|
+
instructions: [`Cancelled pending auth session for agent "${name}".`]
|
|
24545
|
+
};
|
|
24546
|
+
}
|
|
24530
24547
|
var TOKEN_VALIDITY_MS;
|
|
24531
24548
|
var init_manager = __esm(() => {
|
|
24532
24549
|
init_loader();
|
|
@@ -27272,41 +27289,77 @@ function seedChain(path) {
|
|
|
27272
27289
|
lastHash: "CORRUPT-TAIL-" + createHash6("sha256").update(tail).digest("hex").slice(0, 16)
|
|
27273
27290
|
};
|
|
27274
27291
|
}
|
|
27275
|
-
function
|
|
27292
|
+
function verifyAuditLog(fullText) {
|
|
27276
27293
|
const rawLines = fullText.split(`
|
|
27277
27294
|
`);
|
|
27278
|
-
let
|
|
27279
|
-
let
|
|
27280
|
-
let
|
|
27295
|
+
let legacyRows = 0;
|
|
27296
|
+
let chainedRows = 0;
|
|
27297
|
+
let segments = 0;
|
|
27298
|
+
let seenChained = false;
|
|
27299
|
+
let prevSeq = 0;
|
|
27300
|
+
let prevHash = "";
|
|
27281
27301
|
for (let i = 0;i < rawLines.length; i++) {
|
|
27282
27302
|
const raw = rawLines[i];
|
|
27283
27303
|
if (raw.length === 0)
|
|
27284
27304
|
continue;
|
|
27285
|
-
rows++;
|
|
27286
27305
|
let obj;
|
|
27287
27306
|
try {
|
|
27288
27307
|
obj = JSON.parse(raw);
|
|
27289
27308
|
} catch {
|
|
27290
|
-
|
|
27309
|
+
if (!seenChained) {
|
|
27310
|
+
legacyRows++;
|
|
27311
|
+
continue;
|
|
27312
|
+
}
|
|
27313
|
+
return {
|
|
27314
|
+
state: "tampered",
|
|
27315
|
+
legacyRows,
|
|
27316
|
+
chainedRows,
|
|
27317
|
+
segments,
|
|
27318
|
+
brokenAtLine: i + 1,
|
|
27319
|
+
reason: "a non-JSON row appears inside the hash-chained region (row replaced/corrupted)"
|
|
27320
|
+
};
|
|
27291
27321
|
}
|
|
27292
27322
|
const { _seq, _prev, _hash, ...entry } = obj;
|
|
27293
|
-
|
|
27294
|
-
|
|
27295
|
-
|
|
27296
|
-
|
|
27297
|
-
|
|
27298
|
-
|
|
27299
|
-
|
|
27300
|
-
|
|
27323
|
+
const isChained = typeof _seq === "number" && typeof _prev === "string" && typeof _hash === "string";
|
|
27324
|
+
if (!isChained) {
|
|
27325
|
+
if (!seenChained) {
|
|
27326
|
+
legacyRows++;
|
|
27327
|
+
continue;
|
|
27328
|
+
}
|
|
27329
|
+
return {
|
|
27330
|
+
state: "tampered",
|
|
27331
|
+
legacyRows,
|
|
27332
|
+
chainedRows,
|
|
27333
|
+
segments,
|
|
27334
|
+
brokenAtLine: i + 1,
|
|
27335
|
+
reason: "a chained row had its chain fields stripped (unchained row inside the chained region)"
|
|
27336
|
+
};
|
|
27301
27337
|
}
|
|
27302
27338
|
const recomputed = rowHash(_prev, _seq, JSON.stringify(entry));
|
|
27303
27339
|
if (recomputed !== _hash) {
|
|
27304
|
-
return {
|
|
27340
|
+
return {
|
|
27341
|
+
state: "tampered",
|
|
27342
|
+
legacyRows,
|
|
27343
|
+
chainedRows,
|
|
27344
|
+
segments,
|
|
27345
|
+
brokenAtLine: i + 1,
|
|
27346
|
+
reason: "hash mismatch \u2014 this row's body/_seq/_prev was edited without recomputing its _hash"
|
|
27347
|
+
};
|
|
27348
|
+
}
|
|
27349
|
+
if (!seenChained) {
|
|
27350
|
+
seenChained = true;
|
|
27351
|
+
segments = 1;
|
|
27352
|
+
} else if (_seq !== prevSeq + 1 || _prev !== prevHash) {
|
|
27353
|
+
segments++;
|
|
27305
27354
|
}
|
|
27306
|
-
|
|
27307
|
-
|
|
27355
|
+
chainedRows++;
|
|
27356
|
+
prevSeq = _seq;
|
|
27357
|
+
prevHash = _hash;
|
|
27308
27358
|
}
|
|
27309
|
-
|
|
27359
|
+
if (!seenChained) {
|
|
27360
|
+
return { state: "legacy", legacyRows, chainedRows: 0, segments: 0 };
|
|
27361
|
+
}
|
|
27362
|
+
return { state: "ok", legacyRows, chainedRows, segments };
|
|
27310
27363
|
}
|
|
27311
27364
|
var CHAIN_GENESIS = "GENESIS", SEP = "\x00";
|
|
27312
27365
|
var init_audit_hashchain = () => {};
|
|
@@ -27451,6 +27504,23 @@ function formatForCli(entries, opts = {}) {
|
|
|
27451
27504
|
}
|
|
27452
27505
|
var init_audit_reader = () => {};
|
|
27453
27506
|
|
|
27507
|
+
// src/cli/doctor-status.ts
|
|
27508
|
+
function statusGlyph(status) {
|
|
27509
|
+
switch (status) {
|
|
27510
|
+
case "ok":
|
|
27511
|
+
return source_default.green("\u2713");
|
|
27512
|
+
case "warn":
|
|
27513
|
+
return source_default.yellow("!");
|
|
27514
|
+
case "fail":
|
|
27515
|
+
return source_default.red("\u2717");
|
|
27516
|
+
case "skip":
|
|
27517
|
+
return source_default.gray("\u2013");
|
|
27518
|
+
}
|
|
27519
|
+
}
|
|
27520
|
+
var init_doctor_status = __esm(() => {
|
|
27521
|
+
init_source();
|
|
27522
|
+
});
|
|
27523
|
+
|
|
27454
27524
|
// src/manifest.ts
|
|
27455
27525
|
import {
|
|
27456
27526
|
existsSync as existsSync44,
|
|
@@ -28047,7 +28117,7 @@ function runAuthBrokerChecks(config, deps = {}) {
|
|
|
28047
28117
|
checkAuthBrokerThresholdViolations(deps),
|
|
28048
28118
|
checkAuthBrokerActiveAccount(config, deps)
|
|
28049
28119
|
];
|
|
28050
|
-
const rank = { fail: 0, warn: 1, ok: 2 };
|
|
28120
|
+
const rank = { fail: 0, warn: 1, ok: 2, skip: 3 };
|
|
28051
28121
|
return [...results].sort((a, b) => rank[a.status] - rank[b.status]);
|
|
28052
28122
|
}
|
|
28053
28123
|
var AUTH_BROKER_CONTAINER = "switchroom-auth-broker";
|
|
@@ -28293,7 +28363,7 @@ function checkScaffoldWiring(config, driveAgents, d) {
|
|
|
28293
28363
|
if (mcpRead.kind === "unreadable" || trustRead.kind === "unreadable") {
|
|
28294
28364
|
results.push({
|
|
28295
28365
|
name: `drive: ${name} scaffold`,
|
|
28296
|
-
status: "
|
|
28366
|
+
status: "skip",
|
|
28297
28367
|
detail: "scaffold files are agent-UID-owned (mode 0600) \u2014 unverifiable from the host operator; the agent process reads them fine. Verify in-container if needed: `docker exec switchroom-" + name + " sh -lc 'python3 -m json.tool /state/agent/.mcp.json >/dev/null && echo ok'`"
|
|
28298
28368
|
});
|
|
28299
28369
|
continue;
|
|
@@ -28543,7 +28613,7 @@ function runSecretAccessChecks(config, deps = {}) {
|
|
|
28543
28613
|
if (!passphrase) {
|
|
28544
28614
|
results.push({
|
|
28545
28615
|
name: "agent secret access",
|
|
28546
|
-
status: "
|
|
28616
|
+
status: "skip",
|
|
28547
28617
|
detail: "SWITCHROOM_VAULT_PASSPHRASE not set \u2014 cannot enumerate vault keys/ACLs " + "to verify per-agent secret access",
|
|
28548
28618
|
fix: "Export SWITCHROOM_VAULT_PASSPHRASE and re-run `switchroom doctor`"
|
|
28549
28619
|
});
|
|
@@ -28729,20 +28799,6 @@ function rootWrittenLogs(home2) {
|
|
|
28729
28799
|
}
|
|
28730
28800
|
];
|
|
28731
28801
|
}
|
|
28732
|
-
function looksChained(text) {
|
|
28733
|
-
for (const raw of text.split(`
|
|
28734
|
-
`)) {
|
|
28735
|
-
if (raw.length === 0)
|
|
28736
|
-
continue;
|
|
28737
|
-
try {
|
|
28738
|
-
const o = JSON.parse(raw);
|
|
28739
|
-
return typeof o._seq === "number";
|
|
28740
|
-
} catch {
|
|
28741
|
-
return false;
|
|
28742
|
-
}
|
|
28743
|
-
}
|
|
28744
|
-
return false;
|
|
28745
|
-
}
|
|
28746
28802
|
function runAuditIntegrityChecks(deps = {}) {
|
|
28747
28803
|
const home2 = deps.homeDir ?? homedir21();
|
|
28748
28804
|
const read = deps.readFileSync ?? ((p) => fsReadFileSync2(p, "utf8"));
|
|
@@ -28769,28 +28825,28 @@ function runAuditIntegrityChecks(deps = {}) {
|
|
|
28769
28825
|
});
|
|
28770
28826
|
continue;
|
|
28771
28827
|
}
|
|
28772
|
-
|
|
28828
|
+
const v = verifyAuditLog(text);
|
|
28829
|
+
const preamble = v.legacyRows > 0 ? `${v.legacyRows} pre-#1433 legacy preamble row(s) + ` : ``;
|
|
28830
|
+
const restarts = v.segments > 1 ? ` across ${v.segments} segment(s) (${v.segments - 1} broker restart re-anchor(s))` : ``;
|
|
28831
|
+
if (v.state === "legacy") {
|
|
28773
28832
|
results.push({
|
|
28774
28833
|
name: `${label} audit tamper-evidence`,
|
|
28775
28834
|
status: "warn",
|
|
28776
|
-
detail: `${path4} is present but
|
|
28835
|
+
detail: `${path4} is present but NO rows are hash-chained \u2014 this is a pre-#1433 legacy log; tamper-evidence is inactive until the post-#1433 ${label} image is deployed`,
|
|
28777
28836
|
fix: `Run \`switchroom update\` to roll the ${label} image forward (#1433 added the chain). Expected during the rollout window; not itself a tamper signal.`
|
|
28778
28837
|
});
|
|
28779
|
-
|
|
28780
|
-
}
|
|
28781
|
-
const v = verifyAuditChain(text, CHAIN_GENESIS);
|
|
28782
|
-
if (v.ok) {
|
|
28838
|
+
} else if (v.state === "ok") {
|
|
28783
28839
|
results.push({
|
|
28784
28840
|
name: `${label} audit chain valid`,
|
|
28785
28841
|
status: "ok",
|
|
28786
|
-
detail: `${v.
|
|
28842
|
+
detail: `${preamble}${v.chainedRows} hash-chained row(s)${restarts}, every row self-consistent (tamper-evidence active)`
|
|
28787
28843
|
});
|
|
28788
28844
|
} else {
|
|
28789
28845
|
results.push({
|
|
28790
28846
|
name: `${label} audit chain BROKEN`,
|
|
28791
28847
|
status: "fail",
|
|
28792
|
-
detail: `${path4}:
|
|
28793
|
-
fix: `Treat the ${label} audit trail as compromised
|
|
28848
|
+
detail: `${path4}: tamper detected at file line ${v.brokenAtLine} \u2014 ${v.reason} (WS10-F2: a row was forensically rewritten). ${preamble}${v.chainedRows} prior chained row(s) verified.`,
|
|
28849
|
+
fix: `Treat the ${label} audit trail as compromised at/after file line ${v.brokenAtLine}. Preserve the file for forensics; investigate host/broker compromise before trusting subsequent rows.`
|
|
28794
28850
|
});
|
|
28795
28851
|
}
|
|
28796
28852
|
}
|
|
@@ -28852,16 +28908,6 @@ import {
|
|
|
28852
28908
|
} from "node:fs";
|
|
28853
28909
|
import { dirname as dirname12, join as join41, resolve as resolve29 } from "node:path";
|
|
28854
28910
|
import { createPublicKey, createPrivateKey } from "node:crypto";
|
|
28855
|
-
function statusGlyph(status) {
|
|
28856
|
-
switch (status) {
|
|
28857
|
-
case "ok":
|
|
28858
|
-
return source_default.green("\u2713");
|
|
28859
|
-
case "warn":
|
|
28860
|
-
return source_default.yellow("!");
|
|
28861
|
-
case "fail":
|
|
28862
|
-
return source_default.red("\u2717");
|
|
28863
|
-
}
|
|
28864
|
-
}
|
|
28865
28911
|
function findInNvm(bin) {
|
|
28866
28912
|
const nvmRoot = join41(process.env.HOME ?? "", ".nvm", "versions", "node");
|
|
28867
28913
|
if (!existsSync47(nvmRoot))
|
|
@@ -29193,7 +29239,7 @@ function checkVault(config) {
|
|
|
29193
29239
|
},
|
|
29194
29240
|
{
|
|
29195
29241
|
name: "vault unlock",
|
|
29196
|
-
status: "
|
|
29242
|
+
status: "skip",
|
|
29197
29243
|
detail: "SWITCHROOM_VAULT_PASSPHRASE not set; cannot verify decrypt",
|
|
29198
29244
|
fix: "Export SWITCHROOM_VAULT_PASSPHRASE to verify the vault unlocks"
|
|
29199
29245
|
}
|
|
@@ -29478,8 +29524,9 @@ async function checkTelegram(config) {
|
|
|
29478
29524
|
if (read.kind === "eacces") {
|
|
29479
29525
|
results.push({
|
|
29480
29526
|
name: `${name}: bot token`,
|
|
29481
|
-
status: "
|
|
29482
|
-
detail: `unreadable from host (${read.error}) \u2014 agent reads it fine; cannot verify TELEGRAM_BOT_TOKEN from operator UID
|
|
29527
|
+
status: "skip",
|
|
29528
|
+
detail: `unreadable from host (${read.error}) \u2014 agent reads it fine; cannot verify TELEGRAM_BOT_TOKEN from operator UID`,
|
|
29529
|
+
fix: `Verify in-agent (PR2 hostd agent_smoke), or: docker exec switchroom-${name} sh -lc 'test -s "$TELEGRAM_BOT_TOKEN_FILE" || grep -q TELEGRAM_BOT_TOKEN /state/agent/telegram/.env && echo ok'`
|
|
29483
29530
|
});
|
|
29484
29531
|
continue;
|
|
29485
29532
|
}
|
|
@@ -29538,8 +29585,9 @@ function checkStartShStale(agentName, startShPath) {
|
|
|
29538
29585
|
} catch (err) {
|
|
29539
29586
|
return {
|
|
29540
29587
|
name: label,
|
|
29541
|
-
status: "
|
|
29542
|
-
detail: `unreadable
|
|
29588
|
+
status: "skip",
|
|
29589
|
+
detail: `unreadable from host (${err.message}) \u2014 agent-UID-owned; the scheduler block can't be checked from the operator UID`,
|
|
29590
|
+
fix: `Verify in-agent (PR2 hostd agent_smoke), or: docker exec switchroom-${agentName} grep -q _switchroom_supervise.*agent-scheduler /state/agent/start.sh && echo ok`
|
|
29543
29591
|
};
|
|
29544
29592
|
}
|
|
29545
29593
|
if (!/_switchroom_supervise\s+agent-scheduler\b/.test(content)) {
|
|
@@ -29703,8 +29751,9 @@ function checkAgents(config, configPath) {
|
|
|
29703
29751
|
if (auth?.inaccessible) {
|
|
29704
29752
|
results.push({
|
|
29705
29753
|
name: `${name}: auth`,
|
|
29706
|
-
status: "
|
|
29707
|
-
detail: "auth state owned by agent UID \u2014 unverifiable from host (agent reads it fine)"
|
|
29754
|
+
status: "skip",
|
|
29755
|
+
detail: "auth state owned by agent UID \u2014 unverifiable from host (agent reads it fine)",
|
|
29756
|
+
fix: `Verify in-agent (PR2 hostd agent_smoke runs a real auth liveness check)`
|
|
29708
29757
|
});
|
|
29709
29758
|
} else {
|
|
29710
29759
|
results.push({
|
|
@@ -29810,6 +29859,7 @@ ${title}`));
|
|
|
29810
29859
|
let oks = 0;
|
|
29811
29860
|
let warns = 0;
|
|
29812
29861
|
let fails = 0;
|
|
29862
|
+
let skips = 0;
|
|
29813
29863
|
for (const r of results) {
|
|
29814
29864
|
if (r.status === "ok")
|
|
29815
29865
|
oks++;
|
|
@@ -29817,13 +29867,15 @@ ${title}`));
|
|
|
29817
29867
|
warns++;
|
|
29818
29868
|
if (r.status === "fail")
|
|
29819
29869
|
fails++;
|
|
29870
|
+
if (r.status === "skip")
|
|
29871
|
+
skips++;
|
|
29820
29872
|
const detail = r.detail ? source_default.gray(` (${r.detail})`) : "";
|
|
29821
29873
|
console.log(` ${statusGlyph(r.status)} ${r.name}${detail}`);
|
|
29822
29874
|
if (r.fix && r.status !== "ok") {
|
|
29823
29875
|
console.log(source_default.gray(` \u2192 ${r.fix}`));
|
|
29824
29876
|
}
|
|
29825
29877
|
}
|
|
29826
|
-
return { oks, warns, fails };
|
|
29878
|
+
return { oks, warns, fails, skips };
|
|
29827
29879
|
}
|
|
29828
29880
|
function mffAgentName(config) {
|
|
29829
29881
|
for (const [name, ac] of Object.entries(config?.agents ?? {})) {
|
|
@@ -29852,7 +29904,7 @@ function checkMffVaultKeyPresent(passphrase, vaultPath) {
|
|
|
29852
29904
|
if (!passphrase) {
|
|
29853
29905
|
return {
|
|
29854
29906
|
name: "mff: vault key present",
|
|
29855
|
-
status: "
|
|
29907
|
+
status: "skip",
|
|
29856
29908
|
detail: "SWITCHROOM_VAULT_PASSPHRASE not set \u2014 skipping vault checks",
|
|
29857
29909
|
fix: "Export SWITCHROOM_VAULT_PASSPHRASE to enable MFF vault probes"
|
|
29858
29910
|
};
|
|
@@ -29988,7 +30040,7 @@ async function checkMffApiReachable(envPath = mffEnvPath(), timeoutMs = 5000) {
|
|
|
29988
30040
|
if (state !== "readable") {
|
|
29989
30041
|
return {
|
|
29990
30042
|
name: "mff: API reachable",
|
|
29991
|
-
status: "
|
|
30043
|
+
status: "skip",
|
|
29992
30044
|
detail: state === "agent-private" ? "skipped \u2014 MFF creds are per-agent/agent-private since WS6-F2; deep probe must run in-agent" : "skipped (MFF .env not found \u2014 see 'mff: .env present')"
|
|
29993
30045
|
};
|
|
29994
30046
|
}
|
|
@@ -30040,7 +30092,7 @@ async function checkMffAuthFlow(envPath = mffEnvPath(), timeoutMs = 8000) {
|
|
|
30040
30092
|
if (state !== "readable") {
|
|
30041
30093
|
return {
|
|
30042
30094
|
name: "mff: auth flow",
|
|
30043
|
-
status: "
|
|
30095
|
+
status: "skip",
|
|
30044
30096
|
detail: state === "agent-private" ? "skipped \u2014 MFF creds are per-agent/agent-private since WS6-F2; deep probe must run in-agent" : "skipped (MFF .env not found \u2014 see 'mff: .env present')"
|
|
30045
30097
|
};
|
|
30046
30098
|
}
|
|
@@ -30138,7 +30190,7 @@ async function checkMffCloudflareUa(envPath = mffEnvPath(), timeoutMs = 5000) {
|
|
|
30138
30190
|
if (state !== "readable") {
|
|
30139
30191
|
return {
|
|
30140
30192
|
name: "mff: Cloudflare UA bypass",
|
|
30141
|
-
status: "
|
|
30193
|
+
status: "skip",
|
|
30142
30194
|
detail: state === "agent-private" ? "skipped \u2014 MFF creds are per-agent/agent-private since WS6-F2; deep probe must run in-agent" : "skipped (MFF .env not found \u2014 see 'mff: .env present')"
|
|
30143
30195
|
};
|
|
30144
30196
|
}
|
|
@@ -30364,16 +30416,18 @@ function registerDoctorCommand(program3) {
|
|
|
30364
30416
|
let totalOk = 0;
|
|
30365
30417
|
let totalWarn = 0;
|
|
30366
30418
|
let totalFail = 0;
|
|
30419
|
+
let totalSkip = 0;
|
|
30367
30420
|
for (const { title, results } of sections) {
|
|
30368
30421
|
if (results.length === 0)
|
|
30369
30422
|
continue;
|
|
30370
|
-
const { oks, warns, fails } = printSection(title, results);
|
|
30423
|
+
const { oks, warns, fails, skips } = printSection(title, results);
|
|
30371
30424
|
totalOk += oks;
|
|
30372
30425
|
totalWarn += warns;
|
|
30373
30426
|
totalFail += fails;
|
|
30427
|
+
totalSkip += skips;
|
|
30374
30428
|
}
|
|
30375
30429
|
console.log();
|
|
30376
|
-
const summary = `${source_default.green(`${totalOk} ok`)} \u00b7 ${source_default.yellow(`${totalWarn} warn`)} \u00b7 ${source_default.red(`${totalFail} fail`)}`;
|
|
30430
|
+
const summary = `${source_default.green(`${totalOk} ok`)} \u00b7 ${source_default.yellow(`${totalWarn} warn`)} \u00b7 ${source_default.red(`${totalFail} fail`)}` + ` \u00b7 ${source_default.gray(`${totalSkip} skip`)}`;
|
|
30377
30431
|
console.log(` ${summary}`);
|
|
30378
30432
|
console.log();
|
|
30379
30433
|
if (totalFail > 0) {
|
|
@@ -30384,6 +30438,7 @@ function registerDoctorCommand(program3) {
|
|
|
30384
30438
|
var MFF_VAULT_KEY = "mff/agent-private-key", MANIFEST_WARN_ONLY;
|
|
30385
30439
|
var init_doctor = __esm(() => {
|
|
30386
30440
|
init_source();
|
|
30441
|
+
init_doctor_status();
|
|
30387
30442
|
init_vault();
|
|
30388
30443
|
init_loader();
|
|
30389
30444
|
init_paths();
|
|
@@ -30450,7 +30505,7 @@ function deriveSlug(inputs, existing) {
|
|
|
30450
30505
|
return `${base}_${n}`;
|
|
30451
30506
|
}
|
|
30452
30507
|
|
|
30453
|
-
// node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
30508
|
+
// ../switchroom/node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
30454
30509
|
var require_lib2 = __commonJS((exports2) => {
|
|
30455
30510
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
30456
30511
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -30497,7 +30552,7 @@ var require_lib2 = __commonJS((exports2) => {
|
|
|
30497
30552
|
exports2.binarySearch = binarySearch;
|
|
30498
30553
|
});
|
|
30499
30554
|
|
|
30500
|
-
// node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
30555
|
+
// ../switchroom/node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
30501
30556
|
var require_structured_source = __commonJS((exports2) => {
|
|
30502
30557
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
30503
30558
|
exports2.StructuredSource = undefined;
|
|
@@ -30552,13 +30607,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
30552
30607
|
}
|
|
30553
30608
|
exports2.StructuredSource = StructuredSource;
|
|
30554
30609
|
});
|
|
30555
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
30610
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
30556
30611
|
var import_structured_source;
|
|
30557
30612
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
30558
30613
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
30559
30614
|
});
|
|
30560
30615
|
|
|
30561
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
30616
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
30562
30617
|
class EventEmitter {
|
|
30563
30618
|
#listeners = new Map;
|
|
30564
30619
|
on(type, listener) {
|
|
@@ -30597,9 +30652,9 @@ class EventEmitter {
|
|
|
30597
30652
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
30598
30653
|
}
|
|
30599
30654
|
}
|
|
30600
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
30655
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
30601
30656
|
var init_RuleContext = () => {};
|
|
30602
|
-
// node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
30657
|
+
// ../switchroom/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
30603
30658
|
class SecretLintProfiler {
|
|
30604
30659
|
perf;
|
|
30605
30660
|
entries = [];
|
|
@@ -30656,7 +30711,7 @@ class SecretLintProfiler {
|
|
|
30656
30711
|
}
|
|
30657
30712
|
}
|
|
30658
30713
|
|
|
30659
|
-
// node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
30714
|
+
// ../switchroom/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
30660
30715
|
import perf_hooks from "node:perf_hooks";
|
|
30661
30716
|
|
|
30662
30717
|
class NullPerformanceObserver {
|
|
@@ -30671,19 +30726,19 @@ var init_node = __esm(() => {
|
|
|
30671
30726
|
});
|
|
30672
30727
|
});
|
|
30673
30728
|
|
|
30674
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
30729
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
30675
30730
|
var init_RunningEvents = __esm(() => {
|
|
30676
30731
|
init_node();
|
|
30677
30732
|
});
|
|
30678
30733
|
|
|
30679
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
30734
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
30680
30735
|
var init_RulePresetContext = __esm(() => {
|
|
30681
30736
|
init_RuleContext();
|
|
30682
30737
|
});
|
|
30683
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
30738
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
30684
30739
|
var init_messages = () => {};
|
|
30685
30740
|
|
|
30686
|
-
// node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
30741
|
+
// ../switchroom/node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
30687
30742
|
var require_ms = __commonJS((exports2, module) => {
|
|
30688
30743
|
var s = 1000;
|
|
30689
30744
|
var m = s * 60;
|
|
@@ -30793,7 +30848,7 @@ var require_ms = __commonJS((exports2, module) => {
|
|
|
30793
30848
|
}
|
|
30794
30849
|
});
|
|
30795
30850
|
|
|
30796
|
-
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
30851
|
+
// ../switchroom/node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
30797
30852
|
var require_common = __commonJS((exports2, module) => {
|
|
30798
30853
|
function setup(env2) {
|
|
30799
30854
|
createDebug.debug = createDebug;
|
|
@@ -30968,7 +31023,7 @@ var require_common = __commonJS((exports2, module) => {
|
|
|
30968
31023
|
module.exports = setup;
|
|
30969
31024
|
});
|
|
30970
31025
|
|
|
30971
|
-
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
31026
|
+
// ../switchroom/node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
30972
31027
|
var require_browser = __commonJS((exports2, module) => {
|
|
30973
31028
|
exports2.formatArgs = formatArgs;
|
|
30974
31029
|
exports2.save = save;
|
|
@@ -31128,7 +31183,7 @@ var require_browser = __commonJS((exports2, module) => {
|
|
|
31128
31183
|
};
|
|
31129
31184
|
});
|
|
31130
31185
|
|
|
31131
|
-
// node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
31186
|
+
// ../switchroom/node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
31132
31187
|
var require_has_flag = __commonJS((exports2, module) => {
|
|
31133
31188
|
module.exports = (flag, argv = process.argv) => {
|
|
31134
31189
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -31138,7 +31193,7 @@ var require_has_flag = __commonJS((exports2, module) => {
|
|
|
31138
31193
|
};
|
|
31139
31194
|
});
|
|
31140
31195
|
|
|
31141
|
-
// node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
31196
|
+
// ../switchroom/node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
31142
31197
|
var require_supports_color = __commonJS((exports2, module) => {
|
|
31143
31198
|
var os5 = __require("os");
|
|
31144
31199
|
var tty2 = __require("tty");
|
|
@@ -31237,7 +31292,7 @@ var require_supports_color = __commonJS((exports2, module) => {
|
|
|
31237
31292
|
};
|
|
31238
31293
|
});
|
|
31239
31294
|
|
|
31240
|
-
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
31295
|
+
// ../switchroom/node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
31241
31296
|
var require_node = __commonJS((exports2, module) => {
|
|
31242
31297
|
var tty2 = __require("tty");
|
|
31243
31298
|
var util3 = __require("util");
|
|
@@ -31408,7 +31463,7 @@ var require_node = __commonJS((exports2, module) => {
|
|
|
31408
31463
|
};
|
|
31409
31464
|
});
|
|
31410
31465
|
|
|
31411
|
-
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
31466
|
+
// ../switchroom/node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
31412
31467
|
var require_src = __commonJS((exports2, module) => {
|
|
31413
31468
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
31414
31469
|
module.exports = require_browser();
|
|
@@ -31417,7 +31472,7 @@ var require_src = __commonJS((exports2, module) => {
|
|
|
31417
31472
|
}
|
|
31418
31473
|
});
|
|
31419
31474
|
|
|
31420
|
-
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
31475
|
+
// ../switchroom/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
31421
31476
|
var import_debug, debug;
|
|
31422
31477
|
var init_module = __esm(() => {
|
|
31423
31478
|
init_SecretLintSourceCodeImpl();
|
|
@@ -31430,7 +31485,7 @@ var init_module = __esm(() => {
|
|
|
31430
31485
|
debug = import_debug.default("@secretlint/core");
|
|
31431
31486
|
});
|
|
31432
31487
|
|
|
31433
|
-
// node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
31488
|
+
// ../switchroom/node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
31434
31489
|
function requireLodash_uniq() {
|
|
31435
31490
|
if (hasRequiredLodash_uniq)
|
|
31436
31491
|
return lodash_uniq;
|
|
@@ -33113,7 +33168,7 @@ var init_secretlint_source = __esm(() => {
|
|
|
33113
33168
|
init_suppressor();
|
|
33114
33169
|
});
|
|
33115
33170
|
|
|
33116
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
|
|
33171
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
|
|
33117
33172
|
function $constructor(name, initializer, params) {
|
|
33118
33173
|
function init(inst, def) {
|
|
33119
33174
|
var _a;
|
|
@@ -33176,7 +33231,7 @@ var init_core = __esm(() => {
|
|
|
33176
33231
|
globalConfig = {};
|
|
33177
33232
|
});
|
|
33178
33233
|
|
|
33179
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
33234
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
33180
33235
|
var exports_util = {};
|
|
33181
33236
|
__export(exports_util, {
|
|
33182
33237
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -33692,7 +33747,7 @@ var init_util2 = __esm(() => {
|
|
|
33692
33747
|
};
|
|
33693
33748
|
});
|
|
33694
33749
|
|
|
33695
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
|
|
33750
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
|
|
33696
33751
|
function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
33697
33752
|
const fieldErrors = {};
|
|
33698
33753
|
const formErrors = [];
|
|
@@ -33770,7 +33825,7 @@ var init_errors2 = __esm(() => {
|
|
|
33770
33825
|
$ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
33771
33826
|
});
|
|
33772
33827
|
|
|
33773
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
|
|
33828
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
|
|
33774
33829
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
33775
33830
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
33776
33831
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -33822,7 +33877,7 @@ var init_parse = __esm(() => {
|
|
|
33822
33877
|
safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
33823
33878
|
});
|
|
33824
33879
|
|
|
33825
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
|
|
33880
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
|
|
33826
33881
|
function emoji() {
|
|
33827
33882
|
return new RegExp(_emoji, "u");
|
|
33828
33883
|
}
|
|
@@ -33879,7 +33934,7 @@ var init_regexes = __esm(() => {
|
|
|
33879
33934
|
uppercase = /^[^a-z]*$/;
|
|
33880
33935
|
});
|
|
33881
33936
|
|
|
33882
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
|
|
33937
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
|
|
33883
33938
|
var $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckOverwrite;
|
|
33884
33939
|
var init_checks = __esm(() => {
|
|
33885
33940
|
init_core();
|
|
@@ -34269,7 +34324,7 @@ var init_checks = __esm(() => {
|
|
|
34269
34324
|
});
|
|
34270
34325
|
});
|
|
34271
34326
|
|
|
34272
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
|
|
34327
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
|
|
34273
34328
|
class Doc {
|
|
34274
34329
|
constructor(args = []) {
|
|
34275
34330
|
this.content = [];
|
|
@@ -34307,7 +34362,7 @@ class Doc {
|
|
|
34307
34362
|
}
|
|
34308
34363
|
}
|
|
34309
34364
|
|
|
34310
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
|
|
34365
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
|
|
34311
34366
|
var version2;
|
|
34312
34367
|
var init_versions = __esm(() => {
|
|
34313
34368
|
version2 = {
|
|
@@ -34317,7 +34372,7 @@ var init_versions = __esm(() => {
|
|
|
34317
34372
|
};
|
|
34318
34373
|
});
|
|
34319
34374
|
|
|
34320
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
|
|
34375
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
|
|
34321
34376
|
function isValidBase64(data) {
|
|
34322
34377
|
if (data === "")
|
|
34323
34378
|
return true;
|
|
@@ -35559,7 +35614,7 @@ var init_schemas = __esm(() => {
|
|
|
35559
35614
|
});
|
|
35560
35615
|
});
|
|
35561
35616
|
|
|
35562
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
|
|
35617
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
|
|
35563
35618
|
function en_default2() {
|
|
35564
35619
|
return {
|
|
35565
35620
|
localeError: error()
|
|
@@ -35679,10 +35734,10 @@ var init_en2 = __esm(() => {
|
|
|
35679
35734
|
init_util2();
|
|
35680
35735
|
});
|
|
35681
35736
|
|
|
35682
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
|
|
35737
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
|
|
35683
35738
|
var init_locales = () => {};
|
|
35684
35739
|
|
|
35685
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
|
|
35740
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
|
|
35686
35741
|
class $ZodRegistry {
|
|
35687
35742
|
constructor() {
|
|
35688
35743
|
this._map = new Map;
|
|
@@ -35735,7 +35790,7 @@ var init_registries = __esm(() => {
|
|
|
35735
35790
|
globalRegistry = /* @__PURE__ */ registry();
|
|
35736
35791
|
});
|
|
35737
35792
|
|
|
35738
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
|
|
35793
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
|
|
35739
35794
|
function _string(Class2, params) {
|
|
35740
35795
|
return new Class2({
|
|
35741
35796
|
type: "string",
|
|
@@ -36175,16 +36230,16 @@ var init_api = __esm(() => {
|
|
|
36175
36230
|
init_util2();
|
|
36176
36231
|
});
|
|
36177
36232
|
|
|
36178
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
|
|
36233
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
|
|
36179
36234
|
var init_function = () => {};
|
|
36180
36235
|
|
|
36181
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
|
|
36236
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
|
|
36182
36237
|
var init_to_json_schema = () => {};
|
|
36183
36238
|
|
|
36184
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
|
|
36239
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
|
|
36185
36240
|
var init_json_schema = () => {};
|
|
36186
36241
|
|
|
36187
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
|
|
36242
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
|
|
36188
36243
|
var init_core2 = __esm(() => {
|
|
36189
36244
|
init_util2();
|
|
36190
36245
|
init_regexes();
|
|
@@ -36202,24 +36257,24 @@ var init_core2 = __esm(() => {
|
|
|
36202
36257
|
init_to_json_schema();
|
|
36203
36258
|
});
|
|
36204
36259
|
|
|
36205
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/parse.js
|
|
36260
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/parse.js
|
|
36206
36261
|
var init_parse2 = __esm(() => {
|
|
36207
36262
|
init_core2();
|
|
36208
36263
|
});
|
|
36209
36264
|
|
|
36210
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
|
|
36265
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
|
|
36211
36266
|
var init_schemas2 = () => {};
|
|
36212
36267
|
|
|
36213
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/checks.js
|
|
36268
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/checks.js
|
|
36214
36269
|
var init_checks2 = () => {};
|
|
36215
36270
|
|
|
36216
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/iso.js
|
|
36271
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/iso.js
|
|
36217
36272
|
var init_iso = () => {};
|
|
36218
36273
|
|
|
36219
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/coerce.js
|
|
36274
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/coerce.js
|
|
36220
36275
|
var init_coerce = () => {};
|
|
36221
36276
|
|
|
36222
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/external.js
|
|
36277
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/external.js
|
|
36223
36278
|
var init_external2 = __esm(() => {
|
|
36224
36279
|
init_core2();
|
|
36225
36280
|
init_locales();
|
|
@@ -36230,17 +36285,17 @@ var init_external2 = __esm(() => {
|
|
|
36230
36285
|
init_checks2();
|
|
36231
36286
|
});
|
|
36232
36287
|
|
|
36233
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/index.js
|
|
36288
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/index.js
|
|
36234
36289
|
var init_mini = __esm(() => {
|
|
36235
36290
|
init_external2();
|
|
36236
36291
|
});
|
|
36237
36292
|
|
|
36238
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4-mini/index.js
|
|
36293
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4-mini/index.js
|
|
36239
36294
|
var init_v4_mini = __esm(() => {
|
|
36240
36295
|
init_mini();
|
|
36241
36296
|
});
|
|
36242
36297
|
|
|
36243
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
36298
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
36244
36299
|
function isZ4Schema(s) {
|
|
36245
36300
|
const schema = s;
|
|
36246
36301
|
return !!schema._zod;
|
|
@@ -36306,12 +36361,12 @@ var init_zod_compat = __esm(() => {
|
|
|
36306
36361
|
init_v4_mini();
|
|
36307
36362
|
});
|
|
36308
36363
|
|
|
36309
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/checks.js
|
|
36364
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/checks.js
|
|
36310
36365
|
var init_checks3 = __esm(() => {
|
|
36311
36366
|
init_core2();
|
|
36312
36367
|
});
|
|
36313
36368
|
|
|
36314
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
36369
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
36315
36370
|
var exports_iso2 = {};
|
|
36316
36371
|
__export(exports_iso2, {
|
|
36317
36372
|
time: () => time2,
|
|
@@ -36357,7 +36412,7 @@ var init_iso2 = __esm(() => {
|
|
|
36357
36412
|
});
|
|
36358
36413
|
});
|
|
36359
36414
|
|
|
36360
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
|
|
36415
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
|
|
36361
36416
|
var initializer2 = (inst, issues) => {
|
|
36362
36417
|
$ZodError.init(inst, issues);
|
|
36363
36418
|
inst.name = "ZodError";
|
|
@@ -36390,7 +36445,7 @@ var init_errors3 = __esm(() => {
|
|
|
36390
36445
|
});
|
|
36391
36446
|
});
|
|
36392
36447
|
|
|
36393
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
|
|
36448
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
|
|
36394
36449
|
var parse4, parseAsync2, safeParse3, safeParseAsync2;
|
|
36395
36450
|
var init_parse3 = __esm(() => {
|
|
36396
36451
|
init_core2();
|
|
@@ -36401,7 +36456,7 @@ var init_parse3 = __esm(() => {
|
|
|
36401
36456
|
safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
36402
36457
|
});
|
|
36403
36458
|
|
|
36404
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
|
|
36459
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
|
|
36405
36460
|
function string2(params) {
|
|
36406
36461
|
return _string(ZodString2, params);
|
|
36407
36462
|
}
|
|
@@ -37015,13 +37070,13 @@ var init_schemas3 = __esm(() => {
|
|
|
37015
37070
|
});
|
|
37016
37071
|
});
|
|
37017
37072
|
|
|
37018
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
|
|
37073
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
|
|
37019
37074
|
var init_compat = () => {};
|
|
37020
37075
|
|
|
37021
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
|
|
37076
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
|
|
37022
37077
|
var init_coerce2 = () => {};
|
|
37023
37078
|
|
|
37024
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
37079
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
37025
37080
|
var init_external3 = __esm(() => {
|
|
37026
37081
|
init_core2();
|
|
37027
37082
|
init_core2();
|
|
@@ -37037,17 +37092,17 @@ var init_external3 = __esm(() => {
|
|
|
37037
37092
|
config(en_default2());
|
|
37038
37093
|
});
|
|
37039
37094
|
|
|
37040
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/index.js
|
|
37095
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/index.js
|
|
37041
37096
|
var init_classic = __esm(() => {
|
|
37042
37097
|
init_external3();
|
|
37043
37098
|
});
|
|
37044
37099
|
|
|
37045
|
-
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/index.js
|
|
37100
|
+
// ../switchroom/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/index.js
|
|
37046
37101
|
var init_v4 = __esm(() => {
|
|
37047
37102
|
init_classic();
|
|
37048
37103
|
});
|
|
37049
37104
|
|
|
37050
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
37105
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
37051
37106
|
var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema3, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode2, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
|
|
37052
37107
|
var init_types2 = __esm(() => {
|
|
37053
37108
|
init_v4();
|
|
@@ -37875,65 +37930,65 @@ var init_types2 = __esm(() => {
|
|
|
37875
37930
|
};
|
|
37876
37931
|
});
|
|
37877
37932
|
|
|
37878
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
37933
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
37879
37934
|
function isTerminal(status) {
|
|
37880
37935
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
37881
37936
|
}
|
|
37882
37937
|
|
|
37883
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
37938
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
37884
37939
|
var ignoreOverride;
|
|
37885
37940
|
var init_Options = __esm(() => {
|
|
37886
37941
|
ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
37887
37942
|
});
|
|
37888
37943
|
|
|
37889
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
37944
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
37890
37945
|
var init_Refs = __esm(() => {
|
|
37891
37946
|
init_Options();
|
|
37892
37947
|
});
|
|
37893
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
37948
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
37894
37949
|
var init_any = () => {};
|
|
37895
37950
|
|
|
37896
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
37951
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
37897
37952
|
var init_array = __esm(() => {
|
|
37898
37953
|
init_parseDef();
|
|
37899
37954
|
});
|
|
37900
37955
|
|
|
37901
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
37956
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
37902
37957
|
var init_bigint = () => {};
|
|
37903
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
37958
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
37904
37959
|
var init_branded = __esm(() => {
|
|
37905
37960
|
init_parseDef();
|
|
37906
37961
|
});
|
|
37907
37962
|
|
|
37908
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
37963
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
37909
37964
|
var init_catch = __esm(() => {
|
|
37910
37965
|
init_parseDef();
|
|
37911
37966
|
});
|
|
37912
37967
|
|
|
37913
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
37968
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
37914
37969
|
var init_date = () => {};
|
|
37915
37970
|
|
|
37916
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
37971
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
37917
37972
|
var init_default = __esm(() => {
|
|
37918
37973
|
init_parseDef();
|
|
37919
37974
|
});
|
|
37920
37975
|
|
|
37921
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
37976
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
37922
37977
|
var init_effects = __esm(() => {
|
|
37923
37978
|
init_parseDef();
|
|
37924
37979
|
init_any();
|
|
37925
37980
|
});
|
|
37926
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
37981
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
37927
37982
|
var init_intersection = __esm(() => {
|
|
37928
37983
|
init_parseDef();
|
|
37929
37984
|
});
|
|
37930
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
37985
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
37931
37986
|
var ALPHA_NUMERIC;
|
|
37932
37987
|
var init_string = __esm(() => {
|
|
37933
37988
|
ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
37934
37989
|
});
|
|
37935
37990
|
|
|
37936
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
37991
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
37937
37992
|
var init_record = __esm(() => {
|
|
37938
37993
|
init_parseDef();
|
|
37939
37994
|
init_string();
|
|
@@ -37941,77 +37996,77 @@ var init_record = __esm(() => {
|
|
|
37941
37996
|
init_any();
|
|
37942
37997
|
});
|
|
37943
37998
|
|
|
37944
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
37999
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
37945
38000
|
var init_map = __esm(() => {
|
|
37946
38001
|
init_parseDef();
|
|
37947
38002
|
init_record();
|
|
37948
38003
|
init_any();
|
|
37949
38004
|
});
|
|
37950
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
38005
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
37951
38006
|
var init_never = __esm(() => {
|
|
37952
38007
|
init_any();
|
|
37953
38008
|
});
|
|
37954
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
38009
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
37955
38010
|
var init_union = __esm(() => {
|
|
37956
38011
|
init_parseDef();
|
|
37957
38012
|
});
|
|
37958
38013
|
|
|
37959
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
38014
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
37960
38015
|
var init_nullable = __esm(() => {
|
|
37961
38016
|
init_parseDef();
|
|
37962
38017
|
init_union();
|
|
37963
38018
|
});
|
|
37964
38019
|
|
|
37965
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
38020
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
37966
38021
|
var init_number = () => {};
|
|
37967
38022
|
|
|
37968
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
38023
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
37969
38024
|
var init_object = __esm(() => {
|
|
37970
38025
|
init_parseDef();
|
|
37971
38026
|
});
|
|
37972
38027
|
|
|
37973
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
38028
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
37974
38029
|
var init_optional = __esm(() => {
|
|
37975
38030
|
init_parseDef();
|
|
37976
38031
|
init_any();
|
|
37977
38032
|
});
|
|
37978
38033
|
|
|
37979
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
38034
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
37980
38035
|
var init_pipeline = __esm(() => {
|
|
37981
38036
|
init_parseDef();
|
|
37982
38037
|
});
|
|
37983
38038
|
|
|
37984
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
38039
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
37985
38040
|
var init_promise = __esm(() => {
|
|
37986
38041
|
init_parseDef();
|
|
37987
38042
|
});
|
|
37988
38043
|
|
|
37989
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
38044
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
37990
38045
|
var init_set = __esm(() => {
|
|
37991
38046
|
init_parseDef();
|
|
37992
38047
|
});
|
|
37993
38048
|
|
|
37994
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
38049
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
37995
38050
|
var init_tuple = __esm(() => {
|
|
37996
38051
|
init_parseDef();
|
|
37997
38052
|
});
|
|
37998
38053
|
|
|
37999
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
38054
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
38000
38055
|
var init_undefined = __esm(() => {
|
|
38001
38056
|
init_any();
|
|
38002
38057
|
});
|
|
38003
38058
|
|
|
38004
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
38059
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
38005
38060
|
var init_unknown = __esm(() => {
|
|
38006
38061
|
init_any();
|
|
38007
38062
|
});
|
|
38008
38063
|
|
|
38009
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
38064
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
38010
38065
|
var init_readonly = __esm(() => {
|
|
38011
38066
|
init_parseDef();
|
|
38012
38067
|
});
|
|
38013
38068
|
|
|
38014
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
38069
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
38015
38070
|
var init_selectParser = __esm(() => {
|
|
38016
38071
|
init_any();
|
|
38017
38072
|
init_array();
|
|
@@ -38040,24 +38095,24 @@ var init_selectParser = __esm(() => {
|
|
|
38040
38095
|
init_readonly();
|
|
38041
38096
|
});
|
|
38042
38097
|
|
|
38043
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
38098
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
38044
38099
|
var init_parseDef = __esm(() => {
|
|
38045
38100
|
init_Options();
|
|
38046
38101
|
init_selectParser();
|
|
38047
38102
|
init_any();
|
|
38048
38103
|
});
|
|
38049
38104
|
|
|
38050
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
|
|
38105
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
|
|
38051
38106
|
var init_parseTypes = () => {};
|
|
38052
38107
|
|
|
38053
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
38108
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
38054
38109
|
var init_zodToJsonSchema = __esm(() => {
|
|
38055
38110
|
init_parseDef();
|
|
38056
38111
|
init_Refs();
|
|
38057
38112
|
init_any();
|
|
38058
38113
|
});
|
|
38059
38114
|
|
|
38060
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/index.js
|
|
38115
|
+
// ../switchroom/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/index.js
|
|
38061
38116
|
var init_esm = __esm(() => {
|
|
38062
38117
|
init_zodToJsonSchema();
|
|
38063
38118
|
init_Options();
|
|
@@ -38093,7 +38148,7 @@ var init_esm = __esm(() => {
|
|
|
38093
38148
|
init_zodToJsonSchema();
|
|
38094
38149
|
});
|
|
38095
38150
|
|
|
38096
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
38151
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
38097
38152
|
function getMethodLiteral(schema) {
|
|
38098
38153
|
const shape = getObjectShape(schema);
|
|
38099
38154
|
const methodSchema = shape?.method;
|
|
@@ -38118,7 +38173,7 @@ var init_zod_json_schema_compat = __esm(() => {
|
|
|
38118
38173
|
init_esm();
|
|
38119
38174
|
});
|
|
38120
38175
|
|
|
38121
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
38176
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
38122
38177
|
class Protocol {
|
|
38123
38178
|
constructor(_options) {
|
|
38124
38179
|
this._options = _options;
|
|
@@ -38963,7 +39018,7 @@ var init_protocol3 = __esm(() => {
|
|
|
38963
39018
|
init_zod_json_schema_compat();
|
|
38964
39019
|
});
|
|
38965
39020
|
|
|
38966
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
39021
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
38967
39022
|
var require_code = __commonJS((exports2) => {
|
|
38968
39023
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38969
39024
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = undefined;
|
|
@@ -39117,7 +39172,7 @@ var require_code = __commonJS((exports2) => {
|
|
|
39117
39172
|
exports2.regexpCode = regexpCode;
|
|
39118
39173
|
});
|
|
39119
39174
|
|
|
39120
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
39175
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
39121
39176
|
var require_scope = __commonJS((exports2) => {
|
|
39122
39177
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
39123
39178
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = undefined;
|
|
@@ -39263,7 +39318,7 @@ var require_scope = __commonJS((exports2) => {
|
|
|
39263
39318
|
exports2.ValueScope = ValueScope;
|
|
39264
39319
|
});
|
|
39265
39320
|
|
|
39266
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
39321
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
39267
39322
|
var require_codegen = __commonJS((exports2) => {
|
|
39268
39323
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
39269
39324
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = undefined;
|
|
@@ -39973,7 +40028,7 @@ var require_codegen = __commonJS((exports2) => {
|
|
|
39973
40028
|
}
|
|
39974
40029
|
});
|
|
39975
40030
|
|
|
39976
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
40031
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
39977
40032
|
var require_util2 = __commonJS((exports2) => {
|
|
39978
40033
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
39979
40034
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = undefined;
|
|
@@ -40137,7 +40192,7 @@ var require_util2 = __commonJS((exports2) => {
|
|
|
40137
40192
|
exports2.checkStrictMode = checkStrictMode;
|
|
40138
40193
|
});
|
|
40139
40194
|
|
|
40140
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
40195
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
40141
40196
|
var require_names = __commonJS((exports2) => {
|
|
40142
40197
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40143
40198
|
var codegen_1 = require_codegen();
|
|
@@ -40162,7 +40217,7 @@ var require_names = __commonJS((exports2) => {
|
|
|
40162
40217
|
exports2.default = names;
|
|
40163
40218
|
});
|
|
40164
40219
|
|
|
40165
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
40220
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
40166
40221
|
var require_errors2 = __commonJS((exports2) => {
|
|
40167
40222
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40168
40223
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = undefined;
|
|
@@ -40280,7 +40335,7 @@ var require_errors2 = __commonJS((exports2) => {
|
|
|
40280
40335
|
}
|
|
40281
40336
|
});
|
|
40282
40337
|
|
|
40283
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
40338
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
40284
40339
|
var require_boolSchema = __commonJS((exports2) => {
|
|
40285
40340
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40286
40341
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = undefined;
|
|
@@ -40328,7 +40383,7 @@ var require_boolSchema = __commonJS((exports2) => {
|
|
|
40328
40383
|
}
|
|
40329
40384
|
});
|
|
40330
40385
|
|
|
40331
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
40386
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
40332
40387
|
var require_rules = __commonJS((exports2) => {
|
|
40333
40388
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40334
40389
|
exports2.getRules = exports2.isJSONType = undefined;
|
|
@@ -40356,7 +40411,7 @@ var require_rules = __commonJS((exports2) => {
|
|
|
40356
40411
|
exports2.getRules = getRules;
|
|
40357
40412
|
});
|
|
40358
40413
|
|
|
40359
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
40414
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
40360
40415
|
var require_applicability = __commonJS((exports2) => {
|
|
40361
40416
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40362
40417
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = undefined;
|
|
@@ -40376,7 +40431,7 @@ var require_applicability = __commonJS((exports2) => {
|
|
|
40376
40431
|
exports2.shouldUseRule = shouldUseRule;
|
|
40377
40432
|
});
|
|
40378
40433
|
|
|
40379
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
40434
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
40380
40435
|
var require_dataType = __commonJS((exports2) => {
|
|
40381
40436
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40382
40437
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = undefined;
|
|
@@ -40557,7 +40612,7 @@ var require_dataType = __commonJS((exports2) => {
|
|
|
40557
40612
|
}
|
|
40558
40613
|
});
|
|
40559
40614
|
|
|
40560
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
40615
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
40561
40616
|
var require_defaults = __commonJS((exports2) => {
|
|
40562
40617
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40563
40618
|
exports2.assignDefaults = undefined;
|
|
@@ -40591,7 +40646,7 @@ var require_defaults = __commonJS((exports2) => {
|
|
|
40591
40646
|
}
|
|
40592
40647
|
});
|
|
40593
40648
|
|
|
40594
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
40649
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
40595
40650
|
var require_code2 = __commonJS((exports2) => {
|
|
40596
40651
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40597
40652
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = undefined;
|
|
@@ -40720,7 +40775,7 @@ var require_code2 = __commonJS((exports2) => {
|
|
|
40720
40775
|
exports2.validateUnion = validateUnion;
|
|
40721
40776
|
});
|
|
40722
40777
|
|
|
40723
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
40778
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
40724
40779
|
var require_keyword = __commonJS((exports2) => {
|
|
40725
40780
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40726
40781
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = undefined;
|
|
@@ -40835,7 +40890,7 @@ var require_keyword = __commonJS((exports2) => {
|
|
|
40835
40890
|
exports2.validateKeywordUsage = validateKeywordUsage;
|
|
40836
40891
|
});
|
|
40837
40892
|
|
|
40838
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
40893
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
40839
40894
|
var require_subschema = __commonJS((exports2) => {
|
|
40840
40895
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40841
40896
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = undefined;
|
|
@@ -40915,7 +40970,7 @@ var require_subschema = __commonJS((exports2) => {
|
|
|
40915
40970
|
exports2.extendSubschemaMode = extendSubschemaMode;
|
|
40916
40971
|
});
|
|
40917
40972
|
|
|
40918
|
-
// node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
40973
|
+
// ../switchroom/node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
40919
40974
|
var require_fast_deep_equal = __commonJS((exports2, module) => {
|
|
40920
40975
|
module.exports = function equal(a, b) {
|
|
40921
40976
|
if (a === b)
|
|
@@ -40957,7 +41012,7 @@ var require_fast_deep_equal = __commonJS((exports2, module) => {
|
|
|
40957
41012
|
};
|
|
40958
41013
|
});
|
|
40959
41014
|
|
|
40960
|
-
// node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
41015
|
+
// ../switchroom/node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
40961
41016
|
var require_json_schema_traverse = __commonJS((exports2, module) => {
|
|
40962
41017
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
40963
41018
|
if (typeof opts == "function") {
|
|
@@ -41040,7 +41095,7 @@ var require_json_schema_traverse = __commonJS((exports2, module) => {
|
|
|
41040
41095
|
}
|
|
41041
41096
|
});
|
|
41042
41097
|
|
|
41043
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
41098
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
41044
41099
|
var require_resolve = __commonJS((exports2) => {
|
|
41045
41100
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41046
41101
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = undefined;
|
|
@@ -41193,7 +41248,7 @@ var require_resolve = __commonJS((exports2) => {
|
|
|
41193
41248
|
exports2.getSchemaRefs = getSchemaRefs;
|
|
41194
41249
|
});
|
|
41195
41250
|
|
|
41196
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
41251
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
41197
41252
|
var require_validate = __commonJS((exports2) => {
|
|
41198
41253
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41199
41254
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = undefined;
|
|
@@ -41698,7 +41753,7 @@ var require_validate = __commonJS((exports2) => {
|
|
|
41698
41753
|
exports2.getData = getData;
|
|
41699
41754
|
});
|
|
41700
41755
|
|
|
41701
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
41756
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
41702
41757
|
var require_validation_error = __commonJS((exports2) => {
|
|
41703
41758
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41704
41759
|
|
|
@@ -41712,7 +41767,7 @@ var require_validation_error = __commonJS((exports2) => {
|
|
|
41712
41767
|
exports2.default = ValidationError;
|
|
41713
41768
|
});
|
|
41714
41769
|
|
|
41715
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
41770
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
41716
41771
|
var require_ref_error = __commonJS((exports2) => {
|
|
41717
41772
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41718
41773
|
var resolve_1 = require_resolve();
|
|
@@ -41727,7 +41782,7 @@ var require_ref_error = __commonJS((exports2) => {
|
|
|
41727
41782
|
exports2.default = MissingRefError;
|
|
41728
41783
|
});
|
|
41729
41784
|
|
|
41730
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
41785
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
41731
41786
|
var require_compile = __commonJS((exports2) => {
|
|
41732
41787
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41733
41788
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = undefined;
|
|
@@ -41948,7 +42003,7 @@ var require_compile = __commonJS((exports2) => {
|
|
|
41948
42003
|
}
|
|
41949
42004
|
});
|
|
41950
42005
|
|
|
41951
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
42006
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
41952
42007
|
var require_data = __commonJS((exports2, module) => {
|
|
41953
42008
|
module.exports = {
|
|
41954
42009
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
@@ -41965,7 +42020,7 @@ var require_data = __commonJS((exports2, module) => {
|
|
|
41965
42020
|
};
|
|
41966
42021
|
});
|
|
41967
42022
|
|
|
41968
|
-
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
42023
|
+
// ../switchroom/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
41969
42024
|
var require_utils2 = __commonJS((exports2, module) => {
|
|
41970
42025
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
41971
42026
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -42220,7 +42275,7 @@ var require_utils2 = __commonJS((exports2, module) => {
|
|
|
42220
42275
|
};
|
|
42221
42276
|
});
|
|
42222
42277
|
|
|
42223
|
-
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
42278
|
+
// ../switchroom/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
42224
42279
|
var require_schemes = __commonJS((exports2, module) => {
|
|
42225
42280
|
var { isUUID } = require_utils2();
|
|
42226
42281
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -42394,7 +42449,7 @@ var require_schemes = __commonJS((exports2, module) => {
|
|
|
42394
42449
|
};
|
|
42395
42450
|
});
|
|
42396
42451
|
|
|
42397
|
-
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
42452
|
+
// ../switchroom/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
42398
42453
|
var require_fast_uri = __commonJS((exports2, module) => {
|
|
42399
42454
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils2();
|
|
42400
42455
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -42645,7 +42700,7 @@ var require_fast_uri = __commonJS((exports2, module) => {
|
|
|
42645
42700
|
module.exports.fastUri = fastUri;
|
|
42646
42701
|
});
|
|
42647
42702
|
|
|
42648
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
42703
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
42649
42704
|
var require_uri = __commonJS((exports2) => {
|
|
42650
42705
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
42651
42706
|
var uri = require_fast_uri();
|
|
@@ -42653,7 +42708,7 @@ var require_uri = __commonJS((exports2) => {
|
|
|
42653
42708
|
exports2.default = uri;
|
|
42654
42709
|
});
|
|
42655
42710
|
|
|
42656
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
42711
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
42657
42712
|
var require_core = __commonJS((exports2) => {
|
|
42658
42713
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
42659
42714
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = undefined;
|
|
@@ -43246,7 +43301,7 @@ var require_core = __commonJS((exports2) => {
|
|
|
43246
43301
|
}
|
|
43247
43302
|
});
|
|
43248
43303
|
|
|
43249
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
43304
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
43250
43305
|
var require_id = __commonJS((exports2) => {
|
|
43251
43306
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43252
43307
|
var def = {
|
|
@@ -43258,7 +43313,7 @@ var require_id = __commonJS((exports2) => {
|
|
|
43258
43313
|
exports2.default = def;
|
|
43259
43314
|
});
|
|
43260
43315
|
|
|
43261
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
43316
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
43262
43317
|
var require_ref = __commonJS((exports2) => {
|
|
43263
43318
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43264
43319
|
exports2.callRef = exports2.getValidate = undefined;
|
|
@@ -43377,7 +43432,7 @@ var require_ref = __commonJS((exports2) => {
|
|
|
43377
43432
|
exports2.default = def;
|
|
43378
43433
|
});
|
|
43379
43434
|
|
|
43380
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
43435
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
43381
43436
|
var require_core2 = __commonJS((exports2) => {
|
|
43382
43437
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43383
43438
|
var id_1 = require_id();
|
|
@@ -43395,7 +43450,7 @@ var require_core2 = __commonJS((exports2) => {
|
|
|
43395
43450
|
exports2.default = core2;
|
|
43396
43451
|
});
|
|
43397
43452
|
|
|
43398
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
43453
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
43399
43454
|
var require_limitNumber = __commonJS((exports2) => {
|
|
43400
43455
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43401
43456
|
var codegen_1 = require_codegen();
|
|
@@ -43424,7 +43479,7 @@ var require_limitNumber = __commonJS((exports2) => {
|
|
|
43424
43479
|
exports2.default = def;
|
|
43425
43480
|
});
|
|
43426
43481
|
|
|
43427
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
43482
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
43428
43483
|
var require_multipleOf = __commonJS((exports2) => {
|
|
43429
43484
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43430
43485
|
var codegen_1 = require_codegen();
|
|
@@ -43449,7 +43504,7 @@ var require_multipleOf = __commonJS((exports2) => {
|
|
|
43449
43504
|
exports2.default = def;
|
|
43450
43505
|
});
|
|
43451
43506
|
|
|
43452
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
43507
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
43453
43508
|
var require_ucs2length = __commonJS((exports2) => {
|
|
43454
43509
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43455
43510
|
function ucs2length(str) {
|
|
@@ -43472,7 +43527,7 @@ var require_ucs2length = __commonJS((exports2) => {
|
|
|
43472
43527
|
ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
43473
43528
|
});
|
|
43474
43529
|
|
|
43475
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
43530
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
43476
43531
|
var require_limitLength = __commonJS((exports2) => {
|
|
43477
43532
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43478
43533
|
var codegen_1 = require_codegen();
|
|
@@ -43501,7 +43556,7 @@ var require_limitLength = __commonJS((exports2) => {
|
|
|
43501
43556
|
exports2.default = def;
|
|
43502
43557
|
});
|
|
43503
43558
|
|
|
43504
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
43559
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
43505
43560
|
var require_pattern = __commonJS((exports2) => {
|
|
43506
43561
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43507
43562
|
var code_1 = require_code2();
|
|
@@ -43535,7 +43590,7 @@ var require_pattern = __commonJS((exports2) => {
|
|
|
43535
43590
|
exports2.default = def;
|
|
43536
43591
|
});
|
|
43537
43592
|
|
|
43538
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
43593
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
43539
43594
|
var require_limitProperties = __commonJS((exports2) => {
|
|
43540
43595
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43541
43596
|
var codegen_1 = require_codegen();
|
|
@@ -43561,7 +43616,7 @@ var require_limitProperties = __commonJS((exports2) => {
|
|
|
43561
43616
|
exports2.default = def;
|
|
43562
43617
|
});
|
|
43563
43618
|
|
|
43564
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
43619
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
43565
43620
|
var require_required = __commonJS((exports2) => {
|
|
43566
43621
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43567
43622
|
var code_1 = require_code2();
|
|
@@ -43640,7 +43695,7 @@ var require_required = __commonJS((exports2) => {
|
|
|
43640
43695
|
exports2.default = def;
|
|
43641
43696
|
});
|
|
43642
43697
|
|
|
43643
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
43698
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
43644
43699
|
var require_limitItems = __commonJS((exports2) => {
|
|
43645
43700
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43646
43701
|
var codegen_1 = require_codegen();
|
|
@@ -43666,7 +43721,7 @@ var require_limitItems = __commonJS((exports2) => {
|
|
|
43666
43721
|
exports2.default = def;
|
|
43667
43722
|
});
|
|
43668
43723
|
|
|
43669
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
43724
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
43670
43725
|
var require_equal = __commonJS((exports2) => {
|
|
43671
43726
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43672
43727
|
var equal = require_fast_deep_equal();
|
|
@@ -43674,7 +43729,7 @@ var require_equal = __commonJS((exports2) => {
|
|
|
43674
43729
|
exports2.default = equal;
|
|
43675
43730
|
});
|
|
43676
43731
|
|
|
43677
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
43732
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
43678
43733
|
var require_uniqueItems = __commonJS((exports2) => {
|
|
43679
43734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43680
43735
|
var dataType_1 = require_dataType();
|
|
@@ -43738,7 +43793,7 @@ var require_uniqueItems = __commonJS((exports2) => {
|
|
|
43738
43793
|
exports2.default = def;
|
|
43739
43794
|
});
|
|
43740
43795
|
|
|
43741
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
43796
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
43742
43797
|
var require_const = __commonJS((exports2) => {
|
|
43743
43798
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43744
43799
|
var codegen_1 = require_codegen();
|
|
@@ -43764,7 +43819,7 @@ var require_const = __commonJS((exports2) => {
|
|
|
43764
43819
|
exports2.default = def;
|
|
43765
43820
|
});
|
|
43766
43821
|
|
|
43767
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
43822
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
43768
43823
|
var require_enum = __commonJS((exports2) => {
|
|
43769
43824
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43770
43825
|
var codegen_1 = require_codegen();
|
|
@@ -43810,7 +43865,7 @@ var require_enum = __commonJS((exports2) => {
|
|
|
43810
43865
|
exports2.default = def;
|
|
43811
43866
|
});
|
|
43812
43867
|
|
|
43813
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
43868
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
43814
43869
|
var require_validation = __commonJS((exports2) => {
|
|
43815
43870
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43816
43871
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -43840,7 +43895,7 @@ var require_validation = __commonJS((exports2) => {
|
|
|
43840
43895
|
exports2.default = validation;
|
|
43841
43896
|
});
|
|
43842
43897
|
|
|
43843
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
43898
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
43844
43899
|
var require_additionalItems = __commonJS((exports2) => {
|
|
43845
43900
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43846
43901
|
exports2.validateAdditionalItems = undefined;
|
|
@@ -43890,7 +43945,7 @@ var require_additionalItems = __commonJS((exports2) => {
|
|
|
43890
43945
|
exports2.default = def;
|
|
43891
43946
|
});
|
|
43892
43947
|
|
|
43893
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
43948
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
43894
43949
|
var require_items = __commonJS((exports2) => {
|
|
43895
43950
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43896
43951
|
exports2.validateTuple = undefined;
|
|
@@ -43944,7 +43999,7 @@ var require_items = __commonJS((exports2) => {
|
|
|
43944
43999
|
exports2.default = def;
|
|
43945
44000
|
});
|
|
43946
44001
|
|
|
43947
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
44002
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
43948
44003
|
var require_prefixItems = __commonJS((exports2) => {
|
|
43949
44004
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43950
44005
|
var items_1 = require_items();
|
|
@@ -43958,7 +44013,7 @@ var require_prefixItems = __commonJS((exports2) => {
|
|
|
43958
44013
|
exports2.default = def;
|
|
43959
44014
|
});
|
|
43960
44015
|
|
|
43961
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
44016
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
43962
44017
|
var require_items2020 = __commonJS((exports2) => {
|
|
43963
44018
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43964
44019
|
var codegen_1 = require_codegen();
|
|
@@ -43990,7 +44045,7 @@ var require_items2020 = __commonJS((exports2) => {
|
|
|
43990
44045
|
exports2.default = def;
|
|
43991
44046
|
});
|
|
43992
44047
|
|
|
43993
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
44048
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
43994
44049
|
var require_contains = __commonJS((exports2) => {
|
|
43995
44050
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43996
44051
|
var codegen_1 = require_codegen();
|
|
@@ -44081,7 +44136,7 @@ var require_contains = __commonJS((exports2) => {
|
|
|
44081
44136
|
exports2.default = def;
|
|
44082
44137
|
});
|
|
44083
44138
|
|
|
44084
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
44139
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
44085
44140
|
var require_dependencies = __commonJS((exports2) => {
|
|
44086
44141
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44087
44142
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = undefined;
|
|
@@ -44166,7 +44221,7 @@ var require_dependencies = __commonJS((exports2) => {
|
|
|
44166
44221
|
exports2.default = def;
|
|
44167
44222
|
});
|
|
44168
44223
|
|
|
44169
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
44224
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
44170
44225
|
var require_propertyNames = __commonJS((exports2) => {
|
|
44171
44226
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44172
44227
|
var codegen_1 = require_codegen();
|
|
@@ -44206,7 +44261,7 @@ var require_propertyNames = __commonJS((exports2) => {
|
|
|
44206
44261
|
exports2.default = def;
|
|
44207
44262
|
});
|
|
44208
44263
|
|
|
44209
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
44264
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
44210
44265
|
var require_additionalProperties = __commonJS((exports2) => {
|
|
44211
44266
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44212
44267
|
var code_1 = require_code2();
|
|
@@ -44309,7 +44364,7 @@ var require_additionalProperties = __commonJS((exports2) => {
|
|
|
44309
44364
|
exports2.default = def;
|
|
44310
44365
|
});
|
|
44311
44366
|
|
|
44312
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
44367
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
44313
44368
|
var require_properties = __commonJS((exports2) => {
|
|
44314
44369
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44315
44370
|
var validate_1 = require_validate();
|
|
@@ -44364,7 +44419,7 @@ var require_properties = __commonJS((exports2) => {
|
|
|
44364
44419
|
exports2.default = def;
|
|
44365
44420
|
});
|
|
44366
44421
|
|
|
44367
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
44422
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
44368
44423
|
var require_patternProperties = __commonJS((exports2) => {
|
|
44369
44424
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44370
44425
|
var code_1 = require_code2();
|
|
@@ -44435,7 +44490,7 @@ var require_patternProperties = __commonJS((exports2) => {
|
|
|
44435
44490
|
exports2.default = def;
|
|
44436
44491
|
});
|
|
44437
44492
|
|
|
44438
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
44493
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
44439
44494
|
var require_not = __commonJS((exports2) => {
|
|
44440
44495
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44441
44496
|
var util_1 = require_util2();
|
|
@@ -44463,7 +44518,7 @@ var require_not = __commonJS((exports2) => {
|
|
|
44463
44518
|
exports2.default = def;
|
|
44464
44519
|
});
|
|
44465
44520
|
|
|
44466
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
44521
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
44467
44522
|
var require_anyOf = __commonJS((exports2) => {
|
|
44468
44523
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44469
44524
|
var code_1 = require_code2();
|
|
@@ -44477,7 +44532,7 @@ var require_anyOf = __commonJS((exports2) => {
|
|
|
44477
44532
|
exports2.default = def;
|
|
44478
44533
|
});
|
|
44479
44534
|
|
|
44480
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
44535
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
44481
44536
|
var require_oneOf = __commonJS((exports2) => {
|
|
44482
44537
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44483
44538
|
var codegen_1 = require_codegen();
|
|
@@ -44532,7 +44587,7 @@ var require_oneOf = __commonJS((exports2) => {
|
|
|
44532
44587
|
exports2.default = def;
|
|
44533
44588
|
});
|
|
44534
44589
|
|
|
44535
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
44590
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
44536
44591
|
var require_allOf = __commonJS((exports2) => {
|
|
44537
44592
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44538
44593
|
var util_1 = require_util2();
|
|
@@ -44556,7 +44611,7 @@ var require_allOf = __commonJS((exports2) => {
|
|
|
44556
44611
|
exports2.default = def;
|
|
44557
44612
|
});
|
|
44558
44613
|
|
|
44559
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
44614
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
44560
44615
|
var require_if2 = __commonJS((exports2) => {
|
|
44561
44616
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44562
44617
|
var codegen_1 = require_codegen();
|
|
@@ -44622,7 +44677,7 @@ var require_if2 = __commonJS((exports2) => {
|
|
|
44622
44677
|
exports2.default = def;
|
|
44623
44678
|
});
|
|
44624
44679
|
|
|
44625
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
44680
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
44626
44681
|
var require_thenElse = __commonJS((exports2) => {
|
|
44627
44682
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44628
44683
|
var util_1 = require_util2();
|
|
@@ -44637,7 +44692,7 @@ var require_thenElse = __commonJS((exports2) => {
|
|
|
44637
44692
|
exports2.default = def;
|
|
44638
44693
|
});
|
|
44639
44694
|
|
|
44640
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
44695
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
44641
44696
|
var require_applicator = __commonJS((exports2) => {
|
|
44642
44697
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44643
44698
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -44680,7 +44735,7 @@ var require_applicator = __commonJS((exports2) => {
|
|
|
44680
44735
|
exports2.default = getApplicator;
|
|
44681
44736
|
});
|
|
44682
44737
|
|
|
44683
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
44738
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
44684
44739
|
var require_format = __commonJS((exports2) => {
|
|
44685
44740
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44686
44741
|
var codegen_1 = require_codegen();
|
|
@@ -44767,7 +44822,7 @@ var require_format = __commonJS((exports2) => {
|
|
|
44767
44822
|
exports2.default = def;
|
|
44768
44823
|
});
|
|
44769
44824
|
|
|
44770
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
44825
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
44771
44826
|
var require_format2 = __commonJS((exports2) => {
|
|
44772
44827
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44773
44828
|
var format_1 = require_format();
|
|
@@ -44775,7 +44830,7 @@ var require_format2 = __commonJS((exports2) => {
|
|
|
44775
44830
|
exports2.default = format;
|
|
44776
44831
|
});
|
|
44777
44832
|
|
|
44778
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
44833
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
44779
44834
|
var require_metadata = __commonJS((exports2) => {
|
|
44780
44835
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44781
44836
|
exports2.contentVocabulary = exports2.metadataVocabulary = undefined;
|
|
@@ -44795,7 +44850,7 @@ var require_metadata = __commonJS((exports2) => {
|
|
|
44795
44850
|
];
|
|
44796
44851
|
});
|
|
44797
44852
|
|
|
44798
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
44853
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
44799
44854
|
var require_draft7 = __commonJS((exports2) => {
|
|
44800
44855
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44801
44856
|
var core_1 = require_core2();
|
|
@@ -44814,7 +44869,7 @@ var require_draft7 = __commonJS((exports2) => {
|
|
|
44814
44869
|
exports2.default = draft7Vocabularies;
|
|
44815
44870
|
});
|
|
44816
44871
|
|
|
44817
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
44872
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
44818
44873
|
var require_types = __commonJS((exports2) => {
|
|
44819
44874
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44820
44875
|
exports2.DiscrError = undefined;
|
|
@@ -44825,7 +44880,7 @@ var require_types = __commonJS((exports2) => {
|
|
|
44825
44880
|
})(DiscrError || (exports2.DiscrError = DiscrError = {}));
|
|
44826
44881
|
});
|
|
44827
44882
|
|
|
44828
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
44883
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
44829
44884
|
var require_discriminator = __commonJS((exports2) => {
|
|
44830
44885
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44831
44886
|
var codegen_1 = require_codegen();
|
|
@@ -44927,7 +44982,7 @@ var require_discriminator = __commonJS((exports2) => {
|
|
|
44927
44982
|
exports2.default = def;
|
|
44928
44983
|
});
|
|
44929
44984
|
|
|
44930
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
44985
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
44931
44986
|
var require_json_schema_draft_07 = __commonJS((exports2, module) => {
|
|
44932
44987
|
module.exports = {
|
|
44933
44988
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
@@ -45082,7 +45137,7 @@ var require_json_schema_draft_07 = __commonJS((exports2, module) => {
|
|
|
45082
45137
|
};
|
|
45083
45138
|
});
|
|
45084
45139
|
|
|
45085
|
-
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
45140
|
+
// ../switchroom/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
45086
45141
|
var require_ajv = __commonJS((exports2, module) => {
|
|
45087
45142
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45088
45143
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = undefined;
|
|
@@ -45150,7 +45205,7 @@ var require_ajv = __commonJS((exports2, module) => {
|
|
|
45150
45205
|
} });
|
|
45151
45206
|
});
|
|
45152
45207
|
|
|
45153
|
-
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
45208
|
+
// ../switchroom/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
45154
45209
|
var require_formats = __commonJS((exports2) => {
|
|
45155
45210
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45156
45211
|
exports2.formatNames = exports2.fastFormats = exports2.fullFormats = undefined;
|
|
@@ -45327,7 +45382,7 @@ var require_formats = __commonJS((exports2) => {
|
|
|
45327
45382
|
}
|
|
45328
45383
|
});
|
|
45329
45384
|
|
|
45330
|
-
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
45385
|
+
// ../switchroom/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
45331
45386
|
var require_limit = __commonJS((exports2) => {
|
|
45332
45387
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45333
45388
|
exports2.formatLimitDefinition = undefined;
|
|
@@ -45396,7 +45451,7 @@ var require_limit = __commonJS((exports2) => {
|
|
|
45396
45451
|
exports2.default = formatLimitPlugin;
|
|
45397
45452
|
});
|
|
45398
45453
|
|
|
45399
|
-
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
45454
|
+
// ../switchroom/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
45400
45455
|
var require_dist2 = __commonJS((exports2, module) => {
|
|
45401
45456
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45402
45457
|
var formats_1 = require_formats();
|
|
@@ -45435,7 +45490,7 @@ var require_dist2 = __commonJS((exports2, module) => {
|
|
|
45435
45490
|
exports2.default = formatsPlugin;
|
|
45436
45491
|
});
|
|
45437
45492
|
|
|
45438
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
45493
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
45439
45494
|
function createDefaultAjvInstance() {
|
|
45440
45495
|
const ajv = new import_ajv.default({
|
|
45441
45496
|
strict: false,
|
|
@@ -45478,7 +45533,7 @@ var init_ajv_provider = __esm(() => {
|
|
|
45478
45533
|
import_ajv_formats = __toESM(require_dist2(), 1);
|
|
45479
45534
|
});
|
|
45480
45535
|
|
|
45481
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
45536
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
45482
45537
|
class ExperimentalServerTasks {
|
|
45483
45538
|
constructor(_server) {
|
|
45484
45539
|
this._server = _server;
|
|
@@ -45559,7 +45614,7 @@ var init_server = __esm(() => {
|
|
|
45559
45614
|
init_types2();
|
|
45560
45615
|
});
|
|
45561
45616
|
|
|
45562
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
45617
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
45563
45618
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
45564
45619
|
if (!requests) {
|
|
45565
45620
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -45594,7 +45649,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
45594
45649
|
}
|
|
45595
45650
|
}
|
|
45596
45651
|
|
|
45597
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
45652
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
45598
45653
|
var Server;
|
|
45599
45654
|
var init_server2 = __esm(() => {
|
|
45600
45655
|
init_protocol3();
|
|
@@ -45935,7 +45990,7 @@ var init_server2 = __esm(() => {
|
|
|
45935
45990
|
};
|
|
45936
45991
|
});
|
|
45937
45992
|
|
|
45938
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
45993
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
45939
45994
|
class ReadBuffer {
|
|
45940
45995
|
append(chunk2) {
|
|
45941
45996
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk2]) : chunk2;
|
|
@@ -45968,7 +46023,7 @@ var init_stdio = __esm(() => {
|
|
|
45968
46023
|
init_types2();
|
|
45969
46024
|
});
|
|
45970
46025
|
|
|
45971
|
-
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
46026
|
+
// ../switchroom/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
45972
46027
|
import process3 from "node:process";
|
|
45973
46028
|
|
|
45974
46029
|
class StdioServerTransport {
|
|
@@ -46336,7 +46391,7 @@ function decodeResponse3(line) {
|
|
|
46336
46391
|
const obj = JSON.parse(line);
|
|
46337
46392
|
return ResponseSchema3.parse(obj);
|
|
46338
46393
|
}
|
|
46339
|
-
var MAX_FRAME_BYTES3, RequestEnvelope, AgentRestartRequestSchema, UpgradeStatusRequestSchema, GetStatusRequestSchema, AgentNameSchema, UpdateCheckRequestSchema, UpdateApplyRequestSchema, ApplyRequestSchema, AgentStartRequestSchema, AgentStopRequestSchema, AgentLogsRequestSchema, AgentExecRequestSchema, RequestSchema4, ResultSchema2, ResponseEnvelope, ResponseSchema3;
|
|
46394
|
+
var MAX_FRAME_BYTES3, RequestEnvelope, AgentRestartRequestSchema, UpgradeStatusRequestSchema, GetStatusRequestSchema, AgentNameSchema, UpdateCheckRequestSchema, UpdateApplyRequestSchema, ApplyRequestSchema, AgentStartRequestSchema, AgentStopRequestSchema, AgentLogsRequestSchema, AgentExecRequestSchema, DoctorRequestSchema, RequestSchema4, ResultSchema2, ResponseEnvelope, ResponseSchema3;
|
|
46340
46395
|
var init_protocol4 = __esm(() => {
|
|
46341
46396
|
init_zod();
|
|
46342
46397
|
MAX_FRAME_BYTES3 = 64 * 1024;
|
|
@@ -46417,6 +46472,11 @@ var init_protocol4 = __esm(() => {
|
|
|
46417
46472
|
argv: exports_external.array(exports_external.string().min(1)).min(1).max(32)
|
|
46418
46473
|
})
|
|
46419
46474
|
});
|
|
46475
|
+
DoctorRequestSchema = exports_external.object({
|
|
46476
|
+
...RequestEnvelope,
|
|
46477
|
+
op: exports_external.literal("doctor"),
|
|
46478
|
+
args: exports_external.object({}).optional()
|
|
46479
|
+
});
|
|
46420
46480
|
RequestSchema4 = exports_external.discriminatedUnion("op", [
|
|
46421
46481
|
AgentRestartRequestSchema,
|
|
46422
46482
|
UpgradeStatusRequestSchema,
|
|
@@ -46427,7 +46487,8 @@ var init_protocol4 = __esm(() => {
|
|
|
46427
46487
|
AgentStartRequestSchema,
|
|
46428
46488
|
AgentStopRequestSchema,
|
|
46429
46489
|
AgentLogsRequestSchema,
|
|
46430
|
-
AgentExecRequestSchema
|
|
46490
|
+
AgentExecRequestSchema,
|
|
46491
|
+
DoctorRequestSchema
|
|
46431
46492
|
]);
|
|
46432
46493
|
ResultSchema2 = exports_external.enum(["started", "completed", "denied", "error"]);
|
|
46433
46494
|
ResponseEnvelope = {
|
|
@@ -46869,7 +46930,7 @@ var init_server4 = __esm(() => {
|
|
|
46869
46930
|
];
|
|
46870
46931
|
});
|
|
46871
46932
|
|
|
46872
|
-
// node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
|
|
46933
|
+
// ../switchroom/node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
|
|
46873
46934
|
var import__ = __toESM(require_commander(), 1);
|
|
46874
46935
|
var {
|
|
46875
46936
|
program,
|
|
@@ -46886,8 +46947,8 @@ var {
|
|
|
46886
46947
|
} = import__.default;
|
|
46887
46948
|
|
|
46888
46949
|
// src/build-info.ts
|
|
46889
|
-
var VERSION = "0.12.
|
|
46890
|
-
var COMMIT_SHA = "
|
|
46950
|
+
var VERSION = "0.12.9";
|
|
46951
|
+
var COMMIT_SHA = "3a9bc24a";
|
|
46891
46952
|
|
|
46892
46953
|
// src/cli/agent.ts
|
|
46893
46954
|
init_source();
|
|
@@ -53813,6 +53874,7 @@ init_source();
|
|
|
53813
53874
|
init_broker_call();
|
|
53814
53875
|
init_account_store();
|
|
53815
53876
|
init_loader();
|
|
53877
|
+
init_manager();
|
|
53816
53878
|
init_helpers();
|
|
53817
53879
|
import { existsSync as existsSync29, readFileSync as readFileSync25 } from "node:fs";
|
|
53818
53880
|
import { join as join22, resolve as resolve23 } from "node:path";
|
|
@@ -54948,6 +55010,43 @@ function registerAuthCommand(program3) {
|
|
|
54948
55010
|
const data = await brokerCall((client) => client.setOverride(agent, label));
|
|
54949
55011
|
console.log(source_default.green(` ${data.agent} is now pinned to ${data.account}.`));
|
|
54950
55012
|
}));
|
|
55013
|
+
auth.command("reauth <agent>").description("Start/resume an OAuth re-auth session for an agent; prints the login URL").option("--slot <label>", "Target a specific account slot/label instead of the agent's active one").option("--force", "Kill any existing session and force a fresh login (use to switch accounts)").action(withConfigError(async (agent, opts) => {
|
|
55014
|
+
const config = getConfig(program3);
|
|
55015
|
+
const agentDir = join22(resolveAgentsDir(config), agent);
|
|
55016
|
+
const r = startAuthSession(agent, agentDir, {
|
|
55017
|
+
force: opts.force,
|
|
55018
|
+
slot: opts.slot
|
|
55019
|
+
});
|
|
55020
|
+
for (const line of r.instructions)
|
|
55021
|
+
console.log(line);
|
|
55022
|
+
if (r.loginUrl && !r.instructions.some((l) => l.includes(r.loginUrl))) {
|
|
55023
|
+
console.log(r.loginUrl);
|
|
55024
|
+
}
|
|
55025
|
+
}));
|
|
55026
|
+
auth.command("code <agent> <code>").description("Submit the browser OAuth code to complete a pending `auth reauth`").option("--slot <label>", "Target a specific account slot/label").option("--json", "Emit the structured AuthCodeResult as JSON (consumed by the Telegram gateway)").action(withConfigError(async (agent, code, opts) => {
|
|
55027
|
+
const config = getConfig(program3);
|
|
55028
|
+
const agentDir = join22(resolveAgentsDir(config), agent);
|
|
55029
|
+
const r = submitAuthCode(agent, agentDir, code, opts.slot);
|
|
55030
|
+
if (opts.json) {
|
|
55031
|
+
console.log(JSON.stringify({
|
|
55032
|
+
completed: r.completed,
|
|
55033
|
+
tokenSaved: r.tokenSaved,
|
|
55034
|
+
tokenPath: r.tokenPath ?? null,
|
|
55035
|
+
outcome: r.outcome ?? null,
|
|
55036
|
+
instructions: r.instructions
|
|
55037
|
+
}));
|
|
55038
|
+
} else {
|
|
55039
|
+
for (const line of r.instructions)
|
|
55040
|
+
console.log(line);
|
|
55041
|
+
}
|
|
55042
|
+
}));
|
|
55043
|
+
auth.command("cancel <agent>").description("Cancel a pending `auth reauth` session for an agent").option("--slot <label>", "Target a specific account slot/label").action(withConfigError(async (agent, opts) => {
|
|
55044
|
+
const config = getConfig(program3);
|
|
55045
|
+
const agentDir = join22(resolveAgentsDir(config), agent);
|
|
55046
|
+
const r = cancelAuthSession(agent, agentDir, opts.slot);
|
|
55047
|
+
for (const line of r.instructions)
|
|
55048
|
+
console.log(line);
|
|
55049
|
+
}));
|
|
54951
55050
|
}
|
|
54952
55051
|
|
|
54953
55052
|
// src/cli/vault.ts
|
|
@@ -55721,7 +55820,7 @@ function createAuditLogger(opts = {}) {
|
|
|
55721
55820
|
// src/vault/grants.ts
|
|
55722
55821
|
import { randomBytes as randomBytes7 } from "node:crypto";
|
|
55723
55822
|
|
|
55724
|
-
// node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
55823
|
+
// ../switchroom/node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
55725
55824
|
import nodeCrypto from "crypto";
|
|
55726
55825
|
var randomFallback = null;
|
|
55727
55826
|
function randomBytes6(len) {
|
|
@@ -58152,6 +58251,18 @@ class VaultBroker {
|
|
|
58152
58251
|
});
|
|
58153
58252
|
});
|
|
58154
58253
|
}
|
|
58254
|
+
chownVaultToOperator() {
|
|
58255
|
+
const uidStr = process.env.SWITCHROOM_BROKER_OPERATOR_UID;
|
|
58256
|
+
if (uidStr === undefined)
|
|
58257
|
+
return;
|
|
58258
|
+
const uid = parseInt(uidStr, 10);
|
|
58259
|
+
if (!Number.isFinite(uid) || uid <= 0)
|
|
58260
|
+
return;
|
|
58261
|
+
try {
|
|
58262
|
+
if (existsSync33(this.vaultPath))
|
|
58263
|
+
chownSync(this.vaultPath, uid, uid);
|
|
58264
|
+
} catch {}
|
|
58265
|
+
}
|
|
58155
58266
|
bindOperatorListener(socketPath, operatorUid) {
|
|
58156
58267
|
const abs = resolve24(socketPath);
|
|
58157
58268
|
const identity = socketPathToIdentity(abs);
|
|
@@ -58721,6 +58832,7 @@ class VaultBroker {
|
|
|
58721
58832
|
socket.write(encodeResponse(errorResponse("INTERNAL", `Failed to persist: ${err?.message ?? "unknown"}`)));
|
|
58722
58833
|
return;
|
|
58723
58834
|
}
|
|
58835
|
+
this.chownVaultToOperator();
|
|
58724
58836
|
this.auditLogger.write({
|
|
58725
58837
|
ts: new Date().toISOString(),
|
|
58726
58838
|
op: "put",
|
|
@@ -62006,7 +62118,7 @@ function readRecentFires(jsonlPath) {
|
|
|
62006
62118
|
// src/web/api.ts
|
|
62007
62119
|
init_client3();
|
|
62008
62120
|
|
|
62009
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
62121
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
62010
62122
|
import { dirname as dirname7, posix, sep } from "path";
|
|
62011
62123
|
function createModulerModifier() {
|
|
62012
62124
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -62042,7 +62154,7 @@ function normalizeWindowsPath(path4) {
|
|
|
62042
62154
|
return path4.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
62043
62155
|
}
|
|
62044
62156
|
|
|
62045
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
62157
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
62046
62158
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
62047
62159
|
if ("flags" in flagsResponse) {
|
|
62048
62160
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -62113,7 +62225,7 @@ var parsePayload = (response) => {
|
|
|
62113
62225
|
}
|
|
62114
62226
|
};
|
|
62115
62227
|
|
|
62116
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
62228
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
62117
62229
|
function isGzipSupported() {
|
|
62118
62230
|
return "CompressionStream" in globalThis;
|
|
62119
62231
|
}
|
|
@@ -62133,7 +62245,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
62133
62245
|
}
|
|
62134
62246
|
}
|
|
62135
62247
|
|
|
62136
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
62248
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
62137
62249
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
62138
62250
|
var DIGITS = "0123456789abcdef";
|
|
62139
62251
|
|
|
@@ -62311,7 +62423,7 @@ var defaultGenerator;
|
|
|
62311
62423
|
var uuidv7 = () => uuidv7obj().toString();
|
|
62312
62424
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
62313
62425
|
|
|
62314
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
62426
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
62315
62427
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
62316
62428
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
62317
62429
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -62344,7 +62456,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
62344
62456
|
return PostHogPersistedProperty;
|
|
62345
62457
|
}({});
|
|
62346
62458
|
|
|
62347
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
62459
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
62348
62460
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
62349
62461
|
"amazonbot",
|
|
62350
62462
|
"amazonproductbot",
|
|
@@ -62433,7 +62545,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
62433
62545
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
62434
62546
|
});
|
|
62435
62547
|
};
|
|
62436
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
62548
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
62437
62549
|
var nativeIsArray = Array.isArray;
|
|
62438
62550
|
var ObjProto = Object.prototype;
|
|
62439
62551
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -62470,7 +62582,7 @@ function isInstanceOf(candidate, base) {
|
|
|
62470
62582
|
}
|
|
62471
62583
|
}
|
|
62472
62584
|
|
|
62473
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
62585
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
62474
62586
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
62475
62587
|
if (min > max) {
|
|
62476
62588
|
logger.warn("min cannot be greater than max.");
|
|
@@ -62490,7 +62602,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
62490
62602
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
62491
62603
|
}
|
|
62492
62604
|
|
|
62493
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
62605
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
62494
62606
|
var ONE_DAY_IN_MS = 86400000;
|
|
62495
62607
|
|
|
62496
62608
|
class BucketedRateLimiter {
|
|
@@ -62534,7 +62646,7 @@ class BucketedRateLimiter {
|
|
|
62534
62646
|
this._buckets = {};
|
|
62535
62647
|
}
|
|
62536
62648
|
}
|
|
62537
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
62649
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
62538
62650
|
class PromiseQueue {
|
|
62539
62651
|
add(promise) {
|
|
62540
62652
|
const promiseUUID = uuidv7();
|
|
@@ -62560,7 +62672,7 @@ class PromiseQueue {
|
|
|
62560
62672
|
this.promiseByIds = {};
|
|
62561
62673
|
}
|
|
62562
62674
|
}
|
|
62563
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
62675
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
62564
62676
|
function createConsole(consoleLike = console) {
|
|
62565
62677
|
const lockedMethods = {
|
|
62566
62678
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -62598,7 +62710,7 @@ var passThrough = (fn) => fn();
|
|
|
62598
62710
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
62599
62711
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
62600
62712
|
}
|
|
62601
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
62713
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
62602
62714
|
var MOBILE = "Mobile";
|
|
62603
62715
|
var IOS = "iOS";
|
|
62604
62716
|
var ANDROID = "Android";
|
|
@@ -62855,7 +62967,7 @@ var osMatchers = [
|
|
|
62855
62967
|
]
|
|
62856
62968
|
];
|
|
62857
62969
|
|
|
62858
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
62970
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
62859
62971
|
var STRING_FORMAT = "utf8";
|
|
62860
62972
|
function assert(truthyValue, message) {
|
|
62861
62973
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -62903,7 +63015,7 @@ function allSettled(promises) {
|
|
|
62903
63015
|
reason
|
|
62904
63016
|
}))));
|
|
62905
63017
|
}
|
|
62906
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
63018
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
62907
63019
|
class SimpleEventEmitter {
|
|
62908
63020
|
constructor() {
|
|
62909
63021
|
this.events = {};
|
|
@@ -62925,7 +63037,7 @@ class SimpleEventEmitter {
|
|
|
62925
63037
|
}
|
|
62926
63038
|
}
|
|
62927
63039
|
|
|
62928
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
63040
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
62929
63041
|
class PostHogFetchHttpError extends Error {
|
|
62930
63042
|
constructor(response, reqByteLength) {
|
|
62931
63043
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -63640,7 +63752,7 @@ class PostHogCoreStateless {
|
|
|
63640
63752
|
return this.shutdownPromise;
|
|
63641
63753
|
}
|
|
63642
63754
|
}
|
|
63643
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
63755
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
63644
63756
|
var exports_error_tracking = {};
|
|
63645
63757
|
__export(exports_error_tracking, {
|
|
63646
63758
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -63664,7 +63776,7 @@ __export(exports_error_tracking, {
|
|
|
63664
63776
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
63665
63777
|
});
|
|
63666
63778
|
|
|
63667
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
63779
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
63668
63780
|
var parsedStackResults;
|
|
63669
63781
|
var lastKeysCount;
|
|
63670
63782
|
var cachedFilenameChunkIds;
|
|
@@ -63703,7 +63815,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
63703
63815
|
return cachedFilenameChunkIds;
|
|
63704
63816
|
}
|
|
63705
63817
|
|
|
63706
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
63818
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
63707
63819
|
var MAX_CAUSE_RECURSION = 4;
|
|
63708
63820
|
|
|
63709
63821
|
class ErrorPropertiesBuilder {
|
|
@@ -63825,7 +63937,7 @@ class ErrorPropertiesBuilder {
|
|
|
63825
63937
|
return context;
|
|
63826
63938
|
}
|
|
63827
63939
|
}
|
|
63828
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
63940
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
63829
63941
|
var UNKNOWN_FUNCTION = "?";
|
|
63830
63942
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
63831
63943
|
const frame = {
|
|
@@ -63841,7 +63953,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
63841
63953
|
return frame;
|
|
63842
63954
|
}
|
|
63843
63955
|
|
|
63844
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
63956
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
63845
63957
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
63846
63958
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
63847
63959
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -63854,7 +63966,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
63854
63966
|
];
|
|
63855
63967
|
};
|
|
63856
63968
|
|
|
63857
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
63969
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
63858
63970
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
63859
63971
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
63860
63972
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -63880,7 +63992,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
63880
63992
|
}
|
|
63881
63993
|
};
|
|
63882
63994
|
|
|
63883
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
63995
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
63884
63996
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
63885
63997
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
63886
63998
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -63903,14 +64015,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
63903
64015
|
}
|
|
63904
64016
|
};
|
|
63905
64017
|
|
|
63906
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
64018
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
63907
64019
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
63908
64020
|
var winjsStackLineParser = (line, platform) => {
|
|
63909
64021
|
const parts = winjsRegex.exec(line);
|
|
63910
64022
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
63911
64023
|
};
|
|
63912
64024
|
|
|
63913
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
64025
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
63914
64026
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
63915
64027
|
var opera10StackLineParser = (line, platform) => {
|
|
63916
64028
|
const parts = opera10Regex.exec(line);
|
|
@@ -63922,7 +64034,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
63922
64034
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
63923
64035
|
};
|
|
63924
64036
|
|
|
63925
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
64037
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
63926
64038
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
63927
64039
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
63928
64040
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -63991,7 +64103,7 @@ function _parseIntOrUndefined(input) {
|
|
|
63991
64103
|
return parseInt(input || "", 10) || undefined;
|
|
63992
64104
|
}
|
|
63993
64105
|
|
|
63994
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
64106
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
63995
64107
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
63996
64108
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
63997
64109
|
function reverseAndStripFrames(stack) {
|
|
@@ -64036,7 +64148,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
64036
64148
|
return reverseAndStripFrames(frames);
|
|
64037
64149
|
};
|
|
64038
64150
|
}
|
|
64039
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
64151
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
64040
64152
|
class DOMExceptionCoercer {
|
|
64041
64153
|
match(err) {
|
|
64042
64154
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -64066,7 +64178,7 @@ class DOMExceptionCoercer {
|
|
|
64066
64178
|
return isBuiltin(err, "DOMError");
|
|
64067
64179
|
}
|
|
64068
64180
|
}
|
|
64069
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
64181
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
64070
64182
|
class ErrorCoercer {
|
|
64071
64183
|
match(err) {
|
|
64072
64184
|
return isPlainError(err);
|
|
@@ -64093,7 +64205,7 @@ class ErrorCoercer {
|
|
|
64093
64205
|
return err.stacktrace || err.stack || undefined;
|
|
64094
64206
|
}
|
|
64095
64207
|
}
|
|
64096
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
64208
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
64097
64209
|
class ErrorEventCoercer {
|
|
64098
64210
|
constructor() {}
|
|
64099
64211
|
match(err) {
|
|
@@ -64111,7 +64223,7 @@ class ErrorEventCoercer {
|
|
|
64111
64223
|
return exceptionLike;
|
|
64112
64224
|
}
|
|
64113
64225
|
}
|
|
64114
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
64226
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
64115
64227
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
64116
64228
|
|
|
64117
64229
|
class StringCoercer {
|
|
@@ -64141,7 +64253,7 @@ class StringCoercer {
|
|
|
64141
64253
|
];
|
|
64142
64254
|
}
|
|
64143
64255
|
}
|
|
64144
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
64256
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
64145
64257
|
var severityLevels = [
|
|
64146
64258
|
"fatal",
|
|
64147
64259
|
"error",
|
|
@@ -64151,7 +64263,7 @@ var severityLevels = [
|
|
|
64151
64263
|
"debug"
|
|
64152
64264
|
];
|
|
64153
64265
|
|
|
64154
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
64266
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
64155
64267
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
64156
64268
|
const keys = Object.keys(err);
|
|
64157
64269
|
keys.sort();
|
|
@@ -64168,7 +64280,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
64168
64280
|
return "";
|
|
64169
64281
|
}
|
|
64170
64282
|
|
|
64171
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
64283
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
64172
64284
|
class ObjectCoercer {
|
|
64173
64285
|
match(candidate) {
|
|
64174
64286
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -64221,7 +64333,7 @@ class ObjectCoercer {
|
|
|
64221
64333
|
}
|
|
64222
64334
|
}
|
|
64223
64335
|
}
|
|
64224
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
64336
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
64225
64337
|
class EventCoercer {
|
|
64226
64338
|
match(err) {
|
|
64227
64339
|
return isEvent(err);
|
|
@@ -64236,7 +64348,7 @@ class EventCoercer {
|
|
|
64236
64348
|
};
|
|
64237
64349
|
}
|
|
64238
64350
|
}
|
|
64239
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
64351
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
64240
64352
|
class PrimitiveCoercer {
|
|
64241
64353
|
match(candidate) {
|
|
64242
64354
|
return isPrimitive(candidate);
|
|
@@ -64250,7 +64362,7 @@ class PrimitiveCoercer {
|
|
|
64250
64362
|
};
|
|
64251
64363
|
}
|
|
64252
64364
|
}
|
|
64253
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
64365
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
64254
64366
|
class PromiseRejectionEventCoercer {
|
|
64255
64367
|
match(err) {
|
|
64256
64368
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -64286,7 +64398,7 @@ class PromiseRejectionEventCoercer {
|
|
|
64286
64398
|
return error;
|
|
64287
64399
|
}
|
|
64288
64400
|
}
|
|
64289
|
-
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
64401
|
+
// ../switchroom/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
64290
64402
|
class ReduceableCache {
|
|
64291
64403
|
constructor(_maxSize) {
|
|
64292
64404
|
this._maxSize = _maxSize;
|
|
@@ -64311,7 +64423,7 @@ class ReduceableCache {
|
|
|
64311
64423
|
}
|
|
64312
64424
|
}
|
|
64313
64425
|
}
|
|
64314
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
64426
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
64315
64427
|
import { createReadStream } from "node:fs";
|
|
64316
64428
|
import { createInterface as createInterface5 } from "node:readline";
|
|
64317
64429
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -64529,7 +64641,7 @@ function snipLine(line, colno) {
|
|
|
64529
64641
|
return newLine;
|
|
64530
64642
|
}
|
|
64531
64643
|
|
|
64532
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
64644
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
64533
64645
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
64534
64646
|
let calledFatalError = false;
|
|
64535
64647
|
return Object.assign((error) => {
|
|
@@ -64561,7 +64673,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
64561
64673
|
}));
|
|
64562
64674
|
}
|
|
64563
64675
|
|
|
64564
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
64676
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
64565
64677
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
64566
64678
|
|
|
64567
64679
|
class ErrorTracking {
|
|
@@ -64630,10 +64742,10 @@ class ErrorTracking {
|
|
|
64630
64742
|
}
|
|
64631
64743
|
}
|
|
64632
64744
|
|
|
64633
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
64745
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
64634
64746
|
var version = "5.29.2";
|
|
64635
64747
|
|
|
64636
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
64748
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
64637
64749
|
var FeatureFlagError2 = {
|
|
64638
64750
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
64639
64751
|
FLAG_MISSING: "flag_missing",
|
|
@@ -64641,7 +64753,7 @@ var FeatureFlagError2 = {
|
|
|
64641
64753
|
UNKNOWN_ERROR: "unknown_error"
|
|
64642
64754
|
};
|
|
64643
64755
|
|
|
64644
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
64756
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
64645
64757
|
async function hashSHA1(text) {
|
|
64646
64758
|
const subtle = globalThis.crypto?.subtle;
|
|
64647
64759
|
if (!subtle)
|
|
@@ -64651,7 +64763,7 @@ async function hashSHA1(text) {
|
|
|
64651
64763
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
64652
64764
|
}
|
|
64653
64765
|
|
|
64654
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
64766
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
64655
64767
|
var SIXTY_SECONDS = 60000;
|
|
64656
64768
|
var LONG_SCALE = 1152921504606847000;
|
|
64657
64769
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -65525,7 +65637,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
65525
65637
|
}
|
|
65526
65638
|
}
|
|
65527
65639
|
|
|
65528
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
65640
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
65529
65641
|
class PostHogMemoryStorage {
|
|
65530
65642
|
getProperty(key) {
|
|
65531
65643
|
return this._memoryStorage[key];
|
|
@@ -65538,7 +65650,7 @@ class PostHogMemoryStorage {
|
|
|
65538
65650
|
}
|
|
65539
65651
|
}
|
|
65540
65652
|
|
|
65541
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
65653
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
65542
65654
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
65543
65655
|
var THIRTY_SECONDS = 30000;
|
|
65544
65656
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -66326,7 +66438,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
66326
66438
|
}
|
|
66327
66439
|
}
|
|
66328
66440
|
|
|
66329
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
66441
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
66330
66442
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
66331
66443
|
|
|
66332
66444
|
class PostHogContext {
|
|
@@ -66357,7 +66469,7 @@ class PostHogContext {
|
|
|
66357
66469
|
}
|
|
66358
66470
|
}
|
|
66359
66471
|
|
|
66360
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
66472
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
66361
66473
|
var NAME = "posthog-node";
|
|
66362
66474
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
66363
66475
|
"error"
|
|
@@ -66425,7 +66537,7 @@ class PostHogSentryIntegration {
|
|
|
66425
66537
|
};
|
|
66426
66538
|
}
|
|
66427
66539
|
}
|
|
66428
|
-
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
66540
|
+
// ../switchroom/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
66429
66541
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
66430
66542
|
new exports_error_tracking.EventCoercer,
|
|
66431
66543
|
new exports_error_tracking.ErrorCoercer,
|