switchroom 0.14.30 → 0.14.32

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.
Files changed (30) hide show
  1. package/dist/agent-scheduler/index.js +80 -80
  2. package/dist/auth-broker/index.js +80 -80
  3. package/dist/cli/drive-write-pretool.mjs +10 -10
  4. package/dist/cli/notion-write-pretool.mjs +82 -82
  5. package/dist/cli/skill-validate-pretool.mjs +72 -72
  6. package/dist/cli/switchroom.js +453 -366
  7. package/dist/host-control/main.js +235 -157
  8. package/dist/vault/approvals/kernel-server.js +82 -82
  9. package/dist/vault/broker/server.js +83 -83
  10. package/package.json +1 -1
  11. package/telegram-plugin/dist/bridge/bridge.js +112 -112
  12. package/telegram-plugin/dist/gateway/gateway.js +357 -213
  13. package/telegram-plugin/dist/server.js +160 -160
  14. package/telegram-plugin/gateway/gateway.ts +83 -9
  15. package/telegram-plugin/hooks/hooks.json +9 -0
  16. package/telegram-plugin/hooks/sentinel-reply-guard-pretool.mjs +114 -0
  17. package/telegram-plugin/hooks/silent-end-scan.mjs +61 -5
  18. package/telegram-plugin/registry/turns-schema.test.ts +34 -0
  19. package/telegram-plugin/registry/turns-schema.ts +18 -0
  20. package/telegram-plugin/secret-detect/generic-entropy.ts +87 -0
  21. package/telegram-plugin/secret-detect/index.ts +42 -23
  22. package/telegram-plugin/secret-detect/patterns.ts +64 -2
  23. package/telegram-plugin/secret-detect/redact.ts +10 -1
  24. package/telegram-plugin/tests/secret-detect-generic-entropy.test.ts +94 -0
  25. package/telegram-plugin/tests/secret-detect-providers.test.ts +74 -0
  26. package/telegram-plugin/tests/secret-detect-secretlint.test.ts +8 -4
  27. package/telegram-plugin/tests/sentinel-reply-guard-pretool.test.ts +109 -0
  28. package/telegram-plugin/tests/silent-end-interrupt-stop-scan.test.ts +118 -0
  29. package/telegram-plugin/tests/turn-flush-safety.test.ts +41 -0
  30. package/telegram-plugin/turn-flush-safety.ts +41 -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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/filter.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/context.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/composer.js
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
- // ../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
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
- // ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
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
- // ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
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
- // ../node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
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
- // ../node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
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
- // ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
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
- // ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/platform.node.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/error.js
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
- // ../node_modules/.bun/@grammyjs+types@3.26.0/node_modules/@grammyjs/types/mod.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.node.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/payload.js
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
- // ../node_modules/.bun/event-target-shim@5.0.1/node_modules/event-target-shim/dist/event-target-shim.js
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
- // ../node_modules/.bun/abort-controller@3.0.0/node_modules/abort-controller/dist/abort-controller.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/shim.node.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/client.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/api.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/bot.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/constants.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/inline_query.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/input_media.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/keyboard.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/session.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/frameworks.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/webhook.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/platform.node.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/distribute.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/queue.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sink.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/node-shim.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/source.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/runner.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sequentialize.js
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
- // ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/deps.node.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/worker.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
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
- // ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
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
- // ../node_modules/.bun/@xterm+headless@6.0.0/node_modules/@xterm/headless/lib-headless/xterm-headless.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
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
- // ../node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
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();
@@ -16697,7 +16697,7 @@ var init_client = __esm(() => {
16697
16697
  };
16698
16698
  });
16699
16699
 
