switchroom 0.14.41 → 0.14.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-scheduler/index.js +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +82 -82
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +357 -357
- package/dist/host-control/main.js +148 -148
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +83 -83
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +396 -212
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/gateway.ts +126 -29
- package/telegram-plugin/gateway/subagent-handback-inbound-builder.ts +22 -0
- package/telegram-plugin/gateway/subagent-progress-inbound-builder.ts +13 -0
- package/telegram-plugin/subagent-watcher.ts +44 -0
- package/telegram-plugin/tests/subagent-handback-decision.test.ts +32 -0
- package/telegram-plugin/tests/subagent-handback-inbound-builder.test.ts +35 -0
- package/telegram-plugin/tests/subagent-progress-inbound-builder.test.ts +56 -0
- package/telegram-plugin/tests/subagent-watcher.test.ts +42 -0
- package/telegram-plugin/uat/driver.ts +41 -0
- package/telegram-plugin/uat/scenarios/fuzz-human-style-dm.test.ts +17 -10
- package/telegram-plugin/uat/scenarios/fuzz-supergroup-channel.test.ts +136 -0
- package/telegram-plugin/uat/scenarios/jtbd-rapid-followup-dm.test.ts +9 -7
- package/telegram-plugin/uat/scenarios/jtbd-supergroup-reply-channel.test.ts +102 -0
|
@@ -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)
|
|
@@ -6587,7 +6587,7 @@ function cleanWorkerResultParagraph(s) {
|
|
|
6587
6587
|
return kept.join(" ").replace(/\s+/g, " ").trim();
|
|
6588
6588
|
}
|
|
6589
6589
|
|
|
6590
|
-
//
|
|
6590
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
|
|
6591
6591
|
var require_mod4 = __commonJS((exports) => {
|
|
6592
6592
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6593
6593
|
if (k2 === undefined)
|
|
@@ -6619,7 +6619,7 @@ var require_mod4 = __commonJS((exports) => {
|
|
|
6619
6619
|
__exportStar(require_worker(), exports);
|
|
6620
6620
|
});
|
|
6621
6621
|
|
|
6622
|
-
//
|
|
6622
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@xterm+headless@6.0.0/node_modules/@xterm/headless/lib-headless/xterm-headless.js
|
|
6623
6623
|
var require_xterm_headless = __commonJS((exports2) => {
|
|
6624
6624
|
(() => {
|
|
6625
6625
|
var e = { 5639: (e2, t2, s2) => {
|
|
@@ -12174,7 +12174,7 @@ ${i3.join(`
|
|
|
12174
12174
|
})();
|
|
12175
12175
|
});
|
|
12176
12176
|
|
|
12177
|
-
//
|
|
12177
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
12178
12178
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
12179
12179
|
const t = typeof data;
|
|
12180
12180
|
switch (t) {
|
|
@@ -12305,7 +12305,7 @@ var init_util = __esm(() => {
|
|
|
12305
12305
|
]);
|
|
12306
12306
|
});
|
|
12307
12307
|
|
|
12308
|
-
//
|
|
12308
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
12309
12309
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
12310
12310
|
const json = JSON.stringify(obj, null, 2);
|
|
12311
12311
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -12426,7 +12426,7 @@ var init_ZodError = __esm(() => {
|
|
|
12426
12426
|
};
|
|
12427
12427
|
});
|
|
12428
12428
|
|
|
12429
|
-
//
|
|
12429
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
12430
12430
|
var errorMap = (issue, _ctx) => {
|
|
12431
12431
|
let message;
|
|
12432
12432
|
switch (issue.code) {
|
|
@@ -12533,7 +12533,7 @@ var init_en = __esm(() => {
|
|
|
12533
12533
|
en_default = errorMap;
|
|
12534
12534
|
});
|
|
12535
12535
|
|
|
12536
|
-
//
|
|
12536
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
12537
12537
|
function setErrorMap(map) {
|
|
12538
12538
|
overrideErrorMap = map;
|
|
12539
12539
|
}
|
|
@@ -12546,7 +12546,7 @@ var init_errors = __esm(() => {
|
|
|
12546
12546
|
overrideErrorMap = en_default;
|
|
12547
12547
|
});
|
|
12548
12548
|
|
|
12549
|
-
//
|
|
12549
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
12550
12550
|
function addIssueToContext(ctx, issueData) {
|
|
12551
12551
|
const overrideMap = getErrorMap();
|
|
12552
12552
|
const issue = makeIssue({
|
|
@@ -12651,10 +12651,10 @@ var init_parseUtil = __esm(() => {
|
|
|
12651
12651
|
});
|
|
12652
12652
|
});
|
|
12653
12653
|
|
|
12654
|
-
//
|
|
12654
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
12655
12655
|
var init_typeAliases = () => {};
|
|
12656
12656
|
|
|
12657
|
-
//
|
|
12657
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
12658
12658
|
var errorUtil;
|
|
12659
12659
|
var init_errorUtil = __esm(() => {
|
|
12660
12660
|
(function(errorUtil2) {
|
|
@@ -12663,7 +12663,7 @@ var init_errorUtil = __esm(() => {
|
|
|
12663
12663
|
})(errorUtil || (errorUtil = {}));
|
|
12664
12664
|
});
|
|
12665
12665
|
|
|
12666
|
-
//
|
|
12666
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
12667
12667
|
class ParseInputLazyPath {
|
|
12668
12668
|
constructor(parent, value, path, key) {
|
|
12669
12669
|
this._cachedPath = [];
|
|
@@ -16014,7 +16014,7 @@ var init_types = __esm(() => {
|
|
|
16014
16014
|
NEVER = INVALID;
|
|
16015
16015
|
});
|
|
16016
16016
|
|
|
16017
|
-
//
|
|
16017
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
16018
16018
|
var exports_external = {};
|
|
16019
16019
|
__export(exports_external, {
|
|
16020
16020
|
void: () => voidType,
|
|
@@ -16134,7 +16134,7 @@ var init_external = __esm(() => {
|
|
|
16134
16134
|
init_ZodError();
|
|
16135
16135
|
});
|
|
16136
16136
|
|
|
16137
|
-
//
|
|
16137
|
+
// ../../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
16138
16138
|
var init_zod = __esm(() => {
|
|
16139
16139
|
init_external();
|
|
16140
16140
|
init_external();
|
|
@@ -16721,7 +16721,7 @@ var init_client = __esm(() => {
|
|
|
16721
16721
|
};
|
|
16722
16722
|
});
|
|
16723
16723
|
|
|
16724
|
-
//
|
|
16724
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
16725
16725
|
var require_identity = __commonJS((exports2) => {
|
|
16726
16726
|
var ALIAS = Symbol.for("yaml.alias");
|
|
16727
16727
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -16775,7 +16775,7 @@ var require_identity = __commonJS((exports2) => {
|
|
|
16775
16775
|
exports2.isSeq = isSeq;
|
|
16776
16776
|
});
|
|
16777
16777
|
|
|
16778
|
-
//
|
|
16778
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
16779
16779
|
var require_visit = __commonJS((exports2) => {
|
|
16780
16780
|
var identity = require_identity();
|
|
16781
16781
|
var BREAK = Symbol("break visit");
|
|
@@ -16930,7 +16930,7 @@ var require_visit = __commonJS((exports2) => {
|
|
|
16930
16930
|
exports2.visitAsync = visitAsync;
|
|
16931
16931
|
});
|
|
16932
16932
|
|
|
16933
|
-
//
|
|
16933
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
16934
16934
|
var require_directives = __commonJS((exports2) => {
|
|
16935
16935
|
var identity = require_identity();
|
|
16936
16936
|
var visit = require_visit();
|
|
@@ -17082,7 +17082,7 @@ var require_directives = __commonJS((exports2) => {
|
|
|
17082
17082
|
exports2.Directives = Directives;
|
|
17083
17083
|
});
|
|
17084
17084
|
|
|
17085
|
-
//
|
|
17085
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
17086
17086
|
var require_anchors = __commonJS((exports2) => {
|
|
17087
17087
|
var identity = require_identity();
|
|
17088
17088
|
var visit = require_visit();
|
|
@@ -17144,7 +17144,7 @@ var require_anchors = __commonJS((exports2) => {
|
|
|
17144
17144
|
exports2.findNewAnchor = findNewAnchor;
|
|
17145
17145
|
});
|
|
17146
17146
|
|
|
17147
|
-
//
|
|
17147
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
17148
17148
|
var require_applyReviver = __commonJS((exports2) => {
|
|
17149
17149
|
function applyReviver(reviver, obj, key, val) {
|
|
17150
17150
|
if (val && typeof val === "object") {
|
|
@@ -17191,7 +17191,7 @@ var require_applyReviver = __commonJS((exports2) => {
|
|
|
17191
17191
|
exports2.applyReviver = applyReviver;
|
|
17192
17192
|
});
|
|
17193
17193
|
|
|
17194
|
-
//
|
|
17194
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
17195
17195
|
var require_toJS = __commonJS((exports2) => {
|
|
17196
17196
|
var identity = require_identity();
|
|
17197
17197
|
function toJS(value, arg, ctx) {
|
|
@@ -17218,7 +17218,7 @@ var require_toJS = __commonJS((exports2) => {
|
|
|
17218
17218
|
exports2.toJS = toJS;
|
|
17219
17219
|
});
|
|
17220
17220
|
|
|
17221
|
-
//
|
|
17221
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
17222
17222
|
var require_Node = __commonJS((exports2) => {
|
|
17223
17223
|
var applyReviver = require_applyReviver();
|
|
17224
17224
|
var identity = require_identity();
|
|
@@ -17255,7 +17255,7 @@ var require_Node = __commonJS((exports2) => {
|
|
|
17255
17255
|
exports2.NodeBase = NodeBase;
|
|
17256
17256
|
});
|
|
17257
17257
|
|
|
17258
|
-
//
|
|
17258
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
17259
17259
|
var require_Alias = __commonJS((exports2) => {
|
|
17260
17260
|
var anchors = require_anchors();
|
|
17261
17261
|
var visit = require_visit();
|
|
@@ -17363,7 +17363,7 @@ var require_Alias = __commonJS((exports2) => {
|
|
|
17363
17363
|
exports2.Alias = Alias;
|
|
17364
17364
|
});
|
|
17365
17365
|
|
|
17366
|
-
//
|
|
17366
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
17367
17367
|
var require_Scalar = __commonJS((exports2) => {
|
|
17368
17368
|
var identity = require_identity();
|
|
17369
17369
|
var Node = require_Node();
|
|
@@ -17391,7 +17391,7 @@ var require_Scalar = __commonJS((exports2) => {
|
|
|
17391
17391
|
exports2.isScalarValue = isScalarValue;
|
|
17392
17392
|
});
|
|
17393
17393
|
|
|
17394
|
-
//
|
|
17394
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
17395
17395
|
var require_createNode = __commonJS((exports2) => {
|
|
17396
17396
|
var Alias = require_Alias();
|
|
17397
17397
|
var identity = require_identity();
|
|
@@ -17463,7 +17463,7 @@ var require_createNode = __commonJS((exports2) => {
|
|
|
17463
17463
|
exports2.createNode = createNode;
|
|
17464
17464
|
});
|
|
17465
17465
|
|
|
17466
|
-
//
|
|
17466
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
17467
17467
|
var require_Collection = __commonJS((exports2) => {
|
|
17468
17468
|
var createNode = require_createNode();
|
|
17469
17469
|
var identity = require_identity();
|
|
@@ -17578,7 +17578,7 @@ var require_Collection = __commonJS((exports2) => {
|
|
|
17578
17578
|
exports2.isEmptyPath = isEmptyPath;
|
|
17579
17579
|
});
|
|
17580
17580
|
|
|
17581
|
-
//
|
|
17581
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
17582
17582
|
var require_stringifyComment = __commonJS((exports2) => {
|
|
17583
17583
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
17584
17584
|
function indentComment(comment, indent) {
|
|
@@ -17595,7 +17595,7 @@ var require_stringifyComment = __commonJS((exports2) => {
|
|
|
17595
17595
|
exports2.stringifyComment = stringifyComment;
|
|
17596
17596
|
});
|
|
17597
17597
|
|
|
17598
|
-
//
|
|
17598
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
17599
17599
|
var require_foldFlowLines = __commonJS((exports2) => {
|
|
17600
17600
|
var FOLD_FLOW = "flow";
|
|
17601
17601
|
var FOLD_BLOCK = "block";
|
|
@@ -17732,7 +17732,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
17732
17732
|
exports2.foldFlowLines = foldFlowLines;
|
|
17733
17733
|
});
|
|
17734
17734
|
|
|
17735
|
-
//
|
|
17735
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
17736
17736
|
var require_stringifyString = __commonJS((exports2) => {
|
|
17737
17737
|
var Scalar = require_Scalar();
|
|
17738
17738
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -18030,7 +18030,7 @@ ${indent}`);
|
|
|
18030
18030
|
exports2.stringifyString = stringifyString;
|
|
18031
18031
|
});
|
|
18032
18032
|
|
|
18033
|
-
//
|
|
18033
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
18034
18034
|
var require_stringify = __commonJS((exports2) => {
|
|
18035
18035
|
var anchors = require_anchors();
|
|
18036
18036
|
var identity = require_identity();
|
|
@@ -18151,7 +18151,7 @@ ${ctx.indent}${str}`;
|
|
|
18151
18151
|
exports2.stringify = stringify;
|
|
18152
18152
|
});
|
|
18153
18153
|
|
|
18154
|
-
//
|
|
18154
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
18155
18155
|
var require_stringifyPair = __commonJS((exports2) => {
|
|
18156
18156
|
var identity = require_identity();
|
|
18157
18157
|
var Scalar = require_Scalar();
|
|
@@ -18287,7 +18287,7 @@ ${ctx.indent}`;
|
|
|
18287
18287
|
exports2.stringifyPair = stringifyPair;
|
|
18288
18288
|
});
|
|
18289
18289
|
|
|
18290
|
-
//
|
|
18290
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
18291
18291
|
var require_log = __commonJS((exports2) => {
|
|
18292
18292
|
var node_process = __require("process");
|
|
18293
18293
|
function debug(logLevel, ...messages) {
|
|
@@ -18306,7 +18306,7 @@ var require_log = __commonJS((exports2) => {
|
|
|
18306
18306
|
exports2.warn = warn;
|
|
18307
18307
|
});
|
|
18308
18308
|
|
|
18309
|
-
//
|
|
18309
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
18310
18310
|
var require_merge = __commonJS((exports2) => {
|
|
18311
18311
|
var identity = require_identity();
|
|
18312
18312
|
var Scalar = require_Scalar();
|
|
@@ -18360,7 +18360,7 @@ var require_merge = __commonJS((exports2) => {
|
|
|
18360
18360
|
exports2.merge = merge;
|
|
18361
18361
|
});
|
|
18362
18362
|
|
|
18363
|
-
//
|
|
18363
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
18364
18364
|
var require_addPairToJSMap = __commonJS((exports2) => {
|
|
18365
18365
|
var log = require_log();
|
|
18366
18366
|
var merge = require_merge();
|
|
@@ -18421,7 +18421,7 @@ var require_addPairToJSMap = __commonJS((exports2) => {
|
|
|
18421
18421
|
exports2.addPairToJSMap = addPairToJSMap;
|
|
18422
18422
|
});
|
|
18423
18423
|
|
|
18424
|
-
//
|
|
18424
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
18425
18425
|
var require_Pair = __commonJS((exports2) => {
|
|
18426
18426
|
var createNode = require_createNode();
|
|
18427
18427
|
var stringifyPair = require_stringifyPair();
|
|
@@ -18459,7 +18459,7 @@ var require_Pair = __commonJS((exports2) => {
|
|
|
18459
18459
|
exports2.createPair = createPair;
|
|
18460
18460
|
});
|
|
18461
18461
|
|
|
18462
|
-
//
|
|
18462
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
18463
18463
|
var require_stringifyCollection = __commonJS((exports2) => {
|
|
18464
18464
|
var identity = require_identity();
|
|
18465
18465
|
var stringify = require_stringify();
|
|
@@ -18611,7 +18611,7 @@ ${indent}${end}`;
|
|
|
18611
18611
|
exports2.stringifyCollection = stringifyCollection;
|
|
18612
18612
|
});
|
|
18613
18613
|
|
|
18614
|
-
//
|
|
18614
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
18615
18615
|
var require_YAMLMap = __commonJS((exports2) => {
|
|
18616
18616
|
var stringifyCollection = require_stringifyCollection();
|
|
18617
18617
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -18738,7 +18738,7 @@ var require_YAMLMap = __commonJS((exports2) => {
|
|
|
18738
18738
|
exports2.findPair = findPair;
|
|
18739
18739
|
});
|
|
18740
18740
|
|
|
18741
|
-
//
|
|
18741
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
18742
18742
|
var require_map = __commonJS((exports2) => {
|
|
18743
18743
|
var identity = require_identity();
|
|
18744
18744
|
var YAMLMap = require_YAMLMap();
|
|
@@ -18757,7 +18757,7 @@ var require_map = __commonJS((exports2) => {
|
|
|
18757
18757
|
exports2.map = map;
|
|
18758
18758
|
});
|
|
18759
18759
|
|
|
18760
|
-
//
|
|
18760
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
18761
18761
|
var require_YAMLSeq = __commonJS((exports2) => {
|
|
18762
18762
|
var createNode = require_createNode();
|
|
18763
18763
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -18850,7 +18850,7 @@ var require_YAMLSeq = __commonJS((exports2) => {
|
|
|
18850
18850
|
exports2.YAMLSeq = YAMLSeq;
|
|
18851
18851
|
});
|
|
18852
18852
|
|
|
18853
|
-
//
|
|
18853
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
18854
18854
|
var require_seq = __commonJS((exports2) => {
|
|
18855
18855
|
var identity = require_identity();
|
|
18856
18856
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -18869,7 +18869,7 @@ var require_seq = __commonJS((exports2) => {
|
|
|
18869
18869
|
exports2.seq = seq;
|
|
18870
18870
|
});
|
|
18871
18871
|
|
|
18872
|
-
//
|
|
18872
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
18873
18873
|
var require_string = __commonJS((exports2) => {
|
|
18874
18874
|
var stringifyString = require_stringifyString();
|
|
18875
18875
|
var string = {
|
|
@@ -18885,7 +18885,7 @@ var require_string = __commonJS((exports2) => {
|
|
|
18885
18885
|
exports2.string = string;
|
|
18886
18886
|
});
|
|
18887
18887
|
|
|
18888
|
-
//
|
|
18888
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
18889
18889
|
var require_null = __commonJS((exports2) => {
|
|
18890
18890
|
var Scalar = require_Scalar();
|
|
18891
18891
|
var nullTag = {
|
|
@@ -18900,7 +18900,7 @@ var require_null = __commonJS((exports2) => {
|
|
|
18900
18900
|
exports2.nullTag = nullTag;
|
|
18901
18901
|
});
|
|
18902
18902
|
|
|
18903
|
-
//
|
|
18903
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
18904
18904
|
var require_bool = __commonJS((exports2) => {
|
|
18905
18905
|
var Scalar = require_Scalar();
|
|
18906
18906
|
var boolTag = {
|
|
@@ -18921,7 +18921,7 @@ var require_bool = __commonJS((exports2) => {
|
|
|
18921
18921
|
exports2.boolTag = boolTag;
|
|
18922
18922
|
});
|
|
18923
18923
|
|
|
18924
|
-
//
|
|
18924
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
18925
18925
|
var require_stringifyNumber = __commonJS((exports2) => {
|
|
18926
18926
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
18927
18927
|
if (typeof value === "bigint")
|
|
@@ -18945,7 +18945,7 @@ var require_stringifyNumber = __commonJS((exports2) => {
|
|
|
18945
18945
|
exports2.stringifyNumber = stringifyNumber;
|
|
18946
18946
|
});
|
|
18947
18947
|
|
|
18948
|
-
//
|
|
18948
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
18949
18949
|
var require_float = __commonJS((exports2) => {
|
|
18950
18950
|
var Scalar = require_Scalar();
|
|
18951
18951
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -18988,7 +18988,7 @@ var require_float = __commonJS((exports2) => {
|
|
|
18988
18988
|
exports2.floatNaN = floatNaN;
|
|
18989
18989
|
});
|
|
18990
18990
|
|
|
18991
|
-
//
|
|
18991
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
18992
18992
|
var require_int = __commonJS((exports2) => {
|
|
18993
18993
|
var stringifyNumber = require_stringifyNumber();
|
|
18994
18994
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -19030,7 +19030,7 @@ var require_int = __commonJS((exports2) => {
|
|
|
19030
19030
|
exports2.intOct = intOct;
|
|
19031
19031
|
});
|
|
19032
19032
|
|
|
19033
|
-
//
|
|
19033
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
19034
19034
|
var require_schema = __commonJS((exports2) => {
|
|
19035
19035
|
var map = require_map();
|
|
19036
19036
|
var _null = require_null();
|
|
@@ -19055,7 +19055,7 @@ var require_schema = __commonJS((exports2) => {
|
|
|
19055
19055
|
exports2.schema = schema;
|
|
19056
19056
|
});
|
|
19057
19057
|
|
|
19058
|
-
//
|
|
19058
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
19059
19059
|
var require_schema2 = __commonJS((exports2) => {
|
|
19060
19060
|
var Scalar = require_Scalar();
|
|
19061
19061
|
var map = require_map();
|
|
@@ -19119,7 +19119,7 @@ var require_schema2 = __commonJS((exports2) => {
|
|
|
19119
19119
|
exports2.schema = schema;
|
|
19120
19120
|
});
|
|
19121
19121
|
|
|
19122
|
-
//
|
|
19122
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
19123
19123
|
var require_binary = __commonJS((exports2) => {
|
|
19124
19124
|
var node_buffer = __require("buffer");
|
|
19125
19125
|
var Scalar = require_Scalar();
|
|
@@ -19174,7 +19174,7 @@ var require_binary = __commonJS((exports2) => {
|
|
|
19174
19174
|
exports2.binary = binary;
|
|
19175
19175
|
});
|
|
19176
19176
|
|
|
19177
|
-
//
|
|
19177
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
19178
19178
|
var require_pairs = __commonJS((exports2) => {
|
|
19179
19179
|
var identity = require_identity();
|
|
19180
19180
|
var Pair = require_Pair();
|
|
@@ -19249,7 +19249,7 @@ ${cn.comment}` : item.comment;
|
|
|
19249
19249
|
exports2.resolvePairs = resolvePairs;
|
|
19250
19250
|
});
|
|
19251
19251
|
|
|
19252
|
-
//
|
|
19252
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
19253
19253
|
var require_omap = __commonJS((exports2) => {
|
|
19254
19254
|
var identity = require_identity();
|
|
19255
19255
|
var toJS = require_toJS();
|
|
@@ -19321,7 +19321,7 @@ var require_omap = __commonJS((exports2) => {
|
|
|
19321
19321
|
exports2.omap = omap;
|
|
19322
19322
|
});
|
|
19323
19323
|
|
|
19324
|
-
//
|
|
19324
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
19325
19325
|
var require_bool2 = __commonJS((exports2) => {
|
|
19326
19326
|
var Scalar = require_Scalar();
|
|
19327
19327
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -19350,7 +19350,7 @@ var require_bool2 = __commonJS((exports2) => {
|
|
|
19350
19350
|
exports2.trueTag = trueTag;
|
|
19351
19351
|
});
|
|
19352
19352
|
|
|
19353
|
-
//
|
|
19353
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
19354
19354
|
var require_float2 = __commonJS((exports2) => {
|
|
19355
19355
|
var Scalar = require_Scalar();
|
|
19356
19356
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -19396,7 +19396,7 @@ var require_float2 = __commonJS((exports2) => {
|
|
|
19396
19396
|
exports2.floatNaN = floatNaN;
|
|
19397
19397
|
});
|
|
19398
19398
|
|
|
19399
|
-
//
|
|
19399
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
19400
19400
|
var require_int2 = __commonJS((exports2) => {
|
|
19401
19401
|
var stringifyNumber = require_stringifyNumber();
|
|
19402
19402
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -19472,7 +19472,7 @@ var require_int2 = __commonJS((exports2) => {
|
|
|
19472
19472
|
exports2.intOct = intOct;
|
|
19473
19473
|
});
|
|
19474
19474
|
|
|
19475
|
-
//
|
|
19475
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
19476
19476
|
var require_set = __commonJS((exports2) => {
|
|
19477
19477
|
var identity = require_identity();
|
|
19478
19478
|
var Pair = require_Pair();
|
|
@@ -19555,7 +19555,7 @@ var require_set = __commonJS((exports2) => {
|
|
|
19555
19555
|
exports2.set = set;
|
|
19556
19556
|
});
|
|
19557
19557
|
|
|
19558
|
-
//
|
|
19558
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
19559
19559
|
var require_timestamp = __commonJS((exports2) => {
|
|
19560
19560
|
var stringifyNumber = require_stringifyNumber();
|
|
19561
19561
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -19637,7 +19637,7 @@ var require_timestamp = __commonJS((exports2) => {
|
|
|
19637
19637
|
exports2.timestamp = timestamp;
|
|
19638
19638
|
});
|
|
19639
19639
|
|
|
19640
|
-
//
|
|
19640
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
19641
19641
|
var require_schema3 = __commonJS((exports2) => {
|
|
19642
19642
|
var map = require_map();
|
|
19643
19643
|
var _null = require_null();
|
|
@@ -19678,7 +19678,7 @@ var require_schema3 = __commonJS((exports2) => {
|
|
|
19678
19678
|
exports2.schema = schema;
|
|
19679
19679
|
});
|
|
19680
19680
|
|
|
19681
|
-
//
|
|
19681
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
19682
19682
|
var require_tags = __commonJS((exports2) => {
|
|
19683
19683
|
var map = require_map();
|
|
19684
19684
|
var _null = require_null();
|
|
@@ -19769,7 +19769,7 @@ var require_tags = __commonJS((exports2) => {
|
|
|
19769
19769
|
exports2.getTags = getTags;
|
|
19770
19770
|
});
|
|
19771
19771
|
|
|
19772
|
-
//
|
|
19772
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
19773
19773
|
var require_Schema = __commonJS((exports2) => {
|
|
19774
19774
|
var identity = require_identity();
|
|
19775
19775
|
var map = require_map();
|
|
@@ -19799,7 +19799,7 @@ var require_Schema = __commonJS((exports2) => {
|
|
|
19799
19799
|
exports2.Schema = Schema;
|
|
19800
19800
|
});
|
|
19801
19801
|
|
|
19802
|
-
//
|
|
19802
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
19803
19803
|
var require_stringifyDocument = __commonJS((exports2) => {
|
|
19804
19804
|
var identity = require_identity();
|
|
19805
19805
|
var stringify = require_stringify();
|
|
@@ -19879,7 +19879,7 @@ var require_stringifyDocument = __commonJS((exports2) => {
|
|
|
19879
19879
|
exports2.stringifyDocument = stringifyDocument;
|
|
19880
19880
|
});
|
|
19881
19881
|
|
|
19882
|
-
//
|
|
19882
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
19883
19883
|
var require_Document = __commonJS((exports2) => {
|
|
19884
19884
|
var Alias = require_Alias();
|
|
19885
19885
|
var Collection = require_Collection();
|
|
@@ -20114,7 +20114,7 @@ var require_Document = __commonJS((exports2) => {
|
|
|
20114
20114
|
exports2.Document = Document;
|
|
20115
20115
|
});
|
|
20116
20116
|
|
|
20117
|
-
//
|
|
20117
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
20118
20118
|
var require_errors = __commonJS((exports2) => {
|
|
20119
20119
|
class YAMLError extends Error {
|
|
20120
20120
|
constructor(name, pos, code, message) {
|
|
@@ -20179,7 +20179,7 @@ ${pointer}
|
|
|
20179
20179
|
exports2.prettifyError = prettifyError;
|
|
20180
20180
|
});
|
|
20181
20181
|
|
|
20182
|
-
//
|
|
20182
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
20183
20183
|
var require_resolve_props = __commonJS((exports2) => {
|
|
20184
20184
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
20185
20185
|
let spaceBefore = false;
|
|
@@ -20309,7 +20309,7 @@ var require_resolve_props = __commonJS((exports2) => {
|
|
|
20309
20309
|
exports2.resolveProps = resolveProps;
|
|
20310
20310
|
});
|
|
20311
20311
|
|
|
20312
|
-
//
|
|
20312
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
20313
20313
|
var require_util_contains_newline = __commonJS((exports2) => {
|
|
20314
20314
|
function containsNewline(key) {
|
|
20315
20315
|
if (!key)
|
|
@@ -20349,7 +20349,7 @@ var require_util_contains_newline = __commonJS((exports2) => {
|
|
|
20349
20349
|
exports2.containsNewline = containsNewline;
|
|
20350
20350
|
});
|
|
20351
20351
|
|
|
20352
|
-
//
|
|
20352
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
20353
20353
|
var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
20354
20354
|
var utilContainsNewline = require_util_contains_newline();
|
|
20355
20355
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -20364,7 +20364,7 @@ var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
|
20364
20364
|
exports2.flowIndentCheck = flowIndentCheck;
|
|
20365
20365
|
});
|
|
20366
20366
|
|
|
20367
|
-
//
|
|
20367
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
20368
20368
|
var require_util_map_includes = __commonJS((exports2) => {
|
|
20369
20369
|
var identity = require_identity();
|
|
20370
20370
|
function mapIncludes(ctx, items, search) {
|
|
@@ -20377,7 +20377,7 @@ var require_util_map_includes = __commonJS((exports2) => {
|
|
|
20377
20377
|
exports2.mapIncludes = mapIncludes;
|
|
20378
20378
|
});
|
|
20379
20379
|
|
|
20380
|
-
//
|
|
20380
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
20381
20381
|
var require_resolve_block_map = __commonJS((exports2) => {
|
|
20382
20382
|
var Pair = require_Pair();
|
|
20383
20383
|
var YAMLMap = require_YAMLMap();
|
|
@@ -20484,7 +20484,7 @@ var require_resolve_block_map = __commonJS((exports2) => {
|
|
|
20484
20484
|
exports2.resolveBlockMap = resolveBlockMap;
|
|
20485
20485
|
});
|
|
20486
20486
|
|
|
20487
|
-
//
|
|
20487
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
20488
20488
|
var require_resolve_block_seq = __commonJS((exports2) => {
|
|
20489
20489
|
var YAMLSeq = require_YAMLSeq();
|
|
20490
20490
|
var resolveProps = require_resolve_props();
|
|
@@ -20532,7 +20532,7 @@ var require_resolve_block_seq = __commonJS((exports2) => {
|
|
|
20532
20532
|
exports2.resolveBlockSeq = resolveBlockSeq;
|
|
20533
20533
|
});
|
|
20534
20534
|
|
|
20535
|
-
//
|
|
20535
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
20536
20536
|
var require_resolve_end = __commonJS((exports2) => {
|
|
20537
20537
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
20538
20538
|
let comment = "";
|
|
@@ -20572,7 +20572,7 @@ var require_resolve_end = __commonJS((exports2) => {
|
|
|
20572
20572
|
exports2.resolveEnd = resolveEnd;
|
|
20573
20573
|
});
|
|
20574
20574
|
|
|
20575
|
-
//
|
|
20575
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
20576
20576
|
var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
20577
20577
|
var identity = require_identity();
|
|
20578
20578
|
var Pair = require_Pair();
|
|
@@ -20763,7 +20763,7 @@ var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
|
20763
20763
|
exports2.resolveFlowCollection = resolveFlowCollection;
|
|
20764
20764
|
});
|
|
20765
20765
|
|
|
20766
|
-
//
|
|
20766
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
20767
20767
|
var require_compose_collection = __commonJS((exports2) => {
|
|
20768
20768
|
var identity = require_identity();
|
|
20769
20769
|
var Scalar = require_Scalar();
|
|
@@ -20825,7 +20825,7 @@ var require_compose_collection = __commonJS((exports2) => {
|
|
|
20825
20825
|
exports2.composeCollection = composeCollection;
|
|
20826
20826
|
});
|
|
20827
20827
|
|
|
20828
|
-
//
|
|
20828
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
20829
20829
|
var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
20830
20830
|
var Scalar = require_Scalar();
|
|
20831
20831
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -21018,7 +21018,7 @@ var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
|
21018
21018
|
exports2.resolveBlockScalar = resolveBlockScalar;
|
|
21019
21019
|
});
|
|
21020
21020
|
|
|
21021
|
-
//
|
|
21021
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
21022
21022
|
var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
21023
21023
|
var Scalar = require_Scalar();
|
|
21024
21024
|
var resolveEnd = require_resolve_end();
|
|
@@ -21234,7 +21234,7 @@ var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
|
21234
21234
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
21235
21235
|
});
|
|
21236
21236
|
|
|
21237
|
-
//
|
|
21237
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
21238
21238
|
var require_compose_scalar = __commonJS((exports2) => {
|
|
21239
21239
|
var identity = require_identity();
|
|
21240
21240
|
var Scalar = require_Scalar();
|
|
@@ -21312,7 +21312,7 @@ var require_compose_scalar = __commonJS((exports2) => {
|
|
|
21312
21312
|
exports2.composeScalar = composeScalar;
|
|
21313
21313
|
});
|
|
21314
21314
|
|
|
21315
|
-
//
|
|
21315
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
21316
21316
|
var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
21317
21317
|
function emptyScalarPosition(offset, before, pos) {
|
|
21318
21318
|
if (before) {
|
|
@@ -21339,7 +21339,7 @@ var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
|
21339
21339
|
exports2.emptyScalarPosition = emptyScalarPosition;
|
|
21340
21340
|
});
|
|
21341
21341
|
|
|
21342
|
-
//
|
|
21342
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
21343
21343
|
var require_compose_node = __commonJS((exports2) => {
|
|
21344
21344
|
var Alias = require_Alias();
|
|
21345
21345
|
var identity = require_identity();
|
|
@@ -21442,7 +21442,7 @@ var require_compose_node = __commonJS((exports2) => {
|
|
|
21442
21442
|
exports2.composeNode = composeNode;
|
|
21443
21443
|
});
|
|
21444
21444
|
|
|
21445
|
-
//
|
|
21445
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
21446
21446
|
var require_compose_doc = __commonJS((exports2) => {
|
|
21447
21447
|
var Document = require_Document();
|
|
21448
21448
|
var composeNode = require_compose_node();
|
|
@@ -21482,7 +21482,7 @@ var require_compose_doc = __commonJS((exports2) => {
|
|
|
21482
21482
|
exports2.composeDoc = composeDoc;
|
|
21483
21483
|
});
|
|
21484
21484
|
|
|
21485
|
-
//
|
|
21485
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
21486
21486
|
var require_composer2 = __commonJS((exports2) => {
|
|
21487
21487
|
var node_process = __require("process");
|
|
21488
21488
|
var directives = require_directives();
|
|
@@ -21671,7 +21671,7 @@ ${end.comment}` : end.comment;
|
|
|
21671
21671
|
exports2.Composer = Composer;
|
|
21672
21672
|
});
|
|
21673
21673
|
|
|
21674
|
-
//
|
|
21674
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
21675
21675
|
var require_cst_scalar = __commonJS((exports2) => {
|
|
21676
21676
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
21677
21677
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -21861,7 +21861,7 @@ var require_cst_scalar = __commonJS((exports2) => {
|
|
|
21861
21861
|
exports2.setScalarValue = setScalarValue;
|
|
21862
21862
|
});
|
|
21863
21863
|
|
|
21864
|
-
//
|
|
21864
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
21865
21865
|
var require_cst_stringify = __commonJS((exports2) => {
|
|
21866
21866
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
21867
21867
|
function stringifyToken(token) {
|
|
@@ -21919,7 +21919,7 @@ var require_cst_stringify = __commonJS((exports2) => {
|
|
|
21919
21919
|
exports2.stringify = stringify;
|
|
21920
21920
|
});
|
|
21921
21921
|
|
|
21922
|
-
//
|
|
21922
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
21923
21923
|
var require_cst_visit = __commonJS((exports2) => {
|
|
21924
21924
|
var BREAK = Symbol("break visit");
|
|
21925
21925
|
var SKIP = Symbol("skip children");
|
|
@@ -21978,7 +21978,7 @@ var require_cst_visit = __commonJS((exports2) => {
|
|
|
21978
21978
|
exports2.visit = visit;
|
|
21979
21979
|
});
|
|
21980
21980
|
|
|
21981
|
-
//
|
|
21981
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
21982
21982
|
var require_cst = __commonJS((exports2) => {
|
|
21983
21983
|
var cstScalar = require_cst_scalar();
|
|
21984
21984
|
var cstStringify = require_cst_stringify();
|
|
@@ -22079,7 +22079,7 @@ var require_cst = __commonJS((exports2) => {
|
|
|
22079
22079
|
exports2.tokenType = tokenType;
|
|
22080
22080
|
});
|
|
22081
22081
|
|
|
22082
|
-
//
|
|
22082
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
22083
22083
|
var require_lexer = __commonJS((exports2) => {
|
|
22084
22084
|
var cst = require_cst();
|
|
22085
22085
|
function isEmpty2(ch) {
|
|
@@ -22665,7 +22665,7 @@ var require_lexer = __commonJS((exports2) => {
|
|
|
22665
22665
|
exports2.Lexer = Lexer;
|
|
22666
22666
|
});
|
|
22667
22667
|
|
|
22668
|
-
//
|
|
22668
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
22669
22669
|
var require_line_counter = __commonJS((exports2) => {
|
|
22670
22670
|
class LineCounter {
|
|
22671
22671
|
constructor() {
|
|
@@ -22693,7 +22693,7 @@ var require_line_counter = __commonJS((exports2) => {
|
|
|
22693
22693
|
exports2.LineCounter = LineCounter;
|
|
22694
22694
|
});
|
|
22695
22695
|
|
|
22696
|
-
//
|
|
22696
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
22697
22697
|
var require_parser = __commonJS((exports2) => {
|
|
22698
22698
|
var node_process = __require("process");
|
|
22699
22699
|
var cst = require_cst();
|
|
@@ -23542,7 +23542,7 @@ var require_parser = __commonJS((exports2) => {
|
|
|
23542
23542
|
exports2.Parser = Parser;
|
|
23543
23543
|
});
|
|
23544
23544
|
|
|
23545
|
-
//
|
|
23545
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
23546
23546
|
var require_public_api = __commonJS((exports2) => {
|
|
23547
23547
|
var composer = require_composer2();
|
|
23548
23548
|
var Document = require_Document();
|
|
@@ -23636,7 +23636,7 @@ var require_public_api = __commonJS((exports2) => {
|
|
|
23636
23636
|
exports2.stringify = stringify;
|
|
23637
23637
|
});
|
|
23638
23638
|
|
|
23639
|
-
//
|
|
23639
|
+
// ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
23640
23640
|
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;
|
|
23641
23641
|
var init_dist = __esm(() => {
|
|
23642
23642
|
composer = require_composer2();
|
|
@@ -25207,7 +25207,7 @@ var init_url_redact = __esm(() => {
|
|
|
25207
25207
|
URL_RE = /\b(?:https?|wss?|ftp):\/\/[^\s<>"']+/gi;
|
|
25208
25208
|
});
|
|
25209
25209
|
|
|
25210
|
-
//
|
|
25210
|
+
// ../../switchroom-sec-1417/node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
25211
25211
|
var require_lib = __commonJS((exports2) => {
|
|
25212
25212
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25213
25213
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -25254,7 +25254,7 @@ var require_lib = __commonJS((exports2) => {
|
|
|
25254
25254
|
exports2.binarySearch = binarySearch;
|
|
25255
25255
|
});
|
|
25256
25256
|
|
|
25257
|
-
//
|
|
25257
|
+
// ../../switchroom-sec-1417/node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
25258
25258
|
var require_structured_source = __commonJS((exports2) => {
|
|
25259
25259
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25260
25260
|
exports2.StructuredSource = undefined;
|
|
@@ -25309,13 +25309,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
25309
25309
|
}
|
|
25310
25310
|
exports2.StructuredSource = StructuredSource;
|
|
25311
25311
|
});
|
|
25312
|
-
//
|
|
25312
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
25313
25313
|
var import_structured_source;
|
|
25314
25314
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
25315
25315
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
25316
25316
|
});
|
|
25317
25317
|
|
|
25318
|
-
//
|
|
25318
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
25319
25319
|
class EventEmitter {
|
|
25320
25320
|
#listeners = new Map;
|
|
25321
25321
|
on(type, listener) {
|
|
@@ -25354,9 +25354,9 @@ class EventEmitter {
|
|
|
25354
25354
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
25355
25355
|
}
|
|
25356
25356
|
}
|
|
25357
|
-
//
|
|
25357
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
25358
25358
|
var init_RuleContext = () => {};
|
|
25359
|
-
//
|
|
25359
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
25360
25360
|
class SecretLintProfiler {
|
|
25361
25361
|
perf;
|
|
25362
25362
|
entries = [];
|
|
@@ -25413,7 +25413,7 @@ class SecretLintProfiler {
|
|
|
25413
25413
|
}
|
|
25414
25414
|
}
|
|
25415
25415
|
|
|
25416
|
-
//
|
|
25416
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
25417
25417
|
import perf_hooks from "node:perf_hooks";
|
|
25418
25418
|
|
|
25419
25419
|
class NullPerformanceObserver {
|
|
@@ -25428,19 +25428,19 @@ var init_node = __esm(() => {
|
|
|
25428
25428
|
});
|
|
25429
25429
|
});
|
|
25430
25430
|
|
|
25431
|
-
//
|
|
25431
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
25432
25432
|
var init_RunningEvents = __esm(() => {
|
|
25433
25433
|
init_node();
|
|
25434
25434
|
});
|
|
25435
25435
|
|
|
25436
|
-
//
|
|
25436
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
25437
25437
|
var init_RulePresetContext = __esm(() => {
|
|
25438
25438
|
init_RuleContext();
|
|
25439
25439
|
});
|
|
25440
|
-
//
|
|
25440
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
25441
25441
|
var init_messages = () => {};
|
|
25442
25442
|
|
|
25443
|
-
//
|
|
25443
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
25444
25444
|
var import_debug, debug;
|
|
25445
25445
|
var init_module = __esm(() => {
|
|
25446
25446
|
init_SecretLintSourceCodeImpl();
|
|
@@ -25453,7 +25453,7 @@ var init_module = __esm(() => {
|
|
|
25453
25453
|
debug = import_debug.default("@secretlint/core");
|
|
25454
25454
|
});
|
|
25455
25455
|
|
|
25456
|
-
//
|
|
25456
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
25457
25457
|
function requireLodash_uniq() {
|
|
25458
25458
|
if (hasRequiredLodash_uniq)
|
|
25459
25459
|
return lodash_uniq;
|
|
@@ -34152,7 +34152,7 @@ function clear(key) {
|
|
|
34152
34152
|
state.delete(key);
|
|
34153
34153
|
}
|
|
34154
34154
|
|
|
34155
|
-
//
|
|
34155
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
34156
34156
|
import { dirname as dirname2, posix, sep as sep2 } from "path";
|
|
34157
34157
|
function createModulerModifier() {
|
|
34158
34158
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -34188,7 +34188,7 @@ function normalizeWindowsPath(path) {
|
|
|
34188
34188
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
34189
34189
|
}
|
|
34190
34190
|
|
|
34191
|
-
//
|
|
34191
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
34192
34192
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
34193
34193
|
if ("flags" in flagsResponse) {
|
|
34194
34194
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -34259,7 +34259,7 @@ var parsePayload = (response) => {
|
|
|
34259
34259
|
}
|
|
34260
34260
|
};
|
|
34261
34261
|
|
|
34262
|
-
//
|
|
34262
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
34263
34263
|
function isGzipSupported() {
|
|
34264
34264
|
return "CompressionStream" in globalThis;
|
|
34265
34265
|
}
|
|
@@ -34279,7 +34279,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
34279
34279
|
}
|
|
34280
34280
|
}
|
|
34281
34281
|
|
|
34282
|
-
//
|
|
34282
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
34283
34283
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
34284
34284
|
var DIGITS = "0123456789abcdef";
|
|
34285
34285
|
|
|
@@ -34457,7 +34457,7 @@ var defaultGenerator;
|
|
|
34457
34457
|
var uuidv7 = () => uuidv7obj().toString();
|
|
34458
34458
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
34459
34459
|
|
|
34460
|
-
//
|
|
34460
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
34461
34461
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
34462
34462
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
34463
34463
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -34490,7 +34490,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
34490
34490
|
return PostHogPersistedProperty;
|
|
34491
34491
|
}({});
|
|
34492
34492
|
|
|
34493
|
-
//
|
|
34493
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
34494
34494
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
34495
34495
|
"amazonbot",
|
|
34496
34496
|
"amazonproductbot",
|
|
@@ -34579,7 +34579,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
34579
34579
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
34580
34580
|
});
|
|
34581
34581
|
};
|
|
34582
|
-
//
|
|
34582
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
34583
34583
|
var nativeIsArray = Array.isArray;
|
|
34584
34584
|
var ObjProto = Object.prototype;
|
|
34585
34585
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -34616,7 +34616,7 @@ function isInstanceOf(candidate, base) {
|
|
|
34616
34616
|
}
|
|
34617
34617
|
}
|
|
34618
34618
|
|
|
34619
|
-
//
|
|
34619
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
34620
34620
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
34621
34621
|
if (min > max) {
|
|
34622
34622
|
logger.warn("min cannot be greater than max.");
|
|
@@ -34636,7 +34636,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
34636
34636
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
34637
34637
|
}
|
|
34638
34638
|
|
|
34639
|
-
//
|
|
34639
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
34640
34640
|
var ONE_DAY_IN_MS = 86400000;
|
|
34641
34641
|
|
|
34642
34642
|
class BucketedRateLimiter {
|
|
@@ -34680,7 +34680,7 @@ class BucketedRateLimiter {
|
|
|
34680
34680
|
this._buckets = {};
|
|
34681
34681
|
}
|
|
34682
34682
|
}
|
|
34683
|
-
//
|
|
34683
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
34684
34684
|
class PromiseQueue {
|
|
34685
34685
|
add(promise) {
|
|
34686
34686
|
const promiseUUID = uuidv7();
|
|
@@ -34706,7 +34706,7 @@ class PromiseQueue {
|
|
|
34706
34706
|
this.promiseByIds = {};
|
|
34707
34707
|
}
|
|
34708
34708
|
}
|
|
34709
|
-
//
|
|
34709
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
34710
34710
|
function createConsole(consoleLike = console) {
|
|
34711
34711
|
const lockedMethods = {
|
|
34712
34712
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -34744,7 +34744,7 @@ var passThrough = (fn) => fn();
|
|
|
34744
34744
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
34745
34745
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
34746
34746
|
}
|
|
34747
|
-
//
|
|
34747
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
34748
34748
|
var MOBILE = "Mobile";
|
|
34749
34749
|
var IOS = "iOS";
|
|
34750
34750
|
var ANDROID = "Android";
|
|
@@ -35001,7 +35001,7 @@ var osMatchers = [
|
|
|
35001
35001
|
]
|
|
35002
35002
|
];
|
|
35003
35003
|
|
|
35004
|
-
//
|
|
35004
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
35005
35005
|
var STRING_FORMAT = "utf8";
|
|
35006
35006
|
function assert(truthyValue, message) {
|
|
35007
35007
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -35049,7 +35049,7 @@ function allSettled(promises) {
|
|
|
35049
35049
|
reason
|
|
35050
35050
|
}))));
|
|
35051
35051
|
}
|
|
35052
|
-
//
|
|
35052
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
35053
35053
|
class SimpleEventEmitter {
|
|
35054
35054
|
constructor() {
|
|
35055
35055
|
this.events = {};
|
|
@@ -35071,7 +35071,7 @@ class SimpleEventEmitter {
|
|
|
35071
35071
|
}
|
|
35072
35072
|
}
|
|
35073
35073
|
|
|
35074
|
-
//
|
|
35074
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
35075
35075
|
class PostHogFetchHttpError extends Error {
|
|
35076
35076
|
constructor(response, reqByteLength) {
|
|
35077
35077
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -35786,7 +35786,7 @@ class PostHogCoreStateless {
|
|
|
35786
35786
|
return this.shutdownPromise;
|
|
35787
35787
|
}
|
|
35788
35788
|
}
|
|
35789
|
-
//
|
|
35789
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
35790
35790
|
var exports_error_tracking = {};
|
|
35791
35791
|
__export(exports_error_tracking, {
|
|
35792
35792
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -35810,7 +35810,7 @@ __export(exports_error_tracking, {
|
|
|
35810
35810
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
35811
35811
|
});
|
|
35812
35812
|
|
|
35813
|
-
//
|
|
35813
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
35814
35814
|
var parsedStackResults;
|
|
35815
35815
|
var lastKeysCount;
|
|
35816
35816
|
var cachedFilenameChunkIds;
|
|
@@ -35849,7 +35849,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
35849
35849
|
return cachedFilenameChunkIds;
|
|
35850
35850
|
}
|
|
35851
35851
|
|
|
35852
|
-
//
|
|
35852
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
35853
35853
|
var MAX_CAUSE_RECURSION = 4;
|
|
35854
35854
|
|
|
35855
35855
|
class ErrorPropertiesBuilder {
|
|
@@ -35971,7 +35971,7 @@ class ErrorPropertiesBuilder {
|
|
|
35971
35971
|
return context;
|
|
35972
35972
|
}
|
|
35973
35973
|
}
|
|
35974
|
-
//
|
|
35974
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
35975
35975
|
var UNKNOWN_FUNCTION = "?";
|
|
35976
35976
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
35977
35977
|
const frame = {
|
|
@@ -35987,7 +35987,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
35987
35987
|
return frame;
|
|
35988
35988
|
}
|
|
35989
35989
|
|
|
35990
|
-
//
|
|
35990
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
35991
35991
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
35992
35992
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
35993
35993
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -36000,7 +36000,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
36000
36000
|
];
|
|
36001
36001
|
};
|
|
36002
36002
|
|
|
36003
|
-
//
|
|
36003
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
36004
36004
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
36005
36005
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
36006
36006
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -36026,7 +36026,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
36026
36026
|
}
|
|
36027
36027
|
};
|
|
36028
36028
|
|
|
36029
|
-
//
|
|
36029
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
36030
36030
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
36031
36031
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
36032
36032
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -36049,14 +36049,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
36049
36049
|
}
|
|
36050
36050
|
};
|
|
36051
36051
|
|
|
36052
|
-
//
|
|
36052
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
36053
36053
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
36054
36054
|
var winjsStackLineParser = (line, platform) => {
|
|
36055
36055
|
const parts = winjsRegex.exec(line);
|
|
36056
36056
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
36057
36057
|
};
|
|
36058
36058
|
|
|
36059
|
-
//
|
|
36059
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
36060
36060
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
36061
36061
|
var opera10StackLineParser = (line, platform) => {
|
|
36062
36062
|
const parts = opera10Regex.exec(line);
|
|
@@ -36068,7 +36068,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
36068
36068
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
36069
36069
|
};
|
|
36070
36070
|
|
|
36071
|
-
//
|
|
36071
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
36072
36072
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
36073
36073
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
36074
36074
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -36137,7 +36137,7 @@ function _parseIntOrUndefined(input) {
|
|
|
36137
36137
|
return parseInt(input || "", 10) || undefined;
|
|
36138
36138
|
}
|
|
36139
36139
|
|
|
36140
|
-
//
|
|
36140
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
36141
36141
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
36142
36142
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
36143
36143
|
function reverseAndStripFrames(stack) {
|
|
@@ -36182,7 +36182,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
36182
36182
|
return reverseAndStripFrames(frames);
|
|
36183
36183
|
};
|
|
36184
36184
|
}
|
|
36185
|
-
//
|
|
36185
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
36186
36186
|
class DOMExceptionCoercer {
|
|
36187
36187
|
match(err) {
|
|
36188
36188
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -36212,7 +36212,7 @@ class DOMExceptionCoercer {
|
|
|
36212
36212
|
return isBuiltin(err, "DOMError");
|
|
36213
36213
|
}
|
|
36214
36214
|
}
|
|
36215
|
-
//
|
|
36215
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
36216
36216
|
class ErrorCoercer {
|
|
36217
36217
|
match(err) {
|
|
36218
36218
|
return isPlainError(err);
|
|
@@ -36239,7 +36239,7 @@ class ErrorCoercer {
|
|
|
36239
36239
|
return err.stacktrace || err.stack || undefined;
|
|
36240
36240
|
}
|
|
36241
36241
|
}
|
|
36242
|
-
//
|
|
36242
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
36243
36243
|
class ErrorEventCoercer {
|
|
36244
36244
|
constructor() {}
|
|
36245
36245
|
match(err) {
|
|
@@ -36257,7 +36257,7 @@ class ErrorEventCoercer {
|
|
|
36257
36257
|
return exceptionLike;
|
|
36258
36258
|
}
|
|
36259
36259
|
}
|
|
36260
|
-
//
|
|
36260
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
36261
36261
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
36262
36262
|
|
|
36263
36263
|
class StringCoercer {
|
|
@@ -36287,7 +36287,7 @@ class StringCoercer {
|
|
|
36287
36287
|
];
|
|
36288
36288
|
}
|
|
36289
36289
|
}
|
|
36290
|
-
//
|
|
36290
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
36291
36291
|
var severityLevels = [
|
|
36292
36292
|
"fatal",
|
|
36293
36293
|
"error",
|
|
@@ -36297,7 +36297,7 @@ var severityLevels = [
|
|
|
36297
36297
|
"debug"
|
|
36298
36298
|
];
|
|
36299
36299
|
|
|
36300
|
-
//
|
|
36300
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
36301
36301
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
36302
36302
|
const keys = Object.keys(err);
|
|
36303
36303
|
keys.sort();
|
|
@@ -36314,7 +36314,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
36314
36314
|
return "";
|
|
36315
36315
|
}
|
|
36316
36316
|
|
|
36317
|
-
//
|
|
36317
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
36318
36318
|
class ObjectCoercer {
|
|
36319
36319
|
match(candidate) {
|
|
36320
36320
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -36367,7 +36367,7 @@ class ObjectCoercer {
|
|
|
36367
36367
|
}
|
|
36368
36368
|
}
|
|
36369
36369
|
}
|
|
36370
|
-
//
|
|
36370
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
36371
36371
|
class EventCoercer {
|
|
36372
36372
|
match(err) {
|
|
36373
36373
|
return isEvent(err);
|
|
@@ -36382,7 +36382,7 @@ class EventCoercer {
|
|
|
36382
36382
|
};
|
|
36383
36383
|
}
|
|
36384
36384
|
}
|
|
36385
|
-
//
|
|
36385
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
36386
36386
|
class PrimitiveCoercer {
|
|
36387
36387
|
match(candidate) {
|
|
36388
36388
|
return isPrimitive(candidate);
|
|
@@ -36396,7 +36396,7 @@ class PrimitiveCoercer {
|
|
|
36396
36396
|
};
|
|
36397
36397
|
}
|
|
36398
36398
|
}
|
|
36399
|
-
//
|
|
36399
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
36400
36400
|
class PromiseRejectionEventCoercer {
|
|
36401
36401
|
match(err) {
|
|
36402
36402
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -36432,7 +36432,7 @@ class PromiseRejectionEventCoercer {
|
|
|
36432
36432
|
return error;
|
|
36433
36433
|
}
|
|
36434
36434
|
}
|
|
36435
|
-
//
|
|
36435
|
+
// ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
36436
36436
|
class ReduceableCache {
|
|
36437
36437
|
constructor(_maxSize) {
|
|
36438
36438
|
this._maxSize = _maxSize;
|
|
@@ -36457,7 +36457,7 @@ class ReduceableCache {
|
|
|
36457
36457
|
}
|
|
36458
36458
|
}
|
|
36459
36459
|
}
|
|
36460
|
-
//
|
|
36460
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
36461
36461
|
import { createReadStream } from "node:fs";
|
|
36462
36462
|
import { createInterface } from "node:readline";
|
|
36463
36463
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -36675,7 +36675,7 @@ function snipLine(line, colno) {
|
|
|
36675
36675
|
return newLine;
|
|
36676
36676
|
}
|
|
36677
36677
|
|
|
36678
|
-
//
|
|
36678
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
36679
36679
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
36680
36680
|
let calledFatalError = false;
|
|
36681
36681
|
return Object.assign((error) => {
|
|
@@ -36707,7 +36707,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
36707
36707
|
}));
|
|
36708
36708
|
}
|
|
36709
36709
|
|
|
36710
|
-
//
|
|
36710
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
36711
36711
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
36712
36712
|
|
|
36713
36713
|
class ErrorTracking {
|
|
@@ -36776,10 +36776,10 @@ class ErrorTracking {
|
|
|
36776
36776
|
}
|
|
36777
36777
|
}
|
|
36778
36778
|
|
|
36779
|
-
//
|
|
36779
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
36780
36780
|
var version = "5.29.2";
|
|
36781
36781
|
|
|
36782
|
-
//
|
|
36782
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
36783
36783
|
var FeatureFlagError2 = {
|
|
36784
36784
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
36785
36785
|
FLAG_MISSING: "flag_missing",
|
|
@@ -36787,7 +36787,7 @@ var FeatureFlagError2 = {
|
|
|
36787
36787
|
UNKNOWN_ERROR: "unknown_error"
|
|
36788
36788
|
};
|
|
36789
36789
|
|
|
36790
|
-
//
|
|
36790
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
36791
36791
|
async function hashSHA1(text) {
|
|
36792
36792
|
const subtle = globalThis.crypto?.subtle;
|
|
36793
36793
|
if (!subtle)
|
|
@@ -36797,7 +36797,7 @@ async function hashSHA1(text) {
|
|
|
36797
36797
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
36798
36798
|
}
|
|
36799
36799
|
|
|
36800
|
-
//
|
|
36800
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
36801
36801
|
var SIXTY_SECONDS = 60000;
|
|
36802
36802
|
var LONG_SCALE = 1152921504606847000;
|
|
36803
36803
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -37671,7 +37671,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
37671
37671
|
}
|
|
37672
37672
|
}
|
|
37673
37673
|
|
|
37674
|
-
//
|
|
37674
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
37675
37675
|
class PostHogMemoryStorage {
|
|
37676
37676
|
getProperty(key) {
|
|
37677
37677
|
return this._memoryStorage[key];
|
|
@@ -37684,7 +37684,7 @@ class PostHogMemoryStorage {
|
|
|
37684
37684
|
}
|
|
37685
37685
|
}
|
|
37686
37686
|
|
|
37687
|
-
//
|
|
37687
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
37688
37688
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
37689
37689
|
var THIRTY_SECONDS = 30000;
|
|
37690
37690
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -38472,7 +38472,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
38472
38472
|
}
|
|
38473
38473
|
}
|
|
38474
38474
|
|
|
38475
|
-
//
|
|
38475
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
38476
38476
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
38477
38477
|
|
|
38478
38478
|
class PostHogContext {
|
|
@@ -38503,7 +38503,7 @@ class PostHogContext {
|
|
|
38503
38503
|
}
|
|
38504
38504
|
}
|
|
38505
38505
|
|
|
38506
|
-
//
|
|
38506
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
38507
38507
|
var NAME = "posthog-node";
|
|
38508
38508
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
38509
38509
|
"error"
|
|
@@ -38571,7 +38571,7 @@ class PostHogSentryIntegration {
|
|
|
38571
38571
|
};
|
|
38572
38572
|
}
|
|
38573
38573
|
}
|
|
38574
|
-
//
|
|
38574
|
+
// ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
38575
38575
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
38576
38576
|
new exports_error_tracking.EventCoercer,
|
|
38577
38577
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -44777,6 +44777,12 @@ function resolveOutboundTopic(config, event) {
|
|
|
44777
44777
|
return aliasToId(cfg, ADMIN_ALIAS) ?? cfg.default_topic_id;
|
|
44778
44778
|
}
|
|
44779
44779
|
}
|
|
44780
|
+
function topicForRecipient(args) {
|
|
44781
|
+
const { recipientChatId, resolvedTopic, supergroupChatId } = args;
|
|
44782
|
+
if (resolvedTopic == null || supergroupChatId == null)
|
|
44783
|
+
return;
|
|
44784
|
+
return String(recipientChatId) === String(supergroupChatId) ? resolvedTopic : undefined;
|
|
44785
|
+
}
|
|
44780
44786
|
|
|
44781
44787
|
// ../src/agents/perf.ts
|
|
44782
44788
|
import { existsSync as existsSync18, readFileSync as readFileSync14 } from "node:fs";
|
|
@@ -47936,6 +47942,7 @@ ${result}
|
|
|
47936
47942
|
return {
|
|
47937
47943
|
type: "inbound",
|
|
47938
47944
|
chatId: opts.ctx.chatId,
|
|
47945
|
+
...opts.ctx.threadId != null ? { threadId: opts.ctx.threadId } : {},
|
|
47939
47946
|
messageId: ts,
|
|
47940
47947
|
user: "subagent-watcher",
|
|
47941
47948
|
userId: 0,
|
|
@@ -47944,6 +47951,7 @@ ${result}
|
|
|
47944
47951
|
meta: {
|
|
47945
47952
|
source: "subagent_handback",
|
|
47946
47953
|
outcome: opts.ctx.outcome,
|
|
47954
|
+
...opts.ctx.threadId != null ? { message_thread_id: String(opts.ctx.threadId) } : {},
|
|
47947
47955
|
...opts.ctx.jsonlAgentId ? { subagent_jsonl_id: opts.ctx.jsonlAgentId } : {}
|
|
47948
47956
|
}
|
|
47949
47957
|
};
|
|
@@ -47962,9 +47970,11 @@ function decideSubagentHandback(input) {
|
|
|
47962
47970
|
if (!chatId) {
|
|
47963
47971
|
return { deliver: false, reason: "no-chat" };
|
|
47964
47972
|
}
|
|
47973
|
+
const threadId = input.fleetChatId && input.originThreadId != null ? input.originThreadId : undefined;
|
|
47965
47974
|
const inbound = buildSubagentHandbackInbound({
|
|
47966
47975
|
ctx: {
|
|
47967
47976
|
chatId,
|
|
47977
|
+
...threadId != null ? { threadId } : {},
|
|
47968
47978
|
taskDescription: input.taskDescription,
|
|
47969
47979
|
resultText: input.resultText,
|
|
47970
47980
|
outcome: input.outcome,
|
|
@@ -48011,6 +48021,7 @@ ${summary}
|
|
|
48011
48021
|
return {
|
|
48012
48022
|
type: "inbound",
|
|
48013
48023
|
chatId: opts.ctx.chatId,
|
|
48024
|
+
...opts.ctx.threadId != null ? { threadId: opts.ctx.threadId } : {},
|
|
48014
48025
|
messageId: ts,
|
|
48015
48026
|
user: "subagent-watcher",
|
|
48016
48027
|
userId: 0,
|
|
@@ -48018,6 +48029,7 @@ ${summary}
|
|
|
48018
48029
|
text,
|
|
48019
48030
|
meta: {
|
|
48020
48031
|
source: "subagent_progress",
|
|
48032
|
+
...opts.ctx.threadId != null ? { message_thread_id: String(opts.ctx.threadId) } : {},
|
|
48021
48033
|
subagent_jsonl_id: opts.ctx.subagentJsonlId,
|
|
48022
48034
|
bucket_idx: String(opts.ctx.bucketIdx),
|
|
48023
48035
|
expiresAt: String(expiresAt),
|
|
@@ -48056,9 +48068,11 @@ function decideSubagentProgress(input) {
|
|
|
48056
48068
|
if (input.lastBucketIdx != null && bucketIdx <= input.lastBucketIdx) {
|
|
48057
48069
|
return { deliver: false, reason: "bucket-already-fired" };
|
|
48058
48070
|
}
|
|
48071
|
+
const threadId = input.fleetChatId && input.originThreadId != null ? input.originThreadId : undefined;
|
|
48059
48072
|
const inbound = buildSubagentProgressInbound({
|
|
48060
48073
|
ctx: {
|
|
48061
48074
|
chatId,
|
|
48075
|
+
...threadId != null ? { threadId } : {},
|
|
48062
48076
|
subagentJsonlId: input.subagentJsonlId,
|
|
48063
48077
|
taskDescription: input.taskDescription,
|
|
48064
48078
|
latestSummary: input.latestSummary,
|
|
@@ -49492,6 +49506,113 @@ function redactSecrets(text) {
|
|
|
49492
49506
|
out = out.replace(re, "[redacted]");
|
|
49493
49507
|
return out;
|
|
49494
49508
|
}
|
|
49509
|
+
|
|
49510
|
+
// tool-activity-summary.ts
|
|
49511
|
+
function baseName(p) {
|
|
49512
|
+
if (typeof p !== "string" || p.length === 0)
|
|
49513
|
+
return null;
|
|
49514
|
+
const parts = p.split("/").filter(Boolean);
|
|
49515
|
+
return parts.length > 0 ? parts[parts.length - 1] : p;
|
|
49516
|
+
}
|
|
49517
|
+
function hostName(u) {
|
|
49518
|
+
if (typeof u !== "string" || u.length === 0)
|
|
49519
|
+
return null;
|
|
49520
|
+
try {
|
|
49521
|
+
return new URL(u).hostname.replace(/^www\./, "");
|
|
49522
|
+
} catch {
|
|
49523
|
+
return u.replace(/^https?:\/\//, "").split("/")[0] || null;
|
|
49524
|
+
}
|
|
49525
|
+
}
|
|
49526
|
+
function clip(s, n) {
|
|
49527
|
+
if (typeof s !== "string")
|
|
49528
|
+
return null;
|
|
49529
|
+
const t = s.trim();
|
|
49530
|
+
if (t.length === 0)
|
|
49531
|
+
return null;
|
|
49532
|
+
return t.length > n ? t.slice(0, n - 1) + "\u2026" : t;
|
|
49533
|
+
}
|
|
49534
|
+
function describeToolUse(toolName, input) {
|
|
49535
|
+
if (!toolName)
|
|
49536
|
+
return null;
|
|
49537
|
+
const inp = input ?? {};
|
|
49538
|
+
const mcpMatch = /^mcp__(.+?)__(.+)$/.exec(toolName);
|
|
49539
|
+
if (mcpMatch) {
|
|
49540
|
+
const server = mcpMatch[1].toLowerCase();
|
|
49541
|
+
const tool = mcpMatch[2].toLowerCase();
|
|
49542
|
+
if (server === "switchroom-telegram")
|
|
49543
|
+
return null;
|
|
49544
|
+
if (server === "hindsight") {
|
|
49545
|
+
if (tool === "recall" || tool === "reflect")
|
|
49546
|
+
return "Searching memory";
|
|
49547
|
+
if (tool === "retain" || tool === "update_memory" || tool === "sync_retain")
|
|
49548
|
+
return "Saving to memory";
|
|
49549
|
+
return "Working with memory";
|
|
49550
|
+
}
|
|
49551
|
+
if (server === "google-workspace" || server === "claude_ai_google_calendar") {
|
|
49552
|
+
return "Checking your calendar";
|
|
49553
|
+
}
|
|
49554
|
+
if (server === "claude_ai_gmail")
|
|
49555
|
+
return "Checking your email";
|
|
49556
|
+
if (server === "claude_ai_google_drive")
|
|
49557
|
+
return "Looking through your files";
|
|
49558
|
+
if (server === "notion" || server === "claude_ai_notion") {
|
|
49559
|
+
return "Checking your notes";
|
|
49560
|
+
}
|
|
49561
|
+
const desc = clip(inp.description, 60) ?? clip(inp.query, 50) ?? clip(inp.title, 50);
|
|
49562
|
+
if (desc)
|
|
49563
|
+
return desc;
|
|
49564
|
+
return "Using " + tool.replace(/[-_]+/g, " ");
|
|
49565
|
+
}
|
|
49566
|
+
switch (toolName) {
|
|
49567
|
+
case "Bash": {
|
|
49568
|
+
return clip(inp.description, 70) ?? "Running a command";
|
|
49569
|
+
}
|
|
49570
|
+
case "BashOutput":
|
|
49571
|
+
case "KillShell":
|
|
49572
|
+
return "Managing a background command";
|
|
49573
|
+
case "Read": {
|
|
49574
|
+
const f = baseName(inp.file_path);
|
|
49575
|
+
return f ? `Reading ${f}` : "Reading a file";
|
|
49576
|
+
}
|
|
49577
|
+
case "Edit":
|
|
49578
|
+
case "MultiEdit":
|
|
49579
|
+
case "NotebookEdit": {
|
|
49580
|
+
const f = baseName(inp.file_path) ?? baseName(inp.notebook_path);
|
|
49581
|
+
return f ? `Editing ${f}` : "Editing a file";
|
|
49582
|
+
}
|
|
49583
|
+
case "Write": {
|
|
49584
|
+
const f = baseName(inp.file_path);
|
|
49585
|
+
return f ? `Writing ${f}` : "Writing a file";
|
|
49586
|
+
}
|
|
49587
|
+
case "Grep":
|
|
49588
|
+
case "Glob": {
|
|
49589
|
+
const p = clip(inp.pattern, 40);
|
|
49590
|
+
return p ? `Searching for ${p}` : "Searching files";
|
|
49591
|
+
}
|
|
49592
|
+
case "WebFetch": {
|
|
49593
|
+
const h = hostName(inp.url);
|
|
49594
|
+
return h ? `Reading ${h}` : "Reading a web page";
|
|
49595
|
+
}
|
|
49596
|
+
case "WebSearch": {
|
|
49597
|
+
const q = clip(inp.query, 50);
|
|
49598
|
+
return q ? `Searching the web for ${q}` : "Searching the web";
|
|
49599
|
+
}
|
|
49600
|
+
case "Task":
|
|
49601
|
+
case "Agent": {
|
|
49602
|
+
const d = clip(inp.description, 60);
|
|
49603
|
+
return d ? `Delegating: ${d}` : "Delegating to a sub-agent";
|
|
49604
|
+
}
|
|
49605
|
+
case "TodoWrite":
|
|
49606
|
+
case "TaskCreate":
|
|
49607
|
+
case "TaskUpdate":
|
|
49608
|
+
case "TaskList":
|
|
49609
|
+
return "Updating the plan";
|
|
49610
|
+
case "ToolSearch":
|
|
49611
|
+
return "Finding the right tool";
|
|
49612
|
+
default:
|
|
49613
|
+
return "Working\u2026";
|
|
49614
|
+
}
|
|
49615
|
+
}
|
|
49495
49616
|
// registry/subagents-schema.ts
|
|
49496
49617
|
function countRunningBackgroundSubagents(db2) {
|
|
49497
49618
|
const row = db2.prepare("SELECT count(*) AS n FROM subagents WHERE background = 1 AND status = 'running'").get();
|
|
@@ -49739,6 +49860,28 @@ function readSubTail(entry, tail, now, onDescriptionUpdate, fs2, log, db2, paren
|
|
|
49739
49860
|
name: ev.toolName,
|
|
49740
49861
|
sanitisedArg: sanitiseToolArg(ev.toolName, ev.input ?? {})
|
|
49741
49862
|
};
|
|
49863
|
+
if (onProgress != null && entry.state === "running" && !entry.historical) {
|
|
49864
|
+
const toolLine = describeToolUse(ev.toolName, ev.input ?? {});
|
|
49865
|
+
if (toolLine != null && toolLine.length > 0) {
|
|
49866
|
+
try {
|
|
49867
|
+
onProgress({
|
|
49868
|
+
agentId: entry.agentId,
|
|
49869
|
+
description: entry.description,
|
|
49870
|
+
latestSummary: entry.lastResultText,
|
|
49871
|
+
elapsedMs: now - entry.dispatchedAt,
|
|
49872
|
+
prevBucketIdx: entry.lastProgressBucketIdx,
|
|
49873
|
+
setBucketIdx: (b) => {
|
|
49874
|
+
entry.lastProgressBucketIdx = b;
|
|
49875
|
+
},
|
|
49876
|
+
lastTool: entry.lastTool,
|
|
49877
|
+
toolCount: entry.toolCount,
|
|
49878
|
+
progressLine: toolLine
|
|
49879
|
+
});
|
|
49880
|
+
} catch (cbErr) {
|
|
49881
|
+
log?.(`subagent-watcher: onProgress (tool) callback error ${entry.agentId}: ${cbErr.message}`);
|
|
49882
|
+
}
|
|
49883
|
+
}
|
|
49884
|
+
}
|
|
49742
49885
|
} else if (ev.kind === "sub_agent_text") {
|
|
49743
49886
|
entry.lastSummaryLine = ev.text.split(`
|
|
49744
49887
|
`)[0].trim().slice(0, 120);
|
|
@@ -51865,10 +52008,10 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
|
|
|
51865
52008
|
}
|
|
51866
52009
|
|
|
51867
52010
|
// ../src/build-info.ts
|
|
51868
|
-
var VERSION = "0.14.
|
|
51869
|
-
var COMMIT_SHA = "
|
|
51870
|
-
var COMMIT_DATE = "2026-06-
|
|
51871
|
-
var LATEST_PR =
|
|
52011
|
+
var VERSION = "0.14.43";
|
|
52012
|
+
var COMMIT_SHA = "85d37be2";
|
|
52013
|
+
var COMMIT_DATE = "2026-06-03T00:28:58Z";
|
|
52014
|
+
var LATEST_PR = 2103;
|
|
51872
52015
|
var COMMITS_AHEAD_OF_TAG = 0;
|
|
51873
52016
|
|
|
51874
52017
|
// gateway/boot-version.ts
|
|
@@ -53361,14 +53504,18 @@ function postPermissionResumeMessage(opts) {
|
|
|
53361
53504
|
timeoutMinutes: opts.timeoutMinutes
|
|
53362
53505
|
});
|
|
53363
53506
|
const turn = currentTurn;
|
|
53364
|
-
const targets = turn != null ? [{ chatId: turn.sessionChatId, threadId: turn.sessionThreadId }] :
|
|
53365
|
-
|
|
53366
|
-
|
|
53507
|
+
const targets = turn != null ? [{ chatId: turn.sessionChatId, threadId: turn.sessionThreadId }] : (() => {
|
|
53508
|
+
const sg = resolveAgentSupergroupChatId();
|
|
53509
|
+
const topic = resolveAgentOutboundTopic({
|
|
53367
53510
|
kind: "permission",
|
|
53368
53511
|
turnInitiated: false,
|
|
53369
53512
|
originThreadId: undefined
|
|
53370
|
-
})
|
|
53371
|
-
|
|
53513
|
+
});
|
|
53514
|
+
return loadAccess().allowFrom.map((chatId) => ({
|
|
53515
|
+
chatId,
|
|
53516
|
+
threadId: topicForRecipient({ recipientChatId: chatId, resolvedTopic: topic, supergroupChatId: sg })
|
|
53517
|
+
}));
|
|
53518
|
+
})();
|
|
53372
53519
|
for (const { chatId, threadId } of targets) {
|
|
53373
53520
|
swallowingApiCall(() => bot.api.sendMessage(chatId, text, {
|
|
53374
53521
|
parse_mode: "HTML",
|
|
@@ -54479,11 +54626,13 @@ var ipcServer = createIpcServer({
|
|
|
54479
54626
|
turnInitiated: activeTurn != null,
|
|
54480
54627
|
originThreadId: activeTurn?.sessionThreadId
|
|
54481
54628
|
});
|
|
54629
|
+
const permSupergroup = resolveAgentSupergroupChatId();
|
|
54482
54630
|
for (const chat_id of access.allowFrom) {
|
|
54631
|
+
const permThread = topicForRecipient({ recipientChatId: chat_id, resolvedTopic: permTopic, supergroupChatId: permSupergroup });
|
|
54483
54632
|
bot.api.sendMessage(chat_id, text, {
|
|
54484
54633
|
parse_mode: "HTML",
|
|
54485
54634
|
reply_markup: keyboard,
|
|
54486
|
-
...
|
|
54635
|
+
...permThread != null ? { message_thread_id: permThread } : {}
|
|
54487
54636
|
}).catch((e) => {
|
|
54488
54637
|
process.stderr.write(`telegram gateway: permission_request send to ${chat_id} failed: ${e}
|
|
54489
54638
|
`);
|
|
@@ -54547,9 +54696,13 @@ var ipcServer = createIpcServer({
|
|
|
54547
54696
|
if (operator === undefined)
|
|
54548
54697
|
return null;
|
|
54549
54698
|
const activeTurn = currentTurn;
|
|
54550
|
-
const driveTopic =
|
|
54551
|
-
|
|
54552
|
-
|
|
54699
|
+
const driveTopic = topicForRecipient({
|
|
54700
|
+
recipientChatId: operator,
|
|
54701
|
+
resolvedTopic: resolveAgentOutboundTopic({
|
|
54702
|
+
kind: "hostd-approval",
|
|
54703
|
+
originThreadId: activeTurn?.sessionThreadId
|
|
54704
|
+
}),
|
|
54705
|
+
supergroupChatId: resolveAgentSupergroupChatId()
|
|
54553
54706
|
});
|
|
54554
54707
|
return {
|
|
54555
54708
|
chatId: operator,
|
|
@@ -54605,9 +54758,13 @@ var ipcServer = createIpcServer({
|
|
|
54605
54758
|
if (operator === undefined)
|
|
54606
54759
|
return null;
|
|
54607
54760
|
const activeTurn = currentTurn;
|
|
54608
|
-
const ms365Topic =
|
|
54609
|
-
|
|
54610
|
-
|
|
54761
|
+
const ms365Topic = topicForRecipient({
|
|
54762
|
+
recipientChatId: operator,
|
|
54763
|
+
resolvedTopic: resolveAgentOutboundTopic({
|
|
54764
|
+
kind: "hostd-approval",
|
|
54765
|
+
originThreadId: activeTurn?.sessionThreadId
|
|
54766
|
+
}),
|
|
54767
|
+
supergroupChatId: resolveAgentSupergroupChatId()
|
|
54611
54768
|
});
|
|
54612
54769
|
return {
|
|
54613
54770
|
chatId: operator,
|
|
@@ -54662,9 +54819,13 @@ var ipcServer = createIpcServer({
|
|
|
54662
54819
|
if (operator === undefined)
|
|
54663
54820
|
return null;
|
|
54664
54821
|
const activeTurn = currentTurn;
|
|
54665
|
-
const cfgTopic =
|
|
54666
|
-
|
|
54667
|
-
|
|
54822
|
+
const cfgTopic = topicForRecipient({
|
|
54823
|
+
recipientChatId: operator,
|
|
54824
|
+
resolvedTopic: resolveAgentOutboundTopic({
|
|
54825
|
+
kind: "hostd-approval",
|
|
54826
|
+
originThreadId: activeTurn?.sessionThreadId
|
|
54827
|
+
}),
|
|
54828
|
+
supergroupChatId: resolveAgentSupergroupChatId()
|
|
54668
54829
|
});
|
|
54669
54830
|
return {
|
|
54670
54831
|
chatId: operator,
|
|
@@ -55051,7 +55212,7 @@ ${url}`;
|
|
|
55051
55212
|
effectiveText = text;
|
|
55052
55213
|
}
|
|
55053
55214
|
assertAllowedChat(chat_id);
|
|
55054
|
-
let threadId = resolveThreadId(chat_id, args.message_thread_id);
|
|
55215
|
+
let threadId = resolveThreadId(chat_id, args.message_thread_id ?? (turn?.sessionThreadId != null ? turn.sessionThreadId : undefined));
|
|
55055
55216
|
if (reply_to == null && quoteOptIn && HISTORY_ENABLED) {
|
|
55056
55217
|
try {
|
|
55057
55218
|
const latest = getLatestInboundMessageId(chat_id, threadId ?? null);
|
|
@@ -55390,6 +55551,9 @@ async function executeStreamReply(args) {
|
|
|
55390
55551
|
throw new Error("stream_reply: chat_id is required");
|
|
55391
55552
|
if (args.text == null || args.text === "")
|
|
55392
55553
|
throw new Error("stream_reply: text is required and cannot be empty");
|
|
55554
|
+
if (args.message_thread_id == null && turn?.sessionThreadId != null) {
|
|
55555
|
+
args.message_thread_id = String(turn.sessionThreadId);
|
|
55556
|
+
}
|
|
55393
55557
|
args.text = redactOutboundText(args.text, "stream_reply");
|
|
55394
55558
|
{
|
|
55395
55559
|
const scrub = scrubVoice(args.text);
|
|
@@ -58229,6 +58393,22 @@ function resolveAgentOutboundTopic(event) {
|
|
|
58229
58393
|
return;
|
|
58230
58394
|
}
|
|
58231
58395
|
}
|
|
58396
|
+
function resolveAgentSupergroupChatId() {
|
|
58397
|
+
const agentName3 = process.env.SWITCHROOM_AGENT_NAME;
|
|
58398
|
+
if (!agentName3)
|
|
58399
|
+
return;
|
|
58400
|
+
try {
|
|
58401
|
+
const cfg = loadConfig2();
|
|
58402
|
+
const rawAgent = cfg.agents?.[agentName3];
|
|
58403
|
+
if (!rawAgent)
|
|
58404
|
+
return;
|
|
58405
|
+
const resolved = resolveAgentConfig2(cfg.defaults, cfg.profiles, rawAgent);
|
|
58406
|
+
const tg = resolved.channels?.telegram;
|
|
58407
|
+
return tg?.chat_id != null ? String(tg.chat_id) : undefined;
|
|
58408
|
+
} catch {
|
|
58409
|
+
return;
|
|
58410
|
+
}
|
|
58411
|
+
}
|
|
58232
58412
|
function stampUserRestartReason(reason) {
|
|
58233
58413
|
try {
|
|
58234
58414
|
writeCleanShutdownMarker(GATEWAY_CLEAN_SHUTDOWN_MARKER_PATH, {
|
|
@@ -62823,11 +63003,13 @@ var didOneTimeSetup = false;
|
|
|
62823
63003
|
state: outcome === "failed" ? "failed" : "done"
|
|
62824
63004
|
});
|
|
62825
63005
|
}
|
|
63006
|
+
const handbackOrigin = resolveSubagentOriginChat(agentId);
|
|
62826
63007
|
const decision = decideSubagentHandback({
|
|
62827
63008
|
handbackEnvValue: process.env.SWITCHROOM_SUBAGENT_HANDBACK,
|
|
62828
63009
|
outcome,
|
|
62829
63010
|
isBackground,
|
|
62830
|
-
fleetChatId:
|
|
63011
|
+
fleetChatId: handbackOrigin?.chatId || fleetChatId,
|
|
63012
|
+
...handbackOrigin?.threadId != null ? { originThreadId: handbackOrigin.threadId } : {},
|
|
62831
63013
|
ownerChatId: loadAccess().allowFrom[0] ?? "",
|
|
62832
63014
|
taskDescription: description,
|
|
62833
63015
|
resultText,
|
|
@@ -62855,7 +63037,7 @@ var didOneTimeSetup = false;
|
|
|
62855
63037
|
process.stderr.write(`telegram gateway: subagent-handback queued agent=${agentId} outcome=${outcome} chat=${decision.chatId} resultChars=${resultText.length}
|
|
62856
63038
|
`);
|
|
62857
63039
|
},
|
|
62858
|
-
onProgress: ({ agentId, description, latestSummary, elapsedMs, prevBucketIdx, setBucketIdx, lastTool, toolCount }) => {
|
|
63040
|
+
onProgress: ({ agentId, description, latestSummary, elapsedMs, prevBucketIdx, setBucketIdx, lastTool, toolCount, progressLine }) => {
|
|
62859
63041
|
let fleetChatId = "";
|
|
62860
63042
|
try {
|
|
62861
63043
|
const fleets = progressDriver?.peekAllFleets() ?? [];
|
|
@@ -62882,7 +63064,7 @@ var didOneTimeSetup = false;
|
|
|
62882
63064
|
replyCalled: turn.replyCalled
|
|
62883
63065
|
}))
|
|
62884
63066
|
return;
|
|
62885
|
-
const child = latestSummary.trim().slice(0, 120);
|
|
63067
|
+
const child = (progressLine ?? latestSummary).trim().slice(0, 120);
|
|
62886
63068
|
if (child.length === 0)
|
|
62887
63069
|
return;
|
|
62888
63070
|
let narrative = turn.foregroundSubAgents.get(agentId);
|
|
@@ -62917,10 +63099,12 @@ var didOneTimeSetup = false;
|
|
|
62917
63099
|
}, origin?.threadId);
|
|
62918
63100
|
return;
|
|
62919
63101
|
}
|
|
63102
|
+
const progressOrigin = resolveSubagentOriginChat(agentId);
|
|
62920
63103
|
const decision = decideSubagentProgress({
|
|
62921
63104
|
disableEnvValue: process.env.SWITCHROOM_DISABLE_SUBAGENT_PROGRESS,
|
|
62922
63105
|
isBackground,
|
|
62923
|
-
fleetChatId:
|
|
63106
|
+
fleetChatId: progressOrigin?.chatId || fleetChatId,
|
|
63107
|
+
...progressOrigin?.threadId != null ? { originThreadId: progressOrigin.threadId } : {},
|
|
62924
63108
|
ownerChatId: loadAccess().allowFrom[0] ?? "",
|
|
62925
63109
|
subagentJsonlId: agentId,
|
|
62926
63110
|
taskDescription: description,
|
|
@@ -62933,7 +63117,7 @@ var didOneTimeSetup = false;
|
|
|
62933
63117
|
return;
|
|
62934
63118
|
setBucketIdx(decision.bucketIdx);
|
|
62935
63119
|
pendingInboundBuffer.push(process.env.SWITCHROOM_AGENT_NAME ?? "", decision.inbound);
|
|
62936
|
-
clearPending(statusKey(decision.chatId,
|
|
63120
|
+
clearPending(statusKey(decision.chatId, progressOrigin?.threadId), "progress");
|
|
62937
63121
|
process.stderr.write(`telegram gateway: subagent-progress queued agent=${agentId} bucket=${decision.bucketIdx} elapsed_ms=${elapsedMs} chat=${decision.chatId}
|
|
62938
63122
|
`);
|
|
62939
63123
|
}
|