switchroom 0.13.4 → 0.13.7
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/README.md +36 -45
- package/dist/agent-scheduler/index.js +85 -80
- package/dist/auth-broker/index.js +85 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +430 -360
- package/dist/host-control/main.js +501 -126
- package/dist/vault/approvals/kernel-server.js +88 -83
- package/dist/vault/broker/server.js +89 -84
- package/package.json +1 -1
- package/profiles/_shared/telegram-style.md.hbs +1 -1
- package/profiles/_shared/vault-protocol.md.hbs +12 -0
- package/telegram-plugin/dist/bridge/bridge.js +136 -112
- package/telegram-plugin/dist/gateway/gateway.js +255 -195
- package/telegram-plugin/dist/server.js +184 -160
- package/telegram-plugin/gateway/gateway.ts +46 -1
- package/telegram-plugin/model-unavailable.ts +4 -0
- package/telegram-plugin/runtime-metrics.ts +14 -8
- package/telegram-plugin/session-tail.ts +53 -0
- package/telegram-plugin/silence-poke.ts +49 -1
- package/telegram-plugin/tests/model-unavailable.test.ts +9 -0
- package/telegram-plugin/tests/operator-events-session-tail.test.ts +43 -0
- package/telegram-plugin/tests/silence-poke.test.ts +135 -3
- package/telegram-plugin/uat/scenarios/jtbd-fast-ack-dm.test.ts +217 -0
- package/telegram-plugin/uat/scenarios/jtbd-soft-commit-dm.test.ts +16 -11
|
@@ -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
|
-
//
|
|
69
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/filter.js
|
|
70
70
|
var require_filter = __commonJS((exports) => {
|
|
71
71
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
72
72
|
exports.matchFilter = matchFilter;
|
|
@@ -430,7 +430,7 @@ var require_filter = __commonJS((exports) => {
|
|
|
430
430
|
};
|
|
431
431
|
});
|
|
432
432
|
|
|
433
|
-
//
|
|
433
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/context.js
|
|
434
434
|
var require_context = __commonJS((exports) => {
|
|
435
435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
436
436
|
exports.Context = undefined;
|
|
@@ -1457,7 +1457,7 @@ var require_context = __commonJS((exports) => {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
1459
|
|
|
1460
|
-
//
|
|
1460
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/composer.js
|
|
1461
1461
|
var require_composer = __commonJS((exports) => {
|
|
1462
1462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1463
1463
|
exports.Composer = exports.BotError = undefined;
|
|
@@ -1619,7 +1619,7 @@ var require_composer = __commonJS((exports) => {
|
|
|
1619
1619
|
exports.Composer = Composer;
|
|
1620
1620
|
});
|
|
1621
1621
|
|
|
1622
|
-
//
|
|
1622
|
+
// ../../switchroom-sec-1417/node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
1623
1623
|
var require_ms = __commonJS((exports, module) => {
|
|
1624
1624
|
var s = 1000;
|
|
1625
1625
|
var m = s * 60;
|
|
@@ -1729,7 +1729,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
});
|
|
1731
1731
|
|
|
1732
|
-
//
|
|
1732
|
+
// ../../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
1733
1733
|
var require_common = __commonJS((exports, module) => {
|
|
1734
1734
|
function setup(env) {
|
|
1735
1735
|
createDebug.debug = createDebug;
|
|
@@ -1904,7 +1904,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
1904
1904
|
module.exports = setup;
|
|
1905
1905
|
});
|
|
1906
1906
|
|
|
1907
|
-
//
|
|
1907
|
+
// ../../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
1908
1908
|
var require_browser = __commonJS((exports, module) => {
|
|
1909
1909
|
exports.formatArgs = formatArgs;
|
|
1910
1910
|
exports.save = save;
|
|
@@ -2064,7 +2064,7 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
2064
2064
|
};
|
|
2065
2065
|
});
|
|
2066
2066
|
|
|
2067
|
-
//
|
|
2067
|
+
// ../../switchroom-sec-1417/node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
2068
2068
|
var require_has_flag = __commonJS((exports, module) => {
|
|
2069
2069
|
module.exports = (flag, argv = process.argv) => {
|
|
2070
2070
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -2074,7 +2074,7 @@ var require_has_flag = __commonJS((exports, module) => {
|
|
|
2074
2074
|
};
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
//
|
|
2077
|
+
// ../../switchroom-sec-1417/node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
2078
2078
|
var require_supports_color = __commonJS((exports, module) => {
|
|
2079
2079
|
var os = __require("os");
|
|
2080
2080
|
var tty = __require("tty");
|
|
@@ -2173,7 +2173,7 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
2173
2173
|
};
|
|
2174
2174
|
});
|
|
2175
2175
|
|
|
2176
|
-
//
|
|
2176
|
+
// ../../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
2177
2177
|
var require_node = __commonJS((exports, module) => {
|
|
2178
2178
|
var tty = __require("tty");
|
|
2179
2179
|
var util = __require("util");
|
|
@@ -2344,7 +2344,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
2344
2344
|
};
|
|
2345
2345
|
});
|
|
2346
2346
|
|
|
2347
|
-
//
|
|
2347
|
+
// ../../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
2348
2348
|
var require_src = __commonJS((exports, module) => {
|
|
2349
2349
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
2350
2350
|
module.exports = require_browser();
|
|
@@ -2353,7 +2353,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
});
|
|
2355
2355
|
|
|
2356
|
-
//
|
|
2356
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/platform.node.js
|
|
2357
2357
|
var require_platform_node = __commonJS((exports) => {
|
|
2358
2358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2359
2359
|
exports.defaultAdapter = exports.itrToStream = exports.debug = undefined;
|
|
@@ -2393,7 +2393,7 @@ var require_platform_node = __commonJS((exports) => {
|
|
|
2393
2393
|
exports.defaultAdapter = "express";
|
|
2394
2394
|
});
|
|
2395
2395
|
|
|
2396
|
-
//
|
|
2396
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/error.js
|
|
2397
2397
|
var require_error = __commonJS((exports) => {
|
|
2398
2398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2399
2399
|
exports.HttpError = exports.GrammyError = undefined;
|
|
@@ -2449,10 +2449,10 @@ var require_error = __commonJS((exports) => {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
});
|
|
2451
2451
|
|
|
2452
|
-
//
|
|
2452
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+types@3.26.0/node_modules/@grammyjs/types/mod.js
|
|
2453
2453
|
var exports_mod = {};
|
|
2454
2454
|
|
|
2455
|
-
//
|
|
2455
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.node.js
|
|
2456
2456
|
var require_types_node = __commonJS((exports) => {
|
|
2457
2457
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2458
2458
|
if (k2 === undefined)
|
|
@@ -2543,7 +2543,7 @@ var require_types_node = __commonJS((exports) => {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
});
|
|
2545
2545
|
|
|
2546
|
-
//
|
|
2546
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.js
|
|
2547
2547
|
var require_types = __commonJS((exports) => {
|
|
2548
2548
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2549
2549
|
if (k2 === undefined)
|
|
@@ -2569,7 +2569,7 @@ var require_types = __commonJS((exports) => {
|
|
|
2569
2569
|
__exportStar(require_types_node(), exports);
|
|
2570
2570
|
});
|
|
2571
2571
|
|
|
2572
|
-
//
|
|
2572
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/payload.js
|
|
2573
2573
|
var require_payload = __commonJS((exports) => {
|
|
2574
2574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2575
2575
|
exports.requiresFormDataUpload = requiresFormDataUpload;
|
|
@@ -2709,7 +2709,7 @@ content-type:application/octet-stream\r
|
|
|
2709
2709
|
}
|
|
2710
2710
|
});
|
|
2711
2711
|
|
|
2712
|
-
//
|
|
2712
|
+
// ../../switchroom-sec-1417/node_modules/.bun/event-target-shim@5.0.1/node_modules/event-target-shim/dist/event-target-shim.js
|
|
2713
2713
|
var require_event_target_shim = __commonJS((exports, module) => {
|
|
2714
2714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2715
2715
|
var privateData = new WeakMap;
|
|
@@ -3149,7 +3149,7 @@ var require_event_target_shim = __commonJS((exports, module) => {
|
|
|
3149
3149
|
module.exports.defineEventAttribute = defineEventAttribute;
|
|
3150
3150
|
});
|
|
3151
3151
|
|
|
3152
|
-
//
|
|
3152
|
+
// ../../switchroom-sec-1417/node_modules/.bun/abort-controller@3.0.0/node_modules/abort-controller/dist/abort-controller.js
|
|
3153
3153
|
var require_abort_controller = __commonJS((exports, module) => {
|
|
3154
3154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3155
3155
|
var eventTargetShim = require_event_target_shim();
|
|
@@ -3229,7 +3229,7 @@ var require_abort_controller = __commonJS((exports, module) => {
|
|
|
3229
3229
|
module.exports.AbortSignal = AbortSignal2;
|
|
3230
3230
|
});
|
|
3231
3231
|
|
|
3232
|
-
//
|
|
3232
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/shim.node.js
|
|
3233
3233
|
var require_shim_node = __commonJS((exports) => {
|
|
3234
3234
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3235
3235
|
exports.fetch = exports.AbortController = undefined;
|
|
@@ -3243,7 +3243,7 @@ var require_shim_node = __commonJS((exports) => {
|
|
|
3243
3243
|
} });
|
|
3244
3244
|
});
|
|
3245
3245
|
|
|
3246
|
-
//
|
|
3246
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/client.js
|
|
3247
3247
|
var require_client = __commonJS((exports) => {
|
|
3248
3248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3249
3249
|
exports.createRawApi = createRawApi;
|
|
@@ -3423,7 +3423,7 @@ If you want to prevent such mistakes in the future, consider using TypeScript. h
|
|
|
3423
3423
|
var shim_node_js_1 = require_shim_node();
|
|
3424
3424
|
});
|
|
3425
3425
|
|
|
3426
|
-
//
|
|
3426
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/api.js
|
|
3427
3427
|
var require_api = __commonJS((exports) => {
|
|
3428
3428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3429
3429
|
exports.Api = undefined;
|
|
@@ -4041,7 +4041,7 @@ var require_api = __commonJS((exports) => {
|
|
|
4041
4041
|
exports.Api = Api;
|
|
4042
4042
|
});
|
|
4043
4043
|
|
|
4044
|
-
//
|
|
4044
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/bot.js
|
|
4045
4045
|
var require_bot = __commonJS((exports) => {
|
|
4046
4046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4047
4047
|
exports.Bot = exports.BotError = exports.DEFAULT_UPDATE_TYPES = undefined;
|
|
@@ -4370,7 +4370,7 @@ On the other hand, if you actually know what you're doing and you do need to ins
|
|
|
4370
4370
|
var shim_node_js_1 = require_shim_node();
|
|
4371
4371
|
});
|
|
4372
4372
|
|
|
4373
|
-
//
|
|
4373
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/constants.js
|
|
4374
4374
|
var require_constants = __commonJS((exports) => {
|
|
4375
4375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4376
4376
|
exports.API_CONSTANTS = undefined;
|
|
@@ -4406,7 +4406,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
4406
4406
|
Object.freeze(exports.API_CONSTANTS);
|
|
4407
4407
|
});
|
|
4408
4408
|
|
|
4409
|
-
//
|
|
4409
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/inline_query.js
|
|
4410
4410
|
var require_inline_query = __commonJS((exports) => {
|
|
4411
4411
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4412
4412
|
exports.InlineQueryResultBuilder = undefined;
|
|
@@ -4604,7 +4604,7 @@ var require_inline_query = __commonJS((exports) => {
|
|
|
4604
4604
|
};
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
//
|
|
4607
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/input_media.js
|
|
4608
4608
|
var require_input_media = __commonJS((exports) => {
|
|
4609
4609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4610
4610
|
exports.InputMediaBuilder = undefined;
|
|
@@ -4627,7 +4627,7 @@ var require_input_media = __commonJS((exports) => {
|
|
|
4627
4627
|
};
|
|
4628
4628
|
});
|
|
4629
4629
|
|
|
4630
|
-
//
|
|
4630
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/keyboard.js
|
|
4631
4631
|
var require_keyboard = __commonJS((exports) => {
|
|
4632
4632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4633
4633
|
exports.InlineKeyboard = exports.Keyboard = undefined;
|
|
@@ -4985,7 +4985,7 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
4985
4985
|
}
|
|
4986
4986
|
});
|
|
4987
4987
|
|
|
4988
|
-
//
|
|
4988
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/session.js
|
|
4989
4989
|
var require_session = __commonJS((exports) => {
|
|
4990
4990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4991
4991
|
exports.MemorySessionStorage = undefined;
|
|
@@ -5285,7 +5285,7 @@ var require_session = __commonJS((exports) => {
|
|
|
5285
5285
|
}
|
|
5286
5286
|
});
|
|
5287
5287
|
|
|
5288
|
-
//
|
|
5288
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/frameworks.js
|
|
5289
5289
|
var require_frameworks = __commonJS((exports) => {
|
|
5290
5290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5291
5291
|
exports.adapters = undefined;
|
|
@@ -5653,7 +5653,7 @@ var require_frameworks = __commonJS((exports) => {
|
|
|
5653
5653
|
};
|
|
5654
5654
|
});
|
|
5655
5655
|
|
|
5656
|
-
//
|
|
5656
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/webhook.js
|
|
5657
5657
|
var require_webhook = __commonJS((exports) => {
|
|
5658
5658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5659
5659
|
exports.webhookCallback = webhookCallback;
|
|
@@ -5747,7 +5747,7 @@ var require_webhook = __commonJS((exports) => {
|
|
|
5747
5747
|
}
|
|
5748
5748
|
});
|
|
5749
5749
|
|
|
5750
|
-
//
|
|
5750
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
|
|
5751
5751
|
var require_mod = __commonJS((exports) => {
|
|
5752
5752
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
5753
5753
|
if (k2 === undefined)
|
|
@@ -5813,7 +5813,7 @@ var require_mod = __commonJS((exports) => {
|
|
|
5813
5813
|
} });
|
|
5814
5814
|
});
|
|
5815
5815
|
|
|
5816
|
-
//
|
|
5816
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/platform.node.js
|
|
5817
5817
|
var require_platform_node2 = __commonJS((exports) => {
|
|
5818
5818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5819
5819
|
exports.parentThread = exports.createThread = undefined;
|
|
@@ -5844,7 +5844,7 @@ var require_platform_node2 = __commonJS((exports) => {
|
|
|
5844
5844
|
exports.parentThread = parentThread;
|
|
5845
5845
|
});
|
|
5846
5846
|
|
|
5847
|
-
//
|
|
5847
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/distribute.js
|
|
5848
5848
|
var require_distribute = __commonJS((exports) => {
|
|
5849
5849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5850
5850
|
exports.distribute = undefined;
|
|
@@ -5889,7 +5889,7 @@ var require_distribute = __commonJS((exports) => {
|
|
|
5889
5889
|
exports.distribute = distribute;
|
|
5890
5890
|
});
|
|
5891
5891
|
|
|
5892
|
-
//
|
|
5892
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/queue.js
|
|
5893
5893
|
var require_queue = __commonJS((exports) => {
|
|
5894
5894
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5895
5895
|
exports.DecayingDeque = undefined;
|
|
@@ -6033,7 +6033,7 @@ var require_queue = __commonJS((exports) => {
|
|
|
6033
6033
|
exports.DecayingDeque = DecayingDeque;
|
|
6034
6034
|
});
|
|
6035
6035
|
|
|
6036
|
-
//
|
|
6036
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sink.js
|
|
6037
6037
|
var require_sink = __commonJS((exports) => {
|
|
6038
6038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6039
6039
|
exports.createConcurrentSink = exports.createBatchSink = exports.createSequentialSink = undefined;
|
|
@@ -6078,7 +6078,7 @@ var require_sink = __commonJS((exports) => {
|
|
|
6078
6078
|
exports.createConcurrentSink = createConcurrentSink;
|
|
6079
6079
|
});
|
|
6080
6080
|
|
|
6081
|
-
//
|
|
6081
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/node-shim.js
|
|
6082
6082
|
var require_node_shim = __commonJS((exports) => {
|
|
6083
6083
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6084
6084
|
if (k2 === undefined)
|
|
@@ -6104,7 +6104,7 @@ var require_node_shim = __commonJS((exports) => {
|
|
|
6104
6104
|
__exportStar(require_abort_controller(), exports);
|
|
6105
6105
|
});
|
|
6106
6106
|
|
|
6107
|
-
//
|
|
6107
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/source.js
|
|
6108
6108
|
var require_source = __commonJS((exports) => {
|
|
6109
6109
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6110
6110
|
exports.createSource = undefined;
|
|
@@ -6184,7 +6184,7 @@ var require_source = __commonJS((exports) => {
|
|
|
6184
6184
|
var node_shim_js_1 = require_node_shim();
|
|
6185
6185
|
});
|
|
6186
6186
|
|
|
6187
|
-
//
|
|
6187
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/runner.js
|
|
6188
6188
|
var require_runner = __commonJS((exports) => {
|
|
6189
6189
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6190
6190
|
exports.createRunner = exports.createUpdateFetcher = exports.run = undefined;
|
|
@@ -6336,7 +6336,7 @@ var require_runner = __commonJS((exports) => {
|
|
|
6336
6336
|
}
|
|
6337
6337
|
});
|
|
6338
6338
|
|
|
6339
|
-
//
|
|
6339
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sequentialize.js
|
|
6340
6340
|
var require_sequentialize = __commonJS((exports) => {
|
|
6341
6341
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6342
6342
|
exports.sequentialize = undefined;
|
|
@@ -6379,7 +6379,7 @@ var require_sequentialize = __commonJS((exports) => {
|
|
|
6379
6379
|
exports.sequentialize = sequentialize;
|
|
6380
6380
|
});
|
|
6381
6381
|
|
|
6382
|
-
//
|
|
6382
|
+
// ../../switchroom-sec-1417/node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
|
|
6383
6383
|
var require_mod2 = __commonJS((exports) => {
|
|
6384
6384
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6385
6385
|
if (k2 === undefined)
|
|
@@ -6445,7 +6445,7 @@ var require_mod2 = __commonJS((exports) => {
|
|
|
6445
6445
|
} });
|
|
6446
6446
|
});
|
|
6447
6447
|
|
|
6448
|
-
//
|
|
6448
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/deps.node.js
|
|
6449
6449
|
var require_deps_node = __commonJS((exports) => {
|
|
6450
6450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6451
6451
|
exports.BotError = exports.Bot = undefined;
|
|
@@ -6458,7 +6458,7 @@ var require_deps_node = __commonJS((exports) => {
|
|
|
6458
6458
|
} });
|
|
6459
6459
|
});
|
|
6460
6460
|
|
|
6461
|
-
//
|
|
6461
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/worker.js
|
|
6462
6462
|
var require_worker = __commonJS((exports) => {
|
|
6463
6463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6464
6464
|
exports.BotWorker = undefined;
|
|
@@ -6500,7 +6500,7 @@ var require_worker = __commonJS((exports) => {
|
|
|
6500
6500
|
exports.BotWorker = BotWorker;
|
|
6501
6501
|
});
|
|
6502
6502
|
|
|
6503
|
-
//
|
|
6503
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
|
|
6504
6504
|
var require_mod3 = __commonJS((exports) => {
|
|
6505
6505
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6506
6506
|
if (k2 === undefined)
|
|
@@ -6532,7 +6532,7 @@ var require_mod3 = __commonJS((exports) => {
|
|
|
6532
6532
|
__exportStar(require_worker(), exports);
|
|
6533
6533
|
});
|
|
6534
6534
|
|
|
6535
|
-
//
|
|
6535
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
|
|
6536
6536
|
var require_mod4 = __commonJS((exports) => {
|
|
6537
6537
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6538
6538
|
if (k2 === undefined)
|
|
@@ -6564,7 +6564,7 @@ var require_mod4 = __commonJS((exports) => {
|
|
|
6564
6564
|
__exportStar(require_worker(), exports);
|
|
6565
6565
|
});
|
|
6566
6566
|
|
|
6567
|
-
//
|
|
6567
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@xterm+headless@6.0.0/node_modules/@xterm/headless/lib-headless/xterm-headless.js
|
|
6568
6568
|
var require_xterm_headless = __commonJS((exports2) => {
|
|
6569
6569
|
(() => {
|
|
6570
6570
|
var e = { 5639: (e2, t2, s2) => {
|
|
@@ -12119,7 +12119,7 @@ ${i3.join(`
|
|
|
12119
12119
|
})();
|
|
12120
12120
|
});
|
|
12121
12121
|
|
|
12122
|
-
//
|
|
12122
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
12123
12123
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
12124
12124
|
const t = typeof data;
|
|
12125
12125
|
switch (t) {
|
|
@@ -12250,7 +12250,7 @@ var init_util = __esm(() => {
|
|
|
12250
12250
|
]);
|
|
12251
12251
|
});
|
|
12252
12252
|
|
|
12253
|
-
//
|
|
12253
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
12254
12254
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
12255
12255
|
const json = JSON.stringify(obj, null, 2);
|
|
12256
12256
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -12371,7 +12371,7 @@ var init_ZodError = __esm(() => {
|
|
|
12371
12371
|
};
|
|
12372
12372
|
});
|
|
12373
12373
|
|
|
12374
|
-
//
|
|
12374
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
12375
12375
|
var errorMap = (issue, _ctx) => {
|
|
12376
12376
|
let message;
|
|
12377
12377
|
switch (issue.code) {
|
|
@@ -12478,7 +12478,7 @@ var init_en = __esm(() => {
|
|
|
12478
12478
|
en_default = errorMap;
|
|
12479
12479
|
});
|
|
12480
12480
|
|
|
12481
|
-
//
|
|
12481
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
12482
12482
|
function setErrorMap(map) {
|
|
12483
12483
|
overrideErrorMap = map;
|
|
12484
12484
|
}
|
|
@@ -12491,7 +12491,7 @@ var init_errors = __esm(() => {
|
|
|
12491
12491
|
overrideErrorMap = en_default;
|
|
12492
12492
|
});
|
|
12493
12493
|
|
|
12494
|
-
//
|
|
12494
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
12495
12495
|
function addIssueToContext(ctx, issueData) {
|
|
12496
12496
|
const overrideMap = getErrorMap();
|
|
12497
12497
|
const issue = makeIssue({
|
|
@@ -12596,10 +12596,10 @@ var init_parseUtil = __esm(() => {
|
|
|
12596
12596
|
});
|
|
12597
12597
|
});
|
|
12598
12598
|
|
|
12599
|
-
//
|
|
12599
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
12600
12600
|
var init_typeAliases = () => {};
|
|
12601
12601
|
|
|
12602
|
-
//
|
|
12602
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
12603
12603
|
var errorUtil;
|
|
12604
12604
|
var init_errorUtil = __esm(() => {
|
|
12605
12605
|
(function(errorUtil2) {
|
|
@@ -12608,7 +12608,7 @@ var init_errorUtil = __esm(() => {
|
|
|
12608
12608
|
})(errorUtil || (errorUtil = {}));
|
|
12609
12609
|
});
|
|
12610
12610
|
|
|
12611
|
-
//
|
|
12611
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
12612
12612
|
class ParseInputLazyPath {
|
|
12613
12613
|
constructor(parent, value, path, key) {
|
|
12614
12614
|
this._cachedPath = [];
|
|
@@ -15959,7 +15959,7 @@ var init_types = __esm(() => {
|
|
|
15959
15959
|
NEVER = INVALID;
|
|
15960
15960
|
});
|
|
15961
15961
|
|
|
15962
|
-
//
|
|
15962
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
15963
15963
|
var exports_external = {};
|
|
15964
15964
|
__export(exports_external, {
|
|
15965
15965
|
void: () => voidType,
|
|
@@ -16079,7 +16079,7 @@ var init_external = __esm(() => {
|
|
|
16079
16079
|
init_ZodError();
|
|
16080
16080
|
});
|
|
16081
16081
|
|
|
16082
|
-
//
|
|
16082
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
16083
16083
|
var init_zod = __esm(() => {
|
|
16084
16084
|
init_external();
|
|
16085
16085
|
init_external();
|
|
@@ -16627,7 +16627,7 @@ var init_client = __esm(() => {
|
|
|
16627
16627
|
};
|
|
16628
16628
|
});
|
|
16629
16629
|
|
|
16630
|
-
//
|
|
16630
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
16631
16631
|
var require_identity = __commonJS((exports2) => {
|
|
16632
16632
|
var ALIAS = Symbol.for("yaml.alias");
|
|
16633
16633
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -16681,7 +16681,7 @@ var require_identity = __commonJS((exports2) => {
|
|
|
16681
16681
|
exports2.isSeq = isSeq;
|
|
16682
16682
|
});
|
|
16683
16683
|
|
|
16684
|
-
//
|
|
16684
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
16685
16685
|
var require_visit = __commonJS((exports2) => {
|
|
16686
16686
|
var identity = require_identity();
|
|
16687
16687
|
var BREAK = Symbol("break visit");
|
|
@@ -16836,7 +16836,7 @@ var require_visit = __commonJS((exports2) => {
|
|
|
16836
16836
|
exports2.visitAsync = visitAsync;
|
|
16837
16837
|
});
|
|
16838
16838
|
|
|
16839
|
-
//
|
|
16839
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
16840
16840
|
var require_directives = __commonJS((exports2) => {
|
|
16841
16841
|
var identity = require_identity();
|
|
16842
16842
|
var visit = require_visit();
|
|
@@ -16988,7 +16988,7 @@ var require_directives = __commonJS((exports2) => {
|
|
|
16988
16988
|
exports2.Directives = Directives;
|
|
16989
16989
|
});
|
|
16990
16990
|
|
|
16991
|
-
//
|
|
16991
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
16992
16992
|
var require_anchors = __commonJS((exports2) => {
|
|
16993
16993
|
var identity = require_identity();
|
|
16994
16994
|
var visit = require_visit();
|
|
@@ -17050,7 +17050,7 @@ var require_anchors = __commonJS((exports2) => {
|
|
|
17050
17050
|
exports2.findNewAnchor = findNewAnchor;
|
|
17051
17051
|
});
|
|
17052
17052
|
|
|
17053
|
-
//
|
|
17053
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
17054
17054
|
var require_applyReviver = __commonJS((exports2) => {
|
|
17055
17055
|
function applyReviver(reviver, obj, key, val) {
|
|
17056
17056
|
if (val && typeof val === "object") {
|
|
@@ -17097,7 +17097,7 @@ var require_applyReviver = __commonJS((exports2) => {
|
|
|
17097
17097
|
exports2.applyReviver = applyReviver;
|
|
17098
17098
|
});
|
|
17099
17099
|
|
|
17100
|
-
//
|
|
17100
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
17101
17101
|
var require_toJS = __commonJS((exports2) => {
|
|
17102
17102
|
var identity = require_identity();
|
|
17103
17103
|
function toJS(value, arg, ctx) {
|
|
@@ -17124,7 +17124,7 @@ var require_toJS = __commonJS((exports2) => {
|
|
|
17124
17124
|
exports2.toJS = toJS;
|
|
17125
17125
|
});
|
|
17126
17126
|
|
|
17127
|
-
//
|
|
17127
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
17128
17128
|
var require_Node = __commonJS((exports2) => {
|
|
17129
17129
|
var applyReviver = require_applyReviver();
|
|
17130
17130
|
var identity = require_identity();
|
|
@@ -17161,7 +17161,7 @@ var require_Node = __commonJS((exports2) => {
|
|
|
17161
17161
|
exports2.NodeBase = NodeBase;
|
|
17162
17162
|
});
|
|
17163
17163
|
|
|
17164
|
-
//
|
|
17164
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
17165
17165
|
var require_Alias = __commonJS((exports2) => {
|
|
17166
17166
|
var anchors = require_anchors();
|
|
17167
17167
|
var visit = require_visit();
|
|
@@ -17269,7 +17269,7 @@ var require_Alias = __commonJS((exports2) => {
|
|
|
17269
17269
|
exports2.Alias = Alias;
|
|
17270
17270
|
});
|
|
17271
17271
|
|
|
17272
|
-
//
|
|
17272
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
17273
17273
|
var require_Scalar = __commonJS((exports2) => {
|
|
17274
17274
|
var identity = require_identity();
|
|
17275
17275
|
var Node = require_Node();
|
|
@@ -17297,7 +17297,7 @@ var require_Scalar = __commonJS((exports2) => {
|
|
|
17297
17297
|
exports2.isScalarValue = isScalarValue;
|
|
17298
17298
|
});
|
|
17299
17299
|
|
|
17300
|
-
//
|
|
17300
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
17301
17301
|
var require_createNode = __commonJS((exports2) => {
|
|
17302
17302
|
var Alias = require_Alias();
|
|
17303
17303
|
var identity = require_identity();
|
|
@@ -17369,7 +17369,7 @@ var require_createNode = __commonJS((exports2) => {
|
|
|
17369
17369
|
exports2.createNode = createNode;
|
|
17370
17370
|
});
|
|
17371
17371
|
|
|
17372
|
-
//
|
|
17372
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
17373
17373
|
var require_Collection = __commonJS((exports2) => {
|
|
17374
17374
|
var createNode = require_createNode();
|
|
17375
17375
|
var identity = require_identity();
|
|
@@ -17484,7 +17484,7 @@ var require_Collection = __commonJS((exports2) => {
|
|
|
17484
17484
|
exports2.isEmptyPath = isEmptyPath;
|
|
17485
17485
|
});
|
|
17486
17486
|
|
|
17487
|
-
//
|
|
17487
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
17488
17488
|
var require_stringifyComment = __commonJS((exports2) => {
|
|
17489
17489
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
17490
17490
|
function indentComment(comment, indent) {
|
|
@@ -17501,7 +17501,7 @@ var require_stringifyComment = __commonJS((exports2) => {
|
|
|
17501
17501
|
exports2.stringifyComment = stringifyComment;
|
|
17502
17502
|
});
|
|
17503
17503
|
|
|
17504
|
-
//
|
|
17504
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
17505
17505
|
var require_foldFlowLines = __commonJS((exports2) => {
|
|
17506
17506
|
var FOLD_FLOW = "flow";
|
|
17507
17507
|
var FOLD_BLOCK = "block";
|
|
@@ -17638,7 +17638,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
17638
17638
|
exports2.foldFlowLines = foldFlowLines;
|
|
17639
17639
|
});
|
|
17640
17640
|
|
|
17641
|
-
//
|
|
17641
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
17642
17642
|
var require_stringifyString = __commonJS((exports2) => {
|
|
17643
17643
|
var Scalar = require_Scalar();
|
|
17644
17644
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -17936,7 +17936,7 @@ ${indent}`);
|
|
|
17936
17936
|
exports2.stringifyString = stringifyString;
|
|
17937
17937
|
});
|
|
17938
17938
|
|
|
17939
|
-
//
|
|
17939
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
17940
17940
|
var require_stringify = __commonJS((exports2) => {
|
|
17941
17941
|
var anchors = require_anchors();
|
|
17942
17942
|
var identity = require_identity();
|
|
@@ -18057,7 +18057,7 @@ ${ctx.indent}${str}`;
|
|
|
18057
18057
|
exports2.stringify = stringify;
|
|
18058
18058
|
});
|
|
18059
18059
|
|
|
18060
|
-
//
|
|
18060
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
18061
18061
|
var require_stringifyPair = __commonJS((exports2) => {
|
|
18062
18062
|
var identity = require_identity();
|
|
18063
18063
|
var Scalar = require_Scalar();
|
|
@@ -18193,7 +18193,7 @@ ${ctx.indent}`;
|
|
|
18193
18193
|
exports2.stringifyPair = stringifyPair;
|
|
18194
18194
|
});
|
|
18195
18195
|
|
|
18196
|
-
//
|
|
18196
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
18197
18197
|
var require_log = __commonJS((exports2) => {
|
|
18198
18198
|
var node_process = __require("process");
|
|
18199
18199
|
function debug(logLevel, ...messages) {
|
|
@@ -18212,7 +18212,7 @@ var require_log = __commonJS((exports2) => {
|
|
|
18212
18212
|
exports2.warn = warn;
|
|
18213
18213
|
});
|
|
18214
18214
|
|
|
18215
|
-
//
|
|
18215
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
18216
18216
|
var require_merge = __commonJS((exports2) => {
|
|
18217
18217
|
var identity = require_identity();
|
|
18218
18218
|
var Scalar = require_Scalar();
|
|
@@ -18266,7 +18266,7 @@ var require_merge = __commonJS((exports2) => {
|
|
|
18266
18266
|
exports2.merge = merge;
|
|
18267
18267
|
});
|
|
18268
18268
|
|
|
18269
|
-
//
|
|
18269
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
18270
18270
|
var require_addPairToJSMap = __commonJS((exports2) => {
|
|
18271
18271
|
var log = require_log();
|
|
18272
18272
|
var merge = require_merge();
|
|
@@ -18327,7 +18327,7 @@ var require_addPairToJSMap = __commonJS((exports2) => {
|
|
|
18327
18327
|
exports2.addPairToJSMap = addPairToJSMap;
|
|
18328
18328
|
});
|
|
18329
18329
|
|
|
18330
|
-
//
|
|
18330
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
18331
18331
|
var require_Pair = __commonJS((exports2) => {
|
|
18332
18332
|
var createNode = require_createNode();
|
|
18333
18333
|
var stringifyPair = require_stringifyPair();
|
|
@@ -18365,7 +18365,7 @@ var require_Pair = __commonJS((exports2) => {
|
|
|
18365
18365
|
exports2.createPair = createPair;
|
|
18366
18366
|
});
|
|
18367
18367
|
|
|
18368
|
-
//
|
|
18368
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
18369
18369
|
var require_stringifyCollection = __commonJS((exports2) => {
|
|
18370
18370
|
var identity = require_identity();
|
|
18371
18371
|
var stringify = require_stringify();
|
|
@@ -18517,7 +18517,7 @@ ${indent}${end}`;
|
|
|
18517
18517
|
exports2.stringifyCollection = stringifyCollection;
|
|
18518
18518
|
});
|
|
18519
18519
|
|
|
18520
|
-
//
|
|
18520
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
18521
18521
|
var require_YAMLMap = __commonJS((exports2) => {
|
|
18522
18522
|
var stringifyCollection = require_stringifyCollection();
|
|
18523
18523
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -18644,7 +18644,7 @@ var require_YAMLMap = __commonJS((exports2) => {
|
|
|
18644
18644
|
exports2.findPair = findPair;
|
|
18645
18645
|
});
|
|
18646
18646
|
|
|
18647
|
-
//
|
|
18647
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
18648
18648
|
var require_map = __commonJS((exports2) => {
|
|
18649
18649
|
var identity = require_identity();
|
|
18650
18650
|
var YAMLMap = require_YAMLMap();
|
|
@@ -18663,7 +18663,7 @@ var require_map = __commonJS((exports2) => {
|
|
|
18663
18663
|
exports2.map = map;
|
|
18664
18664
|
});
|
|
18665
18665
|
|
|
18666
|
-
//
|
|
18666
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
18667
18667
|
var require_YAMLSeq = __commonJS((exports2) => {
|
|
18668
18668
|
var createNode = require_createNode();
|
|
18669
18669
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -18756,7 +18756,7 @@ var require_YAMLSeq = __commonJS((exports2) => {
|
|
|
18756
18756
|
exports2.YAMLSeq = YAMLSeq;
|
|
18757
18757
|
});
|
|
18758
18758
|
|
|
18759
|
-
//
|
|
18759
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
18760
18760
|
var require_seq = __commonJS((exports2) => {
|
|
18761
18761
|
var identity = require_identity();
|
|
18762
18762
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -18775,7 +18775,7 @@ var require_seq = __commonJS((exports2) => {
|
|
|
18775
18775
|
exports2.seq = seq;
|
|
18776
18776
|
});
|
|
18777
18777
|
|
|
18778
|
-
//
|
|
18778
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
18779
18779
|
var require_string = __commonJS((exports2) => {
|
|
18780
18780
|
var stringifyString = require_stringifyString();
|
|
18781
18781
|
var string = {
|
|
@@ -18791,7 +18791,7 @@ var require_string = __commonJS((exports2) => {
|
|
|
18791
18791
|
exports2.string = string;
|
|
18792
18792
|
});
|
|
18793
18793
|
|
|
18794
|
-
//
|
|
18794
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
18795
18795
|
var require_null = __commonJS((exports2) => {
|
|
18796
18796
|
var Scalar = require_Scalar();
|
|
18797
18797
|
var nullTag = {
|
|
@@ -18806,7 +18806,7 @@ var require_null = __commonJS((exports2) => {
|
|
|
18806
18806
|
exports2.nullTag = nullTag;
|
|
18807
18807
|
});
|
|
18808
18808
|
|
|
18809
|
-
//
|
|
18809
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
18810
18810
|
var require_bool = __commonJS((exports2) => {
|
|
18811
18811
|
var Scalar = require_Scalar();
|
|
18812
18812
|
var boolTag = {
|
|
@@ -18827,7 +18827,7 @@ var require_bool = __commonJS((exports2) => {
|
|
|
18827
18827
|
exports2.boolTag = boolTag;
|
|
18828
18828
|
});
|
|
18829
18829
|
|
|
18830
|
-
//
|
|
18830
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
18831
18831
|
var require_stringifyNumber = __commonJS((exports2) => {
|
|
18832
18832
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
18833
18833
|
if (typeof value === "bigint")
|
|
@@ -18851,7 +18851,7 @@ var require_stringifyNumber = __commonJS((exports2) => {
|
|
|
18851
18851
|
exports2.stringifyNumber = stringifyNumber;
|
|
18852
18852
|
});
|
|
18853
18853
|
|
|
18854
|
-
//
|
|
18854
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
18855
18855
|
var require_float = __commonJS((exports2) => {
|
|
18856
18856
|
var Scalar = require_Scalar();
|
|
18857
18857
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -18894,7 +18894,7 @@ var require_float = __commonJS((exports2) => {
|
|
|
18894
18894
|
exports2.floatNaN = floatNaN;
|
|
18895
18895
|
});
|
|
18896
18896
|
|
|
18897
|
-
//
|
|
18897
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
18898
18898
|
var require_int = __commonJS((exports2) => {
|
|
18899
18899
|
var stringifyNumber = require_stringifyNumber();
|
|
18900
18900
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -18936,7 +18936,7 @@ var require_int = __commonJS((exports2) => {
|
|
|
18936
18936
|
exports2.intOct = intOct;
|
|
18937
18937
|
});
|
|
18938
18938
|
|
|
18939
|
-
//
|
|
18939
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
18940
18940
|
var require_schema = __commonJS((exports2) => {
|
|
18941
18941
|
var map = require_map();
|
|
18942
18942
|
var _null = require_null();
|
|
@@ -18961,7 +18961,7 @@ var require_schema = __commonJS((exports2) => {
|
|
|
18961
18961
|
exports2.schema = schema;
|
|
18962
18962
|
});
|
|
18963
18963
|
|
|
18964
|
-
//
|
|
18964
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
18965
18965
|
var require_schema2 = __commonJS((exports2) => {
|
|
18966
18966
|
var Scalar = require_Scalar();
|
|
18967
18967
|
var map = require_map();
|
|
@@ -19025,7 +19025,7 @@ var require_schema2 = __commonJS((exports2) => {
|
|
|
19025
19025
|
exports2.schema = schema;
|
|
19026
19026
|
});
|
|
19027
19027
|
|
|
19028
|
-
//
|
|
19028
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
19029
19029
|
var require_binary = __commonJS((exports2) => {
|
|
19030
19030
|
var node_buffer = __require("buffer");
|
|
19031
19031
|
var Scalar = require_Scalar();
|
|
@@ -19080,7 +19080,7 @@ var require_binary = __commonJS((exports2) => {
|
|
|
19080
19080
|
exports2.binary = binary;
|
|
19081
19081
|
});
|
|
19082
19082
|
|
|
19083
|
-
//
|
|
19083
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
19084
19084
|
var require_pairs = __commonJS((exports2) => {
|
|
19085
19085
|
var identity = require_identity();
|
|
19086
19086
|
var Pair = require_Pair();
|
|
@@ -19155,7 +19155,7 @@ ${cn.comment}` : item.comment;
|
|
|
19155
19155
|
exports2.resolvePairs = resolvePairs;
|
|
19156
19156
|
});
|
|
19157
19157
|
|
|
19158
|
-
//
|
|
19158
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
19159
19159
|
var require_omap = __commonJS((exports2) => {
|
|
19160
19160
|
var identity = require_identity();
|
|
19161
19161
|
var toJS = require_toJS();
|
|
@@ -19227,7 +19227,7 @@ var require_omap = __commonJS((exports2) => {
|
|
|
19227
19227
|
exports2.omap = omap;
|
|
19228
19228
|
});
|
|
19229
19229
|
|
|
19230
|
-
//
|
|
19230
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
19231
19231
|
var require_bool2 = __commonJS((exports2) => {
|
|
19232
19232
|
var Scalar = require_Scalar();
|
|
19233
19233
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -19256,7 +19256,7 @@ var require_bool2 = __commonJS((exports2) => {
|
|
|
19256
19256
|
exports2.trueTag = trueTag;
|
|
19257
19257
|
});
|
|
19258
19258
|
|
|
19259
|
-
//
|
|
19259
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
19260
19260
|
var require_float2 = __commonJS((exports2) => {
|
|
19261
19261
|
var Scalar = require_Scalar();
|
|
19262
19262
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -19302,7 +19302,7 @@ var require_float2 = __commonJS((exports2) => {
|
|
|
19302
19302
|
exports2.floatNaN = floatNaN;
|
|
19303
19303
|
});
|
|
19304
19304
|
|
|
19305
|
-
//
|
|
19305
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
19306
19306
|
var require_int2 = __commonJS((exports2) => {
|
|
19307
19307
|
var stringifyNumber = require_stringifyNumber();
|
|
19308
19308
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -19378,7 +19378,7 @@ var require_int2 = __commonJS((exports2) => {
|
|
|
19378
19378
|
exports2.intOct = intOct;
|
|
19379
19379
|
});
|
|
19380
19380
|
|
|
19381
|
-
//
|
|
19381
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
19382
19382
|
var require_set = __commonJS((exports2) => {
|
|
19383
19383
|
var identity = require_identity();
|
|
19384
19384
|
var Pair = require_Pair();
|
|
@@ -19461,7 +19461,7 @@ var require_set = __commonJS((exports2) => {
|
|
|
19461
19461
|
exports2.set = set;
|
|
19462
19462
|
});
|
|
19463
19463
|
|
|
19464
|
-
//
|
|
19464
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
19465
19465
|
var require_timestamp = __commonJS((exports2) => {
|
|
19466
19466
|
var stringifyNumber = require_stringifyNumber();
|
|
19467
19467
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -19543,7 +19543,7 @@ var require_timestamp = __commonJS((exports2) => {
|
|
|
19543
19543
|
exports2.timestamp = timestamp;
|
|
19544
19544
|
});
|
|
19545
19545
|
|
|
19546
|
-
//
|
|
19546
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
19547
19547
|
var require_schema3 = __commonJS((exports2) => {
|
|
19548
19548
|
var map = require_map();
|
|
19549
19549
|
var _null = require_null();
|
|
@@ -19584,7 +19584,7 @@ var require_schema3 = __commonJS((exports2) => {
|
|
|
19584
19584
|
exports2.schema = schema;
|
|
19585
19585
|
});
|
|
19586
19586
|
|
|
19587
|
-
//
|
|
19587
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
19588
19588
|
var require_tags = __commonJS((exports2) => {
|
|
19589
19589
|
var map = require_map();
|
|
19590
19590
|
var _null = require_null();
|
|
@@ -19675,7 +19675,7 @@ var require_tags = __commonJS((exports2) => {
|
|
|
19675
19675
|
exports2.getTags = getTags;
|
|
19676
19676
|
});
|
|
19677
19677
|
|
|
19678
|
-
//
|
|
19678
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
19679
19679
|
var require_Schema = __commonJS((exports2) => {
|
|
19680
19680
|
var identity = require_identity();
|
|
19681
19681
|
var map = require_map();
|
|
@@ -19705,7 +19705,7 @@ var require_Schema = __commonJS((exports2) => {
|
|
|
19705
19705
|
exports2.Schema = Schema;
|
|
19706
19706
|
});
|
|
19707
19707
|
|
|
19708
|
-
//
|
|
19708
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
19709
19709
|
var require_stringifyDocument = __commonJS((exports2) => {
|
|
19710
19710
|
var identity = require_identity();
|
|
19711
19711
|
var stringify = require_stringify();
|
|
@@ -19785,7 +19785,7 @@ var require_stringifyDocument = __commonJS((exports2) => {
|
|
|
19785
19785
|
exports2.stringifyDocument = stringifyDocument;
|
|
19786
19786
|
});
|
|
19787
19787
|
|
|
19788
|
-
//
|
|
19788
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
19789
19789
|
var require_Document = __commonJS((exports2) => {
|
|
19790
19790
|
var Alias = require_Alias();
|
|
19791
19791
|
var Collection = require_Collection();
|
|
@@ -20020,7 +20020,7 @@ var require_Document = __commonJS((exports2) => {
|
|
|
20020
20020
|
exports2.Document = Document;
|
|
20021
20021
|
});
|
|
20022
20022
|
|
|
20023
|
-
//
|
|
20023
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
20024
20024
|
var require_errors = __commonJS((exports2) => {
|
|
20025
20025
|
class YAMLError extends Error {
|
|
20026
20026
|
constructor(name, pos, code, message) {
|
|
@@ -20085,7 +20085,7 @@ ${pointer}
|
|
|
20085
20085
|
exports2.prettifyError = prettifyError;
|
|
20086
20086
|
});
|
|
20087
20087
|
|
|
20088
|
-
//
|
|
20088
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
20089
20089
|
var require_resolve_props = __commonJS((exports2) => {
|
|
20090
20090
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
20091
20091
|
let spaceBefore = false;
|
|
@@ -20215,7 +20215,7 @@ var require_resolve_props = __commonJS((exports2) => {
|
|
|
20215
20215
|
exports2.resolveProps = resolveProps;
|
|
20216
20216
|
});
|
|
20217
20217
|
|
|
20218
|
-
//
|
|
20218
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
20219
20219
|
var require_util_contains_newline = __commonJS((exports2) => {
|
|
20220
20220
|
function containsNewline(key) {
|
|
20221
20221
|
if (!key)
|
|
@@ -20255,7 +20255,7 @@ var require_util_contains_newline = __commonJS((exports2) => {
|
|
|
20255
20255
|
exports2.containsNewline = containsNewline;
|
|
20256
20256
|
});
|
|
20257
20257
|
|
|
20258
|
-
//
|
|
20258
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
20259
20259
|
var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
20260
20260
|
var utilContainsNewline = require_util_contains_newline();
|
|
20261
20261
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -20270,7 +20270,7 @@ var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
|
20270
20270
|
exports2.flowIndentCheck = flowIndentCheck;
|
|
20271
20271
|
});
|
|
20272
20272
|
|
|
20273
|
-
//
|
|
20273
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
20274
20274
|
var require_util_map_includes = __commonJS((exports2) => {
|
|
20275
20275
|
var identity = require_identity();
|
|
20276
20276
|
function mapIncludes(ctx, items, search) {
|
|
@@ -20283,7 +20283,7 @@ var require_util_map_includes = __commonJS((exports2) => {
|
|
|
20283
20283
|
exports2.mapIncludes = mapIncludes;
|
|
20284
20284
|
});
|
|
20285
20285
|
|
|
20286
|
-
//
|
|
20286
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
20287
20287
|
var require_resolve_block_map = __commonJS((exports2) => {
|
|
20288
20288
|
var Pair = require_Pair();
|
|
20289
20289
|
var YAMLMap = require_YAMLMap();
|
|
@@ -20390,7 +20390,7 @@ var require_resolve_block_map = __commonJS((exports2) => {
|
|
|
20390
20390
|
exports2.resolveBlockMap = resolveBlockMap;
|
|
20391
20391
|
});
|
|
20392
20392
|
|
|
20393
|
-
//
|
|
20393
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
20394
20394
|
var require_resolve_block_seq = __commonJS((exports2) => {
|
|
20395
20395
|
var YAMLSeq = require_YAMLSeq();
|
|
20396
20396
|
var resolveProps = require_resolve_props();
|
|
@@ -20438,7 +20438,7 @@ var require_resolve_block_seq = __commonJS((exports2) => {
|
|
|
20438
20438
|
exports2.resolveBlockSeq = resolveBlockSeq;
|
|
20439
20439
|
});
|
|
20440
20440
|
|
|
20441
|
-
//
|
|
20441
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
20442
20442
|
var require_resolve_end = __commonJS((exports2) => {
|
|
20443
20443
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
20444
20444
|
let comment = "";
|
|
@@ -20478,7 +20478,7 @@ var require_resolve_end = __commonJS((exports2) => {
|
|
|
20478
20478
|
exports2.resolveEnd = resolveEnd;
|
|
20479
20479
|
});
|
|
20480
20480
|
|
|
20481
|
-
//
|
|
20481
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
20482
20482
|
var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
20483
20483
|
var identity = require_identity();
|
|
20484
20484
|
var Pair = require_Pair();
|
|
@@ -20669,7 +20669,7 @@ var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
|
20669
20669
|
exports2.resolveFlowCollection = resolveFlowCollection;
|
|
20670
20670
|
});
|
|
20671
20671
|
|
|
20672
|
-
//
|
|
20672
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
20673
20673
|
var require_compose_collection = __commonJS((exports2) => {
|
|
20674
20674
|
var identity = require_identity();
|
|
20675
20675
|
var Scalar = require_Scalar();
|
|
@@ -20731,7 +20731,7 @@ var require_compose_collection = __commonJS((exports2) => {
|
|
|
20731
20731
|
exports2.composeCollection = composeCollection;
|
|
20732
20732
|
});
|
|
20733
20733
|
|
|
20734
|
-
//
|
|
20734
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
20735
20735
|
var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
20736
20736
|
var Scalar = require_Scalar();
|
|
20737
20737
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -20924,7 +20924,7 @@ var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
|
20924
20924
|
exports2.resolveBlockScalar = resolveBlockScalar;
|
|
20925
20925
|
});
|
|
20926
20926
|
|
|
20927
|
-
//
|
|
20927
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
20928
20928
|
var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
20929
20929
|
var Scalar = require_Scalar();
|
|
20930
20930
|
var resolveEnd = require_resolve_end();
|
|
@@ -21140,7 +21140,7 @@ var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
|
21140
21140
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
21141
21141
|
});
|
|
21142
21142
|
|
|
21143
|
-
//
|
|
21143
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
21144
21144
|
var require_compose_scalar = __commonJS((exports2) => {
|
|
21145
21145
|
var identity = require_identity();
|
|
21146
21146
|
var Scalar = require_Scalar();
|
|
@@ -21218,7 +21218,7 @@ var require_compose_scalar = __commonJS((exports2) => {
|
|
|
21218
21218
|
exports2.composeScalar = composeScalar;
|
|
21219
21219
|
});
|
|
21220
21220
|
|
|
21221
|
-
//
|
|
21221
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
21222
21222
|
var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
21223
21223
|
function emptyScalarPosition(offset, before, pos) {
|
|
21224
21224
|
if (before) {
|
|
@@ -21245,7 +21245,7 @@ var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
|
21245
21245
|
exports2.emptyScalarPosition = emptyScalarPosition;
|
|
21246
21246
|
});
|
|
21247
21247
|
|
|
21248
|
-
//
|
|
21248
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
21249
21249
|
var require_compose_node = __commonJS((exports2) => {
|
|
21250
21250
|
var Alias = require_Alias();
|
|
21251
21251
|
var identity = require_identity();
|
|
@@ -21348,7 +21348,7 @@ var require_compose_node = __commonJS((exports2) => {
|
|
|
21348
21348
|
exports2.composeNode = composeNode;
|
|
21349
21349
|
});
|
|
21350
21350
|
|
|
21351
|
-
//
|
|
21351
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
21352
21352
|
var require_compose_doc = __commonJS((exports2) => {
|
|
21353
21353
|
var Document = require_Document();
|
|
21354
21354
|
var composeNode = require_compose_node();
|
|
@@ -21388,7 +21388,7 @@ var require_compose_doc = __commonJS((exports2) => {
|
|
|
21388
21388
|
exports2.composeDoc = composeDoc;
|
|
21389
21389
|
});
|
|
21390
21390
|
|
|
21391
|
-
//
|
|
21391
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
21392
21392
|
var require_composer2 = __commonJS((exports2) => {
|
|
21393
21393
|
var node_process = __require("process");
|
|
21394
21394
|
var directives = require_directives();
|
|
@@ -21577,7 +21577,7 @@ ${end.comment}` : end.comment;
|
|
|
21577
21577
|
exports2.Composer = Composer;
|
|
21578
21578
|
});
|
|
21579
21579
|
|
|
21580
|
-
//
|
|
21580
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
21581
21581
|
var require_cst_scalar = __commonJS((exports2) => {
|
|
21582
21582
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
21583
21583
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -21767,7 +21767,7 @@ var require_cst_scalar = __commonJS((exports2) => {
|
|
|
21767
21767
|
exports2.setScalarValue = setScalarValue;
|
|
21768
21768
|
});
|
|
21769
21769
|
|
|
21770
|
-
//
|
|
21770
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
21771
21771
|
var require_cst_stringify = __commonJS((exports2) => {
|
|
21772
21772
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
21773
21773
|
function stringifyToken(token) {
|
|
@@ -21825,7 +21825,7 @@ var require_cst_stringify = __commonJS((exports2) => {
|
|
|
21825
21825
|
exports2.stringify = stringify;
|
|
21826
21826
|
});
|
|
21827
21827
|
|
|
21828
|
-
//
|
|
21828
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
21829
21829
|
var require_cst_visit = __commonJS((exports2) => {
|
|
21830
21830
|
var BREAK = Symbol("break visit");
|
|
21831
21831
|
var SKIP = Symbol("skip children");
|
|
@@ -21884,7 +21884,7 @@ var require_cst_visit = __commonJS((exports2) => {
|
|
|
21884
21884
|
exports2.visit = visit;
|
|
21885
21885
|
});
|
|
21886
21886
|
|
|
21887
|
-
//
|
|
21887
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
21888
21888
|
var require_cst = __commonJS((exports2) => {
|
|
21889
21889
|
var cstScalar = require_cst_scalar();
|
|
21890
21890
|
var cstStringify = require_cst_stringify();
|
|
@@ -21985,7 +21985,7 @@ var require_cst = __commonJS((exports2) => {
|
|
|
21985
21985
|
exports2.tokenType = tokenType;
|
|
21986
21986
|
});
|
|
21987
21987
|
|
|
21988
|
-
//
|
|
21988
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
21989
21989
|
var require_lexer = __commonJS((exports2) => {
|
|
21990
21990
|
var cst = require_cst();
|
|
21991
21991
|
function isEmpty2(ch) {
|
|
@@ -22571,7 +22571,7 @@ var require_lexer = __commonJS((exports2) => {
|
|
|
22571
22571
|
exports2.Lexer = Lexer;
|
|
22572
22572
|
});
|
|
22573
22573
|
|
|
22574
|
-
//
|
|
22574
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
22575
22575
|
var require_line_counter = __commonJS((exports2) => {
|
|
22576
22576
|
class LineCounter {
|
|
22577
22577
|
constructor() {
|
|
@@ -22599,7 +22599,7 @@ var require_line_counter = __commonJS((exports2) => {
|
|
|
22599
22599
|
exports2.LineCounter = LineCounter;
|
|
22600
22600
|
});
|
|
22601
22601
|
|
|
22602
|
-
//
|
|
22602
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
22603
22603
|
var require_parser = __commonJS((exports2) => {
|
|
22604
22604
|
var node_process = __require("process");
|
|
22605
22605
|
var cst = require_cst();
|
|
@@ -23448,7 +23448,7 @@ var require_parser = __commonJS((exports2) => {
|
|
|
23448
23448
|
exports2.Parser = Parser;
|
|
23449
23449
|
});
|
|
23450
23450
|
|
|
23451
|
-
//
|
|
23451
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
23452
23452
|
var require_public_api = __commonJS((exports2) => {
|
|
23453
23453
|
var composer = require_composer2();
|
|
23454
23454
|
var Document = require_Document();
|
|
@@ -23542,7 +23542,7 @@ var require_public_api = __commonJS((exports2) => {
|
|
|
23542
23542
|
exports2.stringify = stringify;
|
|
23543
23543
|
});
|
|
23544
23544
|
|
|
23545
|
-
//
|
|
23545
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
23546
23546
|
var composer, Document, Schema, errors2, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
|
|
23547
23547
|
var init_dist = __esm(() => {
|
|
23548
23548
|
composer = require_composer2();
|
|
@@ -23592,7 +23592,7 @@ var init_dist = __esm(() => {
|
|
|
23592
23592
|
});
|
|
23593
23593
|
|
|
23594
23594
|
// ../src/config/schema.ts
|
|
23595
|
-
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, HostControlConfigSchema, SwitchroomConfigSchema;
|
|
23595
|
+
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, HostControlConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
23596
23596
|
var init_schema = __esm(() => {
|
|
23597
23597
|
init_zod();
|
|
23598
23598
|
CodeRepoEntrySchema = exports_external.object({
|
|
@@ -23943,6 +23943,10 @@ var init_schema = __esm(() => {
|
|
|
23943
23943
|
HostControlConfigSchema = exports_external.object({
|
|
23944
23944
|
enabled: exports_external.boolean().default(true).describe("Whether the host-control daemon is in use. Default: true (since " + "RFC C Phase 2 default-flip \u2014 the gateway's /restart, /new, /reset, " + "and /update apply slash-commands all dispatch through hostd, and " + "without it those verbs fail on docker-mode installs because the " + "agent container has no docker binary/socket). " + "When true, the compose generator emits per-agent bind mounts " + "at `~/.switchroom/hostd/<name>/sock` for every admin-flagged " + "agent. Install the daemon with `switchroom hostd install` \u2014 " + "it runs as a docker container in its own compose project " + "(`switchroom-hostd`), separate from the agent fleet's compose " + "project so `up -d --remove-orphans` cycles of the fleet " + "can't recreate the daemon mid-RPC. See RFC C \u00a75.1. " + "Set enabled: false only on legacy systemd-mode installs that " + "still rely on the in-container `spawnSwitchroomDetached` " + "shellout (removal is tracked as RFC C Phase 3).")
|
|
23945
23945
|
});
|
|
23946
|
+
HostdConfigSchema = exports_external.object({
|
|
23947
|
+
config_edit_enabled: exports_external.boolean().default(false).describe("Opt-in toggle for the `config_propose_edit` hostd verb (RFC " + "admin-agent-config-edit \u00a73). Default false \u2014 the verb returns " + "`E_CONFIG_EDIT_DISABLED` until the operator explicitly flips " + "this to true. When true (and once PR 1c lands the apply path), " + "admin agents can propose unified-diff patches against " + "`/state/config/switchroom.yaml`, gated by an operator approval " + "card in the primary chat. Same trust posture as `update_apply` " + "and `agent_restart`: the human-in-the-loop tap is the security " + "boundary, not the agent's judgement."),
|
|
23948
|
+
config_edit_rate_per_hour: exports_external.number().int().min(1).max(20).default(3).describe("Per-requesting-agent rate cap for `config_propose_edit` cards " + "(RFC admin-agent-config-edit \u00a75). Default 3 cards/hour; min 1, " + "max 20. Implemented as a sqlite token bucket in PR 1c; the " + "field is wired here in PR 1a so operators can pin it before the " + "limiter is live. Above the cap, the verb returns " + "`E_RATE_LIMITED` without raising a card.")
|
|
23949
|
+
});
|
|
23946
23950
|
SwitchroomConfigSchema = exports_external.object({
|
|
23947
23951
|
switchroom: exports_external.object({
|
|
23948
23952
|
version: exports_external.literal(1).describe("Config schema version"),
|
|
@@ -23969,6 +23973,7 @@ var init_schema = __esm(() => {
|
|
|
23969
23973
|
google_workspace: GoogleWorkspaceConfigSchema.describe("RFC G canonical key. Top-level Google Workspace configuration \u2014 " + "OAuth client credentials, approver allowlist, and tier knob (`core` " + "| `extended` | `complete`, default `core`). Mutually exclusive with " + "`drive:` at the top level (loader fails fast if both are set)."),
|
|
23970
23974
|
quota: QuotaConfigSchema.optional().describe("Optional weekly/monthly USD spend budgets rendered in the session " + "greeting. Usage is read from ccusage at runtime; no network calls."),
|
|
23971
23975
|
host_control: HostControlConfigSchema.default({}).describe("Host-control daemon configuration. Defaults to enabled=true since " + "RFC C Phase 2 (docs/rfcs/host-control-daemon.md). Omit the block " + "to accept defaults; set `enabled: false` only on legacy systemd-" + "mode installs (removal tracked as RFC C Phase 3)."),
|
|
23976
|
+
hostd: HostdConfigSchema.default({}).describe("hostd verb-level knobs (RFC admin-agent-config-edit). Distinct " + "from `host_control:` which governs whether the daemon runs at " + "all. Currently scopes the opt-in flag and rate cap for the new " + "`config_propose_edit` verb (PR 1a \u2014 disabled by default)."),
|
|
23972
23977
|
google_accounts: exports_external.record(exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
|
|
23973
23978
|
message: "Account key must be a Google account email like 'alice@example.com' (colons not allowed)"
|
|
23974
23979
|
}).transform((v) => v.trim().toLowerCase()), exports_external.object({
|
|
@@ -25287,7 +25292,7 @@ function deriveSlug(inputs, existing) {
|
|
|
25287
25292
|
return `${base}_${n}`;
|
|
25288
25293
|
}
|
|
25289
25294
|
|
|
25290
|
-
//
|
|
25295
|
+
// ../../switchroom-sec-1417/node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
25291
25296
|
var require_lib = __commonJS((exports2) => {
|
|
25292
25297
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25293
25298
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -25334,7 +25339,7 @@ var require_lib = __commonJS((exports2) => {
|
|
|
25334
25339
|
exports2.binarySearch = binarySearch;
|
|
25335
25340
|
});
|
|
25336
25341
|
|
|
25337
|
-
//
|
|
25342
|
+
// ../../switchroom-sec-1417/node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
25338
25343
|
var require_structured_source = __commonJS((exports2) => {
|
|
25339
25344
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25340
25345
|
exports2.StructuredSource = undefined;
|
|
@@ -25389,13 +25394,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
25389
25394
|
}
|
|
25390
25395
|
exports2.StructuredSource = StructuredSource;
|
|
25391
25396
|
});
|
|
25392
|
-
//
|
|
25397
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
25393
25398
|
var import_structured_source;
|
|
25394
25399
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
25395
25400
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
25396
25401
|
});
|
|
25397
25402
|
|
|
25398
|
-
//
|
|
25403
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
25399
25404
|
class EventEmitter {
|
|
25400
25405
|
#listeners = new Map;
|
|
25401
25406
|
on(type, listener) {
|
|
@@ -25434,9 +25439,9 @@ class EventEmitter {
|
|
|
25434
25439
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
25435
25440
|
}
|
|
25436
25441
|
}
|
|
25437
|
-
//
|
|
25442
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
25438
25443
|
var init_RuleContext = () => {};
|
|
25439
|
-
//
|
|
25444
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
25440
25445
|
class SecretLintProfiler {
|
|
25441
25446
|
perf;
|
|
25442
25447
|
entries = [];
|
|
@@ -25493,7 +25498,7 @@ class SecretLintProfiler {
|
|
|
25493
25498
|
}
|
|
25494
25499
|
}
|
|
25495
25500
|
|
|
25496
|
-
//
|
|
25501
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
25497
25502
|
import perf_hooks from "node:perf_hooks";
|
|
25498
25503
|
|
|
25499
25504
|
class NullPerformanceObserver {
|
|
@@ -25508,19 +25513,19 @@ var init_node = __esm(() => {
|
|
|
25508
25513
|
});
|
|
25509
25514
|
});
|
|
25510
25515
|
|
|
25511
|
-
//
|
|
25516
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
25512
25517
|
var init_RunningEvents = __esm(() => {
|
|
25513
25518
|
init_node();
|
|
25514
25519
|
});
|
|
25515
25520
|
|
|
25516
|
-
//
|
|
25521
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
25517
25522
|
var init_RulePresetContext = __esm(() => {
|
|
25518
25523
|
init_RuleContext();
|
|
25519
25524
|
});
|
|
25520
|
-
//
|
|
25525
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
25521
25526
|
var init_messages = () => {};
|
|
25522
25527
|
|
|
25523
|
-
//
|
|
25528
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
25524
25529
|
var import_debug, debug;
|
|
25525
25530
|
var init_module = __esm(() => {
|
|
25526
25531
|
init_SecretLintSourceCodeImpl();
|
|
@@ -25533,7 +25538,7 @@ var init_module = __esm(() => {
|
|
|
25533
25538
|
debug = import_debug.default("@secretlint/core");
|
|
25534
25539
|
});
|
|
25535
25540
|
|
|
25536
|
-
//
|
|
25541
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
25537
25542
|
function requireLodash_uniq() {
|
|
25538
25543
|
if (hasRequiredLodash_uniq)
|
|
25539
25544
|
return lodash_uniq;
|
|
@@ -32201,7 +32206,7 @@ function clear(key) {
|
|
|
32201
32206
|
state.delete(key);
|
|
32202
32207
|
}
|
|
32203
32208
|
|
|
32204
|
-
//
|
|
32209
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
32205
32210
|
import { dirname as dirname2, posix, sep as sep2 } from "path";
|
|
32206
32211
|
function createModulerModifier() {
|
|
32207
32212
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -32237,7 +32242,7 @@ function normalizeWindowsPath(path) {
|
|
|
32237
32242
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
32238
32243
|
}
|
|
32239
32244
|
|
|
32240
|
-
//
|
|
32245
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
32241
32246
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
32242
32247
|
if ("flags" in flagsResponse) {
|
|
32243
32248
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -32308,7 +32313,7 @@ var parsePayload = (response) => {
|
|
|
32308
32313
|
}
|
|
32309
32314
|
};
|
|
32310
32315
|
|
|
32311
|
-
//
|
|
32316
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
32312
32317
|
function isGzipSupported() {
|
|
32313
32318
|
return "CompressionStream" in globalThis;
|
|
32314
32319
|
}
|
|
@@ -32328,7 +32333,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
32328
32333
|
}
|
|
32329
32334
|
}
|
|
32330
32335
|
|
|
32331
|
-
//
|
|
32336
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
32332
32337
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
32333
32338
|
var DIGITS = "0123456789abcdef";
|
|
32334
32339
|
|
|
@@ -32506,7 +32511,7 @@ var defaultGenerator;
|
|
|
32506
32511
|
var uuidv7 = () => uuidv7obj().toString();
|
|
32507
32512
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
32508
32513
|
|
|
32509
|
-
//
|
|
32514
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
32510
32515
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
32511
32516
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
32512
32517
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -32539,7 +32544,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
32539
32544
|
return PostHogPersistedProperty;
|
|
32540
32545
|
}({});
|
|
32541
32546
|
|
|
32542
|
-
//
|
|
32547
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
32543
32548
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
32544
32549
|
"amazonbot",
|
|
32545
32550
|
"amazonproductbot",
|
|
@@ -32628,7 +32633,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
32628
32633
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
32629
32634
|
});
|
|
32630
32635
|
};
|
|
32631
|
-
//
|
|
32636
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
32632
32637
|
var nativeIsArray = Array.isArray;
|
|
32633
32638
|
var ObjProto = Object.prototype;
|
|
32634
32639
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -32665,7 +32670,7 @@ function isInstanceOf(candidate, base) {
|
|
|
32665
32670
|
}
|
|
32666
32671
|
}
|
|
32667
32672
|
|
|
32668
|
-
//
|
|
32673
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
32669
32674
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
32670
32675
|
if (min > max) {
|
|
32671
32676
|
logger.warn("min cannot be greater than max.");
|
|
@@ -32685,7 +32690,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
32685
32690
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
32686
32691
|
}
|
|
32687
32692
|
|
|
32688
|
-
//
|
|
32693
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
32689
32694
|
var ONE_DAY_IN_MS = 86400000;
|
|
32690
32695
|
|
|
32691
32696
|
class BucketedRateLimiter {
|
|
@@ -32729,7 +32734,7 @@ class BucketedRateLimiter {
|
|
|
32729
32734
|
this._buckets = {};
|
|
32730
32735
|
}
|
|
32731
32736
|
}
|
|
32732
|
-
//
|
|
32737
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
32733
32738
|
class PromiseQueue {
|
|
32734
32739
|
add(promise) {
|
|
32735
32740
|
const promiseUUID = uuidv7();
|
|
@@ -32755,7 +32760,7 @@ class PromiseQueue {
|
|
|
32755
32760
|
this.promiseByIds = {};
|
|
32756
32761
|
}
|
|
32757
32762
|
}
|
|
32758
|
-
//
|
|
32763
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
32759
32764
|
function createConsole(consoleLike = console) {
|
|
32760
32765
|
const lockedMethods = {
|
|
32761
32766
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -32793,7 +32798,7 @@ var passThrough = (fn) => fn();
|
|
|
32793
32798
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
32794
32799
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
32795
32800
|
}
|
|
32796
|
-
//
|
|
32801
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
32797
32802
|
var MOBILE = "Mobile";
|
|
32798
32803
|
var IOS = "iOS";
|
|
32799
32804
|
var ANDROID = "Android";
|
|
@@ -33050,7 +33055,7 @@ var osMatchers = [
|
|
|
33050
33055
|
]
|
|
33051
33056
|
];
|
|
33052
33057
|
|
|
33053
|
-
//
|
|
33058
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
33054
33059
|
var STRING_FORMAT = "utf8";
|
|
33055
33060
|
function assert(truthyValue, message) {
|
|
33056
33061
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -33098,7 +33103,7 @@ function allSettled(promises) {
|
|
|
33098
33103
|
reason
|
|
33099
33104
|
}))));
|
|
33100
33105
|
}
|
|
33101
|
-
//
|
|
33106
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
33102
33107
|
class SimpleEventEmitter {
|
|
33103
33108
|
constructor() {
|
|
33104
33109
|
this.events = {};
|
|
@@ -33120,7 +33125,7 @@ class SimpleEventEmitter {
|
|
|
33120
33125
|
}
|
|
33121
33126
|
}
|
|
33122
33127
|
|
|
33123
|
-
//
|
|
33128
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
33124
33129
|
class PostHogFetchHttpError extends Error {
|
|
33125
33130
|
constructor(response, reqByteLength) {
|
|
33126
33131
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -33835,7 +33840,7 @@ class PostHogCoreStateless {
|
|
|
33835
33840
|
return this.shutdownPromise;
|
|
33836
33841
|
}
|
|
33837
33842
|
}
|
|
33838
|
-
//
|
|
33843
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
33839
33844
|
var exports_error_tracking = {};
|
|
33840
33845
|
__export(exports_error_tracking, {
|
|
33841
33846
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -33859,7 +33864,7 @@ __export(exports_error_tracking, {
|
|
|
33859
33864
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
33860
33865
|
});
|
|
33861
33866
|
|
|
33862
|
-
//
|
|
33867
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
33863
33868
|
var parsedStackResults;
|
|
33864
33869
|
var lastKeysCount;
|
|
33865
33870
|
var cachedFilenameChunkIds;
|
|
@@ -33898,7 +33903,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
33898
33903
|
return cachedFilenameChunkIds;
|
|
33899
33904
|
}
|
|
33900
33905
|
|
|
33901
|
-
//
|
|
33906
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
33902
33907
|
var MAX_CAUSE_RECURSION = 4;
|
|
33903
33908
|
|
|
33904
33909
|
class ErrorPropertiesBuilder {
|
|
@@ -34020,7 +34025,7 @@ class ErrorPropertiesBuilder {
|
|
|
34020
34025
|
return context;
|
|
34021
34026
|
}
|
|
34022
34027
|
}
|
|
34023
|
-
//
|
|
34028
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
34024
34029
|
var UNKNOWN_FUNCTION = "?";
|
|
34025
34030
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
34026
34031
|
const frame = {
|
|
@@ -34036,7 +34041,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
34036
34041
|
return frame;
|
|
34037
34042
|
}
|
|
34038
34043
|
|
|
34039
|
-
//
|
|
34044
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
34040
34045
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
34041
34046
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
34042
34047
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -34049,7 +34054,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
34049
34054
|
];
|
|
34050
34055
|
};
|
|
34051
34056
|
|
|
34052
|
-
//
|
|
34057
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
34053
34058
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
34054
34059
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
34055
34060
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -34075,7 +34080,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
34075
34080
|
}
|
|
34076
34081
|
};
|
|
34077
34082
|
|
|
34078
|
-
//
|
|
34083
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
34079
34084
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
34080
34085
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
34081
34086
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -34098,14 +34103,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
34098
34103
|
}
|
|
34099
34104
|
};
|
|
34100
34105
|
|
|
34101
|
-
//
|
|
34106
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
34102
34107
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
34103
34108
|
var winjsStackLineParser = (line, platform) => {
|
|
34104
34109
|
const parts = winjsRegex.exec(line);
|
|
34105
34110
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
34106
34111
|
};
|
|
34107
34112
|
|
|
34108
|
-
//
|
|
34113
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
34109
34114
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
34110
34115
|
var opera10StackLineParser = (line, platform) => {
|
|
34111
34116
|
const parts = opera10Regex.exec(line);
|
|
@@ -34117,7 +34122,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
34117
34122
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
34118
34123
|
};
|
|
34119
34124
|
|
|
34120
|
-
//
|
|
34125
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
34121
34126
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
34122
34127
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
34123
34128
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -34186,7 +34191,7 @@ function _parseIntOrUndefined(input) {
|
|
|
34186
34191
|
return parseInt(input || "", 10) || undefined;
|
|
34187
34192
|
}
|
|
34188
34193
|
|
|
34189
|
-
//
|
|
34194
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
34190
34195
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
34191
34196
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
34192
34197
|
function reverseAndStripFrames(stack) {
|
|
@@ -34231,7 +34236,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
34231
34236
|
return reverseAndStripFrames(frames);
|
|
34232
34237
|
};
|
|
34233
34238
|
}
|
|
34234
|
-
//
|
|
34239
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
34235
34240
|
class DOMExceptionCoercer {
|
|
34236
34241
|
match(err) {
|
|
34237
34242
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -34261,7 +34266,7 @@ class DOMExceptionCoercer {
|
|
|
34261
34266
|
return isBuiltin(err, "DOMError");
|
|
34262
34267
|
}
|
|
34263
34268
|
}
|
|
34264
|
-
//
|
|
34269
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
34265
34270
|
class ErrorCoercer {
|
|
34266
34271
|
match(err) {
|
|
34267
34272
|
return isPlainError(err);
|
|
@@ -34288,7 +34293,7 @@ class ErrorCoercer {
|
|
|
34288
34293
|
return err.stacktrace || err.stack || undefined;
|
|
34289
34294
|
}
|
|
34290
34295
|
}
|
|
34291
|
-
//
|
|
34296
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
34292
34297
|
class ErrorEventCoercer {
|
|
34293
34298
|
constructor() {}
|
|
34294
34299
|
match(err) {
|
|
@@ -34306,7 +34311,7 @@ class ErrorEventCoercer {
|
|
|
34306
34311
|
return exceptionLike;
|
|
34307
34312
|
}
|
|
34308
34313
|
}
|
|
34309
|
-
//
|
|
34314
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
34310
34315
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
34311
34316
|
|
|
34312
34317
|
class StringCoercer {
|
|
@@ -34336,7 +34341,7 @@ class StringCoercer {
|
|
|
34336
34341
|
];
|
|
34337
34342
|
}
|
|
34338
34343
|
}
|
|
34339
|
-
//
|
|
34344
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
34340
34345
|
var severityLevels = [
|
|
34341
34346
|
"fatal",
|
|
34342
34347
|
"error",
|
|
@@ -34346,7 +34351,7 @@ var severityLevels = [
|
|
|
34346
34351
|
"debug"
|
|
34347
34352
|
];
|
|
34348
34353
|
|
|
34349
|
-
//
|
|
34354
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
34350
34355
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
34351
34356
|
const keys = Object.keys(err);
|
|
34352
34357
|
keys.sort();
|
|
@@ -34363,7 +34368,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
34363
34368
|
return "";
|
|
34364
34369
|
}
|
|
34365
34370
|
|
|
34366
|
-
//
|
|
34371
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
34367
34372
|
class ObjectCoercer {
|
|
34368
34373
|
match(candidate) {
|
|
34369
34374
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -34416,7 +34421,7 @@ class ObjectCoercer {
|
|
|
34416
34421
|
}
|
|
34417
34422
|
}
|
|
34418
34423
|
}
|
|
34419
|
-
//
|
|
34424
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
34420
34425
|
class EventCoercer {
|
|
34421
34426
|
match(err) {
|
|
34422
34427
|
return isEvent(err);
|
|
@@ -34431,7 +34436,7 @@ class EventCoercer {
|
|
|
34431
34436
|
};
|
|
34432
34437
|
}
|
|
34433
34438
|
}
|
|
34434
|
-
//
|
|
34439
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
34435
34440
|
class PrimitiveCoercer {
|
|
34436
34441
|
match(candidate) {
|
|
34437
34442
|
return isPrimitive(candidate);
|
|
@@ -34445,7 +34450,7 @@ class PrimitiveCoercer {
|
|
|
34445
34450
|
};
|
|
34446
34451
|
}
|
|
34447
34452
|
}
|
|
34448
|
-
//
|
|
34453
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
34449
34454
|
class PromiseRejectionEventCoercer {
|
|
34450
34455
|
match(err) {
|
|
34451
34456
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -34481,7 +34486,7 @@ class PromiseRejectionEventCoercer {
|
|
|
34481
34486
|
return error;
|
|
34482
34487
|
}
|
|
34483
34488
|
}
|
|
34484
|
-
//
|
|
34489
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
34485
34490
|
class ReduceableCache {
|
|
34486
34491
|
constructor(_maxSize) {
|
|
34487
34492
|
this._maxSize = _maxSize;
|
|
@@ -34506,7 +34511,7 @@ class ReduceableCache {
|
|
|
34506
34511
|
}
|
|
34507
34512
|
}
|
|
34508
34513
|
}
|
|
34509
|
-
//
|
|
34514
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
34510
34515
|
import { createReadStream } from "node:fs";
|
|
34511
34516
|
import { createInterface } from "node:readline";
|
|
34512
34517
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -34724,7 +34729,7 @@ function snipLine(line, colno) {
|
|
|
34724
34729
|
return newLine;
|
|
34725
34730
|
}
|
|
34726
34731
|
|
|
34727
|
-
//
|
|
34732
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
34728
34733
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
34729
34734
|
let calledFatalError = false;
|
|
34730
34735
|
return Object.assign((error) => {
|
|
@@ -34756,7 +34761,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
34756
34761
|
}));
|
|
34757
34762
|
}
|
|
34758
34763
|
|
|
34759
|
-
//
|
|
34764
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
34760
34765
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
34761
34766
|
|
|
34762
34767
|
class ErrorTracking {
|
|
@@ -34825,10 +34830,10 @@ class ErrorTracking {
|
|
|
34825
34830
|
}
|
|
34826
34831
|
}
|
|
34827
34832
|
|
|
34828
|
-
//
|
|
34833
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
34829
34834
|
var version = "5.29.2";
|
|
34830
34835
|
|
|
34831
|
-
//
|
|
34836
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
34832
34837
|
var FeatureFlagError2 = {
|
|
34833
34838
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
34834
34839
|
FLAG_MISSING: "flag_missing",
|
|
@@ -34836,7 +34841,7 @@ var FeatureFlagError2 = {
|
|
|
34836
34841
|
UNKNOWN_ERROR: "unknown_error"
|
|
34837
34842
|
};
|
|
34838
34843
|
|
|
34839
|
-
//
|
|
34844
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
34840
34845
|
async function hashSHA1(text) {
|
|
34841
34846
|
const subtle = globalThis.crypto?.subtle;
|
|
34842
34847
|
if (!subtle)
|
|
@@ -34846,7 +34851,7 @@ async function hashSHA1(text) {
|
|
|
34846
34851
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
34847
34852
|
}
|
|
34848
34853
|
|
|
34849
|
-
//
|
|
34854
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
34850
34855
|
var SIXTY_SECONDS = 60000;
|
|
34851
34856
|
var LONG_SCALE = 1152921504606847000;
|
|
34852
34857
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -35720,7 +35725,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
35720
35725
|
}
|
|
35721
35726
|
}
|
|
35722
35727
|
|
|
35723
|
-
//
|
|
35728
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
35724
35729
|
class PostHogMemoryStorage {
|
|
35725
35730
|
getProperty(key) {
|
|
35726
35731
|
return this._memoryStorage[key];
|
|
@@ -35733,7 +35738,7 @@ class PostHogMemoryStorage {
|
|
|
35733
35738
|
}
|
|
35734
35739
|
}
|
|
35735
35740
|
|
|
35736
|
-
//
|
|
35741
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
35737
35742
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
35738
35743
|
var THIRTY_SECONDS = 30000;
|
|
35739
35744
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -36521,7 +36526,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
36521
36526
|
}
|
|
36522
36527
|
}
|
|
36523
36528
|
|
|
36524
|
-
//
|
|
36529
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
36525
36530
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
36526
36531
|
|
|
36527
36532
|
class PostHogContext {
|
|
@@ -36552,7 +36557,7 @@ class PostHogContext {
|
|
|
36552
36557
|
}
|
|
36553
36558
|
}
|
|
36554
36559
|
|
|
36555
|
-
//
|
|
36560
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
36556
36561
|
var NAME = "posthog-node";
|
|
36557
36562
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
36558
36563
|
"error"
|
|
@@ -36620,7 +36625,7 @@ class PostHogSentryIntegration {
|
|
|
36620
36625
|
};
|
|
36621
36626
|
}
|
|
36622
36627
|
}
|
|
36623
|
-
//
|
|
36628
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
36624
36629
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
36625
36630
|
new exports_error_tracking.EventCoercer,
|
|
36626
36631
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -36904,6 +36909,7 @@ function classifyInbound(text) {
|
|
|
36904
36909
|
|
|
36905
36910
|
// silence-poke.ts
|
|
36906
36911
|
var DEFAULT_THRESHOLDS = {
|
|
36912
|
+
ack: 1e4,
|
|
36907
36913
|
soft: 75000,
|
|
36908
36914
|
firm: 180000,
|
|
36909
36915
|
fallback: 300000,
|
|
@@ -36929,6 +36935,7 @@ function startTurn(key, now) {
|
|
|
36929
36935
|
subagentDispatchActive: false,
|
|
36930
36936
|
lastThinkingAt: null,
|
|
36931
36937
|
fallbackFired: false,
|
|
36938
|
+
ackPokeFired: false,
|
|
36932
36939
|
lastPokeFiredAt: null,
|
|
36933
36940
|
inFlightTools: new Map
|
|
36934
36941
|
});
|
|
@@ -36990,6 +36997,9 @@ function endTurn(key) {
|
|
|
36990
36997
|
state2.delete(key);
|
|
36991
36998
|
}
|
|
36992
36999
|
function formatPokeText(level) {
|
|
37000
|
+
if (level === "ack") {
|
|
37001
|
+
return "[silence-poke] You haven't sent the user anything yet this turn \u2014 " + "they are looking at a silent chat. Send a short, human one-line " + 'acknowledgement now via `reply` (e.g. "on it \u2014 checking"), in your ' + "persona's voice, before you do any more work. A good colleague " + "answers in a beat; don't leave the message hanging while you think. " + "If the full answer is genuinely seconds away, send that instead.";
|
|
37002
|
+
}
|
|
36993
37003
|
if (level === "soft") {
|
|
36994
37004
|
return "[silence-poke] You've been silent to the user for 75s. If you're " + "still working on this, send one short conversational reply \u2014 e.g. " + `"still going, working through X" \u2014 so they know you're alive. ` + "Keep it brief; don't restate the task. If you're about to finish " + "within the next few seconds, skip the update.";
|
|
36995
37005
|
}
|
|
@@ -37030,6 +37040,19 @@ function tick(now) {
|
|
|
37030
37040
|
if (silence < 0)
|
|
37031
37041
|
continue;
|
|
37032
37042
|
const softThreshold = s.subagentDispatchActive ? thresholds.subagentSoft : thresholds.soft;
|
|
37043
|
+
if (!s.ackPokeFired && s.lastOutboundAt == null && s.pokesFired === 0 && silence >= thresholds.ack) {
|
|
37044
|
+
s.pokeArmed = { level: "ack" };
|
|
37045
|
+
s.ackPokeFired = true;
|
|
37046
|
+
s.lastPokeFiredAt = now;
|
|
37047
|
+
activeDeps.emitMetric({
|
|
37048
|
+
kind: "silence_poke_fired",
|
|
37049
|
+
key,
|
|
37050
|
+
level: "ack",
|
|
37051
|
+
silence_ms: silence,
|
|
37052
|
+
subagent_wait: s.subagentDispatchActive
|
|
37053
|
+
});
|
|
37054
|
+
continue;
|
|
37055
|
+
}
|
|
37033
37056
|
if (s.pokesFired === 0 && silence >= softThreshold) {
|
|
37034
37057
|
s.pokeArmed = { level: "soft" };
|
|
37035
37058
|
s.pokesFired = 1;
|
|
@@ -39324,7 +39347,9 @@ function detectModelUnavailable(stderr) {
|
|
|
39324
39347
|
"quota exhausted",
|
|
39325
39348
|
"quota_exhausted",
|
|
39326
39349
|
"plan limit",
|
|
39327
|
-
"subscription limit"
|
|
39350
|
+
"subscription limit",
|
|
39351
|
+
"hit your limit",
|
|
39352
|
+
"hit the limit"
|
|
39328
39353
|
];
|
|
39329
39354
|
if (quotaSignals.some((s) => lower.includes(s))) {
|
|
39330
39355
|
const resetAt = parseResetTime(sample);
|
|
@@ -42783,6 +42808,15 @@ var AgentSmokeRequestSchema = exports_external.object({
|
|
|
42783
42808
|
deep: exports_external.boolean().optional()
|
|
42784
42809
|
})
|
|
42785
42810
|
});
|
|
42811
|
+
var ConfigProposeEditRequestSchema = exports_external.object({
|
|
42812
|
+
...RequestEnvelope,
|
|
42813
|
+
op: exports_external.literal("config_propose_edit"),
|
|
42814
|
+
args: exports_external.object({
|
|
42815
|
+
unified_diff: exports_external.string().min(1).max(MAX_FRAME_BYTES3 - 1024),
|
|
42816
|
+
reason: exports_external.string().min(1).max(500),
|
|
42817
|
+
target_path: exports_external.literal("/state/config/switchroom.yaml")
|
|
42818
|
+
})
|
|
42819
|
+
});
|
|
42786
42820
|
var RequestSchema3 = exports_external.discriminatedUnion("op", [
|
|
42787
42821
|
AgentRestartRequestSchema,
|
|
42788
42822
|
UpgradeStatusRequestSchema,
|
|
@@ -42795,7 +42829,8 @@ var RequestSchema3 = exports_external.discriminatedUnion("op", [
|
|
|
42795
42829
|
AgentLogsRequestSchema,
|
|
42796
42830
|
AgentExecRequestSchema,
|
|
42797
42831
|
DoctorRequestSchema,
|
|
42798
|
-
AgentSmokeRequestSchema
|
|
42832
|
+
AgentSmokeRequestSchema,
|
|
42833
|
+
ConfigProposeEditRequestSchema
|
|
42799
42834
|
]);
|
|
42800
42835
|
var ResultSchema = exports_external.enum(["started", "completed", "denied", "error"]);
|
|
42801
42836
|
var ResponseEnvelope = {
|
|
@@ -44005,6 +44040,10 @@ function chatKey(chatId, threadId) {
|
|
|
44005
44040
|
function chatKeyWithSuffix(chatId, threadId, suffix) {
|
|
44006
44041
|
return `${chatKey(chatId, threadId)}:${suffix}`;
|
|
44007
44042
|
}
|
|
44043
|
+
function chatIdOfChatKey(key) {
|
|
44044
|
+
const idx = key.indexOf(":");
|
|
44045
|
+
return idx === -1 ? key : key.slice(0, idx);
|
|
44046
|
+
}
|
|
44008
44047
|
|
|
44009
44048
|
// gateway/inbound-delivery-machine.ts
|
|
44010
44049
|
function initialState() {
|
|
@@ -47702,11 +47741,11 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
|
|
|
47702
47741
|
}
|
|
47703
47742
|
|
|
47704
47743
|
// ../src/build-info.ts
|
|
47705
|
-
var VERSION = "0.13.
|
|
47706
|
-
var COMMIT_SHA = "
|
|
47707
|
-
var COMMIT_DATE = "2026-05-
|
|
47708
|
-
var LATEST_PR =
|
|
47709
|
-
var COMMITS_AHEAD_OF_TAG =
|
|
47744
|
+
var VERSION = "0.13.7";
|
|
47745
|
+
var COMMIT_SHA = "84d28022";
|
|
47746
|
+
var COMMIT_DATE = "2026-05-22T08:53:51+10:00";
|
|
47747
|
+
var LATEST_PR = null;
|
|
47748
|
+
var COMMITS_AHEAD_OF_TAG = 2;
|
|
47710
47749
|
|
|
47711
47750
|
// gateway/boot-version.ts
|
|
47712
47751
|
function formatRelativeAgo(iso) {
|
|
@@ -48663,6 +48702,7 @@ function purgeReactionTracking(key, endingTurn) {
|
|
|
48663
48702
|
activeStatusReactions.delete(key);
|
|
48664
48703
|
activeReactionMsgIds.delete(key);
|
|
48665
48704
|
activeTurnStartedAt.delete(key);
|
|
48705
|
+
stopTurnTypingLoop(chatIdOfChatKey(key));
|
|
48666
48706
|
if (msgInfo) {
|
|
48667
48707
|
const agentDir = resolveAgentDirFromEnv();
|
|
48668
48708
|
if (agentDir != null)
|
|
@@ -48964,6 +49004,22 @@ function stopTypingLoop(chat_id) {
|
|
|
48964
49004
|
typingRetryTimers.delete(chat_id);
|
|
48965
49005
|
}
|
|
48966
49006
|
}
|
|
49007
|
+
var turnTypingIntervals = new Map;
|
|
49008
|
+
function startTurnTypingLoop(chat_id) {
|
|
49009
|
+
stopTurnTypingLoop(chat_id);
|
|
49010
|
+
const send = () => {
|
|
49011
|
+
bot.api.sendChatAction(chat_id, "typing").catch(() => {});
|
|
49012
|
+
};
|
|
49013
|
+
send();
|
|
49014
|
+
turnTypingIntervals.set(chat_id, setInterval(send, 4000));
|
|
49015
|
+
}
|
|
49016
|
+
function stopTurnTypingLoop(chat_id) {
|
|
49017
|
+
const iv = turnTypingIntervals.get(chat_id);
|
|
49018
|
+
if (iv) {
|
|
49019
|
+
clearInterval(iv);
|
|
49020
|
+
turnTypingIntervals.delete(chat_id);
|
|
49021
|
+
}
|
|
49022
|
+
}
|
|
48967
49023
|
var typingWrapper = createTypingWrapper({
|
|
48968
49024
|
startTypingLoop,
|
|
48969
49025
|
stopTypingLoop,
|
|
@@ -52349,6 +52405,7 @@ ${preBlock(write.output)}`;
|
|
|
52349
52405
|
logStreamingEvent({ kind: "inbound_ack", chatId: chat_id, messageId: msgId, ackDelayMs: Date.now() - inboundReceivedAt });
|
|
52350
52406
|
reset(statusKey(chat_id, messageThreadId), Date.now());
|
|
52351
52407
|
startTurn(statusKey(chat_id, messageThreadId), Date.now());
|
|
52408
|
+
startTurnTypingLoop(chat_id);
|
|
52352
52409
|
emitRuntimeMetric({
|
|
52353
52410
|
kind: "turn_started",
|
|
52354
52411
|
chat_id,
|
|
@@ -56509,6 +56566,9 @@ async function shutdown(signal) {
|
|
|
56509
56566
|
for (const iv of [...typingIntervals.values()])
|
|
56510
56567
|
clearInterval(iv);
|
|
56511
56568
|
typingIntervals.clear();
|
|
56569
|
+
for (const iv of [...turnTypingIntervals.values()])
|
|
56570
|
+
clearInterval(iv);
|
|
56571
|
+
turnTypingIntervals.clear();
|
|
56512
56572
|
for (const t of [...typingRetryTimers.values()])
|
|
56513
56573
|
clearTimeout(t);
|
|
56514
56574
|
typingRetryTimers.clear();
|