16700
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
16700
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
16701
16701
  var require_identity = __commonJS((exports2) => {
16702
16702
  var ALIAS = Symbol.for("yaml.alias");
16703
16703
  var DOC = Symbol.for("yaml.document");
@@ -16751,7 +16751,7 @@ var require_identity = __commonJS((exports2) => {
16751
16751
  exports2.isSeq = isSeq;
16752
16752
  });
16753
16753
 
16754
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
16754
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
16755
16755
  var require_visit = __commonJS((exports2) => {
16756
16756
  var identity = require_identity();
16757
16757
  var BREAK = Symbol("break visit");
@@ -16906,7 +16906,7 @@ var require_visit = __commonJS((exports2) => {
16906
16906
  exports2.visitAsync = visitAsync;
16907
16907
  });
16908
16908
 
16909
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
16909
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
16910
16910
  var require_directives = __commonJS((exports2) => {
16911
16911
  var identity = require_identity();
16912
16912
  var visit = require_visit();
@@ -17058,7 +17058,7 @@ var require_directives = __commonJS((exports2) => {
17058
17058
  exports2.Directives = Directives;
17059
17059
  });
17060
17060
 
17061
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
17061
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
17062
17062
  var require_anchors = __commonJS((exports2) => {
17063
17063
  var identity = require_identity();
17064
17064
  var visit = require_visit();
@@ -17120,7 +17120,7 @@ var require_anchors = __commonJS((exports2) => {
17120
17120
  exports2.findNewAnchor = findNewAnchor;
17121
17121
  });
17122
17122
 
17123
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
17123
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
17124
17124
  var require_applyReviver = __commonJS((exports2) => {
17125
17125
  function applyReviver(reviver, obj, key, val) {
17126
17126
  if (val && typeof val === "object") {
@@ -17167,7 +17167,7 @@ var require_applyReviver = __commonJS((exports2) => {
17167
17167
  exports2.applyReviver = applyReviver;
17168
17168
  });
17169
17169
 
17170
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
17170
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
17171
17171
  var require_toJS = __commonJS((exports2) => {
17172
17172
  var identity = require_identity();
17173
17173
  function toJS(value, arg, ctx) {
@@ -17194,7 +17194,7 @@ var require_toJS = __commonJS((exports2) => {
17194
17194
  exports2.toJS = toJS;
17195
17195
  });
17196
17196
 
17197
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
17197
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
17198
17198
  var require_Node = __commonJS((exports2) => {
17199
17199
  var applyReviver = require_applyReviver();
17200
17200
  var identity = require_identity();
@@ -17231,7 +17231,7 @@ var require_Node = __commonJS((exports2) => {
17231
17231
  exports2.NodeBase = NodeBase;
17232
17232
  });
17233
17233
 
17234
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
17234
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
17235
17235
  var require_Alias = __commonJS((exports2) => {
17236
17236
  var anchors = require_anchors();
17237
17237
  var visit = require_visit();
@@ -17339,7 +17339,7 @@ var require_Alias = __commonJS((exports2) => {
17339
17339
  exports2.Alias = Alias;
17340
17340
  });
17341
17341
 
17342
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
17342
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
17343
17343
  var require_Scalar = __commonJS((exports2) => {
17344
17344
  var identity = require_identity();
17345
17345
  var Node = require_Node();
@@ -17367,7 +17367,7 @@ var require_Scalar = __commonJS((exports2) => {
17367
17367
  exports2.isScalarValue = isScalarValue;
17368
17368
  });
17369
17369
 
17370
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
17370
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
17371
17371
  var require_createNode = __commonJS((exports2) => {
17372
17372
  var Alias = require_Alias();
17373
17373
  var identity = require_identity();
@@ -17439,7 +17439,7 @@ var require_createNode = __commonJS((exports2) => {
17439
17439
  exports2.createNode = createNode;
17440
17440
  });
17441
17441
 
17442
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
17442
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
17443
17443
  var require_Collection = __commonJS((exports2) => {
17444
17444
  var createNode = require_createNode();
17445
17445
  var identity = require_identity();
@@ -17554,7 +17554,7 @@ var require_Collection = __commonJS((exports2) => {
17554
17554
  exports2.isEmptyPath = isEmptyPath;
17555
17555
  });
17556
17556
 
17557
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
17557
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
17558
17558
  var require_stringifyComment = __commonJS((exports2) => {
17559
17559
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
17560
17560
  function indentComment(comment, indent) {
@@ -17571,7 +17571,7 @@ var require_stringifyComment = __commonJS((exports2) => {
17571
17571
  exports2.stringifyComment = stringifyComment;
17572
17572
  });
17573
17573
 
17574
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
17574
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
17575
17575
  var require_foldFlowLines = __commonJS((exports2) => {
17576
17576
  var FOLD_FLOW = "flow";
17577
17577
  var FOLD_BLOCK = "block";
@@ -17708,7 +17708,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
17708
17708
  exports2.foldFlowLines = foldFlowLines;
17709
17709
  });
17710
17710
 
17711
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
17711
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
17712
17712
  var require_stringifyString = __commonJS((exports2) => {
17713
17713
  var Scalar = require_Scalar();
17714
17714
  var foldFlowLines = require_foldFlowLines();
@@ -18006,7 +18006,7 @@ ${indent}`);
18006
18006
  exports2.stringifyString = stringifyString;
18007
18007
  });
18008
18008
 
18009
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
18009
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
18010
18010
  var require_stringify = __commonJS((exports2) => {
18011
18011
  var anchors = require_anchors();
18012
18012
  var identity = require_identity();
@@ -18127,7 +18127,7 @@ ${ctx.indent}${str}`;
18127
18127
  exports2.stringify = stringify;
18128
18128
  });
18129
18129
 
18130
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
18130
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
18131
18131
  var require_stringifyPair = __commonJS((exports2) => {
18132
18132
  var identity = require_identity();
18133
18133
  var Scalar = require_Scalar();
@@ -18263,7 +18263,7 @@ ${ctx.indent}`;
18263
18263
  exports2.stringifyPair = stringifyPair;
18264
18264
  });
18265
18265
 
18266
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
18266
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
18267
18267
  var require_log = __commonJS((exports2) => {
18268
18268
  var node_process = __require("process");
18269
18269
  function debug(logLevel, ...messages) {
@@ -18282,7 +18282,7 @@ var require_log = __commonJS((exports2) => {
18282
18282
  exports2.warn = warn;
18283
18283
  });
18284
18284
 
18285
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
18285
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
18286
18286
  var require_merge = __commonJS((exports2) => {
18287
18287
  var identity = require_identity();
18288
18288
  var Scalar = require_Scalar();
@@ -18336,7 +18336,7 @@ var require_merge = __commonJS((exports2) => {
18336
18336
  exports2.merge = merge;
18337
18337
  });
18338
18338
 
18339
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
18339
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
18340
18340
  var require_addPairToJSMap = __commonJS((exports2) => {
18341
18341
  var log = require_log();
18342
18342
  var merge = require_merge();
@@ -18397,7 +18397,7 @@ var require_addPairToJSMap = __commonJS((exports2) => {
18397
18397
  exports2.addPairToJSMap = addPairToJSMap;
18398
18398
  });
18399
18399
 
18400
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
18400
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
18401
18401
  var require_Pair = __commonJS((exports2) => {
18402
18402
  var createNode = require_createNode();
18403
18403
  var stringifyPair = require_stringifyPair();
@@ -18435,7 +18435,7 @@ var require_Pair = __commonJS((exports2) => {
18435
18435
  exports2.createPair = createPair;
18436
18436
  });
18437
18437
 
18438
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
18438
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
18439
18439
  var require_stringifyCollection = __commonJS((exports2) => {
18440
18440
  var identity = require_identity();
18441
18441
  var stringify = require_stringify();
@@ -18587,7 +18587,7 @@ ${indent}${end}`;
18587
18587
  exports2.stringifyCollection = stringifyCollection;
18588
18588
  });
18589
18589
 
18590
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
18590
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
18591
18591
  var require_YAMLMap = __commonJS((exports2) => {
18592
18592
  var stringifyCollection = require_stringifyCollection();
18593
18593
  var addPairToJSMap = require_addPairToJSMap();
@@ -18714,7 +18714,7 @@ var require_YAMLMap = __commonJS((exports2) => {
18714
18714
  exports2.findPair = findPair;
18715
18715
  });
18716
18716
 
18717
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
18717
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
18718
18718
  var require_map = __commonJS((exports2) => {
18719
18719
  var identity = require_identity();
18720
18720
  var YAMLMap = require_YAMLMap();
@@ -18733,7 +18733,7 @@ var require_map = __commonJS((exports2) => {
18733
18733
  exports2.map = map;
18734
18734
  });
18735
18735
 
18736
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
18736
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
18737
18737
  var require_YAMLSeq = __commonJS((exports2) => {
18738
18738
  var createNode = require_createNode();
18739
18739
  var stringifyCollection = require_stringifyCollection();
@@ -18826,7 +18826,7 @@ var require_YAMLSeq = __commonJS((exports2) => {
18826
18826
  exports2.YAMLSeq = YAMLSeq;
18827
18827
  });
18828
18828
 
18829
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
18829
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
18830
18830
  var require_seq = __commonJS((exports2) => {
18831
18831
  var identity = require_identity();
18832
18832
  var YAMLSeq = require_YAMLSeq();
@@ -18845,7 +18845,7 @@ var require_seq = __commonJS((exports2) => {
18845
18845
  exports2.seq = seq;
18846
18846
  });
18847
18847
 
18848
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
18848
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
18849
18849
  var require_string = __commonJS((exports2) => {
18850
18850
  var stringifyString = require_stringifyString();
18851
18851
  var string = {
@@ -18861,7 +18861,7 @@ var require_string = __commonJS((exports2) => {
18861
18861
  exports2.string = string;
18862
18862
  });
18863
18863
 
18864
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
18864
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
18865
18865
  var require_null = __commonJS((exports2) => {
18866
18866
  var Scalar = require_Scalar();
18867
18867
  var nullTag = {
@@ -18876,7 +18876,7 @@ var require_null = __commonJS((exports2) => {
18876
18876
  exports2.nullTag = nullTag;
18877
18877
  });
18878
18878
 
18879
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
18879
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
18880
18880
  var require_bool = __commonJS((exports2) => {
18881
18881
  var Scalar = require_Scalar();
18882
18882
  var boolTag = {
@@ -18897,7 +18897,7 @@ var require_bool = __commonJS((exports2) => {
18897
18897
  exports2.boolTag = boolTag;
18898
18898
  });
18899
18899
 
18900
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
18900
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
18901
18901
  var require_stringifyNumber = __commonJS((exports2) => {
18902
18902
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
18903
18903
  if (typeof value === "bigint")
@@ -18921,7 +18921,7 @@ var require_stringifyNumber = __commonJS((exports2) => {
18921
18921
  exports2.stringifyNumber = stringifyNumber;
18922
18922
  });
18923
18923
 
18924
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
18924
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
18925
18925
  var require_float = __commonJS((exports2) => {
18926
18926
  var Scalar = require_Scalar();
18927
18927
  var stringifyNumber = require_stringifyNumber();
@@ -18964,7 +18964,7 @@ var require_float = __commonJS((exports2) => {
18964
18964
  exports2.floatNaN = floatNaN;
18965
18965
  });
18966
18966
 
18967
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
18967
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
18968
18968
  var require_int = __commonJS((exports2) => {
18969
18969
  var stringifyNumber = require_stringifyNumber();
18970
18970
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -19006,7 +19006,7 @@ var require_int = __commonJS((exports2) => {
19006
19006
  exports2.intOct = intOct;
19007
19007
  });
19008
19008
 
19009
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
19009
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
19010
19010
  var require_schema = __commonJS((exports2) => {
19011
19011
  var map = require_map();
19012
19012
  var _null = require_null();
@@ -19031,7 +19031,7 @@ var require_schema = __commonJS((exports2) => {
19031
19031
  exports2.schema = schema;
19032
19032
  });
19033
19033
 
19034
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
19034
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
19035
19035
  var require_schema2 = __commonJS((exports2) => {
19036
19036
  var Scalar = require_Scalar();
19037
19037
  var map = require_map();
@@ -19095,7 +19095,7 @@ var require_schema2 = __commonJS((exports2) => {
19095
19095
  exports2.schema = schema;
19096
19096
  });
19097
19097
 
19098
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
19098
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
19099
19099
  var require_binary = __commonJS((exports2) => {
19100
19100
  var node_buffer = __require("buffer");
19101
19101
  var Scalar = require_Scalar();
@@ -19150,7 +19150,7 @@ var require_binary = __commonJS((exports2) => {
19150
19150
  exports2.binary = binary;
19151
19151
  });
19152
19152
 
19153
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
19153
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
19154
19154
  var require_pairs = __commonJS((exports2) => {
19155
19155
  var identity = require_identity();
19156
19156
  var Pair = require_Pair();
@@ -19225,7 +19225,7 @@ ${cn.comment}` : item.comment;
19225
19225
  exports2.resolvePairs = resolvePairs;
19226
19226
  });
19227
19227
 
19228
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
19228
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
19229
19229
  var require_omap = __commonJS((exports2) => {
19230
19230
  var identity = require_identity();
19231
19231
  var toJS = require_toJS();
@@ -19297,7 +19297,7 @@ var require_omap = __commonJS((exports2) => {
19297
19297
  exports2.omap = omap;
19298
19298
  });
19299
19299
 
19300
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
19300
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
19301
19301
  var require_bool2 = __commonJS((exports2) => {
19302
19302
  var Scalar = require_Scalar();
19303
19303
  function boolStringify({ value, source }, ctx) {
@@ -19326,7 +19326,7 @@ var require_bool2 = __commonJS((exports2) => {
19326
19326
  exports2.trueTag = trueTag;
19327
19327
  });
19328
19328
 
19329
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
19329
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
19330
19330
  var require_float2 = __commonJS((exports2) => {
19331
19331
  var Scalar = require_Scalar();
19332
19332
  var stringifyNumber = require_stringifyNumber();
@@ -19372,7 +19372,7 @@ var require_float2 = __commonJS((exports2) => {
19372
19372
  exports2.floatNaN = floatNaN;
19373
19373
  });
19374
19374
 
19375
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
19375
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
19376
19376
  var require_int2 = __commonJS((exports2) => {
19377
19377
  var stringifyNumber = require_stringifyNumber();
19378
19378
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -19448,7 +19448,7 @@ var require_int2 = __commonJS((exports2) => {
19448
19448
  exports2.intOct = intOct;
19449
19449
  });
19450
19450
 
19451
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
19451
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
19452
19452
  var require_set = __commonJS((exports2) => {
19453
19453
  var identity = require_identity();
19454
19454
  var Pair = require_Pair();
@@ -19531,7 +19531,7 @@ var require_set = __commonJS((exports2) => {
19531
19531
  exports2.set = set;
19532
19532
  });
19533
19533
 
19534
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
19534
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
19535
19535
  var require_timestamp = __commonJS((exports2) => {
19536
19536
  var stringifyNumber = require_stringifyNumber();
19537
19537
  function parseSexagesimal(str, asBigInt) {
@@ -19613,7 +19613,7 @@ var require_timestamp = __commonJS((exports2) => {
19613
19613
  exports2.timestamp = timestamp;
19614
19614
  });
19615
19615
 
19616
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
19616
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
19617
19617
  var require_schema3 = __commonJS((exports2) => {
19618
19618
  var map = require_map();
19619
19619
  var _null = require_null();
@@ -19654,7 +19654,7 @@ var require_schema3 = __commonJS((exports2) => {
19654
19654
  exports2.schema = schema;
19655
19655
  });
19656
19656
 
19657
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
19657
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
19658
19658
  var require_tags = __commonJS((exports2) => {
19659
19659
  var map = require_map();
19660
19660
  var _null = require_null();
@@ -19745,7 +19745,7 @@ var require_tags = __commonJS((exports2) => {
19745
19745
  exports2.getTags = getTags;
19746
19746
  });
19747
19747
 
19748
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
19748
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
19749
19749
  var require_Schema = __commonJS((exports2) => {
19750
19750
  var identity = require_identity();
19751
19751
  var map = require_map();
@@ -19775,7 +19775,7 @@ var require_Schema = __commonJS((exports2) => {
19775
19775
  exports2.Schema = Schema;
19776
19776
  });
19777
19777
 
19778
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
19778
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
19779
19779
  var require_stringifyDocument = __commonJS((exports2) => {
19780
19780
  var identity = require_identity();
19781
19781
  var stringify = require_stringify();
@@ -19855,7 +19855,7 @@ var require_stringifyDocument = __commonJS((exports2) => {
19855
19855
  exports2.stringifyDocument = stringifyDocument;
19856
19856
  });
19857
19857
 
19858
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
19858
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
19859
19859
  var require_Document = __commonJS((exports2) => {
19860
19860
  var Alias = require_Alias();
19861
19861
  var Collection = require_Collection();
@@ -20090,7 +20090,7 @@ var require_Document = __commonJS((exports2) => {
20090
20090
  exports2.Document = Document;
20091
20091
  });
20092
20092
 
20093
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
20093
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
20094
20094
  var require_errors = __commonJS((exports2) => {
20095
20095
  class YAMLError extends Error {
20096
20096
  constructor(name, pos, code, message) {
@@ -20155,7 +20155,7 @@ ${pointer}
20155
20155
  exports2.prettifyError = prettifyError;
20156
20156
  });
20157
20157
 
20158
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
20158
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
20159
20159
  var require_resolve_props = __commonJS((exports2) => {
20160
20160
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
20161
20161
  let spaceBefore = false;
@@ -20285,7 +20285,7 @@ var require_resolve_props = __commonJS((exports2) => {
20285
20285
  exports2.resolveProps = resolveProps;
20286
20286
  });
20287
20287
 
20288
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
20288
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
20289
20289
  var require_util_contains_newline = __commonJS((exports2) => {
20290
20290
  function containsNewline(key) {
20291
20291
  if (!key)
@@ -20325,7 +20325,7 @@ var require_util_contains_newline = __commonJS((exports2) => {
20325
20325
  exports2.containsNewline = containsNewline;
20326
20326
  });
20327
20327
 
20328
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
20328
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
20329
20329
  var require_util_flow_indent_check = __commonJS((exports2) => {
20330
20330
  var utilContainsNewline = require_util_contains_newline();
20331
20331
  function flowIndentCheck(indent, fc, onError) {
@@ -20340,7 +20340,7 @@ var require_util_flow_indent_check = __commonJS((exports2) => {
20340
20340
  exports2.flowIndentCheck = flowIndentCheck;
20341
20341
  });
20342
20342
 
20343
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
20343
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
20344
20344
  var require_util_map_includes = __commonJS((exports2) => {
20345
20345
  var identity = require_identity();
20346
20346
  function mapIncludes(ctx, items, search) {
@@ -20353,7 +20353,7 @@ var require_util_map_includes = __commonJS((exports2) => {
20353
20353
  exports2.mapIncludes = mapIncludes;
20354
20354
  });
20355
20355
 
20356
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
20356
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
20357
20357
  var require_resolve_block_map = __commonJS((exports2) => {
20358
20358
  var Pair = require_Pair();
20359
20359
  var YAMLMap = require_YAMLMap();
@@ -20460,7 +20460,7 @@ var require_resolve_block_map = __commonJS((exports2) => {
20460
20460
  exports2.resolveBlockMap = resolveBlockMap;
20461
20461
  });
20462
20462
 
20463
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
20463
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
20464
20464
  var require_resolve_block_seq = __commonJS((exports2) => {
20465
20465
  var YAMLSeq = require_YAMLSeq();
20466
20466
  var resolveProps = require_resolve_props();
@@ -20508,7 +20508,7 @@ var require_resolve_block_seq = __commonJS((exports2) => {
20508
20508
  exports2.resolveBlockSeq = resolveBlockSeq;
20509
20509
  });
20510
20510
 
20511
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
20511
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
20512
20512
  var require_resolve_end = __commonJS((exports2) => {
20513
20513
  function resolveEnd(end, offset, reqSpace, onError) {
20514
20514
  let comment = "";
@@ -20548,7 +20548,7 @@ var require_resolve_end = __commonJS((exports2) => {
20548
20548
  exports2.resolveEnd = resolveEnd;
20549
20549
  });
20550
20550
 
20551
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
20551
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
20552
20552
  var require_resolve_flow_collection = __commonJS((exports2) => {
20553
20553
  var identity = require_identity();
20554
20554
  var Pair = require_Pair();
@@ -20739,7 +20739,7 @@ var require_resolve_flow_collection = __commonJS((exports2) => {
20739
20739
  exports2.resolveFlowCollection = resolveFlowCollection;
20740
20740
  });
20741
20741
 
20742
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
20742
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
20743
20743
  var require_compose_collection = __commonJS((exports2) => {
20744
20744
  var identity = require_identity();
20745
20745
  var Scalar = require_Scalar();
@@ -20801,7 +20801,7 @@ var require_compose_collection = __commonJS((exports2) => {
20801
20801
  exports2.composeCollection = composeCollection;
20802
20802
  });
20803
20803
 
20804
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
20804
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
20805
20805
  var require_resolve_block_scalar = __commonJS((exports2) => {
20806
20806
  var Scalar = require_Scalar();
20807
20807
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -20994,7 +20994,7 @@ var require_resolve_block_scalar = __commonJS((exports2) => {
20994
20994
  exports2.resolveBlockScalar = resolveBlockScalar;
20995
20995
  });
20996
20996
 
20997
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
20997
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
20998
20998
  var require_resolve_flow_scalar = __commonJS((exports2) => {
20999
20999
  var Scalar = require_Scalar();
21000
21000
  var resolveEnd = require_resolve_end();
@@ -21210,7 +21210,7 @@ var require_resolve_flow_scalar = __commonJS((exports2) => {
21210
21210
  exports2.resolveFlowScalar = resolveFlowScalar;
21211
21211
  });
21212
21212
 
21213
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
21213
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
21214
21214
  var require_compose_scalar = __commonJS((exports2) => {
21215
21215
  var identity = require_identity();
21216
21216
  var Scalar = require_Scalar();
@@ -21288,7 +21288,7 @@ var require_compose_scalar = __commonJS((exports2) => {
21288
21288
  exports2.composeScalar = composeScalar;
21289
21289
  });
21290
21290
 
21291
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
21291
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
21292
21292
  var require_util_empty_scalar_position = __commonJS((exports2) => {
21293
21293
  function emptyScalarPosition(offset, before, pos) {
21294
21294
  if (before) {
@@ -21315,7 +21315,7 @@ var require_util_empty_scalar_position = __commonJS((exports2) => {
21315
21315
  exports2.emptyScalarPosition = emptyScalarPosition;
21316
21316
  });
21317
21317
 
21318
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
21318
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
21319
21319
  var require_compose_node = __commonJS((exports2) => {
21320
21320
  var Alias = require_Alias();
21321
21321
  var identity = require_identity();
@@ -21418,7 +21418,7 @@ var require_compose_node = __commonJS((exports2) => {
21418
21418
  exports2.composeNode = composeNode;
21419
21419
  });
21420
21420
 
21421
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
21421
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
21422
21422
  var require_compose_doc = __commonJS((exports2) => {
21423
21423
  var Document = require_Document();
21424
21424
  var composeNode = require_compose_node();
@@ -21458,7 +21458,7 @@ var require_compose_doc = __commonJS((exports2) => {
21458
21458
  exports2.composeDoc = composeDoc;
21459
21459
  });
21460
21460
 
21461
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
21461
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
21462
21462
  var require_composer2 = __commonJS((exports2) => {
21463
21463
  var node_process = __require("process");
21464
21464
  var directives = require_directives();
@@ -21647,7 +21647,7 @@ ${end.comment}` : end.comment;
21647
21647
  exports2.Composer = Composer;
21648
21648
  });
21649
21649
 
21650
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
21650
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
21651
21651
  var require_cst_scalar = __commonJS((exports2) => {
21652
21652
  var resolveBlockScalar = require_resolve_block_scalar();
21653
21653
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -21837,7 +21837,7 @@ var require_cst_scalar = __commonJS((exports2) => {
21837
21837
  exports2.setScalarValue = setScalarValue;
21838
21838
  });
21839
21839
 
21840
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
21840
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
21841
21841
  var require_cst_stringify = __commonJS((exports2) => {
21842
21842
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
21843
21843
  function stringifyToken(token) {
@@ -21895,7 +21895,7 @@ var require_cst_stringify = __commonJS((exports2) => {
21895
21895
  exports2.stringify = stringify;
21896
21896
  });
21897
21897
 
21898
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
21898
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
21899
21899
  var require_cst_visit = __commonJS((exports2) => {
21900
21900
  var BREAK = Symbol("break visit");
21901
21901
  var SKIP = Symbol("skip children");
@@ -21954,7 +21954,7 @@ var require_cst_visit = __commonJS((exports2) => {
21954
21954
  exports2.visit = visit;
21955
21955
  });
21956
21956
 
21957
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
21957
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
21958
21958
  var require_cst = __commonJS((exports2) => {
21959
21959
  var cstScalar = require_cst_scalar();
21960
21960
  var cstStringify = require_cst_stringify();
@@ -22055,7 +22055,7 @@ var require_cst = __commonJS((exports2) => {
22055
22055
  exports2.tokenType = tokenType;
22056
22056
  });
22057
22057
 
22058
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
22058
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
22059
22059
  var require_lexer = __commonJS((exports2) => {
22060
22060
  var cst = require_cst();
22061
22061
  function isEmpty2(ch) {
@@ -22641,7 +22641,7 @@ var require_lexer = __commonJS((exports2) => {
22641
22641
  exports2.Lexer = Lexer;
22642
22642
  });
22643
22643
 
22644
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
22644
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
22645
22645
  var require_line_counter = __commonJS((exports2) => {
22646
22646
  class LineCounter {
22647
22647
  constructor() {
@@ -22669,7 +22669,7 @@ var require_line_counter = __commonJS((exports2) => {
22669
22669
  exports2.LineCounter = LineCounter;
22670
22670
  });
22671
22671
 
22672
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
22672
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
22673
22673
  var require_parser = __commonJS((exports2) => {
22674
22674
  var node_process = __require("process");
22675
22675
  var cst = require_cst();
@@ -23518,7 +23518,7 @@ var require_parser = __commonJS((exports2) => {
23518
23518
  exports2.Parser = Parser;
23519
23519
  });
23520
23520
 
23521
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
23521
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
23522
23522
  var require_public_api = __commonJS((exports2) => {
23523
23523
  var composer = require_composer2();
23524
23524
  var Document = require_Document();
@@ -23612,7 +23612,7 @@ var require_public_api = __commonJS((exports2) => {
23612
23612
  exports2.stringify = stringify;
23613
23613
  });
23614
23614
 
23615
- // ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
23615
+ // ../../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
23616
23616
  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;
23617
23617
  var init_dist = __esm(() => {
23618
23618
  composer = require_composer2();
@@ -24867,7 +24867,7 @@ var init_loader = __esm(() => {
24867
24867
  });
24868
24868
 
24869
24869
  // secret-detect/patterns.ts
24870
- var ANCHORED_PATTERNS, STRUCTURED_PATTERNS, ALL_PATTERNS;
24870
+ var ANCHORED_PATTERNS, STRUCTURED_PATTERNS, PROVIDER_PATTERNS, ALL_PATTERNS;
24871
24871
  var init_patterns = __esm(() => {
24872
24872
  ANCHORED_PATTERNS = [
24873
24873
  { rule_id: "anthropic_api_key", regex: /\b(sk-ant-[A-Za-z0-9_-]{8,})\b/g, captureIndex: 1, slugHint: "anthropic_api_key" },
@@ -24925,7 +24925,39 @@ var init_patterns = __esm(() => {
24925
24925
  slugHint: "pem_private_key"
24926
24926
  }
24927
24927
  ];
24928
- ALL_PATTERNS = [...ANCHORED_PATTERNS, ...STRUCTURED_PATTERNS];
24928
+ PROVIDER_PATTERNS = [
24929
+ { rule_id: "slack_webhook", regex: /(https:\/\/hooks\.slack\.com\/services\/[A-Za-z0-9_/]+)/g, captureIndex: 1, slugHint: "slack_webhook" },
24930
+ { rule_id: "stripe_live_secret", regex: /\b(sk_live_[A-Za-z0-9]{24,})\b/g, captureIndex: 1, slugHint: "stripe_key" },
24931
+ { rule_id: "stripe_restricted", regex: /\b(rk_live_[A-Za-z0-9]{24,})\b/g, captureIndex: 1, slugHint: "stripe_key" },
24932
+ { rule_id: "sendgrid_api_key", regex: /\b(SG\.[A-Za-z0-9_-]{22}\.[A-Za-z0-9_-]{43})\b/g, captureIndex: 1, slugHint: "sendgrid_key" },
24933
+ { rule_id: "gitlab_pat", regex: /\b(glpat-[A-Za-z0-9_-]{20})\b/g, captureIndex: 1, slugHint: "gitlab_pat" },
24934
+ { rule_id: "huggingface_token", regex: /\b(hf_[A-Za-z0-9]{34,})\b/g, captureIndex: 1, slugHint: "huggingface_token" },
24935
+ { rule_id: "twilio_api_key", regex: /\b(SK[0-9a-f]{32})\b/g, captureIndex: 1, slugHint: "twilio_api_key" },
24936
+ { rule_id: "mailgun_key", regex: /\b(key-[0-9a-f]{32})\b/g, captureIndex: 1, slugHint: "mailgun_key" },
24937
+ { rule_id: "digitalocean_pat", regex: /\b(dop_v1_[a-f0-9]{64})\b/g, captureIndex: 1, slugHint: "digitalocean_token" },
24938
+ { rule_id: "digitalocean_oauth", regex: /\b(doo_v1_[a-f0-9]{64})\b/g, captureIndex: 1, slugHint: "digitalocean_token" },
24939
+ { rule_id: "digitalocean_refresh", regex: /\b(dor_v1_[a-f0-9]{64})\b/g, captureIndex: 1, slugHint: "digitalocean_token" },
24940
+ { rule_id: "doppler_token", regex: /\b(dp\.(?:pt|st|ct|sa|scim|audit)\.[A-Za-z0-9]{40,44})\b/g, captureIndex: 1, slugHint: "doppler_token" },
24941
+ { rule_id: "linear_api_key", regex: /\b(lin_api_[A-Za-z0-9]{40})\b/g, captureIndex: 1, slugHint: "linear_api_key" },
24942
+ { rule_id: "shopify_access_token", regex: /\b(shpat_[a-fA-F0-9]{32})\b/g, captureIndex: 1, slugHint: "shopify_token" },
24943
+ { rule_id: "shopify_shared_secret", regex: /\b(shpss_[a-fA-F0-9]{32})\b/g, captureIndex: 1, slugHint: "shopify_token" },
24944
+ { rule_id: "shopify_private_app", regex: /\b(shppa_[a-fA-F0-9]{32})\b/g, captureIndex: 1, slugHint: "shopify_token" },
24945
+ { rule_id: "square_access_token", regex: /\b(sq0atp-[A-Za-z0-9_-]{22})\b/g, captureIndex: 1, slugHint: "square_token" },
24946
+ { rule_id: "square_oauth_secret", regex: /\b(sq0csp-[A-Za-z0-9_-]{43})\b/g, captureIndex: 1, slugHint: "square_token" },
24947
+ { rule_id: "newrelic_key", regex: /\b(NRAK-[A-Z0-9]{27})\b/g, captureIndex: 1, slugHint: "newrelic_key" },
24948
+ { rule_id: "notion_token", regex: /\b(ntn_[A-Za-z0-9]{46})\b/g, captureIndex: 1, slugHint: "notion_token" },
24949
+ { rule_id: "planetscale_password", regex: /\b(pscale_pw_[A-Za-z0-9_.-]{43})\b/g, captureIndex: 1, slugHint: "planetscale_token" },
24950
+ { rule_id: "planetscale_token", regex: /\b(pscale_tkn_[A-Za-z0-9_.-]{43})\b/g, captureIndex: 1, slugHint: "planetscale_token" },
24951
+ { rule_id: "supabase_service_key", regex: /\b(sbp_[a-f0-9]{40})\b/g, captureIndex: 1, slugHint: "supabase_key" },
24952
+ { rule_id: "atlassian_token", regex: /\b(ATATT[A-Za-z0-9_\-=]{20,})\b/g, captureIndex: 1, slugHint: "atlassian_token" },
24953
+ { rule_id: "dropbox_token", regex: /\b(sl\.[A-Za-z0-9_-]{130,})/g, captureIndex: 1, slugHint: "dropbox_token" },
24954
+ { rule_id: "databricks_token", regex: /\b(dapi[a-f0-9]{32})\b/g, captureIndex: 1, slugHint: "databricks_token" },
24955
+ { rule_id: "grafana_service_account", regex: /\b(glsa_[A-Za-z0-9]{32}_[a-fA-F0-9]{8})\b/g, captureIndex: 1, slugHint: "grafana_token" },
24956
+ { rule_id: "pypi_token", regex: /\b(pypi-AgEIcHlwaS[A-Za-z0-9_-]{50,})/g, captureIndex: 1, slugHint: "pypi_token" },
24957
+ { rule_id: "aws_temp_access_key", regex: /\b(ASIA[0-9A-Z]{16})\b/g, captureIndex: 1, slugHint: "aws_access_key" },
24958
+ { rule_id: "gcp_oauth_token", regex: /\b(ya29\.[A-Za-z0-9_-]{30,})/g, captureIndex: 1, slugHint: "gcp_oauth_token" }
24959
+ ];
24960
+ ALL_PATTERNS = [...ANCHORED_PATTERNS, ...PROVIDER_PATTERNS, ...STRUCTURED_PATTERNS];
24929
24961
  });
24930
24962
 
24931
24963
  // secret-detect/entropy.ts
@@ -24978,6 +25010,55 @@ var init_kv_scanner = __esm(() => {
24978
25010
  KV_RE = /\b([A-Za-z_][A-Za-z0-9_-]*(?:password|passwd|token|secret|key|api[_-]?key))\s*[:=]\s*["']?([^\s"'\\]{8,})["']?/gi;
24979
25011
  });
24980
25012
 
25013
+ // secret-detect/generic-entropy.ts
25014
+ function hasDistinctChars(tok, n) {
25015
+ const seen = new Uint8Array(128);
25016
+ let distinct = 0;
25017
+ for (let i = 0;i < tok.length; i++) {
25018
+ const c = tok.charCodeAt(i);
25019
+ if (seen[c] === 0) {
25020
+ seen[c] = 1;
25021
+ if (++distinct >= n)
25022
+ return true;
25023
+ }
25024
+ }
25025
+ return false;
25026
+ }
25027
+ function hasDigit(tok) {
25028
+ for (let i = 0;i < tok.length; i++) {
25029
+ const c = tok.charCodeAt(i);
25030
+ if (c >= 48 && c <= 57)
25031
+ return true;
25032
+ }
25033
+ return false;
25034
+ }
25035
+ function scanGenericSecrets(text) {
25036
+ const hits = [];
25037
+ CANDIDATE_RE.lastIndex = 0;
25038
+ let m;
25039
+ while ((m = CANDIDATE_RE.exec(text)) !== null) {
25040
+ if (hits.length >= MAX_GENERIC_HITS)
25041
+ break;
25042
+ const tok = m[0];
25043
+ if (!hasDigit(tok))
25044
+ continue;
25045
+ if (!hasDistinctChars(tok, GENERIC_MIN_DISTINCT))
25046
+ continue;
25047
+ hits.push({
25048
+ rule_id: "generic_high_entropy",
25049
+ start: m.index,
25050
+ end: m.index + tok.length,
25051
+ matched_text: tok,
25052
+ confidence: "ambiguous"
25053
+ });
25054
+ }
25055
+ return hits;
25056
+ }
25057
+ var CANDIDATE_RE, GENERIC_MIN_DISTINCT = 18, MAX_GENERIC_HITS = 20;
25058
+ var init_generic_entropy = __esm(() => {
25059
+ CANDIDATE_RE = /[A-Za-z0-9]{28,}/g;
25060
+ });
25061
+
24981
25062
  // secret-detect/chunker.ts
24982
25063
  function chunk(text) {
24983
25064
  if (text.length <= CHUNK_THRESHOLD) {
@@ -25095,7 +25176,7 @@ var init_url_redact = __esm(() => {
25095
25176
  URL_RE = /\b(?:https?|wss?|ftp):\/\/[^\s<>"']+/gi;
25096
25177
  });
25097
25178
 
25098
- // ../node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
25179
+ // ../../switchroom-sec-1417/node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
25099
25180
  var require_lib = __commonJS((exports2) => {
25100
25181
  Object.defineProperty(exports2, "__esModule", { value: true });
25101
25182
  exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
@@ -25142,7 +25223,7 @@ var require_lib = __commonJS((exports2) => {
25142
25223
  exports2.binarySearch = binarySearch;
25143
25224
  });
25144
25225
 
25145
- // ../node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
25226
+ // ../../switchroom-sec-1417/node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
25146
25227
  var require_structured_source = __commonJS((exports2) => {
25147
25228
  Object.defineProperty(exports2, "__esModule", { value: true });
25148
25229
  exports2.StructuredSource = undefined;
@@ -25197,13 +25278,13 @@ var require_structured_source = __commonJS((exports2) => {
25197
25278
  }
25198
25279
  exports2.StructuredSource = StructuredSource;
25199
25280
  });
25200
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
25281
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
25201
25282
  var import_structured_source;
25202
25283
  var init_SecretLintSourceCodeImpl = __esm(() => {
25203
25284
  import_structured_source = __toESM(require_structured_source(), 1);
25204
25285
  });
25205
25286
 
25206
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
25287
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
25207
25288
  class EventEmitter {
25208
25289
  #listeners = new Map;
25209
25290
  on(type, listener) {
@@ -25242,9 +25323,9 @@ class EventEmitter {
25242
25323
  return Array.from(this.#listeners.get(type) ?? []);
25243
25324
  }
25244
25325
  }
25245
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
25326
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
25246
25327
  var init_RuleContext = () => {};
25247
- // ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
25328
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
25248
25329
  class SecretLintProfiler {
25249
25330
  perf;
25250
25331
  entries = [];
@@ -25301,7 +25382,7 @@ class SecretLintProfiler {
25301
25382
  }
25302
25383
  }
25303
25384
 
25304
- // ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
25385
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
25305
25386
  import perf_hooks from "node:perf_hooks";
25306
25387
 
25307
25388
  class NullPerformanceObserver {
@@ -25316,19 +25397,19 @@ var init_node = __esm(() => {
25316
25397
  });
25317
25398
  });
25318
25399
 
25319
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
25400
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
25320
25401
  var init_RunningEvents = __esm(() => {
25321
25402
  init_node();
25322
25403
  });
25323
25404
 
25324
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
25405
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
25325
25406
  var init_RulePresetContext = __esm(() => {
25326
25407
  init_RuleContext();
25327
25408
  });
25328
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
25409
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
25329
25410
  var init_messages = () => {};
25330
25411
 
25331
- // ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
25412
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
25332
25413
  var import_debug, debug;
25333
25414
  var init_module = __esm(() => {
25334
25415
  init_SecretLintSourceCodeImpl();
@@ -25341,7 +25422,7 @@ var init_module = __esm(() => {
25341
25422
  debug = import_debug.default("@secretlint/core");
25342
25423
  });
25343
25424
 
25344
- // ../node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
25425
+ // ../../switchroom-sec-1417/node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
25345
25426
  function requireLodash_uniq() {
25346
25427
  if (hasRequiredLodash_uniq)
25347
25428
  return lodash_uniq;
@@ -27070,6 +27151,10 @@ function detectSecrets(text) {
27070
27151
  for (const h of kvHits) {
27071
27152
  raw.push({ ...h, start: h.start + win.offset, end: h.end + win.offset });
27072
27153
  }
27154
+ const genHits = scanGenericSecrets(win.text);
27155
+ for (const h of genHits) {
27156
+ raw.push({ ...h, start: h.start + win.offset, end: h.end + win.offset });
27157
+ }
27073
27158
  }
27074
27159
  const deduped = dedupeRaw(raw);
27075
27160
  const final = dropOverlaps(deduped);
@@ -27108,19 +27193,14 @@ function dedupeRaw(raw) {
27108
27193
  return Array.from(seen.values());
27109
27194
  }
27110
27195
  function dropOverlaps(hits) {
27111
- const sorted = [...hits].sort((a, b) => a.end - a.start - (b.end - b.start));
27112
- const out = [];
27113
- for (const h of sorted) {
27114
- const contained = out.some((existing) => existing !== h && existing.start <= h.start && existing.end >= h.end && !(existing.start === h.start && existing.end === h.end));
27115
- if (!contained)
27116
- out.push(h);
27117
- }
27196
+ const out = hits.filter((h) => !(h.confidence === "ambiguous" && hits.some((o) => o !== h && o.start <= h.start && o.end >= h.end && !(o.start === h.start && o.end === h.end))));
27118
27197
  out.sort((a, b) => a.start - b.start || a.end - b.end);
27119
27198
  return out;
27120
27199
  }
27121
27200
  var init_secret_detect = __esm(() => {
27122
27201
  init_patterns();
27123
27202
  init_kv_scanner();
27203
+ init_generic_entropy();
27124
27204
  init_chunker();
27125
27205
  init_suppressor();
27126
27206
  init_url_redact();
@@ -27132,7 +27212,7 @@ function redact(text) {
27132
27212
  if (!text || text.length === 0)
27133
27213
  return text;
27134
27214
  const urlScrubbed = redactUrls(text);
27135
- const hits = detectSecrets(urlScrubbed);
27215
+ const hits = detectSecrets(urlScrubbed).filter((h) => h.rule_id !== "generic_high_entropy");
27136
27216
  if (hits.length === 0)
27137
27217
  return urlScrubbed;
27138
27218
  const sorted = [...hits].sort((a, b) => b.start - a.start);
@@ -30521,6 +30601,7 @@ var init_materialize_bot_token = __esm(() => {
30521
30601
  var exports_tmux = {};
30522
30602
  __export(exports_tmux, {
30523
30603
  sendAgentInterrupt: () => sendAgentInterrupt,
30604
+ clearAgentComposer: () => clearAgentComposer,
30524
30605
  captureAgentPane: () => captureAgentPane
30525
30606
  });
30526
30607
  import { execFileSync as execFileSync4 } from "node:child_process";
@@ -30616,6 +30697,22 @@ function sendAgentInterrupt(opts) {
30616
30697
  }
30617
30698
  return { error: lastError ?? "tmux send-keys C-c failed" };
30618
30699
  }
30700
+ function clearAgentComposer(opts) {
30701
+ const { agentName: agentName3 } = opts;
30702
+ const socket = `switchroom-${agentName3}`;
30703
+ const args = ["-L", socket, "send-keys", "-t", agentName3, "C-u", "C-a", "C-k"];
30704
+ try {
30705
+ execFileSync4("tmux", args, {
30706
+ timeout: 3000,
30707
+ stdio: ["ignore", "pipe", "pipe"]
30708
+ });
30709
+ return { ok: true };
30710
+ } catch (err) {
30711
+ const msg = `tmux send-keys composer-clear failed: ${err.message}`;
30712
+ console.error(`[tmux-composer-clear] ${agentName3}: ${msg}`);
30713
+ return { error: msg };
30714
+ }
30715
+ }
30619
30716
  function sleepSync2(ms) {
30620
30717
  const sab = new SharedArrayBuffer(4);
30621
30718
  const view = new Int32Array(sab);
@@ -34023,7 +34120,7 @@ function clear(key) {
34023
34120
  state.delete(key);
34024
34121
  }
34025
34122
 
34026
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
34123
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
34027
34124
  import { dirname as dirname2, posix, sep as sep2 } from "path";
34028
34125
  function createModulerModifier() {
34029
34126
  const getModuleFromFileName = createGetModuleFromFilename();
@@ -34059,7 +34156,7 @@ function normalizeWindowsPath(path) {
34059
34156
  return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
34060
34157
  }
34061
34158
 
34062
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
34159
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
34063
34160
  var normalizeFlagsResponse = (flagsResponse) => {
34064
34161
  if ("flags" in flagsResponse) {
34065
34162
  const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
@@ -34130,7 +34227,7 @@ var parsePayload = (response) => {
34130
34227
  }
34131
34228
  };
34132
34229
 
34133
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
34230
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
34134
34231
  function isGzipSupported() {
34135
34232
  return "CompressionStream" in globalThis;
34136
34233
  }
@@ -34150,7 +34247,7 @@ async function gzipCompress(input, isDebug = true) {
34150
34247
  }
34151
34248
  }
34152
34249
 
34153
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
34250
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
34154
34251
  /*! For license information please see uuidv7.mjs.LICENSE.txt */
34155
34252
  var DIGITS = "0123456789abcdef";
34156
34253
 
@@ -34328,7 +34425,7 @@ var defaultGenerator;
34328
34425
  var uuidv7 = () => uuidv7obj().toString();
34329
34426
  var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
34330
34427
 
34331
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
34428
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
34332
34429
  var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
34333
34430
  PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
34334
34431
  PostHogPersistedProperty["DistinctId"] = "distinct_id";
@@ -34361,7 +34458,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
34361
34458
  return PostHogPersistedProperty;
34362
34459
  }({});
34363
34460
 
34364
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
34461
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
34365
34462
  var DEFAULT_BLOCKED_UA_STRS = [
34366
34463
  "amazonbot",
34367
34464
  "amazonproductbot",
@@ -34450,7 +34547,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
34450
34547
  return uaLower.indexOf(blockedUaLower) !== -1;
34451
34548
  });
34452
34549
  };
34453
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
34550
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
34454
34551
  var nativeIsArray = Array.isArray;
34455
34552
  var ObjProto = Object.prototype;
34456
34553
  var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
@@ -34487,7 +34584,7 @@ function isInstanceOf(candidate, base) {
34487
34584
  }
34488
34585
  }
34489
34586
 
34490
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
34587
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
34491
34588
  function clampToRange(value, min, max, logger, fallbackValue) {
34492
34589
  if (min > max) {
34493
34590
  logger.warn("min cannot be greater than max.");
@@ -34507,7 +34604,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
34507
34604
  return clampToRange(fallbackValue || max, min, max, logger);
34508
34605
  }
34509
34606
 
34510
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
34607
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
34511
34608
  var ONE_DAY_IN_MS = 86400000;
34512
34609
 
34513
34610
  class BucketedRateLimiter {
@@ -34551,7 +34648,7 @@ class BucketedRateLimiter {
34551
34648
  this._buckets = {};
34552
34649
  }
34553
34650
  }
34554
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
34651
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
34555
34652
  class PromiseQueue {
34556
34653
  add(promise) {
34557
34654
  const promiseUUID = uuidv7();
@@ -34577,7 +34674,7 @@ class PromiseQueue {
34577
34674
  this.promiseByIds = {};
34578
34675
  }
34579
34676
  }
34580
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
34677
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
34581
34678
  function createConsole(consoleLike = console) {
34582
34679
  const lockedMethods = {
34583
34680
  log: consoleLike.log.bind(consoleLike),
@@ -34615,7 +34712,7 @@ var passThrough = (fn) => fn();
34615
34712
  function createLogger(prefix, maybeCall = passThrough) {
34616
34713
  return _createLogger(prefix, maybeCall, createConsole());
34617
34714
  }
34618
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
34715
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
34619
34716
  var MOBILE = "Mobile";
34620
34717
  var IOS = "iOS";
34621
34718
  var ANDROID = "Android";
@@ -34872,7 +34969,7 @@ var osMatchers = [
34872
34969
  ]
34873
34970
  ];
34874
34971
 
34875
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
34972
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
34876
34973
  var STRING_FORMAT = "utf8";
34877
34974
  function assert(truthyValue, message) {
34878
34975
  if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
@@ -34920,7 +35017,7 @@ function allSettled(promises) {
34920
35017
  reason
34921
35018
  }))));
34922
35019
  }
34923
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
35020
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
34924
35021
  class SimpleEventEmitter {
34925
35022
  constructor() {
34926
35023
  this.events = {};
@@ -34942,7 +35039,7 @@ class SimpleEventEmitter {
34942
35039
  }
34943
35040
  }
34944
35041
 
34945
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
35042
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
34946
35043
  class PostHogFetchHttpError extends Error {
34947
35044
  constructor(response, reqByteLength) {
34948
35045
  super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
@@ -35657,7 +35754,7 @@ class PostHogCoreStateless {
35657
35754
  return this.shutdownPromise;
35658
35755
  }
35659
35756
  }
35660
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
35757
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
35661
35758
  var exports_error_tracking = {};
35662
35759
  __export(exports_error_tracking, {
35663
35760
  winjsStackLineParser: () => winjsStackLineParser,
@@ -35681,7 +35778,7 @@ __export(exports_error_tracking, {
35681
35778
  DOMExceptionCoercer: () => DOMExceptionCoercer
35682
35779
  });
35683
35780
 
35684
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
35781
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
35685
35782
  var parsedStackResults;
35686
35783
  var lastKeysCount;
35687
35784
  var cachedFilenameChunkIds;
@@ -35720,7 +35817,7 @@ function getFilenameToChunkIdMap(stackParser) {
35720
35817
  return cachedFilenameChunkIds;
35721
35818
  }
35722
35819
 
35723
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
35820
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
35724
35821
  var MAX_CAUSE_RECURSION = 4;
35725
35822
 
35726
35823
  class ErrorPropertiesBuilder {
@@ -35842,7 +35939,7 @@ class ErrorPropertiesBuilder {
35842
35939
  return context;
35843
35940
  }
35844
35941
  }
35845
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
35942
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
35846
35943
  var UNKNOWN_FUNCTION = "?";
35847
35944
  function createFrame(platform, filename, func, lineno, colno) {
35848
35945
  const frame = {
@@ -35858,7 +35955,7 @@ function createFrame(platform, filename, func, lineno, colno) {
35858
35955
  return frame;
35859
35956
  }
35860
35957
 
35861
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
35958
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
35862
35959
  var extractSafariExtensionDetails = (func, filename) => {
35863
35960
  const isSafariExtension = func.indexOf("safari-extension") !== -1;
35864
35961
  const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
@@ -35871,7 +35968,7 @@ var extractSafariExtensionDetails = (func, filename) => {
35871
35968
  ];
35872
35969
  };
35873
35970
 
35874
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
35971
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
35875
35972
  var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
35876
35973
  var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
35877
35974
  var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
@@ -35897,7 +35994,7 @@ var chromeStackLineParser = (line, platform) => {
35897
35994
  }
35898
35995
  };
35899
35996
 
35900
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
35997
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
35901
35998
  var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
35902
35999
  var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
35903
36000
  var geckoStackLineParser = (line, platform) => {
@@ -35920,14 +36017,14 @@ var geckoStackLineParser = (line, platform) => {
35920
36017
  }
35921
36018
  };
35922
36019
 
35923
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
36020
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
35924
36021
  var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
35925
36022
  var winjsStackLineParser = (line, platform) => {
35926
36023
  const parts = winjsRegex.exec(line);
35927
36024
  return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
35928
36025
  };
35929
36026
 
35930
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
36027
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
35931
36028
  var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
35932
36029
  var opera10StackLineParser = (line, platform) => {
35933
36030
  const parts = opera10Regex.exec(line);
@@ -35939,7 +36036,7 @@ var opera11StackLineParser = (line, platform) => {
35939
36036
  return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
35940
36037
  };
35941
36038
 
35942
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
36039
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
35943
36040
  var FILENAME_MATCH = /^\s*[-]{4,}$/;
35944
36041
  var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
35945
36042
  var nodeStackLineParser = (line, platform) => {
@@ -36008,7 +36105,7 @@ function _parseIntOrUndefined(input) {
36008
36105
  return parseInt(input || "", 10) || undefined;
36009
36106
  }
36010
36107
 
36011
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
36108
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
36012
36109
  var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
36013
36110
  var STACKTRACE_FRAME_LIMIT = 50;
36014
36111
  function reverseAndStripFrames(stack) {
@@ -36053,7 +36150,7 @@ function createStackParser(platform, ...parsers) {
36053
36150
  return reverseAndStripFrames(frames);
36054
36151
  };
36055
36152
  }
36056
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
36153
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
36057
36154
  class DOMExceptionCoercer {
36058
36155
  match(err) {
36059
36156
  return this.isDOMException(err) || this.isDOMError(err);
@@ -36083,7 +36180,7 @@ class DOMExceptionCoercer {
36083
36180
  return isBuiltin(err, "DOMError");
36084
36181
  }
36085
36182
  }
36086
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
36183
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
36087
36184
  class ErrorCoercer {
36088
36185
  match(err) {
36089
36186
  return isPlainError(err);
@@ -36110,7 +36207,7 @@ class ErrorCoercer {
36110
36207
  return err.stacktrace || err.stack || undefined;
36111
36208
  }
36112
36209
  }
36113
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
36210
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
36114
36211
  class ErrorEventCoercer {
36115
36212
  constructor() {}
36116
36213
  match(err) {
@@ -36128,7 +36225,7 @@ class ErrorEventCoercer {
36128
36225
  return exceptionLike;
36129
36226
  }
36130
36227
  }
36131
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
36228
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
36132
36229
  var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
36133
36230
 
36134
36231
  class StringCoercer {
@@ -36158,7 +36255,7 @@ class StringCoercer {
36158
36255
  ];
36159
36256
  }
36160
36257
  }
36161
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
36258
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
36162
36259
  var severityLevels = [
36163
36260
  "fatal",
36164
36261
  "error",
@@ -36168,7 +36265,7 @@ var severityLevels = [
36168
36265
  "debug"
36169
36266
  ];
36170
36267
 
36171
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
36268
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
36172
36269
  function extractExceptionKeysForMessage(err, maxLength = 40) {
36173
36270
  const keys = Object.keys(err);
36174
36271
  keys.sort();
@@ -36185,7 +36282,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
36185
36282
  return "";
36186
36283
  }
36187
36284
 
36188
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
36285
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
36189
36286
  class ObjectCoercer {
36190
36287
  match(candidate) {
36191
36288
  return typeof candidate == "object" && candidate !== null;
@@ -36238,7 +36335,7 @@ class ObjectCoercer {
36238
36335
  }
36239
36336
  }
36240
36337
  }
36241
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
36338
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
36242
36339
  class EventCoercer {
36243
36340
  match(err) {
36244
36341
  return isEvent(err);
@@ -36253,7 +36350,7 @@ class EventCoercer {
36253
36350
  };
36254
36351
  }
36255
36352
  }
36256
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
36353
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
36257
36354
  class PrimitiveCoercer {
36258
36355
  match(candidate) {
36259
36356
  return isPrimitive(candidate);
@@ -36267,7 +36364,7 @@ class PrimitiveCoercer {
36267
36364
  };
36268
36365
  }
36269
36366
  }
36270
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
36367
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
36271
36368
  class PromiseRejectionEventCoercer {
36272
36369
  match(err) {
36273
36370
  return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
@@ -36303,7 +36400,7 @@ class PromiseRejectionEventCoercer {
36303
36400
  return error;
36304
36401
  }
36305
36402
  }
36306
- // ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
36403
+ // ../../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
36307
36404
  class ReduceableCache {
36308
36405
  constructor(_maxSize) {
36309
36406
  this._maxSize = _maxSize;
@@ -36328,7 +36425,7 @@ class ReduceableCache {
36328
36425
  }
36329
36426
  }
36330
36427
  }
36331
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
36428
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
36332
36429
  import { createReadStream } from "node:fs";
36333
36430
  import { createInterface } from "node:readline";
36334
36431
  var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
@@ -36546,7 +36643,7 @@ function snipLine(line, colno) {
36546
36643
  return newLine;
36547
36644
  }
36548
36645
 
36549
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
36646
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
36550
36647
  function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
36551
36648
  let calledFatalError = false;
36552
36649
  return Object.assign((error) => {
@@ -36578,7 +36675,7 @@ function addUnhandledRejectionListener(captureFn) {
36578
36675
  }));
36579
36676
  }
36580
36677
 
36581
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
36678
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
36582
36679
  var SHUTDOWN_TIMEOUT = 2000;
36583
36680
 
36584
36681
  class ErrorTracking {
@@ -36647,10 +36744,10 @@ class ErrorTracking {
36647
36744
  }
36648
36745
  }
36649
36746
 
36650
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
36747
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
36651
36748
  var version = "5.29.2";
36652
36749
 
36653
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
36750
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
36654
36751
  var FeatureFlagError2 = {
36655
36752
  ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
36656
36753
  FLAG_MISSING: "flag_missing",
@@ -36658,7 +36755,7 @@ var FeatureFlagError2 = {
36658
36755
  UNKNOWN_ERROR: "unknown_error"
36659
36756
  };
36660
36757
 
36661
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
36758
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
36662
36759
  async function hashSHA1(text) {
36663
36760
  const subtle = globalThis.crypto?.subtle;
36664
36761
  if (!subtle)
@@ -36668,7 +36765,7 @@ async function hashSHA1(text) {
36668
36765
  return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
36669
36766
  }
36670
36767
 
36671
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
36768
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
36672
36769
  var SIXTY_SECONDS = 60000;
36673
36770
  var LONG_SCALE = 1152921504606847000;
36674
36771
  var NULL_VALUES_ALLOWED_OPERATORS = [
@@ -37542,7 +37639,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
37542
37639
  }
37543
37640
  }
37544
37641
 
37545
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
37642
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
37546
37643
  class PostHogMemoryStorage {
37547
37644
  getProperty(key) {
37548
37645
  return this._memoryStorage[key];
@@ -37555,7 +37652,7 @@ class PostHogMemoryStorage {
37555
37652
  }
37556
37653
  }
37557
37654
 
37558
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
37655
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
37559
37656
  var MINIMUM_POLLING_INTERVAL = 100;
37560
37657
  var THIRTY_SECONDS = 30000;
37561
37658
  var MAX_CACHE_SIZE = 50000;
@@ -38343,7 +38440,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
38343
38440
  }
38344
38441
  }
38345
38442
 
38346
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
38443
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
38347
38444
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
38348
38445
 
38349
38446
  class PostHogContext {
@@ -38374,7 +38471,7 @@ class PostHogContext {
38374
38471
  }
38375
38472
  }
38376
38473
 
38377
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
38474
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
38378
38475
  var NAME = "posthog-node";
38379
38476
  function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
38380
38477
  "error"
@@ -38442,7 +38539,7 @@ class PostHogSentryIntegration {
38442
38539
  };
38443
38540
  }
38444
38541
  }
38445
- // ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
38542
+ // ../../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
38446
38543
  ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
38447
38544
  new exports_error_tracking.EventCoercer,
38448
38545
  new exports_error_tracking.ErrorCoercer,
@@ -42495,6 +42592,15 @@ function isCompositeSilentNoise(text) {
42495
42592
  return false;
42496
42593
  return lines.every((l) => isSilentFlushMarker2(l) || isTrivialConfirmationLine(l));
42497
42594
  }
42595
+ function endsWithSilentMarker(text) {
42596
+ if (typeof text !== "string")
42597
+ return false;
42598
+ const lines = text.split(`
42599
+ `).map((l) => l.trim()).filter((l) => l.length > 0);
42600
+ if (lines.length === 0)
42601
+ return false;
42602
+ return isSilentFlushMarker2(lines[lines.length - 1]);
42603
+ }
42498
42604
  function decideTurnFlush(input) {
42499
42605
  const flushEnabled = input.flushEnabled !== false;
42500
42606
  if (!flushEnabled)
@@ -42511,6 +42617,8 @@ function decideTurnFlush(input) {
42511
42617
  return { kind: "skip", reason: "silent-marker" };
42512
42618
  if (isCompositeSilentNoise(joined))
42513
42619
  return { kind: "skip", reason: "silent-marker" };
42620
+ if (endsWithSilentMarker(joined))
42621
+ return { kind: "skip", reason: "silent-marker" };
42514
42622
  return { kind: "flush", text: joined };
42515
42623
  }
42516
42624
  function isTurnFlushSafetyEnabled(env = process.env) {
@@ -48810,6 +48918,7 @@ function recentDenialsFromAuditLog(rawAuditLog, opts) {
48810
48918
  // secret-detect/index.ts
48811
48919
  init_patterns();
48812
48920
  init_kv_scanner();
48921
+ init_generic_entropy();
48813
48922
  init_chunker();
48814
48923
  init_suppressor();
48815
48924
  init_url_redact();
@@ -48859,6 +48968,10 @@ function detectSecrets2(text) {
48859
48968
  for (const h of kvHits) {
48860
48969
  raw.push({ ...h, start: h.start + win.offset, end: h.end + win.offset });
48861
48970
  }
48971
+ const genHits = scanGenericSecrets(win.text);
48972
+ for (const h of genHits) {
48973
+ raw.push({ ...h, start: h.start + win.offset, end: h.end + win.offset });
48974
+ }
48862
48975
  }
48863
48976
  const deduped = dedupeRaw2(raw);
48864
48977
  const final = dropOverlaps2(deduped);
@@ -48897,13 +49010,7 @@ function dedupeRaw2(raw) {
48897
49010
  return Array.from(seen.values());
48898
49011
  }
48899
49012
  function dropOverlaps2(hits) {
48900
- const sorted = [...hits].sort((a, b) => a.end - a.start - (b.end - b.start));
48901
- const out = [];
48902
- for (const h of sorted) {
48903
- const contained = out.some((existing) => existing !== h && existing.start <= h.start && existing.end >= h.end && !(existing.start === h.start && existing.end === h.end));
48904
- if (!contained)
48905
- out.push(h);
48906
- }
49013
+ const out = hits.filter((h) => !(h.confidence === "ambiguous" && hits.some((o) => o !== h && o.start <= h.start && o.end >= h.end && !(o.start === h.start && o.end === h.end))));
48907
49014
  out.sort((a, b) => a.start - b.start || a.end - b.end);
48908
49015
  return out;
48909
49016
  }
@@ -48916,7 +49023,7 @@ function redact2(text) {
48916
49023
  if (!text || text.length === 0)
48917
49024
  return text;
48918
49025
  const urlScrubbed = redactUrls(text);
48919
- const hits = detectSecrets(urlScrubbed);
49026
+ const hits = detectSecrets(urlScrubbed).filter((h) => h.rule_id !== "generic_high_entropy");
48920
49027
  if (hits.length === 0)
48921
49028
  return urlScrubbed;
48922
49029
  const sorted = [...hits].sort((a, b) => b.start - a.start);
@@ -51659,10 +51766,10 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
51659
51766
  }
51660
51767
 
51661
51768
  // ../src/build-info.ts
51662
- var VERSION = "0.14.30";
51663
- var COMMIT_SHA = "84f50bd2";
51664
- var COMMIT_DATE = "2026-06-01T06:07:00Z";
51665
- var LATEST_PR = 2058;
51769
+ var VERSION = "0.14.32";
51770
+ var COMMIT_SHA = "d9254a62";
51771
+ var COMMIT_DATE = "2026-06-01T07:50:15Z";
51772
+ var LATEST_PR = 2062;
51666
51773
  var COMMITS_AHEAD_OF_TAG = 0;
51667
51774
 
51668
51775
  // gateway/boot-version.ts
@@ -52079,6 +52186,10 @@ function recordTurnEnd(db2, args) {
52079
52186
  WHERE turn_key = ?
52080
52187
  `).run(now, args.endedVia, args.lastAssistantMsgId ?? null, args.lastAssistantDone !== undefined ? args.lastAssistantDone ? 1 : 0 : null, args.assistantReplyPreview ?? null, args.toolCallCount !== undefined ? args.toolCallCount : null, now, args.turnKey);
52081
52188
  }
52189
+ function getTurnByKey(db2, turnKey) {
52190
+ const row = db2.prepare(`SELECT * FROM turns WHERE turn_key = ?`).get(turnKey);
52191
+ return row ? mapRow(row) : null;
52192
+ }
52082
52193
  function markOrphanedWithTimeoutClassification(db2, opts) {
52083
52194
  const now = opts.now ?? Date.now();
52084
52195
  const isHang = opts.markerAgeMs != null && opts.markerAgeMs >= opts.hangThresholdMs && opts.markerTurnKey != null && opts.markerTurnKey.length > 0;
@@ -52724,6 +52835,25 @@ try {
52724
52835
  `);
52725
52836
  turnsDb = null;
52726
52837
  }
52838
+ function resolveSubagentOriginChat(agentId) {
52839
+ if (turnsDb == null)
52840
+ return null;
52841
+ try {
52842
+ const sub = getSubagentByJsonlId(turnsDb, agentId);
52843
+ if (sub?.parent_turn_key == null)
52844
+ return null;
52845
+ const turn = getTurnByKey(turnsDb, sub.parent_turn_key);
52846
+ if (turn == null || turn.chat_id.length === 0)
52847
+ return null;
52848
+ const threadNum = turn.thread_id != null && turn.thread_id.length > 0 ? Number(turn.thread_id) : NaN;
52849
+ return {
52850
+ chatId: turn.chat_id,
52851
+ threadId: Number.isFinite(threadNum) ? threadNum : undefined
52852
+ };
52853
+ } catch {
52854
+ return null;
52855
+ }
52856
+ }
52727
52857
  var REGISTRY_REAPER_INTERVAL_MS = 21600000;
52728
52858
  function runHistoryReaperNow(reason) {
52729
52859
  const retentionDays = resolveRetentionDays(HISTORY_ACCESS.historyRetentionDays);
@@ -57717,6 +57847,19 @@ ${preBlock(write.output)}`;
57717
57847
  `);
57718
57848
  return;
57719
57849
  }
57850
+ if (selfAgent) {
57851
+ try {
57852
+ const { clearAgentComposer: clearAgentComposer2 } = await Promise.resolve().then(() => (init_tmux(), exports_tmux));
57853
+ const cleared = clearAgentComposer2({ agentName: selfAgent });
57854
+ if ("error" in cleared) {
57855
+ process.stderr.write(`telegram gateway: pre-send composer-clear soft-failed agent=${selfAgent}: ${cleared.error} \u2014 delivering anyway
57856
+ `);
57857
+ }
57858
+ } catch (err) {
57859
+ process.stderr.write(`telegram gateway: pre-send composer-clear threw agent=${selfAgent}: ${err.message} \u2014 delivering anyway
57860
+ `);
57861
+ }
57862
+ }
57720
57863
  const delivered = ipcServer.sendToAgent(selfAgent, inboundMsg);
57721
57864
  if (delivered)
57722
57865
  markClaudeBusyForInbound(inboundMsg);
@@ -62496,7 +62639,7 @@ var didOneTimeSetup = false;
62496
62639
  handbackEnvValue: process.env.SWITCHROOM_SUBAGENT_HANDBACK,
62497
62640
  outcome,
62498
62641
  isBackground,
62499
- fleetChatId,
62642
+ fleetChatId: resolveSubagentOriginChat(agentId)?.chatId || fleetChatId,
62500
62643
  ownerChatId: loadAccess().allowFrom[0] ?? "",
62501
62644
  taskDescription: description,
62502
62645
  resultText,
@@ -62575,20 +62718,21 @@ var didOneTimeSetup = false;
62575
62718
  return;
62576
62719
  }
62577
62720
  if (workerFeedEnabled) {
62578
- workerActivityFeed.update(agentId, fleetChatId || (loadAccess().allowFrom[0] ?? ""), {
62721
+ const origin = resolveSubagentOriginChat(agentId);
62722
+ workerActivityFeed.update(agentId, origin?.chatId || fleetChatId || (loadAccess().allowFrom[0] ?? ""), {
62579
62723
  description: dispatch.feedDescription,
62580
62724
  lastTool,
62581
62725
  toolCount,
62582
62726
  latestSummary,
62583
62727
  elapsedMs,
62584
62728
  state: "running"
62585
- });
62729
+ }, origin?.threadId);
62586
62730
  return;
62587
62731
  }
62588
62732
  const decision = decideSubagentProgress({
62589
62733
  disableEnvValue: process.env.SWITCHROOM_DISABLE_SUBAGENT_PROGRESS,
62590
62734
  isBackground,
62591
- fleetChatId,
62735
+ fleetChatId: resolveSubagentOriginChat(agentId)?.chatId || fleetChatId,
62592
62736
  ownerChatId: loadAccess().allowFrom[0] ?? "",
62593
62737
  subagentJsonlId: agentId,
62594
62738
  taskDescription: description,