switchroom 0.16.29 → 0.16.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/agent-scheduler/index.js +101 -84
  2. package/dist/auth-broker/index.js +100 -83
  3. package/dist/cli/autoaccept-poll.js +8 -8
  4. package/dist/cli/drive-write-pretool.mjs +10 -10
  5. package/dist/cli/notion-write-pretool.mjs +102 -85
  6. package/dist/cli/skill-validate-pretool.mjs +91 -91
  7. package/dist/cli/switchroom.js +62124 -60406
  8. package/dist/cli/ui/index.html +877 -214
  9. package/dist/host-control/main.js +1000 -256
  10. package/dist/vault/approvals/kernel-server.js +141 -121
  11. package/dist/vault/broker/server.js +163 -143
  12. package/examples/minimal.yaml +1 -1
  13. package/examples/switchroom.yaml +1 -1
  14. package/package.json +3 -2
  15. package/profiles/_shared/agent-self-service.md.hbs +7 -2
  16. package/profiles/_shared/reply-discipline.md.hbs +9 -0
  17. package/skills/switchroom-status/SKILL.md +1 -1
  18. package/telegram-plugin/auth-snapshot-format.ts +173 -67
  19. package/telegram-plugin/auto-fallback-fleet.ts +3 -6
  20. package/telegram-plugin/bridge/bridge.ts +2 -1
  21. package/telegram-plugin/card-format.ts +59 -3
  22. package/telegram-plugin/credits-watch.ts +4 -7
  23. package/telegram-plugin/dist/bridge/bridge.js +132 -114
  24. package/telegram-plugin/dist/gateway/gateway.js +4456 -1591
  25. package/telegram-plugin/dist/server.js +180 -163
  26. package/telegram-plugin/format.ts +551 -20
  27. package/telegram-plugin/gateway/approval-card.ts +7 -14
  28. package/telegram-plugin/gateway/approvals-commands.ts +6 -9
  29. package/telegram-plugin/gateway/auth-command.ts +35 -38
  30. package/telegram-plugin/gateway/boot-card.ts +7 -2
  31. package/telegram-plugin/gateway/chat-id-fallback.ts +46 -0
  32. package/telegram-plugin/gateway/config-approval-handler.ts +6 -9
  33. package/telegram-plugin/gateway/diff-preview-card.ts +3 -6
  34. package/telegram-plugin/gateway/gateway.ts +1524 -129
  35. package/telegram-plugin/gateway/ipc-protocol.ts +66 -2
  36. package/telegram-plugin/gateway/ipc-server.ts +91 -1
  37. package/telegram-plugin/gateway/linear-activity.ts +2 -5
  38. package/telegram-plugin/gateway/model-command.ts +173 -19
  39. package/telegram-plugin/gateway/obligation-turn-end.ts +27 -0
  40. package/telegram-plugin/gateway/permission-card-store.ts +104 -0
  41. package/telegram-plugin/gateway/permission-timeout.ts +25 -6
  42. package/telegram-plugin/gateway/status-pin-store.ts +302 -0
  43. package/telegram-plugin/gateway/turns-jsonl-rotate.ts +30 -0
  44. package/telegram-plugin/gateway/unhandled-rejection-policy.ts +12 -1
  45. package/telegram-plugin/gateway/vault-grant-inbound-builders.ts +35 -0
  46. package/telegram-plugin/gateway/vault-request-access-card.ts +61 -0
  47. package/telegram-plugin/history.ts +17 -7
  48. package/telegram-plugin/hooks/tool-label-pretool.d.mts +12 -0
  49. package/telegram-plugin/hooks/tool-label-pretool.mjs +54 -16
  50. package/telegram-plugin/idle-footer.ts +2 -2
  51. package/telegram-plugin/issues-card.ts +12 -7
  52. package/telegram-plugin/model-unavailable.ts +3 -6
  53. package/telegram-plugin/operator-events.ts +4 -6
  54. package/telegram-plugin/package.json +1 -1
  55. package/telegram-plugin/quota-check.ts +2 -2
  56. package/telegram-plugin/quota-watch.ts +7 -10
  57. package/telegram-plugin/server.ts +3 -1
  58. package/telegram-plugin/session-tail.ts +47 -1
  59. package/telegram-plugin/status-pin-driver.ts +102 -0
  60. package/telegram-plugin/status-pin.ts +76 -0
  61. package/telegram-plugin/stream-reply-handler.ts +33 -2
  62. package/telegram-plugin/subagent-watcher.ts +6 -3
  63. package/telegram-plugin/tests/always-allow-grant.test.ts +34 -2
  64. package/telegram-plugin/tests/auth-command-format2.test.ts +6 -2
  65. package/telegram-plugin/tests/auth-command-vernacular.test.ts +18 -0
  66. package/telegram-plugin/tests/auth-snapshot-format.test.ts +204 -45
  67. package/telegram-plugin/tests/card-format.test.ts +79 -0
  68. package/telegram-plugin/tests/chat-id-fallback.test.ts +74 -0
  69. package/telegram-plugin/tests/claude-code-event-contract.test.ts +151 -0
  70. package/telegram-plugin/tests/codespan-escaping-golden.test.ts +166 -0
  71. package/telegram-plugin/tests/credits-watch.test.ts +18 -0
  72. package/telegram-plugin/tests/format-consistency.test.ts +223 -0
  73. package/telegram-plugin/tests/formatting-parse-regression.test.ts +272 -0
  74. package/telegram-plugin/tests/formatting-torture-set.ts +218 -0
  75. package/telegram-plugin/tests/history.test.ts +38 -2
  76. package/telegram-plugin/tests/idle-footer.test.ts +53 -9
  77. package/telegram-plugin/tests/ipc-server-validate-rollout-status.test.ts +66 -0
  78. package/telegram-plugin/tests/issues-card.test.ts +24 -0
  79. package/telegram-plugin/tests/model-command.test.ts +213 -47
  80. package/telegram-plugin/tests/obligation-turn-end.test.ts +76 -0
  81. package/telegram-plugin/tests/paragraph-normalizer.test.ts +384 -3
  82. package/telegram-plugin/tests/permission-card-single-edit.test.ts +66 -0
  83. package/telegram-plugin/tests/permission-card-store.test.ts +83 -0
  84. package/telegram-plugin/tests/permission-timeout.test.ts +37 -6
  85. package/telegram-plugin/tests/permission-verdict-resume-guard.test.ts +23 -6
  86. package/telegram-plugin/tests/quota-check.test.ts +9 -2
  87. package/telegram-plugin/tests/quota-watch.test.ts +7 -7
  88. package/telegram-plugin/tests/rich-markdown-oracle.ts +469 -0
  89. package/telegram-plugin/tests/rollout-status-wiring.test.ts +81 -0
  90. package/telegram-plugin/tests/session-tail.test.ts +91 -0
  91. package/telegram-plugin/tests/status-pin-boot-recovery.test.ts +294 -0
  92. package/telegram-plugin/tests/status-pin-service-message-suppression.test.ts +210 -0
  93. package/telegram-plugin/tests/status-pin-store.test.ts +450 -0
  94. package/telegram-plugin/tests/status-pin.test.ts +202 -0
  95. package/telegram-plugin/tests/status-vocabulary-unification.test.ts +125 -0
  96. package/telegram-plugin/tests/stream-reply-handler.test.ts +39 -0
  97. package/telegram-plugin/tests/telegram-format.test.ts +121 -8
  98. package/telegram-plugin/tests/text-voice-scrub.test.ts +142 -22
  99. package/telegram-plugin/tests/tool-activity-summary.test.ts +88 -25
  100. package/telegram-plugin/tests/tts-normalize.test.ts +242 -0
  101. package/telegram-plugin/tests/turns-jsonl-rotate.test.ts +39 -0
  102. package/telegram-plugin/tests/unhandled-rejection-policy.test.ts +12 -0
  103. package/telegram-plugin/tests/vault-grant-inbound-builders.test.ts +54 -0
  104. package/telegram-plugin/tests/vault-request-access-card.test.ts +94 -0
  105. package/telegram-plugin/tests/vault-request-access-tool.test.ts +24 -0
  106. package/telegram-plugin/tests/voice-normalize-text.test.ts +256 -0
  107. package/telegram-plugin/tests/voice-ondemand.test.ts +299 -0
  108. package/telegram-plugin/tests/voice-out-one-send.test.ts +153 -0
  109. package/telegram-plugin/tests/voice-presynth.test.ts +437 -0
  110. package/telegram-plugin/tests/voice-synthesize-sidecar.test.ts +352 -0
  111. package/telegram-plugin/tests/voice-transcribe-sidecar.test.ts +332 -0
  112. package/telegram-plugin/tests/voice-transcribe.test.ts +188 -0
  113. package/telegram-plugin/tests/worker-activity-feed.test.ts +77 -10
  114. package/telegram-plugin/text-voice-scrub.ts +68 -18
  115. package/telegram-plugin/tool-activity-summary.ts +31 -116
  116. package/telegram-plugin/tts-normalize.ts +377 -0
  117. package/telegram-plugin/uat/driver.ts +474 -17
  118. package/telegram-plugin/uat/scenarios/jtbd-model-litellm-sr-dm.test.ts +34 -14
  119. package/telegram-plugin/uat/scenarios/jtbd-multipart-render-dm.test.ts +169 -0
  120. package/telegram-plugin/uat/scenarios/jtbd-narration-intent-dm.test.ts +134 -0
  121. package/telegram-plugin/uat/scenarios/jtbd-rich-formatting-render-dm.test.ts +254 -0
  122. package/telegram-plugin/uat/scenarios/jtbd-status-phase-transitions-dm.test.ts +109 -0
  123. package/telegram-plugin/uat/uat-driver.test.ts +297 -0
  124. package/telegram-plugin/voice-normalize-text.ts +340 -0
  125. package/telegram-plugin/voice-ondemand.ts +289 -0
  126. package/telegram-plugin/voice-presynth.ts +242 -0
  127. package/telegram-plugin/voice-synthesize-sidecar.ts +259 -0
  128. package/telegram-plugin/voice-synthesize.ts +128 -0
  129. package/telegram-plugin/voice-transcribe-sidecar.ts +176 -0
  130. package/telegram-plugin/worker-activity-feed.ts +22 -5
