switchroom 0.15.37 → 0.15.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-scheduler/index.js +89 -89
- package/dist/auth-broker/index.js +89 -89
- package/dist/cli/autoaccept-poll.js +13 -7
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +91 -91
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +821 -572
- package/dist/cli/ui/index.html +87 -17
- package/dist/host-control/main.js +158 -158
- package/dist/vault/approvals/kernel-server.js +91 -91
- package/dist/vault/broker/server.js +92 -92
- package/package.json +1 -1
- package/profiles/_base/cron-session.sh.hbs +1 -1
- package/profiles/_base/start.sh.hbs +1 -1
- package/skills/switchroom-manage/SKILL.md +1 -1
- package/skills/switchroom-runtime/SKILL.md +1 -1
- package/telegram-plugin/answer-stream.ts +1 -1
- package/telegram-plugin/bridge/bridge.ts +18 -1
- package/telegram-plugin/bridge/ipc-client.ts +4 -1
- package/telegram-plugin/bridge/tool-filter.ts +77 -0
- package/telegram-plugin/chat-lock.ts +1 -1
- package/telegram-plugin/credits-watch.ts +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +141 -115
- package/telegram-plugin/dist/gateway/gateway.js +318 -207
- package/telegram-plugin/dist/server.js +193 -164
- package/telegram-plugin/gateway/auto-classify-mid-turn.ts +1 -1
- package/telegram-plugin/gateway/boot-card.ts +5 -1
- package/telegram-plugin/gateway/boot-probes.ts +62 -0
- package/telegram-plugin/gateway/cron-session.ts +1 -1
- package/telegram-plugin/gateway/gateway.ts +133 -12
- package/telegram-plugin/gateway/grant-restart.ts +1 -1
- package/telegram-plugin/gateway/inbound-delivery-machine-dispatch.ts +1 -1
- package/telegram-plugin/gateway/inbound-delivery-machine-shadow.ts +1 -1
- package/telegram-plugin/gateway/inbound-delivery-machine.ts +1 -1
- package/telegram-plugin/gateway/interrupt-defer.ts +1 -1
- package/telegram-plugin/gateway/ipc-protocol.ts +12 -0
- package/telegram-plugin/gateway/permission-card-origin.ts +62 -0
- package/telegram-plugin/gateway/permission-timeout.ts +70 -0
- package/telegram-plugin/gateway/prefix-warmup.ts +1 -1
- package/telegram-plugin/gateway/webhook-ingest-server.test.ts +1 -1
- package/telegram-plugin/gateway/webhook-ingest-server.ts +1 -1
- package/telegram-plugin/hooks/subagent-tracker-pretool.mjs +1 -1
- package/telegram-plugin/interrupt-marker.ts +1 -1
- package/telegram-plugin/over-ping-safety-net.ts +1 -1
- package/telegram-plugin/scoped-approval.ts +1 -1
- package/telegram-plugin/secret-detect/vault-error.ts +1 -1
- package/telegram-plugin/silence-poke.ts +2 -2
- package/telegram-plugin/silent-reply-anchor.ts +1 -1
- package/telegram-plugin/slot-banner-driver.ts +1 -1
- package/telegram-plugin/startup-reset.ts +1 -1
- package/telegram-plugin/tests/boot-probes-connections.test.ts +66 -0
- package/telegram-plugin/tests/gateway-startup-reset.test.ts +1 -1
- package/telegram-plugin/tests/inbound-delivery-machine.test.ts +1 -1
- package/telegram-plugin/tests/permission-card-origin.test.ts +97 -0
- package/telegram-plugin/tests/permission-card-routing.test.ts +23 -0
- package/telegram-plugin/tests/permission-no-repeat-wiring.test.ts +76 -0
- package/telegram-plugin/tests/permission-timeout.test.ts +87 -0
- package/telegram-plugin/tests/scoped-approval.test.ts +1 -1
- package/telegram-plugin/tests/silence-poke.test.ts +1 -1
- package/telegram-plugin/tests/tool-filter.test.ts +87 -0
- package/telegram-plugin/tests/turn-flush-safety.test.ts +1 -1
- package/telegram-plugin/turn-flush-safety.ts +1 -1
- package/telegram-plugin/uat/assertions.ts +1 -1
- package/telegram-plugin/uat/scenarios/bg-sub-agent-dispatch-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/fuzz-extended-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-fast-ack-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-fast-trivial-dm.test.ts +2 -2
- package/telegram-plugin/uat/scenarios/jtbd-forwarded-burst-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-memory-survives-restart-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-rapid-followup-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-reflective-status-reaction-dm.test.ts +1 -1
- package/telegram-plugin/uat/scenarios/jtbd-wake-audit-content-dm.test.ts +1 -1
|
@@ -16,7 +16,7 @@ var __export = (target, all) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
18
18
|
|
|
19
|
-
//
|
|
19
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
73
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
228
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
380
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
442
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
489
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
516
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
553
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
661
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
689
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
761
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
876
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
893
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1030
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1328
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1449
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1585
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1604
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1658
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1719
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1757
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
1909
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2036
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2055
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2148
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2167
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2183
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2198
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2219
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2243
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2286
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2328
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2353
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2417
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2472
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2547
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2619
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2648
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2694
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2770
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2853
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2935
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
2976
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3067
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3097
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3177
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3412
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3477
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3607
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3647
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3662
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3675
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3782
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3830
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
3870
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4061
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4123
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4316
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4532
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4610
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4637
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4740
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4780
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
4969
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5159
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5217
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5276
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5377
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5963
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
5991
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
6840
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
6942
|
+
// node_modules/.bun/yaml@2.8.3/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
|
-
//
|
|
6988
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7100
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7231
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7350
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7453
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7461
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7567
|
+
// node_modules/.bun/zod@3.25.76/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
|
-
//
|
|
7574
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
7575
7575
|
class ParseInputLazyPath {
|
|
7576
7576
|
constructor(parent, value, path, key) {
|
|
7577
7577
|
this._cachedPath = [];
|
|
@@ -11001,7 +11001,7 @@ var ActionSpecSchema = exports_external.discriminatedUnion("type", [
|
|
|
11001
11001
|
var ScheduleEntrySchema = exports_external.object({
|
|
11002
11002
|
cron: exports_external.string().describe("Cron expression (e.g., '0 8 * * *')"),
|
|
11003
11003
|
prompt: exports_external.string().optional().describe("Prompt to send at the scheduled time (the escalation prompt when " + "kind=poll; templated with {{diff}}). Required for kind prompt/poll; " + "absent for kind=action (an action has no model fire, so no prompt)."),
|
|
11004
|
-
kind: exports_external.enum(["poll", "prompt", "action"]).optional().describe("Tier-0 routing (
|
|
11004
|
+
kind: exports_external.enum(["poll", "prompt", "action"]).optional().describe("Tier-0 routing (reference/rfcs/cheap-cron-sessions.md). 'prompt' (default) " + "fires a model turn every tick (Tier 1/2 per `context`). 'poll' runs a " + "model-free deterministic check (requires `poll`) and only escalates to " + "a model fire on a hit. 'action' runs a model-free deterministic verb " + "(requires `action`) that COMPLETES the work and never escalates — zero " + "tokens, no session. poll/prompt tiering is on by default " + "(SWITCHROOM_CHEAP_CRON=0 is the kill-switch); an action is model-free " + "regardless (the kill-switch governs model tiering, not deterministic " + "actions)."),
|
|
11005
11005
|
poll: PollSpecSchema.optional().describe("Required iff kind=poll. The declarative poll spec."),
|
|
11006
11006
|
action: ActionSpecSchema.optional().describe("Required iff kind=action. The declarative action spec (telegram-message or webhook)."),
|
|
11007
11007
|
model: exports_external.string().optional().describe("Cron model hint. Reactivated by SWITCHROOM_CHEAP_CRON (was DEPRECATED/" + "IGNORED in v0.8). A known-cheap id (sonnet/haiku family) routes the " + "fire to a fresh cheap cron session (Tier 1, `context: fresh`); 'opus', " + "a custom id, or unset routes to the agent's live session (Tier 2, " + "`context: agent`) — the conservative default that preserves pre-v0.8 " + "behaviour. Note: a live session's model is fixed at launch, so on Tier " + "2 this is informational. See docs/scheduling.md."),
|
|
@@ -11010,7 +11010,7 @@ var ScheduleEntrySchema = exports_external.object({
|
|
|
11010
11010
|
topic: exports_external.union([
|
|
11011
11011
|
exports_external.string().min(1, "topic alias must be non-empty"),
|
|
11012
11012
|
exports_external.number().int().positive("topic ID must be a positive integer")
|
|
11013
|
-
]).optional().describe("Forum topic this cron fires into when the owning agent is in " + "supergroup-owned mode (channels.telegram.chat_id set). Either a " + 'string alias resolved against `topic_aliases` (e.g. "planning") ' + "or a numeric topic ID. Falls back to the agent's `default_topic_id` " + "when unset. Ignored for agents in fleet-shared or dm_only mode. " + "Alias-resolution happens at config-load — typos surface immediately. " + "See
|
|
11013
|
+
]).optional().describe("Forum topic this cron fires into when the owning agent is in " + "supergroup-owned mode (channels.telegram.chat_id set). Either a " + 'string alias resolved against `topic_aliases` (e.g. "planning") ' + "or a numeric topic ID. Falls back to the agent's `default_topic_id` " + "when unset. Ignored for agents in fleet-shared or dm_only mode. " + "Alias-resolution happens at config-load — typos surface immediately. " + "See reference/rfcs/supergroup-mode.md.")
|
|
11014
11014
|
}).superRefine((entry, ctx) => {
|
|
11015
11015
|
const kind = entry.kind ?? "prompt";
|
|
11016
11016
|
if (kind === "poll" && !entry.poll) {
|
|
@@ -11183,15 +11183,15 @@ var TelegramChannelSchema = exports_external.object({
|
|
|
11183
11183
|
webhook_rate_limit: exports_external.object({
|
|
11184
11184
|
rpm: exports_external.number().int().positive()
|
|
11185
11185
|
}).optional().describe("Per-source rate limit for the webhook ingest path (#714). " + "Off by default — when this key is absent the handler skips " + "rate-limit checks entirely. Opt in by setting `rpm` to an " + "integer requests-per-minute (token bucket per (agent, source); " + "burst equal to rpm). When enabled, exceeding the limit returns " + "429 with Retry-After header; first throttle event per " + "(agent, source) per 60s window is written to " + "<agent>/telegram/issues.jsonl. " + "Cascades from defaults.channels.telegram.webhook_rate_limit."),
|
|
11186
|
-
webhook_via_gateway: exports_external.boolean().optional().describe("Route verified webhook events to the agent's in-container gateway " + "over a peercred-gated UDS (<agent>/telegram/webhook.sock) instead " + "of having the host-side web receiver write the agent dir directly. " + "Required under the Docker runtime: the receiver runs as the host " + "operator UID and cannot write the per-agent-UID-owned agent dir " + "(EACCES 500) nor connect the gateway socket. When true the gateway " + "(running as the agent UID) becomes the sole writer of " + "webhook-events.jsonl + dedup/cooldown state and also fires " + "webhook_dispatch. Off by default for back-compat with host-runtime " + "installs. See
|
|
11187
|
-
webhook_require_edge: exports_external.boolean().optional().describe("Cloudflare-only edge lock: require the X-Switchroom-Edge header " + "(injected by a Cloudflare Transform Rule on hooks.switchroom.ai) to " + "match the operator's edge secret at ~/.switchroom/webhook-edge-secret " + "before any HMAC verification; reject 403 otherwise. Proves the " + "request entered through our Cloudflare edge — the per-agent HMAC " + "alone can't (it proves body provenance, not network path). Stacks " + "on the GitHub-IP WAF + per-agent HMAC. Fail-closed: when required " + "but the secret file is missing/empty every request is rejected. Off " + "by default. See
|
|
11186
|
+
webhook_via_gateway: exports_external.boolean().optional().describe("Route verified webhook events to the agent's in-container gateway " + "over a peercred-gated UDS (<agent>/telegram/webhook.sock) instead " + "of having the host-side web receiver write the agent dir directly. " + "Required under the Docker runtime: the receiver runs as the host " + "operator UID and cannot write the per-agent-UID-owned agent dir " + "(EACCES 500) nor connect the gateway socket. When true the gateway " + "(running as the agent UID) becomes the sole writer of " + "webhook-events.jsonl + dedup/cooldown state and also fires " + "webhook_dispatch. Off by default for back-compat with host-runtime " + "installs. See reference/rfcs/webhook-via-gateway-socket.md."),
|
|
11187
|
+
webhook_require_edge: exports_external.boolean().optional().describe("Cloudflare-only edge lock: require the X-Switchroom-Edge header " + "(injected by a Cloudflare Transform Rule on hooks.switchroom.ai) to " + "match the operator's edge secret at ~/.switchroom/webhook-edge-secret " + "before any HMAC verification; reject 403 otherwise. Proves the " + "request entered through our Cloudflare edge — the per-agent HMAC " + "alone can't (it proves body provenance, not network path). Stacks " + "on the GitHub-IP WAF + per-agent HMAC. Fail-closed: when required " + "but the secret file is missing/empty every request is rejected. Off " + "by default. See reference/rfcs/webhook-cloudflare-edge-lock.md."),
|
|
11188
11188
|
linear_agent: exports_external.object({
|
|
11189
11189
|
enabled: exports_external.boolean(),
|
|
11190
11190
|
token: exports_external.string().describe("vault:<key> reference to the Linear OAuth app token (actor=app). " + "Resolved at runtime via the vault broker (canonically " + "vault:linear/<agent>/token). Never an inline literal."),
|
|
11191
11191
|
workspace_id: exports_external.string().optional().describe("Optional Linear workspace (organization) id this agent is " + "installed into. Informational — used for setup hints and " + "multi-workspace disambiguation; the token already scopes the " + "app to its workspace."),
|
|
11192
11192
|
default_team_id: exports_external.string().optional().describe("Optional Linear team id new captured issues file into when the " + "agent doesn't pass an explicit team_id. Unnecessary for a " + "single-team workspace (auto-resolved); set it only when the " + "workspace has multiple teams. Manage via " + "`switchroom linear-agent set-team <agent> <team>`.")
|
|
11193
11193
|
}).optional().describe("Linear first-class agent integration (#2298). When enabled, the " + "agent appears in a Linear workspace as an app actor (own name/" + "avatar, @-mentionable, delegate-assignable). Linear AgentSessionEvent " + "webhooks (mention / delegation) wake the agent instantly via the " + "same gateway inject path as webhook_dispatch, tagged " + 'meta.source="linear" with the agent_session_id, and the agent ' + "responds with structured AgentActivity (thought/message/complete/" + "error) via the linear_agent_activity MCP tool. Builds the " + "session-lifecycle layer on top of the plain webhook_sources:[linear] " + "+ webhook_dispatch support (#2272). The OAuth app token is stored in " + "the vault and referenced here as vault:linear/<agent>/token; run " + "`switchroom linear-agent setup <agent>` to provision it. Off by " + "default — opt in per agent. Cascades from " + "defaults.channels.telegram.linear_agent."),
|
|
11194
|
-
chat_id: exports_external.string().regex(/^-\d+$/, 'supergroup chat_id must be a negative integer as a string (e.g. "-1001234567890")').optional().describe("Per-agent supergroup ID — overrides fleet `telegram.forum_chat_id`. " + "When set, requires `default_topic_id`. Negative integer as string. " + "Forbidden when `dm_only: true`. See
|
|
11194
|
+
chat_id: exports_external.string().regex(/^-\d+$/, 'supergroup chat_id must be a negative integer as a string (e.g. "-1001234567890")').optional().describe("Per-agent supergroup ID — overrides fleet `telegram.forum_chat_id`. " + "When set, requires `default_topic_id`. Negative integer as string. " + "Forbidden when `dm_only: true`. See reference/rfcs/supergroup-mode.md."),
|
|
11195
11195
|
default_topic_id: exports_external.number().int().positive().optional().describe("Forum topic ID this agent's automated outbounds default to when " + "no more-specific alias resolves. Defaults to General (topic 1) when " + "`chat_id` is set and this is omitted — set it only to pin a different " + "fallback topic. " + "Telegram's General topic is `id=1` at MTProto but sends omit the " + "field — the outbound wrapper strips `message_thread_id === 1` " + "on send. Forbidden when `dm_only: true`."),
|
|
11196
11196
|
topic_aliases: exports_external.record(exports_external.string(), exports_external.number().int().positive()).optional().describe("Operator-friendly names for forum topic IDs (e.g. " + "`{ general: 1, planning: 17, cron: 23, admin: 31, alerts: 41 }`). " + "Referenced from per-cron `topic:` fields and the outbound router " + "for autonomous events (boot → alerts, hostd → admin, etc.). " + "Cascades per-key through defaults → profile → agent.")
|
|
11197
11197
|
}).optional().superRefine((tg, ctx) => {
|
|
@@ -11417,7 +11417,7 @@ var AgentSchema = exports_external.object({
|
|
|
11417
11417
|
drive: AgentGoogleWorkspaceConfigSchema.describe("RFC D legacy key — use `google_workspace:` instead. Per-agent " + "google_workspace overrides (currently approvers + tier). When set, " + "replaces the top-level approvers list for this agent. " + "google_client_id/secret are not per-agent — they live at the top level."),
|
|
11418
11418
|
google_workspace: AgentGoogleWorkspaceConfigSchema.describe("RFC G canonical key. Per-agent Google Workspace overrides — currently " + "approvers (replaces, does not extend the top-level list) and tier " + "(`core` | `extended` | `complete`, replaces top-level default). " + "google_client_id/secret are not per-agent — they live at the top level. " + "Mutually exclusive with `drive:` on the same agent (loader fails fast " + "if both are set)."),
|
|
11419
11419
|
microsoft_workspace: AgentMicrosoftWorkspaceConfigSchema.describe("RFC #1873 (Microsoft 365 integration). Per-agent Microsoft Workspace " + "override — pins the Microsoft account this agent reads via the " + "auth-broker (must be a key in top-level `microsoft_accounts:` with " + "this agent in its `enabled_for[]`) and optionally overrides org_mode. " + "microsoft_client_id/secret are not per-agent."),
|
|
11420
|
-
notion_workspace: AgentNotionWorkspaceConfigSchema.describe("RFC
|
|
11420
|
+
notion_workspace: AgentNotionWorkspaceConfigSchema.describe("RFC reference/rfcs/notion-integration.md. Per-agent Notion access. " + "Presence opts the agent IN (launcher scaffolded, MCP entry emitted, " + "broker grants the integration token). Optional `databases:` filter " + "narrows which DBs this agent may read/write — names must resolve in " + "top-level notion_workspace.databases. Absence opts the agent OUT."),
|
|
11421
11421
|
repos: exports_external.record(exports_external.string().regex(/^[a-z0-9][a-z0-9-]*$/, "Repo slug must be kebab-case ASCII: start with a lowercase letter or digit, contain only lowercase letters, digits, and hyphens"), exports_external.object({
|
|
11422
11422
|
url: exports_external.string().min(1).describe("Git remote URL for the repo (e.g. 'git@github.com:org/repo.git' or " + "'https://github.com/org/repo.git'). Used verbatim for git clone."),
|
|
11423
11423
|
branch_default: exports_external.string().optional().describe("Default branch to track (defaults to the remote's HEAD, typically 'main'). " + "The per-agent branch 'agent/<agentName>/main' fast-forwards to this branch " + "when the worktree is clean on session start.")
|
|
@@ -11552,9 +11552,9 @@ var SwitchroomConfigSchema = exports_external.object({
|
|
|
11552
11552
|
drive: GoogleWorkspaceConfigSchema.describe("RFC D legacy key — use `google_workspace:` instead. Optional Google " + "Workspace onboarding configuration. When set, supplies Google OAuth " + "client credentials, the approver allowlist for `switchroom drive " + "connect`, and the optional tier knob. Env vars " + "(SWITCHROOM_GOOGLE_CLIENT_ID, SWITCHROOM_GOOGLE_CLIENT_SECRET, " + "SWITCHROOM_APPROVER_USER_ID) take precedence over this block when " + "set, preserving back-compat with the env-only flow shipped in #766."),
|
|
11553
11553
|
google_workspace: GoogleWorkspaceConfigSchema.describe("RFC G canonical key. Top-level Google Workspace configuration — " + "OAuth client credentials, approver allowlist, and tier knob (`core` " + "| `extended` | `complete`, default `core`). Mutually exclusive with " + "`drive:` at the top level (loader fails fast if both are set)."),
|
|
11554
11554
|
microsoft_workspace: MicrosoftWorkspaceConfigSchema.describe("RFC #1873 (Microsoft 365 integration). Top-level Microsoft Workspace " + "configuration — OAuth client credentials (Entra app), authority " + "endpoint (defaults to /common for personal MSA + work), and the " + "org_mode opt-in for Teams/SharePoint surfaces. Block is optional; " + "when omitted the broker does not register the Microsoft provider."),
|
|
11555
|
-
notion_workspace: NotionWorkspaceConfigSchema.describe("RFC
|
|
11555
|
+
notion_workspace: NotionWorkspaceConfigSchema.describe("RFC reference/rfcs/notion-integration.md. Top-level Notion integration " + "config — vault key for the integration token, friendly-name → " + "database UUID map, optional MCP-package version pin, and optional " + "global rate-limit override (default 3 rps, Notion's documented " + "public-API limit). Block is optional; when omitted no agent gets a " + "Notion MCP entry regardless of per-agent config."),
|
|
11556
11556
|
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."),
|
|
11557
|
-
host_control: HostControlConfigSchema.default({}).describe("Host-control daemon configuration. Defaults to enabled=true since " + "RFC C Phase 2 (
|
|
11557
|
+
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)."),
|
|
11558
11558
|
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)."),
|
|
11559
11559
|
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`."),
|
|
11560
11560
|
google_accounts: exports_external.record(exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
|
|
@@ -11576,7 +11576,7 @@ var SwitchroomConfigSchema = exports_external.object({
|
|
|
11576
11576
|
agents: exports_external.record(exports_external.string().regex(/^[a-z0-9][a-z0-9_-]{0,50}$/, {
|
|
11577
11577
|
message: "Agent name must start with a letter/digit, contain only lowercase letters/digits/hyphens/underscores, and be at most 51 characters (Telegram callback_data byte limit)"
|
|
11578
11578
|
}), AgentSchema).describe("Map of agent name to agent configuration"),
|
|
11579
|
-
cron: CronConfigSchema.optional().describe("Cheap-cron settings (
|
|
11579
|
+
cron: CronConfigSchema.optional().describe("Cheap-cron settings (reference/rfcs/cheap-cron-sessions.md). Operator-owned " + "egress allowlist + host-pinned secret bindings for Tier-0 http-diff " + "polls (§6.1). Required to enable any http-diff poll; not agent-writable.")
|
|
11580
11580
|
});
|
|
11581
11581
|
|
|
11582
11582
|
// src/config/paths.ts
|