switchroom 0.13.65 → 0.14.0

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.
@@ -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
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
69
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
70
70
  var require_error = __commonJS((exports) => {
71
71
  class CommanderError extends Error {
72
72
  constructor(exitCode, code, message) {
@@ -90,7 +90,7 @@ var require_error = __commonJS((exports) => {
90
90
  exports.InvalidArgumentError = InvalidArgumentError;
91
91
  });
92
92
 
93
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
93
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
94
94
  var require_argument = __commonJS((exports) => {
95
95
  var { InvalidArgumentError } = require_error();
96
96
 
@@ -169,7 +169,7 @@ var require_argument = __commonJS((exports) => {
169
169
  exports.humanReadableArgName = humanReadableArgName;
170
170
  });
171
171
 
172
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
172
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
173
173
  var require_help = __commonJS((exports) => {
174
174
  var { humanReadableArgName } = require_argument();
175
175
 
@@ -519,7 +519,7 @@ ${itemIndentStr}`);
519
519
  exports.stripColor = stripColor;
520
520
  });
521
521
 
522
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
522
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
523
523
  var require_option = __commonJS((exports) => {
524
524
  var { InvalidArgumentError } = require_error();
525
525
 
@@ -697,7 +697,7 @@ var require_option = __commonJS((exports) => {
697
697
  exports.DualOptions = DualOptions;
698
698
  });
699
699
 
700
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
700
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
701
701
  var require_suggestSimilar = __commonJS((exports) => {
702
702
  var maxDistance = 3;
703
703
  function editDistance(a, b) {
@@ -770,7 +770,7 @@ var require_suggestSimilar = __commonJS((exports) => {
770
770
  exports.suggestSimilar = suggestSimilar;
771
771
  });
772
772
 
773
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
773
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
774
774
  var require_command = __commonJS((exports) => {
775
775
  var EventEmitter = __require("node:events").EventEmitter;
776
776
  var childProcess = __require("node:child_process");
@@ -2080,7 +2080,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2080
2080
  exports.useColor = useColor;
2081
2081
  });
2082
2082
 
2083
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
2083
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
2084
2084
  var require_commander = __commonJS((exports) => {
2085
2085
  var { Argument } = require_argument();
2086
2086
  var { Command } = require_command();
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS((exports) => {
2100
2100
  exports.InvalidOptionArgumentError = InvalidArgumentError;
2101
2101
  });
2102
2102
 
2103
- // ../switchroom-sec-1417/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
2103
+ // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
2104
2104
  function assembleStyles() {
2105
2105
  const codes = new Map;
2106
2106
  for (const [groupName, group] of Object.entries(styles)) {
@@ -2276,7 +2276,7 @@ var init_ansi_styles = __esm(() => {
2276
2276
  ansi_styles_default = ansiStyles;
2277
2277
  });
2278
2278
 
2279
- // ../switchroom-sec-1417/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
2279
+ // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
2280
2280
  import process2 from "node:process";
2281
2281
  import os from "node:os";
2282
2282
  import tty from "node:tty";
@@ -2410,7 +2410,7 @@ var init_supports_color = __esm(() => {
2410
2410
  supports_color_default = supportsColor;
2411
2411
  });
2412
2412
 
2413
- // ../switchroom-sec-1417/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
2413
+ // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
2414
2414
  function stringReplaceAll(string, substring, replacer) {
2415
2415
  let index = string.indexOf(substring);
2416
2416
  if (index === -1) {
@@ -2443,7 +2443,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
2443
2443
  return returnValue;
2444
2444
  }
2445
2445
 
2446
- // ../switchroom-sec-1417/node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
2446
+ // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
2447
2447
  function createChalk(options) {
2448
2448
  return chalkFactory(options);
2449
2449
  }
@@ -2589,7 +2589,7 @@ var init_source = __esm(() => {
2589
2589
  source_default = chalk;
2590
2590
  });
2591
2591
 
2592
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
2592
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
2593
2593
  var require_identity = __commonJS((exports) => {
2594
2594
  var ALIAS = Symbol.for("yaml.alias");
2595
2595
  var DOC = Symbol.for("yaml.document");
@@ -2643,7 +2643,7 @@ var require_identity = __commonJS((exports) => {
2643
2643
  exports.isSeq = isSeq;
2644
2644
  });
2645
2645
 
2646
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
2646
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
2647
2647
  var require_visit = __commonJS((exports) => {
2648
2648
  var identity = require_identity();
2649
2649
  var BREAK = Symbol("break visit");
@@ -2798,7 +2798,7 @@ var require_visit = __commonJS((exports) => {
2798
2798
  exports.visitAsync = visitAsync;
2799
2799
  });
2800
2800
 
2801
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
2801
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
2802
2802
  var require_directives = __commonJS((exports) => {
2803
2803
  var identity = require_identity();
2804
2804
  var visit = require_visit();
@@ -2950,7 +2950,7 @@ var require_directives = __commonJS((exports) => {
2950
2950
  exports.Directives = Directives;
2951
2951
  });
2952
2952
 
2953
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
2953
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
2954
2954
  var require_anchors = __commonJS((exports) => {
2955
2955
  var identity = require_identity();
2956
2956
  var visit = require_visit();
@@ -3012,7 +3012,7 @@ var require_anchors = __commonJS((exports) => {
3012
3012
  exports.findNewAnchor = findNewAnchor;
3013
3013
  });
3014
3014
 
3015
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
3015
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
3016
3016
  var require_applyReviver = __commonJS((exports) => {
3017
3017
  function applyReviver(reviver, obj, key, val) {
3018
3018
  if (val && typeof val === "object") {
@@ -3059,7 +3059,7 @@ var require_applyReviver = __commonJS((exports) => {
3059
3059
  exports.applyReviver = applyReviver;
3060
3060
  });
3061
3061
 
3062
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
3062
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
3063
3063
  var require_toJS = __commonJS((exports) => {
3064
3064
  var identity = require_identity();
3065
3065
  function toJS(value, arg, ctx) {
@@ -3086,7 +3086,7 @@ var require_toJS = __commonJS((exports) => {
3086
3086
  exports.toJS = toJS;
3087
3087
  });
3088
3088
 
3089
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
3089
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
3090
3090
  var require_Node = __commonJS((exports) => {
3091
3091
  var applyReviver = require_applyReviver();
3092
3092
  var identity = require_identity();
@@ -3123,7 +3123,7 @@ var require_Node = __commonJS((exports) => {
3123
3123
  exports.NodeBase = NodeBase;
3124
3124
  });
3125
3125
 
3126
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
3126
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
3127
3127
  var require_Alias = __commonJS((exports) => {
3128
3128
  var anchors = require_anchors();
3129
3129
  var visit = require_visit();
@@ -3231,7 +3231,7 @@ var require_Alias = __commonJS((exports) => {
3231
3231
  exports.Alias = Alias;
3232
3232
  });
3233
3233
 
3234
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
3234
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
3235
3235
  var require_Scalar = __commonJS((exports) => {
3236
3236
  var identity = require_identity();
3237
3237
  var Node = require_Node();
@@ -3259,7 +3259,7 @@ var require_Scalar = __commonJS((exports) => {
3259
3259
  exports.isScalarValue = isScalarValue;
3260
3260
  });
3261
3261
 
3262
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
3262
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
3263
3263
  var require_createNode = __commonJS((exports) => {
3264
3264
  var Alias = require_Alias();
3265
3265
  var identity = require_identity();
@@ -3331,7 +3331,7 @@ var require_createNode = __commonJS((exports) => {
3331
3331
  exports.createNode = createNode;
3332
3332
  });
3333
3333
 
3334
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
3334
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
3335
3335
  var require_Collection = __commonJS((exports) => {
3336
3336
  var createNode = require_createNode();
3337
3337
  var identity = require_identity();
@@ -3446,7 +3446,7 @@ var require_Collection = __commonJS((exports) => {
3446
3446
  exports.isEmptyPath = isEmptyPath;
3447
3447
  });
3448
3448
 
3449
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
3449
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
3450
3450
  var require_stringifyComment = __commonJS((exports) => {
3451
3451
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
3452
3452
  function indentComment(comment, indent) {
@@ -3463,7 +3463,7 @@ var require_stringifyComment = __commonJS((exports) => {
3463
3463
  exports.stringifyComment = stringifyComment;
3464
3464
  });
3465
3465
 
3466
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
3466
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
3467
3467
  var require_foldFlowLines = __commonJS((exports) => {
3468
3468
  var FOLD_FLOW = "flow";
3469
3469
  var FOLD_BLOCK = "block";
@@ -3600,7 +3600,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
3600
3600
  exports.foldFlowLines = foldFlowLines;
3601
3601
  });
3602
3602
 
3603
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
3603
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
3604
3604
  var require_stringifyString = __commonJS((exports) => {
3605
3605
  var Scalar = require_Scalar();
3606
3606
  var foldFlowLines = require_foldFlowLines();
@@ -3898,7 +3898,7 @@ ${indent}`);
3898
3898
  exports.stringifyString = stringifyString;
3899
3899
  });
3900
3900
 
3901
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
3901
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
3902
3902
  var require_stringify = __commonJS((exports) => {
3903
3903
  var anchors = require_anchors();
3904
3904
  var identity = require_identity();
@@ -4019,7 +4019,7 @@ ${ctx.indent}${str}`;
4019
4019
  exports.stringify = stringify;
4020
4020
  });
4021
4021
 
4022
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
4022
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
4023
4023
  var require_stringifyPair = __commonJS((exports) => {
4024
4024
  var identity = require_identity();
4025
4025
  var Scalar = require_Scalar();
@@ -4155,7 +4155,7 @@ ${ctx.indent}`;
4155
4155
  exports.stringifyPair = stringifyPair;
4156
4156
  });
4157
4157
 
4158
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
4158
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
4159
4159
  var require_log = __commonJS((exports) => {
4160
4160
  var node_process = __require("process");
4161
4161
  function debug(logLevel, ...messages) {
@@ -4174,7 +4174,7 @@ var require_log = __commonJS((exports) => {
4174
4174
  exports.warn = warn;
4175
4175
  });
4176
4176
 
4177
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
4177
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
4178
4178
  var require_merge = __commonJS((exports) => {
4179
4179
  var identity = require_identity();
4180
4180
  var Scalar = require_Scalar();
@@ -4228,7 +4228,7 @@ var require_merge = __commonJS((exports) => {
4228
4228
  exports.merge = merge;
4229
4229
  });
4230
4230
 
4231
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
4231
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
4232
4232
  var require_addPairToJSMap = __commonJS((exports) => {
4233
4233
  var log = require_log();
4234
4234
  var merge = require_merge();
@@ -4289,7 +4289,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
4289
4289
  exports.addPairToJSMap = addPairToJSMap;
4290
4290
  });
4291
4291
 
4292
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
4292
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
4293
4293
  var require_Pair = __commonJS((exports) => {
4294
4294
  var createNode = require_createNode();
4295
4295
  var stringifyPair = require_stringifyPair();
@@ -4327,7 +4327,7 @@ var require_Pair = __commonJS((exports) => {
4327
4327
  exports.createPair = createPair;
4328
4328
  });
4329
4329
 
4330
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
4330
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
4331
4331
  var require_stringifyCollection = __commonJS((exports) => {
4332
4332
  var identity = require_identity();
4333
4333
  var stringify = require_stringify();
@@ -4479,7 +4479,7 @@ ${indent}${end}`;
4479
4479
  exports.stringifyCollection = stringifyCollection;
4480
4480
  });
4481
4481
 
4482
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
4482
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
4483
4483
  var require_YAMLMap = __commonJS((exports) => {
4484
4484
  var stringifyCollection = require_stringifyCollection();
4485
4485
  var addPairToJSMap = require_addPairToJSMap();
@@ -4606,7 +4606,7 @@ var require_YAMLMap = __commonJS((exports) => {
4606
4606
  exports.findPair = findPair;
4607
4607
  });
4608
4608
 
4609
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
4609
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
4610
4610
  var require_map = __commonJS((exports) => {
4611
4611
  var identity = require_identity();
4612
4612
  var YAMLMap = require_YAMLMap();
@@ -4625,7 +4625,7 @@ var require_map = __commonJS((exports) => {
4625
4625
  exports.map = map;
4626
4626
  });
4627
4627
 
4628
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
4628
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
4629
4629
  var require_YAMLSeq = __commonJS((exports) => {
4630
4630
  var createNode = require_createNode();
4631
4631
  var stringifyCollection = require_stringifyCollection();
@@ -4718,7 +4718,7 @@ var require_YAMLSeq = __commonJS((exports) => {
4718
4718
  exports.YAMLSeq = YAMLSeq;
4719
4719
  });
4720
4720
 
4721
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
4721
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
4722
4722
  var require_seq = __commonJS((exports) => {
4723
4723
  var identity = require_identity();
4724
4724
  var YAMLSeq = require_YAMLSeq();
@@ -4737,7 +4737,7 @@ var require_seq = __commonJS((exports) => {
4737
4737
  exports.seq = seq;
4738
4738
  });
4739
4739
 
4740
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
4740
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
4741
4741
  var require_string = __commonJS((exports) => {
4742
4742
  var stringifyString = require_stringifyString();
4743
4743
  var string = {
@@ -4753,7 +4753,7 @@ var require_string = __commonJS((exports) => {
4753
4753
  exports.string = string;
4754
4754
  });
4755
4755
 
4756
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
4756
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
4757
4757
  var require_null = __commonJS((exports) => {
4758
4758
  var Scalar = require_Scalar();
4759
4759
  var nullTag = {
@@ -4768,7 +4768,7 @@ var require_null = __commonJS((exports) => {
4768
4768
  exports.nullTag = nullTag;
4769
4769
  });
4770
4770
 
4771
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
4771
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
4772
4772
  var require_bool = __commonJS((exports) => {
4773
4773
  var Scalar = require_Scalar();
4774
4774
  var boolTag = {
@@ -4789,7 +4789,7 @@ var require_bool = __commonJS((exports) => {
4789
4789
  exports.boolTag = boolTag;
4790
4790
  });
4791
4791
 
4792
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
4792
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
4793
4793
  var require_stringifyNumber = __commonJS((exports) => {
4794
4794
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
4795
4795
  if (typeof value === "bigint")
@@ -4813,7 +4813,7 @@ var require_stringifyNumber = __commonJS((exports) => {
4813
4813
  exports.stringifyNumber = stringifyNumber;
4814
4814
  });
4815
4815
 
4816
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
4816
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
4817
4817
  var require_float = __commonJS((exports) => {
4818
4818
  var Scalar = require_Scalar();
4819
4819
  var stringifyNumber = require_stringifyNumber();
@@ -4856,7 +4856,7 @@ var require_float = __commonJS((exports) => {
4856
4856
  exports.floatNaN = floatNaN;
4857
4857
  });
4858
4858
 
4859
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
4859
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
4860
4860
  var require_int = __commonJS((exports) => {
4861
4861
  var stringifyNumber = require_stringifyNumber();
4862
4862
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -4898,7 +4898,7 @@ var require_int = __commonJS((exports) => {
4898
4898
  exports.intOct = intOct;
4899
4899
  });
4900
4900
 
4901
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
4901
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
4902
4902
  var require_schema = __commonJS((exports) => {
4903
4903
  var map = require_map();
4904
4904
  var _null = require_null();
@@ -4923,7 +4923,7 @@ var require_schema = __commonJS((exports) => {
4923
4923
  exports.schema = schema;
4924
4924
  });
4925
4925
 
4926
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
4926
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
4927
4927
  var require_schema2 = __commonJS((exports) => {
4928
4928
  var Scalar = require_Scalar();
4929
4929
  var map = require_map();
@@ -4987,7 +4987,7 @@ var require_schema2 = __commonJS((exports) => {
4987
4987
  exports.schema = schema;
4988
4988
  });
4989
4989
 
4990
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
4990
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
4991
4991
  var require_binary = __commonJS((exports) => {
4992
4992
  var node_buffer = __require("buffer");
4993
4993
  var Scalar = require_Scalar();
@@ -5042,7 +5042,7 @@ var require_binary = __commonJS((exports) => {
5042
5042
  exports.binary = binary;
5043
5043
  });
5044
5044
 
5045
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
5045
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
5046
5046
  var require_pairs = __commonJS((exports) => {
5047
5047
  var identity = require_identity();
5048
5048
  var Pair = require_Pair();
@@ -5117,7 +5117,7 @@ ${cn.comment}` : item.comment;
5117
5117
  exports.resolvePairs = resolvePairs;
5118
5118
  });
5119
5119
 
5120
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
5120
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
5121
5121
  var require_omap = __commonJS((exports) => {
5122
5122
  var identity = require_identity();
5123
5123
  var toJS = require_toJS();
@@ -5189,7 +5189,7 @@ var require_omap = __commonJS((exports) => {
5189
5189
  exports.omap = omap;
5190
5190
  });
5191
5191
 
5192
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
5192
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
5193
5193
  var require_bool2 = __commonJS((exports) => {
5194
5194
  var Scalar = require_Scalar();
5195
5195
  function boolStringify({ value, source }, ctx) {
@@ -5218,7 +5218,7 @@ var require_bool2 = __commonJS((exports) => {
5218
5218
  exports.trueTag = trueTag;
5219
5219
  });
5220
5220
 
5221
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
5221
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
5222
5222
  var require_float2 = __commonJS((exports) => {
5223
5223
  var Scalar = require_Scalar();
5224
5224
  var stringifyNumber = require_stringifyNumber();
@@ -5264,7 +5264,7 @@ var require_float2 = __commonJS((exports) => {
5264
5264
  exports.floatNaN = floatNaN;
5265
5265
  });
5266
5266
 
5267
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
5267
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
5268
5268
  var require_int2 = __commonJS((exports) => {
5269
5269
  var stringifyNumber = require_stringifyNumber();
5270
5270
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -5340,7 +5340,7 @@ var require_int2 = __commonJS((exports) => {
5340
5340
  exports.intOct = intOct;
5341
5341
  });
5342
5342
 
5343
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
5343
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
5344
5344
  var require_set = __commonJS((exports) => {
5345
5345
  var identity = require_identity();
5346
5346
  var Pair = require_Pair();
@@ -5423,7 +5423,7 @@ var require_set = __commonJS((exports) => {
5423
5423
  exports.set = set;
5424
5424
  });
5425
5425
 
5426
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
5426
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
5427
5427
  var require_timestamp = __commonJS((exports) => {
5428
5428
  var stringifyNumber = require_stringifyNumber();
5429
5429
  function parseSexagesimal(str, asBigInt) {
@@ -5505,7 +5505,7 @@ var require_timestamp = __commonJS((exports) => {
5505
5505
  exports.timestamp = timestamp;
5506
5506
  });
5507
5507
 
5508
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
5508
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
5509
5509
  var require_schema3 = __commonJS((exports) => {
5510
5510
  var map = require_map();
5511
5511
  var _null = require_null();
@@ -5546,7 +5546,7 @@ var require_schema3 = __commonJS((exports) => {
5546
5546
  exports.schema = schema;
5547
5547
  });
5548
5548
 
5549
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
5549
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
5550
5550
  var require_tags = __commonJS((exports) => {
5551
5551
  var map = require_map();
5552
5552
  var _null = require_null();
@@ -5637,7 +5637,7 @@ var require_tags = __commonJS((exports) => {
5637
5637
  exports.getTags = getTags;
5638
5638
  });
5639
5639
 
5640
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
5640
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
5641
5641
  var require_Schema = __commonJS((exports) => {
5642
5642
  var identity = require_identity();
5643
5643
  var map = require_map();
@@ -5667,7 +5667,7 @@ var require_Schema = __commonJS((exports) => {
5667
5667
  exports.Schema = Schema;
5668
5668
  });
5669
5669
 
5670
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
5670
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
5671
5671
  var require_stringifyDocument = __commonJS((exports) => {
5672
5672
  var identity = require_identity();
5673
5673
  var stringify = require_stringify();
@@ -5747,7 +5747,7 @@ var require_stringifyDocument = __commonJS((exports) => {
5747
5747
  exports.stringifyDocument = stringifyDocument;
5748
5748
  });
5749
5749
 
5750
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
5750
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
5751
5751
  var require_Document = __commonJS((exports) => {
5752
5752
  var Alias = require_Alias();
5753
5753
  var Collection = require_Collection();
@@ -5982,7 +5982,7 @@ var require_Document = __commonJS((exports) => {
5982
5982
  exports.Document = Document;
5983
5983
  });
5984
5984
 
5985
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
5985
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
5986
5986
  var require_errors = __commonJS((exports) => {
5987
5987
  class YAMLError extends Error {
5988
5988
  constructor(name, pos, code, message) {
@@ -6047,7 +6047,7 @@ ${pointer}
6047
6047
  exports.prettifyError = prettifyError;
6048
6048
  });
6049
6049
 
6050
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
6050
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
6051
6051
  var require_resolve_props = __commonJS((exports) => {
6052
6052
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
6053
6053
  let spaceBefore = false;
@@ -6177,7 +6177,7 @@ var require_resolve_props = __commonJS((exports) => {
6177
6177
  exports.resolveProps = resolveProps;
6178
6178
  });
6179
6179
 
6180
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
6180
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
6181
6181
  var require_util_contains_newline = __commonJS((exports) => {
6182
6182
  function containsNewline(key) {
6183
6183
  if (!key)
@@ -6217,7 +6217,7 @@ var require_util_contains_newline = __commonJS((exports) => {
6217
6217
  exports.containsNewline = containsNewline;
6218
6218
  });
6219
6219
 
6220
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
6220
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
6221
6221
  var require_util_flow_indent_check = __commonJS((exports) => {
6222
6222
  var utilContainsNewline = require_util_contains_newline();
6223
6223
  function flowIndentCheck(indent, fc, onError) {
@@ -6232,7 +6232,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
6232
6232
  exports.flowIndentCheck = flowIndentCheck;
6233
6233
  });
6234
6234
 
6235
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
6235
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
6236
6236
  var require_util_map_includes = __commonJS((exports) => {
6237
6237
  var identity = require_identity();
6238
6238
  function mapIncludes(ctx, items, search) {
@@ -6245,7 +6245,7 @@ var require_util_map_includes = __commonJS((exports) => {
6245
6245
  exports.mapIncludes = mapIncludes;
6246
6246
  });
6247
6247
 
6248
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
6248
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
6249
6249
  var require_resolve_block_map = __commonJS((exports) => {
6250
6250
  var Pair = require_Pair();
6251
6251
  var YAMLMap = require_YAMLMap();
@@ -6352,7 +6352,7 @@ var require_resolve_block_map = __commonJS((exports) => {
6352
6352
  exports.resolveBlockMap = resolveBlockMap;
6353
6353
  });
6354
6354
 
6355
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
6355
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
6356
6356
  var require_resolve_block_seq = __commonJS((exports) => {
6357
6357
  var YAMLSeq = require_YAMLSeq();
6358
6358
  var resolveProps = require_resolve_props();
@@ -6400,7 +6400,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
6400
6400
  exports.resolveBlockSeq = resolveBlockSeq;
6401
6401
  });
6402
6402
 
6403
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
6403
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
6404
6404
  var require_resolve_end = __commonJS((exports) => {
6405
6405
  function resolveEnd(end, offset, reqSpace, onError) {
6406
6406
  let comment = "";
@@ -6440,7 +6440,7 @@ var require_resolve_end = __commonJS((exports) => {
6440
6440
  exports.resolveEnd = resolveEnd;
6441
6441
  });
6442
6442
 
6443
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
6443
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
6444
6444
  var require_resolve_flow_collection = __commonJS((exports) => {
6445
6445
  var identity = require_identity();
6446
6446
  var Pair = require_Pair();
@@ -6631,7 +6631,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
6631
6631
  exports.resolveFlowCollection = resolveFlowCollection;
6632
6632
  });
6633
6633
 
6634
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
6634
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
6635
6635
  var require_compose_collection = __commonJS((exports) => {
6636
6636
  var identity = require_identity();
6637
6637
  var Scalar = require_Scalar();
@@ -6693,7 +6693,7 @@ var require_compose_collection = __commonJS((exports) => {
6693
6693
  exports.composeCollection = composeCollection;
6694
6694
  });
6695
6695
 
6696
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
6696
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
6697
6697
  var require_resolve_block_scalar = __commonJS((exports) => {
6698
6698
  var Scalar = require_Scalar();
6699
6699
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -6886,7 +6886,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
6886
6886
  exports.resolveBlockScalar = resolveBlockScalar;
6887
6887
  });
6888
6888
 
6889
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
6889
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
6890
6890
  var require_resolve_flow_scalar = __commonJS((exports) => {
6891
6891
  var Scalar = require_Scalar();
6892
6892
  var resolveEnd = require_resolve_end();
@@ -7102,7 +7102,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
7102
7102
  exports.resolveFlowScalar = resolveFlowScalar;
7103
7103
  });
7104
7104
 
7105
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
7105
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
7106
7106
  var require_compose_scalar = __commonJS((exports) => {
7107
7107
  var identity = require_identity();
7108
7108
  var Scalar = require_Scalar();
@@ -7180,7 +7180,7 @@ var require_compose_scalar = __commonJS((exports) => {
7180
7180
  exports.composeScalar = composeScalar;
7181
7181
  });
7182
7182
 
7183
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
7183
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
7184
7184
  var require_util_empty_scalar_position = __commonJS((exports) => {
7185
7185
  function emptyScalarPosition(offset, before, pos) {
7186
7186
  if (before) {
@@ -7207,7 +7207,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
7207
7207
  exports.emptyScalarPosition = emptyScalarPosition;
7208
7208
  });
7209
7209
 
7210
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
7210
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
7211
7211
  var require_compose_node = __commonJS((exports) => {
7212
7212
  var Alias = require_Alias();
7213
7213
  var identity = require_identity();
@@ -7310,7 +7310,7 @@ var require_compose_node = __commonJS((exports) => {
7310
7310
  exports.composeNode = composeNode;
7311
7311
  });
7312
7312
 
7313
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
7313
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
7314
7314
  var require_compose_doc = __commonJS((exports) => {
7315
7315
  var Document = require_Document();
7316
7316
  var composeNode = require_compose_node();
@@ -7350,7 +7350,7 @@ var require_compose_doc = __commonJS((exports) => {
7350
7350
  exports.composeDoc = composeDoc;
7351
7351
  });
7352
7352
 
7353
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
7353
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
7354
7354
  var require_composer = __commonJS((exports) => {
7355
7355
  var node_process = __require("process");
7356
7356
  var directives = require_directives();
@@ -7539,7 +7539,7 @@ ${end.comment}` : end.comment;
7539
7539
  exports.Composer = Composer;
7540
7540
  });
7541
7541
 
7542
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
7542
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
7543
7543
  var require_cst_scalar = __commonJS((exports) => {
7544
7544
  var resolveBlockScalar = require_resolve_block_scalar();
7545
7545
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -7729,7 +7729,7 @@ var require_cst_scalar = __commonJS((exports) => {
7729
7729
  exports.setScalarValue = setScalarValue;
7730
7730
  });
7731
7731
 
7732
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
7732
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
7733
7733
  var require_cst_stringify = __commonJS((exports) => {
7734
7734
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
7735
7735
  function stringifyToken(token) {
@@ -7787,7 +7787,7 @@ var require_cst_stringify = __commonJS((exports) => {
7787
7787
  exports.stringify = stringify;
7788
7788
  });
7789
7789
 
7790
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
7790
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
7791
7791
  var require_cst_visit = __commonJS((exports) => {
7792
7792
  var BREAK = Symbol("break visit");
7793
7793
  var SKIP = Symbol("skip children");
@@ -7846,7 +7846,7 @@ var require_cst_visit = __commonJS((exports) => {
7846
7846
  exports.visit = visit;
7847
7847
  });
7848
7848
 
7849
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
7849
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
7850
7850
  var require_cst = __commonJS((exports) => {
7851
7851
  var cstScalar = require_cst_scalar();
7852
7852
  var cstStringify = require_cst_stringify();
@@ -7947,7 +7947,7 @@ var require_cst = __commonJS((exports) => {
7947
7947
  exports.tokenType = tokenType;
7948
7948
  });
7949
7949
 
7950
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
7950
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
7951
7951
  var require_lexer = __commonJS((exports) => {
7952
7952
  var cst = require_cst();
7953
7953
  function isEmpty(ch) {
@@ -8533,7 +8533,7 @@ var require_lexer = __commonJS((exports) => {
8533
8533
  exports.Lexer = Lexer;
8534
8534
  });
8535
8535
 
8536
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
8536
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
8537
8537
  var require_line_counter = __commonJS((exports) => {
8538
8538
  class LineCounter {
8539
8539
  constructor() {
@@ -8561,7 +8561,7 @@ var require_line_counter = __commonJS((exports) => {
8561
8561
  exports.LineCounter = LineCounter;
8562
8562
  });
8563
8563
 
8564
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
8564
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
8565
8565
  var require_parser = __commonJS((exports) => {
8566
8566
  var node_process = __require("process");
8567
8567
  var cst = require_cst();
@@ -9410,7 +9410,7 @@ var require_parser = __commonJS((exports) => {
9410
9410
  exports.Parser = Parser;
9411
9411
  });
9412
9412
 
9413
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
9413
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
9414
9414
  var require_public_api = __commonJS((exports) => {
9415
9415
  var composer = require_composer();
9416
9416
  var Document = require_Document();
@@ -9504,7 +9504,7 @@ var require_public_api = __commonJS((exports) => {
9504
9504
  exports.stringify = stringify;
9505
9505
  });
9506
9506
 
9507
- // ../switchroom-sec-1417/node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
9507
+ // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
9508
9508
  var require_dist = __commonJS((exports) => {
9509
9509
  var composer = require_composer();
9510
9510
  var Document = require_Document();
@@ -9553,7 +9553,7 @@ var require_dist = __commonJS((exports) => {
9553
9553
  exports.visitAsync = visit.visitAsync;
9554
9554
  });
9555
9555
 
9556
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
9556
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
9557
9557
  var util, objectUtil, ZodParsedType, getParsedType = (data) => {
9558
9558
  const t = typeof data;
9559
9559
  switch (t) {
@@ -9684,7 +9684,7 @@ var init_util = __esm(() => {
9684
9684
  ]);
9685
9685
  });
9686
9686
 
9687
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
9687
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
9688
9688
  var ZodIssueCode, quotelessJson = (obj) => {
9689
9689
  const json = JSON.stringify(obj, null, 2);
9690
9690
  return json.replace(/"([^"]+)":/g, "$1:");
@@ -9805,7 +9805,7 @@ var init_ZodError = __esm(() => {
9805
9805
  };
9806
9806
  });
9807
9807
 
9808
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
9808
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
9809
9809
  var errorMap = (issue, _ctx) => {
9810
9810
  let message;
9811
9811
  switch (issue.code) {
@@ -9912,7 +9912,7 @@ var init_en = __esm(() => {
9912
9912
  en_default = errorMap;
9913
9913
  });
9914
9914
 
9915
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
9915
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
9916
9916
  function setErrorMap(map) {
9917
9917
  overrideErrorMap = map;
9918
9918
  }
@@ -9925,7 +9925,7 @@ var init_errors = __esm(() => {
9925
9925
  overrideErrorMap = en_default;
9926
9926
  });
9927
9927
 
9928
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
9928
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
9929
9929
  function addIssueToContext(ctx, issueData) {
9930
9930
  const overrideMap = getErrorMap();
9931
9931
  const issue = makeIssue({
@@ -10030,10 +10030,10 @@ var init_parseUtil = __esm(() => {
10030
10030
  });
10031
10031
  });
10032
10032
 
10033
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
10033
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
10034
10034
  var init_typeAliases = () => {};
10035
10035
 
10036
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
10036
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
10037
10037
  var errorUtil;
10038
10038
  var init_errorUtil = __esm(() => {
10039
10039
  (function(errorUtil2) {
@@ -10042,7 +10042,7 @@ var init_errorUtil = __esm(() => {
10042
10042
  })(errorUtil || (errorUtil = {}));
10043
10043
  });
10044
10044
 
10045
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
10045
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
10046
10046
  class ParseInputLazyPath {
10047
10047
  constructor(parent, value, path, key) {
10048
10048
  this._cachedPath = [];
@@ -13393,7 +13393,7 @@ var init_types = __esm(() => {
13393
13393
  NEVER = INVALID;
13394
13394
  });
13395
13395
 
13396
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
13396
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
13397
13397
  var exports_external = {};
13398
13398
  __export(exports_external, {
13399
13399
  void: () => voidType,
@@ -13513,7 +13513,7 @@ var init_external = __esm(() => {
13513
13513
  init_ZodError();
13514
13514
  });
13515
13515
 
13516
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
13516
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
13517
13517
  var init_zod = __esm(() => {
13518
13518
  init_external();
13519
13519
  init_external();
@@ -15239,7 +15239,7 @@ function classifyTimezoneSource(config, resolvedAgent) {
15239
15239
  }
15240
15240
  var init_timezone = () => {};
15241
15241
 
15242
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
15242
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
15243
15243
  var require_utils = __commonJS((exports) => {
15244
15244
  exports.__esModule = true;
15245
15245
  exports.extend = extend;
@@ -15335,7 +15335,7 @@ var require_utils = __commonJS((exports) => {
15335
15335
  }
15336
15336
  });
15337
15337
 
15338
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
15338
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
15339
15339
  var require_exception = __commonJS((exports, module) => {
15340
15340
  exports.__esModule = true;
15341
15341
  var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
@@ -15380,7 +15380,7 @@ var require_exception = __commonJS((exports, module) => {
15380
15380
  module.exports = exports["default"];
15381
15381
  });
15382
15382
 
15383
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
15383
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
15384
15384
  var require_block_helper_missing = __commonJS((exports, module) => {
15385
15385
  exports.__esModule = true;
15386
15386
  var _utils = require_utils();
@@ -15413,7 +15413,7 @@ var require_block_helper_missing = __commonJS((exports, module) => {
15413
15413
  module.exports = exports["default"];
15414
15414
  });
15415
15415
 
15416
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
15416
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
15417
15417
  var require_each = __commonJS((exports, module) => {
15418
15418
  exports.__esModule = true;
15419
15419
  function _interopRequireDefault(obj) {
@@ -15494,7 +15494,7 @@ var require_each = __commonJS((exports, module) => {
15494
15494
  module.exports = exports["default"];
15495
15495
  });
15496
15496
 
15497
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
15497
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
15498
15498
  var require_helper_missing = __commonJS((exports, module) => {
15499
15499
  exports.__esModule = true;
15500
15500
  function _interopRequireDefault(obj) {
@@ -15514,7 +15514,7 @@ var require_helper_missing = __commonJS((exports, module) => {
15514
15514
  module.exports = exports["default"];
15515
15515
  });
15516
15516
 
15517
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
15517
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
15518
15518
  var require_if = __commonJS((exports, module) => {
15519
15519
  exports.__esModule = true;
15520
15520
  function _interopRequireDefault(obj) {
@@ -15551,7 +15551,7 @@ var require_if = __commonJS((exports, module) => {
15551
15551
  module.exports = exports["default"];
15552
15552
  });
15553
15553
 
15554
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
15554
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
15555
15555
  var require_log2 = __commonJS((exports, module) => {
15556
15556
  exports.__esModule = true;
15557
15557
  exports.default = function(instance) {
@@ -15573,7 +15573,7 @@ var require_log2 = __commonJS((exports, module) => {
15573
15573
  module.exports = exports["default"];
15574
15574
  });
15575
15575
 
15576
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
15576
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
15577
15577
  var require_lookup = __commonJS((exports, module) => {
15578
15578
  exports.__esModule = true;
15579
15579
  exports.default = function(instance) {
@@ -15587,7 +15587,7 @@ var require_lookup = __commonJS((exports, module) => {
15587
15587
  module.exports = exports["default"];
15588
15588
  });
15589
15589
 
15590
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
15590
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
15591
15591
  var require_with = __commonJS((exports, module) => {
15592
15592
  exports.__esModule = true;
15593
15593
  function _interopRequireDefault(obj) {
@@ -15623,7 +15623,7 @@ var require_with = __commonJS((exports, module) => {
15623
15623
  module.exports = exports["default"];
15624
15624
  });
15625
15625
 
15626
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
15626
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
15627
15627
  var require_helpers = __commonJS((exports) => {
15628
15628
  exports.__esModule = true;
15629
15629
  exports.registerDefaultHelpers = registerDefaultHelpers;
@@ -15664,7 +15664,7 @@ var require_helpers = __commonJS((exports) => {
15664
15664
  }
15665
15665
  });
15666
15666
 
15667
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
15667
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
15668
15668
  var require_inline = __commonJS((exports, module) => {
15669
15669
  exports.__esModule = true;
15670
15670
  var _utils = require_utils();
@@ -15688,7 +15688,7 @@ var require_inline = __commonJS((exports, module) => {
15688
15688
  module.exports = exports["default"];
15689
15689
  });
15690
15690
 
15691
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
15691
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
15692
15692
  var require_decorators = __commonJS((exports) => {
15693
15693
  exports.__esModule = true;
15694
15694
  exports.registerDefaultDecorators = registerDefaultDecorators;
@@ -15702,7 +15702,7 @@ var require_decorators = __commonJS((exports) => {
15702
15702
  }
15703
15703
  });
15704
15704
 
15705
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
15705
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
15706
15706
  var require_logger = __commonJS((exports, module) => {
15707
15707
  exports.__esModule = true;
15708
15708
  var _utils = require_utils();
@@ -15738,7 +15738,7 @@ var require_logger = __commonJS((exports, module) => {
15738
15738
  module.exports = exports["default"];
15739
15739
  });
15740
15740
 
15741
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
15741
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
15742
15742
  var require_proto_access = __commonJS((exports) => {
15743
15743
  exports.__esModule = true;
15744
15744
  exports.createProtoAccessControl = createProtoAccessControl;
@@ -15805,7 +15805,7 @@ var require_proto_access = __commonJS((exports) => {
15805
15805
  }
15806
15806
  });
15807
15807
 
15808
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
15808
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
15809
15809
  var require_base = __commonJS((exports) => {
15810
15810
  exports.__esModule = true;
15811
15811
  exports.HandlebarsEnvironment = HandlebarsEnvironment;
@@ -15898,7 +15898,7 @@ var require_base = __commonJS((exports) => {
15898
15898
  exports.logger = _logger2["default"];
15899
15899
  });
15900
15900
 
15901
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
15901
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
15902
15902
  var require_safe_string = __commonJS((exports, module) => {
15903
15903
  exports.__esModule = true;
15904
15904
  function SafeString(string) {
@@ -15911,7 +15911,7 @@ var require_safe_string = __commonJS((exports, module) => {
15911
15911
  module.exports = exports["default"];
15912
15912
  });
15913
15913
 
15914
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
15914
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
15915
15915
  var require_wrapHelper = __commonJS((exports) => {
15916
15916
  exports.__esModule = true;
15917
15917
  exports.wrapHelper = wrapHelper;
@@ -15928,7 +15928,7 @@ var require_wrapHelper = __commonJS((exports) => {
15928
15928
  }
15929
15929
  });
15930
15930
 
15931
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
15931
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
15932
15932
  var require_runtime = __commonJS((exports) => {
15933
15933
  exports.__esModule = true;
15934
15934
  exports.checkRevision = checkRevision;
@@ -16243,7 +16243,7 @@ var require_runtime = __commonJS((exports) => {
16243
16243
  }
16244
16244
  });
16245
16245
 
16246
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
16246
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
16247
16247
  var require_no_conflict = __commonJS((exports, module) => {
16248
16248
  exports.__esModule = true;
16249
16249
  exports.default = function(Handlebars) {
@@ -16267,7 +16267,7 @@ var require_no_conflict = __commonJS((exports, module) => {
16267
16267
  module.exports = exports["default"];
16268
16268
  });
16269
16269
 
16270
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
16270
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
16271
16271
  var require_handlebars_runtime = __commonJS((exports, module) => {
16272
16272
  exports.__esModule = true;
16273
16273
  function _interopRequireDefault(obj) {
@@ -16321,7 +16321,7 @@ var require_handlebars_runtime = __commonJS((exports, module) => {
16321
16321
  module.exports = exports["default"];
16322
16322
  });
16323
16323
 
16324
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
16324
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
16325
16325
  var require_ast = __commonJS((exports, module) => {
16326
16326
  exports.__esModule = true;
16327
16327
  var AST = {
@@ -16341,7 +16341,7 @@ var require_ast = __commonJS((exports, module) => {
16341
16341
  module.exports = exports["default"];
16342
16342
  });
16343
16343
 
16344
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
16344
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
16345
16345
  var require_parser2 = __commonJS((exports, module) => {
16346
16346
  exports.__esModule = true;
16347
16347
  var handlebars = function() {
@@ -17065,7 +17065,7 @@ Expecting ` + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symb
17065
17065
  module.exports = exports["default"];
17066
17066
  });
17067
17067
 
17068
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
17068
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
17069
17069
  var require_visitor = __commonJS((exports, module) => {
17070
17070
  exports.__esModule = true;
17071
17071
  function _interopRequireDefault(obj) {
@@ -17170,7 +17170,7 @@ var require_visitor = __commonJS((exports, module) => {
17170
17170
  module.exports = exports["default"];
17171
17171
  });
17172
17172
 
17173
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
17173
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
17174
17174
  var require_whitespace_control = __commonJS((exports, module) => {
17175
17175
  exports.__esModule = true;
17176
17176
  function _interopRequireDefault(obj) {
@@ -17316,7 +17316,7 @@ var require_whitespace_control = __commonJS((exports, module) => {
17316
17316
  module.exports = exports["default"];
17317
17317
  });
17318
17318
 
17319
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
17319
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
17320
17320
  var require_helpers2 = __commonJS((exports) => {
17321
17321
  exports.__esModule = true;
17322
17322
  exports.SourceLocation = SourceLocation;
@@ -17501,7 +17501,7 @@ var require_helpers2 = __commonJS((exports) => {
17501
17501
  }
17502
17502
  });
17503
17503
 
17504
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
17504
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
17505
17505
  var require_base2 = __commonJS((exports) => {
17506
17506
  exports.__esModule = true;
17507
17507
  exports.parseWithoutProcessing = parseWithoutProcessing;
@@ -17600,7 +17600,7 @@ var require_base2 = __commonJS((exports) => {
17600
17600
  }
17601
17601
  });
17602
17602
 
17603
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
17603
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
17604
17604
  var require_compiler = __commonJS((exports) => {
17605
17605
  exports.__esModule = true;
17606
17606
  exports.Compiler = Compiler;
@@ -18017,7 +18017,7 @@ var require_compiler = __commonJS((exports) => {
18017
18017
  }
18018
18018
  });
18019
18019
 
18020
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64.js
18020
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64.js
18021
18021
  var require_base64 = __commonJS((exports) => {
18022
18022
  var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
18023
18023
  exports.encode = function(number) {
@@ -18056,7 +18056,7 @@ var require_base64 = __commonJS((exports) => {
18056
18056
  };
18057
18057
  });
18058
18058
 
18059
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js
18059
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js
18060
18060
  var require_base64_vlq = __commonJS((exports) => {
18061
18061
  var base64 = require_base64();
18062
18062
  var VLQ_BASE_SHIFT = 5;
@@ -18108,7 +18108,7 @@ var require_base64_vlq = __commonJS((exports) => {
18108
18108
  };
18109
18109
  });
18110
18110
 
18111
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/util.js
18111
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/util.js
18112
18112
  var require_util = __commonJS((exports) => {
18113
18113
  function getArg(aArgs, aName, aDefaultValue) {
18114
18114
  if (aName in aArgs) {
@@ -18407,7 +18407,7 @@ var require_util = __commonJS((exports) => {
18407
18407
  exports.computeSourceURL = computeSourceURL;
18408
18408
  });
18409
18409
 
18410
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/array-set.js
18410
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/array-set.js
18411
18411
  var require_array_set = __commonJS((exports) => {
18412
18412
  var util3 = require_util();
18413
18413
  var has = Object.prototype.hasOwnProperty;
@@ -18475,7 +18475,7 @@ var require_array_set = __commonJS((exports) => {
18475
18475
  exports.ArraySet = ArraySet;
18476
18476
  });
18477
18477
 
18478
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js
18478
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js
18479
18479
  var require_mapping_list = __commonJS((exports) => {
18480
18480
  var util3 = require_util();
18481
18481
  function generatedPositionAfter(mappingA, mappingB) {
@@ -18512,7 +18512,7 @@ var require_mapping_list = __commonJS((exports) => {
18512
18512
  exports.MappingList = MappingList;
18513
18513
  });
18514
18514
 
18515
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js
18515
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js
18516
18516
  var require_source_map_generator = __commonJS((exports) => {
18517
18517
  var base64VLQ = require_base64_vlq();
18518
18518
  var util3 = require_util();
@@ -18782,7 +18782,7 @@ var require_source_map_generator = __commonJS((exports) => {
18782
18782
  exports.SourceMapGenerator = SourceMapGenerator;
18783
18783
  });
18784
18784
 
18785
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/binary-search.js
18785
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/binary-search.js
18786
18786
  var require_binary_search = __commonJS((exports) => {
18787
18787
  exports.GREATEST_LOWER_BOUND = 1;
18788
18788
  exports.LEAST_UPPER_BOUND = 2;
@@ -18829,7 +18829,7 @@ var require_binary_search = __commonJS((exports) => {
18829
18829
  };
18830
18830
  });
18831
18831
 
18832
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js
18832
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js
18833
18833
  var require_quick_sort = __commonJS((exports) => {
18834
18834
  function swap(ary, x, y) {
18835
18835
  var temp = ary[x];
@@ -18862,7 +18862,7 @@ var require_quick_sort = __commonJS((exports) => {
18862
18862
  };
18863
18863
  });
18864
18864
 
18865
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js
18865
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js
18866
18866
  var require_source_map_consumer = __commonJS((exports) => {
18867
18867
  var util3 = require_util();
18868
18868
  var binarySearch = require_binary_search();
@@ -19431,7 +19431,7 @@ var require_source_map_consumer = __commonJS((exports) => {
19431
19431
  exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
19432
19432
  });
19433
19433
 
19434
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-node.js
19434
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-node.js
19435
19435
  var require_source_node = __commonJS((exports) => {
19436
19436
  var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
19437
19437
  var util3 = require_util();
@@ -19685,14 +19685,14 @@ var require_source_node = __commonJS((exports) => {
19685
19685
  exports.SourceNode = SourceNode;
19686
19686
  });
19687
19687
 
19688
- // ../switchroom-sec-1417/node_modules/.bun/source-map@0.6.1/node_modules/source-map/source-map.js
19688
+ // node_modules/.bun/source-map@0.6.1/node_modules/source-map/source-map.js
19689
19689
  var require_source_map = __commonJS((exports) => {
19690
19690
  exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
19691
19691
  exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
19692
19692
  exports.SourceNode = require_source_node().SourceNode;
19693
19693
  });
19694
19694
 
19695
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
19695
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
19696
19696
  var require_code_gen = __commonJS((exports, module) => {
19697
19697
  exports.__esModule = true;
19698
19698
  var _utils = require_utils();
@@ -19825,7 +19825,7 @@ var require_code_gen = __commonJS((exports, module) => {
19825
19825
  module.exports = exports["default"];
19826
19826
  });
19827
19827
 
19828
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
19828
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
19829
19829
  var require_javascript_compiler = __commonJS((exports, module) => {
19830
19830
  exports.__esModule = true;
19831
19831
  function _interopRequireDefault(obj) {
@@ -20593,7 +20593,7 @@ var require_javascript_compiler = __commonJS((exports, module) => {
20593
20593
  module.exports = exports["default"];
20594
20594
  });
20595
20595
 
20596
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
20596
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
20597
20597
  var require_handlebars = __commonJS((exports, module) => {
20598
20598
  exports.__esModule = true;
20599
20599
  function _interopRequireDefault(obj) {
@@ -20637,7 +20637,7 @@ var require_handlebars = __commonJS((exports, module) => {
20637
20637
  module.exports = exports["default"];
20638
20638
  });
20639
20639
 
20640
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
20640
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
20641
20641
  var require_printer = __commonJS((exports) => {
20642
20642
  exports.__esModule = true;
20643
20643
  exports.print = print;
@@ -20781,7 +20781,7 @@ var require_printer = __commonJS((exports) => {
20781
20781
  };
20782
20782
  });
20783
20783
 
20784
- // ../switchroom-sec-1417/node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/lib/index.js
20784
+ // node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/lib/index.js
20785
20785
  var require_lib = __commonJS((exports, module) => {
20786
20786
  var handlebars = require_handlebars()["default"];
20787
20787
  var printer = require_printer();
@@ -29685,8 +29685,201 @@ var init_doctor_drive = __esm(() => {
29685
29685
  init_doctor_secret_access();
29686
29686
  });
29687
29687
 
29688
+ // src/cli/doctor-webkite.ts
29689
+ import {
29690
+ existsSync as realExistsSync2,
29691
+ readFileSync as realReadFileSync2,
29692
+ readdirSync as realReaddirSync,
29693
+ openSync as realOpenSync,
29694
+ readSync as realReadSync,
29695
+ closeSync as realCloseSync
29696
+ } from "node:fs";
29697
+ import { join as join45 } from "node:path";
29698
+ import { homedir as homedir25 } from "node:os";
29699
+ function defaultReadHead(p, n) {
29700
+ let fd;
29701
+ try {
29702
+ fd = realOpenSync(p, "r");
29703
+ const buf = Buffer.alloc(n);
29704
+ const read = realReadSync(fd, buf, 0, n, 0);
29705
+ return buf.subarray(0, read);
29706
+ } catch {
29707
+ return null;
29708
+ } finally {
29709
+ if (fd !== undefined) {
29710
+ try {
29711
+ realCloseSync(fd);
29712
+ } catch {}
29713
+ }
29714
+ }
29715
+ }
29716
+ function resolveDeps2(config, deps) {
29717
+ let agentsDir = deps.agentsDir;
29718
+ if (agentsDir === undefined) {
29719
+ try {
29720
+ agentsDir = resolveAgentsDir(config);
29721
+ } catch {
29722
+ agentsDir = undefined;
29723
+ }
29724
+ }
29725
+ return {
29726
+ homeDir: deps.homeDir ?? homedir25(),
29727
+ agentsDir,
29728
+ existsSync: deps.existsSync ?? ((p) => realExistsSync2(p)),
29729
+ readFileSync: deps.readFileSync ?? ((p) => realReadFileSync2(p, "utf-8")),
29730
+ readdirSync: deps.readdirSync ?? ((p) => realReaddirSync(p)),
29731
+ readHead: deps.readHead ?? defaultReadHead
29732
+ };
29733
+ }
29734
+ function classifyArch(d, path4) {
29735
+ const head = d.readHead(path4, 20);
29736
+ if (head === null || head.length < 20)
29737
+ return "unreadable";
29738
+ if (!(head[0] === 127 && head[1] === 69 && head[2] === 76 && head[3] === 70)) {
29739
+ return "not-elf";
29740
+ }
29741
+ const eMachine = head[18] | head[19] << 8;
29742
+ return eMachine === 62 ? "elf-x64" : "elf-other-arch";
29743
+ }
29744
+ function webkiteEnabled(config, agent) {
29745
+ const mcp = config.agents?.[agent]?.mcp_servers;
29746
+ return (mcp ?? {})["webkite"] !== false;
29747
+ }
29748
+ function runWebkiteChecks(config, deps = {}) {
29749
+ const agents = Object.keys(config.agents ?? {});
29750
+ const enabledAgents = agents.filter((a) => webkiteEnabled(config, a));
29751
+ if (enabledAgents.length === 0)
29752
+ return [];
29753
+ const d = resolveDeps2(config, deps);
29754
+ const results = [];
29755
+ const binPath = join45(d.homeDir, ".switchroom", "bin", "webkite");
29756
+ if (!d.existsSync(binPath)) {
29757
+ results.push({
29758
+ name: "webkite: binary",
29759
+ status: "warn",
29760
+ detail: `not staged at ${binPath} \u2014 agents run in degraded "no-webkite" mode (native WebFetch kept by the fail-safe gate)`,
29761
+ fix: "Stage the private-beta binary: cp <webkite> ~/.switchroom/bin/webkite && chmod +x; then `switchroom update`."
29762
+ });
29763
+ } else {
29764
+ const arch = classifyArch(d, binPath);
29765
+ if (arch === "elf-x64") {
29766
+ results.push({ name: "webkite: binary", status: "ok", detail: `staged, linux x86-64 ELF (${binPath})` });
29767
+ } else if (arch === "unreadable") {
29768
+ results.push({ name: "webkite: binary", status: "skip", detail: `present but unreadable by the operator \u2014 re-run doctor without sudo` });
29769
+ } else if (arch === "not-elf") {
29770
+ results.push({
29771
+ name: "webkite: binary",
29772
+ status: "fail",
29773
+ detail: `${binPath} is not a Linux ELF binary (likely a macOS/other-OS build) \u2014 it cannot run in the agent container`,
29774
+ fix: "Replace with a linux x86-64 build (static musl preferred). See the webkite release artifacts."
29775
+ });
29776
+ } else {
29777
+ results.push({
29778
+ name: "webkite: binary",
29779
+ status: "fail",
29780
+ detail: `${binPath} is an ELF binary for the wrong CPU arch (not x86-64) \u2014 it cannot run in the agent container`,
29781
+ fix: "Replace with a linux x86-64 (amd64) build."
29782
+ });
29783
+ }
29784
+ }
29785
+ const cloakDir = join45(d.homeDir, ".cloakbrowser");
29786
+ let chromeFound = false;
29787
+ if (d.existsSync(cloakDir)) {
29788
+ try {
29789
+ for (const entry of d.readdirSync(cloakDir)) {
29790
+ if (entry.startsWith("chromium-") && d.existsSync(join45(cloakDir, entry, "chrome"))) {
29791
+ chromeFound = true;
29792
+ break;
29793
+ }
29794
+ }
29795
+ } catch {}
29796
+ }
29797
+ if (chromeFound) {
29798
+ results.push({ name: "webkite: cloakbrowser", status: "ok", detail: "stealth Chromium present (local render available)" });
29799
+ } else {
29800
+ results.push({
29801
+ name: "webkite: cloakbrowser",
29802
+ status: "warn",
29803
+ detail: "no local stealth Chromium at ~/.cloakbrowser/chromium-*/chrome \u2014 webkite can only cloud-render (Cloudflare/Firecrawl) and will fail bot-gated sites with no local fallback",
29804
+ fix: "Install once on the host: XDG_DATA_HOME=~/.switchroom/webkite-share webkite setup --yes cloakbrowser"
29805
+ });
29806
+ }
29807
+ if (d.agentsDir === undefined) {
29808
+ results.push({
29809
+ name: "webkite: scaffold",
29810
+ status: "warn",
29811
+ detail: "agents_dir unresolved (no switchroom.agents_dir) \u2014 cannot verify per-agent webkite wiring"
29812
+ });
29813
+ return results;
29814
+ }
29815
+ for (const agent of enabledAgents) {
29816
+ const agentDir = join45(d.agentsDir, agent);
29817
+ const settingsPath = join45(agentDir, ".claude", "settings.json");
29818
+ const mcpPath = join45(agentDir, ".mcp.json");
29819
+ if (!d.existsSync(settingsPath) && !d.existsSync(mcpPath)) {
29820
+ continue;
29821
+ }
29822
+ let settings = null;
29823
+ let mcp = null;
29824
+ let unreadable = false;
29825
+ for (const [path4, set] of [
29826
+ [settingsPath, (v) => {
29827
+ settings = v;
29828
+ }],
29829
+ [mcpPath, (v) => {
29830
+ mcp = v;
29831
+ }]
29832
+ ]) {
29833
+ if (!d.existsSync(path4))
29834
+ continue;
29835
+ try {
29836
+ set(JSON.parse(d.readFileSync(path4)));
29837
+ } catch (err) {
29838
+ const code = err?.code;
29839
+ if (code === "EACCES" || code === "EPERM") {
29840
+ unreadable = true;
29841
+ }
29842
+ }
29843
+ }
29844
+ if (unreadable) {
29845
+ results.push({
29846
+ name: `webkite: ${agent} scaffold`,
29847
+ status: "skip",
29848
+ detail: "scaffold files are agent-UID-owned (0600) \u2014 re-run doctor without sudo to read them"
29849
+ });
29850
+ continue;
29851
+ }
29852
+ const mcpHasWebkite = !!(mcp && mcp.mcpServers?.["webkite"]);
29853
+ const allow = settings?.permissions?.allow ?? [];
29854
+ const deny = settings?.permissions?.deny ?? [];
29855
+ const allowOk = allow.includes("mcp__webkite__*");
29856
+ const denyOk = deny.includes("WebFetch");
29857
+ const problems = [];
29858
+ if (!mcpHasWebkite)
29859
+ problems.push(".mcp.json missing the webkite entry");
29860
+ if (!allowOk)
29861
+ problems.push("permissions.allow missing mcp__webkite__* (first fetch will prompt)");
29862
+ if (!denyOk)
29863
+ problems.push("permissions.deny missing WebFetch (native fetch not disabled)");
29864
+ if (problems.length === 0) {
29865
+ results.push({ name: `webkite: ${agent} scaffold`, status: "ok", detail: "wired + pre-approved + WebFetch denied" });
29866
+ } else {
29867
+ results.push({
29868
+ name: `webkite: ${agent} scaffold`,
29869
+ status: "warn",
29870
+ detail: problems.join("; "),
29871
+ fix: "Run `switchroom apply` (or `switchroom agent restart <agent>`) to re-scaffold the webkite wiring."
29872
+ });
29873
+ }
29874
+ }
29875
+ return results;
29876
+ }
29877
+ var init_doctor_webkite = __esm(() => {
29878
+ init_loader();
29879
+ });
29880
+
29688
29881
  // src/cli/doctor-scaffold-wiring.ts
29689
- import { join as join45, resolve as resolve30 } from "node:path";
29882
+ import { join as join46, resolve as resolve30 } from "node:path";
29690
29883
  function readJson2(d, path4) {
29691
29884
  if (!d.existsSync(path4))
29692
29885
  return { kind: "absent" };
@@ -29729,8 +29922,8 @@ function checkIntegrationScaffoldWiring(args) {
29729
29922
  });
29730
29923
  continue;
29731
29924
  }
29732
- const mcpPath = join45(agentDir, ".mcp.json");
29733
- const claudeJsonPath = join45(agentDir, ".claude", ".claude.json");
29925
+ const mcpPath = join46(agentDir, ".mcp.json");
29926
+ const claudeJsonPath = join46(agentDir, ".claude", ".claude.json");
29734
29927
  const mcpRead = readJson2(deps, mcpPath);
29735
29928
  const trustRead = readJson2(deps, claudeJsonPath);
29736
29929
  if (mcpRead.kind === "unreadable" || trustRead.kind === "unreadable") {
@@ -29791,17 +29984,17 @@ var init_doctor_scaffold_wiring = () => {};
29791
29984
 
29792
29985
  // src/cli/doctor-microsoft.ts
29793
29986
  import {
29794
- existsSync as realExistsSync2,
29795
- readFileSync as realReadFileSync2
29987
+ existsSync as realExistsSync3,
29988
+ readFileSync as realReadFileSync3
29796
29989
  } from "node:fs";
29797
- import { join as join46 } from "node:path";
29798
- import { homedir as homedir25 } from "node:os";
29799
- function resolveDeps2(deps) {
29800
- const home2 = deps.homeDir?.() ?? homedir25();
29990
+ import { join as join47 } from "node:path";
29991
+ import { homedir as homedir26 } from "node:os";
29992
+ function resolveDeps3(deps) {
29993
+ const home2 = deps.homeDir?.() ?? homedir26();
29801
29994
  return {
29802
- existsSync: deps.existsSync ?? realExistsSync2,
29803
- readFileSync: deps.readFileSync ?? realReadFileSync2,
29804
- agentsDir: join46(home2, ".switchroom", "agents"),
29995
+ existsSync: deps.existsSync ?? realExistsSync3,
29996
+ readFileSync: deps.readFileSync ?? realReadFileSync3,
29997
+ agentsDir: join47(home2, ".switchroom", "agents"),
29805
29998
  now: deps.now ?? Date.now
29806
29999
  };
29807
30000
  }
@@ -29895,7 +30088,7 @@ function checkOAuthClient2(config, anyAgentEnabled) {
29895
30088
  ];
29896
30089
  }
29897
30090
  function readHeartbeat(d, agentName) {
29898
- const path4 = join46(d.agentsDir, agentName, "m365-launcher.heartbeat.json");
30091
+ const path4 = join47(d.agentsDir, agentName, "m365-launcher.heartbeat.json");
29899
30092
  if (!d.existsSync(path4)) {
29900
30093
  return { error: "heartbeat file missing \u2014 launcher has not yet started" };
29901
30094
  }
@@ -29964,7 +30157,7 @@ function runMicrosoftChecks(config, deps = {}) {
29964
30157
  if (!accountsConfigured && !anyAgentAccount && !config.microsoft_workspace) {
29965
30158
  return [];
29966
30159
  }
29967
- const d = resolveDeps2(deps);
30160
+ const d = resolveDeps3(deps);
29968
30161
  const results = [];
29969
30162
  results.push(...checkConfigMatrix2(config));
29970
30163
  const msAgents = computeMicrosoftEnabledAgents(config);
@@ -29988,19 +30181,19 @@ var init_doctor_microsoft = __esm(() => {
29988
30181
 
29989
30182
  // src/cli/doctor-notion.ts
29990
30183
  import {
29991
- existsSync as realExistsSync3,
29992
- readFileSync as realReadFileSync3,
30184
+ existsSync as realExistsSync4,
30185
+ readFileSync as realReadFileSync4,
29993
30186
  statSync as realStatSync
29994
30187
  } from "node:fs";
29995
- import { join as join47 } from "node:path";
29996
- import { homedir as homedir26 } from "node:os";
29997
- function resolveDeps3(deps) {
29998
- const home2 = deps.homeDir?.() ?? homedir26();
30188
+ import { join as join48 } from "node:path";
30189
+ import { homedir as homedir27 } from "node:os";
30190
+ function resolveDeps4(deps) {
30191
+ const home2 = deps.homeDir?.() ?? homedir27();
29999
30192
  return {
30000
- existsSync: deps.existsSync ?? realExistsSync3,
30001
- readFileSync: deps.readFileSync ?? realReadFileSync3,
30193
+ existsSync: deps.existsSync ?? realExistsSync4,
30194
+ readFileSync: deps.readFileSync ?? realReadFileSync4,
30002
30195
  statSync: deps.statSync ?? realStatSync,
30003
- agentsDir: join47(home2, ".switchroom", "agents"),
30196
+ agentsDir: join48(home2, ".switchroom", "agents"),
30004
30197
  now: deps.now ?? Date.now,
30005
30198
  vaultAclReader: deps.vaultAclReader ?? (async () => ({ kind: "unreachable", msg: "no default reader wired" }))
30006
30199
  };
@@ -30125,7 +30318,7 @@ function checkLauncherHeartbeat2(notionAgents, d) {
30125
30318
  return [];
30126
30319
  const results = [];
30127
30320
  for (const name of notionAgents) {
30128
- const heartbeatPath = join47(d.agentsDir, name, "notion-launcher.heartbeat.json");
30321
+ const heartbeatPath = join48(d.agentsDir, name, "notion-launcher.heartbeat.json");
30129
30322
  if (!d.existsSync(heartbeatPath)) {
30130
30323
  results.push({
30131
30324
  name: `notion:launcher-heartbeat:${name}`,
@@ -30169,7 +30362,7 @@ async function runNotionChecks(config, deps = {}) {
30169
30362
  if (notionAgents.length === 0 && !config.notion_workspace) {
30170
30363
  return [];
30171
30364
  }
30172
- const d = resolveDeps3(deps);
30365
+ const d = resolveDeps4(deps);
30173
30366
  const results = [];
30174
30367
  results.push(...checkConfigMatrix3(config));
30175
30368
  if (notionAgents.length > 0 && config.notion_workspace) {
@@ -30196,16 +30389,16 @@ var init_doctor_notion = __esm(() => {
30196
30389
 
30197
30390
  // src/cli/doctor-credentials-migration.ts
30198
30391
  import {
30199
- existsSync as realExistsSync4,
30200
- readdirSync as realReaddirSync,
30392
+ existsSync as realExistsSync5,
30393
+ readdirSync as realReaddirSync2,
30201
30394
  statSync as realStatSync2
30202
30395
  } from "node:fs";
30203
- import { homedir as homedir27 } from "node:os";
30204
- import { join as join48 } from "node:path";
30396
+ import { homedir as homedir28 } from "node:os";
30397
+ import { join as join49 } from "node:path";
30205
30398
  function runCredentialsMigrationChecks(config, deps = {}) {
30206
- const credDir = deps.credentialsDir ?? join48(homedir27(), ".switchroom", "credentials");
30207
- const existsSync49 = deps.existsSync ?? ((p) => realExistsSync4(p));
30208
- const readdirSync19 = deps.readdirSync ?? ((p) => realReaddirSync(p));
30399
+ const credDir = deps.credentialsDir ?? join49(homedir28(), ".switchroom", "credentials");
30400
+ const existsSync49 = deps.existsSync ?? ((p) => realExistsSync5(p));
30401
+ const readdirSync19 = deps.readdirSync ?? ((p) => realReaddirSync2(p));
30209
30402
  const isDirectory = deps.isDirectory ?? ((p) => {
30210
30403
  try {
30211
30404
  return realStatSync2(p).isDirectory();
@@ -30231,7 +30424,7 @@ function runCredentialsMigrationChecks(config, deps = {}) {
30231
30424
  const flat = [];
30232
30425
  const perAgentDirs = [];
30233
30426
  for (const e of entries) {
30234
- const full = join48(credDir, e);
30427
+ const full = join49(credDir, e);
30235
30428
  if (isDirectory(full) && agentNames.has(e)) {
30236
30429
  perAgentDirs.push(e);
30237
30430
  } else {
@@ -30354,19 +30547,19 @@ var init_doctor_inlined_secrets = __esm(() => {
30354
30547
 
30355
30548
  // src/cli/doctor-audit-integrity.ts
30356
30549
  import { readFileSync as fsReadFileSync2 } from "node:fs";
30357
- import { homedir as homedir28 } from "node:os";
30358
- import { join as join49 } from "node:path";
30550
+ import { homedir as homedir29 } from "node:os";
30551
+ import { join as join50 } from "node:path";
30359
30552
  function rootWrittenLogs(home2) {
30360
30553
  return [
30361
- { label: "vault-broker", path: join49(home2, ".switchroom", "vault-audit.log") },
30554
+ { label: "vault-broker", path: join50(home2, ".switchroom", "vault-audit.log") },
30362
30555
  {
30363
30556
  label: "hostd",
30364
- path: join49(home2, ".switchroom", "host-control-audit.log")
30557
+ path: join50(home2, ".switchroom", "host-control-audit.log")
30365
30558
  }
30366
30559
  ];
30367
30560
  }
30368
30561
  function runAuditIntegrityChecks(deps = {}) {
30369
- const home2 = deps.homeDir ?? homedir28();
30562
+ const home2 = deps.homeDir ?? homedir29();
30370
30563
  const read = deps.readFileSync ?? ((p) => fsReadFileSync2(p, "utf8"));
30371
30564
  const results = [];
30372
30565
  for (const { label, path: path4 } of rootWrittenLogs(home2)) {
@@ -30504,14 +30697,14 @@ var init_client4 = __esm(() => {
30504
30697
 
30505
30698
  // src/cli/doctor-agent-smoke.ts
30506
30699
  import { existsSync as existsSync49 } from "node:fs";
30507
- import { homedir as homedir29 } from "node:os";
30508
- import { join as join50 } from "node:path";
30700
+ import { homedir as homedir30 } from "node:os";
30701
+ import { join as join51 } from "node:path";
30509
30702
  import { randomUUID as randomUUID4 } from "node:crypto";
30510
30703
  async function runAgentSmokeChecks(config, deps = {}) {
30511
30704
  if (deps.fast)
30512
30705
  return [];
30513
- const home2 = deps.homeDir ?? homedir29();
30514
- const sock = deps.operatorSockPath ?? join50(home2, ".switchroom", "hostd", "operator", "sock");
30706
+ const home2 = deps.homeDir ?? homedir30();
30707
+ const sock = deps.operatorSockPath ?? join51(home2, ".switchroom", "hostd", "operator", "sock");
30515
30708
  if (!deps.hostdRequestImpl && !existsSync49(sock)) {
30516
30709
  return [
30517
30710
  {
@@ -30591,8 +30784,8 @@ var init_doctor_agent_smoke = __esm(() => {
30591
30784
  // src/cli/doctor-vault-broker-durability.ts
30592
30785
  import { execFileSync as execFileSync14 } from "node:child_process";
30593
30786
  import { existsSync as existsSync50, statSync as statSync22 } from "node:fs";
30594
- import { homedir as homedir30 } from "node:os";
30595
- import { join as join51 } from "node:path";
30787
+ import { homedir as homedir31 } from "node:os";
30788
+ import { join as join52 } from "node:path";
30596
30789
  function probeBindMountInode(hostPath, brokerContainerPath, opts) {
30597
30790
  const statHost = opts?.statHost ?? defaultStatHost;
30598
30791
  const statBroker = opts?.statBroker ?? defaultStatBroker;
@@ -30732,19 +30925,19 @@ function defaultBrokerStatusProbe() {
30732
30925
  }
30733
30926
  }
30734
30927
  function runVaultBrokerDurabilityChecks(_config, opts) {
30735
- const home2 = homedir30();
30928
+ const home2 = homedir31();
30736
30929
  const probe2 = opts?.inodeProbe ?? probeBindMountInode;
30737
30930
  return [
30738
30931
  probeBrokerUnlocked(opts?.statusProbe),
30739
30932
  probeAutoUnlockBlob(home2),
30740
30933
  probeMachineIdMount(),
30741
- formatBindMountResult("vault-broker: vault.enc bind mount", join51(home2, ".switchroom", "vault", "vault.enc"), "/state/vault/vault.enc", probe2(join51(home2, ".switchroom", "vault", "vault.enc"), "/state/vault/vault.enc")),
30742
- formatBindMountResult("vault-broker: vault-grants.db bind mount (#1737)", join51(home2, ".switchroom", "vault-grants.db"), "/root/.switchroom/vault-grants.db", probe2(join51(home2, ".switchroom", "vault-grants.db"), "/root/.switchroom/vault-grants.db")),
30743
- formatBindMountResult("vault-broker: vault-audit.log bind mount (#1025)", join51(home2, ".switchroom", "vault-audit.log"), "/root/.switchroom/vault-audit.log", probe2(join51(home2, ".switchroom", "vault-audit.log"), "/root/.switchroom/vault-audit.log"))
30934
+ formatBindMountResult("vault-broker: vault.enc bind mount", join52(home2, ".switchroom", "vault", "vault.enc"), "/state/vault/vault.enc", probe2(join52(home2, ".switchroom", "vault", "vault.enc"), "/state/vault/vault.enc")),
30935
+ formatBindMountResult("vault-broker: vault-grants.db bind mount (#1737)", join52(home2, ".switchroom", "vault-grants.db"), "/root/.switchroom/vault-grants.db", probe2(join52(home2, ".switchroom", "vault-grants.db"), "/root/.switchroom/vault-grants.db")),
30936
+ formatBindMountResult("vault-broker: vault-audit.log bind mount (#1025)", join52(home2, ".switchroom", "vault-audit.log"), "/root/.switchroom/vault-audit.log", probe2(join52(home2, ".switchroom", "vault-audit.log"), "/root/.switchroom/vault-audit.log"))
30744
30937
  ];
30745
30938
  }
30746
30939
  function probeAutoUnlockBlob(home2) {
30747
- const blobPath = join51(home2, ".switchroom", "vault-auto-unlock");
30940
+ const blobPath = join52(home2, ".switchroom", "vault-auto-unlock");
30748
30941
  if (!existsSync50(blobPath)) {
30749
30942
  return {
30750
30943
  name: "vault-broker: auto-unlock blob",
@@ -30855,16 +31048,16 @@ import {
30855
31048
  readdirSync as readdirSync19,
30856
31049
  statSync as statSync23
30857
31050
  } from "node:fs";
30858
- import { dirname as dirname12, join as join52, resolve as resolve31 } from "node:path";
31051
+ import { dirname as dirname12, join as join53, resolve as resolve31 } from "node:path";
30859
31052
  import { createPublicKey, createPrivateKey } from "node:crypto";
30860
31053
  function findInNvm(bin) {
30861
- const nvmRoot = join52(process.env.HOME ?? "", ".nvm", "versions", "node");
31054
+ const nvmRoot = join53(process.env.HOME ?? "", ".nvm", "versions", "node");
30862
31055
  if (!existsSync51(nvmRoot))
30863
31056
  return null;
30864
31057
  try {
30865
31058
  const versions = readdirSync19(nvmRoot).sort().reverse();
30866
31059
  for (const v of versions) {
30867
- const candidate = join52(nvmRoot, v, "bin", bin);
31060
+ const candidate = join53(nvmRoot, v, "bin", bin);
30868
31061
  try {
30869
31062
  const s = statSync23(candidate);
30870
31063
  if (s.isFile() || s.isSymbolicLink()) {
@@ -31029,7 +31222,7 @@ function findChromium(homeDir = process.env.HOME ?? "", envBrowsersPath = proces
31029
31222
  if (envBrowsersPath && envBrowsersPath.length > 0) {
31030
31223
  cacheLocations.push(envBrowsersPath);
31031
31224
  }
31032
- cacheLocations.push(join52(homeDir, ".cache", "ms-playwright"));
31225
+ cacheLocations.push(join53(homeDir, ".cache", "ms-playwright"));
31033
31226
  for (const cacheDir of cacheLocations) {
31034
31227
  if (!existsSync51(cacheDir))
31035
31228
  continue;
@@ -31037,10 +31230,10 @@ function findChromium(homeDir = process.env.HOME ?? "", envBrowsersPath = proces
31037
31230
  const entries = readdirSync19(cacheDir).filter((e) => e.startsWith("chromium"));
31038
31231
  for (const entry of entries) {
31039
31232
  const candidates2 = [
31040
- join52(cacheDir, entry, "chrome-linux64", "chrome"),
31041
- join52(cacheDir, entry, "chrome-linux", "chrome"),
31042
- join52(cacheDir, entry, "chrome-linux64", "headless_shell"),
31043
- join52(cacheDir, entry, "chrome-linux", "headless_shell")
31233
+ join53(cacheDir, entry, "chrome-linux64", "chrome"),
31234
+ join53(cacheDir, entry, "chrome-linux", "chrome"),
31235
+ join53(cacheDir, entry, "chrome-linux64", "headless_shell"),
31236
+ join53(cacheDir, entry, "chrome-linux", "headless_shell")
31044
31237
  ];
31045
31238
  for (const path4 of candidates2) {
31046
31239
  if (existsSync51(path4))
@@ -31150,7 +31343,7 @@ function checkUserDeclaredMcps(name, agentConfig, config, renderedMcpServers) {
31150
31343
  function checkLegacyState() {
31151
31344
  const results = [];
31152
31345
  const h = process.env.HOME ?? "/root";
31153
- const clerkDir = join52(h, LEGACY_STATE_DIR);
31346
+ const clerkDir = join53(h, LEGACY_STATE_DIR);
31154
31347
  const clerkPresent = existsSync51(clerkDir);
31155
31348
  results.push({
31156
31349
  name: "legacy ~/.clerk state",
@@ -31160,7 +31353,7 @@ function checkLegacyState() {
31160
31353
  fix: "Legacy state detected. Run `mv ~/.clerk ~/.switchroom` and rename " + "any top-level `clerk:` key in switchroom.yaml to `switchroom:`. " + "This back-compat shim is REMOVED in v0.13.0 \u2014 no automatic " + "migration exists."
31161
31354
  } : {}
31162
31355
  });
31163
- const legacySock = join52(h, ".switchroom", "vault-broker.sock");
31356
+ const legacySock = join53(h, ".switchroom", "vault-broker.sock");
31164
31357
  let sockStat = null;
31165
31358
  try {
31166
31359
  sockStat = lstatSync5(legacySock);
@@ -31456,7 +31649,7 @@ async function checkHindsight(config) {
31456
31649
  }
31457
31650
  function checkPendingRetainsQueue(dir) {
31458
31651
  const home2 = process.env.HOME ?? "";
31459
- const pendingDir = dir ?? process.env.HINDSIGHT_PENDING_DIR ?? join52(home2, ".hindsight", "pending-retains");
31652
+ const pendingDir = dir ?? process.env.HINDSIGHT_PENDING_DIR ?? join53(home2, ".hindsight", "pending-retains");
31460
31653
  if (!existsSync51(pendingDir)) {
31461
31654
  return {
31462
31655
  name: "pending-retains queue",
@@ -31587,7 +31780,7 @@ async function checkTelegram(config) {
31587
31780
  const plugin = agentConfig.channels?.telegram?.plugin ?? "switchroom";
31588
31781
  if (plugin !== "switchroom")
31589
31782
  continue;
31590
- const envPath = join52(agentsDir, name, "telegram", ".env");
31783
+ const envPath = join53(agentsDir, name, "telegram", ".env");
31591
31784
  const read = tryReadHostFile(envPath);
31592
31785
  if (read.kind === "eacces") {
31593
31786
  results.push({
@@ -31670,7 +31863,7 @@ function checkStartShStale(agentName, startShPath) {
31670
31863
  }
31671
31864
  function checkLeakedHomeSwitchroom(agentName, agentDir) {
31672
31865
  const label = `${agentName}: $HOME/.switchroom symlink (#910)`;
31673
- const path4 = join52(agentDir, "home", ".switchroom");
31866
+ const path4 = join53(agentDir, "home", ".switchroom");
31674
31867
  let stats;
31675
31868
  try {
31676
31869
  stats = lstatSync5(path4);
@@ -31707,7 +31900,7 @@ function checkLeakedHomeSwitchroom(agentName, agentDir) {
31707
31900
  }
31708
31901
  function checkRepoHygiene(repoRoot) {
31709
31902
  const results = [];
31710
- const exportDir = join52(repoRoot, "clerk-export");
31903
+ const exportDir = join53(repoRoot, "clerk-export");
31711
31904
  if (existsSync51(exportDir)) {
31712
31905
  results.push({
31713
31906
  name: "repo hygiene: clerk-export/ on disk (#1072)",
@@ -31716,7 +31909,7 @@ function checkRepoHygiene(repoRoot) {
31716
31909
  fix: `Run scripts/migrate-clerk-export-to-vault.sh to move the bundle ` + `into the vault, then delete the on-disk copy.`
31717
31910
  });
31718
31911
  }
31719
- const knownTarball = join52(repoRoot, "clerk-export-with-secrets.tar.gz");
31912
+ const knownTarball = join53(repoRoot, "clerk-export-with-secrets.tar.gz");
31720
31913
  if (existsSync51(knownTarball)) {
31721
31914
  results.push({
31722
31915
  name: "repo hygiene: clerk-export-with-secrets.tar.gz on disk (#1072)",
@@ -31734,7 +31927,7 @@ function checkRepoHygiene(repoRoot) {
31734
31927
  results.push({
31735
31928
  name: `repo hygiene: ${name} on disk (#1072)`,
31736
31929
  status: "warn",
31737
- detail: `${join52(repoRoot, name)} matches the *-with-secrets*.tar.gz ` + `pattern. Likely contains real credentials.`,
31930
+ detail: `${join53(repoRoot, name)} matches the *-with-secrets*.tar.gz ` + `pattern. Likely contains real credentials.`,
31738
31931
  fix: `Inspect, migrate any secrets into the vault, then delete the ` + `archive.`
31739
31932
  });
31740
31933
  }
@@ -31757,9 +31950,9 @@ function checkRepoHygiene(repoRoot) {
31757
31950
  }
31758
31951
  function isSwitchroomCheckout(dir) {
31759
31952
  try {
31760
- if (!existsSync51(join52(dir, ".git")))
31953
+ if (!existsSync51(join53(dir, ".git")))
31761
31954
  return false;
31762
- const pkgPath = join52(dir, "package.json");
31955
+ const pkgPath = join53(dir, "package.json");
31763
31956
  if (!existsSync51(pkgPath))
31764
31957
  return false;
31765
31958
  const pkg = JSON.parse(readFileSync46(pkgPath, "utf-8"));
@@ -31796,7 +31989,7 @@ function checkAgents(config, configPath) {
31796
31989
  fix: `Rotate the bot token (e.g. via \`switchroom vault\`), then run ` + `\`switchroom agent unquarantine ${name}\` and \`switchroom agent restart ${name}\``
31797
31990
  });
31798
31991
  }
31799
- results.push(checkStartShStale(name, join52(agentDir, "start.sh")));
31992
+ results.push(checkStartShStale(name, join53(agentDir, "start.sh")));
31800
31993
  results.push(checkLeakedHomeSwitchroom(name, agentDir));
31801
31994
  const status = statuses[name];
31802
31995
  const active = status?.active ?? "unknown";
@@ -31873,7 +32066,7 @@ function checkAgents(config, configPath) {
31873
32066
  }
31874
32067
  }
31875
32068
  if (agentConfig.channels?.telegram?.plugin === "switchroom") {
31876
- const mcpJsonPath = join52(agentDir, ".mcp.json");
32069
+ const mcpJsonPath = join53(agentDir, ".mcp.json");
31877
32070
  if (!existsSync51(mcpJsonPath)) {
31878
32071
  results.push({
31879
32072
  name: `${name}: .mcp.json`,
@@ -32175,7 +32368,7 @@ async function checkMffAuthFlow(envPath = mffEnvPath(), timeoutMs = 8000) {
32175
32368
  };
32176
32369
  }
32177
32370
  const credDir = dirname12(envPath);
32178
- const authScript = join52(credDir, "claude-auth.py");
32371
+ const authScript = join53(credDir, "claude-auth.py");
32179
32372
  if (!existsSync51(authScript)) {
32180
32373
  return {
32181
32374
  name: "mff: auth flow",
@@ -32504,7 +32697,8 @@ function registerDoctorCommand(program3) {
32504
32697
  }
32505
32698
  })
32506
32699
  },
32507
- { title: "MFF Skill", results: await checkMff(passphrase, vaultPath, config) }
32700
+ { title: "MFF Skill", results: await checkMff(passphrase, vaultPath, config) },
32701
+ { title: "Webkite", results: runWebkiteChecks(config) }
32508
32702
  ];
32509
32703
  const cwd = process.cwd();
32510
32704
  if (isSwitchroomCheckout(cwd)) {
@@ -32563,6 +32757,7 @@ var init_doctor = __esm(() => {
32563
32757
  init_doctor_auth_broker();
32564
32758
  init_doctor_hostd();
32565
32759
  init_doctor_drive();
32760
+ init_doctor_webkite();
32566
32761
  init_doctor_microsoft();
32567
32762
  init_doctor_notion();
32568
32763
  init_doctor_credentials_migration();
@@ -32619,7 +32814,7 @@ function deriveSlug(inputs, existing) {
32619
32814
  return `${base}_${n}`;
32620
32815
  }
32621
32816
 
32622
- // ../switchroom-sec-1417/node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
32817
+ // node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
32623
32818
  var require_lib2 = __commonJS((exports2) => {
32624
32819
  Object.defineProperty(exports2, "__esModule", { value: true });
32625
32820
  exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
@@ -32666,7 +32861,7 @@ var require_lib2 = __commonJS((exports2) => {
32666
32861
  exports2.binarySearch = binarySearch;
32667
32862
  });
32668
32863
 
32669
- // ../switchroom-sec-1417/node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
32864
+ // node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
32670
32865
  var require_structured_source = __commonJS((exports2) => {
32671
32866
  Object.defineProperty(exports2, "__esModule", { value: true });
32672
32867
  exports2.StructuredSource = undefined;
@@ -32721,13 +32916,13 @@ var require_structured_source = __commonJS((exports2) => {
32721
32916
  }
32722
32917
  exports2.StructuredSource = StructuredSource;
32723
32918
  });
32724
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
32919
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
32725
32920
  var import_structured_source;
32726
32921
  var init_SecretLintSourceCodeImpl = __esm(() => {
32727
32922
  import_structured_source = __toESM(require_structured_source(), 1);
32728
32923
  });
32729
32924
 
32730
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
32925
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
32731
32926
  class EventEmitter {
32732
32927
  #listeners = new Map;
32733
32928
  on(type, listener) {
@@ -32766,9 +32961,9 @@ class EventEmitter {
32766
32961
  return Array.from(this.#listeners.get(type) ?? []);
32767
32962
  }
32768
32963
  }
32769
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
32964
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
32770
32965
  var init_RuleContext = () => {};
32771
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
32966
+ // node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
32772
32967
  class SecretLintProfiler {
32773
32968
  perf;
32774
32969
  entries = [];
@@ -32825,7 +33020,7 @@ class SecretLintProfiler {
32825
33020
  }
32826
33021
  }
32827
33022
 
32828
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
33023
+ // node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
32829
33024
  import perf_hooks from "node:perf_hooks";
32830
33025
 
32831
33026
  class NullPerformanceObserver {
@@ -32840,19 +33035,19 @@ var init_node = __esm(() => {
32840
33035
  });
32841
33036
  });
32842
33037
 
32843
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
33038
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
32844
33039
  var init_RunningEvents = __esm(() => {
32845
33040
  init_node();
32846
33041
  });
32847
33042
 
32848
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
33043
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
32849
33044
  var init_RulePresetContext = __esm(() => {
32850
33045
  init_RuleContext();
32851
33046
  });
32852
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
33047
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
32853
33048
  var init_messages = () => {};
32854
33049
 
32855
- // ../switchroom-sec-1417/node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
33050
+ // node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
32856
33051
  var require_ms = __commonJS((exports2, module) => {
32857
33052
  var s = 1000;
32858
33053
  var m = s * 60;
@@ -32962,7 +33157,7 @@ var require_ms = __commonJS((exports2, module) => {
32962
33157
  }
32963
33158
  });
32964
33159
 
32965
- // ../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
33160
+ // node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
32966
33161
  var require_common = __commonJS((exports2, module) => {
32967
33162
  function setup(env2) {
32968
33163
  createDebug.debug = createDebug;
@@ -33137,7 +33332,7 @@ var require_common = __commonJS((exports2, module) => {
33137
33332
  module.exports = setup;
33138
33333
  });
33139
33334
 
33140
- // ../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
33335
+ // node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
33141
33336
  var require_browser = __commonJS((exports2, module) => {
33142
33337
  exports2.formatArgs = formatArgs;
33143
33338
  exports2.save = save;
@@ -33297,7 +33492,7 @@ var require_browser = __commonJS((exports2, module) => {
33297
33492
  };
33298
33493
  });
33299
33494
 
33300
- // ../switchroom-sec-1417/node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
33495
+ // node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
33301
33496
  var require_has_flag = __commonJS((exports2, module) => {
33302
33497
  module.exports = (flag, argv = process.argv) => {
33303
33498
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -33307,7 +33502,7 @@ var require_has_flag = __commonJS((exports2, module) => {
33307
33502
  };
33308
33503
  });
33309
33504
 
33310
- // ../switchroom-sec-1417/node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
33505
+ // node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
33311
33506
  var require_supports_color = __commonJS((exports2, module) => {
33312
33507
  var os5 = __require("os");
33313
33508
  var tty2 = __require("tty");
@@ -33406,7 +33601,7 @@ var require_supports_color = __commonJS((exports2, module) => {
33406
33601
  };
33407
33602
  });
33408
33603
 
33409
- // ../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
33604
+ // node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
33410
33605
  var require_node = __commonJS((exports2, module) => {
33411
33606
  var tty2 = __require("tty");
33412
33607
  var util3 = __require("util");
@@ -33577,7 +33772,7 @@ var require_node = __commonJS((exports2, module) => {
33577
33772
  };
33578
33773
  });
33579
33774
 
33580
- // ../switchroom-sec-1417/node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
33775
+ // node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
33581
33776
  var require_src = __commonJS((exports2, module) => {
33582
33777
  if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
33583
33778
  module.exports = require_browser();
@@ -33586,7 +33781,7 @@ var require_src = __commonJS((exports2, module) => {
33586
33781
  }
33587
33782
  });
33588
33783
 
33589
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
33784
+ // node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
33590
33785
  var import_debug, debug;
33591
33786
  var init_module = __esm(() => {
33592
33787
  init_SecretLintSourceCodeImpl();
@@ -33599,7 +33794,7 @@ var init_module = __esm(() => {
33599
33794
  debug = import_debug.default("@secretlint/core");
33600
33795
  });
33601
33796
 
33602
- // ../switchroom-sec-1417/node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
33797
+ // node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
33603
33798
  function requireLodash_uniq() {
33604
33799
  if (hasRequiredLodash_uniq)
33605
33800
  return lodash_uniq;
@@ -35282,7 +35477,7 @@ var init_secretlint_source = __esm(() => {
35282
35477
  init_suppressor();
35283
35478
  });
35284
35479
 
35285
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
35480
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
35286
35481
  function $constructor(name, initializer, params) {
35287
35482
  function init(inst, def) {
35288
35483
  var _a;
@@ -35345,7 +35540,7 @@ var init_core = __esm(() => {
35345
35540
  globalConfig = {};
35346
35541
  });
35347
35542
 
35348
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
35543
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
35349
35544
  var exports_util = {};
35350
35545
  __export(exports_util, {
35351
35546
  unwrapMessage: () => unwrapMessage,
@@ -35861,7 +36056,7 @@ var init_util2 = __esm(() => {
35861
36056
  };
35862
36057
  });
35863
36058
 
35864
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
36059
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
35865
36060
  function flattenError(error, mapper = (issue2) => issue2.message) {
35866
36061
  const fieldErrors = {};
35867
36062
  const formErrors = [];
@@ -35939,7 +36134,7 @@ var init_errors2 = __esm(() => {
35939
36134
  $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
35940
36135
  });
35941
36136
 
35942
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
36137
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
35943
36138
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
35944
36139
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
35945
36140
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -35991,7 +36186,7 @@ var init_parse = __esm(() => {
35991
36186
  safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
35992
36187
  });
35993
36188
 
35994
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
36189
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
35995
36190
  function emoji() {
35996
36191
  return new RegExp(_emoji, "u");
35997
36192
  }
@@ -36048,7 +36243,7 @@ var init_regexes = __esm(() => {
36048
36243
  uppercase = /^[^a-z]*$/;
36049
36244
  });
36050
36245
 
36051
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
36246
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
36052
36247
  var $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckOverwrite;
36053
36248
  var init_checks = __esm(() => {
36054
36249
  init_core();
@@ -36438,7 +36633,7 @@ var init_checks = __esm(() => {
36438
36633
  });
36439
36634
  });
36440
36635
 
36441
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
36636
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
36442
36637
  class Doc {
36443
36638
  constructor(args = []) {
36444
36639
  this.content = [];
@@ -36476,7 +36671,7 @@ class Doc {
36476
36671
  }
36477
36672
  }
36478
36673
 
36479
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
36674
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
36480
36675
  var version2;
36481
36676
  var init_versions = __esm(() => {
36482
36677
  version2 = {
@@ -36486,7 +36681,7 @@ var init_versions = __esm(() => {
36486
36681
  };
36487
36682
  });
36488
36683
 
36489
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
36684
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
36490
36685
  function isValidBase64(data) {
36491
36686
  if (data === "")
36492
36687
  return true;
@@ -37728,7 +37923,7 @@ var init_schemas = __esm(() => {
37728
37923
  });
37729
37924
  });
37730
37925
 
37731
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
37926
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
37732
37927
  function en_default2() {
37733
37928
  return {
37734
37929
  localeError: error()
@@ -37848,10 +38043,10 @@ var init_en2 = __esm(() => {
37848
38043
  init_util2();
37849
38044
  });
37850
38045
 
37851
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
38046
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
37852
38047
  var init_locales = () => {};
37853
38048
 
37854
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
38049
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
37855
38050
  class $ZodRegistry {
37856
38051
  constructor() {
37857
38052
  this._map = new Map;
@@ -37904,7 +38099,7 @@ var init_registries = __esm(() => {
37904
38099
  globalRegistry = /* @__PURE__ */ registry();
37905
38100
  });
37906
38101
 
37907
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
38102
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
37908
38103
  function _string(Class2, params) {
37909
38104
  return new Class2({
37910
38105
  type: "string",
@@ -38344,16 +38539,16 @@ var init_api = __esm(() => {
38344
38539
  init_util2();
38345
38540
  });
38346
38541
 
38347
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
38542
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
38348
38543
  var init_function = () => {};
38349
38544
 
38350
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
38545
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
38351
38546
  var init_to_json_schema = () => {};
38352
38547
 
38353
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
38548
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
38354
38549
  var init_json_schema = () => {};
38355
38550
 
38356
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
38551
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
38357
38552
  var init_core2 = __esm(() => {
38358
38553
  init_util2();
38359
38554
  init_regexes();
@@ -38371,24 +38566,24 @@ var init_core2 = __esm(() => {
38371
38566
  init_to_json_schema();
38372
38567
  });
38373
38568
 
38374
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/parse.js
38569
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/parse.js
38375
38570
  var init_parse2 = __esm(() => {
38376
38571
  init_core2();
38377
38572
  });
38378
38573
 
38379
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
38574
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
38380
38575
  var init_schemas2 = () => {};
38381
38576
 
38382
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/checks.js
38577
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/checks.js
38383
38578
  var init_checks2 = () => {};
38384
38579
 
38385
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/iso.js
38580
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/iso.js
38386
38581
  var init_iso = () => {};
38387
38582
 
38388
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/coerce.js
38583
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/coerce.js
38389
38584
  var init_coerce = () => {};
38390
38585
 
38391
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/external.js
38586
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/external.js
38392
38587
  var init_external2 = __esm(() => {
38393
38588
  init_core2();
38394
38589
  init_locales();
@@ -38399,17 +38594,17 @@ var init_external2 = __esm(() => {
38399
38594
  init_checks2();
38400
38595
  });
38401
38596
 
38402
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/index.js
38597
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/index.js
38403
38598
  var init_mini = __esm(() => {
38404
38599
  init_external2();
38405
38600
  });
38406
38601
 
38407
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4-mini/index.js
38602
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4-mini/index.js
38408
38603
  var init_v4_mini = __esm(() => {
38409
38604
  init_mini();
38410
38605
  });
38411
38606
 
38412
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
38607
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
38413
38608
  function isZ4Schema(s) {
38414
38609
  const schema = s;
38415
38610
  return !!schema._zod;
@@ -38475,12 +38670,12 @@ var init_zod_compat = __esm(() => {
38475
38670
  init_v4_mini();
38476
38671
  });
38477
38672
 
38478
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/checks.js
38673
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/checks.js
38479
38674
  var init_checks3 = __esm(() => {
38480
38675
  init_core2();
38481
38676
  });
38482
38677
 
38483
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
38678
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
38484
38679
  var exports_iso2 = {};
38485
38680
  __export(exports_iso2, {
38486
38681
  time: () => time2,
@@ -38526,7 +38721,7 @@ var init_iso2 = __esm(() => {
38526
38721
  });
38527
38722
  });
38528
38723
 
38529
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
38724
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
38530
38725
  var initializer2 = (inst, issues) => {
38531
38726
  $ZodError.init(inst, issues);
38532
38727
  inst.name = "ZodError";
@@ -38559,7 +38754,7 @@ var init_errors3 = __esm(() => {
38559
38754
  });
38560
38755
  });
38561
38756
 
38562
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
38757
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
38563
38758
  var parse4, parseAsync2, safeParse3, safeParseAsync2;
38564
38759
  var init_parse3 = __esm(() => {
38565
38760
  init_core2();
@@ -38570,7 +38765,7 @@ var init_parse3 = __esm(() => {
38570
38765
  safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
38571
38766
  });
38572
38767
 
38573
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
38768
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
38574
38769
  function string2(params) {
38575
38770
  return _string(ZodString2, params);
38576
38771
  }
@@ -39184,13 +39379,13 @@ var init_schemas3 = __esm(() => {
39184
39379
  });
39185
39380
  });
39186
39381
 
39187
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
39382
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
39188
39383
  var init_compat = () => {};
39189
39384
 
39190
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
39385
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
39191
39386
  var init_coerce2 = () => {};
39192
39387
 
39193
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
39388
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
39194
39389
  var init_external3 = __esm(() => {
39195
39390
  init_core2();
39196
39391
  init_core2();
@@ -39206,17 +39401,17 @@ var init_external3 = __esm(() => {
39206
39401
  config(en_default2());
39207
39402
  });
39208
39403
 
39209
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/index.js
39404
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/index.js
39210
39405
  var init_classic = __esm(() => {
39211
39406
  init_external3();
39212
39407
  });
39213
39408
 
39214
- // ../switchroom-sec-1417/node_modules/.bun/zod@3.25.76/node_modules/zod/v4/index.js
39409
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/index.js
39215
39410
  var init_v4 = __esm(() => {
39216
39411
  init_classic();
39217
39412
  });
39218
39413
 
39219
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
39414
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
39220
39415
  var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema4, NotificationsParamsSchema, NotificationSchema, ResultSchema2, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode2, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
39221
39416
  var init_types2 = __esm(() => {
39222
39417
  init_v4();
@@ -40044,65 +40239,65 @@ var init_types2 = __esm(() => {
40044
40239
  };
40045
40240
  });
40046
40241
 
40047
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
40242
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
40048
40243
  function isTerminal(status) {
40049
40244
  return status === "completed" || status === "failed" || status === "cancelled";
40050
40245
  }
40051
40246
 
40052
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
40247
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
40053
40248
  var ignoreOverride;
40054
40249
  var init_Options = __esm(() => {
40055
40250
  ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
40056
40251
  });
40057
40252
 
40058
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
40253
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
40059
40254
  var init_Refs = __esm(() => {
40060
40255
  init_Options();
40061
40256
  });
40062
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
40257
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
40063
40258
  var init_any = () => {};
40064
40259
 
40065
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
40260
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
40066
40261
  var init_array = __esm(() => {
40067
40262
  init_parseDef();
40068
40263
  });
40069
40264
 
40070
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
40265
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
40071
40266
  var init_bigint = () => {};
40072
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
40267
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
40073
40268
  var init_branded = __esm(() => {
40074
40269
  init_parseDef();
40075
40270
  });
40076
40271
 
40077
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
40272
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
40078
40273
  var init_catch = __esm(() => {
40079
40274
  init_parseDef();
40080
40275
  });
40081
40276
 
40082
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
40277
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
40083
40278
  var init_date = () => {};
40084
40279
 
40085
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
40280
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
40086
40281
  var init_default = __esm(() => {
40087
40282
  init_parseDef();
40088
40283
  });
40089
40284
 
40090
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
40285
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
40091
40286
  var init_effects = __esm(() => {
40092
40287
  init_parseDef();
40093
40288
  init_any();
40094
40289
  });
40095
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
40290
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
40096
40291
  var init_intersection = __esm(() => {
40097
40292
  init_parseDef();
40098
40293
  });
40099
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
40294
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
40100
40295
  var ALPHA_NUMERIC;
40101
40296
  var init_string = __esm(() => {
40102
40297
  ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
40103
40298
  });
40104
40299
 
40105
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
40300
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
40106
40301
  var init_record = __esm(() => {
40107
40302
  init_parseDef();
40108
40303
  init_string();
@@ -40110,77 +40305,77 @@ var init_record = __esm(() => {
40110
40305
  init_any();
40111
40306
  });
40112
40307
 
40113
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
40308
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
40114
40309
  var init_map = __esm(() => {
40115
40310
  init_parseDef();
40116
40311
  init_record();
40117
40312
  init_any();
40118
40313
  });
40119
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
40314
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
40120
40315
  var init_never = __esm(() => {
40121
40316
  init_any();
40122
40317
  });
40123
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
40318
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
40124
40319
  var init_union = __esm(() => {
40125
40320
  init_parseDef();
40126
40321
  });
40127
40322
 
40128
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
40323
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
40129
40324
  var init_nullable = __esm(() => {
40130
40325
  init_parseDef();
40131
40326
  init_union();
40132
40327
  });
40133
40328
 
40134
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
40329
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
40135
40330
  var init_number = () => {};
40136
40331
 
40137
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
40332
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
40138
40333
  var init_object = __esm(() => {
40139
40334
  init_parseDef();
40140
40335
  });
40141
40336
 
40142
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
40337
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
40143
40338
  var init_optional = __esm(() => {
40144
40339
  init_parseDef();
40145
40340
  init_any();
40146
40341
  });
40147
40342
 
40148
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
40343
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
40149
40344
  var init_pipeline = __esm(() => {
40150
40345
  init_parseDef();
40151
40346
  });
40152
40347
 
40153
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
40348
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
40154
40349
  var init_promise = __esm(() => {
40155
40350
  init_parseDef();
40156
40351
  });
40157
40352
 
40158
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
40353
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
40159
40354
  var init_set = __esm(() => {
40160
40355
  init_parseDef();
40161
40356
  });
40162
40357
 
40163
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
40358
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
40164
40359
  var init_tuple = __esm(() => {
40165
40360
  init_parseDef();
40166
40361
  });
40167
40362
 
40168
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
40363
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
40169
40364
  var init_undefined = __esm(() => {
40170
40365
  init_any();
40171
40366
  });
40172
40367
 
40173
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
40368
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
40174
40369
  var init_unknown = __esm(() => {
40175
40370
  init_any();
40176
40371
  });
40177
40372
 
40178
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
40373
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
40179
40374
  var init_readonly = __esm(() => {
40180
40375
  init_parseDef();
40181
40376
  });
40182
40377
 
40183
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
40378
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
40184
40379
  var init_selectParser = __esm(() => {
40185
40380
  init_any();
40186
40381
  init_array();
@@ -40209,24 +40404,24 @@ var init_selectParser = __esm(() => {
40209
40404
  init_readonly();
40210
40405
  });
40211
40406
 
40212
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
40407
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
40213
40408
  var init_parseDef = __esm(() => {
40214
40409
  init_Options();
40215
40410
  init_selectParser();
40216
40411
  init_any();
40217
40412
  });
40218
40413
 
40219
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
40414
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
40220
40415
  var init_parseTypes = () => {};
40221
40416
 
40222
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
40417
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
40223
40418
  var init_zodToJsonSchema = __esm(() => {
40224
40419
  init_parseDef();
40225
40420
  init_Refs();
40226
40421
  init_any();
40227
40422
  });
40228
40423
 
40229
- // ../switchroom-sec-1417/node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/index.js
40424
+ // node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/index.js
40230
40425
  var init_esm = __esm(() => {
40231
40426
  init_zodToJsonSchema();
40232
40427
  init_Options();
@@ -40262,7 +40457,7 @@ var init_esm = __esm(() => {
40262
40457
  init_zodToJsonSchema();
40263
40458
  });
40264
40459
 
40265
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
40460
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
40266
40461
  function getMethodLiteral(schema) {
40267
40462
  const shape = getObjectShape(schema);
40268
40463
  const methodSchema = shape?.method;
@@ -40287,7 +40482,7 @@ var init_zod_json_schema_compat = __esm(() => {
40287
40482
  init_esm();
40288
40483
  });
40289
40484
 
40290
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
40485
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
40291
40486
  class Protocol {
40292
40487
  constructor(_options) {
40293
40488
  this._options = _options;
@@ -41132,7 +41327,7 @@ var init_protocol4 = __esm(() => {
41132
41327
  init_zod_json_schema_compat();
41133
41328
  });
41134
41329
 
41135
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
41330
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
41136
41331
  var require_code = __commonJS((exports2) => {
41137
41332
  Object.defineProperty(exports2, "__esModule", { value: true });
41138
41333
  exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = undefined;
@@ -41286,7 +41481,7 @@ var require_code = __commonJS((exports2) => {
41286
41481
  exports2.regexpCode = regexpCode;
41287
41482
  });
41288
41483
 
41289
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
41484
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
41290
41485
  var require_scope = __commonJS((exports2) => {
41291
41486
  Object.defineProperty(exports2, "__esModule", { value: true });
41292
41487
  exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = undefined;
@@ -41432,7 +41627,7 @@ var require_scope = __commonJS((exports2) => {
41432
41627
  exports2.ValueScope = ValueScope;
41433
41628
  });
41434
41629
 
41435
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
41630
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
41436
41631
  var require_codegen = __commonJS((exports2) => {
41437
41632
  Object.defineProperty(exports2, "__esModule", { value: true });
41438
41633
  exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = undefined;
@@ -42142,7 +42337,7 @@ var require_codegen = __commonJS((exports2) => {
42142
42337
  }
42143
42338
  });
42144
42339
 
42145
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
42340
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
42146
42341
  var require_util2 = __commonJS((exports2) => {
42147
42342
  Object.defineProperty(exports2, "__esModule", { value: true });
42148
42343
  exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = undefined;
@@ -42306,7 +42501,7 @@ var require_util2 = __commonJS((exports2) => {
42306
42501
  exports2.checkStrictMode = checkStrictMode;
42307
42502
  });
42308
42503
 
42309
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
42504
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
42310
42505
  var require_names = __commonJS((exports2) => {
42311
42506
  Object.defineProperty(exports2, "__esModule", { value: true });
42312
42507
  var codegen_1 = require_codegen();
@@ -42331,7 +42526,7 @@ var require_names = __commonJS((exports2) => {
42331
42526
  exports2.default = names;
42332
42527
  });
42333
42528
 
42334
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
42529
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
42335
42530
  var require_errors2 = __commonJS((exports2) => {
42336
42531
  Object.defineProperty(exports2, "__esModule", { value: true });
42337
42532
  exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = undefined;
@@ -42449,7 +42644,7 @@ var require_errors2 = __commonJS((exports2) => {
42449
42644
  }
42450
42645
  });
42451
42646
 
42452
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
42647
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
42453
42648
  var require_boolSchema = __commonJS((exports2) => {
42454
42649
  Object.defineProperty(exports2, "__esModule", { value: true });
42455
42650
  exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = undefined;
@@ -42497,7 +42692,7 @@ var require_boolSchema = __commonJS((exports2) => {
42497
42692
  }
42498
42693
  });
42499
42694
 
42500
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
42695
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
42501
42696
  var require_rules = __commonJS((exports2) => {
42502
42697
  Object.defineProperty(exports2, "__esModule", { value: true });
42503
42698
  exports2.getRules = exports2.isJSONType = undefined;
@@ -42525,7 +42720,7 @@ var require_rules = __commonJS((exports2) => {
42525
42720
  exports2.getRules = getRules;
42526
42721
  });
42527
42722
 
42528
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
42723
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
42529
42724
  var require_applicability = __commonJS((exports2) => {
42530
42725
  Object.defineProperty(exports2, "__esModule", { value: true });
42531
42726
  exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = undefined;
@@ -42545,7 +42740,7 @@ var require_applicability = __commonJS((exports2) => {
42545
42740
  exports2.shouldUseRule = shouldUseRule;
42546
42741
  });
42547
42742
 
42548
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
42743
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
42549
42744
  var require_dataType = __commonJS((exports2) => {
42550
42745
  Object.defineProperty(exports2, "__esModule", { value: true });
42551
42746
  exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = undefined;
@@ -42726,7 +42921,7 @@ var require_dataType = __commonJS((exports2) => {
42726
42921
  }
42727
42922
  });
42728
42923
 
42729
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
42924
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
42730
42925
  var require_defaults = __commonJS((exports2) => {
42731
42926
  Object.defineProperty(exports2, "__esModule", { value: true });
42732
42927
  exports2.assignDefaults = undefined;
@@ -42760,7 +42955,7 @@ var require_defaults = __commonJS((exports2) => {
42760
42955
  }
42761
42956
  });
42762
42957
 
42763
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
42958
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
42764
42959
  var require_code2 = __commonJS((exports2) => {
42765
42960
  Object.defineProperty(exports2, "__esModule", { value: true });
42766
42961
  exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = undefined;
@@ -42889,7 +43084,7 @@ var require_code2 = __commonJS((exports2) => {
42889
43084
  exports2.validateUnion = validateUnion;
42890
43085
  });
42891
43086
 
42892
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
43087
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
42893
43088
  var require_keyword = __commonJS((exports2) => {
42894
43089
  Object.defineProperty(exports2, "__esModule", { value: true });
42895
43090
  exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = undefined;
@@ -43004,7 +43199,7 @@ var require_keyword = __commonJS((exports2) => {
43004
43199
  exports2.validateKeywordUsage = validateKeywordUsage;
43005
43200
  });
43006
43201
 
43007
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
43202
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
43008
43203
  var require_subschema = __commonJS((exports2) => {
43009
43204
  Object.defineProperty(exports2, "__esModule", { value: true });
43010
43205
  exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = undefined;
@@ -43084,7 +43279,7 @@ var require_subschema = __commonJS((exports2) => {
43084
43279
  exports2.extendSubschemaMode = extendSubschemaMode;
43085
43280
  });
43086
43281
 
43087
- // ../switchroom-sec-1417/node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
43282
+ // node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
43088
43283
  var require_fast_deep_equal = __commonJS((exports2, module) => {
43089
43284
  module.exports = function equal(a, b) {
43090
43285
  if (a === b)
@@ -43126,7 +43321,7 @@ var require_fast_deep_equal = __commonJS((exports2, module) => {
43126
43321
  };
43127
43322
  });
43128
43323
 
43129
- // ../switchroom-sec-1417/node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
43324
+ // node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
43130
43325
  var require_json_schema_traverse = __commonJS((exports2, module) => {
43131
43326
  var traverse = module.exports = function(schema, opts, cb) {
43132
43327
  if (typeof opts == "function") {
@@ -43209,7 +43404,7 @@ var require_json_schema_traverse = __commonJS((exports2, module) => {
43209
43404
  }
43210
43405
  });
43211
43406
 
43212
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
43407
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
43213
43408
  var require_resolve = __commonJS((exports2) => {
43214
43409
  Object.defineProperty(exports2, "__esModule", { value: true });
43215
43410
  exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = undefined;
@@ -43362,7 +43557,7 @@ var require_resolve = __commonJS((exports2) => {
43362
43557
  exports2.getSchemaRefs = getSchemaRefs;
43363
43558
  });
43364
43559
 
43365
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
43560
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
43366
43561
  var require_validate = __commonJS((exports2) => {
43367
43562
  Object.defineProperty(exports2, "__esModule", { value: true });
43368
43563
  exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = undefined;
@@ -43867,7 +44062,7 @@ var require_validate = __commonJS((exports2) => {
43867
44062
  exports2.getData = getData;
43868
44063
  });
43869
44064
 
43870
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
44065
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
43871
44066
  var require_validation_error = __commonJS((exports2) => {
43872
44067
  Object.defineProperty(exports2, "__esModule", { value: true });
43873
44068
 
@@ -43881,7 +44076,7 @@ var require_validation_error = __commonJS((exports2) => {
43881
44076
  exports2.default = ValidationError;
43882
44077
  });
43883
44078
 
43884
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
44079
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
43885
44080
  var require_ref_error = __commonJS((exports2) => {
43886
44081
  Object.defineProperty(exports2, "__esModule", { value: true });
43887
44082
  var resolve_1 = require_resolve();
@@ -43896,7 +44091,7 @@ var require_ref_error = __commonJS((exports2) => {
43896
44091
  exports2.default = MissingRefError;
43897
44092
  });
43898
44093
 
43899
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
44094
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
43900
44095
  var require_compile = __commonJS((exports2) => {
43901
44096
  Object.defineProperty(exports2, "__esModule", { value: true });
43902
44097
  exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = undefined;
@@ -44117,7 +44312,7 @@ var require_compile = __commonJS((exports2) => {
44117
44312
  }
44118
44313
  });
44119
44314
 
44120
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
44315
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
44121
44316
  var require_data = __commonJS((exports2, module) => {
44122
44317
  module.exports = {
44123
44318
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
@@ -44134,7 +44329,7 @@ var require_data = __commonJS((exports2, module) => {
44134
44329
  };
44135
44330
  });
44136
44331
 
44137
- // ../switchroom-sec-1417/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
44332
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
44138
44333
  var require_utils2 = __commonJS((exports2, module) => {
44139
44334
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
44140
44335
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -44389,7 +44584,7 @@ var require_utils2 = __commonJS((exports2, module) => {
44389
44584
  };
44390
44585
  });
44391
44586
 
44392
- // ../switchroom-sec-1417/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
44587
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
44393
44588
  var require_schemes = __commonJS((exports2, module) => {
44394
44589
  var { isUUID } = require_utils2();
44395
44590
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -44563,7 +44758,7 @@ var require_schemes = __commonJS((exports2, module) => {
44563
44758
  };
44564
44759
  });
44565
44760
 
44566
- // ../switchroom-sec-1417/node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
44761
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
44567
44762
  var require_fast_uri = __commonJS((exports2, module) => {
44568
44763
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils2();
44569
44764
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -44814,7 +45009,7 @@ var require_fast_uri = __commonJS((exports2, module) => {
44814
45009
  module.exports.fastUri = fastUri;
44815
45010
  });
44816
45011
 
44817
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
45012
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
44818
45013
  var require_uri = __commonJS((exports2) => {
44819
45014
  Object.defineProperty(exports2, "__esModule", { value: true });
44820
45015
  var uri = require_fast_uri();
@@ -44822,7 +45017,7 @@ var require_uri = __commonJS((exports2) => {
44822
45017
  exports2.default = uri;
44823
45018
  });
44824
45019
 
44825
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
45020
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
44826
45021
  var require_core = __commonJS((exports2) => {
44827
45022
  Object.defineProperty(exports2, "__esModule", { value: true });
44828
45023
  exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = undefined;
@@ -45415,7 +45610,7 @@ var require_core = __commonJS((exports2) => {
45415
45610
  }
45416
45611
  });
45417
45612
 
45418
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
45613
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
45419
45614
  var require_id = __commonJS((exports2) => {
45420
45615
  Object.defineProperty(exports2, "__esModule", { value: true });
45421
45616
  var def = {
@@ -45427,7 +45622,7 @@ var require_id = __commonJS((exports2) => {
45427
45622
  exports2.default = def;
45428
45623
  });
45429
45624
 
45430
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
45625
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
45431
45626
  var require_ref = __commonJS((exports2) => {
45432
45627
  Object.defineProperty(exports2, "__esModule", { value: true });
45433
45628
  exports2.callRef = exports2.getValidate = undefined;
@@ -45546,7 +45741,7 @@ var require_ref = __commonJS((exports2) => {
45546
45741
  exports2.default = def;
45547
45742
  });
45548
45743
 
45549
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
45744
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
45550
45745
  var require_core2 = __commonJS((exports2) => {
45551
45746
  Object.defineProperty(exports2, "__esModule", { value: true });
45552
45747
  var id_1 = require_id();
@@ -45564,7 +45759,7 @@ var require_core2 = __commonJS((exports2) => {
45564
45759
  exports2.default = core2;
45565
45760
  });
45566
45761
 
45567
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
45762
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
45568
45763
  var require_limitNumber = __commonJS((exports2) => {
45569
45764
  Object.defineProperty(exports2, "__esModule", { value: true });
45570
45765
  var codegen_1 = require_codegen();
@@ -45593,7 +45788,7 @@ var require_limitNumber = __commonJS((exports2) => {
45593
45788
  exports2.default = def;
45594
45789
  });
45595
45790
 
45596
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
45791
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
45597
45792
  var require_multipleOf = __commonJS((exports2) => {
45598
45793
  Object.defineProperty(exports2, "__esModule", { value: true });
45599
45794
  var codegen_1 = require_codegen();
@@ -45618,7 +45813,7 @@ var require_multipleOf = __commonJS((exports2) => {
45618
45813
  exports2.default = def;
45619
45814
  });
45620
45815
 
45621
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
45816
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
45622
45817
  var require_ucs2length = __commonJS((exports2) => {
45623
45818
  Object.defineProperty(exports2, "__esModule", { value: true });
45624
45819
  function ucs2length(str) {
@@ -45641,7 +45836,7 @@ var require_ucs2length = __commonJS((exports2) => {
45641
45836
  ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
45642
45837
  });
45643
45838
 
45644
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
45839
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
45645
45840
  var require_limitLength = __commonJS((exports2) => {
45646
45841
  Object.defineProperty(exports2, "__esModule", { value: true });
45647
45842
  var codegen_1 = require_codegen();
@@ -45670,7 +45865,7 @@ var require_limitLength = __commonJS((exports2) => {
45670
45865
  exports2.default = def;
45671
45866
  });
45672
45867
 
45673
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
45868
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
45674
45869
  var require_pattern = __commonJS((exports2) => {
45675
45870
  Object.defineProperty(exports2, "__esModule", { value: true });
45676
45871
  var code_1 = require_code2();
@@ -45704,7 +45899,7 @@ var require_pattern = __commonJS((exports2) => {
45704
45899
  exports2.default = def;
45705
45900
  });
45706
45901
 
45707
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
45902
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
45708
45903
  var require_limitProperties = __commonJS((exports2) => {
45709
45904
  Object.defineProperty(exports2, "__esModule", { value: true });
45710
45905
  var codegen_1 = require_codegen();
@@ -45730,7 +45925,7 @@ var require_limitProperties = __commonJS((exports2) => {
45730
45925
  exports2.default = def;
45731
45926
  });
45732
45927
 
45733
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
45928
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
45734
45929
  var require_required = __commonJS((exports2) => {
45735
45930
  Object.defineProperty(exports2, "__esModule", { value: true });
45736
45931
  var code_1 = require_code2();
@@ -45809,7 +46004,7 @@ var require_required = __commonJS((exports2) => {
45809
46004
  exports2.default = def;
45810
46005
  });
45811
46006
 
45812
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
46007
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
45813
46008
  var require_limitItems = __commonJS((exports2) => {
45814
46009
  Object.defineProperty(exports2, "__esModule", { value: true });
45815
46010
  var codegen_1 = require_codegen();
@@ -45835,7 +46030,7 @@ var require_limitItems = __commonJS((exports2) => {
45835
46030
  exports2.default = def;
45836
46031
  });
45837
46032
 
45838
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
46033
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
45839
46034
  var require_equal = __commonJS((exports2) => {
45840
46035
  Object.defineProperty(exports2, "__esModule", { value: true });
45841
46036
  var equal = require_fast_deep_equal();
@@ -45843,7 +46038,7 @@ var require_equal = __commonJS((exports2) => {
45843
46038
  exports2.default = equal;
45844
46039
  });
45845
46040
 
45846
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
46041
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
45847
46042
  var require_uniqueItems = __commonJS((exports2) => {
45848
46043
  Object.defineProperty(exports2, "__esModule", { value: true });
45849
46044
  var dataType_1 = require_dataType();
@@ -45907,7 +46102,7 @@ var require_uniqueItems = __commonJS((exports2) => {
45907
46102
  exports2.default = def;
45908
46103
  });
45909
46104
 
45910
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
46105
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
45911
46106
  var require_const = __commonJS((exports2) => {
45912
46107
  Object.defineProperty(exports2, "__esModule", { value: true });
45913
46108
  var codegen_1 = require_codegen();
@@ -45933,7 +46128,7 @@ var require_const = __commonJS((exports2) => {
45933
46128
  exports2.default = def;
45934
46129
  });
45935
46130
 
45936
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
46131
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
45937
46132
  var require_enum = __commonJS((exports2) => {
45938
46133
  Object.defineProperty(exports2, "__esModule", { value: true });
45939
46134
  var codegen_1 = require_codegen();
@@ -45979,7 +46174,7 @@ var require_enum = __commonJS((exports2) => {
45979
46174
  exports2.default = def;
45980
46175
  });
45981
46176
 
45982
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
46177
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
45983
46178
  var require_validation = __commonJS((exports2) => {
45984
46179
  Object.defineProperty(exports2, "__esModule", { value: true });
45985
46180
  var limitNumber_1 = require_limitNumber();
@@ -46009,7 +46204,7 @@ var require_validation = __commonJS((exports2) => {
46009
46204
  exports2.default = validation;
46010
46205
  });
46011
46206
 
46012
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
46207
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
46013
46208
  var require_additionalItems = __commonJS((exports2) => {
46014
46209
  Object.defineProperty(exports2, "__esModule", { value: true });
46015
46210
  exports2.validateAdditionalItems = undefined;
@@ -46059,7 +46254,7 @@ var require_additionalItems = __commonJS((exports2) => {
46059
46254
  exports2.default = def;
46060
46255
  });
46061
46256
 
46062
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
46257
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
46063
46258
  var require_items = __commonJS((exports2) => {
46064
46259
  Object.defineProperty(exports2, "__esModule", { value: true });
46065
46260
  exports2.validateTuple = undefined;
@@ -46113,7 +46308,7 @@ var require_items = __commonJS((exports2) => {
46113
46308
  exports2.default = def;
46114
46309
  });
46115
46310
 
46116
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
46311
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
46117
46312
  var require_prefixItems = __commonJS((exports2) => {
46118
46313
  Object.defineProperty(exports2, "__esModule", { value: true });
46119
46314
  var items_1 = require_items();
@@ -46127,7 +46322,7 @@ var require_prefixItems = __commonJS((exports2) => {
46127
46322
  exports2.default = def;
46128
46323
  });
46129
46324
 
46130
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
46325
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
46131
46326
  var require_items2020 = __commonJS((exports2) => {
46132
46327
  Object.defineProperty(exports2, "__esModule", { value: true });
46133
46328
  var codegen_1 = require_codegen();
@@ -46159,7 +46354,7 @@ var require_items2020 = __commonJS((exports2) => {
46159
46354
  exports2.default = def;
46160
46355
  });
46161
46356
 
46162
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
46357
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
46163
46358
  var require_contains = __commonJS((exports2) => {
46164
46359
  Object.defineProperty(exports2, "__esModule", { value: true });
46165
46360
  var codegen_1 = require_codegen();
@@ -46250,7 +46445,7 @@ var require_contains = __commonJS((exports2) => {
46250
46445
  exports2.default = def;
46251
46446
  });
46252
46447
 
46253
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
46448
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
46254
46449
  var require_dependencies = __commonJS((exports2) => {
46255
46450
  Object.defineProperty(exports2, "__esModule", { value: true });
46256
46451
  exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = undefined;
@@ -46335,7 +46530,7 @@ var require_dependencies = __commonJS((exports2) => {
46335
46530
  exports2.default = def;
46336
46531
  });
46337
46532
 
46338
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
46533
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
46339
46534
  var require_propertyNames = __commonJS((exports2) => {
46340
46535
  Object.defineProperty(exports2, "__esModule", { value: true });
46341
46536
  var codegen_1 = require_codegen();
@@ -46375,7 +46570,7 @@ var require_propertyNames = __commonJS((exports2) => {
46375
46570
  exports2.default = def;
46376
46571
  });
46377
46572
 
46378
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
46573
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
46379
46574
  var require_additionalProperties = __commonJS((exports2) => {
46380
46575
  Object.defineProperty(exports2, "__esModule", { value: true });
46381
46576
  var code_1 = require_code2();
@@ -46478,7 +46673,7 @@ var require_additionalProperties = __commonJS((exports2) => {
46478
46673
  exports2.default = def;
46479
46674
  });
46480
46675
 
46481
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
46676
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
46482
46677
  var require_properties = __commonJS((exports2) => {
46483
46678
  Object.defineProperty(exports2, "__esModule", { value: true });
46484
46679
  var validate_1 = require_validate();
@@ -46533,7 +46728,7 @@ var require_properties = __commonJS((exports2) => {
46533
46728
  exports2.default = def;
46534
46729
  });
46535
46730
 
46536
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
46731
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
46537
46732
  var require_patternProperties = __commonJS((exports2) => {
46538
46733
  Object.defineProperty(exports2, "__esModule", { value: true });
46539
46734
  var code_1 = require_code2();
@@ -46604,7 +46799,7 @@ var require_patternProperties = __commonJS((exports2) => {
46604
46799
  exports2.default = def;
46605
46800
  });
46606
46801
 
46607
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
46802
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
46608
46803
  var require_not = __commonJS((exports2) => {
46609
46804
  Object.defineProperty(exports2, "__esModule", { value: true });
46610
46805
  var util_1 = require_util2();
@@ -46632,7 +46827,7 @@ var require_not = __commonJS((exports2) => {
46632
46827
  exports2.default = def;
46633
46828
  });
46634
46829
 
46635
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
46830
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
46636
46831
  var require_anyOf = __commonJS((exports2) => {
46637
46832
  Object.defineProperty(exports2, "__esModule", { value: true });
46638
46833
  var code_1 = require_code2();
@@ -46646,7 +46841,7 @@ var require_anyOf = __commonJS((exports2) => {
46646
46841
  exports2.default = def;
46647
46842
  });
46648
46843
 
46649
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
46844
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
46650
46845
  var require_oneOf = __commonJS((exports2) => {
46651
46846
  Object.defineProperty(exports2, "__esModule", { value: true });
46652
46847
  var codegen_1 = require_codegen();
@@ -46701,7 +46896,7 @@ var require_oneOf = __commonJS((exports2) => {
46701
46896
  exports2.default = def;
46702
46897
  });
46703
46898
 
46704
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
46899
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
46705
46900
  var require_allOf = __commonJS((exports2) => {
46706
46901
  Object.defineProperty(exports2, "__esModule", { value: true });
46707
46902
  var util_1 = require_util2();
@@ -46725,7 +46920,7 @@ var require_allOf = __commonJS((exports2) => {
46725
46920
  exports2.default = def;
46726
46921
  });
46727
46922
 
46728
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
46923
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
46729
46924
  var require_if2 = __commonJS((exports2) => {
46730
46925
  Object.defineProperty(exports2, "__esModule", { value: true });
46731
46926
  var codegen_1 = require_codegen();
@@ -46791,7 +46986,7 @@ var require_if2 = __commonJS((exports2) => {
46791
46986
  exports2.default = def;
46792
46987
  });
46793
46988
 
46794
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
46989
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
46795
46990
  var require_thenElse = __commonJS((exports2) => {
46796
46991
  Object.defineProperty(exports2, "__esModule", { value: true });
46797
46992
  var util_1 = require_util2();
@@ -46806,7 +47001,7 @@ var require_thenElse = __commonJS((exports2) => {
46806
47001
  exports2.default = def;
46807
47002
  });
46808
47003
 
46809
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
47004
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
46810
47005
  var require_applicator = __commonJS((exports2) => {
46811
47006
  Object.defineProperty(exports2, "__esModule", { value: true });
46812
47007
  var additionalItems_1 = require_additionalItems();
@@ -46849,7 +47044,7 @@ var require_applicator = __commonJS((exports2) => {
46849
47044
  exports2.default = getApplicator;
46850
47045
  });
46851
47046
 
46852
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
47047
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
46853
47048
  var require_format = __commonJS((exports2) => {
46854
47049
  Object.defineProperty(exports2, "__esModule", { value: true });
46855
47050
  var codegen_1 = require_codegen();
@@ -46936,7 +47131,7 @@ var require_format = __commonJS((exports2) => {
46936
47131
  exports2.default = def;
46937
47132
  });
46938
47133
 
46939
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
47134
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
46940
47135
  var require_format2 = __commonJS((exports2) => {
46941
47136
  Object.defineProperty(exports2, "__esModule", { value: true });
46942
47137
  var format_1 = require_format();
@@ -46944,7 +47139,7 @@ var require_format2 = __commonJS((exports2) => {
46944
47139
  exports2.default = format;
46945
47140
  });
46946
47141
 
46947
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
47142
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
46948
47143
  var require_metadata = __commonJS((exports2) => {
46949
47144
  Object.defineProperty(exports2, "__esModule", { value: true });
46950
47145
  exports2.contentVocabulary = exports2.metadataVocabulary = undefined;
@@ -46964,7 +47159,7 @@ var require_metadata = __commonJS((exports2) => {
46964
47159
  ];
46965
47160
  });
46966
47161
 
46967
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
47162
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
46968
47163
  var require_draft7 = __commonJS((exports2) => {
46969
47164
  Object.defineProperty(exports2, "__esModule", { value: true });
46970
47165
  var core_1 = require_core2();
@@ -46983,7 +47178,7 @@ var require_draft7 = __commonJS((exports2) => {
46983
47178
  exports2.default = draft7Vocabularies;
46984
47179
  });
46985
47180
 
46986
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
47181
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
46987
47182
  var require_types = __commonJS((exports2) => {
46988
47183
  Object.defineProperty(exports2, "__esModule", { value: true });
46989
47184
  exports2.DiscrError = undefined;
@@ -46994,7 +47189,7 @@ var require_types = __commonJS((exports2) => {
46994
47189
  })(DiscrError || (exports2.DiscrError = DiscrError = {}));
46995
47190
  });
46996
47191
 
46997
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
47192
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
46998
47193
  var require_discriminator = __commonJS((exports2) => {
46999
47194
  Object.defineProperty(exports2, "__esModule", { value: true });
47000
47195
  var codegen_1 = require_codegen();
@@ -47096,7 +47291,7 @@ var require_discriminator = __commonJS((exports2) => {
47096
47291
  exports2.default = def;
47097
47292
  });
47098
47293
 
47099
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
47294
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
47100
47295
  var require_json_schema_draft_07 = __commonJS((exports2, module) => {
47101
47296
  module.exports = {
47102
47297
  $schema: "http://json-schema.org/draft-07/schema#",
@@ -47251,7 +47446,7 @@ var require_json_schema_draft_07 = __commonJS((exports2, module) => {
47251
47446
  };
47252
47447
  });
47253
47448
 
47254
- // ../switchroom-sec-1417/node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
47449
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
47255
47450
  var require_ajv = __commonJS((exports2, module) => {
47256
47451
  Object.defineProperty(exports2, "__esModule", { value: true });
47257
47452
  exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = undefined;
@@ -47319,7 +47514,7 @@ var require_ajv = __commonJS((exports2, module) => {
47319
47514
  } });
47320
47515
  });
47321
47516
 
47322
- // ../switchroom-sec-1417/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
47517
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
47323
47518
  var require_formats = __commonJS((exports2) => {
47324
47519
  Object.defineProperty(exports2, "__esModule", { value: true });
47325
47520
  exports2.formatNames = exports2.fastFormats = exports2.fullFormats = undefined;
@@ -47496,7 +47691,7 @@ var require_formats = __commonJS((exports2) => {
47496
47691
  }
47497
47692
  });
47498
47693
 
47499
- // ../switchroom-sec-1417/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
47694
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
47500
47695
  var require_limit = __commonJS((exports2) => {
47501
47696
  Object.defineProperty(exports2, "__esModule", { value: true });
47502
47697
  exports2.formatLimitDefinition = undefined;
@@ -47565,7 +47760,7 @@ var require_limit = __commonJS((exports2) => {
47565
47760
  exports2.default = formatLimitPlugin;
47566
47761
  });
47567
47762
 
47568
- // ../switchroom-sec-1417/node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
47763
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
47569
47764
  var require_dist2 = __commonJS((exports2, module) => {
47570
47765
  Object.defineProperty(exports2, "__esModule", { value: true });
47571
47766
  var formats_1 = require_formats();
@@ -47604,7 +47799,7 @@ var require_dist2 = __commonJS((exports2, module) => {
47604
47799
  exports2.default = formatsPlugin;
47605
47800
  });
47606
47801
 
47607
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
47802
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
47608
47803
  function createDefaultAjvInstance() {
47609
47804
  const ajv = new import_ajv.default({
47610
47805
  strict: false,
@@ -47647,7 +47842,7 @@ var init_ajv_provider = __esm(() => {
47647
47842
  import_ajv_formats = __toESM(require_dist2(), 1);
47648
47843
  });
47649
47844
 
47650
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
47845
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
47651
47846
  class ExperimentalServerTasks {
47652
47847
  constructor(_server) {
47653
47848
  this._server = _server;
@@ -47728,7 +47923,7 @@ var init_server = __esm(() => {
47728
47923
  init_types2();
47729
47924
  });
47730
47925
 
47731
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
47926
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
47732
47927
  function assertToolsCallTaskCapability(requests, method, entityName) {
47733
47928
  if (!requests) {
47734
47929
  throw new Error(`${entityName} does not support task creation (required for ${method})`);
@@ -47763,7 +47958,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
47763
47958
  }
47764
47959
  }
47765
47960
 
47766
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
47961
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
47767
47962
  var Server;
47768
47963
  var init_server2 = __esm(() => {
47769
47964
  init_protocol4();
@@ -48104,7 +48299,7 @@ var init_server2 = __esm(() => {
48104
48299
  };
48105
48300
  });
48106
48301
 
48107
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
48302
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
48108
48303
  class ReadBuffer {
48109
48304
  append(chunk2) {
48110
48305
  this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk2]) : chunk2;
@@ -48137,7 +48332,7 @@ var init_stdio = __esm(() => {
48137
48332
  init_types2();
48138
48333
  });
48139
48334
 
48140
- // ../switchroom-sec-1417/node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
48335
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
48141
48336
  import process3 from "node:process";
48142
48337
 
48143
48338
  class StdioServerTransport {
@@ -49066,7 +49261,7 @@ var init_server4 = __esm(() => {
49066
49261
  ];
49067
49262
  });
49068
49263
 
49069
- // ../switchroom-sec-1417/node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
49264
+ // node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
49070
49265
  var import__ = __toESM(require_commander(), 1);
49071
49266
  var {
49072
49267
  program,
@@ -49083,8 +49278,8 @@ var {
49083
49278
  } = import__.default;
49084
49279
 
49085
49280
  // src/build-info.ts
49086
- var VERSION = "0.13.65";
49087
- var COMMIT_SHA = "51894764";
49281
+ var VERSION = "0.14.0";
49282
+ var COMMIT_SHA = "d7cd6faa";
49088
49283
 
49089
49284
  // src/cli/agent.ts
49090
49285
  init_source();
@@ -58797,7 +58992,7 @@ function createAuditLogger(opts = {}) {
58797
58992
  // src/vault/grants.ts
58798
58993
  import { randomBytes as randomBytes8 } from "node:crypto";
58799
58994
 
58800
- // ../switchroom-sec-1417/node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
58995
+ // node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
58801
58996
  import nodeCrypto from "crypto";
58802
58997
  var randomFallback = null;
58803
58998
  function randomBytes7(len) {
@@ -65655,7 +65850,7 @@ function readRecentFires(jsonlPath) {
65655
65850
  // src/web/api.ts
65656
65851
  init_client3();
65657
65852
 
65658
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
65853
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
65659
65854
  import { dirname as dirname7, posix, sep as sep2 } from "path";
65660
65855
  function createModulerModifier() {
65661
65856
  const getModuleFromFileName = createGetModuleFromFilename();
@@ -65691,7 +65886,7 @@ function normalizeWindowsPath(path4) {
65691
65886
  return path4.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
65692
65887
  }
65693
65888
 
65694
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
65889
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
65695
65890
  var normalizeFlagsResponse = (flagsResponse) => {
65696
65891
  if ("flags" in flagsResponse) {
65697
65892
  const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
@@ -65762,7 +65957,7 @@ var parsePayload = (response) => {
65762
65957
  }
65763
65958
  };
65764
65959
 
65765
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
65960
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
65766
65961
  function isGzipSupported() {
65767
65962
  return "CompressionStream" in globalThis;
65768
65963
  }
@@ -65782,7 +65977,7 @@ async function gzipCompress(input, isDebug = true) {
65782
65977
  }
65783
65978
  }
65784
65979
 
65785
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
65980
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
65786
65981
  /*! For license information please see uuidv7.mjs.LICENSE.txt */
65787
65982
  var DIGITS = "0123456789abcdef";
65788
65983
 
@@ -65960,7 +66155,7 @@ var defaultGenerator;
65960
66155
  var uuidv7 = () => uuidv7obj().toString();
65961
66156
  var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
65962
66157
 
65963
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
66158
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
65964
66159
  var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
65965
66160
  PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
65966
66161
  PostHogPersistedProperty["DistinctId"] = "distinct_id";
@@ -65993,7 +66188,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
65993
66188
  return PostHogPersistedProperty;
65994
66189
  }({});
65995
66190
 
65996
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
66191
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
65997
66192
  var DEFAULT_BLOCKED_UA_STRS = [
65998
66193
  "amazonbot",
65999
66194
  "amazonproductbot",
@@ -66082,7 +66277,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
66082
66277
  return uaLower.indexOf(blockedUaLower) !== -1;
66083
66278
  });
66084
66279
  };
66085
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
66280
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
66086
66281
  var nativeIsArray = Array.isArray;
66087
66282
  var ObjProto = Object.prototype;
66088
66283
  var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
@@ -66119,7 +66314,7 @@ function isInstanceOf(candidate, base) {
66119
66314
  }
66120
66315
  }
66121
66316
 
66122
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
66317
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
66123
66318
  function clampToRange(value, min, max, logger, fallbackValue) {
66124
66319
  if (min > max) {
66125
66320
  logger.warn("min cannot be greater than max.");
@@ -66139,7 +66334,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
66139
66334
  return clampToRange(fallbackValue || max, min, max, logger);
66140
66335
  }
66141
66336
 
66142
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
66337
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
66143
66338
  var ONE_DAY_IN_MS = 86400000;
66144
66339
 
66145
66340
  class BucketedRateLimiter {
@@ -66183,7 +66378,7 @@ class BucketedRateLimiter {
66183
66378
  this._buckets = {};
66184
66379
  }
66185
66380
  }
66186
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
66381
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
66187
66382
  class PromiseQueue {
66188
66383
  add(promise) {
66189
66384
  const promiseUUID = uuidv7();
@@ -66209,7 +66404,7 @@ class PromiseQueue {
66209
66404
  this.promiseByIds = {};
66210
66405
  }
66211
66406
  }
66212
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
66407
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
66213
66408
  function createConsole(consoleLike = console) {
66214
66409
  const lockedMethods = {
66215
66410
  log: consoleLike.log.bind(consoleLike),
@@ -66247,7 +66442,7 @@ var passThrough = (fn) => fn();
66247
66442
  function createLogger(prefix, maybeCall = passThrough) {
66248
66443
  return _createLogger(prefix, maybeCall, createConsole());
66249
66444
  }
66250
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
66445
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
66251
66446
  var MOBILE = "Mobile";
66252
66447
  var IOS = "iOS";
66253
66448
  var ANDROID = "Android";
@@ -66504,7 +66699,7 @@ var osMatchers = [
66504
66699
  ]
66505
66700
  ];
66506
66701
 
66507
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
66702
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
66508
66703
  var STRING_FORMAT = "utf8";
66509
66704
  function assert(truthyValue, message) {
66510
66705
  if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
@@ -66552,7 +66747,7 @@ function allSettled(promises) {
66552
66747
  reason
66553
66748
  }))));
66554
66749
  }
66555
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
66750
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
66556
66751
  class SimpleEventEmitter {
66557
66752
  constructor() {
66558
66753
  this.events = {};
@@ -66574,7 +66769,7 @@ class SimpleEventEmitter {
66574
66769
  }
66575
66770
  }
66576
66771
 
66577
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
66772
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
66578
66773
  class PostHogFetchHttpError extends Error {
66579
66774
  constructor(response, reqByteLength) {
66580
66775
  super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
@@ -67289,7 +67484,7 @@ class PostHogCoreStateless {
67289
67484
  return this.shutdownPromise;
67290
67485
  }
67291
67486
  }
67292
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
67487
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
67293
67488
  var exports_error_tracking = {};
67294
67489
  __export(exports_error_tracking, {
67295
67490
  winjsStackLineParser: () => winjsStackLineParser,
@@ -67313,7 +67508,7 @@ __export(exports_error_tracking, {
67313
67508
  DOMExceptionCoercer: () => DOMExceptionCoercer
67314
67509
  });
67315
67510
 
67316
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
67511
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
67317
67512
  var parsedStackResults;
67318
67513
  var lastKeysCount;
67319
67514
  var cachedFilenameChunkIds;
@@ -67352,7 +67547,7 @@ function getFilenameToChunkIdMap(stackParser) {
67352
67547
  return cachedFilenameChunkIds;
67353
67548
  }
67354
67549
 
67355
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
67550
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
67356
67551
  var MAX_CAUSE_RECURSION = 4;
67357
67552
 
67358
67553
  class ErrorPropertiesBuilder {
@@ -67474,7 +67669,7 @@ class ErrorPropertiesBuilder {
67474
67669
  return context;
67475
67670
  }
67476
67671
  }
67477
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
67672
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
67478
67673
  var UNKNOWN_FUNCTION = "?";
67479
67674
  function createFrame(platform, filename, func, lineno, colno) {
67480
67675
  const frame = {
@@ -67490,7 +67685,7 @@ function createFrame(platform, filename, func, lineno, colno) {
67490
67685
  return frame;
67491
67686
  }
67492
67687
 
67493
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
67688
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
67494
67689
  var extractSafariExtensionDetails = (func, filename) => {
67495
67690
  const isSafariExtension = func.indexOf("safari-extension") !== -1;
67496
67691
  const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
@@ -67503,7 +67698,7 @@ var extractSafariExtensionDetails = (func, filename) => {
67503
67698
  ];
67504
67699
  };
67505
67700
 
67506
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
67701
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
67507
67702
  var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
67508
67703
  var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
67509
67704
  var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
@@ -67529,7 +67724,7 @@ var chromeStackLineParser = (line, platform) => {
67529
67724
  }
67530
67725
  };
67531
67726
 
67532
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
67727
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
67533
67728
  var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
67534
67729
  var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
67535
67730
  var geckoStackLineParser = (line, platform) => {
@@ -67552,14 +67747,14 @@ var geckoStackLineParser = (line, platform) => {
67552
67747
  }
67553
67748
  };
67554
67749
 
67555
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
67750
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
67556
67751
  var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
67557
67752
  var winjsStackLineParser = (line, platform) => {
67558
67753
  const parts = winjsRegex.exec(line);
67559
67754
  return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
67560
67755
  };
67561
67756
 
67562
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
67757
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
67563
67758
  var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
67564
67759
  var opera10StackLineParser = (line, platform) => {
67565
67760
  const parts = opera10Regex.exec(line);
@@ -67571,7 +67766,7 @@ var opera11StackLineParser = (line, platform) => {
67571
67766
  return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
67572
67767
  };
67573
67768
 
67574
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
67769
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
67575
67770
  var FILENAME_MATCH = /^\s*[-]{4,}$/;
67576
67771
  var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
67577
67772
  var nodeStackLineParser = (line, platform) => {
@@ -67640,7 +67835,7 @@ function _parseIntOrUndefined(input) {
67640
67835
  return parseInt(input || "", 10) || undefined;
67641
67836
  }
67642
67837
 
67643
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
67838
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
67644
67839
  var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
67645
67840
  var STACKTRACE_FRAME_LIMIT = 50;
67646
67841
  function reverseAndStripFrames(stack) {
@@ -67685,7 +67880,7 @@ function createStackParser(platform, ...parsers) {
67685
67880
  return reverseAndStripFrames(frames);
67686
67881
  };
67687
67882
  }
67688
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
67883
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
67689
67884
  class DOMExceptionCoercer {
67690
67885
  match(err) {
67691
67886
  return this.isDOMException(err) || this.isDOMError(err);
@@ -67715,7 +67910,7 @@ class DOMExceptionCoercer {
67715
67910
  return isBuiltin(err, "DOMError");
67716
67911
  }
67717
67912
  }
67718
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
67913
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
67719
67914
  class ErrorCoercer {
67720
67915
  match(err) {
67721
67916
  return isPlainError(err);
@@ -67742,7 +67937,7 @@ class ErrorCoercer {
67742
67937
  return err.stacktrace || err.stack || undefined;
67743
67938
  }
67744
67939
  }
67745
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
67940
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
67746
67941
  class ErrorEventCoercer {
67747
67942
  constructor() {}
67748
67943
  match(err) {
@@ -67760,7 +67955,7 @@ class ErrorEventCoercer {
67760
67955
  return exceptionLike;
67761
67956
  }
67762
67957
  }
67763
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
67958
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
67764
67959
  var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
67765
67960
 
67766
67961
  class StringCoercer {
@@ -67790,7 +67985,7 @@ class StringCoercer {
67790
67985
  ];
67791
67986
  }
67792
67987
  }
67793
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
67988
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
67794
67989
  var severityLevels = [
67795
67990
  "fatal",
67796
67991
  "error",
@@ -67800,7 +67995,7 @@ var severityLevels = [
67800
67995
  "debug"
67801
67996
  ];
67802
67997
 
67803
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
67998
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
67804
67999
  function extractExceptionKeysForMessage(err, maxLength = 40) {
67805
68000
  const keys = Object.keys(err);
67806
68001
  keys.sort();
@@ -67817,7 +68012,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
67817
68012
  return "";
67818
68013
  }
67819
68014
 
67820
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
68015
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
67821
68016
  class ObjectCoercer {
67822
68017
  match(candidate) {
67823
68018
  return typeof candidate == "object" && candidate !== null;
@@ -67870,7 +68065,7 @@ class ObjectCoercer {
67870
68065
  }
67871
68066
  }
67872
68067
  }
67873
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
68068
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
67874
68069
  class EventCoercer {
67875
68070
  match(err) {
67876
68071
  return isEvent(err);
@@ -67885,7 +68080,7 @@ class EventCoercer {
67885
68080
  };
67886
68081
  }
67887
68082
  }
67888
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
68083
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
67889
68084
  class PrimitiveCoercer {
67890
68085
  match(candidate) {
67891
68086
  return isPrimitive(candidate);
@@ -67899,7 +68094,7 @@ class PrimitiveCoercer {
67899
68094
  };
67900
68095
  }
67901
68096
  }
67902
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
68097
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
67903
68098
  class PromiseRejectionEventCoercer {
67904
68099
  match(err) {
67905
68100
  return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
@@ -67935,7 +68130,7 @@ class PromiseRejectionEventCoercer {
67935
68130
  return error;
67936
68131
  }
67937
68132
  }
67938
- // ../switchroom-sec-1417/node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
68133
+ // node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
67939
68134
  class ReduceableCache {
67940
68135
  constructor(_maxSize) {
67941
68136
  this._maxSize = _maxSize;
@@ -67960,7 +68155,7 @@ class ReduceableCache {
67960
68155
  }
67961
68156
  }
67962
68157
  }
67963
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
68158
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
67964
68159
  import { createReadStream } from "node:fs";
67965
68160
  import { createInterface as createInterface5 } from "node:readline";
67966
68161
  var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
@@ -68178,7 +68373,7 @@ function snipLine(line, colno) {
68178
68373
  return newLine;
68179
68374
  }
68180
68375
 
68181
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
68376
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
68182
68377
  function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
68183
68378
  let calledFatalError = false;
68184
68379
  return Object.assign((error) => {
@@ -68210,7 +68405,7 @@ function addUnhandledRejectionListener(captureFn) {
68210
68405
  }));
68211
68406
  }
68212
68407
 
68213
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
68408
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
68214
68409
  var SHUTDOWN_TIMEOUT = 2000;
68215
68410
 
68216
68411
  class ErrorTracking {
@@ -68279,10 +68474,10 @@ class ErrorTracking {
68279
68474
  }
68280
68475
  }
68281
68476
 
68282
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
68477
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
68283
68478
  var version = "5.29.2";
68284
68479
 
68285
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
68480
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
68286
68481
  var FeatureFlagError2 = {
68287
68482
  ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
68288
68483
  FLAG_MISSING: "flag_missing",
@@ -68290,7 +68485,7 @@ var FeatureFlagError2 = {
68290
68485
  UNKNOWN_ERROR: "unknown_error"
68291
68486
  };
68292
68487
 
68293
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
68488
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
68294
68489
  async function hashSHA1(text) {
68295
68490
  const subtle = globalThis.crypto?.subtle;
68296
68491
  if (!subtle)
@@ -68300,7 +68495,7 @@ async function hashSHA1(text) {
68300
68495
  return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
68301
68496
  }
68302
68497
 
68303
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
68498
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
68304
68499
  var SIXTY_SECONDS = 60000;
68305
68500
  var LONG_SCALE = 1152921504606847000;
68306
68501
  var NULL_VALUES_ALLOWED_OPERATORS = [
@@ -69174,7 +69369,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
69174
69369
  }
69175
69370
  }
69176
69371
 
69177
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
69372
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
69178
69373
  class PostHogMemoryStorage {
69179
69374
  getProperty(key) {
69180
69375
  return this._memoryStorage[key];
@@ -69187,7 +69382,7 @@ class PostHogMemoryStorage {
69187
69382
  }
69188
69383
  }
69189
69384
 
69190
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
69385
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
69191
69386
  var MINIMUM_POLLING_INTERVAL = 100;
69192
69387
  var THIRTY_SECONDS = 30000;
69193
69388
  var MAX_CACHE_SIZE = 50000;
@@ -69975,7 +70170,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
69975
70170
  }
69976
70171
  }
69977
70172
 
69978
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
70173
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
69979
70174
  import { AsyncLocalStorage } from "node:async_hooks";
69980
70175
 
69981
70176
  class PostHogContext {
@@ -70006,7 +70201,7 @@ class PostHogContext {
70006
70201
  }
70007
70202
  }
70008
70203
 
70009
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
70204
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
70010
70205
  var NAME = "posthog-node";
70011
70206
  function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
70012
70207
  "error"
@@ -70074,7 +70269,7 @@ class PostHogSentryIntegration {
70074
70269
  };
70075
70270
  }
70076
70271
  }
70077
- // ../switchroom-sec-1417/node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
70272
+ // node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
70078
70273
  ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
70079
70274
  new exports_error_tracking.EventCoercer,
70080
70275
  new exports_error_tracking.ErrorCoercer,
@@ -72409,15 +72604,15 @@ init_loader();
72409
72604
  init_lifecycle();
72410
72605
  import { cpSync as cpSync2, existsSync as existsSync52, mkdirSync as mkdirSync28, readFileSync as readFileSync47, realpathSync as realpathSync5, rmSync as rmSync12, statSync as statSync24 } from "node:fs";
72411
72606
  import { spawnSync as spawnSync8 } from "node:child_process";
72412
- import { join as join53, dirname as dirname13, resolve as resolve32 } from "node:path";
72413
- import { homedir as homedir31 } from "node:os";
72414
- var DEFAULT_COMPOSE_PATH = join53(homedir31(), ".switchroom", "compose", "docker-compose.yml");
72607
+ import { join as join54, dirname as dirname13, resolve as resolve32 } from "node:path";
72608
+ import { homedir as homedir32 } from "node:os";
72609
+ var DEFAULT_COMPOSE_PATH = join54(homedir32(), ".switchroom", "compose", "docker-compose.yml");
72415
72610
  function runningFromSwitchroomCheckout(scriptPath) {
72416
72611
  let dir = dirname13(scriptPath);
72417
72612
  for (let i = 0;i < 12; i++) {
72418
- if (existsSync52(join53(dir, ".git"))) {
72613
+ if (existsSync52(join54(dir, ".git"))) {
72419
72614
  try {
72420
- const pkg = JSON.parse(readFileSync47(join53(dir, "package.json"), "utf-8"));
72615
+ const pkg = JSON.parse(readFileSync47(join54(dir, "package.json"), "utf-8"));
72421
72616
  if (pkg.name === "switchroom")
72422
72617
  return true;
72423
72618
  } catch {}
@@ -72548,7 +72743,7 @@ function planUpdate(opts) {
72548
72743
  return;
72549
72744
  }
72550
72745
  const source = resolve32(import.meta.dirname, "../../skills");
72551
- const dest = join53(homedir31(), ".switchroom", "skills", "_bundled");
72746
+ const dest = join54(homedir32(), ".switchroom", "skills", "_bundled");
72552
72747
  if (!existsSync52(source)) {
72553
72748
  process.stderr.write(`switchroom update: sync-bundled-skills \u2014 CLI bundle has no adjacent skills/ at ${source}; skipping.
72554
72749
  `);
@@ -72662,7 +72857,7 @@ function defaultStatusProbe(composePath) {
72662
72857
  } catch {}
72663
72858
  let dir = dirname13(scriptPath);
72664
72859
  for (let i = 0;i < 8; i++) {
72665
- const pkgPath = join53(dir, "package.json");
72860
+ const pkgPath = join54(dir, "package.json");
72666
72861
  if (existsSync52(pkgPath)) {
72667
72862
  try {
72668
72863
  const pkg = JSON.parse(readFileSync47(pkgPath, "utf-8"));
@@ -72882,7 +73077,7 @@ init_helpers();
72882
73077
  init_lifecycle();
72883
73078
  import { execSync as execSync4 } from "node:child_process";
72884
73079
  import { existsSync as existsSync53, readFileSync as readFileSync48 } from "node:fs";
72885
- import { dirname as dirname14, join as join54 } from "node:path";
73080
+ import { dirname as dirname14, join as join55 } from "node:path";
72886
73081
  function getClaudeCodeVersion() {
72887
73082
  try {
72888
73083
  const out = execSync4("claude --version 2>/dev/null", {
@@ -72932,11 +73127,11 @@ function formatUptime3(timestamp) {
72932
73127
  function locateSwitchroomInstallDir() {
72933
73128
  let dir = import.meta.dirname;
72934
73129
  for (let i = 0;i < 10 && dir && dir !== "/"; i++) {
72935
- const pkgPath = join54(dir, "package.json");
73130
+ const pkgPath = join55(dir, "package.json");
72936
73131
  if (existsSync53(pkgPath)) {
72937
73132
  try {
72938
73133
  const pkg = JSON.parse(readFileSync48(pkgPath, "utf-8"));
72939
- if (pkg.name === "switchroom" && existsSync53(join54(dir, ".git"))) {
73134
+ if (pkg.name === "switchroom" && existsSync53(join55(dir, ".git"))) {
72940
73135
  return dir;
72941
73136
  }
72942
73137
  } catch {}
@@ -73173,7 +73368,7 @@ import {
73173
73368
  writeFileSync as writeFileSync26,
73174
73369
  writeSync as writeSync7
73175
73370
  } from "node:fs";
73176
- import { join as join55 } from "node:path";
73371
+ import { join as join56 } from "node:path";
73177
73372
  import { randomBytes as randomBytes12 } from "node:crypto";
73178
73373
  import { execSync as execSync5 } from "node:child_process";
73179
73374
 
@@ -73493,7 +73688,7 @@ function redactedMarker(ruleId) {
73493
73688
  var ISSUES_FILE = "issues.jsonl";
73494
73689
  var ISSUES_LOCK = "issues.lock";
73495
73690
  function readAll(stateDir) {
73496
- const path4 = join55(stateDir, ISSUES_FILE);
73691
+ const path4 = join56(stateDir, ISSUES_FILE);
73497
73692
  if (!existsSync54(path4))
73498
73693
  return [];
73499
73694
  let raw;
@@ -73571,7 +73766,7 @@ function record(stateDir, input, nowFn = Date.now) {
73571
73766
  });
73572
73767
  }
73573
73768
  function resolve35(stateDir, fingerprint, nowFn = Date.now) {
73574
- if (!existsSync54(join55(stateDir, ISSUES_FILE)))
73769
+ if (!existsSync54(join56(stateDir, ISSUES_FILE)))
73575
73770
  return 0;
73576
73771
  return withLock(stateDir, () => {
73577
73772
  const all = readAll(stateDir);
@@ -73589,7 +73784,7 @@ function resolve35(stateDir, fingerprint, nowFn = Date.now) {
73589
73784
  });
73590
73785
  }
73591
73786
  function resolveAllBySource(stateDir, source, nowFn = Date.now) {
73592
- if (!existsSync54(join55(stateDir, ISSUES_FILE)))
73787
+ if (!existsSync54(join56(stateDir, ISSUES_FILE)))
73593
73788
  return 0;
73594
73789
  return withLock(stateDir, () => {
73595
73790
  const all = readAll(stateDir);
@@ -73607,7 +73802,7 @@ function resolveAllBySource(stateDir, source, nowFn = Date.now) {
73607
73802
  });
73608
73803
  }
73609
73804
  function prune(stateDir, opts = {}) {
73610
- if (!existsSync54(join55(stateDir, ISSUES_FILE)))
73805
+ if (!existsSync54(join56(stateDir, ISSUES_FILE)))
73611
73806
  return 0;
73612
73807
  return withLock(stateDir, () => {
73613
73808
  const all = readAll(stateDir);
@@ -73640,7 +73835,7 @@ function ensureDir(stateDir) {
73640
73835
  mkdirSync29(stateDir, { recursive: true });
73641
73836
  }
73642
73837
  function writeAll(stateDir, events) {
73643
- const path4 = join55(stateDir, ISSUES_FILE);
73838
+ const path4 = join56(stateDir, ISSUES_FILE);
73644
73839
  sweepOrphanTmpFiles(stateDir);
73645
73840
  const tmp = `${path4}.tmp-${process.pid}-${randomBytes12(4).toString("hex")}`;
73646
73841
  const body = events.length === 0 ? "" : events.map((e) => JSON.stringify(e)).join(`
@@ -73662,7 +73857,7 @@ function sweepOrphanTmpFiles(stateDir) {
73662
73857
  for (const entry of entries) {
73663
73858
  if (!entry.startsWith(TMP_PREFIX))
73664
73859
  continue;
73665
- const tmpPath = join55(stateDir, entry);
73860
+ const tmpPath = join56(stateDir, entry);
73666
73861
  try {
73667
73862
  const stat = statSync25(tmpPath);
73668
73863
  if (stat.mtimeMs < cutoff) {
@@ -73674,7 +73869,7 @@ function sweepOrphanTmpFiles(stateDir) {
73674
73869
  var LOCK_RETRY_MS = 25;
73675
73870
  var LOCK_TIMEOUT_MS = 1e4;
73676
73871
  function withLock(stateDir, fn) {
73677
- const lockPath = join55(stateDir, ISSUES_LOCK);
73872
+ const lockPath = join56(stateDir, ISSUES_LOCK);
73678
73873
  const startedAt = Date.now();
73679
73874
  let fd = null;
73680
73875
  while (fd === null) {
@@ -73958,8 +74153,8 @@ function relTime(deltaMs) {
73958
74153
  // src/cli/deps.ts
73959
74154
  init_source();
73960
74155
  import { existsSync as existsSync57 } from "node:fs";
73961
- import { homedir as homedir34 } from "node:os";
73962
- import { join as join58, resolve as resolve36 } from "node:path";
74156
+ import { homedir as homedir35 } from "node:os";
74157
+ import { join as join59, resolve as resolve36 } from "node:path";
73963
74158
 
73964
74159
  // src/deps/python.ts
73965
74160
  import { createHash as createHash11 } from "node:crypto";
@@ -73970,8 +74165,8 @@ import {
73970
74165
  rmSync as rmSync13,
73971
74166
  writeFileSync as writeFileSync27
73972
74167
  } from "node:fs";
73973
- import { dirname as dirname15, join as join56 } from "node:path";
73974
- import { homedir as homedir32 } from "node:os";
74168
+ import { dirname as dirname15, join as join57 } from "node:path";
74169
+ import { homedir as homedir33 } from "node:os";
73975
74170
  import { execFileSync as execFileSync15 } from "node:child_process";
73976
74171
 
73977
74172
  class PythonEnvError extends Error {
@@ -73983,7 +74178,7 @@ class PythonEnvError extends Error {
73983
74178
  }
73984
74179
  }
73985
74180
  function defaultPythonCacheRoot() {
73986
- return join56(homedir32(), ".switchroom", "deps", "python");
74181
+ return join57(homedir33(), ".switchroom", "deps", "python");
73987
74182
  }
73988
74183
  function hashFile(path4) {
73989
74184
  return createHash11("sha256").update(readFileSync50(path4)).digest("hex");
@@ -73995,11 +74190,11 @@ function ensurePythonEnv(opts) {
73995
74190
  if (!existsSync55(requirementsPath)) {
73996
74191
  throw new PythonEnvError(`requirements file not found: ${requirementsPath}`);
73997
74192
  }
73998
- const venvDir = join56(cacheRoot, skillName);
73999
- const stampPath = join56(venvDir, ".requirements.sha256");
74000
- const binDir = join56(venvDir, "bin");
74001
- const pythonBin = join56(binDir, "python");
74002
- const pipBin = join56(binDir, "pip");
74193
+ const venvDir = join57(cacheRoot, skillName);
74194
+ const stampPath = join57(venvDir, ".requirements.sha256");
74195
+ const binDir = join57(venvDir, "bin");
74196
+ const pythonBin = join57(binDir, "python");
74197
+ const pipBin = join57(binDir, "pip");
74003
74198
  const targetHash = hashFile(requirementsPath);
74004
74199
  if (!force && existsSync55(stampPath) && existsSync55(pythonBin)) {
74005
74200
  const existingHash = readFileSync50(stampPath, "utf8").trim();
@@ -74058,8 +74253,8 @@ import {
74058
74253
  rmSync as rmSync14,
74059
74254
  writeFileSync as writeFileSync28
74060
74255
  } from "node:fs";
74061
- import { dirname as dirname16, join as join57 } from "node:path";
74062
- import { homedir as homedir33 } from "node:os";
74256
+ import { dirname as dirname16, join as join58 } from "node:path";
74257
+ import { homedir as homedir34 } from "node:os";
74063
74258
  import { execFileSync as execFileSync16 } from "node:child_process";
74064
74259
 
74065
74260
  class NodeEnvError extends Error {
@@ -74082,7 +74277,7 @@ var LOCKFILES_FOR = {
74082
74277
  npm: ["package-lock.json"]
74083
74278
  };
74084
74279
  function defaultNodeCacheRoot() {
74085
- return join57(homedir33(), ".switchroom", "deps", "node");
74280
+ return join58(homedir34(), ".switchroom", "deps", "node");
74086
74281
  }
74087
74282
  function hashDepInputs(packageJsonPath) {
74088
74283
  const sourceDir = dirname16(packageJsonPath);
@@ -74091,7 +74286,7 @@ function hashDepInputs(packageJsonPath) {
74091
74286
  `);
74092
74287
  hasher.update(readFileSync51(packageJsonPath));
74093
74288
  for (const lockName of ALL_LOCKFILES) {
74094
- const lockPath = join57(sourceDir, lockName);
74289
+ const lockPath = join58(sourceDir, lockName);
74095
74290
  if (existsSync56(lockPath)) {
74096
74291
  hasher.update(`
74097
74292
  `);
@@ -74111,10 +74306,10 @@ function ensureNodeEnv(opts) {
74111
74306
  throw new NodeEnvError(`package.json not found: ${packageJsonPath}`);
74112
74307
  }
74113
74308
  const sourceDir = dirname16(packageJsonPath);
74114
- const envDir = join57(cacheRoot, skillName);
74115
- const stampPath = join57(envDir, ".package.sha256");
74116
- const nodeModulesDir = join57(envDir, "node_modules");
74117
- const binDir = join57(nodeModulesDir, ".bin");
74309
+ const envDir = join58(cacheRoot, skillName);
74310
+ const stampPath = join58(envDir, ".package.sha256");
74311
+ const nodeModulesDir = join58(envDir, "node_modules");
74312
+ const binDir = join58(nodeModulesDir, ".bin");
74118
74313
  const targetHash = hashDepInputs(packageJsonPath);
74119
74314
  if (!force && existsSync56(stampPath) && existsSync56(nodeModulesDir)) {
74120
74315
  const existingHash = readFileSync51(stampPath, "utf8").trim();
@@ -74132,12 +74327,12 @@ function ensureNodeEnv(opts) {
74132
74327
  rmSync14(envDir, { recursive: true, force: true });
74133
74328
  }
74134
74329
  mkdirSync31(envDir, { recursive: true });
74135
- copyFileSync9(packageJsonPath, join57(envDir, "package.json"));
74330
+ copyFileSync9(packageJsonPath, join58(envDir, "package.json"));
74136
74331
  let copiedLockfile = false;
74137
74332
  for (const lockName of LOCKFILES_FOR[installer]) {
74138
- const lockPath = join57(sourceDir, lockName);
74333
+ const lockPath = join58(sourceDir, lockName);
74139
74334
  if (existsSync56(lockPath)) {
74140
- copyFileSync9(lockPath, join57(envDir, lockName));
74335
+ copyFileSync9(lockPath, join58(envDir, lockName));
74141
74336
  copiedLockfile = true;
74142
74337
  }
74143
74338
  }
@@ -74166,7 +74361,7 @@ function ensureNodeEnv(opts) {
74166
74361
 
74167
74362
  // src/cli/deps.ts
74168
74363
  function builtinSkillsRoot() {
74169
- return resolve36(homedir34(), ".switchroom/skills/_bundled");
74364
+ return resolve36(homedir35(), ".switchroom/skills/_bundled");
74170
74365
  }
74171
74366
  function registerDepsCommand(program3) {
74172
74367
  const deps = program3.command("deps").description("Manage cached per-skill dependency environments");
@@ -74176,13 +74371,13 @@ function registerDepsCommand(program3) {
74176
74371
  console.error(source_default.red(`Bundled skills pool dir not found at ${skillsRoot} \u2014 run \`switchroom update\` to install it.`));
74177
74372
  process.exit(1);
74178
74373
  }
74179
- const skillDir = join58(skillsRoot, skill);
74374
+ const skillDir = join59(skillsRoot, skill);
74180
74375
  if (!existsSync57(skillDir)) {
74181
74376
  console.error(source_default.red(`Unknown skill: ${skill} (no dir at ${skillDir})`));
74182
74377
  process.exit(1);
74183
74378
  }
74184
- const requirementsPath = join58(skillDir, "requirements.txt");
74185
- const packageJsonPath = join58(skillDir, "package.json");
74379
+ const requirementsPath = join59(skillDir, "requirements.txt");
74380
+ const packageJsonPath = join59(skillDir, "package.json");
74186
74381
  const wantPython = opts.python ?? (!opts.python && !opts.node && existsSync57(requirementsPath));
74187
74382
  const wantNode = opts.node ?? (!opts.python && !opts.node && existsSync57(packageJsonPath));
74188
74383
  let did = 0;
@@ -75137,7 +75332,7 @@ init_helpers();
75137
75332
  init_loader();
75138
75333
  init_merge();
75139
75334
  import { copyFileSync as copyFileSync10, existsSync as existsSync59, readFileSync as readFileSync52, writeFileSync as writeFileSync29 } from "node:fs";
75140
- import { join as join59, resolve as resolve38 } from "node:path";
75335
+ import { join as join60, resolve as resolve38 } from "node:path";
75141
75336
  init_schema();
75142
75337
  function resolveSoulTargetOrExit(program3, agentName) {
75143
75338
  const config = getConfig(program3);
@@ -75161,7 +75356,7 @@ function resolveSoulTargetOrExit(program3, agentName) {
75161
75356
  profileName,
75162
75357
  profilePath,
75163
75358
  workspaceDir,
75164
- soulPath: join59(workspaceDir, "SOUL.md"),
75359
+ soulPath: join60(workspaceDir, "SOUL.md"),
75165
75360
  soul: merged.soul
75166
75361
  };
75167
75362
  }
@@ -75228,7 +75423,7 @@ function registerSoulCommand(program3) {
75228
75423
  init_helpers();
75229
75424
  init_loader();
75230
75425
  import { existsSync as existsSync60, readFileSync as readFileSync53, readdirSync as readdirSync21, statSync as statSync26 } from "node:fs";
75231
- import { resolve as resolve39, join as join60 } from "node:path";
75426
+ import { resolve as resolve39, join as join61 } from "node:path";
75232
75427
  import { createHash as createHash13 } from "node:crypto";
75233
75428
  init_merge();
75234
75429
  init_hindsight();
@@ -75242,7 +75437,7 @@ function sha256(content) {
75242
75437
  return createHash13("sha256").update(content).digest("hex").slice(0, 16);
75243
75438
  }
75244
75439
  function findLatestTranscriptJsonl(claudeConfigDir) {
75245
- const projectsDir = join60(claudeConfigDir, "projects");
75440
+ const projectsDir = join61(claudeConfigDir, "projects");
75246
75441
  if (!existsSync60(projectsDir))
75247
75442
  return;
75248
75443
  try {
@@ -75251,8 +75446,8 @@ function findLatestTranscriptJsonl(claudeConfigDir) {
75251
75446
  for (const entry of entries) {
75252
75447
  if (!entry.isDirectory())
75253
75448
  continue;
75254
- const projectPath = join60(projectsDir, entry.name);
75255
- const transcriptPath = join60(projectPath, "transcript.jsonl");
75449
+ const projectPath = join61(projectsDir, entry.name);
75450
+ const transcriptPath = join61(projectPath, "transcript.jsonl");
75256
75451
  if (!existsSync60(transcriptPath))
75257
75452
  continue;
75258
75453
  const stat3 = statSync26(transcriptPath);
@@ -75321,11 +75516,11 @@ function registerDebugCommand(program3) {
75321
75516
  process.exit(1);
75322
75517
  }
75323
75518
  const workspaceDir = resolveAgentWorkspaceDir(agentDir);
75324
- const claudeConfigDir = join60(agentDir, ".claude");
75325
- const claudeMdPath = join60(agentDir, "CLAUDE.md");
75326
- const soulMdPath = join60(agentDir, "SOUL.md");
75327
- const workspaceSoulMdPath = join60(workspaceDir, "SOUL.md");
75328
- const handoffPath = join60(agentDir, ".handoff.md");
75519
+ const claudeConfigDir = join61(agentDir, ".claude");
75520
+ const claudeMdPath = join61(agentDir, "CLAUDE.md");
75521
+ const soulMdPath = join61(agentDir, "SOUL.md");
75522
+ const workspaceSoulMdPath = join61(workspaceDir, "SOUL.md");
75523
+ const handoffPath = join61(agentDir, ".handoff.md");
75329
75524
  const lastN = parseInt(opts.last, 10);
75330
75525
  if (isNaN(lastN) || lastN < 1) {
75331
75526
  console.error("--last must be a positive integer");
@@ -75475,8 +75670,8 @@ init_source();
75475
75670
  // src/worktree/claim.ts
75476
75671
  import { execFileSync as execFileSync17 } from "node:child_process";
75477
75672
  import { closeSync as closeSync12, mkdirSync as mkdirSync33, openSync as openSync12, existsSync as existsSync62, unlinkSync as unlinkSync13 } from "node:fs";
75478
- import { join as join62, resolve as resolve41 } from "node:path";
75479
- import { homedir as homedir36 } from "node:os";
75673
+ import { join as join63, resolve as resolve41 } from "node:path";
75674
+ import { homedir as homedir37 } from "node:os";
75480
75675
  import { randomBytes as randomBytes13 } from "node:crypto";
75481
75676
 
75482
75677
  // src/worktree/registry.ts
@@ -75489,13 +75684,13 @@ import {
75489
75684
  existsSync as existsSync61,
75490
75685
  renameSync as renameSync12
75491
75686
  } from "node:fs";
75492
- import { join as join61, resolve as resolve40 } from "node:path";
75493
- import { homedir as homedir35 } from "node:os";
75687
+ import { join as join62, resolve as resolve40 } from "node:path";
75688
+ import { homedir as homedir36 } from "node:os";
75494
75689
  function registryDir() {
75495
- return resolve40(process.env.SWITCHROOM_WORKTREE_DIR ?? join61(homedir35(), ".switchroom", "worktrees"));
75690
+ return resolve40(process.env.SWITCHROOM_WORKTREE_DIR ?? join62(homedir36(), ".switchroom", "worktrees"));
75496
75691
  }
75497
75692
  function recordPath(id) {
75498
- return join61(registryDir(), `${id}.json`);
75693
+ return join62(registryDir(), `${id}.json`);
75499
75694
  }
75500
75695
  function ensureDir2() {
75501
75696
  mkdirSync32(registryDir(), { recursive: true });
@@ -75546,7 +75741,7 @@ function acquireRepoLock(repoPath) {
75546
75741
  const lockDir = registryDir();
75547
75742
  mkdirSync33(lockDir, { recursive: true });
75548
75743
  const lockName = repoPath.replace(/[^A-Za-z0-9]/g, "_");
75549
- const lockPath = join62(lockDir, `.lock-${lockName}`);
75744
+ const lockPath = join63(lockDir, `.lock-${lockName}`);
75550
75745
  const deadline = Date.now() + 5000;
75551
75746
  let fd = null;
75552
75747
  while (fd === null) {
@@ -75573,7 +75768,7 @@ function acquireRepoLock(repoPath) {
75573
75768
  }
75574
75769
  var DEFAULT_CONCURRENCY = 5;
75575
75770
  function worktreesBaseDir() {
75576
- return resolve41(process.env.SWITCHROOM_WORKTREE_BASE ?? join62(homedir36(), ".switchroom", "worktree-checkouts"));
75771
+ return resolve41(process.env.SWITCHROOM_WORKTREE_BASE ?? join63(homedir37(), ".switchroom", "worktree-checkouts"));
75577
75772
  }
75578
75773
  function shortId() {
75579
75774
  return randomBytes13(4).toString("hex");
@@ -75595,7 +75790,7 @@ function resolveRepoPath(repo, codeRepos) {
75595
75790
  }
75596
75791
  function expandHome(p) {
75597
75792
  if (p.startsWith("~/"))
75598
- return join62(homedir36(), p.slice(2));
75793
+ return join63(homedir37(), p.slice(2));
75599
75794
  return p;
75600
75795
  }
75601
75796
  async function claimWorktree(input, codeRepos) {
@@ -75623,7 +75818,7 @@ async function claimWorktree(input, codeRepos) {
75623
75818
  branch = `task/${taskSuffix}-${id}`;
75624
75819
  const baseDir = worktreesBaseDir();
75625
75820
  mkdirSync33(baseDir, { recursive: true });
75626
- worktreePath = join62(baseDir, `${id}-${taskSuffix}`);
75821
+ worktreePath = join63(baseDir, `${id}-${taskSuffix}`);
75627
75822
  const now = new Date().toISOString();
75628
75823
  const record2 = {
75629
75824
  id,
@@ -75878,7 +76073,7 @@ import {
75878
76073
  rmSync as rmSync15,
75879
76074
  writeFileSync as writeFileSync31
75880
76075
  } from "node:fs";
75881
- import { join as join63 } from "node:path";
76076
+ import { join as join64 } from "node:path";
75882
76077
  function encodeCredentialsFilename(email) {
75883
76078
  const SAFE = new Set([
75884
76079
  ..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
@@ -76068,16 +76263,16 @@ function resolveCredentialsDir(env2) {
76068
76263
  if (explicit && explicit.length > 0)
76069
76264
  return explicit;
76070
76265
  const stateBase = env2.SWITCHROOM_CONTAINER === "1" ? "/state/agent" : env2.HOME ?? ".";
76071
- return join63(stateBase, "google-workspace-mcp", "credentials");
76266
+ return join64(stateBase, "google-workspace-mcp", "credentials");
76072
76267
  }
76073
76268
  function writeSeedFile(dir, email, seed) {
76074
76269
  mkdirSync34(dir, { recursive: true, mode: 448 });
76075
76270
  chmodSync9(dir, 448);
76076
76271
  for (const name of readdirSync23(dir)) {
76077
- rmSync15(join63(dir, name), { force: true, recursive: true });
76272
+ rmSync15(join64(dir, name), { force: true, recursive: true });
76078
76273
  }
76079
76274
  const filename = encodeCredentialsFilename(email);
76080
- const filePath = join63(dir, filename);
76275
+ const filePath = join64(dir, filename);
76081
76276
  writeFileSync31(filePath, JSON.stringify(seed), { mode: 384 });
76082
76277
  chmodSync9(filePath, 384);
76083
76278
  return filePath;
@@ -76237,7 +76432,7 @@ function registerDriveMcpLauncherCommand(program3) {
76237
76432
  init_scaffold_integration();
76238
76433
  import { spawn as spawn6 } from "node:child_process";
76239
76434
  import { writeFileSync as writeFileSync32, mkdirSync as mkdirSync35 } from "node:fs";
76240
- import { dirname as dirname17, join as join64 } from "node:path";
76435
+ import { dirname as dirname17, join as join65 } from "node:path";
76241
76436
  var SOFTERIA_TOKEN_ENV = "MS365_MCP_OAUTH_TOKEN";
76242
76437
  var DEFAULT_REFRESH_LEAD_MS = 5 * 60 * 1000;
76243
76438
  var MAX_REFRESH_INTERVAL_MS = 60 * 60 * 1000;
@@ -76269,7 +76464,7 @@ function writeRefreshHeartbeat(agentName, data) {
76269
76464
  function heartbeatPath(agentName) {
76270
76465
  const override = process.env.SWITCHROOM_M365_HEARTBEAT_DIR;
76271
76466
  if (override) {
76272
- return join64(override, `m365-launcher-${agentName}.heartbeat.json`);
76467
+ return join65(override, `m365-launcher-${agentName}.heartbeat.json`);
76273
76468
  }
76274
76469
  return "/state/agent/m365-launcher.heartbeat.json";
76275
76470
  }
@@ -77188,8 +77383,8 @@ agents:
77188
77383
 
77189
77384
  // src/cli/apply.ts
77190
77385
  init_resolver();
77191
- import { dirname as dirname21, join as join68, resolve as resolve43 } from "node:path";
77192
- import { homedir as homedir38 } from "node:os";
77386
+ import { dirname as dirname21, join as join69, resolve as resolve43 } from "node:path";
77387
+ import { homedir as homedir39 } from "node:os";
77193
77388
  import { execFileSync as execFileSync20 } from "node:child_process";
77194
77389
  init_vault();
77195
77390
  init_loader();
@@ -77197,7 +77392,7 @@ init_loader();
77197
77392
 
77198
77393
  // src/cli/update-prompt-hook.ts
77199
77394
  import { existsSync as existsSync66, readFileSync as readFileSync55, writeFileSync as writeFileSync34, chmodSync as chmodSync10, mkdirSync as mkdirSync37 } from "node:fs";
77200
- import { join as join65 } from "node:path";
77395
+ import { join as join66 } from "node:path";
77201
77396
  var HOOK_FILENAME = "update-card-on-prompt.sh";
77202
77397
  function updatePromptHookScript() {
77203
77398
  return `#!/bin/bash
@@ -77263,9 +77458,9 @@ exit 0
77263
77458
  `;
77264
77459
  }
77265
77460
  function installUpdatePromptHook(agentDir) {
77266
- const hooksDir = join65(agentDir, ".claude", "hooks");
77461
+ const hooksDir = join66(agentDir, ".claude", "hooks");
77267
77462
  mkdirSync37(hooksDir, { recursive: true });
77268
- const scriptPath = join65(hooksDir, HOOK_FILENAME);
77463
+ const scriptPath = join66(hooksDir, HOOK_FILENAME);
77269
77464
  const desired = updatePromptHookScript();
77270
77465
  let installed = false;
77271
77466
  const existing = existsSync66(scriptPath) ? readFileSync55(scriptPath, "utf-8") : "";
@@ -77278,7 +77473,7 @@ function installUpdatePromptHook(agentDir) {
77278
77473
  chmodSync10(scriptPath, 493);
77279
77474
  } catch {}
77280
77475
  }
77281
- const settingsPath = join65(agentDir, ".claude", "settings.json");
77476
+ const settingsPath = join66(agentDir, ".claude", "settings.json");
77282
77477
  if (!existsSync66(settingsPath)) {
77283
77478
  return { scriptPath, settingsPath, installed };
77284
77479
  }
@@ -77404,7 +77599,7 @@ import {
77404
77599
  realpathSync as realpathSync6,
77405
77600
  statSync as statSync27
77406
77601
  } from "node:fs";
77407
- import { join as join67 } from "node:path";
77602
+ import { join as join68 } from "node:path";
77408
77603
  function resolveOperatorUid() {
77409
77604
  const sudoUid = process.env.SUDO_UID;
77410
77605
  if (sudoUid !== undefined) {
@@ -77420,14 +77615,14 @@ function resolveOperatorUid() {
77420
77615
  return;
77421
77616
  }
77422
77617
  function operatorOwnedPaths(home2) {
77423
- const root = join67(home2, ".switchroom");
77618
+ const root = join68(home2, ".switchroom");
77424
77619
  return [
77425
- join67(root, "vault"),
77426
- join67(root, "vault-auto-unlock"),
77427
- join67(root, "vault-audit.log"),
77428
- join67(root, "host-control-audit.log"),
77429
- join67(root, "accounts"),
77430
- join67(root, "compose")
77620
+ join68(root, "vault"),
77621
+ join68(root, "vault-auto-unlock"),
77622
+ join68(root, "vault-audit.log"),
77623
+ join68(root, "host-control-audit.log"),
77624
+ join68(root, "accounts"),
77625
+ join68(root, "compose")
77431
77626
  ];
77432
77627
  }
77433
77628
  function restoreOperatorOwnership(home2, operatorUid, deps = {}) {
@@ -77476,7 +77671,7 @@ function restoreOperatorOwnership(home2, operatorUid, deps = {}) {
77476
77671
  } catch {}
77477
77672
  if (isDir(target)) {
77478
77673
  for (const entry of readdir2(target)) {
77479
- visit(join67(target, entry));
77674
+ visit(join68(target, entry));
77480
77675
  }
77481
77676
  }
77482
77677
  };
@@ -77490,14 +77685,14 @@ var EMBEDDED_EXAMPLES = {
77490
77685
  switchroom: switchroom_default,
77491
77686
  minimal: minimal_default
77492
77687
  };
77493
- var DEFAULT_COMPOSE_PATH2 = join68(homedir38(), ".switchroom", "compose", "docker-compose.yml");
77688
+ var DEFAULT_COMPOSE_PATH2 = join69(homedir39(), ".switchroom", "compose", "docker-compose.yml");
77494
77689
  var COMPOSE_PROJECT2 = "switchroom";
77495
77690
  function resolveVaultBindMountDir(homeDir, ctx) {
77496
77691
  const isCustomPath = ctx.migrationKind === "custom-path-skipped";
77497
77692
  if (isCustomPath && ctx.customVaultPath) {
77498
77693
  return dirname21(ctx.customVaultPath);
77499
77694
  }
77500
- return join68(homeDir, ".switchroom", "vault");
77695
+ return join69(homeDir, ".switchroom", "vault");
77501
77696
  }
77502
77697
  function inspectVaultBindMountDir(vaultDir) {
77503
77698
  if (!existsSync69(vaultDir))
@@ -77526,44 +77721,44 @@ function hasVaultRefs(value) {
77526
77721
  return false;
77527
77722
  }
77528
77723
  async function ensureHostMountSources(config) {
77529
- const home2 = homedir38();
77724
+ const home2 = homedir39();
77530
77725
  const dirs = [
77531
- join68(home2, ".switchroom", "approvals"),
77532
- join68(home2, ".switchroom", "scheduler"),
77533
- join68(home2, ".switchroom", "logs"),
77534
- join68(home2, ".switchroom", "compose"),
77535
- join68(home2, ".switchroom", "broker-operator")
77726
+ join69(home2, ".switchroom", "approvals"),
77727
+ join69(home2, ".switchroom", "scheduler"),
77728
+ join69(home2, ".switchroom", "logs"),
77729
+ join69(home2, ".switchroom", "compose"),
77730
+ join69(home2, ".switchroom", "broker-operator")
77536
77731
  ];
77537
77732
  for (const name of Object.keys(config.agents)) {
77538
- dirs.push(join68(home2, ".switchroom", "agents", name));
77539
- dirs.push(join68(home2, ".switchroom", "logs", name));
77540
- dirs.push(join68(home2, ".claude", "projects", name));
77541
- dirs.push(join68(home2, ".switchroom", "audit", name));
77542
- if (existsSync69(join68(home2, ".switchroom-config"))) {
77543
- dirs.push(join68(home2, ".switchroom-config", "agents", name, "personal-skills"));
77733
+ dirs.push(join69(home2, ".switchroom", "agents", name));
77734
+ dirs.push(join69(home2, ".switchroom", "logs", name));
77735
+ dirs.push(join69(home2, ".claude", "projects", name));
77736
+ dirs.push(join69(home2, ".switchroom", "audit", name));
77737
+ if (existsSync69(join69(home2, ".switchroom-config"))) {
77738
+ dirs.push(join69(home2, ".switchroom-config", "agents", name, "personal-skills"));
77544
77739
  }
77545
77740
  }
77546
77741
  for (const dir of dirs) {
77547
77742
  await mkdir(dir, { recursive: true });
77548
77743
  }
77549
- const autoUnlockPath = join68(home2, ".switchroom", "vault-auto-unlock");
77744
+ const autoUnlockPath = join69(home2, ".switchroom", "vault-auto-unlock");
77550
77745
  if (!existsSync69(autoUnlockPath)) {
77551
77746
  writeFileSync35(autoUnlockPath, "", { mode: 384 });
77552
77747
  }
77553
- const auditLogPath = join68(home2, ".switchroom", "vault-audit.log");
77748
+ const auditLogPath = join69(home2, ".switchroom", "vault-audit.log");
77554
77749
  if (!existsSync69(auditLogPath)) {
77555
77750
  writeFileSync35(auditLogPath, "", { mode: 420 });
77556
77751
  }
77557
- const grantsDbPath = join68(home2, ".switchroom", "vault-grants.db");
77752
+ const grantsDbPath = join69(home2, ".switchroom", "vault-grants.db");
77558
77753
  if (!existsSync69(grantsDbPath)) {
77559
77754
  writeFileSync35(grantsDbPath, "", { mode: 384 });
77560
77755
  }
77561
- const hostdAuditLogPath = join68(home2, ".switchroom", "host-control-audit.log");
77756
+ const hostdAuditLogPath = join69(home2, ".switchroom", "host-control-audit.log");
77562
77757
  if (!existsSync69(hostdAuditLogPath)) {
77563
77758
  writeFileSync35(hostdAuditLogPath, "", { mode: 420 });
77564
77759
  }
77565
77760
  for (const name of Object.keys(config.agents)) {
77566
- const tokenPath = join68(home2, ".switchroom", "agents", name, ".vault-token");
77761
+ const tokenPath = join69(home2, ".switchroom", "agents", name, ".vault-token");
77567
77762
  if (!existsSync69(tokenPath)) {
77568
77763
  writeFileSync35(tokenPath, "", { mode: 384 });
77569
77764
  }
@@ -77572,15 +77767,15 @@ async function ensureHostMountSources(config) {
77572
77767
  chownSync4(tokenPath, uid, uid);
77573
77768
  } catch {}
77574
77769
  }
77575
- const fleetDir = join68(home2, ".switchroom", "fleet");
77770
+ const fleetDir = join69(home2, ".switchroom", "fleet");
77576
77771
  await mkdir(fleetDir, { recursive: true });
77577
- const invariantsPath = join68(fleetDir, "switchroom-invariants.md");
77772
+ const invariantsPath = join69(fleetDir, "switchroom-invariants.md");
77578
77773
  const invariantsCanonical = renderFleetInvariants();
77579
77774
  const invariantsCurrent = existsSync69(invariantsPath) ? readFileSync56(invariantsPath, "utf-8") : null;
77580
77775
  if (invariantsCurrent !== invariantsCanonical) {
77581
77776
  writeFileSync35(invariantsPath, invariantsCanonical, { mode: 420 });
77582
77777
  }
77583
- const fleetClaudePath = join68(fleetDir, "CLAUDE.md");
77778
+ const fleetClaudePath = join69(fleetDir, "CLAUDE.md");
77584
77779
  if (!existsSync69(fleetClaudePath)) {
77585
77780
  writeFileSync35(fleetClaudePath, [
77586
77781
  "# Switchroom fleet defaults",
@@ -77663,10 +77858,10 @@ function detectAndReportLegacyGdriveSlots(vaultPath) {
77663
77858
  `));
77664
77859
  }
77665
77860
  }
77666
- function writeInstallTypeCache(homeDir = homedir38()) {
77861
+ function writeInstallTypeCache(homeDir = homedir39()) {
77667
77862
  const ctx = detectInstallType();
77668
- const dir = join68(homeDir, ".switchroom");
77669
- const out = join68(dir, "install-type.json");
77863
+ const dir = join69(homeDir, ".switchroom");
77864
+ const out = join69(dir, "install-type.json");
77670
77865
  const tmp = `${out}.tmp`;
77671
77866
  mkdirSync38(dir, { recursive: true });
77672
77867
  const payload = {
@@ -77715,14 +77910,14 @@ Applying switchroom config...
77715
77910
  writeOut(source_default.green(` + ${name}`) + source_default.gray(` (${agentConfig.extends ?? "default"}) \u2014 ${detail}
77716
77911
  `));
77717
77912
  try {
77718
- installUpdatePromptHook(join68(agentsDir, name));
77913
+ installUpdatePromptHook(join69(agentsDir, name));
77719
77914
  } catch (hookErr) {
77720
77915
  writeOut(source_default.gray(` (update-prompt hook install failed for ${name}: ${hookErr.message})
77721
77916
  `));
77722
77917
  }
77723
77918
  try {
77724
77919
  const uid = allocateAgentUid(name);
77725
- alignAgentUid(name, join68(agentsDir, name), uid, {
77920
+ alignAgentUid(name, join69(agentsDir, name), uid, {
77726
77921
  confirm: !options.nonInteractive,
77727
77922
  writeOut
77728
77923
  });
@@ -77759,7 +77954,7 @@ Applying switchroom config...
77759
77954
  for (const name of agentNames) {
77760
77955
  try {
77761
77956
  const uid = allocateAgentUid(name);
77762
- alignAgentUid(name, join68(agentsDir, name), uid, {
77957
+ alignAgentUid(name, join69(agentsDir, name), uid, {
77763
77958
  confirm: !options.nonInteractive,
77764
77959
  writeOut
77765
77960
  });
@@ -77773,7 +77968,7 @@ Applying switchroom config...
77773
77968
  }
77774
77969
  const vaultPathConfigured = config.vault?.path;
77775
77970
  const customVaultPath = vaultPathConfigured ? resolvePath(vaultPathConfigured) : undefined;
77776
- const migrationResult = migrateVaultLayout(homedir38(), {
77971
+ const migrationResult = migrateVaultLayout(homedir39(), {
77777
77972
  customVaultPath
77778
77973
  });
77779
77974
  switch (migrationResult.kind) {
@@ -77799,7 +77994,7 @@ Applying switchroom config...
77799
77994
  writeErr(formatDivergentRecoveryMessage(migrationResult.details));
77800
77995
  process.exit(4);
77801
77996
  }
77802
- const postMigrationInspect = inspectVaultLayout(homedir38());
77997
+ const postMigrationInspect = inspectVaultLayout(homedir39());
77803
77998
  const acceptable = [
77804
77999
  "no-vault",
77805
78000
  "already-migrated",
@@ -77814,7 +78009,7 @@ Applying switchroom config...
77814
78009
  `));
77815
78010
  process.exit(5);
77816
78011
  }
77817
- const vaultDir = resolveVaultBindMountDir(homedir38(), {
78012
+ const vaultDir = resolveVaultBindMountDir(homedir39(), {
77818
78013
  migrationKind: migrationResult.kind,
77819
78014
  customVaultPath
77820
78015
  });
@@ -77844,7 +78039,7 @@ Applying switchroom config...
77844
78039
  imageTag: composeImageTag,
77845
78040
  buildMode: options.buildLocal ? "local" : "pull",
77846
78041
  buildContext: options.buildContext,
77847
- homeDir: homedir38(),
78042
+ homeDir: homedir39(),
77848
78043
  switchroomConfigPath,
77849
78044
  operatorUid
77850
78045
  });
@@ -77864,7 +78059,7 @@ Wrote `) + composePath + source_default.gray(` (${composeBytes} bytes)
77864
78059
  writeOut(source_default.gray(` (If pull returns 401, login to ghcr.io first: see docs/operators/install.md#ghcr-auth)
77865
78060
  `));
77866
78061
  if (process.geteuid?.() === 0 && operatorUid !== undefined) {
77867
- const restored = restoreOperatorOwnership(homedir38(), operatorUid);
78062
+ const restored = restoreOperatorOwnership(homedir39(), operatorUid);
77868
78063
  if (restored.length > 0) {
77869
78064
  writeOut(source_default.gray(` Restored operator ownership of ${restored.length} ~/.switchroom path(s)
77870
78065
  `));
@@ -77934,7 +78129,7 @@ function findUnwritableAgentDirs(config, opts) {
77934
78129
  const targets = opts.only ? [opts.only] : Object.keys(config.agents ?? {});
77935
78130
  const unwritable = [];
77936
78131
  for (const name of targets) {
77937
- const startSh = join68(agentsDir, name, "start.sh");
78132
+ const startSh = join69(agentsDir, name, "start.sh");
77938
78133
  if (!existsSync69(startSh))
77939
78134
  continue;
77940
78135
  try {
@@ -78114,8 +78309,8 @@ function runRedactStdin() {
78114
78309
 
78115
78310
  // src/cli/status-ask.ts
78116
78311
  import { readFileSync as readFileSync57, existsSync as existsSync70, readdirSync as readdirSync26 } from "node:fs";
78117
- import { join as join69 } from "node:path";
78118
- import { homedir as homedir39 } from "node:os";
78312
+ import { join as join70 } from "node:path";
78313
+ import { homedir as homedir40 } from "node:os";
78119
78314
 
78120
78315
  // src/status-ask/report.ts
78121
78316
  function parseJsonl(content) {
@@ -78450,7 +78645,7 @@ function resolveSources(explicitPath) {
78450
78645
  const config = loadConfig();
78451
78646
  agentsDir = resolveAgentsDir(config);
78452
78647
  } catch {
78453
- agentsDir = join69(homedir39(), ".switchroom", "agents");
78648
+ agentsDir = join70(homedir40(), ".switchroom", "agents");
78454
78649
  }
78455
78650
  if (!existsSync70(agentsDir))
78456
78651
  return [];
@@ -78462,7 +78657,7 @@ function resolveSources(explicitPath) {
78462
78657
  return [];
78463
78658
  }
78464
78659
  for (const name of entries) {
78465
- const path8 = join69(agentsDir, name, "runtime-metrics.jsonl");
78660
+ const path8 = join70(agentsDir, name, "runtime-metrics.jsonl");
78466
78661
  if (existsSync70(path8)) {
78467
78662
  sources.push({ path: path8, agent: name });
78468
78663
  }
@@ -78484,17 +78679,17 @@ function inferAgentFromPath(p) {
78484
78679
 
78485
78680
  // src/cli/agent-config.ts
78486
78681
  init_helpers();
78487
- import { join as join70 } from "node:path";
78488
- import { homedir as homedir40 } from "node:os";
78682
+ import { join as join71 } from "node:path";
78683
+ import { homedir as homedir41 } from "node:os";
78489
78684
  import {
78490
78685
  existsSync as existsSync71,
78491
78686
  mkdirSync as mkdirSync39,
78492
78687
  appendFileSync as appendFileSync4,
78493
78688
  readFileSync as readFileSync58
78494
78689
  } from "node:fs";
78495
- var AUDIT_ROOT = join70(homedir40(), ".switchroom", "audit");
78690
+ var AUDIT_ROOT = join71(homedir41(), ".switchroom", "audit");
78496
78691
  function auditPathFor(agent) {
78497
- return join70(AUDIT_ROOT, agent, "agent-config.jsonl");
78692
+ return join71(AUDIT_ROOT, agent, "agent-config.jsonl");
78498
78693
  }
78499
78694
  function appendAudit(agent, cmd, args, exit, opts = {}) {
78500
78695
  const row = {
@@ -78752,21 +78947,21 @@ import {
78752
78947
  unlinkSync as unlinkSync14,
78753
78948
  writeSync as writeSync8
78754
78949
  } from "node:fs";
78755
- import { join as join71, resolve as resolve44 } from "node:path";
78950
+ import { join as join72, resolve as resolve44 } from "node:path";
78756
78951
  var STAGING_SUBDIR = ".staging";
78757
78952
  function overlayPathsFor(agent, opts = {}) {
78758
78953
  const base = opts.root ? resolve44(opts.root, agent) : resolve44(resolveDualPath(`~/.switchroom/agents/${agent}`));
78759
- const scheduleDir = join71(base, "schedule.d");
78760
- const scheduleStagingDir = join71(scheduleDir, STAGING_SUBDIR);
78761
- const skillsDir = join71(base, "skills.d");
78762
- const skillsStagingDir = join71(skillsDir, STAGING_SUBDIR);
78954
+ const scheduleDir = join72(base, "schedule.d");
78955
+ const scheduleStagingDir = join72(scheduleDir, STAGING_SUBDIR);
78956
+ const skillsDir = join72(base, "skills.d");
78957
+ const skillsStagingDir = join72(skillsDir, STAGING_SUBDIR);
78763
78958
  return {
78764
78959
  agentRoot: base,
78765
78960
  scheduleDir,
78766
78961
  scheduleStagingDir,
78767
78962
  skillsDir,
78768
78963
  skillsStagingDir,
78769
- lockPath: join71(base, ".lock"),
78964
+ lockPath: join72(base, ".lock"),
78770
78965
  stagingDir: scheduleStagingDir
78771
78966
  };
78772
78967
  }
@@ -78820,8 +79015,8 @@ function writeOverlayEntry(agent, slug, yamlText, opts = {}) {
78820
79015
  const paths = overlayPathsFor(agent, opts);
78821
79016
  return withAgentLock(paths, () => {
78822
79017
  ensureDirs(paths);
78823
- const stagingPath = join71(paths.scheduleStagingDir, `${slug}.yaml`);
78824
- const finalPath = join71(paths.scheduleDir, `${slug}.yaml`);
79018
+ const stagingPath = join72(paths.scheduleStagingDir, `${slug}.yaml`);
79019
+ const finalPath = join72(paths.scheduleDir, `${slug}.yaml`);
78825
79020
  const fd = openSync13(stagingPath, "w", 384);
78826
79021
  try {
78827
79022
  writeSync8(fd, yamlText);
@@ -78837,8 +79032,8 @@ function writeSkillsOverlayEntry(agent, slug, yamlText, opts = {}) {
78837
79032
  const paths = overlayPathsFor(agent, opts);
78838
79033
  return withAgentLock(paths, () => {
78839
79034
  ensureSkillsDirs(paths);
78840
- const stagingPath = join71(paths.skillsStagingDir, `${slug}.yaml`);
78841
- const finalPath = join71(paths.skillsDir, `${slug}.yaml`);
79035
+ const stagingPath = join72(paths.skillsStagingDir, `${slug}.yaml`);
79036
+ const finalPath = join72(paths.skillsDir, `${slug}.yaml`);
78842
79037
  const fd = openSync13(stagingPath, "w", 384);
78843
79038
  try {
78844
79039
  writeSync8(fd, yamlText);
@@ -78853,7 +79048,7 @@ function writeSkillsOverlayEntry(agent, slug, yamlText, opts = {}) {
78853
79048
  function deleteSkillsOverlayEntry(agent, slug, opts = {}) {
78854
79049
  const paths = overlayPathsFor(agent, opts);
78855
79050
  return withAgentLock(paths, () => {
78856
- const finalPath = join71(paths.skillsDir, `${slug}.yaml`);
79051
+ const finalPath = join72(paths.skillsDir, `${slug}.yaml`);
78857
79052
  if (!existsSync72(finalPath))
78858
79053
  return false;
78859
79054
  unlinkSync14(finalPath);
@@ -78868,7 +79063,7 @@ function listSkillsOverlayEntries(agent, opts = {}) {
78868
79063
  for (const name of readdirSync27(paths.skillsDir)) {
78869
79064
  if (!/\.ya?ml$/i.test(name))
78870
79065
  continue;
78871
- const full = join71(paths.skillsDir, name);
79066
+ const full = join72(paths.skillsDir, name);
78872
79067
  try {
78873
79068
  const raw = readFileSync59(full, "utf-8");
78874
79069
  const slug = name.replace(/\.ya?ml$/i, "");
@@ -78880,7 +79075,7 @@ function listSkillsOverlayEntries(agent, opts = {}) {
78880
79075
  function deleteOverlayEntry(agent, slug, opts = {}) {
78881
79076
  const paths = overlayPathsFor(agent, opts);
78882
79077
  return withAgentLock(paths, () => {
78883
- const finalPath = join71(paths.scheduleDir, `${slug}.yaml`);
79078
+ const finalPath = join72(paths.scheduleDir, `${slug}.yaml`);
78884
79079
  if (!existsSync72(finalPath))
78885
79080
  return false;
78886
79081
  unlinkSync14(finalPath);
@@ -78895,7 +79090,7 @@ function listOverlayEntries(agent, opts = {}) {
78895
79090
  for (const name of readdirSync27(paths.scheduleDir)) {
78896
79091
  if (!/\.ya?ml$/i.test(name))
78897
79092
  continue;
78898
- const full = join71(paths.scheduleDir, name);
79093
+ const full = join72(paths.scheduleDir, name);
78899
79094
  try {
78900
79095
  const raw = readFileSync59(full, "utf-8");
78901
79096
  const slug = name.replace(/\.ya?ml$/i, "");
@@ -79051,12 +79246,12 @@ import {
79051
79246
  writeFileSync as writeFileSync36,
79052
79247
  writeSync as writeSync9
79053
79248
  } from "node:fs";
79054
- import { join as join72 } from "node:path";
79249
+ import { join as join73 } from "node:path";
79055
79250
  import { randomBytes as randomBytes14 } from "node:crypto";
79056
79251
  var STAGE_ID_PREFIX = "cap_";
79057
79252
  function pendingDir(agent, opts = {}) {
79058
79253
  const paths = overlayPathsFor(agent, opts);
79059
- return join72(paths.scheduleDir, ".pending");
79254
+ return join73(paths.scheduleDir, ".pending");
79060
79255
  }
79061
79256
  function ensurePendingDir(agent, opts = {}) {
79062
79257
  const dir = pendingDir(agent, opts);
@@ -79069,8 +79264,8 @@ function newStageId() {
79069
79264
  function stagePendingScheduleEntry(opts) {
79070
79265
  const dir = ensurePendingDir(opts.agent, { root: opts.root });
79071
79266
  const stageId = opts.stageId ?? newStageId();
79072
- const yamlPath = join72(dir, `${stageId}.yaml`);
79073
- const metaPath = join72(dir, `${stageId}.meta.json`);
79267
+ const yamlPath = join73(dir, `${stageId}.yaml`);
79268
+ const metaPath = join73(dir, `${stageId}.meta.json`);
79074
79269
  const meta = {
79075
79270
  v: 1,
79076
79271
  stage_id: stageId,
@@ -79104,8 +79299,8 @@ function listPendingScheduleEntries(agent, opts = {}) {
79104
79299
  if (!name.endsWith(".meta.json"))
79105
79300
  continue;
79106
79301
  const stageId = name.slice(0, -".meta.json".length);
79107
- const metaPath = join72(dir, name);
79108
- const yamlPath = join72(dir, `${stageId}.yaml`);
79302
+ const metaPath = join73(dir, name);
79303
+ const yamlPath = join73(dir, `${stageId}.yaml`);
79109
79304
  if (!existsSync73(yamlPath))
79110
79305
  continue;
79111
79306
  try {
@@ -79124,7 +79319,7 @@ function commitPendingScheduleEntry(opts) {
79124
79319
  return { committed: false, reason: "not_found" };
79125
79320
  const slug = match.meta.entry.name ?? match.stageId;
79126
79321
  const paths = overlayPathsFor(opts.agent, { root: opts.root });
79127
- const finalPath = join72(paths.scheduleDir, `${slug}.yaml`);
79322
+ const finalPath = join73(paths.scheduleDir, `${slug}.yaml`);
79128
79323
  if (existsSync73(finalPath)) {
79129
79324
  return { committed: false, reason: "slug_collision" };
79130
79325
  }
@@ -79630,7 +79825,7 @@ var import_yaml16 = __toESM(require_dist(), 1);
79630
79825
  import { existsSync as existsSync75 } from "node:fs";
79631
79826
  init_reconcile_default_skills();
79632
79827
  var import_yaml17 = __toESM(require_dist(), 1);
79633
- import { join as join73 } from "node:path";
79828
+ import { join as join74 } from "node:path";
79634
79829
  var MAX_SKILLS_PER_AGENT = 20;
79635
79830
  var V1_ALLOWED_SOURCE_PREFIX = "bundled:";
79636
79831
  function exitCodeFor2(code) {
@@ -79705,7 +79900,7 @@ function skillInstall(opts) {
79705
79900
  return err("E_SKILL_QUOTA_EXCEEDED", `agent ${agent} already has ${used} overlay-installed skills (cap ${MAX_SKILLS_PER_AGENT})`);
79706
79901
  }
79707
79902
  const poolDir = opts.bundledSkillsPoolDir ?? getBundledSkillsPoolDir();
79708
- const skillPath = join73(poolDir, skillName);
79903
+ const skillPath = join74(poolDir, skillName);
79709
79904
  if (!existsSync75(skillPath)) {
79710
79905
  return err("E_SKILL_NOT_FOUND", `bundled skill not found at ${skillPath}. The operator needs to ` + `place the skill at this path before the agent can opt in.`);
79711
79906
  }
@@ -79883,8 +80078,8 @@ import {
79883
80078
  statSync as statSync29,
79884
80079
  writeFileSync as writeFileSync37
79885
80080
  } from "node:fs";
79886
- import { tmpdir as tmpdir4, homedir as homedir41 } from "node:os";
79887
- import { dirname as dirname22, join as join74, relative as relative2, resolve as resolve45 } from "node:path";
80081
+ import { tmpdir as tmpdir4, homedir as homedir42 } from "node:os";
80082
+ import { dirname as dirname22, join as join75, relative as relative2, resolve as resolve45 } from "node:path";
79888
80083
  import { spawnSync as spawnSync10 } from "node:child_process";
79889
80084
 
79890
80085
  // src/cli/skill-common.ts
@@ -80078,10 +80273,10 @@ function scanForClaudeP2(content) {
80078
80273
  function resolveSkillsPoolDir2(override) {
80079
80274
  const raw = override ?? "~/.switchroom/skills";
80080
80275
  if (raw.startsWith("~/")) {
80081
- return join74(homedir41(), raw.slice(2));
80276
+ return join75(homedir42(), raw.slice(2));
80082
80277
  }
80083
80278
  if (raw === "~")
80084
- return homedir41();
80279
+ return homedir42();
80085
80280
  return resolve45(raw);
80086
80281
  }
80087
80282
  function readStdinSync() {
@@ -80117,7 +80312,7 @@ function loadFromDir(dir) {
80117
80312
  const walk2 = (sub) => {
80118
80313
  const entries = readdirSync29(sub, { withFileTypes: true });
80119
80314
  for (const ent of entries) {
80120
- const full = join74(sub, ent.name);
80315
+ const full = join75(sub, ent.name);
80121
80316
  const rel = relative2(abs, full);
80122
80317
  if (ent.isSymbolicLink()) {
80123
80318
  fail2(`refusing to read symlink inside --from dir: ${rel}`);
@@ -80152,7 +80347,7 @@ function loadFromTarball(tarPath) {
80152
80347
  fail2(`tarball contains disallowed path: ${JSON.stringify(entry)} \u2014 ` + `refusing to extract before any file is written`);
80153
80348
  }
80154
80349
  }
80155
- const staging = mkdtempSync5(join74(tmpdir4(), "skill-apply-extract-"));
80350
+ const staging = mkdtempSync5(join75(tmpdir4(), "skill-apply-extract-"));
80156
80351
  try {
80157
80352
  const flags = isGz ? ["-xzf"] : ["-xf"];
80158
80353
  const r = spawnSync10("tar", [
@@ -80238,8 +80433,8 @@ function validatePayload(name, files) {
80238
80433
  errors2.push(`${path8} fails \`bash -n\` syntax check: ${(r.stderr ?? "").trim()}`);
80239
80434
  }
80240
80435
  } else if (PY_SCRIPT_RE2.test(path8)) {
80241
- const tmp = mkdtempSync5(join74(tmpdir4(), "skill-apply-py-"));
80242
- const tmpPy = join74(tmp, "check.py");
80436
+ const tmp = mkdtempSync5(join75(tmpdir4(), "skill-apply-py-"));
80437
+ const tmpPy = join75(tmp, "check.py");
80243
80438
  try {
80244
80439
  writeFileSync37(tmpPy, content);
80245
80440
  const r = spawnSync10("python3", ["-m", "py_compile", tmpPy], {
@@ -80262,7 +80457,7 @@ function diffSummary(currentDir, files) {
80262
80457
  if (existsSync76(currentDir)) {
80263
80458
  const walk2 = (sub) => {
80264
80459
  for (const ent of readdirSync29(sub, { withFileTypes: true })) {
80265
- const full = join74(sub, ent.name);
80460
+ const full = join75(sub, ent.name);
80266
80461
  const rel = relative2(currentDir, full);
80267
80462
  if (ent.isDirectory()) {
80268
80463
  walk2(full);
@@ -80298,7 +80493,7 @@ function writePayload(poolDir, name, files) {
80298
80493
  if (!existsSync76(poolDir)) {
80299
80494
  mkdirSync42(poolDir, { recursive: true, mode: 493 });
80300
80495
  }
80301
- const target = join74(poolDir, name);
80496
+ const target = join75(poolDir, name);
80302
80497
  let targetIsSymlink = false;
80303
80498
  try {
80304
80499
  const st = lstatSync8(target);
@@ -80309,11 +80504,11 @@ function writePayload(poolDir, name, files) {
80309
80504
  if (targetIsSymlink) {
80310
80505
  fail2(`refusing to overwrite symlink at ${target}; investigate manually`);
80311
80506
  }
80312
- const staging = mkdtempSync5(join74(poolDir, `.skill-apply-stage-${name}-`));
80507
+ const staging = mkdtempSync5(join75(poolDir, `.skill-apply-stage-${name}-`));
80313
80508
  let oldRename = null;
80314
80509
  try {
80315
80510
  for (const [path8, content] of Object.entries(files)) {
80316
- const full = join74(staging, path8);
80511
+ const full = join75(staging, path8);
80317
80512
  mkdirSync42(dirname22(full), { recursive: true, mode: 493 });
80318
80513
  const fd = openSync15(full, "wx");
80319
80514
  try {
@@ -80391,7 +80586,7 @@ function registerSkillCommand(program3) {
80391
80586
  }
80392
80587
  const config = loadConfig();
80393
80588
  const poolDir = resolveSkillsPoolDir2(config.switchroom?.skills_dir);
80394
- const currentDir = join74(poolDir, name);
80589
+ const currentDir = join75(poolDir, name);
80395
80590
  console.log(source_default.bold(`Skill: ${name}`) + source_default.gray(` (${Object.keys(files).length} files, ${sumBytes(files)} bytes)`));
80396
80591
  console.log(source_default.bold("Diff vs current pool content:"));
80397
80592
  console.log(diffSummary(currentDir, files));
@@ -80435,8 +80630,8 @@ import {
80435
80630
  utimesSync,
80436
80631
  writeFileSync as writeFileSync38
80437
80632
  } from "node:fs";
80438
- import { dirname as dirname23, join as join75, relative as relative3, resolve as resolve46 } from "node:path";
80439
- import { homedir as homedir42, tmpdir as tmpdir5 } from "node:os";
80633
+ import { dirname as dirname23, join as join76, relative as relative3, resolve as resolve46 } from "node:path";
80634
+ import { homedir as homedir43, tmpdir as tmpdir5 } from "node:os";
80440
80635
  import { spawnSync as spawnSync11 } from "node:child_process";
80441
80636
  init_helpers();
80442
80637
  init_source();
@@ -80446,10 +80641,10 @@ var TRASH_TTL_MS = 24 * 60 * 60 * 1000;
80446
80641
  var PERSONAL_SKILLS_SUBPATH = "personal-skills";
80447
80642
  function resolveConfigSkillsDir(agent) {
80448
80643
  const override = process.env.SWITCHROOM_CONFIG_DIR;
80449
- const candidate = override ? resolve46(override) : join75(homedir42(), ".switchroom-config");
80644
+ const candidate = override ? resolve46(override) : join76(homedir43(), ".switchroom-config");
80450
80645
  if (!existsSync77(candidate))
80451
80646
  return null;
80452
- return join75(candidate, "agents", agent, PERSONAL_SKILLS_SUBPATH);
80647
+ return join76(candidate, "agents", agent, PERSONAL_SKILLS_SUBPATH);
80453
80648
  }
80454
80649
  var MIRROR_PRIOR_TTL_MS = 24 * 60 * 60 * 1000;
80455
80650
  function sweepMirrorPriors(configSkillsRoot) {
@@ -80467,7 +80662,7 @@ function sweepMirrorPriors(configSkillsRoot) {
80467
80662
  if (now - ts < MIRROR_PRIOR_TTL_MS)
80468
80663
  continue;
80469
80664
  try {
80470
- rmSync17(join75(configSkillsRoot, ent), { recursive: true, force: true });
80665
+ rmSync17(join76(configSkillsRoot, ent), { recursive: true, force: true });
80471
80666
  } catch {}
80472
80667
  }
80473
80668
  } catch {}
@@ -80476,7 +80671,7 @@ function mirrorToConfigRepo(agent, name, liveSkillDir) {
80476
80671
  const configSkillsRoot = resolveConfigSkillsDir(agent);
80477
80672
  if (!configSkillsRoot)
80478
80673
  return;
80479
- const dest = join75(configSkillsRoot, name);
80674
+ const dest = join76(configSkillsRoot, name);
80480
80675
  try {
80481
80676
  if (liveSkillDir !== null) {
80482
80677
  try {
@@ -80491,19 +80686,19 @@ function mirrorToConfigRepo(agent, name, liveSkillDir) {
80491
80686
  if (liveSkillDir === null) {
80492
80687
  sweepMirrorPriors(configSkillsRoot);
80493
80688
  if (existsSync77(dest)) {
80494
- const trash = join75(configSkillsRoot, `.${name}-trash-${Date.now()}`);
80689
+ const trash = join76(configSkillsRoot, `.${name}-trash-${Date.now()}`);
80495
80690
  renameSync17(dest, trash);
80496
80691
  }
80497
80692
  return;
80498
80693
  }
80499
80694
  mkdirSync43(configSkillsRoot, { recursive: true, mode: 493 });
80500
80695
  sweepMirrorPriors(configSkillsRoot);
80501
- const staging = mkdtempSync6(join75(configSkillsRoot, `.${name}-staging-`));
80696
+ const staging = mkdtempSync6(join76(configSkillsRoot, `.${name}-staging-`));
80502
80697
  const walk2 = (src, dst) => {
80503
80698
  mkdirSync43(dst, { recursive: true, mode: 493 });
80504
80699
  for (const ent of readdirSync30(src, { withFileTypes: true })) {
80505
- const s = join75(src, ent.name);
80506
- const d = join75(dst, ent.name);
80700
+ const s = join76(src, ent.name);
80701
+ const d = join76(dst, ent.name);
80507
80702
  if (ent.isSymbolicLink())
80508
80703
  continue;
80509
80704
  if (ent.isDirectory())
@@ -80515,7 +80710,7 @@ function mirrorToConfigRepo(agent, name, liveSkillDir) {
80515
80710
  };
80516
80711
  walk2(liveSkillDir, staging);
80517
80712
  if (existsSync77(dest)) {
80518
- const prior = join75(configSkillsRoot, `.${name}-prior-${Date.now()}`);
80713
+ const prior = join76(configSkillsRoot, `.${name}-prior-${Date.now()}`);
80519
80714
  renameSync17(dest, prior);
80520
80715
  }
80521
80716
  renameSync17(staging, dest);
@@ -80542,13 +80737,13 @@ function resolveAgent(opts) {
80542
80737
  function resolveAgentsRoot(opts) {
80543
80738
  if (opts.root)
80544
80739
  return resolve46(opts.root);
80545
- return join75(homedir42(), ".switchroom", "agents");
80740
+ return join76(homedir43(), ".switchroom", "agents");
80546
80741
  }
80547
80742
  function personalSkillDir(agentsRoot, agent, name) {
80548
- return join75(agentsRoot, agent, ".claude", "skills", PERSONAL_PREFIX + name);
80743
+ return join76(agentsRoot, agent, ".claude", "skills", PERSONAL_PREFIX + name);
80549
80744
  }
80550
80745
  function trashDir(agentsRoot, agent) {
80551
- return join75(agentsRoot, agent, ".claude", TRASH_DIRNAME);
80746
+ return join76(agentsRoot, agent, ".claude", TRASH_DIRNAME);
80552
80747
  }
80553
80748
  function readStdinSync2() {
80554
80749
  const chunks = [];
@@ -80578,7 +80773,7 @@ function loadFromDir2(dir) {
80578
80773
  const files = {};
80579
80774
  const walk2 = (sub) => {
80580
80775
  for (const ent of readdirSync30(sub, { withFileTypes: true })) {
80581
- const full = join75(sub, ent.name);
80776
+ const full = join76(sub, ent.name);
80582
80777
  if (ent.isSymbolicLink()) {
80583
80778
  fail3(`refusing to read symlink in --from dir: ${relative3(abs, full)}`);
80584
80779
  }
@@ -80631,8 +80826,8 @@ function behavioralValidate(files) {
80631
80826
  errors2.push(`${path8} fails \`bash -n\`: ${(r.stderr ?? "").trim()}`);
80632
80827
  }
80633
80828
  } else if (PY_SCRIPT_RE.test(path8)) {
80634
- const tmp = mkdtempSync6(join75(tmpdir5(), "skill-personal-py-"));
80635
- const tmpPy = join75(tmp, "check.py");
80829
+ const tmp = mkdtempSync6(join76(tmpdir5(), "skill-personal-py-"));
80830
+ const tmpPy = join76(tmp, "check.py");
80636
80831
  try {
80637
80832
  writeFileSync38(tmpPy, content);
80638
80833
  const r = spawnSync11("python3", ["-m", "py_compile", tmpPy], {
@@ -80656,7 +80851,7 @@ function sweepTrash(agentsRoot, agent) {
80656
80851
  for (const ent of readdirSync30(trash, { withFileTypes: true })) {
80657
80852
  if (!ent.isDirectory())
80658
80853
  continue;
80659
- const entPath = join75(trash, ent.name);
80854
+ const entPath = join76(trash, ent.name);
80660
80855
  try {
80661
80856
  const st = statSync30(entPath);
80662
80857
  if (now - st.mtimeMs > TRASH_TTL_MS) {
@@ -80677,11 +80872,11 @@ function writePersonalSkill(targetDir, files) {
80677
80872
  fail3(`refusing to overwrite symlink at ${targetDir}; investigate manually`);
80678
80873
  }
80679
80874
  mkdirSync43(dirname23(targetDir), { recursive: true, mode: 493 });
80680
- const staging = mkdtempSync6(join75(dirname23(targetDir), `.skill-personal-stage-`));
80875
+ const staging = mkdtempSync6(join76(dirname23(targetDir), `.skill-personal-stage-`));
80681
80876
  let oldRename = null;
80682
80877
  try {
80683
80878
  for (const [path8, content] of Object.entries(files)) {
80684
- const full = join75(staging, path8);
80879
+ const full = join76(staging, path8);
80685
80880
  mkdirSync43(dirname23(full), { recursive: true, mode: 493 });
80686
80881
  const fd = openSync16(full, "wx");
80687
80882
  try {
@@ -80814,10 +81009,10 @@ function editPersonalAction(name, opts) {
80814
81009
  }
80815
81010
  var CLONE_SOURCE_RE = /^(shared|bundled):([a-z0-9][a-z0-9_-]{0,62})$/;
80816
81011
  function defaultSharedRoot() {
80817
- return join75(homedir42(), ".switchroom", "skills");
81012
+ return join76(homedir43(), ".switchroom", "skills");
80818
81013
  }
80819
81014
  function defaultBundledRoot() {
80820
- return join75(homedir42(), ".switchroom", "skills", "_bundled");
81015
+ return join76(homedir43(), ".switchroom", "skills", "_bundled");
80821
81016
  }
80822
81017
  function resolveCloneSource(source, opts) {
80823
81018
  const m = CLONE_SOURCE_RE.exec(source);
@@ -80827,7 +81022,7 @@ function resolveCloneSource(source, opts) {
80827
81022
  const tier = m[1];
80828
81023
  const slug = m[2];
80829
81024
  const root = tier === "bundled" ? opts.bundledRoot ?? defaultBundledRoot() : opts.sharedRoot ?? defaultSharedRoot();
80830
- const dir = join75(root, slug);
81025
+ const dir = join76(root, slug);
80831
81026
  if (!existsSync77(dir)) {
80832
81027
  fail3(`clone source ${JSON.stringify(source)} not found at ${dir}; ` + `check \`switchroom skill search --tier ${tier}\``, 1);
80833
81028
  }
@@ -80843,7 +81038,7 @@ function readSourceFiles(dir) {
80843
81038
  const skipped = [];
80844
81039
  const walk2 = (sub) => {
80845
81040
  for (const ent of readdirSync30(sub, { withFileTypes: true })) {
80846
- const full = join75(sub, ent.name);
81041
+ const full = join76(sub, ent.name);
80847
81042
  if (ent.isSymbolicLink()) {
80848
81043
  continue;
80849
81044
  }
@@ -80954,7 +81149,7 @@ function removePersonalAction(name, opts) {
80954
81149
  const trashRoot = trashDir(agentsRoot, agent);
80955
81150
  mkdirSync43(trashRoot, { recursive: true, mode: 493 });
80956
81151
  const ts = Date.now();
80957
- const trashTarget = join75(trashRoot, `${name}-${ts}`);
81152
+ const trashTarget = join76(trashRoot, `${name}-${ts}`);
80958
81153
  renameSync17(target, trashTarget);
80959
81154
  const now = new Date(ts);
80960
81155
  utimesSync(trashTarget, now, now);
@@ -80973,7 +81168,7 @@ function listPersonalAction(opts) {
80973
81168
  const agent = resolveAgent(opts);
80974
81169
  const agentsRoot = resolveAgentsRoot(opts);
80975
81170
  sweepTrash(agentsRoot, agent);
80976
- const skillsDir = join75(agentsRoot, agent, ".claude", "skills");
81171
+ const skillsDir = join76(agentsRoot, agent, ".claude", "skills");
80977
81172
  const personal = [];
80978
81173
  if (existsSync77(skillsDir)) {
80979
81174
  for (const ent of readdirSync30(skillsDir, { withFileTypes: true })) {
@@ -80982,7 +81177,7 @@ function listPersonalAction(opts) {
80982
81177
  if (!ent.name.startsWith(PERSONAL_PREFIX))
80983
81178
  continue;
80984
81179
  const skillName = ent.name.slice(PERSONAL_PREFIX.length);
80985
- const skillPath = join75(skillsDir, ent.name);
81180
+ const skillPath = join76(skillsDir, ent.name);
80986
81181
  let fileCount = 0;
80987
81182
  let totalBytes = 0;
80988
81183
  const walk2 = (sub) => {
@@ -80990,10 +81185,10 @@ function listPersonalAction(opts) {
80990
81185
  if (e.isFile()) {
80991
81186
  fileCount += 1;
80992
81187
  try {
80993
- totalBytes += statSync30(join75(sub, e.name)).size;
81188
+ totalBytes += statSync30(join76(sub, e.name)).size;
80994
81189
  } catch {}
80995
81190
  } else if (e.isDirectory()) {
80996
- walk2(join75(sub, e.name));
81191
+ walk2(join76(sub, e.name));
80997
81192
  }
80998
81193
  }
80999
81194
  };
@@ -81033,22 +81228,22 @@ function registerSkillPersonalCommands(program3) {
81033
81228
  init_helpers();
81034
81229
  var import_yaml19 = __toESM(require_dist(), 1);
81035
81230
  import { existsSync as existsSync78, readdirSync as readdirSync31, readFileSync as readFileSync64, statSync as statSync31 } from "node:fs";
81036
- import { homedir as homedir43 } from "node:os";
81037
- import { join as join76, resolve as resolve47 } from "node:path";
81231
+ import { homedir as homedir44 } from "node:os";
81232
+ import { join as join77, resolve as resolve47 } from "node:path";
81038
81233
  var PERSONAL_PREFIX2 = "personal-";
81039
81234
  var BUNDLED_SUBDIR = "_bundled";
81040
81235
  var AGENT_NAME_RE3 = /^[a-z][a-z0-9_-]{0,62}$/;
81041
81236
  function defaultAgentsRoot() {
81042
- return resolve47(homedir43(), ".switchroom/agents");
81237
+ return resolve47(homedir44(), ".switchroom/agents");
81043
81238
  }
81044
81239
  function defaultSharedRoot2() {
81045
- return resolve47(homedir43(), ".switchroom/skills");
81240
+ return resolve47(homedir44(), ".switchroom/skills");
81046
81241
  }
81047
81242
  function defaultBundledRoot2() {
81048
- return resolve47(homedir43(), ".switchroom/skills/_bundled");
81243
+ return resolve47(homedir44(), ".switchroom/skills/_bundled");
81049
81244
  }
81050
81245
  function readSkillFrontmatter(skillDir) {
81051
- const mdPath = join76(skillDir, "SKILL.md");
81246
+ const mdPath = join77(skillDir, "SKILL.md");
81052
81247
  if (!existsSync78(mdPath))
81053
81248
  return null;
81054
81249
  let content;
@@ -81081,7 +81276,7 @@ function readSkillFrontmatter(skillDir) {
81081
81276
  return { fm: parsed };
81082
81277
  }
81083
81278
  function statSkillMd(skillDir) {
81084
- const mdPath = join76(skillDir, "SKILL.md");
81279
+ const mdPath = join77(skillDir, "SKILL.md");
81085
81280
  try {
81086
81281
  const st = statSync31(mdPath);
81087
81282
  return { size: st.size, mtime: st.mtime.toISOString() };
@@ -81092,7 +81287,7 @@ function statSkillMd(skillDir) {
81092
81287
  function listPersonalSkills(agent, agentsRoot = defaultAgentsRoot()) {
81093
81288
  if (!AGENT_NAME_RE3.test(agent))
81094
81289
  return [];
81095
- const skillsDir = join76(agentsRoot, agent, ".claude/skills");
81290
+ const skillsDir = join77(agentsRoot, agent, ".claude/skills");
81096
81291
  if (!existsSync78(skillsDir))
81097
81292
  return [];
81098
81293
  const out = [];
@@ -81105,7 +81300,7 @@ function listPersonalSkills(agent, agentsRoot = defaultAgentsRoot()) {
81105
81300
  for (const ent of entries) {
81106
81301
  if (!ent.startsWith(PERSONAL_PREFIX2))
81107
81302
  continue;
81108
- const dirPath = join76(skillsDir, ent);
81303
+ const dirPath = join77(skillsDir, ent);
81109
81304
  try {
81110
81305
  if (!statSync31(dirPath).isDirectory())
81111
81306
  continue;
@@ -81145,7 +81340,7 @@ function listSharedSkills(sharedRoot = defaultSharedRoot2()) {
81145
81340
  continue;
81146
81341
  if (ent.startsWith("."))
81147
81342
  continue;
81148
- const dirPath = join76(sharedRoot, ent);
81343
+ const dirPath = join77(sharedRoot, ent);
81149
81344
  try {
81150
81345
  if (!statSync31(dirPath).isDirectory())
81151
81346
  continue;
@@ -81181,7 +81376,7 @@ function listBundledSkills(bundledRoot = defaultBundledRoot2()) {
81181
81376
  for (const ent of entries) {
81182
81377
  if (ent.startsWith("."))
81183
81378
  continue;
81184
- const dirPath = join76(bundledRoot, ent);
81379
+ const dirPath = join77(bundledRoot, ent);
81185
81380
  try {
81186
81381
  if (!statSync31(dirPath).isDirectory())
81187
81382
  continue;
@@ -81326,8 +81521,8 @@ function registerHostdMcpCommand(program3) {
81326
81521
  init_source();
81327
81522
  init_helpers();
81328
81523
  import { existsSync as existsSync80, mkdirSync as mkdirSync44, readdirSync as readdirSync32, readFileSync as readFileSync66, writeFileSync as writeFileSync39, statSync as statSync32, copyFileSync as copyFileSync12 } from "node:fs";
81329
- import { homedir as homedir44 } from "node:os";
81330
- import { join as join77 } from "node:path";
81524
+ import { homedir as homedir45 } from "node:os";
81525
+ import { join as join78 } from "node:path";
81331
81526
  import { spawnSync as spawnSync13 } from "node:child_process";
81332
81527
  init_audit_reader();
81333
81528
  var DEFAULT_IMAGE_TAG = "latest";
@@ -81418,10 +81613,10 @@ networks:
81418
81613
  `;
81419
81614
  }
81420
81615
  function hostdDir() {
81421
- return join77(homedir44(), ".switchroom", "hostd");
81616
+ return join78(homedir45(), ".switchroom", "hostd");
81422
81617
  }
81423
81618
  function hostdComposePath() {
81424
- return join77(hostdDir(), "docker-compose.yml");
81619
+ return join78(hostdDir(), "docker-compose.yml");
81425
81620
  }
81426
81621
  function backupExistingCompose() {
81427
81622
  const p = hostdComposePath();
@@ -81460,7 +81655,7 @@ async function doInstall(opts, program3) {
81460
81655
  const composePath = hostdComposePath();
81461
81656
  mkdirSync44(dir, { recursive: true });
81462
81657
  const yaml = renderHostdComposeFile({
81463
- hostHome: homedir44(),
81658
+ hostHome: homedir45(),
81464
81659
  imageTag: opts.tag ?? DEFAULT_IMAGE_TAG,
81465
81660
  operatorUid: resolveOperatorUid()
81466
81661
  });
@@ -81529,7 +81724,7 @@ function doStatus() {
81529
81724
  for (const name of readdirSync32(dir)) {
81530
81725
  if (name === "docker-compose.yml" || name.startsWith("docker-compose.yml."))
81531
81726
  continue;
81532
- const sockPath = join77(dir, name, "sock");
81727
+ const sockPath = join78(dir, name, "sock");
81533
81728
  if (existsSync80(sockPath)) {
81534
81729
  const st = statSync32(sockPath);
81535
81730
  if ((st.mode & 61440) === 49152) {