@@ -16,7 +16,7 @@ var __export = (target, all) => {
16
16
  };
17
17
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
18
18
 
19
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
19
+ // node_modules/yaml/dist/nodes/identity.js
20
20
  var require_identity = __commonJS((exports) => {
21
21
  var ALIAS = Symbol.for("yaml.alias");
22
22
  var DOC = Symbol.for("yaml.document");
@@ -70,7 +70,7 @@ var require_identity = __commonJS((exports) => {
70
70
  exports.isSeq = isSeq;
71
71
  });
72
72
 
73
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
73
+ // node_modules/yaml/dist/visit.js
74
74
  var require_visit = __commonJS((exports) => {
75
75
  var identity = require_identity();
76
76
  var BREAK = Symbol("break visit");
@@ -225,7 +225,7 @@ var require_visit = __commonJS((exports) => {
225
225
  exports.visitAsync = visitAsync;
226
226
  });
227
227
 
228
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
228
+ // node_modules/yaml/dist/doc/directives.js
229
229
  var require_directives = __commonJS((exports) => {
230
230
  var identity = require_identity();
231
231
  var visit = require_visit();
@@ -377,7 +377,7 @@ var require_directives = __commonJS((exports) => {
377
377
  exports.Directives = Directives;
378
378
  });
379
379
 
380
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
380
+ // node_modules/yaml/dist/doc/anchors.js
381
381
  var require_anchors = __commonJS((exports) => {
382
382
  var identity = require_identity();
383
383
  var visit = require_visit();
@@ -439,7 +439,7 @@ var require_anchors = __commonJS((exports) => {
439
439
  exports.findNewAnchor = findNewAnchor;
440
440
  });
441
441
 
442
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
442
+ // node_modules/yaml/dist/doc/applyReviver.js
443
443
  var require_applyReviver = __commonJS((exports) => {
444
444
  function applyReviver(reviver, obj, key, val) {
445
445
  if (val && typeof val === "object") {
@@ -486,7 +486,7 @@ var require_applyReviver = __commonJS((exports) => {
486
486
  exports.applyReviver = applyReviver;
487
487
  });
488
488
 
489
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
489
+ // node_modules/yaml/dist/nodes/toJS.js
490
490
  var require_toJS = __commonJS((exports) => {
491
491
  var identity = require_identity();
492
492
  function toJS(value, arg, ctx) {
@@ -513,7 +513,7 @@ var require_toJS = __commonJS((exports) => {
513
513
  exports.toJS = toJS;
514
514
  });
515
515
 
516
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
516
+ // node_modules/yaml/dist/nodes/Node.js
517
517
  var require_Node = __commonJS((exports) => {
518
518
  var applyReviver = require_applyReviver();
519
519
  var identity = require_identity();
@@ -550,7 +550,7 @@ var require_Node = __commonJS((exports) => {
550
550
  exports.NodeBase = NodeBase;
551
551
  });
552
552
 
553
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
553
+ // node_modules/yaml/dist/nodes/Alias.js
554
554
  var require_Alias = __commonJS((exports) => {
555
555
  var anchors = require_anchors();
556
556
  var visit = require_visit();
@@ -658,7 +658,7 @@ var require_Alias = __commonJS((exports) => {
658
658
  exports.Alias = Alias;
659
659
  });
660
660
 
661
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
661
+ // node_modules/yaml/dist/nodes/Scalar.js
662
662
  var require_Scalar = __commonJS((exports) => {
663
663
  var identity = require_identity();
664
664
  var Node = require_Node();
@@ -686,7 +686,7 @@ var require_Scalar = __commonJS((exports) => {
686
686
  exports.isScalarValue = isScalarValue;
687
687
  });
688
688
 
689
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
689
+ // node_modules/yaml/dist/doc/createNode.js
690
690
  var require_createNode = __commonJS((exports) => {
691
691
  var Alias = require_Alias();
692
692
  var identity = require_identity();
@@ -758,7 +758,7 @@ var require_createNode = __commonJS((exports) => {
758
758
  exports.createNode = createNode;
759
759
  });
760
760
 
761
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
761
+ // node_modules/yaml/dist/nodes/Collection.js
762
762
  var require_Collection = __commonJS((exports) => {
763
763
  var createNode = require_createNode();
764
764
  var identity = require_identity();
@@ -873,7 +873,7 @@ var require_Collection = __commonJS((exports) => {
873
873
  exports.isEmptyPath = isEmptyPath;
874
874
  });
875
875
 
876
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
876
+ // node_modules/yaml/dist/stringify/stringifyComment.js
877
877
  var require_stringifyComment = __commonJS((exports) => {
878
878
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
879
879
  function indentComment(comment, indent) {
@@ -890,7 +890,7 @@ var require_stringifyComment = __commonJS((exports) => {
890
890
  exports.stringifyComment = stringifyComment;
891
891
  });
892
892
 
893
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
893
+ // node_modules/yaml/dist/stringify/foldFlowLines.js
894
894
  var require_foldFlowLines = __commonJS((exports) => {
895
895
  var FOLD_FLOW = "flow";
896
896
  var FOLD_BLOCK = "block";
@@ -1027,7 +1027,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
1027
1027
  exports.foldFlowLines = foldFlowLines;
1028
1028
  });
1029
1029
 
1030
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
1030
+ // node_modules/yaml/dist/stringify/stringifyString.js
1031
1031
  var require_stringifyString = __commonJS((exports) => {
1032
1032
  var Scalar = require_Scalar();
1033
1033
  var foldFlowLines = require_foldFlowLines();
@@ -1325,7 +1325,7 @@ ${indent}`);
1325
1325
  exports.stringifyString = stringifyString;
1326
1326
  });
1327
1327
 
1328
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
1328
+ // node_modules/yaml/dist/stringify/stringify.js
1329
1329
  var require_stringify = __commonJS((exports) => {
1330
1330
  var anchors = require_anchors();
1331
1331
  var identity = require_identity();
@@ -1446,7 +1446,7 @@ ${ctx.indent}${str}`;
1446
1446
  exports.stringify = stringify;
1447
1447
  });
1448
1448
 
1449
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
1449
+ // node_modules/yaml/dist/stringify/stringifyPair.js
1450
1450
  var require_stringifyPair = __commonJS((exports) => {
1451
1451
  var identity = require_identity();
1452
1452
  var Scalar = require_Scalar();
@@ -1582,7 +1582,7 @@ ${ctx.indent}`;
1582
1582
  exports.stringifyPair = stringifyPair;
1583
1583
  });
1584
1584
 
1585
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
1585
+ // node_modules/yaml/dist/log.js
1586
1586
  var require_log = __commonJS((exports) => {
1587
1587
  var node_process = __require("process");
1588
1588
  function debug(logLevel, ...messages) {
@@ -1601,7 +1601,7 @@ var require_log = __commonJS((exports) => {
1601
1601
  exports.warn = warn;
1602
1602
  });
1603
1603
 
1604
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1604
+ // node_modules/yaml/dist/schema/yaml-1.1/merge.js
1605
1605
  var require_merge = __commonJS((exports) => {
1606
1606
  var identity = require_identity();
1607
1607
  var Scalar = require_Scalar();
@@ -1655,7 +1655,7 @@ var require_merge = __commonJS((exports) => {
1655
1655
  exports.merge = merge;
1656
1656
  });
1657
1657
 
1658
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
1658
+ // node_modules/yaml/dist/nodes/addPairToJSMap.js
1659
1659
  var require_addPairToJSMap = __commonJS((exports) => {
1660
1660
  var log = require_log();
1661
1661
  var merge = require_merge();
@@ -1716,7 +1716,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
1716
1716
  exports.addPairToJSMap = addPairToJSMap;
1717
1717
  });
1718
1718
 
1719
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
1719
+ // node_modules/yaml/dist/nodes/Pair.js
1720
1720
  var require_Pair = __commonJS((exports) => {
1721
1721
  var createNode = require_createNode();
1722
1722
  var stringifyPair = require_stringifyPair();
@@ -1754,7 +1754,7 @@ var require_Pair = __commonJS((exports) => {
1754
1754
  exports.createPair = createPair;
1755
1755
  });
1756
1756
 
1757
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
1757
+ // node_modules/yaml/dist/stringify/stringifyCollection.js
1758
1758
  var require_stringifyCollection = __commonJS((exports) => {
1759
1759
  var identity = require_identity();
1760
1760
  var stringify = require_stringify();
@@ -1906,7 +1906,7 @@ ${indent}${end}`;
1906
1906
  exports.stringifyCollection = stringifyCollection;
1907
1907
  });
1908
1908
 
1909
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
1909
+ // node_modules/yaml/dist/nodes/YAMLMap.js
1910
1910
  var require_YAMLMap = __commonJS((exports) => {
1911
1911
  var stringifyCollection = require_stringifyCollection();
1912
1912
  var addPairToJSMap = require_addPairToJSMap();
@@ -2033,7 +2033,7 @@ var require_YAMLMap = __commonJS((exports) => {
2033
2033
  exports.findPair = findPair;
2034
2034
  });
2035
2035
 
2036
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
2036
+ // node_modules/yaml/dist/schema/common/map.js
2037
2037
  var require_map = __commonJS((exports) => {
2038
2038
  var identity = require_identity();
2039
2039
  var YAMLMap = require_YAMLMap();
@@ -2052,7 +2052,7 @@ var require_map = __commonJS((exports) => {
2052
2052
  exports.map = map;
2053
2053
  });
2054
2054
 
2055
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
2055
+ // node_modules/yaml/dist/nodes/YAMLSeq.js
2056
2056
  var require_YAMLSeq = __commonJS((exports) => {
2057
2057
  var createNode = require_createNode();
2058
2058
  var stringifyCollection = require_stringifyCollection();
@@ -2145,7 +2145,7 @@ var require_YAMLSeq = __commonJS((exports) => {
2145
2145
  exports.YAMLSeq = YAMLSeq;
2146
2146
  });
2147
2147
 
2148
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
2148
+ // node_modules/yaml/dist/schema/common/seq.js
2149
2149
  var require_seq = __commonJS((exports) => {
2150
2150
  var identity = require_identity();
2151
2151
  var YAMLSeq = require_YAMLSeq();
@@ -2164,7 +2164,7 @@ var require_seq = __commonJS((exports) => {
2164
2164
  exports.seq = seq;
2165
2165
  });
2166
2166
 
2167
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
2167
+ // node_modules/yaml/dist/schema/common/string.js
2168
2168
  var require_string = __commonJS((exports) => {
2169
2169
  var stringifyString = require_stringifyString();
2170
2170
  var string = {
@@ -2180,7 +2180,7 @@ var require_string = __commonJS((exports) => {
2180
2180
  exports.string = string;
2181
2181
  });
2182
2182
 
2183
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
2183
+ // node_modules/yaml/dist/schema/common/null.js
2184
2184
  var require_null = __commonJS((exports) => {
2185
2185
  var Scalar = require_Scalar();
2186
2186
  var nullTag = {
@@ -2195,7 +2195,7 @@ var require_null = __commonJS((exports) => {
2195
2195
  exports.nullTag = nullTag;
2196
2196
  });
2197
2197
 
2198
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
2198
+ // node_modules/yaml/dist/schema/core/bool.js
2199
2199
  var require_bool = __commonJS((exports) => {
2200
2200
  var Scalar = require_Scalar();
2201
2201
  var boolTag = {
@@ -2216,7 +2216,7 @@ var require_bool = __commonJS((exports) => {
2216
2216
  exports.boolTag = boolTag;
2217
2217
  });
2218
2218
 
2219
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
2219
+ // node_modules/yaml/dist/stringify/stringifyNumber.js
2220
2220
  var require_stringifyNumber = __commonJS((exports) => {
2221
2221
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2222
2222
  if (typeof value === "bigint")
@@ -2240,7 +2240,7 @@ var require_stringifyNumber = __commonJS((exports) => {
2240
2240
  exports.stringifyNumber = stringifyNumber;
2241
2241
  });
2242
2242
 
2243
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
2243
+ // node_modules/yaml/dist/schema/core/float.js
2244
2244
  var require_float = __commonJS((exports) => {
2245
2245
  var Scalar = require_Scalar();
2246
2246
  var stringifyNumber = require_stringifyNumber();
@@ -2283,7 +2283,7 @@ var require_float = __commonJS((exports) => {
2283
2283
  exports.floatNaN = floatNaN;
2284
2284
  });
2285
2285
 
2286
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
2286
+ // node_modules/yaml/dist/schema/core/int.js
2287
2287
  var require_int = __commonJS((exports) => {
2288
2288
  var stringifyNumber = require_stringifyNumber();
2289
2289
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2325,7 +2325,7 @@ var require_int = __commonJS((exports) => {
2325
2325
  exports.intOct = intOct;
2326
2326
  });
2327
2327
 
2328
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
2328
+ // node_modules/yaml/dist/schema/core/schema.js
2329
2329
  var require_schema = __commonJS((exports) => {
2330
2330
  var map = require_map();
2331
2331
  var _null = require_null();
@@ -2350,7 +2350,7 @@ var require_schema = __commonJS((exports) => {
2350
2350
  exports.schema = schema;
2351
2351
  });
2352
2352
 
2353
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
2353
+ // node_modules/yaml/dist/schema/json/schema.js
2354
2354
  var require_schema2 = __commonJS((exports) => {
2355
2355
  var Scalar = require_Scalar();
2356
2356
  var map = require_map();
@@ -2414,7 +2414,7 @@ var require_schema2 = __commonJS((exports) => {
2414
2414
  exports.schema = schema;
2415
2415
  });
2416
2416
 
2417
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2417
+ // node_modules/yaml/dist/schema/yaml-1.1/binary.js
2418
2418
  var require_binary = __commonJS((exports) => {
2419
2419
  var node_buffer = __require("buffer");
2420
2420
  var Scalar = require_Scalar();
@@ -2469,7 +2469,7 @@ var require_binary = __commonJS((exports) => {
2469
2469
  exports.binary = binary;
2470
2470
  });
2471
2471
 
2472
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2472
+ // node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2473
2473
  var require_pairs = __commonJS((exports) => {
2474
2474
  var identity = require_identity();
2475
2475
  var Pair = require_Pair();
@@ -2544,7 +2544,7 @@ ${cn.comment}` : item.comment;
2544
2544
  exports.resolvePairs = resolvePairs;
2545
2545
  });
2546
2546
 
2547
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2547
+ // node_modules/yaml/dist/schema/yaml-1.1/omap.js
2548
2548
  var require_omap = __commonJS((exports) => {
2549
2549
  var identity = require_identity();
2550
2550
  var toJS = require_toJS();
@@ -2616,7 +2616,7 @@ var require_omap = __commonJS((exports) => {
2616
2616
  exports.omap = omap;
2617
2617
  });
2618
2618
 
2619
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2619
+ // node_modules/yaml/dist/schema/yaml-1.1/bool.js
2620
2620
  var require_bool2 = __commonJS((exports) => {
2621
2621
  var Scalar = require_Scalar();
2622
2622
  function boolStringify({ value, source }, ctx) {
@@ -2645,7 +2645,7 @@ var require_bool2 = __commonJS((exports) => {
2645
2645
  exports.trueTag = trueTag;
2646
2646
  });
2647
2647
 
2648
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
2648
+ // node_modules/yaml/dist/schema/yaml-1.1/float.js
2649
2649
  var require_float2 = __commonJS((exports) => {
2650
2650
  var Scalar = require_Scalar();
2651
2651
  var stringifyNumber = require_stringifyNumber();
@@ -2691,7 +2691,7 @@ var require_float2 = __commonJS((exports) => {
2691
2691
  exports.floatNaN = floatNaN;
2692
2692
  });
2693
2693
 
2694
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
2694
+ // node_modules/yaml/dist/schema/yaml-1.1/int.js
2695
2695
  var require_int2 = __commonJS((exports) => {
2696
2696
  var stringifyNumber = require_stringifyNumber();
2697
2697
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2767,7 +2767,7 @@ var require_int2 = __commonJS((exports) => {
2767
2767
  exports.intOct = intOct;
2768
2768
  });
2769
2769
 
2770
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
2770
+ // node_modules/yaml/dist/schema/yaml-1.1/set.js
2771
2771
  var require_set = __commonJS((exports) => {
2772
2772
  var identity = require_identity();
2773
2773
  var Pair = require_Pair();
@@ -2850,7 +2850,7 @@ var require_set = __commonJS((exports) => {
2850
2850
  exports.set = set;
2851
2851
  });
2852
2852
 
2853
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2853
+ // node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2854
2854
  var require_timestamp = __commonJS((exports) => {
2855
2855
  var stringifyNumber = require_stringifyNumber();
2856
2856
  function parseSexagesimal(str, asBigInt) {
@@ -2932,7 +2932,7 @@ var require_timestamp = __commonJS((exports) => {
2932
2932
  exports.timestamp = timestamp;
2933
2933
  });
2934
2934
 
2935
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2935
+ // node_modules/yaml/dist/schema/yaml-1.1/schema.js
2936
2936
  var require_schema3 = __commonJS((exports) => {
2937
2937
  var map = require_map();
2938
2938
  var _null = require_null();
@@ -2973,7 +2973,7 @@ var require_schema3 = __commonJS((exports) => {
2973
2973
  exports.schema = schema;
2974
2974
  });
2975
2975
 
2976
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
2976
+ // node_modules/yaml/dist/schema/tags.js
2977
2977
  var require_tags = __commonJS((exports) => {
2978
2978
  var map = require_map();
2979
2979
  var _null = require_null();
@@ -3064,7 +3064,7 @@ var require_tags = __commonJS((exports) => {
3064
3064
  exports.getTags = getTags;
3065
3065
  });
3066
3066
 
3067
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
3067
+ // node_modules/yaml/dist/schema/Schema.js
3068
3068
  var require_Schema = __commonJS((exports) => {
3069
3069
  var identity = require_identity();
3070
3070
  var map = require_map();
@@ -3094,7 +3094,7 @@ var require_Schema = __commonJS((exports) => {
3094
3094
  exports.Schema = Schema;
3095
3095
  });
3096
3096
 
3097
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
3097
+ // node_modules/yaml/dist/stringify/stringifyDocument.js
3098
3098
  var require_stringifyDocument = __commonJS((exports) => {
3099
3099
  var identity = require_identity();
3100
3100
  var stringify = require_stringify();
@@ -3174,7 +3174,7 @@ var require_stringifyDocument = __commonJS((exports) => {
3174
3174
  exports.stringifyDocument = stringifyDocument;
3175
3175
  });
3176
3176
 
3177
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
3177
+ // node_modules/yaml/dist/doc/Document.js
3178
3178
  var require_Document = __commonJS((exports) => {
3179
3179
  var Alias = require_Alias();
3180
3180
  var Collection = require_Collection();
@@ -3409,7 +3409,7 @@ var require_Document = __commonJS((exports) => {
3409
3409
  exports.Document = Document;
3410
3410
  });
3411
3411
 
3412
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
3412
+ // node_modules/yaml/dist/errors.js
3413
3413
  var require_errors = __commonJS((exports) => {
3414
3414
  class YAMLError extends Error {
3415
3415
  constructor(name, pos, code, message) {
@@ -3474,7 +3474,7 @@ ${pointer}
3474
3474
  exports.prettifyError = prettifyError;
3475
3475
  });
3476
3476
 
3477
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
3477
+ // node_modules/yaml/dist/compose/resolve-props.js
3478
3478
  var require_resolve_props = __commonJS((exports) => {
3479
3479
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3480
3480
  let spaceBefore = false;
@@ -3604,7 +3604,7 @@ var require_resolve_props = __commonJS((exports) => {
3604
3604
  exports.resolveProps = resolveProps;
3605
3605
  });
3606
3606
 
3607
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
3607
+ // node_modules/yaml/dist/compose/util-contains-newline.js
3608
3608
  var require_util_contains_newline = __commonJS((exports) => {
3609
3609
  function containsNewline(key) {
3610
3610
  if (!key)
@@ -3644,7 +3644,7 @@ var require_util_contains_newline = __commonJS((exports) => {
3644
3644
  exports.containsNewline = containsNewline;
3645
3645
  });
3646
3646
 
3647
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
3647
+ // node_modules/yaml/dist/compose/util-flow-indent-check.js
3648
3648
  var require_util_flow_indent_check = __commonJS((exports) => {
3649
3649
  var utilContainsNewline = require_util_contains_newline();
3650
3650
  function flowIndentCheck(indent, fc, onError) {
@@ -3659,7 +3659,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
3659
3659
  exports.flowIndentCheck = flowIndentCheck;
3660
3660
  });
3661
3661
 
3662
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
3662
+ // node_modules/yaml/dist/compose/util-map-includes.js
3663
3663
  var require_util_map_includes = __commonJS((exports) => {
3664
3664
  var identity = require_identity();
3665
3665
  function mapIncludes(ctx, items, search) {
@@ -3672,7 +3672,7 @@ var require_util_map_includes = __commonJS((exports) => {
3672
3672
  exports.mapIncludes = mapIncludes;
3673
3673
  });
3674
3674
 
3675
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
3675
+ // node_modules/yaml/dist/compose/resolve-block-map.js
3676
3676
  var require_resolve_block_map = __commonJS((exports) => {
3677
3677
  var Pair = require_Pair();
3678
3678
  var YAMLMap = require_YAMLMap();
@@ -3779,7 +3779,7 @@ var require_resolve_block_map = __commonJS((exports) => {
3779
3779
  exports.resolveBlockMap = resolveBlockMap;
3780
3780
  });
3781
3781
 
3782
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
3782
+ // node_modules/yaml/dist/compose/resolve-block-seq.js
3783
3783
  var require_resolve_block_seq = __commonJS((exports) => {
3784
3784
  var YAMLSeq = require_YAMLSeq();
3785
3785
  var resolveProps = require_resolve_props();
@@ -3827,7 +3827,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
3827
3827
  exports.resolveBlockSeq = resolveBlockSeq;
3828
3828
  });
3829
3829
 
3830
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
3830
+ // node_modules/yaml/dist/compose/resolve-end.js
3831
3831
  var require_resolve_end = __commonJS((exports) => {
3832
3832
  function resolveEnd(end, offset, reqSpace, onError) {
3833
3833
  let comment = "";
@@ -3867,7 +3867,7 @@ var require_resolve_end = __commonJS((exports) => {
3867
3867
  exports.resolveEnd = resolveEnd;
3868
3868
  });
3869
3869
 
3870
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
3870
+ // node_modules/yaml/dist/compose/resolve-flow-collection.js
3871
3871
  var require_resolve_flow_collection = __commonJS((exports) => {
3872
3872
  var identity = require_identity();
3873
3873
  var Pair = require_Pair();
@@ -4058,7 +4058,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
4058
4058
  exports.resolveFlowCollection = resolveFlowCollection;
4059
4059
  });
4060
4060
 
4061
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
4061
+ // node_modules/yaml/dist/compose/compose-collection.js
4062
4062
  var require_compose_collection = __commonJS((exports) => {
4063
4063
  var identity = require_identity();
4064
4064
  var Scalar = require_Scalar();
@@ -4120,7 +4120,7 @@ var require_compose_collection = __commonJS((exports) => {
4120
4120
  exports.composeCollection = composeCollection;
4121
4121
  });
4122
4122
 
4123
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
4123
+ // node_modules/yaml/dist/compose/resolve-block-scalar.js
4124
4124
  var require_resolve_block_scalar = __commonJS((exports) => {
4125
4125
  var Scalar = require_Scalar();
4126
4126
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -4313,7 +4313,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
4313
4313
  exports.resolveBlockScalar = resolveBlockScalar;
4314
4314
  });
4315
4315
 
4316
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4316
+ // node_modules/yaml/dist/compose/resolve-flow-scalar.js
4317
4317
  var require_resolve_flow_scalar = __commonJS((exports) => {
4318
4318
  var Scalar = require_Scalar();
4319
4319
  var resolveEnd = require_resolve_end();
@@ -4529,7 +4529,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
4529
4529
  exports.resolveFlowScalar = resolveFlowScalar;
4530
4530
  });
4531
4531
 
4532
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
4532
+ // node_modules/yaml/dist/compose/compose-scalar.js
4533
4533
  var require_compose_scalar = __commonJS((exports) => {
4534
4534
  var identity = require_identity();
4535
4535
  var Scalar = require_Scalar();
@@ -4607,7 +4607,7 @@ var require_compose_scalar = __commonJS((exports) => {
4607
4607
  exports.composeScalar = composeScalar;
4608
4608
  });
4609
4609
 
4610
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4610
+ // node_modules/yaml/dist/compose/util-empty-scalar-position.js
4611
4611
  var require_util_empty_scalar_position = __commonJS((exports) => {
4612
4612
  function emptyScalarPosition(offset, before, pos) {
4613
4613
  if (before) {
@@ -4634,7 +4634,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
4634
4634
  exports.emptyScalarPosition = emptyScalarPosition;
4635
4635
  });
4636
4636
 
4637
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
4637
+ // node_modules/yaml/dist/compose/compose-node.js
4638
4638
  var require_compose_node = __commonJS((exports) => {
4639
4639
  var Alias = require_Alias();
4640
4640
  var identity = require_identity();
@@ -4737,7 +4737,7 @@ var require_compose_node = __commonJS((exports) => {
4737
4737
  exports.composeNode = composeNode;
4738
4738
  });
4739
4739
 
4740
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
4740
+ // node_modules/yaml/dist/compose/compose-doc.js
4741
4741
  var require_compose_doc = __commonJS((exports) => {
4742
4742
  var Document = require_Document();
4743
4743
  var composeNode = require_compose_node();
@@ -4777,7 +4777,7 @@ var require_compose_doc = __commonJS((exports) => {
4777
4777
  exports.composeDoc = composeDoc;
4778
4778
  });
4779
4779
 
4780
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
4780
+ // node_modules/yaml/dist/compose/composer.js
4781
4781
  var require_composer = __commonJS((exports) => {
4782
4782
  var node_process = __require("process");
4783
4783
  var directives = require_directives();
@@ -4966,7 +4966,7 @@ ${end.comment}` : end.comment;
4966
4966
  exports.Composer = Composer;
4967
4967
  });
4968
4968
 
4969
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
4969
+ // node_modules/yaml/dist/parse/cst-scalar.js
4970
4970
  var require_cst_scalar = __commonJS((exports) => {
4971
4971
  var resolveBlockScalar = require_resolve_block_scalar();
4972
4972
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5156,7 +5156,7 @@ var require_cst_scalar = __commonJS((exports) => {
5156
5156
  exports.setScalarValue = setScalarValue;
5157
5157
  });
5158
5158
 
5159
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
5159
+ // node_modules/yaml/dist/parse/cst-stringify.js
5160
5160
  var require_cst_stringify = __commonJS((exports) => {
5161
5161
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5162
5162
  function stringifyToken(token) {
@@ -5214,7 +5214,7 @@ var require_cst_stringify = __commonJS((exports) => {
5214
5214
  exports.stringify = stringify;
5215
5215
  });
5216
5216
 
5217
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
5217
+ // node_modules/yaml/dist/parse/cst-visit.js
5218
5218
  var require_cst_visit = __commonJS((exports) => {
5219
5219
  var BREAK = Symbol("break visit");
5220
5220
  var SKIP = Symbol("skip children");
@@ -5273,7 +5273,7 @@ var require_cst_visit = __commonJS((exports) => {
5273
5273
  exports.visit = visit;
5274
5274
  });
5275
5275
 
5276
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
5276
+ // node_modules/yaml/dist/parse/cst.js
5277
5277
  var require_cst = __commonJS((exports) => {
5278
5278
  var cstScalar = require_cst_scalar();
5279
5279
  var cstStringify = require_cst_stringify();
@@ -5374,7 +5374,7 @@ var require_cst = __commonJS((exports) => {
5374
5374
  exports.tokenType = tokenType;
5375
5375
  });
5376
5376
 
5377
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
5377
+ // node_modules/yaml/dist/parse/lexer.js
5378
5378
  var require_lexer = __commonJS((exports) => {
5379
5379
  var cst = require_cst();
5380
5380
  function isEmpty(ch) {
@@ -5960,7 +5960,7 @@ var require_lexer = __commonJS((exports) => {
5960
5960
  exports.Lexer = Lexer;
5961
5961
  });
5962
5962
 
5963
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
5963
+ // node_modules/yaml/dist/parse/line-counter.js
5964
5964
  var require_line_counter = __commonJS((exports) => {
5965
5965
  class LineCounter {
5966
5966
  constructor() {
@@ -5988,7 +5988,7 @@ var require_line_counter = __commonJS((exports) => {
5988
5988
  exports.LineCounter = LineCounter;
5989
5989
  });
5990
5990
 
5991
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
5991
+ // node_modules/yaml/dist/parse/parser.js
5992
5992
  var require_parser = __commonJS((exports) => {
5993
5993
  var node_process = __require("process");
5994
5994
  var cst = require_cst();
@@ -6837,7 +6837,7 @@ var require_parser = __commonJS((exports) => {
6837
6837
  exports.Parser = Parser;
6838
6838
  });
6839
6839
 
6840
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
6840
+ // node_modules/yaml/dist/public-api.js
6841
6841
  var require_public_api = __commonJS((exports) => {
6842
6842
  var composer = require_composer();
6843
6843
  var Document = require_Document();
@@ -6939,7 +6939,7 @@ import { readFileSync as readFileSync2, existsSync as existsSync3 } from "node:f
6939
6939
  import { homedir } from "node:os";
6940
6940
  import { resolve as resolve3 } from "node:path";
6941
6941
 
6942
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
6942
+ // node_modules/yaml/dist/index.js
6943
6943
  var composer = require_composer();
6944
6944
  var Document = require_Document();
6945
6945
  var Schema = require_Schema();
@@ -6985,7 +6985,7 @@ var $stringify = publicApi.stringify;
6985
6985
  var $visit = visit.visit;
6986
6986
  var $visitAsync = visit.visitAsync;
6987
6987
 
6988
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
6988
+ // node_modules/zod/v3/external.js
6989
6989
  var exports_external = {};
6990
6990
  __export(exports_external, {
6991
6991
  void: () => voidType,
@@ -7097,7 +7097,7 @@ __export(exports_external, {
7097
7097
  BRAND: () => BRAND
7098
7098
  });
7099
7099
 
7100
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
7100
+ // node_modules/zod/v3/helpers/util.js
7101
7101
  var util;
7102
7102
  (function(util2) {
7103
7103
  util2.assertEqual = (_) => {};
@@ -7228,7 +7228,7 @@ var getParsedType = (data) => {
7228
7228
  }
7229
7229
  };
7230
7230
 
7231
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
7231
+ // node_modules/zod/v3/ZodError.js
7232
7232
  var ZodIssueCode = util.arrayToEnum([
7233
7233
  "invalid_type",
7234
7234
  "invalid_literal",
@@ -7347,7 +7347,7 @@ ZodError.create = (issues) => {
7347
7347
  return error;
7348
7348
  };
7349
7349
 
7350
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
7350
+ // node_modules/zod/v3/locales/en.js
7351
7351
  var errorMap = (issue, _ctx) => {
7352
7352
  let message;
7353
7353
  switch (issue.code) {
@@ -7450,7 +7450,7 @@ var errorMap = (issue, _ctx) => {
7450
7450
  };
7451
7451
  var en_default = errorMap;
7452
7452
 
7453
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
7453
+ // node_modules/zod/v3/errors.js
7454
7454
  var overrideErrorMap = en_default;
7455
7455
  function setErrorMap(map) {
7456
7456
  overrideErrorMap = map;
@@ -7458,7 +7458,7 @@ function setErrorMap(map) {
7458
7458
  function getErrorMap() {
7459
7459
  return overrideErrorMap;
7460
7460
  }
7461
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
7461
+ // node_modules/zod/v3/helpers/parseUtil.js
7462
7462
  var makeIssue = (params) => {
7463
7463
  const { data, path, errorMaps, issueData } = params;
7464
7464
  const fullPath = [...path, ...issueData.path || []];
@@ -7564,14 +7564,14 @@ var isAborted = (x) => x.status === "aborted";
7564
7564
  var isDirty = (x) => x.status === "dirty";
7565
7565
  var isValid = (x) => x.status === "valid";
7566
7566
  var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
7567
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
7567
+ // node_modules/zod/v3/helpers/errorUtil.js
7568
7568
  var errorUtil;
7569
7569
  (function(errorUtil2) {
7570
7570
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
7571
7571
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
7572
7572
  })(errorUtil || (errorUtil = {}));
7573
7573
 
7574
- // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
7574
+ // node_modules/zod/v3/types.js
7575
7575
  class ParseInputLazyPath {
7576
7576
  constructor(parent, value, path, key) {
7577
7577
  this._cachedPath = [];
@@ -11152,19 +11152,30 @@ var TelegramChannelSchema = exports_external.object({
11152
11152
  stream_mode: exports_external.enum(["pty", "checklist"]).optional().describe("How live progress is streamed to Telegram during a turn. " + "'pty' (default) surfaces text snapshots of Claude Code's TUI — " + "compatible but can flicker as Ink re-renders. 'checklist' drives " + "a structured progress card from session-tail events — stable " + "order, per-tool status emojis, fires only on semantic transitions."),
11153
11153
  stream_throttle_ms: exports_external.number().int().nonnegative().optional().describe("Throttle window in ms between successive in-place stream edits " + "during a turn. Lower = more responsive stream, higher = fewer API " + "calls. Floored at 250 by draft-stream itself. Default 400 ms for DMs " + "and 1000 ms for groups/forums (respects Telegram's ~1 edit/sec/message " + "practical ceiling). Override per-agent if a particular agent needs " + "snappier or quieter streaming."),
11154
11154
  clear_status_on_completion: exports_external.boolean().optional().describe("When true, the live activity/status feed (the in-place 'what it's " + "doing' message — Reading X, Searching the web for Y, …) is DELETED " + "when the turn's final answer lands, so only the reply remains. " + "Default false: the status message is left in the chat as a record " + "(its last step marked done) — no post-then-delete. Per-agent " + "override; cascades defaults → profile → agent (per-key)."),
11155
+ pin_status_while_working: exports_external.boolean().optional().describe("When true (default), the framework SILENTLY pins the already-" + "rendered status message while its work is in-flight and auto-unpins " + "it on completion — the per-turn activity/status message (foreground) " + "and the '\uD83D\uDEE0 Worker' background-worker message. Keeps in-flight work " + "in view when the conversation scrolls past it (fast turns, stacked " + "background workers, long turns). No new surface is rendered; it pins " + "a message the chat already owns. The pin never buzzes the device. " + "The ONE sanctioned pin under chat-is-the-single-source-of-truth. " + "Set false to disable. Per-agent override; cascades defaults → " + "profile → agent (per-key)."),
11155
11156
  hotReloadStable: exports_external.boolean().optional().describe("If true, the stable workspace prefix (AGENTS.md, SOUL.md, USER.md, " + "IDENTITY.md, TOOLS.md) is re-injected on every turn via " + "the UserPromptSubmit hook instead of baked into --append-system-prompt " + "at session start. Lets workspace edits propagate without a restart. " + "Costs ~5-10% per-turn latency/spend since the stable prefix is no " + "longer prompt-cached."),
11156
11157
  inject_on_change: exports_external.boolean().optional().describe("Context-efficiency gate for per-turn hook injection (default true). " + "When true (the default), the turn-pacing directive and dynamic " + "workspace content are only re-emitted when their content changes or " + "the session_id changes — suppressing redundant injection that " + "otherwise triples compaction frequency. Set to false to revert to " + "the legacy always-emit behaviour (every turn injects the full " + "content regardless of whether it changed)."),
11157
11158
  orphan_promotion_ms: exports_external.number().int().nonnegative().optional().describe("How long (ms) a parent turn waits for a sub-agent JSONL watcher " + "to deliver sub_agent_started before the heartbeat promotes the spawn " + "to a synthesised 'running' row. Default 5000. Set to 0 to disable " + "orphan promotion entirely."),
11158
11159
  cold_sub_agent_threshold_ms: exports_external.number().int().nonnegative().optional().describe("JSONL-cold threshold (ms). When a running sub-agent emits no events " + "for this long, the heartbeat synthesises a turn_end for it so the " + "deferred-completion path can proceed. Default 30000. Set to 0 to " + "disable the synthetic close."),
11159
11160
  deferred_completion_timeout_ms: exports_external.number().int().nonnegative().optional().describe("Force-close timeout (ms) for deferred sub-agent completion. After " + "the parent turn_end arrives while sub-agents are still running, the " + "card is force-closed after this many ms even if sub-agents never " + "finish. Watcher-disconnect safety net. Default 180000 (3 min)."),
11161
+ approval_timeout_minutes: exports_external.number().int().nonnegative().optional().describe("Operator approval-card lifetime (minutes) for the tool-use 'Allow " + "once' card and the vault grant decision wait. After this long with " + "no operator tap, the card auto-denies (a TIMEOUT, not a denial — the " + "agent is told not to retry). Default 60. hostd-gated verbs " + "(mcp__hostd__*) keep their own longer window; the hostd " + "config-propose card is not governed by this key."),
11160
11162
  sub_agent_tick_interval_ms: exports_external.number().int().nonnegative().optional().describe("Heartbeat tick interval (ms) for sub-agent rendering. Forces a " + "re-render of the elapsed-time counter while sub-agents are running, " + "even during silent stretches between tool calls. Default 10000 (10 s). " + "Set to 0 to disable the elapsed-ticker path."),
11161
11163
  edit_budget_threshold: exports_external.number().int().nonnegative().optional().describe("Telegram API edit budget per minute before the progress-card driver " + "falls back to a slower coalesce window. When a chat accumulates more " + "than this many card edits in the trailing 60 s, the driver switches " + "to a wider coalesce interval until the rate drops back. Default 18. " + "Increase if your gateway frequently bumps the Telegram edit-rate ceiling " + "with many parallel sub-agents; decrease for a more conservative buffer."),
11162
11164
  stickers: exports_external.record(exports_external.string(), exports_external.string()).optional().describe("Sticker aliases for the `send_sticker` MCP tool (#576). Maps a " + "short alias name (e.g. 'happy', 'thinking') to a Telegram file_id. " + "Operator-curated — capture file_ids from inbound stickers the user " + "sends and add them here. The agent calls send_sticker(chat_id, " + "alias='happy') and the gateway resolves to the file_id at send " + "time. Aliases enable persona-flavored expressiveness without " + "exposing raw file_ids in the agent prompt. Personal-assistant / " + "health-coach personas benefit; coding agents typically don't " + "configure any."),
11163
11165
  voice_in: exports_external.object({
11164
11166
  enabled: exports_external.boolean().optional().describe("Master switch for voice-message transcription."),
11165
11167
  provider: exports_external.enum(["openai"]).optional().describe("Transcription provider. Only 'openai' (Whisper API) supported in the spike (#578); " + "Groq/Deepgram/local-whisper-cli are follow-up choices."),
11166
- language: exports_external.string().optional().describe("Optional ISO-639-1 language hint (e.g. 'en', 'fr'). Skips Whisper's auto-detection.")
11167
- }).optional().describe("Inbound voice-message transcription (#578). When enabled, voice/audio " + "messages from allowlisted users are downloaded, transcribed via the " + "configured provider, and surface to the agent as the user's text. " + "API key read from ~/.switchroom/openai-api-key (mode 0600). Off by " + "default opt-in per agent. Cascades from defaults.channels.telegram.voice_in. " + "(Migrated from per-agent root in #596 — see consistency unification.)"),
11168
+ language: exports_external.string().optional().describe("Optional ISO-639-1 language hint (e.g. 'en', 'fr'). Skips Whisper's auto-detection."),
11169
+ api_key: exports_external.string().optional().describe("Transcription-provider API key, as a `vault:<key>` reference " + "(e.g. 'vault:openai/api-key' the default if omitted). The " + "gateway resolves it through the vault broker at use-time and " + "never writes the resolved value to disk or the agent prompt. " + "`switchroom enable voice-in` vault-stores the key and writes " + "this reference for you. A literal key is accepted but " + "discouraged keep secrets in the vault.")
11170
+ }).optional().describe("Inbound voice-message transcription (#578). When enabled, voice/audio " + "messages from allowlisted users are downloaded, transcribed via the " + "configured provider, and surface to the agent as the user's text. " + "The provider API key is a `vault:` reference (`api_key`, default " + "`vault:openai/api-key`) resolved through the vault broker at " + "use-time — opt-in third-party key, honest-exception per the " + "subscription-honest outcome. Off by default — opt-in per agent. " + "Cascades from defaults.channels.telegram.voice_in. " + "(Migrated from per-agent root in #596 — see consistency unification.)"),
11171
+ voice_out: exports_external.object({
11172
+ enabled: exports_external.boolean().optional().describe("Master switch for spoken-reply (TTS) voice notes."),
11173
+ engine: exports_external.enum(["kokoro", "openai"]).default("kokoro").describe("Synthesis engine. 'kokoro' = local voice sidecar (POST /tts, " + "subscription-honest, no third-party key); 'openai' = OpenAI TTS " + "cloud (honest-exception, requires an `api_key` vault ref). " + "'kokoro' is only active when the host voice verdict is local " + "(SWITCHROOM_VOICE_ENGINE === 'local'); otherwise voice-out is a " + "no-op and replies stay text-only."),
11174
+ voice: exports_external.string().optional().describe("Engine-specific voice id (e.g. a Kokoro voice name or an OpenAI " + "voice like 'alloy'). Optional — the sidecar/engine has its own " + "default when omitted."),
11175
+ reply_mode: exports_external.enum(["voice+text", "voice-only", "on-demand"]).default("voice+text").describe("How the spoken reply accompanies the text. 'voice+text' sends " + "both the normal text reply and a voice note; 'voice-only' sends " + "the voice note and suppresses the text body. 'on-demand' sends " + "the text reply with a single '\uD83D\uDD0A Listen' inline button and " + "synthesizes NO audio until the user taps it — zero GPU/sidecar " + "work unless requested, which keeps the voice pipeline " + "subscription-honest and visible (nothing is generated behind the " + "user's back). The Listen button is injected ONLY when the reply " + "carries no agent-authored buttons, to avoid colliding with the " + "single_use keyboard-strip that protects agent buttons from " + "double-fire. In every mode the text reply is ALWAYS still sent " + "when synthesis fails or the reply exceeds max_chars — the user's " + "answer is never dropped silently."),
11176
+ max_chars: exports_external.number().int().positive().optional().describe("Per-voice-note chunk size (chars). Default 600; clamped to the " + "engine's hard cap (1200). A reply LONGER than this is NOT truncated " + "to text — it's split on sentence/paragraph boundaries and spoken " + "across several sequential voice notes, so the full answer is heard " + "even when the user can't read the screen (driving / cycling). Lower " + "it for snappier individual notes; raise it (up to 1200) for fewer, " + "longer notes."),
11177
+ api_key: exports_external.string().optional().describe("OpenAI TTS API key as a `vault:<key>` reference (only used when " + "engine='openai'; default 'vault:openai/api-key'). Resolved through " + "the vault broker at use-time and never written to disk or the agent " + "prompt. Ignored for engine='kokoro' (the sidecar needs no key).")
11178
+ }).optional().describe("Outbound spoken replies via TTS (PR-C2). When enabled, the gateway " + "synthesizes the agent's text reply into an OGG/Opus voice note and " + "sends it alongside (or instead of) the text, per reply_mode. The " + "'kokoro' engine uses the local voice sidecar (POST /tts) and is only " + "active when the host voice verdict is local; the 'openai' engine is " + "an honest-exception cloud path gated on an `api_key` vault ref. Voice " + "is best-effort and fully non-fatal — any TTS error falls back to the " + "text reply. Off by default — opt-in per agent. " + "Cascades from defaults.channels.telegram.voice_out."),
11168
11179
  telegraph: exports_external.object({
11169
11180
  enabled: exports_external.boolean().optional().describe("Master switch for Telegraph Instant View publishing."),
11170
11181
  threshold: exports_external.number().int().positive().optional().describe("Char count above which a reply is published to Telegraph instead of " + "HTML-chunked into multiple Telegram messages. Default 3000 (≈3 chunks)."),
@@ -11408,7 +11419,7 @@ var AgentSchema = exports_external.object({
11408
11419
  secrets: exports_external.array(exports_external.string().regex(/^[a-zA-Z0-9_\-/]+$/, "Secret key names must contain only alphanumeric characters, underscores, hyphens, and forward slashes")).optional(),
11409
11420
  reactions: ReactionsSchema,
11410
11421
  reaction_dispatch: ReactionDispatchSchema,
11411
- model: exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._\-/\[\]:]*$/, "Model name must be alphanumeric with ._-/[]: only (no spaces or shell specials)").optional().describe("Claude model override (e.g., 'claude-sonnet-4-6')"),
11422
+ model: exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._\-/\[\]:]*$/, "Model name must be alphanumeric with ._-/[]: only (no spaces or shell specials)").optional().describe("Claude model override (e.g., 'claude-sonnet-5')"),
11412
11423
  thinking_effort: exports_external.enum(["low", "medium", "high", "xhigh", "max"]).optional().describe("Adaptive-thinking effort level passed as --effort to the claude CLI. " + "Per-agent override wins over defaults.thinking_effort. " + "lower = faster/cheaper, higher = more reasoning. Omit to use Claude's default."),
11413
11424
  permission_mode: exports_external.enum(["acceptEdits", "auto", "bypassPermissions", "default", "dontAsk", "plan"]).optional().describe("Permission mode passed as --permission-mode to the claude CLI. " + "Per-agent override wins over defaults.permission_mode. " + "Warning: bypassPermissions and dontAsk skip all safety checks — use only in trusted sandboxes."),
11414
11425
  fallback_model: exports_external.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._\-/\[\]:]*$/, "Fallback model name must be alphanumeric with ._-/[]: only").optional().describe("Fallback model passed as --fallback-model to the claude CLI. " + "Per-agent override wins over defaults.fallback_model. " + "Used when the primary model is overloaded. Note: only functional in --print (non-interactive) mode per Claude CLI docs; silently no-ops in interactive sessions."),
@@ -11539,6 +11550,11 @@ var HostControlConfigSchema = exports_external.object({
11539
11550
  var WebServiceConfigSchema = exports_external.object({
11540
11551
  managed: exports_external.boolean().default(false).describe("Whether `switchroom update` refreshes the web-service container " + "(dashboard + GitHub-webhook receiver) via `switchroom webd " + "install`. Default: false — existing installs run the web server " + "as the legacy `switchroom-web.service` systemd unit and must not " + "be surprised by a container takeover of host loopback 127.0.0.1:" + "8080 mid-update. Set true ONLY after cutting over to the " + "container (stop+disable the systemd unit, `switchroom webd " + "install`). The container runs in its own compose project " + "(`switchroom-web`), separate from the agent fleet, with " + "network_mode: host so it keeps owning loopback:8080 for the " + "cloudflared tunnel + tailscale serve consumers.")
11541
11552
  });
11553
+ var FleetHealthConfigSchema = exports_external.object({
11554
+ owner_agent: exports_external.string().regex(/^[a-z0-9][a-z0-9_-]{0,50}$/, {
11555
+ message: "owner_agent must match the standard agent-name pattern"
11556
+ }).optional().describe("The admin agent that runs the Fleet Health sensor + deep-dive crons " + "(RFC fleet-health.md). Default unset → the feature is inert: no crons " + "are scheduled and the admin page renders its empty state. The named " + "agent must be admin: true. A dedicated owner (not any admin) keeps " + "the fleet-health work attributable, its memory scoped, and its token " + "spend accountable. The detection runs ONLY as operator-set schedules " + "on this agent — never a self-authored loop (on-leash, " + "no-self-escalation).")
11557
+ });
11542
11558
  var HostdConfigSchema = exports_external.object({
11543
11559
  config_edit_enabled: exports_external.boolean().default(false).describe("Opt-in toggle for the `config_propose_edit` hostd verb (RFC " + "admin-agent-config-edit §3). Default false — the verb returns " + "`E_CONFIG_EDIT_DISABLED` until the operator explicitly flips " + "this to true. When true, admin agents can propose unified-diff " + "patches against " + "`/state/config/switchroom.yaml`, gated by an operator approval " + "card in the primary chat. Same trust posture as `update_apply` " + "and `agent_restart`: the human-in-the-loop tap is the security " + "boundary, not the agent's judgement."),
11544
11560
  config_edit_rate_per_hour: exports_external.number().int().min(1).max(20).default(3).describe("Per-requesting-agent rate cap for `config_propose_edit` cards " + "(RFC admin-agent-config-edit §5). Default 3 cards/hour; min 1, " + "max 20. ENFORCED server-side: a caller exceeding this in a sliding " + "1-hour window is rejected with `E_RATE_LIMITED` (carrying a " + "`retry_after` fix) instead of posting another operator approval " + "card — so a looping agent is throttled rather than spamming the chat.")
@@ -11587,6 +11603,7 @@ var SwitchroomConfigSchema = exports_external.object({
11587
11603
  quota: QuotaConfigSchema.optional().describe("Optional weekly/monthly USD spend budgets rendered in the session " + "greeting. Usage is read from ccusage at runtime; no network calls."),
11588
11604
  host_control: HostControlConfigSchema.default({}).describe("Host-control daemon configuration. Defaults to enabled=true since " + "RFC C Phase 2 (reference/rfcs/host-control-daemon.md). Omit the block " + "to accept defaults; set `enabled: false` only on legacy systemd-" + "mode installs (removal tracked as RFC C Phase 3)."),
11589
11605
  hostd: HostdConfigSchema.default({}).describe("hostd verb-level knobs (RFC admin-agent-config-edit). Distinct " + "from `host_control:` which governs whether the daemon runs at " + "all. Scopes the opt-in flag and rate cap for the " + "`config_propose_edit` verb (disabled by default)."),
11606
+ fleet_health: FleetHealthConfigSchema.default({}).describe("Fleet Health — job-spec-anchored, operator-facing issue tracker (RFC " + "fleet-health.md, serves fleet-stays-healthy). Assigns the owner agent " + "that runs the nightly model-free sensor + weekly deep-dive. Default " + "unset owner_agent → inert; the admin page renders an empty state."),
11590
11607
  web_service: WebServiceConfigSchema.default({}).describe("Web-service container (dashboard + GitHub-webhook receiver) config. " + "Defaults to managed=false so existing systemd-mode installs are " + "untouched. Set managed: true after cutting over to the " + "`switchroom-web` container — then `switchroom update` keeps it " + "refreshed. See `switchroom webd install`."),
11591
11608
  google_accounts: exports_external.record(exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
11592
11609
  message: "Account key must be a Google account email like 'alice@example.com' (colons not allowed)"
@@ -12415,7 +12432,7 @@ function dispatchAsInbound(entry, options, dispatcher) {
12415
12432
  }
12416
12433
 
12417
12434
  // src/scheduler/cron-routing.ts
12418
- var DEFAULT_CRON_MODEL = "claude-sonnet-4-6";
12435
+ var DEFAULT_CRON_MODEL = "claude-sonnet-5";
12419
12436
  var CHEAP_MODEL_RE = /(^|[^a-z])(sonnet|haiku)([^a-z]|$)/i;
12420
12437
  var OPUS_MODEL_RE = /opus/i;
12421
12438
  function isKnownCheapModel(model) {