switchroom 0.16.23 → 0.16.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-scheduler/index.js +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/autoaccept-poll.js +8 -8
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +82 -82
- package/dist/cli/self-improve-apply-guard-pretool.mjs +6 -0
- package/dist/cli/skill-validate-pretool.mjs +2936 -119
- package/dist/cli/switchroom.js +804 -465
- package/dist/host-control/main.js +169 -163
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +83 -83
- package/package.json +4 -4
- package/telegram-plugin/answer-stream.ts +20 -49
- package/telegram-plugin/auth-snapshot-format.ts +27 -30
- package/telegram-plugin/auto-fallback-fleet.ts +6 -11
- package/telegram-plugin/bridge/bridge.ts +1 -1
- package/telegram-plugin/card-format.ts +28 -25
- package/telegram-plugin/credits-watch.ts +5 -10
- package/telegram-plugin/dist/bridge/bridge.js +113 -113
- package/telegram-plugin/dist/gateway/gateway.js +2085 -2102
- package/telegram-plugin/dist/server.js +161 -161
- package/telegram-plugin/draft-stream.ts +4 -4
- package/telegram-plugin/format.ts +427 -680
- package/telegram-plugin/gateway/approval-callback.ts +2 -3
- package/telegram-plugin/gateway/approval-card.test.ts +17 -4
- package/telegram-plugin/gateway/approval-card.ts +16 -6
- package/telegram-plugin/gateway/approvals-commands.ts +18 -24
- package/telegram-plugin/gateway/auth-command.ts +74 -74
- package/telegram-plugin/gateway/auth-line.ts +5 -15
- package/telegram-plugin/gateway/boot-card.ts +20 -22
- package/telegram-plugin/gateway/boot-version.ts +3 -2
- package/telegram-plugin/gateway/config-approval-handler.test.ts +35 -33
- package/telegram-plugin/gateway/config-approval-handler.ts +24 -24
- package/telegram-plugin/gateway/config-snapshot.ts +9 -9
- package/telegram-plugin/gateway/diff-preview-card.test.ts +8 -8
- package/telegram-plugin/gateway/diff-preview-card.ts +2 -5
- package/telegram-plugin/gateway/disconnect-flush.ts +0 -4
- package/telegram-plugin/gateway/drive-write-approval.test.ts +10 -10
- package/telegram-plugin/gateway/drive-write-approval.ts +14 -8
- package/telegram-plugin/gateway/effort-command.ts +17 -17
- package/telegram-plugin/gateway/folder-picker-handler.test.ts +8 -2
- package/telegram-plugin/gateway/folder-picker-handler.ts +3 -4
- package/telegram-plugin/gateway/gateway.ts +881 -633
- package/telegram-plugin/gateway/inject-handler.test.ts +15 -13
- package/telegram-plugin/gateway/inject-handler.ts +5 -5
- package/telegram-plugin/gateway/ipc-protocol.ts +33 -1
- package/telegram-plugin/gateway/ipc-server.ts +39 -6
- package/telegram-plugin/gateway/linear-activity.ts +16 -14
- package/telegram-plugin/gateway/linear-setup.ts +1 -1
- package/telegram-plugin/gateway/model-command.ts +25 -25
- package/telegram-plugin/gateway/oversize-card-body.ts +6 -7
- package/telegram-plugin/gateway/permission-timeout.ts +76 -0
- package/telegram-plugin/gateway/skill-proposal-card.ts +167 -0
- package/telegram-plugin/inline-keyboard-callbacks.ts +19 -13
- package/telegram-plugin/issues-card.ts +6 -7
- package/telegram-plugin/model-unavailable.ts +8 -12
- package/telegram-plugin/operator-events-history.ts +1 -1
- package/telegram-plugin/operator-events.ts +24 -28
- package/telegram-plugin/package.json +1 -1
- package/telegram-plugin/pending-work-progress.ts +36 -36
- package/telegram-plugin/permission-title.ts +39 -20
- package/telegram-plugin/pty-partial-handler.ts +5 -13
- package/telegram-plugin/quota-check.ts +5 -5
- package/telegram-plugin/quota-watch.ts +13 -18
- package/telegram-plugin/recent-outbound-dedup.ts +5 -5
- package/telegram-plugin/registry/turns-schema.ts +43 -3
- package/telegram-plugin/retry-api-call.ts +42 -7
- package/telegram-plugin/rich-send.ts +86 -0
- package/telegram-plugin/secret-detect/vault-error.test.ts +6 -6
- package/telegram-plugin/secret-detect/vault-error.ts +29 -22
- package/telegram-plugin/shared/bot-runtime.ts +29 -7
- package/telegram-plugin/silence-poke.ts +26 -69
- package/telegram-plugin/silent-reply-anchor.ts +9 -2
- package/telegram-plugin/slot-banner-driver.ts +9 -6
- package/telegram-plugin/slot-banner.ts +5 -8
- package/telegram-plugin/status-no-truncate.ts +11 -5
- package/telegram-plugin/steering.ts +0 -4
- package/telegram-plugin/stream-controller.ts +59 -62
- package/telegram-plugin/stream-reply-handler.ts +49 -98
- package/telegram-plugin/subagent-watcher.ts +2 -2
- package/telegram-plugin/tests/answer-stream-silent-markers.test.ts +5 -2
- package/telegram-plugin/tests/answer-stream.test.ts +54 -63
- package/telegram-plugin/tests/auth-command-format2.test.ts +4 -4
- package/telegram-plugin/tests/auth-command-vernacular.test.ts +3 -2
- package/telegram-plugin/tests/auth-snapshot-format.test.ts +19 -18
- package/telegram-plugin/tests/auto-fallback-fleet.test.ts +15 -13
- package/telegram-plugin/tests/boot-card-reason-to-render.test.ts +27 -12
- package/telegram-plugin/tests/boot-card-render.test.ts +59 -48
- package/telegram-plugin/tests/boot-version-string.test.ts +0 -0
- package/telegram-plugin/tests/bot-api.harness.ts +23 -1
- package/telegram-plugin/tests/bot-runtime.test.ts +23 -18
- package/telegram-plugin/tests/card-format.test.ts +6 -4
- package/telegram-plugin/tests/config-snapshot.test.ts +1 -1
- package/telegram-plugin/tests/credits-watch.test.ts +5 -5
- package/telegram-plugin/tests/fake-bot-api.ts +58 -4
- package/telegram-plugin/tests/finalize-callback.test.ts +11 -9
- package/telegram-plugin/tests/foreground-nesting.test.ts +1 -1
- package/telegram-plugin/tests/gateway-disconnect-flush.test.ts +3 -13
- package/telegram-plugin/tests/ipc-server-validate-send-outbound.test.ts +6 -2
- package/telegram-plugin/tests/issues-card.test.ts +15 -12
- package/telegram-plugin/tests/length-error-classify.test.ts +131 -0
- package/telegram-plugin/tests/linear-agent-activity.test.ts +8 -5
- package/telegram-plugin/tests/model-command.test.ts +2 -2
- package/telegram-plugin/tests/model-unavailable.test.ts +13 -13
- package/telegram-plugin/tests/multi-turn-continuity.test.ts +6 -10
- package/telegram-plugin/tests/operator-events.test.ts +7 -9
- package/telegram-plugin/tests/paragraph-normalizer.test.ts +273 -0
- package/telegram-plugin/tests/pending-work-progress.test.ts +20 -21
- package/telegram-plugin/tests/permission-no-repeat-wiring.test.ts +12 -2
- package/telegram-plugin/tests/permission-timeout.test.ts +77 -0
- package/telegram-plugin/tests/permission-title.test.ts +88 -41
- package/telegram-plugin/tests/pty-partial-handler.test.ts +8 -8
- package/telegram-plugin/tests/quota-check.test.ts +3 -3
- package/telegram-plugin/tests/quota-watch.test.ts +8 -4
- package/telegram-plugin/tests/secret-detect-delete-must-surface-failures.test.ts +4 -3
- package/telegram-plugin/tests/silence-poke.test.ts +75 -112
- package/telegram-plugin/tests/single-mode-stream-reply.test.ts +137 -0
- package/telegram-plugin/tests/skill-proposal-card.test.ts +103 -0
- package/telegram-plugin/tests/slot-banner-driver.e2e.test.ts +36 -24
- package/telegram-plugin/tests/slot-banner.test.ts +9 -6
- package/telegram-plugin/tests/status-accent.test.ts +29 -32
- package/telegram-plugin/tests/{stream-controller-html-fallback.test.ts → stream-controller-parse-fallback.test.ts} +40 -42
- package/telegram-plugin/tests/stream-controller.test.ts +63 -52
- package/telegram-plugin/tests/stream-reply-error-paths.test.ts +43 -38
- package/telegram-plugin/tests/stream-reply-handler.test.ts +122 -249
- package/telegram-plugin/tests/streaming-e2e.test.ts +35 -30
- package/telegram-plugin/tests/streaming-orchestration.test.ts +29 -28
- package/telegram-plugin/tests/telegram-format.test.ts +120 -1083
- package/telegram-plugin/tests/tool-activity-summary.test.ts +144 -145
- package/telegram-plugin/tests/welcome-text.test.ts +72 -65
- package/telegram-plugin/tests/worker-activity-feed.test.ts +119 -137
- package/telegram-plugin/text-voice-scrub.ts +8 -11
- package/telegram-plugin/tool-activity-summary.ts +29 -29
- package/telegram-plugin/welcome-text.ts +82 -83
- package/telegram-plugin/worker-activity-feed.ts +2 -3
- package/telegram-plugin/html-sanitize.ts +0 -244
- package/telegram-plugin/tests/html-sanitize.test.ts +0 -146
- package/telegram-plugin/tests/parse-mode-rotation.test.ts +0 -162
package/dist/cli/switchroom.js
CHANGED
|
@@ -66,7 +66,7 @@ var __export = (target, all) => {
|
|
|
66
66
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
67
67
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
68
68
|
|
|
69
|
-
//
|
|
69
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/error.js
|
|
70
70
|
var require_error = __commonJS((exports) => {
|
|
71
71
|
class CommanderError extends Error {
|
|
72
72
|
constructor(exitCode, code, message) {
|
|
@@ -90,7 +90,7 @@ var require_error = __commonJS((exports) => {
|
|
|
90
90
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
//
|
|
93
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/argument.js
|
|
94
94
|
var require_argument = __commonJS((exports) => {
|
|
95
95
|
var { InvalidArgumentError } = require_error();
|
|
96
96
|
|
|
@@ -169,7 +169,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
169
169
|
exports.humanReadableArgName = humanReadableArgName;
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
//
|
|
172
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/help.js
|
|
173
173
|
var require_help = __commonJS((exports) => {
|
|
174
174
|
var { humanReadableArgName } = require_argument();
|
|
175
175
|
|
|
@@ -519,7 +519,7 @@ ${itemIndentStr}`);
|
|
|
519
519
|
exports.stripColor = stripColor;
|
|
520
520
|
});
|
|
521
521
|
|
|
522
|
-
//
|
|
522
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/option.js
|
|
523
523
|
var require_option = __commonJS((exports) => {
|
|
524
524
|
var { InvalidArgumentError } = require_error();
|
|
525
525
|
|
|
@@ -697,7 +697,7 @@ var require_option = __commonJS((exports) => {
|
|
|
697
697
|
exports.DualOptions = DualOptions;
|
|
698
698
|
});
|
|
699
699
|
|
|
700
|
-
//
|
|
700
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
|
|
701
701
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
702
702
|
var maxDistance = 3;
|
|
703
703
|
function editDistance(a, b) {
|
|
@@ -770,7 +770,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
770
770
|
exports.suggestSimilar = suggestSimilar;
|
|
771
771
|
});
|
|
772
772
|
|
|
773
|
-
//
|
|
773
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/lib/command.js
|
|
774
774
|
var require_command = __commonJS((exports) => {
|
|
775
775
|
var EventEmitter = __require("node:events").EventEmitter;
|
|
776
776
|
var childProcess = __require("node:child_process");
|
|
@@ -2080,7 +2080,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2080
2080
|
exports.useColor = useColor;
|
|
2081
2081
|
});
|
|
2082
2082
|
|
|
2083
|
-
//
|
|
2083
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/index.js
|
|
2084
2084
|
var require_commander = __commonJS((exports) => {
|
|
2085
2085
|
var { Argument } = require_argument();
|
|
2086
2086
|
var { Command } = require_command();
|
|
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS((exports) => {
|
|
|
2100
2100
|
exports.InvalidOptionArgumentError = InvalidArgumentError;
|
|
2101
2101
|
});
|
|
2102
2102
|
|
|
2103
|
-
//
|
|
2103
|
+
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
2104
2104
|
function assembleStyles() {
|
|
2105
2105
|
const codes = new Map;
|
|
2106
2106
|
for (const [groupName, group] of Object.entries(styles)) {
|
|
@@ -2276,7 +2276,7 @@ var init_ansi_styles = __esm(() => {
|
|
|
2276
2276
|
ansi_styles_default = ansiStyles;
|
|
2277
2277
|
});
|
|
2278
2278
|
|
|
2279
|
-
//
|
|
2279
|
+
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
2280
2280
|
import process2 from "node:process";
|
|
2281
2281
|
import os from "node:os";
|
|
2282
2282
|
import tty from "node:tty";
|
|
@@ -2410,7 +2410,7 @@ var init_supports_color = __esm(() => {
|
|
|
2410
2410
|
supports_color_default = supportsColor;
|
|
2411
2411
|
});
|
|
2412
2412
|
|
|
2413
|
-
//
|
|
2413
|
+
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
2414
2414
|
function stringReplaceAll(string, substring, replacer) {
|
|
2415
2415
|
let index = string.indexOf(substring);
|
|
2416
2416
|
if (index === -1) {
|
|
@@ -2443,7 +2443,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
2443
2443
|
return returnValue;
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
2446
|
-
//
|
|
2446
|
+
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
2447
2447
|
function createChalk(options) {
|
|
2448
2448
|
return chalkFactory(options);
|
|
2449
2449
|
}
|
|
@@ -2589,7 +2589,7 @@ var init_source = __esm(() => {
|
|
|
2589
2589
|
source_default = chalk;
|
|
2590
2590
|
});
|
|
2591
2591
|
|
|
2592
|
-
//
|
|
2592
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
2593
2593
|
var require_identity = __commonJS((exports) => {
|
|
2594
2594
|
var ALIAS = Symbol.for("yaml.alias");
|
|
2595
2595
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -2643,7 +2643,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
2643
2643
|
exports.isSeq = isSeq;
|
|
2644
2644
|
});
|
|
2645
2645
|
|
|
2646
|
-
//
|
|
2646
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
2647
2647
|
var require_visit = __commonJS((exports) => {
|
|
2648
2648
|
var identity = require_identity();
|
|
2649
2649
|
var BREAK = Symbol("break visit");
|
|
@@ -2798,7 +2798,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
2798
2798
|
exports.visitAsync = visitAsync;
|
|
2799
2799
|
});
|
|
2800
2800
|
|
|
2801
|
-
//
|
|
2801
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
2802
2802
|
var require_directives = __commonJS((exports) => {
|
|
2803
2803
|
var identity = require_identity();
|
|
2804
2804
|
var visit = require_visit();
|
|
@@ -2950,7 +2950,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
2950
2950
|
exports.Directives = Directives;
|
|
2951
2951
|
});
|
|
2952
2952
|
|
|
2953
|
-
//
|
|
2953
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
2954
2954
|
var require_anchors = __commonJS((exports) => {
|
|
2955
2955
|
var identity = require_identity();
|
|
2956
2956
|
var visit = require_visit();
|
|
@@ -3012,7 +3012,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
3012
3012
|
exports.findNewAnchor = findNewAnchor;
|
|
3013
3013
|
});
|
|
3014
3014
|
|
|
3015
|
-
//
|
|
3015
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
3016
3016
|
var require_applyReviver = __commonJS((exports) => {
|
|
3017
3017
|
function applyReviver(reviver, obj, key, val) {
|
|
3018
3018
|
if (val && typeof val === "object") {
|
|
@@ -3059,7 +3059,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
3059
3059
|
exports.applyReviver = applyReviver;
|
|
3060
3060
|
});
|
|
3061
3061
|
|
|
3062
|
-
//
|
|
3062
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
3063
3063
|
var require_toJS = __commonJS((exports) => {
|
|
3064
3064
|
var identity = require_identity();
|
|
3065
3065
|
function toJS(value, arg, ctx) {
|
|
@@ -3086,7 +3086,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
3086
3086
|
exports.toJS = toJS;
|
|
3087
3087
|
});
|
|
3088
3088
|
|
|
3089
|
-
//
|
|
3089
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
3090
3090
|
var require_Node = __commonJS((exports) => {
|
|
3091
3091
|
var applyReviver = require_applyReviver();
|
|
3092
3092
|
var identity = require_identity();
|
|
@@ -3123,7 +3123,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
3123
3123
|
exports.NodeBase = NodeBase;
|
|
3124
3124
|
});
|
|
3125
3125
|
|
|
3126
|
-
//
|
|
3126
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
3127
3127
|
var require_Alias = __commonJS((exports) => {
|
|
3128
3128
|
var anchors = require_anchors();
|
|
3129
3129
|
var visit = require_visit();
|
|
@@ -3231,7 +3231,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
3231
3231
|
exports.Alias = Alias;
|
|
3232
3232
|
});
|
|
3233
3233
|
|
|
3234
|
-
//
|
|
3234
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
3235
3235
|
var require_Scalar = __commonJS((exports) => {
|
|
3236
3236
|
var identity = require_identity();
|
|
3237
3237
|
var Node = require_Node();
|
|
@@ -3259,7 +3259,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
3259
3259
|
exports.isScalarValue = isScalarValue;
|
|
3260
3260
|
});
|
|
3261
3261
|
|
|
3262
|
-
//
|
|
3262
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
3263
3263
|
var require_createNode = __commonJS((exports) => {
|
|
3264
3264
|
var Alias = require_Alias();
|
|
3265
3265
|
var identity = require_identity();
|
|
@@ -3331,7 +3331,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
3331
3331
|
exports.createNode = createNode;
|
|
3332
3332
|
});
|
|
3333
3333
|
|
|
3334
|
-
//
|
|
3334
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
3335
3335
|
var require_Collection = __commonJS((exports) => {
|
|
3336
3336
|
var createNode = require_createNode();
|
|
3337
3337
|
var identity = require_identity();
|
|
@@ -3446,7 +3446,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
3446
3446
|
exports.isEmptyPath = isEmptyPath;
|
|
3447
3447
|
});
|
|
3448
3448
|
|
|
3449
|
-
//
|
|
3449
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
3450
3450
|
var require_stringifyComment = __commonJS((exports) => {
|
|
3451
3451
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
3452
3452
|
function indentComment(comment, indent) {
|
|
@@ -3463,7 +3463,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
3463
3463
|
exports.stringifyComment = stringifyComment;
|
|
3464
3464
|
});
|
|
3465
3465
|
|
|
3466
|
-
//
|
|
3466
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
3467
3467
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
3468
3468
|
var FOLD_FLOW = "flow";
|
|
3469
3469
|
var FOLD_BLOCK = "block";
|
|
@@ -3600,7 +3600,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
3600
3600
|
exports.foldFlowLines = foldFlowLines;
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
|
-
//
|
|
3603
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
3604
3604
|
var require_stringifyString = __commonJS((exports) => {
|
|
3605
3605
|
var Scalar = require_Scalar();
|
|
3606
3606
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -3898,7 +3898,7 @@ ${indent}`);
|
|
|
3898
3898
|
exports.stringifyString = stringifyString;
|
|
3899
3899
|
});
|
|
3900
3900
|
|
|
3901
|
-
//
|
|
3901
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
3902
3902
|
var require_stringify = __commonJS((exports) => {
|
|
3903
3903
|
var anchors = require_anchors();
|
|
3904
3904
|
var identity = require_identity();
|
|
@@ -4019,7 +4019,7 @@ ${ctx.indent}${str}`;
|
|
|
4019
4019
|
exports.stringify = stringify;
|
|
4020
4020
|
});
|
|
4021
4021
|
|
|
4022
|
-
//
|
|
4022
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
4023
4023
|
var require_stringifyPair = __commonJS((exports) => {
|
|
4024
4024
|
var identity = require_identity();
|
|
4025
4025
|
var Scalar = require_Scalar();
|
|
@@ -4155,7 +4155,7 @@ ${ctx.indent}`;
|
|
|
4155
4155
|
exports.stringifyPair = stringifyPair;
|
|
4156
4156
|
});
|
|
4157
4157
|
|
|
4158
|
-
//
|
|
4158
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
4159
4159
|
var require_log = __commonJS((exports) => {
|
|
4160
4160
|
var node_process = __require("process");
|
|
4161
4161
|
function debug(logLevel, ...messages) {
|
|
@@ -4174,7 +4174,7 @@ var require_log = __commonJS((exports) => {
|
|
|
4174
4174
|
exports.warn = warn;
|
|
4175
4175
|
});
|
|
4176
4176
|
|
|
4177
|
-
//
|
|
4177
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
4178
4178
|
var require_merge = __commonJS((exports) => {
|
|
4179
4179
|
var identity = require_identity();
|
|
4180
4180
|
var Scalar = require_Scalar();
|
|
@@ -4228,7 +4228,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
4228
4228
|
exports.merge = merge;
|
|
4229
4229
|
});
|
|
4230
4230
|
|
|
4231
|
-
//
|
|
4231
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
4232
4232
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
4233
4233
|
var log = require_log();
|
|
4234
4234
|
var merge = require_merge();
|
|
@@ -4289,7 +4289,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
4289
4289
|
exports.addPairToJSMap = addPairToJSMap;
|
|
4290
4290
|
});
|
|
4291
4291
|
|
|
4292
|
-
//
|
|
4292
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
4293
4293
|
var require_Pair = __commonJS((exports) => {
|
|
4294
4294
|
var createNode = require_createNode();
|
|
4295
4295
|
var stringifyPair = require_stringifyPair();
|
|
@@ -4327,7 +4327,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
4327
4327
|
exports.createPair = createPair;
|
|
4328
4328
|
});
|
|
4329
4329
|
|
|
4330
|
-
//
|
|
4330
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
4331
4331
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
4332
4332
|
var identity = require_identity();
|
|
4333
4333
|
var stringify = require_stringify();
|
|
@@ -4479,7 +4479,7 @@ ${indent}${end}`;
|
|
|
4479
4479
|
exports.stringifyCollection = stringifyCollection;
|
|
4480
4480
|
});
|
|
4481
4481
|
|
|
4482
|
-
//
|
|
4482
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
4483
4483
|
var require_YAMLMap = __commonJS((exports) => {
|
|
4484
4484
|
var stringifyCollection = require_stringifyCollection();
|
|
4485
4485
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -4606,7 +4606,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
4606
4606
|
exports.findPair = findPair;
|
|
4607
4607
|
});
|
|
4608
4608
|
|
|
4609
|
-
//
|
|
4609
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
4610
4610
|
var require_map = __commonJS((exports) => {
|
|
4611
4611
|
var identity = require_identity();
|
|
4612
4612
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4625,7 +4625,7 @@ var require_map = __commonJS((exports) => {
|
|
|
4625
4625
|
exports.map = map;
|
|
4626
4626
|
});
|
|
4627
4627
|
|
|
4628
|
-
//
|
|
4628
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
4629
4629
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
4630
4630
|
var createNode = require_createNode();
|
|
4631
4631
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -4718,7 +4718,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
4718
4718
|
exports.YAMLSeq = YAMLSeq;
|
|
4719
4719
|
});
|
|
4720
4720
|
|
|
4721
|
-
//
|
|
4721
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
4722
4722
|
var require_seq = __commonJS((exports) => {
|
|
4723
4723
|
var identity = require_identity();
|
|
4724
4724
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -4737,7 +4737,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
4737
4737
|
exports.seq = seq;
|
|
4738
4738
|
});
|
|
4739
4739
|
|
|
4740
|
-
//
|
|
4740
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
4741
4741
|
var require_string = __commonJS((exports) => {
|
|
4742
4742
|
var stringifyString = require_stringifyString();
|
|
4743
4743
|
var string = {
|
|
@@ -4753,7 +4753,7 @@ var require_string = __commonJS((exports) => {
|
|
|
4753
4753
|
exports.string = string;
|
|
4754
4754
|
});
|
|
4755
4755
|
|
|
4756
|
-
//
|
|
4756
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
4757
4757
|
var require_null = __commonJS((exports) => {
|
|
4758
4758
|
var Scalar = require_Scalar();
|
|
4759
4759
|
var nullTag = {
|
|
@@ -4768,7 +4768,7 @@ var require_null = __commonJS((exports) => {
|
|
|
4768
4768
|
exports.nullTag = nullTag;
|
|
4769
4769
|
});
|
|
4770
4770
|
|
|
4771
|
-
//
|
|
4771
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
4772
4772
|
var require_bool = __commonJS((exports) => {
|
|
4773
4773
|
var Scalar = require_Scalar();
|
|
4774
4774
|
var boolTag = {
|
|
@@ -4789,7 +4789,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
4789
4789
|
exports.boolTag = boolTag;
|
|
4790
4790
|
});
|
|
4791
4791
|
|
|
4792
|
-
//
|
|
4792
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
4793
4793
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
4794
4794
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
4795
4795
|
if (typeof value === "bigint")
|
|
@@ -4813,7 +4813,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
4813
4813
|
exports.stringifyNumber = stringifyNumber;
|
|
4814
4814
|
});
|
|
4815
4815
|
|
|
4816
|
-
//
|
|
4816
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
4817
4817
|
var require_float = __commonJS((exports) => {
|
|
4818
4818
|
var Scalar = require_Scalar();
|
|
4819
4819
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -4856,7 +4856,7 @@ var require_float = __commonJS((exports) => {
|
|
|
4856
4856
|
exports.floatNaN = floatNaN;
|
|
4857
4857
|
});
|
|
4858
4858
|
|
|
4859
|
-
//
|
|
4859
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
4860
4860
|
var require_int = __commonJS((exports) => {
|
|
4861
4861
|
var stringifyNumber = require_stringifyNumber();
|
|
4862
4862
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -4898,7 +4898,7 @@ var require_int = __commonJS((exports) => {
|
|
|
4898
4898
|
exports.intOct = intOct;
|
|
4899
4899
|
});
|
|
4900
4900
|
|
|
4901
|
-
//
|
|
4901
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
4902
4902
|
var require_schema = __commonJS((exports) => {
|
|
4903
4903
|
var map = require_map();
|
|
4904
4904
|
var _null = require_null();
|
|
@@ -4923,7 +4923,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
4923
4923
|
exports.schema = schema;
|
|
4924
4924
|
});
|
|
4925
4925
|
|
|
4926
|
-
//
|
|
4926
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
4927
4927
|
var require_schema2 = __commonJS((exports) => {
|
|
4928
4928
|
var Scalar = require_Scalar();
|
|
4929
4929
|
var map = require_map();
|
|
@@ -4987,7 +4987,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
4987
4987
|
exports.schema = schema;
|
|
4988
4988
|
});
|
|
4989
4989
|
|
|
4990
|
-
//
|
|
4990
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
4991
4991
|
var require_binary = __commonJS((exports) => {
|
|
4992
4992
|
var node_buffer = __require("buffer");
|
|
4993
4993
|
var Scalar = require_Scalar();
|
|
@@ -5042,7 +5042,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
5042
5042
|
exports.binary = binary;
|
|
5043
5043
|
});
|
|
5044
5044
|
|
|
5045
|
-
//
|
|
5045
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
5046
5046
|
var require_pairs = __commonJS((exports) => {
|
|
5047
5047
|
var identity = require_identity();
|
|
5048
5048
|
var Pair = require_Pair();
|
|
@@ -5117,7 +5117,7 @@ ${cn.comment}` : item.comment;
|
|
|
5117
5117
|
exports.resolvePairs = resolvePairs;
|
|
5118
5118
|
});
|
|
5119
5119
|
|
|
5120
|
-
//
|
|
5120
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
5121
5121
|
var require_omap = __commonJS((exports) => {
|
|
5122
5122
|
var identity = require_identity();
|
|
5123
5123
|
var toJS = require_toJS();
|
|
@@ -5189,7 +5189,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
5189
5189
|
exports.omap = omap;
|
|
5190
5190
|
});
|
|
5191
5191
|
|
|
5192
|
-
//
|
|
5192
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
5193
5193
|
var require_bool2 = __commonJS((exports) => {
|
|
5194
5194
|
var Scalar = require_Scalar();
|
|
5195
5195
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -5218,7 +5218,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
5218
5218
|
exports.trueTag = trueTag;
|
|
5219
5219
|
});
|
|
5220
5220
|
|
|
5221
|
-
//
|
|
5221
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
5222
5222
|
var require_float2 = __commonJS((exports) => {
|
|
5223
5223
|
var Scalar = require_Scalar();
|
|
5224
5224
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -5264,7 +5264,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
5264
5264
|
exports.floatNaN = floatNaN;
|
|
5265
5265
|
});
|
|
5266
5266
|
|
|
5267
|
-
//
|
|
5267
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
5268
5268
|
var require_int2 = __commonJS((exports) => {
|
|
5269
5269
|
var stringifyNumber = require_stringifyNumber();
|
|
5270
5270
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -5340,7 +5340,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
5340
5340
|
exports.intOct = intOct;
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
|
-
//
|
|
5343
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
5344
5344
|
var require_set = __commonJS((exports) => {
|
|
5345
5345
|
var identity = require_identity();
|
|
5346
5346
|
var Pair = require_Pair();
|
|
@@ -5423,7 +5423,7 @@ var require_set = __commonJS((exports) => {
|
|
|
5423
5423
|
exports.set = set;
|
|
5424
5424
|
});
|
|
5425
5425
|
|
|
5426
|
-
//
|
|
5426
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
5427
5427
|
var require_timestamp = __commonJS((exports) => {
|
|
5428
5428
|
var stringifyNumber = require_stringifyNumber();
|
|
5429
5429
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -5505,7 +5505,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
5505
5505
|
exports.timestamp = timestamp;
|
|
5506
5506
|
});
|
|
5507
5507
|
|
|
5508
|
-
//
|
|
5508
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
5509
5509
|
var require_schema3 = __commonJS((exports) => {
|
|
5510
5510
|
var map = require_map();
|
|
5511
5511
|
var _null = require_null();
|
|
@@ -5546,7 +5546,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
5546
5546
|
exports.schema = schema;
|
|
5547
5547
|
});
|
|
5548
5548
|
|
|
5549
|
-
//
|
|
5549
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
5550
5550
|
var require_tags = __commonJS((exports) => {
|
|
5551
5551
|
var map = require_map();
|
|
5552
5552
|
var _null = require_null();
|
|
@@ -5637,7 +5637,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
5637
5637
|
exports.getTags = getTags;
|
|
5638
5638
|
});
|
|
5639
5639
|
|
|
5640
|
-
//
|
|
5640
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
5641
5641
|
var require_Schema = __commonJS((exports) => {
|
|
5642
5642
|
var identity = require_identity();
|
|
5643
5643
|
var map = require_map();
|
|
@@ -5667,7 +5667,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
5667
5667
|
exports.Schema = Schema;
|
|
5668
5668
|
});
|
|
5669
5669
|
|
|
5670
|
-
//
|
|
5670
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
5671
5671
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
5672
5672
|
var identity = require_identity();
|
|
5673
5673
|
var stringify = require_stringify();
|
|
@@ -5747,7 +5747,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
5747
5747
|
exports.stringifyDocument = stringifyDocument;
|
|
5748
5748
|
});
|
|
5749
5749
|
|
|
5750
|
-
//
|
|
5750
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
5751
5751
|
var require_Document = __commonJS((exports) => {
|
|
5752
5752
|
var Alias = require_Alias();
|
|
5753
5753
|
var Collection = require_Collection();
|
|
@@ -5982,7 +5982,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
5982
5982
|
exports.Document = Document;
|
|
5983
5983
|
});
|
|
5984
5984
|
|
|
5985
|
-
//
|
|
5985
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
5986
5986
|
var require_errors = __commonJS((exports) => {
|
|
5987
5987
|
class YAMLError extends Error {
|
|
5988
5988
|
constructor(name, pos, code, message) {
|
|
@@ -6047,7 +6047,7 @@ ${pointer}
|
|
|
6047
6047
|
exports.prettifyError = prettifyError;
|
|
6048
6048
|
});
|
|
6049
6049
|
|
|
6050
|
-
//
|
|
6050
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
6051
6051
|
var require_resolve_props = __commonJS((exports) => {
|
|
6052
6052
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
6053
6053
|
let spaceBefore = false;
|
|
@@ -6177,7 +6177,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
6177
6177
|
exports.resolveProps = resolveProps;
|
|
6178
6178
|
});
|
|
6179
6179
|
|
|
6180
|
-
//
|
|
6180
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
6181
6181
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
6182
6182
|
function containsNewline(key) {
|
|
6183
6183
|
if (!key)
|
|
@@ -6217,7 +6217,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
6217
6217
|
exports.containsNewline = containsNewline;
|
|
6218
6218
|
});
|
|
6219
6219
|
|
|
6220
|
-
//
|
|
6220
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
6221
6221
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
6222
6222
|
var utilContainsNewline = require_util_contains_newline();
|
|
6223
6223
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -6232,7 +6232,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
6232
6232
|
exports.flowIndentCheck = flowIndentCheck;
|
|
6233
6233
|
});
|
|
6234
6234
|
|
|
6235
|
-
//
|
|
6235
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
6236
6236
|
var require_util_map_includes = __commonJS((exports) => {
|
|
6237
6237
|
var identity = require_identity();
|
|
6238
6238
|
function mapIncludes(ctx, items, search) {
|
|
@@ -6245,7 +6245,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
6245
6245
|
exports.mapIncludes = mapIncludes;
|
|
6246
6246
|
});
|
|
6247
6247
|
|
|
6248
|
-
//
|
|
6248
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
6249
6249
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
6250
6250
|
var Pair = require_Pair();
|
|
6251
6251
|
var YAMLMap = require_YAMLMap();
|
|
@@ -6352,7 +6352,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
6352
6352
|
exports.resolveBlockMap = resolveBlockMap;
|
|
6353
6353
|
});
|
|
6354
6354
|
|
|
6355
|
-
//
|
|
6355
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
6356
6356
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
6357
6357
|
var YAMLSeq = require_YAMLSeq();
|
|
6358
6358
|
var resolveProps = require_resolve_props();
|
|
@@ -6400,7 +6400,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
6400
6400
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
6401
6401
|
});
|
|
6402
6402
|
|
|
6403
|
-
//
|
|
6403
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
6404
6404
|
var require_resolve_end = __commonJS((exports) => {
|
|
6405
6405
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
6406
6406
|
let comment = "";
|
|
@@ -6440,7 +6440,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
6440
6440
|
exports.resolveEnd = resolveEnd;
|
|
6441
6441
|
});
|
|
6442
6442
|
|
|
6443
|
-
//
|
|
6443
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
6444
6444
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
6445
6445
|
var identity = require_identity();
|
|
6446
6446
|
var Pair = require_Pair();
|
|
@@ -6631,7 +6631,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
6631
6631
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
6632
6632
|
});
|
|
6633
6633
|
|
|
6634
|
-
//
|
|
6634
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
6635
6635
|
var require_compose_collection = __commonJS((exports) => {
|
|
6636
6636
|
var identity = require_identity();
|
|
6637
6637
|
var Scalar = require_Scalar();
|
|
@@ -6693,7 +6693,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
6693
6693
|
exports.composeCollection = composeCollection;
|
|
6694
6694
|
});
|
|
6695
6695
|
|
|
6696
|
-
//
|
|
6696
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
6697
6697
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
6698
6698
|
var Scalar = require_Scalar();
|
|
6699
6699
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -6886,7 +6886,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
6886
6886
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
6887
6887
|
});
|
|
6888
6888
|
|
|
6889
|
-
//
|
|
6889
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
6890
6890
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
6891
6891
|
var Scalar = require_Scalar();
|
|
6892
6892
|
var resolveEnd = require_resolve_end();
|
|
@@ -7102,7 +7102,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
7102
7102
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
7103
7103
|
});
|
|
7104
7104
|
|
|
7105
|
-
//
|
|
7105
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
7106
7106
|
var require_compose_scalar = __commonJS((exports) => {
|
|
7107
7107
|
var identity = require_identity();
|
|
7108
7108
|
var Scalar = require_Scalar();
|
|
@@ -7180,7 +7180,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
7180
7180
|
exports.composeScalar = composeScalar;
|
|
7181
7181
|
});
|
|
7182
7182
|
|
|
7183
|
-
//
|
|
7183
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
7184
7184
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
7185
7185
|
function emptyScalarPosition(offset, before, pos) {
|
|
7186
7186
|
if (before) {
|
|
@@ -7207,7 +7207,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
7207
7207
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
7208
7208
|
});
|
|
7209
7209
|
|
|
7210
|
-
//
|
|
7210
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
7211
7211
|
var require_compose_node = __commonJS((exports) => {
|
|
7212
7212
|
var Alias = require_Alias();
|
|
7213
7213
|
var identity = require_identity();
|
|
@@ -7310,7 +7310,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
7310
7310
|
exports.composeNode = composeNode;
|
|
7311
7311
|
});
|
|
7312
7312
|
|
|
7313
|
-
//
|
|
7313
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
7314
7314
|
var require_compose_doc = __commonJS((exports) => {
|
|
7315
7315
|
var Document = require_Document();
|
|
7316
7316
|
var composeNode = require_compose_node();
|
|
@@ -7350,7 +7350,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
7350
7350
|
exports.composeDoc = composeDoc;
|
|
7351
7351
|
});
|
|
7352
7352
|
|
|
7353
|
-
//
|
|
7353
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
7354
7354
|
var require_composer = __commonJS((exports) => {
|
|
7355
7355
|
var node_process = __require("process");
|
|
7356
7356
|
var directives = require_directives();
|
|
@@ -7539,7 +7539,7 @@ ${end.comment}` : end.comment;
|
|
|
7539
7539
|
exports.Composer = Composer;
|
|
7540
7540
|
});
|
|
7541
7541
|
|
|
7542
|
-
//
|
|
7542
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
7543
7543
|
var require_cst_scalar = __commonJS((exports) => {
|
|
7544
7544
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
7545
7545
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -7729,7 +7729,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
7729
7729
|
exports.setScalarValue = setScalarValue;
|
|
7730
7730
|
});
|
|
7731
7731
|
|
|
7732
|
-
//
|
|
7732
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
7733
7733
|
var require_cst_stringify = __commonJS((exports) => {
|
|
7734
7734
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
7735
7735
|
function stringifyToken(token) {
|
|
@@ -7787,7 +7787,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
7787
7787
|
exports.stringify = stringify;
|
|
7788
7788
|
});
|
|
7789
7789
|
|
|
7790
|
-
//
|
|
7790
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
7791
7791
|
var require_cst_visit = __commonJS((exports) => {
|
|
7792
7792
|
var BREAK = Symbol("break visit");
|
|
7793
7793
|
var SKIP = Symbol("skip children");
|
|
@@ -7846,7 +7846,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
7846
7846
|
exports.visit = visit;
|
|
7847
7847
|
});
|
|
7848
7848
|
|
|
7849
|
-
//
|
|
7849
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
7850
7850
|
var require_cst = __commonJS((exports) => {
|
|
7851
7851
|
var cstScalar = require_cst_scalar();
|
|
7852
7852
|
var cstStringify = require_cst_stringify();
|
|
@@ -7947,7 +7947,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
7947
7947
|
exports.tokenType = tokenType;
|
|
7948
7948
|
});
|
|
7949
7949
|
|
|
7950
|
-
//
|
|
7950
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
7951
7951
|
var require_lexer = __commonJS((exports) => {
|
|
7952
7952
|
var cst = require_cst();
|
|
7953
7953
|
function isEmpty(ch) {
|
|
@@ -8533,7 +8533,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
8533
8533
|
exports.Lexer = Lexer;
|
|
8534
8534
|
});
|
|
8535
8535
|
|
|
8536
|
-
//
|
|
8536
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
8537
8537
|
var require_line_counter = __commonJS((exports) => {
|
|
8538
8538
|
class LineCounter {
|
|
8539
8539
|
constructor() {
|
|
@@ -8561,7 +8561,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
8561
8561
|
exports.LineCounter = LineCounter;
|
|
8562
8562
|
});
|
|
8563
8563
|
|
|
8564
|
-
//
|
|
8564
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
8565
8565
|
var require_parser = __commonJS((exports) => {
|
|
8566
8566
|
var node_process = __require("process");
|
|
8567
8567
|
var cst = require_cst();
|
|
@@ -9410,7 +9410,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
9410
9410
|
exports.Parser = Parser;
|
|
9411
9411
|
});
|
|
9412
9412
|
|
|
9413
|
-
//
|
|
9413
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
9414
9414
|
var require_public_api = __commonJS((exports) => {
|
|
9415
9415
|
var composer = require_composer();
|
|
9416
9416
|
var Document = require_Document();
|
|
@@ -9504,7 +9504,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
9504
9504
|
exports.stringify = stringify;
|
|
9505
9505
|
});
|
|
9506
9506
|
|
|
9507
|
-
//
|
|
9507
|
+
// node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
9508
9508
|
var require_dist = __commonJS((exports) => {
|
|
9509
9509
|
var composer = require_composer();
|
|
9510
9510
|
var Document = require_Document();
|
|
@@ -9553,7 +9553,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
9553
9553
|
exports.visitAsync = visit.visitAsync;
|
|
9554
9554
|
});
|
|
9555
9555
|
|
|
9556
|
-
//
|
|
9556
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
9557
9557
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
9558
9558
|
const t = typeof data;
|
|
9559
9559
|
switch (t) {
|
|
@@ -9684,7 +9684,7 @@ var init_util = __esm(() => {
|
|
|
9684
9684
|
]);
|
|
9685
9685
|
});
|
|
9686
9686
|
|
|
9687
|
-
//
|
|
9687
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
9688
9688
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
9689
9689
|
const json = JSON.stringify(obj, null, 2);
|
|
9690
9690
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -9805,7 +9805,7 @@ var init_ZodError = __esm(() => {
|
|
|
9805
9805
|
};
|
|
9806
9806
|
});
|
|
9807
9807
|
|
|
9808
|
-
//
|
|
9808
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
9809
9809
|
var errorMap = (issue, _ctx) => {
|
|
9810
9810
|
let message;
|
|
9811
9811
|
switch (issue.code) {
|
|
@@ -9912,7 +9912,7 @@ var init_en = __esm(() => {
|
|
|
9912
9912
|
en_default = errorMap;
|
|
9913
9913
|
});
|
|
9914
9914
|
|
|
9915
|
-
//
|
|
9915
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
9916
9916
|
function setErrorMap(map) {
|
|
9917
9917
|
overrideErrorMap = map;
|
|
9918
9918
|
}
|
|
@@ -9925,7 +9925,7 @@ var init_errors = __esm(() => {
|
|
|
9925
9925
|
overrideErrorMap = en_default;
|
|
9926
9926
|
});
|
|
9927
9927
|
|
|
9928
|
-
//
|
|
9928
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
9929
9929
|
function addIssueToContext(ctx, issueData) {
|
|
9930
9930
|
const overrideMap = getErrorMap();
|
|
9931
9931
|
const issue = makeIssue({
|
|
@@ -10030,10 +10030,10 @@ var init_parseUtil = __esm(() => {
|
|
|
10030
10030
|
});
|
|
10031
10031
|
});
|
|
10032
10032
|
|
|
10033
|
-
//
|
|
10033
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
10034
10034
|
var init_typeAliases = () => {};
|
|
10035
10035
|
|
|
10036
|
-
//
|
|
10036
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
10037
10037
|
var errorUtil;
|
|
10038
10038
|
var init_errorUtil = __esm(() => {
|
|
10039
10039
|
(function(errorUtil2) {
|
|
@@ -10042,7 +10042,7 @@ var init_errorUtil = __esm(() => {
|
|
|
10042
10042
|
})(errorUtil || (errorUtil = {}));
|
|
10043
10043
|
});
|
|
10044
10044
|
|
|
10045
|
-
//
|
|
10045
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
10046
10046
|
class ParseInputLazyPath {
|
|
10047
10047
|
constructor(parent, value, path, key) {
|
|
10048
10048
|
this._cachedPath = [];
|
|
@@ -13393,7 +13393,7 @@ var init_types = __esm(() => {
|
|
|
13393
13393
|
NEVER = INVALID;
|
|
13394
13394
|
});
|
|
13395
13395
|
|
|
13396
|
-
//
|
|
13396
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
13397
13397
|
var exports_external = {};
|
|
13398
13398
|
__export(exports_external, {
|
|
13399
13399
|
void: () => voidType,
|
|
@@ -13513,7 +13513,7 @@ var init_external = __esm(() => {
|
|
|
13513
13513
|
init_ZodError();
|
|
13514
13514
|
});
|
|
13515
13515
|
|
|
13516
|
-
//
|
|
13516
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
13517
13517
|
var init_zod = __esm(() => {
|
|
13518
13518
|
init_external();
|
|
13519
13519
|
init_external();
|
|
@@ -16047,7 +16047,7 @@ var init_acl = __esm(() => {
|
|
|
16047
16047
|
]);
|
|
16048
16048
|
});
|
|
16049
16049
|
|
|
16050
|
-
//
|
|
16050
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
16051
16051
|
var require_utils = __commonJS((exports) => {
|
|
16052
16052
|
exports.__esModule = true;
|
|
16053
16053
|
exports.extend = extend;
|
|
@@ -16143,7 +16143,7 @@ var require_utils = __commonJS((exports) => {
|
|
|
16143
16143
|
}
|
|
16144
16144
|
});
|
|
16145
16145
|
|
|
16146
|
-
//
|
|
16146
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
16147
16147
|
var require_exception = __commonJS((exports, module) => {
|
|
16148
16148
|
exports.__esModule = true;
|
|
16149
16149
|
var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
@@ -16188,7 +16188,7 @@ var require_exception = __commonJS((exports, module) => {
|
|
|
16188
16188
|
module.exports = exports["default"];
|
|
16189
16189
|
});
|
|
16190
16190
|
|
|
16191
|
-
//
|
|
16191
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
16192
16192
|
var require_block_helper_missing = __commonJS((exports, module) => {
|
|
16193
16193
|
exports.__esModule = true;
|
|
16194
16194
|
var _utils = require_utils();
|
|
@@ -16221,7 +16221,7 @@ var require_block_helper_missing = __commonJS((exports, module) => {
|
|
|
16221
16221
|
module.exports = exports["default"];
|
|
16222
16222
|
});
|
|
16223
16223
|
|
|
16224
|
-
//
|
|
16224
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
16225
16225
|
var require_each = __commonJS((exports, module) => {
|
|
16226
16226
|
exports.__esModule = true;
|
|
16227
16227
|
function _interopRequireDefault(obj) {
|
|
@@ -16302,7 +16302,7 @@ var require_each = __commonJS((exports, module) => {
|
|
|
16302
16302
|
module.exports = exports["default"];
|
|
16303
16303
|
});
|
|
16304
16304
|
|
|
16305
|
-
//
|
|
16305
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
16306
16306
|
var require_helper_missing = __commonJS((exports, module) => {
|
|
16307
16307
|
exports.__esModule = true;
|
|
16308
16308
|
function _interopRequireDefault(obj) {
|
|
@@ -16322,7 +16322,7 @@ var require_helper_missing = __commonJS((exports, module) => {
|
|
|
16322
16322
|
module.exports = exports["default"];
|
|
16323
16323
|
});
|
|
16324
16324
|
|
|
16325
|
-
//
|
|
16325
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
16326
16326
|
var require_if = __commonJS((exports, module) => {
|
|
16327
16327
|
exports.__esModule = true;
|
|
16328
16328
|
function _interopRequireDefault(obj) {
|
|
@@ -16359,7 +16359,7 @@ var require_if = __commonJS((exports, module) => {
|
|
|
16359
16359
|
module.exports = exports["default"];
|
|
16360
16360
|
});
|
|
16361
16361
|
|
|
16362
|
-
//
|
|
16362
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
16363
16363
|
var require_log2 = __commonJS((exports, module) => {
|
|
16364
16364
|
exports.__esModule = true;
|
|
16365
16365
|
exports.default = function(instance) {
|
|
@@ -16381,7 +16381,7 @@ var require_log2 = __commonJS((exports, module) => {
|
|
|
16381
16381
|
module.exports = exports["default"];
|
|
16382
16382
|
});
|
|
16383
16383
|
|
|
16384
|
-
//
|
|
16384
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
16385
16385
|
var require_lookup = __commonJS((exports, module) => {
|
|
16386
16386
|
exports.__esModule = true;
|
|
16387
16387
|
exports.default = function(instance) {
|
|
@@ -16395,7 +16395,7 @@ var require_lookup = __commonJS((exports, module) => {
|
|
|
16395
16395
|
module.exports = exports["default"];
|
|
16396
16396
|
});
|
|
16397
16397
|
|
|
16398
|
-
//
|
|
16398
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
16399
16399
|
var require_with = __commonJS((exports, module) => {
|
|
16400
16400
|
exports.__esModule = true;
|
|
16401
16401
|
function _interopRequireDefault(obj) {
|
|
@@ -16431,7 +16431,7 @@ var require_with = __commonJS((exports, module) => {
|
|
|
16431
16431
|
module.exports = exports["default"];
|
|
16432
16432
|
});
|
|
16433
16433
|
|
|
16434
|
-
//
|
|
16434
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
16435
16435
|
var require_helpers = __commonJS((exports) => {
|
|
16436
16436
|
exports.__esModule = true;
|
|
16437
16437
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
|
@@ -16472,7 +16472,7 @@ var require_helpers = __commonJS((exports) => {
|
|
|
16472
16472
|
}
|
|
16473
16473
|
});
|
|
16474
16474
|
|
|
16475
|
-
//
|
|
16475
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
16476
16476
|
var require_inline = __commonJS((exports, module) => {
|
|
16477
16477
|
exports.__esModule = true;
|
|
16478
16478
|
var _utils = require_utils();
|
|
@@ -16496,7 +16496,7 @@ var require_inline = __commonJS((exports, module) => {
|
|
|
16496
16496
|
module.exports = exports["default"];
|
|
16497
16497
|
});
|
|
16498
16498
|
|
|
16499
|
-
//
|
|
16499
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
16500
16500
|
var require_decorators = __commonJS((exports) => {
|
|
16501
16501
|
exports.__esModule = true;
|
|
16502
16502
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
|
@@ -16510,7 +16510,7 @@ var require_decorators = __commonJS((exports) => {
|
|
|
16510
16510
|
}
|
|
16511
16511
|
});
|
|
16512
16512
|
|
|
16513
|
-
//
|
|
16513
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
16514
16514
|
var require_logger = __commonJS((exports, module) => {
|
|
16515
16515
|
exports.__esModule = true;
|
|
16516
16516
|
var _utils = require_utils();
|
|
@@ -16546,7 +16546,7 @@ var require_logger = __commonJS((exports, module) => {
|
|
|
16546
16546
|
module.exports = exports["default"];
|
|
16547
16547
|
});
|
|
16548
16548
|
|
|
16549
|
-
//
|
|
16549
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
16550
16550
|
var require_proto_access = __commonJS((exports) => {
|
|
16551
16551
|
exports.__esModule = true;
|
|
16552
16552
|
exports.createProtoAccessControl = createProtoAccessControl;
|
|
@@ -16613,7 +16613,7 @@ var require_proto_access = __commonJS((exports) => {
|
|
|
16613
16613
|
}
|
|
16614
16614
|
});
|
|
16615
16615
|
|
|
16616
|
-
//
|
|
16616
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
16617
16617
|
var require_base = __commonJS((exports) => {
|
|
16618
16618
|
exports.__esModule = true;
|
|
16619
16619
|
exports.HandlebarsEnvironment = HandlebarsEnvironment;
|
|
@@ -16706,7 +16706,7 @@ var require_base = __commonJS((exports) => {
|
|
|
16706
16706
|
exports.logger = _logger2["default"];
|
|
16707
16707
|
});
|
|
16708
16708
|
|
|
16709
|
-
//
|
|
16709
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
16710
16710
|
var require_safe_string = __commonJS((exports, module) => {
|
|
16711
16711
|
exports.__esModule = true;
|
|
16712
16712
|
function SafeString(string) {
|
|
@@ -16719,7 +16719,7 @@ var require_safe_string = __commonJS((exports, module) => {
|
|
|
16719
16719
|
module.exports = exports["default"];
|
|
16720
16720
|
});
|
|
16721
16721
|
|
|
16722
|
-
//
|
|
16722
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
16723
16723
|
var require_wrapHelper = __commonJS((exports) => {
|
|
16724
16724
|
exports.__esModule = true;
|
|
16725
16725
|
exports.wrapHelper = wrapHelper;
|
|
@@ -16736,7 +16736,7 @@ var require_wrapHelper = __commonJS((exports) => {
|
|
|
16736
16736
|
}
|
|
16737
16737
|
});
|
|
16738
16738
|
|
|
16739
|
-
//
|
|
16739
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
16740
16740
|
var require_runtime = __commonJS((exports) => {
|
|
16741
16741
|
exports.__esModule = true;
|
|
16742
16742
|
exports.checkRevision = checkRevision;
|
|
@@ -17051,7 +17051,7 @@ var require_runtime = __commonJS((exports) => {
|
|
|
17051
17051
|
}
|
|
17052
17052
|
});
|
|
17053
17053
|
|
|
17054
|
-
//
|
|
17054
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
17055
17055
|
var require_no_conflict = __commonJS((exports, module) => {
|
|
17056
17056
|
exports.__esModule = true;
|
|
17057
17057
|
exports.default = function(Handlebars) {
|
|
@@ -17075,7 +17075,7 @@ var require_no_conflict = __commonJS((exports, module) => {
|
|
|
17075
17075
|
module.exports = exports["default"];
|
|
17076
17076
|
});
|
|
17077
17077
|
|
|
17078
|
-
//
|
|
17078
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
17079
17079
|
var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
17080
17080
|
exports.__esModule = true;
|
|
17081
17081
|
function _interopRequireDefault(obj) {
|
|
@@ -17129,7 +17129,7 @@ var require_handlebars_runtime = __commonJS((exports, module) => {
|
|
|
17129
17129
|
module.exports = exports["default"];
|
|
17130
17130
|
});
|
|
17131
17131
|
|
|
17132
|
-
//
|
|
17132
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
17133
17133
|
var require_ast = __commonJS((exports, module) => {
|
|
17134
17134
|
exports.__esModule = true;
|
|
17135
17135
|
var AST = {
|
|
@@ -17149,7 +17149,7 @@ var require_ast = __commonJS((exports, module) => {
|
|
|
17149
17149
|
module.exports = exports["default"];
|
|
17150
17150
|
});
|
|
17151
17151
|
|
|
17152
|
-
//
|
|
17152
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
17153
17153
|
var require_parser2 = __commonJS((exports, module) => {
|
|
17154
17154
|
exports.__esModule = true;
|
|
17155
17155
|
var handlebars = function() {
|
|
@@ -17873,7 +17873,7 @@ Expecting ` + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symb
|
|
|
17873
17873
|
module.exports = exports["default"];
|
|
17874
17874
|
});
|
|
17875
17875
|
|
|
17876
|
-
//
|
|
17876
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
17877
17877
|
var require_visitor = __commonJS((exports, module) => {
|
|
17878
17878
|
exports.__esModule = true;
|
|
17879
17879
|
function _interopRequireDefault(obj) {
|
|
@@ -17978,7 +17978,7 @@ var require_visitor = __commonJS((exports, module) => {
|
|
|
17978
17978
|
module.exports = exports["default"];
|
|
17979
17979
|
});
|
|
17980
17980
|
|
|
17981
|
-
//
|
|
17981
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
17982
17982
|
var require_whitespace_control = __commonJS((exports, module) => {
|
|
17983
17983
|
exports.__esModule = true;
|
|
17984
17984
|
function _interopRequireDefault(obj) {
|
|
@@ -18124,7 +18124,7 @@ var require_whitespace_control = __commonJS((exports, module) => {
|
|
|
18124
18124
|
module.exports = exports["default"];
|
|
18125
18125
|
});
|
|
18126
18126
|
|
|
18127
|
-
//
|
|
18127
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
18128
18128
|
var require_helpers2 = __commonJS((exports) => {
|
|
18129
18129
|
exports.__esModule = true;
|
|
18130
18130
|
exports.SourceLocation = SourceLocation;
|
|
@@ -18309,7 +18309,7 @@ var require_helpers2 = __commonJS((exports) => {
|
|
|
18309
18309
|
}
|
|
18310
18310
|
});
|
|
18311
18311
|
|
|
18312
|
-
//
|
|
18312
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
18313
18313
|
var require_base2 = __commonJS((exports) => {
|
|
18314
18314
|
exports.__esModule = true;
|
|
18315
18315
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
|
@@ -18408,7 +18408,7 @@ var require_base2 = __commonJS((exports) => {
|
|
|
18408
18408
|
}
|
|
18409
18409
|
});
|
|
18410
18410
|
|
|
18411
|
-
//
|
|
18411
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
18412
18412
|
var require_compiler = __commonJS((exports) => {
|
|
18413
18413
|
exports.__esModule = true;
|
|
18414
18414
|
exports.Compiler = Compiler;
|
|
@@ -18825,7 +18825,7 @@ var require_compiler = __commonJS((exports) => {
|
|
|
18825
18825
|
}
|
|
18826
18826
|
});
|
|
18827
18827
|
|
|
18828
|
-
//
|
|
18828
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64.js
|
|
18829
18829
|
var require_base64 = __commonJS((exports) => {
|
|
18830
18830
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
18831
18831
|
exports.encode = function(number) {
|
|
@@ -18864,7 +18864,7 @@ var require_base64 = __commonJS((exports) => {
|
|
|
18864
18864
|
};
|
|
18865
18865
|
});
|
|
18866
18866
|
|
|
18867
|
-
//
|
|
18867
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js
|
|
18868
18868
|
var require_base64_vlq = __commonJS((exports) => {
|
|
18869
18869
|
var base64 = require_base64();
|
|
18870
18870
|
var VLQ_BASE_SHIFT = 5;
|
|
@@ -18916,7 +18916,7 @@ var require_base64_vlq = __commonJS((exports) => {
|
|
|
18916
18916
|
};
|
|
18917
18917
|
});
|
|
18918
18918
|
|
|
18919
|
-
//
|
|
18919
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/util.js
|
|
18920
18920
|
var require_util = __commonJS((exports) => {
|
|
18921
18921
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
18922
18922
|
if (aName in aArgs) {
|
|
@@ -19215,7 +19215,7 @@ var require_util = __commonJS((exports) => {
|
|
|
19215
19215
|
exports.computeSourceURL = computeSourceURL;
|
|
19216
19216
|
});
|
|
19217
19217
|
|
|
19218
|
-
//
|
|
19218
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/array-set.js
|
|
19219
19219
|
var require_array_set = __commonJS((exports) => {
|
|
19220
19220
|
var util3 = require_util();
|
|
19221
19221
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -19283,7 +19283,7 @@ var require_array_set = __commonJS((exports) => {
|
|
|
19283
19283
|
exports.ArraySet = ArraySet;
|
|
19284
19284
|
});
|
|
19285
19285
|
|
|
19286
|
-
//
|
|
19286
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js
|
|
19287
19287
|
var require_mapping_list = __commonJS((exports) => {
|
|
19288
19288
|
var util3 = require_util();
|
|
19289
19289
|
function generatedPositionAfter(mappingA, mappingB) {
|
|
@@ -19320,7 +19320,7 @@ var require_mapping_list = __commonJS((exports) => {
|
|
|
19320
19320
|
exports.MappingList = MappingList;
|
|
19321
19321
|
});
|
|
19322
19322
|
|
|
19323
|
-
//
|
|
19323
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js
|
|
19324
19324
|
var require_source_map_generator = __commonJS((exports) => {
|
|
19325
19325
|
var base64VLQ = require_base64_vlq();
|
|
19326
19326
|
var util3 = require_util();
|
|
@@ -19590,7 +19590,7 @@ var require_source_map_generator = __commonJS((exports) => {
|
|
|
19590
19590
|
exports.SourceMapGenerator = SourceMapGenerator;
|
|
19591
19591
|
});
|
|
19592
19592
|
|
|
19593
|
-
//
|
|
19593
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/binary-search.js
|
|
19594
19594
|
var require_binary_search = __commonJS((exports) => {
|
|
19595
19595
|
exports.GREATEST_LOWER_BOUND = 1;
|
|
19596
19596
|
exports.LEAST_UPPER_BOUND = 2;
|
|
@@ -19637,7 +19637,7 @@ var require_binary_search = __commonJS((exports) => {
|
|
|
19637
19637
|
};
|
|
19638
19638
|
});
|
|
19639
19639
|
|
|
19640
|
-
//
|
|
19640
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js
|
|
19641
19641
|
var require_quick_sort = __commonJS((exports) => {
|
|
19642
19642
|
function swap(ary, x, y) {
|
|
19643
19643
|
var temp = ary[x];
|
|
@@ -19670,7 +19670,7 @@ var require_quick_sort = __commonJS((exports) => {
|
|
|
19670
19670
|
};
|
|
19671
19671
|
});
|
|
19672
19672
|
|
|
19673
|
-
//
|
|
19673
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js
|
|
19674
19674
|
var require_source_map_consumer = __commonJS((exports) => {
|
|
19675
19675
|
var util3 = require_util();
|
|
19676
19676
|
var binarySearch = require_binary_search();
|
|
@@ -20239,7 +20239,7 @@ var require_source_map_consumer = __commonJS((exports) => {
|
|
|
20239
20239
|
exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
|
|
20240
20240
|
});
|
|
20241
20241
|
|
|
20242
|
-
//
|
|
20242
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/lib/source-node.js
|
|
20243
20243
|
var require_source_node = __commonJS((exports) => {
|
|
20244
20244
|
var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
20245
20245
|
var util3 = require_util();
|
|
@@ -20493,14 +20493,14 @@ var require_source_node = __commonJS((exports) => {
|
|
|
20493
20493
|
exports.SourceNode = SourceNode;
|
|
20494
20494
|
});
|
|
20495
20495
|
|
|
20496
|
-
//
|
|
20496
|
+
// node_modules/.bun/source-map@0.6.1/node_modules/source-map/source-map.js
|
|
20497
20497
|
var require_source_map = __commonJS((exports) => {
|
|
20498
20498
|
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
20499
20499
|
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
20500
20500
|
exports.SourceNode = require_source_node().SourceNode;
|
|
20501
20501
|
});
|
|
20502
20502
|
|
|
20503
|
-
//
|
|
20503
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
20504
20504
|
var require_code_gen = __commonJS((exports, module) => {
|
|
20505
20505
|
exports.__esModule = true;
|
|
20506
20506
|
var _utils = require_utils();
|
|
@@ -20633,7 +20633,7 @@ var require_code_gen = __commonJS((exports, module) => {
|
|
|
20633
20633
|
module.exports = exports["default"];
|
|
20634
20634
|
});
|
|
20635
20635
|
|
|
20636
|
-
//
|
|
20636
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
20637
20637
|
var require_javascript_compiler = __commonJS((exports, module) => {
|
|
20638
20638
|
exports.__esModule = true;
|
|
20639
20639
|
function _interopRequireDefault(obj) {
|
|
@@ -21401,7 +21401,7 @@ var require_javascript_compiler = __commonJS((exports, module) => {
|
|
|
21401
21401
|
module.exports = exports["default"];
|
|
21402
21402
|
});
|
|
21403
21403
|
|
|
21404
|
-
//
|
|
21404
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
|
|
21405
21405
|
var require_handlebars = __commonJS((exports, module) => {
|
|
21406
21406
|
exports.__esModule = true;
|
|
21407
21407
|
function _interopRequireDefault(obj) {
|
|
@@ -21445,7 +21445,7 @@ var require_handlebars = __commonJS((exports, module) => {
|
|
|
21445
21445
|
module.exports = exports["default"];
|
|
21446
21446
|
});
|
|
21447
21447
|
|
|
21448
|
-
//
|
|
21448
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
21449
21449
|
var require_printer = __commonJS((exports) => {
|
|
21450
21450
|
exports.__esModule = true;
|
|
21451
21451
|
exports.print = print;
|
|
@@ -21589,7 +21589,7 @@ var require_printer = __commonJS((exports) => {
|
|
|
21589
21589
|
};
|
|
21590
21590
|
});
|
|
21591
21591
|
|
|
21592
|
-
//
|
|
21592
|
+
// node_modules/.bun/handlebars@4.7.9/node_modules/handlebars/lib/index.js
|
|
21593
21593
|
var require_lib = __commonJS((exports, module) => {
|
|
21594
21594
|
var handlebars = require_handlebars()["default"];
|
|
21595
21595
|
var printer = require_printer();
|
|
@@ -29230,7 +29230,8 @@ var init_protocol3 = __esm(() => {
|
|
|
29230
29230
|
skip_images: exports_external.boolean().optional(),
|
|
29231
29231
|
rebuild: exports_external.boolean().optional(),
|
|
29232
29232
|
channel: exports_external.enum(["dev", "rc", "latest"]).nullable().optional(),
|
|
29233
|
-
pin: exports_external.string().regex(/^(sha-[0-9a-f]{7,40}|v\d+\.\d+\.\d+)$/).nullable().optional()
|
|
29233
|
+
pin: exports_external.string().regex(/^(sha-[0-9a-f]{7,40}|v\d+\.\d+\.\d+)$/).nullable().optional(),
|
|
29234
|
+
reason: exports_external.string().max(512).optional()
|
|
29234
29235
|
}).optional()
|
|
29235
29236
|
});
|
|
29236
29237
|
ApplyRequestSchema = exports_external.object({
|
|
@@ -29245,21 +29246,24 @@ var init_protocol3 = __esm(() => {
|
|
|
29245
29246
|
pin: exports_external.string().regex(/^v\d+\.\d+\.\d+$/),
|
|
29246
29247
|
agents: exports_external.array(AgentNameSchema2).min(1).optional(),
|
|
29247
29248
|
skip_web: exports_external.boolean().optional(),
|
|
29248
|
-
allow_downgrade: exports_external.boolean().optional()
|
|
29249
|
+
allow_downgrade: exports_external.boolean().optional(),
|
|
29250
|
+
reason: exports_external.string().max(512).optional()
|
|
29249
29251
|
}).required({ pin: true })
|
|
29250
29252
|
});
|
|
29251
29253
|
AgentStartRequestSchema = exports_external.object({
|
|
29252
29254
|
...RequestEnvelope,
|
|
29253
29255
|
op: exports_external.literal("agent_start"),
|
|
29254
29256
|
args: exports_external.object({
|
|
29255
|
-
name: AgentNameSchema2
|
|
29257
|
+
name: AgentNameSchema2,
|
|
29258
|
+
reason: exports_external.string().max(512).optional()
|
|
29256
29259
|
})
|
|
29257
29260
|
});
|
|
29258
29261
|
AgentStopRequestSchema = exports_external.object({
|
|
29259
29262
|
...RequestEnvelope,
|
|
29260
29263
|
op: exports_external.literal("agent_stop"),
|
|
29261
29264
|
args: exports_external.object({
|
|
29262
|
-
name: AgentNameSchema2
|
|
29265
|
+
name: AgentNameSchema2,
|
|
29266
|
+
reason: exports_external.string().max(512).optional()
|
|
29263
29267
|
})
|
|
29264
29268
|
});
|
|
29265
29269
|
AgentLogsRequestSchema = exports_external.object({
|
|
@@ -29267,7 +29271,8 @@ var init_protocol3 = __esm(() => {
|
|
|
29267
29271
|
op: exports_external.literal("agent_logs"),
|
|
29268
29272
|
args: exports_external.object({
|
|
29269
29273
|
name: AgentNameSchema2,
|
|
29270
|
-
tail: exports_external.number().int().positive().max(2000).optional()
|
|
29274
|
+
tail: exports_external.number().int().positive().max(2000).optional(),
|
|
29275
|
+
reason: exports_external.string().max(512).optional()
|
|
29271
29276
|
})
|
|
29272
29277
|
});
|
|
29273
29278
|
AgentExecRequestSchema = exports_external.object({
|
|
@@ -29275,7 +29280,8 @@ var init_protocol3 = __esm(() => {
|
|
|
29275
29280
|
op: exports_external.literal("agent_exec"),
|
|
29276
29281
|
args: exports_external.object({
|
|
29277
29282
|
name: AgentNameSchema2,
|
|
29278
|
-
argv: exports_external.array(exports_external.string().min(1)).min(1).max(32)
|
|
29283
|
+
argv: exports_external.array(exports_external.string().min(1)).min(1).max(32),
|
|
29284
|
+
reason: exports_external.string().max(512).optional()
|
|
29279
29285
|
})
|
|
29280
29286
|
});
|
|
29281
29287
|
DoctorRequestSchema = exports_external.object({
|
|
@@ -35018,7 +35024,7 @@ function deriveSlug(inputs, existing) {
|
|
|
35018
35024
|
return `${base}_${n}`;
|
|
35019
35025
|
}
|
|
35020
35026
|
|
|
35021
|
-
//
|
|
35027
|
+
// node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
35022
35028
|
var require_lib2 = __commonJS((exports2) => {
|
|
35023
35029
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35024
35030
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -35065,7 +35071,7 @@ var require_lib2 = __commonJS((exports2) => {
|
|
|
35065
35071
|
exports2.binarySearch = binarySearch;
|
|
35066
35072
|
});
|
|
35067
35073
|
|
|
35068
|
-
//
|
|
35074
|
+
// node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
35069
35075
|
var require_structured_source = __commonJS((exports2) => {
|
|
35070
35076
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35071
35077
|
exports2.StructuredSource = undefined;
|
|
@@ -35120,13 +35126,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
35120
35126
|
}
|
|
35121
35127
|
exports2.StructuredSource = StructuredSource;
|
|
35122
35128
|
});
|
|
35123
|
-
//
|
|
35129
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
35124
35130
|
var import_structured_source;
|
|
35125
35131
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
35126
35132
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
35127
35133
|
});
|
|
35128
35134
|
|
|
35129
|
-
//
|
|
35135
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
35130
35136
|
class EventEmitter {
|
|
35131
35137
|
#listeners = new Map;
|
|
35132
35138
|
on(type, listener) {
|
|
@@ -35165,9 +35171,9 @@ class EventEmitter {
|
|
|
35165
35171
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
35166
35172
|
}
|
|
35167
35173
|
}
|
|
35168
|
-
//
|
|
35174
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
35169
35175
|
var init_RuleContext = () => {};
|
|
35170
|
-
//
|
|
35176
|
+
// node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
35171
35177
|
class SecretLintProfiler {
|
|
35172
35178
|
perf;
|
|
35173
35179
|
entries = [];
|
|
@@ -35224,7 +35230,7 @@ class SecretLintProfiler {
|
|
|
35224
35230
|
}
|
|
35225
35231
|
}
|
|
35226
35232
|
|
|
35227
|
-
//
|
|
35233
|
+
// node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
35228
35234
|
import perf_hooks from "node:perf_hooks";
|
|
35229
35235
|
|
|
35230
35236
|
class NullPerformanceObserver {
|
|
@@ -35239,19 +35245,19 @@ var init_node = __esm(() => {
|
|
|
35239
35245
|
});
|
|
35240
35246
|
});
|
|
35241
35247
|
|
|
35242
|
-
//
|
|
35248
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
35243
35249
|
var init_RunningEvents = __esm(() => {
|
|
35244
35250
|
init_node();
|
|
35245
35251
|
});
|
|
35246
35252
|
|
|
35247
|
-
//
|
|
35253
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
35248
35254
|
var init_RulePresetContext = __esm(() => {
|
|
35249
35255
|
init_RuleContext();
|
|
35250
35256
|
});
|
|
35251
|
-
//
|
|
35257
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
35252
35258
|
var init_messages = () => {};
|
|
35253
35259
|
|
|
35254
|
-
//
|
|
35260
|
+
// node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
35255
35261
|
var require_ms = __commonJS((exports2, module) => {
|
|
35256
35262
|
var s = 1000;
|
|
35257
35263
|
var m = s * 60;
|
|
@@ -35361,7 +35367,7 @@ var require_ms = __commonJS((exports2, module) => {
|
|
|
35361
35367
|
}
|
|
35362
35368
|
});
|
|
35363
35369
|
|
|
35364
|
-
//
|
|
35370
|
+
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
35365
35371
|
var require_common = __commonJS((exports2, module) => {
|
|
35366
35372
|
function setup(env2) {
|
|
35367
35373
|
createDebug.debug = createDebug;
|
|
@@ -35536,7 +35542,7 @@ var require_common = __commonJS((exports2, module) => {
|
|
|
35536
35542
|
module.exports = setup;
|
|
35537
35543
|
});
|
|
35538
35544
|
|
|
35539
|
-
//
|
|
35545
|
+
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
35540
35546
|
var require_browser = __commonJS((exports2, module) => {
|
|
35541
35547
|
exports2.formatArgs = formatArgs;
|
|
35542
35548
|
exports2.save = save;
|
|
@@ -35696,7 +35702,7 @@ var require_browser = __commonJS((exports2, module) => {
|
|
|
35696
35702
|
};
|
|
35697
35703
|
});
|
|
35698
35704
|
|
|
35699
|
-
//
|
|
35705
|
+
// node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
35700
35706
|
var require_has_flag = __commonJS((exports2, module) => {
|
|
35701
35707
|
module.exports = (flag, argv = process.argv) => {
|
|
35702
35708
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -35706,7 +35712,7 @@ var require_has_flag = __commonJS((exports2, module) => {
|
|
|
35706
35712
|
};
|
|
35707
35713
|
});
|
|
35708
35714
|
|
|
35709
|
-
//
|
|
35715
|
+
// node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
35710
35716
|
var require_supports_color = __commonJS((exports2, module) => {
|
|
35711
35717
|
var os5 = __require("os");
|
|
35712
35718
|
var tty2 = __require("tty");
|
|
@@ -35805,7 +35811,7 @@ var require_supports_color = __commonJS((exports2, module) => {
|
|
|
35805
35811
|
};
|
|
35806
35812
|
});
|
|
35807
35813
|
|
|
35808
|
-
//
|
|
35814
|
+
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
35809
35815
|
var require_node = __commonJS((exports2, module) => {
|
|
35810
35816
|
var tty2 = __require("tty");
|
|
35811
35817
|
var util3 = __require("util");
|
|
@@ -35976,7 +35982,7 @@ var require_node = __commonJS((exports2, module) => {
|
|
|
35976
35982
|
};
|
|
35977
35983
|
});
|
|
35978
35984
|
|
|
35979
|
-
//
|
|
35985
|
+
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
35980
35986
|
var require_src = __commonJS((exports2, module) => {
|
|
35981
35987
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
35982
35988
|
module.exports = require_browser();
|
|
@@ -35985,7 +35991,7 @@ var require_src = __commonJS((exports2, module) => {
|
|
|
35985
35991
|
}
|
|
35986
35992
|
});
|
|
35987
35993
|
|
|
35988
|
-
//
|
|
35994
|
+
// node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
35989
35995
|
var import_debug, debug;
|
|
35990
35996
|
var init_module = __esm(() => {
|
|
35991
35997
|
init_SecretLintSourceCodeImpl();
|
|
@@ -35998,7 +36004,7 @@ var init_module = __esm(() => {
|
|
|
35998
36004
|
debug = import_debug.default("@secretlint/core");
|
|
35999
36005
|
});
|
|
36000
36006
|
|
|
36001
|
-
//
|
|
36007
|
+
// node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
36002
36008
|
function requireLodash_uniq() {
|
|
36003
36009
|
if (hasRequiredLodash_uniq)
|
|
36004
36010
|
return lodash_uniq;
|
|
@@ -37783,7 +37789,7 @@ var init_provision = __esm(() => {
|
|
|
37783
37789
|
};
|
|
37784
37790
|
});
|
|
37785
37791
|
|
|
37786
|
-
//
|
|
37792
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
|
|
37787
37793
|
function $constructor(name, initializer, params) {
|
|
37788
37794
|
function init(inst, def) {
|
|
37789
37795
|
var _a;
|
|
@@ -37846,7 +37852,7 @@ var init_core = __esm(() => {
|
|
|
37846
37852
|
globalConfig = {};
|
|
37847
37853
|
});
|
|
37848
37854
|
|
|
37849
|
-
//
|
|
37855
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
37850
37856
|
var exports_util = {};
|
|
37851
37857
|
__export(exports_util, {
|
|
37852
37858
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -38362,7 +38368,7 @@ var init_util2 = __esm(() => {
|
|
|
38362
38368
|
};
|
|
38363
38369
|
});
|
|
38364
38370
|
|
|
38365
|
-
//
|
|
38371
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
|
|
38366
38372
|
function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
38367
38373
|
const fieldErrors = {};
|
|
38368
38374
|
const formErrors = [];
|
|
@@ -38440,7 +38446,7 @@ var init_errors2 = __esm(() => {
|
|
|
38440
38446
|
$ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
38441
38447
|
});
|
|
38442
38448
|
|
|
38443
|
-
//
|
|
38449
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
|
|
38444
38450
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
38445
38451
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
38446
38452
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -38492,7 +38498,7 @@ var init_parse = __esm(() => {
|
|
|
38492
38498
|
safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
38493
38499
|
});
|
|
38494
38500
|
|
|
38495
|
-
//
|
|
38501
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
|
|
38496
38502
|
function emoji() {
|
|
38497
38503
|
return new RegExp(_emoji, "u");
|
|
38498
38504
|
}
|
|
@@ -38549,7 +38555,7 @@ var init_regexes = __esm(() => {
|
|
|
38549
38555
|
uppercase = /^[^a-z]*$/;
|
|
38550
38556
|
});
|
|
38551
38557
|
|
|
38552
|
-
//
|
|
38558
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
|
|
38553
38559
|
var $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckOverwrite;
|
|
38554
38560
|
var init_checks = __esm(() => {
|
|
38555
38561
|
init_core();
|
|
@@ -38939,7 +38945,7 @@ var init_checks = __esm(() => {
|
|
|
38939
38945
|
});
|
|
38940
38946
|
});
|
|
38941
38947
|
|
|
38942
|
-
//
|
|
38948
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
|
|
38943
38949
|
class Doc {
|
|
38944
38950
|
constructor(args = []) {
|
|
38945
38951
|
this.content = [];
|
|
@@ -38977,7 +38983,7 @@ class Doc {
|
|
|
38977
38983
|
}
|
|
38978
38984
|
}
|
|
38979
38985
|
|
|
38980
|
-
//
|
|
38986
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
|
|
38981
38987
|
var version2;
|
|
38982
38988
|
var init_versions = __esm(() => {
|
|
38983
38989
|
version2 = {
|
|
@@ -38987,7 +38993,7 @@ var init_versions = __esm(() => {
|
|
|
38987
38993
|
};
|
|
38988
38994
|
});
|
|
38989
38995
|
|
|
38990
|
-
//
|
|
38996
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
|
|
38991
38997
|
function isValidBase64(data) {
|
|
38992
38998
|
if (data === "")
|
|
38993
38999
|
return true;
|
|
@@ -40229,7 +40235,7 @@ var init_schemas = __esm(() => {
|
|
|
40229
40235
|
});
|
|
40230
40236
|
});
|
|
40231
40237
|
|
|
40232
|
-
//
|
|
40238
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
|
|
40233
40239
|
function en_default2() {
|
|
40234
40240
|
return {
|
|
40235
40241
|
localeError: error()
|
|
@@ -40349,10 +40355,10 @@ var init_en2 = __esm(() => {
|
|
|
40349
40355
|
init_util2();
|
|
40350
40356
|
});
|
|
40351
40357
|
|
|
40352
|
-
//
|
|
40358
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
|
|
40353
40359
|
var init_locales = () => {};
|
|
40354
40360
|
|
|
40355
|
-
//
|
|
40361
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
|
|
40356
40362
|
class $ZodRegistry {
|
|
40357
40363
|
constructor() {
|
|
40358
40364
|
this._map = new Map;
|
|
@@ -40405,7 +40411,7 @@ var init_registries = __esm(() => {
|
|
|
40405
40411
|
globalRegistry = /* @__PURE__ */ registry();
|
|
40406
40412
|
});
|
|
40407
40413
|
|
|
40408
|
-
//
|
|
40414
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
|
|
40409
40415
|
function _string(Class2, params) {
|
|
40410
40416
|
return new Class2({
|
|
40411
40417
|
type: "string",
|
|
@@ -40845,16 +40851,16 @@ var init_api = __esm(() => {
|
|
|
40845
40851
|
init_util2();
|
|
40846
40852
|
});
|
|
40847
40853
|
|
|
40848
|
-
//
|
|
40854
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
|
|
40849
40855
|
var init_function = () => {};
|
|
40850
40856
|
|
|
40851
|
-
//
|
|
40857
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
|
|
40852
40858
|
var init_to_json_schema = () => {};
|
|
40853
40859
|
|
|
40854
|
-
//
|
|
40860
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
|
|
40855
40861
|
var init_json_schema = () => {};
|
|
40856
40862
|
|
|
40857
|
-
//
|
|
40863
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
|
|
40858
40864
|
var init_core2 = __esm(() => {
|
|
40859
40865
|
init_util2();
|
|
40860
40866
|
init_regexes();
|
|
@@ -40872,24 +40878,24 @@ var init_core2 = __esm(() => {
|
|
|
40872
40878
|
init_to_json_schema();
|
|
40873
40879
|
});
|
|
40874
40880
|
|
|
40875
|
-
//
|
|
40881
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/parse.js
|
|
40876
40882
|
var init_parse2 = __esm(() => {
|
|
40877
40883
|
init_core2();
|
|
40878
40884
|
});
|
|
40879
40885
|
|
|
40880
|
-
//
|
|
40886
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
|
|
40881
40887
|
var init_schemas2 = () => {};
|
|
40882
40888
|
|
|
40883
|
-
//
|
|
40889
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/checks.js
|
|
40884
40890
|
var init_checks2 = () => {};
|
|
40885
40891
|
|
|
40886
|
-
//
|
|
40892
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/iso.js
|
|
40887
40893
|
var init_iso = () => {};
|
|
40888
40894
|
|
|
40889
|
-
//
|
|
40895
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/coerce.js
|
|
40890
40896
|
var init_coerce = () => {};
|
|
40891
40897
|
|
|
40892
|
-
//
|
|
40898
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/external.js
|
|
40893
40899
|
var init_external2 = __esm(() => {
|
|
40894
40900
|
init_core2();
|
|
40895
40901
|
init_locales();
|
|
@@ -40900,17 +40906,17 @@ var init_external2 = __esm(() => {
|
|
|
40900
40906
|
init_checks2();
|
|
40901
40907
|
});
|
|
40902
40908
|
|
|
40903
|
-
//
|
|
40909
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/index.js
|
|
40904
40910
|
var init_mini = __esm(() => {
|
|
40905
40911
|
init_external2();
|
|
40906
40912
|
});
|
|
40907
40913
|
|
|
40908
|
-
//
|
|
40914
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4-mini/index.js
|
|
40909
40915
|
var init_v4_mini = __esm(() => {
|
|
40910
40916
|
init_mini();
|
|
40911
40917
|
});
|
|
40912
40918
|
|
|
40913
|
-
//
|
|
40919
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
40914
40920
|
function isZ4Schema(s) {
|
|
40915
40921
|
const schema = s;
|
|
40916
40922
|
return !!schema._zod;
|
|
@@ -40976,12 +40982,12 @@ var init_zod_compat = __esm(() => {
|
|
|
40976
40982
|
init_v4_mini();
|
|
40977
40983
|
});
|
|
40978
40984
|
|
|
40979
|
-
//
|
|
40985
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/checks.js
|
|
40980
40986
|
var init_checks3 = __esm(() => {
|
|
40981
40987
|
init_core2();
|
|
40982
40988
|
});
|
|
40983
40989
|
|
|
40984
|
-
//
|
|
40990
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
40985
40991
|
var exports_iso2 = {};
|
|
40986
40992
|
__export(exports_iso2, {
|
|
40987
40993
|
time: () => time2,
|
|
@@ -41027,7 +41033,7 @@ var init_iso2 = __esm(() => {
|
|
|
41027
41033
|
});
|
|
41028
41034
|
});
|
|
41029
41035
|
|
|
41030
|
-
//
|
|
41036
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
|
|
41031
41037
|
var initializer2 = (inst, issues) => {
|
|
41032
41038
|
$ZodError.init(inst, issues);
|
|
41033
41039
|
inst.name = "ZodError";
|
|
@@ -41060,7 +41066,7 @@ var init_errors3 = __esm(() => {
|
|
|
41060
41066
|
});
|
|
41061
41067
|
});
|
|
41062
41068
|
|
|
41063
|
-
//
|
|
41069
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
|
|
41064
41070
|
var parse4, parseAsync2, safeParse3, safeParseAsync2;
|
|
41065
41071
|
var init_parse3 = __esm(() => {
|
|
41066
41072
|
init_core2();
|
|
@@ -41071,7 +41077,7 @@ var init_parse3 = __esm(() => {
|
|
|
41071
41077
|
safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
41072
41078
|
});
|
|
41073
41079
|
|
|
41074
|
-
//
|
|
41080
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
|
|
41075
41081
|
function string2(params) {
|
|
41076
41082
|
return _string(ZodString2, params);
|
|
41077
41083
|
}
|
|
@@ -41685,13 +41691,13 @@ var init_schemas3 = __esm(() => {
|
|
|
41685
41691
|
});
|
|
41686
41692
|
});
|
|
41687
41693
|
|
|
41688
|
-
//
|
|
41694
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
|
|
41689
41695
|
var init_compat = () => {};
|
|
41690
41696
|
|
|
41691
|
-
//
|
|
41697
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
|
|
41692
41698
|
var init_coerce2 = () => {};
|
|
41693
41699
|
|
|
41694
|
-
//
|
|
41700
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
41695
41701
|
var init_external3 = __esm(() => {
|
|
41696
41702
|
init_core2();
|
|
41697
41703
|
init_core2();
|
|
@@ -41707,17 +41713,17 @@ var init_external3 = __esm(() => {
|
|
|
41707
41713
|
config(en_default2());
|
|
41708
41714
|
});
|
|
41709
41715
|
|
|
41710
|
-
//
|
|
41716
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/index.js
|
|
41711
41717
|
var init_classic = __esm(() => {
|
|
41712
41718
|
init_external3();
|
|
41713
41719
|
});
|
|
41714
41720
|
|
|
41715
|
-
//
|
|
41721
|
+
// node_modules/.bun/zod@3.25.76/node_modules/zod/v4/index.js
|
|
41716
41722
|
var init_v4 = __esm(() => {
|
|
41717
41723
|
init_classic();
|
|
41718
41724
|
});
|
|
41719
41725
|
|
|
41720
|
-
//
|
|
41726
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
41721
41727
|
var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema4, NotificationsParamsSchema, NotificationSchema, ResultSchema2, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode2, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
|
|
41722
41728
|
var init_types2 = __esm(() => {
|
|
41723
41729
|
init_v4();
|
|
@@ -42545,65 +42551,65 @@ var init_types2 = __esm(() => {
|
|
|
42545
42551
|
};
|
|
42546
42552
|
});
|
|
42547
42553
|
|
|
42548
|
-
//
|
|
42554
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
42549
42555
|
function isTerminal(status) {
|
|
42550
42556
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
42551
42557
|
}
|
|
42552
42558
|
|
|
42553
|
-
//
|
|
42559
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
42554
42560
|
var ignoreOverride;
|
|
42555
42561
|
var init_Options = __esm(() => {
|
|
42556
42562
|
ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
42557
42563
|
});
|
|
42558
42564
|
|
|
42559
|
-
//
|
|
42565
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
42560
42566
|
var init_Refs = __esm(() => {
|
|
42561
42567
|
init_Options();
|
|
42562
42568
|
});
|
|
42563
|
-
//
|
|
42569
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
42564
42570
|
var init_any = () => {};
|
|
42565
42571
|
|
|
42566
|
-
//
|
|
42572
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
42567
42573
|
var init_array = __esm(() => {
|
|
42568
42574
|
init_parseDef();
|
|
42569
42575
|
});
|
|
42570
42576
|
|
|
42571
|
-
//
|
|
42577
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
42572
42578
|
var init_bigint = () => {};
|
|
42573
|
-
//
|
|
42579
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
42574
42580
|
var init_branded = __esm(() => {
|
|
42575
42581
|
init_parseDef();
|
|
42576
42582
|
});
|
|
42577
42583
|
|
|
42578
|
-
//
|
|
42584
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
42579
42585
|
var init_catch = __esm(() => {
|
|
42580
42586
|
init_parseDef();
|
|
42581
42587
|
});
|
|
42582
42588
|
|
|
42583
|
-
//
|
|
42589
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
42584
42590
|
var init_date = () => {};
|
|
42585
42591
|
|
|
42586
|
-
//
|
|
42592
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
42587
42593
|
var init_default = __esm(() => {
|
|
42588
42594
|
init_parseDef();
|
|
42589
42595
|
});
|
|
42590
42596
|
|
|
42591
|
-
//
|
|
42597
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
42592
42598
|
var init_effects = __esm(() => {
|
|
42593
42599
|
init_parseDef();
|
|
42594
42600
|
init_any();
|
|
42595
42601
|
});
|
|
42596
|
-
//
|
|
42602
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
42597
42603
|
var init_intersection = __esm(() => {
|
|
42598
42604
|
init_parseDef();
|
|
42599
42605
|
});
|
|
42600
|
-
//
|
|
42606
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
42601
42607
|
var ALPHA_NUMERIC;
|
|
42602
42608
|
var init_string = __esm(() => {
|
|
42603
42609
|
ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
42604
42610
|
});
|
|
42605
42611
|
|
|
42606
|
-
//
|
|
42612
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
42607
42613
|
var init_record = __esm(() => {
|
|
42608
42614
|
init_parseDef();
|
|
42609
42615
|
init_string();
|
|
@@ -42611,77 +42617,77 @@ var init_record = __esm(() => {
|
|
|
42611
42617
|
init_any();
|
|
42612
42618
|
});
|
|
42613
42619
|
|
|
42614
|
-
//
|
|
42620
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
42615
42621
|
var init_map = __esm(() => {
|
|
42616
42622
|
init_parseDef();
|
|
42617
42623
|
init_record();
|
|
42618
42624
|
init_any();
|
|
42619
42625
|
});
|
|
42620
|
-
//
|
|
42626
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
42621
42627
|
var init_never = __esm(() => {
|
|
42622
42628
|
init_any();
|
|
42623
42629
|
});
|
|
42624
|
-
//
|
|
42630
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
42625
42631
|
var init_union = __esm(() => {
|
|
42626
42632
|
init_parseDef();
|
|
42627
42633
|
});
|
|
42628
42634
|
|
|
42629
|
-
//
|
|
42635
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
42630
42636
|
var init_nullable = __esm(() => {
|
|
42631
42637
|
init_parseDef();
|
|
42632
42638
|
init_union();
|
|
42633
42639
|
});
|
|
42634
42640
|
|
|
42635
|
-
//
|
|
42641
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
42636
42642
|
var init_number = () => {};
|
|
42637
42643
|
|
|
42638
|
-
//
|
|
42644
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
42639
42645
|
var init_object = __esm(() => {
|
|
42640
42646
|
init_parseDef();
|
|
42641
42647
|
});
|
|
42642
42648
|
|
|
42643
|
-
//
|
|
42649
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
42644
42650
|
var init_optional = __esm(() => {
|
|
42645
42651
|
init_parseDef();
|
|
42646
42652
|
init_any();
|
|
42647
42653
|
});
|
|
42648
42654
|
|
|
42649
|
-
//
|
|
42655
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
42650
42656
|
var init_pipeline = __esm(() => {
|
|
42651
42657
|
init_parseDef();
|
|
42652
42658
|
});
|
|
42653
42659
|
|
|
42654
|
-
//
|
|
42660
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
42655
42661
|
var init_promise = __esm(() => {
|
|
42656
42662
|
init_parseDef();
|
|
42657
42663
|
});
|
|
42658
42664
|
|
|
42659
|
-
//
|
|
42665
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
42660
42666
|
var init_set = __esm(() => {
|
|
42661
42667
|
init_parseDef();
|
|
42662
42668
|
});
|
|
42663
42669
|
|
|
42664
|
-
//
|
|
42670
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
42665
42671
|
var init_tuple = __esm(() => {
|
|
42666
42672
|
init_parseDef();
|
|
42667
42673
|
});
|
|
42668
42674
|
|
|
42669
|
-
//
|
|
42675
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
42670
42676
|
var init_undefined = __esm(() => {
|
|
42671
42677
|
init_any();
|
|
42672
42678
|
});
|
|
42673
42679
|
|
|
42674
|
-
//
|
|
42680
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
42675
42681
|
var init_unknown = __esm(() => {
|
|
42676
42682
|
init_any();
|
|
42677
42683
|
});
|
|
42678
42684
|
|
|
42679
|
-
//
|
|
42685
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
42680
42686
|
var init_readonly = __esm(() => {
|
|
42681
42687
|
init_parseDef();
|
|
42682
42688
|
});
|
|
42683
42689
|
|
|
42684
|
-
//
|
|
42690
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
42685
42691
|
var init_selectParser = __esm(() => {
|
|
42686
42692
|
init_any();
|
|
42687
42693
|
init_array();
|
|
@@ -42710,24 +42716,24 @@ var init_selectParser = __esm(() => {
|
|
|
42710
42716
|
init_readonly();
|
|
42711
42717
|
});
|
|
42712
42718
|
|
|
42713
|
-
//
|
|
42719
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
42714
42720
|
var init_parseDef = __esm(() => {
|
|
42715
42721
|
init_Options();
|
|
42716
42722
|
init_selectParser();
|
|
42717
42723
|
init_any();
|
|
42718
42724
|
});
|
|
42719
42725
|
|
|
42720
|
-
//
|
|
42726
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseTypes.js
|
|
42721
42727
|
var init_parseTypes = () => {};
|
|
42722
42728
|
|
|
42723
|
-
//
|
|
42729
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
42724
42730
|
var init_zodToJsonSchema = __esm(() => {
|
|
42725
42731
|
init_parseDef();
|
|
42726
42732
|
init_Refs();
|
|
42727
42733
|
init_any();
|
|
42728
42734
|
});
|
|
42729
42735
|
|
|
42730
|
-
//
|
|
42736
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/index.js
|
|
42731
42737
|
var init_esm = __esm(() => {
|
|
42732
42738
|
init_zodToJsonSchema();
|
|
42733
42739
|
init_Options();
|
|
@@ -42763,7 +42769,7 @@ var init_esm = __esm(() => {
|
|
|
42763
42769
|
init_zodToJsonSchema();
|
|
42764
42770
|
});
|
|
42765
42771
|
|
|
42766
|
-
//
|
|
42772
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
42767
42773
|
function getMethodLiteral(schema) {
|
|
42768
42774
|
const shape = getObjectShape(schema);
|
|
42769
42775
|
const methodSchema = shape?.method;
|
|
@@ -42788,7 +42794,7 @@ var init_zod_json_schema_compat = __esm(() => {
|
|
|
42788
42794
|
init_esm();
|
|
42789
42795
|
});
|
|
42790
42796
|
|
|
42791
|
-
//
|
|
42797
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
42792
42798
|
class Protocol {
|
|
42793
42799
|
constructor(_options) {
|
|
42794
42800
|
this._options = _options;
|
|
@@ -43633,7 +43639,7 @@ var init_protocol4 = __esm(() => {
|
|
|
43633
43639
|
init_zod_json_schema_compat();
|
|
43634
43640
|
});
|
|
43635
43641
|
|
|
43636
|
-
//
|
|
43642
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
43637
43643
|
var require_code = __commonJS((exports2) => {
|
|
43638
43644
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43639
43645
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = undefined;
|
|
@@ -43787,7 +43793,7 @@ var require_code = __commonJS((exports2) => {
|
|
|
43787
43793
|
exports2.regexpCode = regexpCode;
|
|
43788
43794
|
});
|
|
43789
43795
|
|
|
43790
|
-
//
|
|
43796
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
43791
43797
|
var require_scope = __commonJS((exports2) => {
|
|
43792
43798
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43793
43799
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = undefined;
|
|
@@ -43933,7 +43939,7 @@ var require_scope = __commonJS((exports2) => {
|
|
|
43933
43939
|
exports2.ValueScope = ValueScope;
|
|
43934
43940
|
});
|
|
43935
43941
|
|
|
43936
|
-
//
|
|
43942
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
43937
43943
|
var require_codegen = __commonJS((exports2) => {
|
|
43938
43944
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
43939
43945
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = undefined;
|
|
@@ -44643,7 +44649,7 @@ var require_codegen = __commonJS((exports2) => {
|
|
|
44643
44649
|
}
|
|
44644
44650
|
});
|
|
44645
44651
|
|
|
44646
|
-
//
|
|
44652
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
44647
44653
|
var require_util2 = __commonJS((exports2) => {
|
|
44648
44654
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44649
44655
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = undefined;
|
|
@@ -44807,7 +44813,7 @@ var require_util2 = __commonJS((exports2) => {
|
|
|
44807
44813
|
exports2.checkStrictMode = checkStrictMode;
|
|
44808
44814
|
});
|
|
44809
44815
|
|
|
44810
|
-
//
|
|
44816
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
44811
44817
|
var require_names = __commonJS((exports2) => {
|
|
44812
44818
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44813
44819
|
var codegen_1 = require_codegen();
|
|
@@ -44832,7 +44838,7 @@ var require_names = __commonJS((exports2) => {
|
|
|
44832
44838
|
exports2.default = names;
|
|
44833
44839
|
});
|
|
44834
44840
|
|
|
44835
|
-
//
|
|
44841
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
44836
44842
|
var require_errors2 = __commonJS((exports2) => {
|
|
44837
44843
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44838
44844
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = undefined;
|
|
@@ -44950,7 +44956,7 @@ var require_errors2 = __commonJS((exports2) => {
|
|
|
44950
44956
|
}
|
|
44951
44957
|
});
|
|
44952
44958
|
|
|
44953
|
-
//
|
|
44959
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
44954
44960
|
var require_boolSchema = __commonJS((exports2) => {
|
|
44955
44961
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44956
44962
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = undefined;
|
|
@@ -44998,7 +45004,7 @@ var require_boolSchema = __commonJS((exports2) => {
|
|
|
44998
45004
|
}
|
|
44999
45005
|
});
|
|
45000
45006
|
|
|
45001
|
-
//
|
|
45007
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
45002
45008
|
var require_rules = __commonJS((exports2) => {
|
|
45003
45009
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45004
45010
|
exports2.getRules = exports2.isJSONType = undefined;
|
|
@@ -45026,7 +45032,7 @@ var require_rules = __commonJS((exports2) => {
|
|
|
45026
45032
|
exports2.getRules = getRules;
|
|
45027
45033
|
});
|
|
45028
45034
|
|
|
45029
|
-
//
|
|
45035
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
45030
45036
|
var require_applicability = __commonJS((exports2) => {
|
|
45031
45037
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45032
45038
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = undefined;
|
|
@@ -45046,7 +45052,7 @@ var require_applicability = __commonJS((exports2) => {
|
|
|
45046
45052
|
exports2.shouldUseRule = shouldUseRule;
|
|
45047
45053
|
});
|
|
45048
45054
|
|
|
45049
|
-
//
|
|
45055
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
45050
45056
|
var require_dataType = __commonJS((exports2) => {
|
|
45051
45057
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45052
45058
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = undefined;
|
|
@@ -45227,7 +45233,7 @@ var require_dataType = __commonJS((exports2) => {
|
|
|
45227
45233
|
}
|
|
45228
45234
|
});
|
|
45229
45235
|
|
|
45230
|
-
//
|
|
45236
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
45231
45237
|
var require_defaults = __commonJS((exports2) => {
|
|
45232
45238
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45233
45239
|
exports2.assignDefaults = undefined;
|
|
@@ -45261,7 +45267,7 @@ var require_defaults = __commonJS((exports2) => {
|
|
|
45261
45267
|
}
|
|
45262
45268
|
});
|
|
45263
45269
|
|
|
45264
|
-
//
|
|
45270
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
45265
45271
|
var require_code2 = __commonJS((exports2) => {
|
|
45266
45272
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45267
45273
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = undefined;
|
|
@@ -45390,7 +45396,7 @@ var require_code2 = __commonJS((exports2) => {
|
|
|
45390
45396
|
exports2.validateUnion = validateUnion;
|
|
45391
45397
|
});
|
|
45392
45398
|
|
|
45393
|
-
//
|
|
45399
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
45394
45400
|
var require_keyword = __commonJS((exports2) => {
|
|
45395
45401
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45396
45402
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = undefined;
|
|
@@ -45505,7 +45511,7 @@ var require_keyword = __commonJS((exports2) => {
|
|
|
45505
45511
|
exports2.validateKeywordUsage = validateKeywordUsage;
|
|
45506
45512
|
});
|
|
45507
45513
|
|
|
45508
|
-
//
|
|
45514
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
45509
45515
|
var require_subschema = __commonJS((exports2) => {
|
|
45510
45516
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45511
45517
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = undefined;
|
|
@@ -45585,7 +45591,7 @@ var require_subschema = __commonJS((exports2) => {
|
|
|
45585
45591
|
exports2.extendSubschemaMode = extendSubschemaMode;
|
|
45586
45592
|
});
|
|
45587
45593
|
|
|
45588
|
-
//
|
|
45594
|
+
// node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
45589
45595
|
var require_fast_deep_equal = __commonJS((exports2, module) => {
|
|
45590
45596
|
module.exports = function equal(a, b) {
|
|
45591
45597
|
if (a === b)
|
|
@@ -45627,7 +45633,7 @@ var require_fast_deep_equal = __commonJS((exports2, module) => {
|
|
|
45627
45633
|
};
|
|
45628
45634
|
});
|
|
45629
45635
|
|
|
45630
|
-
//
|
|
45636
|
+
// node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
45631
45637
|
var require_json_schema_traverse = __commonJS((exports2, module) => {
|
|
45632
45638
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
45633
45639
|
if (typeof opts == "function") {
|
|
@@ -45710,7 +45716,7 @@ var require_json_schema_traverse = __commonJS((exports2, module) => {
|
|
|
45710
45716
|
}
|
|
45711
45717
|
});
|
|
45712
45718
|
|
|
45713
|
-
//
|
|
45719
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
45714
45720
|
var require_resolve = __commonJS((exports2) => {
|
|
45715
45721
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45716
45722
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = undefined;
|
|
@@ -45863,7 +45869,7 @@ var require_resolve = __commonJS((exports2) => {
|
|
|
45863
45869
|
exports2.getSchemaRefs = getSchemaRefs;
|
|
45864
45870
|
});
|
|
45865
45871
|
|
|
45866
|
-
//
|
|
45872
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
45867
45873
|
var require_validate = __commonJS((exports2) => {
|
|
45868
45874
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45869
45875
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = undefined;
|
|
@@ -46368,7 +46374,7 @@ var require_validate = __commonJS((exports2) => {
|
|
|
46368
46374
|
exports2.getData = getData;
|
|
46369
46375
|
});
|
|
46370
46376
|
|
|
46371
|
-
//
|
|
46377
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
46372
46378
|
var require_validation_error = __commonJS((exports2) => {
|
|
46373
46379
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
46374
46380
|
|
|
@@ -46382,7 +46388,7 @@ var require_validation_error = __commonJS((exports2) => {
|
|
|
46382
46388
|
exports2.default = ValidationError;
|
|
46383
46389
|
});
|
|
46384
46390
|
|
|
46385
|
-
//
|
|
46391
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
46386
46392
|
var require_ref_error = __commonJS((exports2) => {
|
|
46387
46393
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
46388
46394
|
var resolve_1 = require_resolve();
|
|
@@ -46397,7 +46403,7 @@ var require_ref_error = __commonJS((exports2) => {
|
|
|
46397
46403
|
exports2.default = MissingRefError;
|
|
46398
46404
|
});
|
|
46399
46405
|
|
|
46400
|
-
//
|
|
46406
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
46401
46407
|
var require_compile = __commonJS((exports2) => {
|
|
46402
46408
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
46403
46409
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = undefined;
|
|
@@ -46618,7 +46624,7 @@ var require_compile = __commonJS((exports2) => {
|
|
|
46618
46624
|
}
|
|
46619
46625
|
});
|
|
46620
46626
|
|
|
46621
|
-
//
|
|
46627
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
46622
46628
|
var require_data = __commonJS((exports2, module) => {
|
|
46623
46629
|
module.exports = {
|
|
46624
46630
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
@@ -46635,7 +46641,7 @@ var require_data = __commonJS((exports2, module) => {
|
|
|
46635
46641
|
};
|
|
46636
46642
|
});
|
|
46637
46643
|
|
|
46638
|
-
//
|
|
46644
|
+
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
46639
46645
|
var require_utils2 = __commonJS((exports2, module) => {
|
|
46640
46646
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
46641
46647
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -46890,7 +46896,7 @@ var require_utils2 = __commonJS((exports2, module) => {
|
|
|
46890
46896
|
};
|
|
46891
46897
|
});
|
|
46892
46898
|
|
|
46893
|
-
//
|
|
46899
|
+
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
46894
46900
|
var require_schemes = __commonJS((exports2, module) => {
|
|
46895
46901
|
var { isUUID } = require_utils2();
|
|
46896
46902
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -47064,7 +47070,7 @@ var require_schemes = __commonJS((exports2, module) => {
|
|
|
47064
47070
|
};
|
|
47065
47071
|
});
|
|
47066
47072
|
|
|
47067
|
-
//
|
|
47073
|
+
// node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
47068
47074
|
var require_fast_uri = __commonJS((exports2, module) => {
|
|
47069
47075
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils2();
|
|
47070
47076
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -47315,7 +47321,7 @@ var require_fast_uri = __commonJS((exports2, module) => {
|
|
|
47315
47321
|
module.exports.fastUri = fastUri;
|
|
47316
47322
|
});
|
|
47317
47323
|
|
|
47318
|
-
//
|
|
47324
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
47319
47325
|
var require_uri = __commonJS((exports2) => {
|
|
47320
47326
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47321
47327
|
var uri = require_fast_uri();
|
|
@@ -47323,7 +47329,7 @@ var require_uri = __commonJS((exports2) => {
|
|
|
47323
47329
|
exports2.default = uri;
|
|
47324
47330
|
});
|
|
47325
47331
|
|
|
47326
|
-
//
|
|
47332
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
47327
47333
|
var require_core = __commonJS((exports2) => {
|
|
47328
47334
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47329
47335
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = undefined;
|
|
@@ -47916,7 +47922,7 @@ var require_core = __commonJS((exports2) => {
|
|
|
47916
47922
|
}
|
|
47917
47923
|
});
|
|
47918
47924
|
|
|
47919
|
-
//
|
|
47925
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
47920
47926
|
var require_id = __commonJS((exports2) => {
|
|
47921
47927
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47922
47928
|
var def = {
|
|
@@ -47928,7 +47934,7 @@ var require_id = __commonJS((exports2) => {
|
|
|
47928
47934
|
exports2.default = def;
|
|
47929
47935
|
});
|
|
47930
47936
|
|
|
47931
|
-
//
|
|
47937
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
47932
47938
|
var require_ref = __commonJS((exports2) => {
|
|
47933
47939
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47934
47940
|
exports2.callRef = exports2.getValidate = undefined;
|
|
@@ -48047,7 +48053,7 @@ var require_ref = __commonJS((exports2) => {
|
|
|
48047
48053
|
exports2.default = def;
|
|
48048
48054
|
});
|
|
48049
48055
|
|
|
48050
|
-
//
|
|
48056
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
48051
48057
|
var require_core2 = __commonJS((exports2) => {
|
|
48052
48058
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48053
48059
|
var id_1 = require_id();
|
|
@@ -48065,7 +48071,7 @@ var require_core2 = __commonJS((exports2) => {
|
|
|
48065
48071
|
exports2.default = core2;
|
|
48066
48072
|
});
|
|
48067
48073
|
|
|
48068
|
-
//
|
|
48074
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
48069
48075
|
var require_limitNumber = __commonJS((exports2) => {
|
|
48070
48076
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48071
48077
|
var codegen_1 = require_codegen();
|
|
@@ -48094,7 +48100,7 @@ var require_limitNumber = __commonJS((exports2) => {
|
|
|
48094
48100
|
exports2.default = def;
|
|
48095
48101
|
});
|
|
48096
48102
|
|
|
48097
|
-
//
|
|
48103
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
48098
48104
|
var require_multipleOf = __commonJS((exports2) => {
|
|
48099
48105
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48100
48106
|
var codegen_1 = require_codegen();
|
|
@@ -48119,7 +48125,7 @@ var require_multipleOf = __commonJS((exports2) => {
|
|
|
48119
48125
|
exports2.default = def;
|
|
48120
48126
|
});
|
|
48121
48127
|
|
|
48122
|
-
//
|
|
48128
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
48123
48129
|
var require_ucs2length = __commonJS((exports2) => {
|
|
48124
48130
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48125
48131
|
function ucs2length(str) {
|
|
@@ -48142,7 +48148,7 @@ var require_ucs2length = __commonJS((exports2) => {
|
|
|
48142
48148
|
ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
48143
48149
|
});
|
|
48144
48150
|
|
|
48145
|
-
//
|
|
48151
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
48146
48152
|
var require_limitLength = __commonJS((exports2) => {
|
|
48147
48153
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48148
48154
|
var codegen_1 = require_codegen();
|
|
@@ -48171,7 +48177,7 @@ var require_limitLength = __commonJS((exports2) => {
|
|
|
48171
48177
|
exports2.default = def;
|
|
48172
48178
|
});
|
|
48173
48179
|
|
|
48174
|
-
//
|
|
48180
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
48175
48181
|
var require_pattern = __commonJS((exports2) => {
|
|
48176
48182
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48177
48183
|
var code_1 = require_code2();
|
|
@@ -48205,7 +48211,7 @@ var require_pattern = __commonJS((exports2) => {
|
|
|
48205
48211
|
exports2.default = def;
|
|
48206
48212
|
});
|
|
48207
48213
|
|
|
48208
|
-
//
|
|
48214
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
48209
48215
|
var require_limitProperties = __commonJS((exports2) => {
|
|
48210
48216
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48211
48217
|
var codegen_1 = require_codegen();
|
|
@@ -48231,7 +48237,7 @@ var require_limitProperties = __commonJS((exports2) => {
|
|
|
48231
48237
|
exports2.default = def;
|
|
48232
48238
|
});
|
|
48233
48239
|
|
|
48234
|
-
//
|
|
48240
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
48235
48241
|
var require_required = __commonJS((exports2) => {
|
|
48236
48242
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48237
48243
|
var code_1 = require_code2();
|
|
@@ -48310,7 +48316,7 @@ var require_required = __commonJS((exports2) => {
|
|
|
48310
48316
|
exports2.default = def;
|
|
48311
48317
|
});
|
|
48312
48318
|
|
|
48313
|
-
//
|
|
48319
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
48314
48320
|
var require_limitItems = __commonJS((exports2) => {
|
|
48315
48321
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48316
48322
|
var codegen_1 = require_codegen();
|
|
@@ -48336,7 +48342,7 @@ var require_limitItems = __commonJS((exports2) => {
|
|
|
48336
48342
|
exports2.default = def;
|
|
48337
48343
|
});
|
|
48338
48344
|
|
|
48339
|
-
//
|
|
48345
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
48340
48346
|
var require_equal = __commonJS((exports2) => {
|
|
48341
48347
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48342
48348
|
var equal = require_fast_deep_equal();
|
|
@@ -48344,7 +48350,7 @@ var require_equal = __commonJS((exports2) => {
|
|
|
48344
48350
|
exports2.default = equal;
|
|
48345
48351
|
});
|
|
48346
48352
|
|
|
48347
|
-
//
|
|
48353
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
48348
48354
|
var require_uniqueItems = __commonJS((exports2) => {
|
|
48349
48355
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48350
48356
|
var dataType_1 = require_dataType();
|
|
@@ -48408,7 +48414,7 @@ var require_uniqueItems = __commonJS((exports2) => {
|
|
|
48408
48414
|
exports2.default = def;
|
|
48409
48415
|
});
|
|
48410
48416
|
|
|
48411
|
-
//
|
|
48417
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
48412
48418
|
var require_const = __commonJS((exports2) => {
|
|
48413
48419
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48414
48420
|
var codegen_1 = require_codegen();
|
|
@@ -48434,7 +48440,7 @@ var require_const = __commonJS((exports2) => {
|
|
|
48434
48440
|
exports2.default = def;
|
|
48435
48441
|
});
|
|
48436
48442
|
|
|
48437
|
-
//
|
|
48443
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
48438
48444
|
var require_enum = __commonJS((exports2) => {
|
|
48439
48445
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48440
48446
|
var codegen_1 = require_codegen();
|
|
@@ -48480,7 +48486,7 @@ var require_enum = __commonJS((exports2) => {
|
|
|
48480
48486
|
exports2.default = def;
|
|
48481
48487
|
});
|
|
48482
48488
|
|
|
48483
|
-
//
|
|
48489
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
48484
48490
|
var require_validation = __commonJS((exports2) => {
|
|
48485
48491
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48486
48492
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -48510,7 +48516,7 @@ var require_validation = __commonJS((exports2) => {
|
|
|
48510
48516
|
exports2.default = validation;
|
|
48511
48517
|
});
|
|
48512
48518
|
|
|
48513
|
-
//
|
|
48519
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
48514
48520
|
var require_additionalItems = __commonJS((exports2) => {
|
|
48515
48521
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48516
48522
|
exports2.validateAdditionalItems = undefined;
|
|
@@ -48560,7 +48566,7 @@ var require_additionalItems = __commonJS((exports2) => {
|
|
|
48560
48566
|
exports2.default = def;
|
|
48561
48567
|
});
|
|
48562
48568
|
|
|
48563
|
-
//
|
|
48569
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
48564
48570
|
var require_items = __commonJS((exports2) => {
|
|
48565
48571
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48566
48572
|
exports2.validateTuple = undefined;
|
|
@@ -48614,7 +48620,7 @@ var require_items = __commonJS((exports2) => {
|
|
|
48614
48620
|
exports2.default = def;
|
|
48615
48621
|
});
|
|
48616
48622
|
|
|
48617
|
-
//
|
|
48623
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
48618
48624
|
var require_prefixItems = __commonJS((exports2) => {
|
|
48619
48625
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48620
48626
|
var items_1 = require_items();
|
|
@@ -48628,7 +48634,7 @@ var require_prefixItems = __commonJS((exports2) => {
|
|
|
48628
48634
|
exports2.default = def;
|
|
48629
48635
|
});
|
|
48630
48636
|
|
|
48631
|
-
//
|
|
48637
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
48632
48638
|
var require_items2020 = __commonJS((exports2) => {
|
|
48633
48639
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48634
48640
|
var codegen_1 = require_codegen();
|
|
@@ -48660,7 +48666,7 @@ var require_items2020 = __commonJS((exports2) => {
|
|
|
48660
48666
|
exports2.default = def;
|
|
48661
48667
|
});
|
|
48662
48668
|
|
|
48663
|
-
//
|
|
48669
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
48664
48670
|
var require_contains = __commonJS((exports2) => {
|
|
48665
48671
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48666
48672
|
var codegen_1 = require_codegen();
|
|
@@ -48751,7 +48757,7 @@ var require_contains = __commonJS((exports2) => {
|
|
|
48751
48757
|
exports2.default = def;
|
|
48752
48758
|
});
|
|
48753
48759
|
|
|
48754
|
-
//
|
|
48760
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
48755
48761
|
var require_dependencies = __commonJS((exports2) => {
|
|
48756
48762
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48757
48763
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = undefined;
|
|
@@ -48836,7 +48842,7 @@ var require_dependencies = __commonJS((exports2) => {
|
|
|
48836
48842
|
exports2.default = def;
|
|
48837
48843
|
});
|
|
48838
48844
|
|
|
48839
|
-
//
|
|
48845
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
48840
48846
|
var require_propertyNames = __commonJS((exports2) => {
|
|
48841
48847
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48842
48848
|
var codegen_1 = require_codegen();
|
|
@@ -48876,7 +48882,7 @@ var require_propertyNames = __commonJS((exports2) => {
|
|
|
48876
48882
|
exports2.default = def;
|
|
48877
48883
|
});
|
|
48878
48884
|
|
|
48879
|
-
//
|
|
48885
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
48880
48886
|
var require_additionalProperties = __commonJS((exports2) => {
|
|
48881
48887
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48882
48888
|
var code_1 = require_code2();
|
|
@@ -48979,7 +48985,7 @@ var require_additionalProperties = __commonJS((exports2) => {
|
|
|
48979
48985
|
exports2.default = def;
|
|
48980
48986
|
});
|
|
48981
48987
|
|
|
48982
|
-
//
|
|
48988
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
48983
48989
|
var require_properties = __commonJS((exports2) => {
|
|
48984
48990
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
48985
48991
|
var validate_1 = require_validate();
|
|
@@ -49034,7 +49040,7 @@ var require_properties = __commonJS((exports2) => {
|
|
|
49034
49040
|
exports2.default = def;
|
|
49035
49041
|
});
|
|
49036
49042
|
|
|
49037
|
-
//
|
|
49043
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
49038
49044
|
var require_patternProperties = __commonJS((exports2) => {
|
|
49039
49045
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49040
49046
|
var code_1 = require_code2();
|
|
@@ -49105,7 +49111,7 @@ var require_patternProperties = __commonJS((exports2) => {
|
|
|
49105
49111
|
exports2.default = def;
|
|
49106
49112
|
});
|
|
49107
49113
|
|
|
49108
|
-
//
|
|
49114
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
49109
49115
|
var require_not = __commonJS((exports2) => {
|
|
49110
49116
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49111
49117
|
var util_1 = require_util2();
|
|
@@ -49133,7 +49139,7 @@ var require_not = __commonJS((exports2) => {
|
|
|
49133
49139
|
exports2.default = def;
|
|
49134
49140
|
});
|
|
49135
49141
|
|
|
49136
|
-
//
|
|
49142
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
49137
49143
|
var require_anyOf = __commonJS((exports2) => {
|
|
49138
49144
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49139
49145
|
var code_1 = require_code2();
|
|
@@ -49147,7 +49153,7 @@ var require_anyOf = __commonJS((exports2) => {
|
|
|
49147
49153
|
exports2.default = def;
|
|
49148
49154
|
});
|
|
49149
49155
|
|
|
49150
|
-
//
|
|
49156
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
49151
49157
|
var require_oneOf = __commonJS((exports2) => {
|
|
49152
49158
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49153
49159
|
var codegen_1 = require_codegen();
|
|
@@ -49202,7 +49208,7 @@ var require_oneOf = __commonJS((exports2) => {
|
|
|
49202
49208
|
exports2.default = def;
|
|
49203
49209
|
});
|
|
49204
49210
|
|
|
49205
|
-
//
|
|
49211
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
49206
49212
|
var require_allOf = __commonJS((exports2) => {
|
|
49207
49213
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49208
49214
|
var util_1 = require_util2();
|
|
@@ -49226,7 +49232,7 @@ var require_allOf = __commonJS((exports2) => {
|
|
|
49226
49232
|
exports2.default = def;
|
|
49227
49233
|
});
|
|
49228
49234
|
|
|
49229
|
-
//
|
|
49235
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
49230
49236
|
var require_if2 = __commonJS((exports2) => {
|
|
49231
49237
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49232
49238
|
var codegen_1 = require_codegen();
|
|
@@ -49292,7 +49298,7 @@ var require_if2 = __commonJS((exports2) => {
|
|
|
49292
49298
|
exports2.default = def;
|
|
49293
49299
|
});
|
|
49294
49300
|
|
|
49295
|
-
//
|
|
49301
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
49296
49302
|
var require_thenElse = __commonJS((exports2) => {
|
|
49297
49303
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49298
49304
|
var util_1 = require_util2();
|
|
@@ -49307,7 +49313,7 @@ var require_thenElse = __commonJS((exports2) => {
|
|
|
49307
49313
|
exports2.default = def;
|
|
49308
49314
|
});
|
|
49309
49315
|
|
|
49310
|
-
//
|
|
49316
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
49311
49317
|
var require_applicator = __commonJS((exports2) => {
|
|
49312
49318
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49313
49319
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -49350,7 +49356,7 @@ var require_applicator = __commonJS((exports2) => {
|
|
|
49350
49356
|
exports2.default = getApplicator;
|
|
49351
49357
|
});
|
|
49352
49358
|
|
|
49353
|
-
//
|
|
49359
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
49354
49360
|
var require_format = __commonJS((exports2) => {
|
|
49355
49361
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49356
49362
|
var codegen_1 = require_codegen();
|
|
@@ -49437,7 +49443,7 @@ var require_format = __commonJS((exports2) => {
|
|
|
49437
49443
|
exports2.default = def;
|
|
49438
49444
|
});
|
|
49439
49445
|
|
|
49440
|
-
//
|
|
49446
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
49441
49447
|
var require_format2 = __commonJS((exports2) => {
|
|
49442
49448
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49443
49449
|
var format_1 = require_format();
|
|
@@ -49445,7 +49451,7 @@ var require_format2 = __commonJS((exports2) => {
|
|
|
49445
49451
|
exports2.default = format;
|
|
49446
49452
|
});
|
|
49447
49453
|
|
|
49448
|
-
//
|
|
49454
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
49449
49455
|
var require_metadata = __commonJS((exports2) => {
|
|
49450
49456
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49451
49457
|
exports2.contentVocabulary = exports2.metadataVocabulary = undefined;
|
|
@@ -49465,7 +49471,7 @@ var require_metadata = __commonJS((exports2) => {
|
|
|
49465
49471
|
];
|
|
49466
49472
|
});
|
|
49467
49473
|
|
|
49468
|
-
//
|
|
49474
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
49469
49475
|
var require_draft7 = __commonJS((exports2) => {
|
|
49470
49476
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49471
49477
|
var core_1 = require_core2();
|
|
@@ -49484,7 +49490,7 @@ var require_draft7 = __commonJS((exports2) => {
|
|
|
49484
49490
|
exports2.default = draft7Vocabularies;
|
|
49485
49491
|
});
|
|
49486
49492
|
|
|
49487
|
-
//
|
|
49493
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
49488
49494
|
var require_types = __commonJS((exports2) => {
|
|
49489
49495
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49490
49496
|
exports2.DiscrError = undefined;
|
|
@@ -49495,7 +49501,7 @@ var require_types = __commonJS((exports2) => {
|
|
|
49495
49501
|
})(DiscrError || (exports2.DiscrError = DiscrError = {}));
|
|
49496
49502
|
});
|
|
49497
49503
|
|
|
49498
|
-
//
|
|
49504
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
49499
49505
|
var require_discriminator = __commonJS((exports2) => {
|
|
49500
49506
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49501
49507
|
var codegen_1 = require_codegen();
|
|
@@ -49597,7 +49603,7 @@ var require_discriminator = __commonJS((exports2) => {
|
|
|
49597
49603
|
exports2.default = def;
|
|
49598
49604
|
});
|
|
49599
49605
|
|
|
49600
|
-
//
|
|
49606
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
49601
49607
|
var require_json_schema_draft_07 = __commonJS((exports2, module) => {
|
|
49602
49608
|
module.exports = {
|
|
49603
49609
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
@@ -49752,7 +49758,7 @@ var require_json_schema_draft_07 = __commonJS((exports2, module) => {
|
|
|
49752
49758
|
};
|
|
49753
49759
|
});
|
|
49754
49760
|
|
|
49755
|
-
//
|
|
49761
|
+
// node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
49756
49762
|
var require_ajv = __commonJS((exports2, module) => {
|
|
49757
49763
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49758
49764
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = undefined;
|
|
@@ -49820,7 +49826,7 @@ var require_ajv = __commonJS((exports2, module) => {
|
|
|
49820
49826
|
} });
|
|
49821
49827
|
});
|
|
49822
49828
|
|
|
49823
|
-
//
|
|
49829
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
49824
49830
|
var require_formats = __commonJS((exports2) => {
|
|
49825
49831
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49826
49832
|
exports2.formatNames = exports2.fastFormats = exports2.fullFormats = undefined;
|
|
@@ -49997,7 +50003,7 @@ var require_formats = __commonJS((exports2) => {
|
|
|
49997
50003
|
}
|
|
49998
50004
|
});
|
|
49999
50005
|
|
|
50000
|
-
//
|
|
50006
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
50001
50007
|
var require_limit = __commonJS((exports2) => {
|
|
50002
50008
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
50003
50009
|
exports2.formatLimitDefinition = undefined;
|
|
@@ -50066,7 +50072,7 @@ var require_limit = __commonJS((exports2) => {
|
|
|
50066
50072
|
exports2.default = formatLimitPlugin;
|
|
50067
50073
|
});
|
|
50068
50074
|
|
|
50069
|
-
//
|
|
50075
|
+
// node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
50070
50076
|
var require_dist2 = __commonJS((exports2, module) => {
|
|
50071
50077
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
50072
50078
|
var formats_1 = require_formats();
|
|
@@ -50105,7 +50111,7 @@ var require_dist2 = __commonJS((exports2, module) => {
|
|
|
50105
50111
|
exports2.default = formatsPlugin;
|
|
50106
50112
|
});
|
|
50107
50113
|
|
|
50108
|
-
//
|
|
50114
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
50109
50115
|
function createDefaultAjvInstance() {
|
|
50110
50116
|
const ajv = new import_ajv.default({
|
|
50111
50117
|
strict: false,
|
|
@@ -50148,7 +50154,7 @@ var init_ajv_provider = __esm(() => {
|
|
|
50148
50154
|
import_ajv_formats = __toESM(require_dist2(), 1);
|
|
50149
50155
|
});
|
|
50150
50156
|
|
|
50151
|
-
//
|
|
50157
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
50152
50158
|
class ExperimentalServerTasks {
|
|
50153
50159
|
constructor(_server) {
|
|
50154
50160
|
this._server = _server;
|
|
@@ -50229,7 +50235,7 @@ var init_server = __esm(() => {
|
|
|
50229
50235
|
init_types2();
|
|
50230
50236
|
});
|
|
50231
50237
|
|
|
50232
|
-
//
|
|
50238
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
50233
50239
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
50234
50240
|
if (!requests) {
|
|
50235
50241
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -50264,7 +50270,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
50264
50270
|
}
|
|
50265
50271
|
}
|
|
50266
50272
|
|
|
50267
|
-
//
|
|
50273
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
50268
50274
|
var Server;
|
|
50269
50275
|
var init_server2 = __esm(() => {
|
|
50270
50276
|
init_protocol4();
|
|
@@ -50605,7 +50611,7 @@ var init_server2 = __esm(() => {
|
|
|
50605
50611
|
};
|
|
50606
50612
|
});
|
|
50607
50613
|
|
|
50608
|
-
//
|
|
50614
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
50609
50615
|
class ReadBuffer {
|
|
50610
50616
|
append(chunk2) {
|
|
50611
50617
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk2]) : chunk2;
|
|
@@ -50638,7 +50644,7 @@ var init_stdio = __esm(() => {
|
|
|
50638
50644
|
init_types2();
|
|
50639
50645
|
});
|
|
50640
50646
|
|
|
50641
|
-
//
|
|
50647
|
+
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
50642
50648
|
import process3 from "node:process";
|
|
50643
50649
|
|
|
50644
50650
|
class StdioServerTransport {
|
|
@@ -51218,7 +51224,7 @@ __export(exports_server2, {
|
|
|
51218
51224
|
TOOLS: () => TOOLS2
|
|
51219
51225
|
});
|
|
51220
51226
|
import { randomBytes as randomBytes15 } from "node:crypto";
|
|
51221
|
-
import { existsSync as existsSync86, readFileSync as
|
|
51227
|
+
import { existsSync as existsSync86, readFileSync as readFileSync75 } from "node:fs";
|
|
51222
51228
|
function selfSocketPath() {
|
|
51223
51229
|
return `/run/switchroom/hostd/${SELF_AGENT}/sock`;
|
|
51224
51230
|
}
|
|
@@ -51263,7 +51269,10 @@ async function dispatchTool2(name, args) {
|
|
|
51263
51269
|
v: 1,
|
|
51264
51270
|
op: "agent_start",
|
|
51265
51271
|
request_id: makeRequestId("mcp-start"),
|
|
51266
|
-
args: {
|
|
51272
|
+
args: {
|
|
51273
|
+
name: args.name,
|
|
51274
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51275
|
+
}
|
|
51267
51276
|
};
|
|
51268
51277
|
break;
|
|
51269
51278
|
}
|
|
@@ -51274,7 +51283,10 @@ async function dispatchTool2(name, args) {
|
|
|
51274
51283
|
v: 1,
|
|
51275
51284
|
op: "agent_stop",
|
|
51276
51285
|
request_id: makeRequestId("mcp-stop"),
|
|
51277
|
-
args: {
|
|
51286
|
+
args: {
|
|
51287
|
+
name: args.name,
|
|
51288
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51289
|
+
}
|
|
51278
51290
|
};
|
|
51279
51291
|
break;
|
|
51280
51292
|
}
|
|
@@ -51287,7 +51299,8 @@ async function dispatchTool2(name, args) {
|
|
|
51287
51299
|
request_id: makeRequestId("mcp-logs"),
|
|
51288
51300
|
args: {
|
|
51289
51301
|
name: args.name,
|
|
51290
|
-
...typeof args.tail === "number" ? { tail: args.tail } : {}
|
|
51302
|
+
...typeof args.tail === "number" ? { tail: args.tail } : {},
|
|
51303
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51291
51304
|
}
|
|
51292
51305
|
};
|
|
51293
51306
|
break;
|
|
@@ -51302,7 +51315,11 @@ async function dispatchTool2(name, args) {
|
|
|
51302
51315
|
v: 1,
|
|
51303
51316
|
op: "agent_exec",
|
|
51304
51317
|
request_id: makeRequestId("mcp-exec"),
|
|
51305
|
-
args: {
|
|
51318
|
+
args: {
|
|
51319
|
+
name: args.name,
|
|
51320
|
+
argv: args.argv,
|
|
51321
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51322
|
+
}
|
|
51306
51323
|
};
|
|
51307
51324
|
break;
|
|
51308
51325
|
}
|
|
@@ -51329,7 +51346,8 @@ async function dispatchTool2(name, args) {
|
|
|
51329
51346
|
...args.skip_images ? { skip_images: true } : {},
|
|
51330
51347
|
...args.rebuild ? { rebuild: true } : {},
|
|
51331
51348
|
...args.channel ? { channel: args.channel } : {},
|
|
51332
|
-
...args.pin ? { pin: args.pin } : {}
|
|
51349
|
+
...args.pin ? { pin: args.pin } : {},
|
|
51350
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51333
51351
|
}
|
|
51334
51352
|
};
|
|
51335
51353
|
break;
|
|
@@ -51352,7 +51370,8 @@ async function dispatchTool2(name, args) {
|
|
|
51352
51370
|
pin: args.pin,
|
|
51353
51371
|
...args.agents ? { agents: args.agents } : {},
|
|
51354
51372
|
...args.skip_web ? { skip_web: true } : {},
|
|
51355
|
-
...args.allow_downgrade ? { allow_downgrade: true } : {}
|
|
51373
|
+
...args.allow_downgrade ? { allow_downgrade: true } : {},
|
|
51374
|
+
...args.reason ? { reason: args.reason } : {}
|
|
51356
51375
|
}
|
|
51357
51376
|
};
|
|
51358
51377
|
break;
|
|
@@ -51422,7 +51441,7 @@ function getLastUpdateApplyStatus() {
|
|
|
51422
51441
|
}
|
|
51423
51442
|
let raw;
|
|
51424
51443
|
try {
|
|
51425
|
-
raw =
|
|
51444
|
+
raw = readFileSync75(path8, "utf-8");
|
|
51426
51445
|
} catch (err2) {
|
|
51427
51446
|
return errorText2(`get_status: failed to read audit log at ${path8}: ${err2.message}`);
|
|
51428
51447
|
}
|
|
@@ -51503,11 +51522,16 @@ var init_server4 = __esm(() => {
|
|
|
51503
51522
|
},
|
|
51504
51523
|
{
|
|
51505
51524
|
name: "agent_start",
|
|
51506
|
-
description: "Start a stopped agent. Self-targeting allowed; cross-agent " + "requires admin. Equivalent to `switchroom agent start <name>`.",
|
|
51525
|
+
description: "Start a stopped agent. Self-targeting allowed; cross-agent " + "requires admin. Equivalent to `switchroom agent start <name>`. " + "This is operator-gated \u2014 every call surfaces a Telegram approval " + "card. ALWAYS pass a one-line `reason` explaining why you're " + "starting this agent; it renders on the card's `why:` line so the " + "operator can decide in context.",
|
|
51507
51526
|
inputSchema: {
|
|
51508
51527
|
type: "object",
|
|
51509
51528
|
required: ["name"],
|
|
51510
51529
|
properties: {
|
|
51530
|
+
reason: {
|
|
51531
|
+
type: "string",
|
|
51532
|
+
maxLength: 512,
|
|
51533
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51534
|
+
},
|
|
51511
51535
|
name: {
|
|
51512
51536
|
type: "string",
|
|
51513
51537
|
pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
|
|
@@ -51517,11 +51541,16 @@ var init_server4 = __esm(() => {
|
|
|
51517
51541
|
},
|
|
51518
51542
|
{
|
|
51519
51543
|
name: "agent_stop",
|
|
51520
|
-
description: "Stop a running agent. Self-targeting allowed; cross-agent " + "requires admin. Equivalent to `switchroom agent stop <name>`.",
|
|
51544
|
+
description: "Stop a running agent. Self-targeting allowed; cross-agent " + "requires admin. Equivalent to `switchroom agent stop <name>`. " + "This is operator-gated \u2014 every call surfaces a Telegram approval " + "card. ALWAYS pass a one-line `reason` explaining why you're " + "stopping this agent; it renders on the card's `why:` line so the " + "operator can decide in context.",
|
|
51521
51545
|
inputSchema: {
|
|
51522
51546
|
type: "object",
|
|
51523
51547
|
required: ["name"],
|
|
51524
51548
|
properties: {
|
|
51549
|
+
reason: {
|
|
51550
|
+
type: "string",
|
|
51551
|
+
maxLength: 512,
|
|
51552
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51553
|
+
},
|
|
51525
51554
|
name: {
|
|
51526
51555
|
type: "string",
|
|
51527
51556
|
pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
|
|
@@ -51539,11 +51568,16 @@ var init_server4 = __esm(() => {
|
|
|
51539
51568
|
},
|
|
51540
51569
|
{
|
|
51541
51570
|
name: "agent_logs",
|
|
51542
|
-
description: "Read recent docker logs of any peer agent. Self-target is " + "always allowed; cross-agent requires admin: true on the caller. " + "Returns the trailing `tail` lines (default 100, max 2000) as " + "`stdout_tail` / `stderr_tail` (each capped at 4 KiB). Use this " + "for triage when a user reports a peer agent is misbehaving.",
|
|
51571
|
+
description: "Read recent docker logs of any peer agent. Self-target is " + "always allowed; cross-agent requires admin: true on the caller. " + "Returns the trailing `tail` lines (default 100, max 2000) as " + "`stdout_tail` / `stderr_tail` (each capped at 4 KiB). Use this " + "for triage when a user reports a peer agent is misbehaving. " + "This is operator-gated \u2014 every call surfaces a Telegram approval " + "card. ALWAYS pass a one-line `reason` explaining what you're " + "triaging; it renders on the card's `why:` line.",
|
|
51543
51572
|
inputSchema: {
|
|
51544
51573
|
type: "object",
|
|
51545
51574
|
required: ["name"],
|
|
51546
51575
|
properties: {
|
|
51576
|
+
reason: {
|
|
51577
|
+
type: "string",
|
|
51578
|
+
maxLength: 512,
|
|
51579
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51580
|
+
},
|
|
51547
51581
|
name: {
|
|
51548
51582
|
type: "string",
|
|
51549
51583
|
pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
|
|
@@ -51558,11 +51592,16 @@ var init_server4 = __esm(() => {
|
|
|
51558
51592
|
},
|
|
51559
51593
|
{
|
|
51560
51594
|
name: "agent_exec",
|
|
51561
|
-
description: "Run a read-only inspection command inside a peer agent's " + "container via `docker exec`. Self-target allowed; cross-agent " + "requires admin: true. argv[0] must be on the daemon's read-only " + "allowlist (cat, df, du, free, grep, head, hostname, id, " + "ls, ps, pwd, stat, tail, uname, uptime, wc, whoami). Anything " + "outside the allowlist returns `denied` with a pointer to the " + "deferred host_os.exec approval-kernel scope. Returns stdout/" + "stderr tails capped at 4 KiB each.",
|
|
51595
|
+
description: "Run a read-only inspection command inside a peer agent's " + "container via `docker exec`. Self-target allowed; cross-agent " + "requires admin: true. argv[0] must be on the daemon's read-only " + "allowlist (cat, df, du, free, grep, head, hostname, id, " + "ls, ps, pwd, stat, tail, uname, uptime, wc, whoami). Anything " + "outside the allowlist returns `denied` with a pointer to the " + "deferred host_os.exec approval-kernel scope. Returns stdout/" + "stderr tails capped at 4 KiB each. This is operator-gated \u2014 every " + "call surfaces a Telegram approval card. ALWAYS pass a one-line " + "`reason` explaining why you're running this inspection; it renders " + "on the card's `why:` line so the operator can decide in context.",
|
|
51562
51596
|
inputSchema: {
|
|
51563
51597
|
type: "object",
|
|
51564
51598
|
required: ["name", "argv"],
|
|
51565
51599
|
properties: {
|
|
51600
|
+
reason: {
|
|
51601
|
+
type: "string",
|
|
51602
|
+
maxLength: 512,
|
|
51603
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51604
|
+
},
|
|
51566
51605
|
name: {
|
|
51567
51606
|
type: "string",
|
|
51568
51607
|
pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
|
|
@@ -51579,10 +51618,15 @@ var init_server4 = __esm(() => {
|
|
|
51579
51618
|
},
|
|
51580
51619
|
{
|
|
51581
51620
|
name: "update_apply",
|
|
51582
|
-
description: "Execute a fleet-wide update: pull images, regenerate " + "scaffolds, recreate containers. Admin-only at the wire layer. " + "Returns `started` once dispatched \u2014 the actual work runs " + "async on the host and the caller's own agent container will " + "be recreated as part of the cycle.",
|
|
51621
|
+
description: "Execute a fleet-wide update: pull images, regenerate " + "scaffolds, recreate containers. Admin-only at the wire layer. " + "Returns `started` once dispatched \u2014 the actual work runs " + "async on the host and the caller's own agent container will " + "be recreated as part of the cycle. This is operator-gated \u2014 every " + "call surfaces a Telegram approval card. ALWAYS pass a one-line " + "`reason` explaining why you're applying this update; it renders on " + "the card's `why:` line so the operator can decide in context.",
|
|
51583
51622
|
inputSchema: {
|
|
51584
51623
|
type: "object",
|
|
51585
51624
|
properties: {
|
|
51625
|
+
reason: {
|
|
51626
|
+
type: "string",
|
|
51627
|
+
maxLength: 512,
|
|
51628
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51629
|
+
},
|
|
51586
51630
|
skip_images: {
|
|
51587
51631
|
type: "boolean",
|
|
51588
51632
|
description: "Skip the `docker compose pull` step. Useful when local " + "images are already at the desired tag."
|
|
@@ -51606,11 +51650,16 @@ var init_server4 = __esm(() => {
|
|
|
51606
51650
|
},
|
|
51607
51651
|
{
|
|
51608
51652
|
name: "rollout",
|
|
51609
|
-
description: "SAFELY roll the fleet to a pinned SEMVER version, staggered and " + "canary-gated (#2487). Unlike update_apply (a blunt all-at-once " + "recreate), this restarts agents one at a time canary-first, asserts " + "each agent's in-container `switchroom --version` matches the target, " + "and STOPS on the first mismatch \u2014 so a bad build fails on the canary " + "before touching the rest of the fleet. The durable release.pin is " + "persisted only AFTER the canary confirms (a failed canary never " + "strands a bad pin). `pin` MUST be a tagged semver (vX.Y.Z) \u2014 sha " + "pins are rejected because the version assert needs a semver to " + "compare against. The hostd/web self-refresh is DEFERRED on this path " + "(an agent-invoked rollout cannot recreate its own hostd container " + "without killing itself); run that host-side. By default downgrade pins " + "are rejected \u2014 pass `allow_downgrade: true` for the operator-approved " + "rollback path to a known-good earlier tag; all other safety rails " + "(canary order, version-assert, stop-on-mismatch) apply unchanged. " + "Admin-only at the wire layer AND deliberately NOT pre-approved \u2014 every " + "call surfaces a Telegram approval card for the operator to tap. " + "Returns `started`; poll get_status for the structured outcome " + "(which agents rolled / where it stopped).",
|
|
51653
|
+
description: "SAFELY roll the fleet to a pinned SEMVER version, staggered and " + "canary-gated (#2487). Unlike update_apply (a blunt all-at-once " + "recreate), this restarts agents one at a time canary-first, asserts " + "each agent's in-container `switchroom --version` matches the target, " + "and STOPS on the first mismatch \u2014 so a bad build fails on the canary " + "before touching the rest of the fleet. The durable release.pin is " + "persisted only AFTER the canary confirms (a failed canary never " + "strands a bad pin). `pin` MUST be a tagged semver (vX.Y.Z) \u2014 sha " + "pins are rejected because the version assert needs a semver to " + "compare against. The hostd/web self-refresh is DEFERRED on this path " + "(an agent-invoked rollout cannot recreate its own hostd container " + "without killing itself); run that host-side. By default downgrade pins " + "are rejected \u2014 pass `allow_downgrade: true` for the operator-approved " + "rollback path to a known-good earlier tag; all other safety rails " + "(canary order, version-assert, stop-on-mismatch) apply unchanged. " + "Admin-only at the wire layer AND deliberately NOT pre-approved \u2014 every " + "call surfaces a Telegram approval card for the operator to tap. " + "ALWAYS pass a one-line `reason` explaining why you're rolling the " + "fleet to this pin; it renders on the card's `why:` line so the " + "operator can decide in context. " + "Returns `started`; poll get_status for the structured outcome " + "(which agents rolled / where it stopped).",
|
|
51610
51654
|
inputSchema: {
|
|
51611
51655
|
type: "object",
|
|
51612
51656
|
required: ["pin"],
|
|
51613
51657
|
properties: {
|
|
51658
|
+
reason: {
|
|
51659
|
+
type: "string",
|
|
51660
|
+
maxLength: 512,
|
|
51661
|
+
description: "One-line operator-facing rationale, rendered on the " + "approval card's `why:` line."
|
|
51662
|
+
},
|
|
51614
51663
|
pin: {
|
|
51615
51664
|
type: "string",
|
|
51616
51665
|
pattern: "^v\\d+\\.\\d+\\.\\d+$",
|
|
@@ -51671,7 +51720,7 @@ var init_server4 = __esm(() => {
|
|
|
51671
51720
|
];
|
|
51672
51721
|
});
|
|
51673
51722
|
|
|
51674
|
-
//
|
|
51723
|
+
// node_modules/.bun/commander@13.1.0/node_modules/commander/esm.mjs
|
|
51675
51724
|
var import__ = __toESM(require_commander(), 1);
|
|
51676
51725
|
var {
|
|
51677
51726
|
program,
|
|
@@ -51692,8 +51741,8 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
51692
51741
|
import { dirname, join } from "node:path";
|
|
51693
51742
|
|
|
51694
51743
|
// src/build-info.ts
|
|
51695
|
-
var VERSION = "0.16.
|
|
51696
|
-
var COMMIT_SHA = "
|
|
51744
|
+
var VERSION = "0.16.27";
|
|
51745
|
+
var COMMIT_SHA = "68a4feed";
|
|
51697
51746
|
|
|
51698
51747
|
// src/cli/resolve-version.ts
|
|
51699
51748
|
function readPackageVersion() {
|
|
@@ -53099,8 +53148,10 @@ value back into chat.
|
|
|
53099
53148
|
|
|
53100
53149
|
### Formatting \u2014 make it scannable
|
|
53101
53150
|
|
|
53102
|
-
\`reply\` and \`stream_reply\` render Markdown
|
|
53103
|
-
\`**bold**\` becomes bold and backtick-wrapped text becomes monospace.
|
|
53151
|
+
\`reply\` and \`stream_reply\` render rich Markdown (Bot API 10.1) for you, so
|
|
53152
|
+
\`**bold**\` becomes bold and backtick-wrapped text becomes monospace. Your full
|
|
53153
|
+
formatting floor card \u2014 the toolkit and when to reach for each \u2014 is injected
|
|
53154
|
+
into your system prompt every session; this is the conversational summary.
|
|
53104
53155
|
|
|
53105
53156
|
- **A one- or two-line conversational reply needs almost no markup.** Keep
|
|
53106
53157
|
bold for the single fact that matters, never for decoration. "on it, pulling
|
|
@@ -53122,11 +53173,9 @@ value back into chat.
|
|
|
53122
53173
|
\u2022 flag anything user-facing
|
|
53123
53174
|
|
|
53124
53175
|
**Back in** ~2 min with a synthesized summary.
|
|
53125
|
-
-
|
|
53126
|
-
|
|
53127
|
-
|
|
53128
|
-
instead (\`**Blockers**\`, not \`## Blockers\`). Keep lines short; long
|
|
53129
|
-
unwrapped lines are hard to read on a phone.
|
|
53176
|
+
- Use backtick-wrapped \`inline code\` for filenames, commands, and
|
|
53177
|
+
identifiers. Keep lines short; long unwrapped lines are hard to read on a
|
|
53178
|
+
phone.
|
|
53130
53179
|
|
|
53131
53180
|
Every turn that answers a user message ends with a user-visible
|
|
53132
53181
|
\`reply\` (or \`stream_reply\` done=true) \u2014 Telegram is all the user
|
|
@@ -53211,6 +53260,47 @@ belongs in plain config, not the vault. If a tool call is **blocked for
|
|
|
53211
53260
|
containing a vaulted secret**, report that exact block message to the
|
|
53212
53261
|
operator and stop \u2014 don't theorise about auth or tokens; it just means
|
|
53213
53262
|
a stored value reached a tool argument.`;
|
|
53263
|
+
var TELEGRAM_FORMATTING_FLOOR_CARD = `## Formatting for Telegram
|
|
53264
|
+
|
|
53265
|
+
You're writing for a phone screen in Telegram. Every reply renders as rich Markdown
|
|
53266
|
+
(Bot API 10.1). Format to make the message **scannable and easy to read**, not
|
|
53267
|
+
decorated. These are communication tools \u2014 use them with judgment. Most short replies
|
|
53268
|
+
need none of them.
|
|
53269
|
+
|
|
53270
|
+
### Mechanical rules (always)
|
|
53271
|
+
- Separate paragraphs with a blank line (\`\\n\\n\`). A single newline collapses onto the
|
|
53272
|
+
same line and reads as a wall of text.
|
|
53273
|
+
- Keep paragraphs short \u2014 1 to 4 lines. Break before the reader has to work for it.
|
|
53274
|
+
- Hard cap is 32768 characters. Long before that, ask whether a wall of text is the
|
|
53275
|
+
right answer at all.
|
|
53276
|
+
|
|
53277
|
+
### The toolkit, and when to reach for each
|
|
53278
|
+
- **Bold** \u2014 the one key fact or the answer. Not every noun. If everything is bold,
|
|
53279
|
+
nothing is.
|
|
53280
|
+
- *Italic* \u2014 light emphasis, asides, labels.
|
|
53281
|
+
- \`code spans\` \u2014 every identifier: filenames, commands, config keys, agent / account /
|
|
53282
|
+
slot names, error codes. Tap-to-copy, and visually distinct from prose.
|
|
53283
|
+
- Code fences \u2014 multi-line output: diffs, logs, command blocks, JSON. Add a language
|
|
53284
|
+
hint (\` \`\`\`diff \`, \` \`\`\`json \`) when it sharpens the render.
|
|
53285
|
+
- Bulleted list \u2014 3+ parallel items the reader will scan or compare. Never for a single
|
|
53286
|
+
thought or a flowing narrative.
|
|
53287
|
+
- Numbered list \u2014 ordered steps or ranked items.
|
|
53288
|
+
- Tables \u2014 2-D data only (rows \u00d7 columns): per-account usage, status fields. Overkill
|
|
53289
|
+
for a flat list.
|
|
53290
|
+
- Headings \u2014 only in a long, multi-section answer. Clutter on a short reply.
|
|
53291
|
+
- Blockquotes (\`>\`) \u2014 quoted text or indented continuation. Telegram drops leading
|
|
53292
|
+
spaces, so use \`>\`, never literal indentation.
|
|
53293
|
+
- Dividers (\`---\`) \u2014 between genuinely separate sections. Heavy; use sparingly.
|
|
53294
|
+
|
|
53295
|
+
### The why
|
|
53296
|
+
Structure exists for the reader, not the writer. A two-item bullet list is worse than a
|
|
53297
|
+
sentence. A heading on a three-line reply is noise. Reach for structure only when it
|
|
53298
|
+
**reduces the reader's effort** \u2014 parallel options, scannable data, ordered steps \u2014 and
|
|
53299
|
+
stay in prose when the thought is connected. When in doubt: shorter and plainer wins.
|
|
53300
|
+
|
|
53301
|
+
Every turn that answers a user message ends with a user-visible \`reply\` (or
|
|
53302
|
+
\`stream_reply\` done=true) \u2014 Telegram is all the user sees; your terminal output
|
|
53303
|
+
never reaches them.`;
|
|
53214
53304
|
function renderFleetInvariants() {
|
|
53215
53305
|
return [
|
|
53216
53306
|
"<!--",
|
|
@@ -54148,7 +54238,10 @@ function buildWorkspaceContext(args) {
|
|
|
54148
54238
|
})(),
|
|
54149
54239
|
systemPromptAppendShellQuoted: (() => {
|
|
54150
54240
|
const baseAppend = agentConfig.system_prompt_append ?? "";
|
|
54151
|
-
|
|
54241
|
+
const combined = baseAppend.length > 0 ? `${TELEGRAM_FORMATTING_FLOOR_CARD}
|
|
54242
|
+
|
|
54243
|
+
${baseAppend}` : TELEGRAM_FORMATTING_FLOOR_CARD;
|
|
54244
|
+
return shellSingleQuote(combined);
|
|
54152
54245
|
})(),
|
|
54153
54246
|
extraCliArgs: (() => {
|
|
54154
54247
|
const parts = [];
|
|
@@ -55261,7 +55354,10 @@ function reconcileAgent(name, agentConfigRaw, agentsDir, telegramConfig, switchr
|
|
|
55261
55354
|
model: agentConfig.model,
|
|
55262
55355
|
systemPromptAppendShellQuoted: (() => {
|
|
55263
55356
|
const baseAppend = agentConfig.system_prompt_append ?? "";
|
|
55264
|
-
|
|
55357
|
+
const combined = baseAppend.length > 0 ? `${TELEGRAM_FORMATTING_FLOOR_CARD}
|
|
55358
|
+
|
|
55359
|
+
${baseAppend}` : TELEGRAM_FORMATTING_FLOOR_CARD;
|
|
55360
|
+
return shellSingleQuote(combined);
|
|
55265
55361
|
})(),
|
|
55266
55362
|
extraCliArgs: (() => {
|
|
55267
55363
|
const parts = [];
|
|
@@ -63193,7 +63289,7 @@ function createAuditLogger(opts = {}) {
|
|
|
63193
63289
|
// src/vault/grants.ts
|
|
63194
63290
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
63195
63291
|
|
|
63196
|
-
//
|
|
63292
|
+
// node_modules/.bun/bcryptjs@3.0.3/node_modules/bcryptjs/index.js
|
|
63197
63293
|
import nodeCrypto from "crypto";
|
|
63198
63294
|
var randomFallback = null;
|
|
63199
63295
|
function randomBytes7(len) {
|
|
@@ -70780,7 +70876,7 @@ init_client3();
|
|
|
70780
70876
|
init_client();
|
|
70781
70877
|
import { homedir as homedir23 } from "node:os";
|
|
70782
70878
|
|
|
70783
|
-
//
|
|
70879
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
70784
70880
|
import { dirname as dirname10, posix, sep as sep2 } from "path";
|
|
70785
70881
|
function createModulerModifier() {
|
|
70786
70882
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -70816,7 +70912,7 @@ function normalizeWindowsPath(path4) {
|
|
|
70816
70912
|
return path4.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
70817
70913
|
}
|
|
70818
70914
|
|
|
70819
|
-
//
|
|
70915
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
70820
70916
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
70821
70917
|
if ("flags" in flagsResponse) {
|
|
70822
70918
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -70887,7 +70983,7 @@ var parsePayload = (response) => {
|
|
|
70887
70983
|
}
|
|
70888
70984
|
};
|
|
70889
70985
|
|
|
70890
|
-
//
|
|
70986
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
70891
70987
|
function isGzipSupported() {
|
|
70892
70988
|
return "CompressionStream" in globalThis;
|
|
70893
70989
|
}
|
|
@@ -70907,7 +71003,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
70907
71003
|
}
|
|
70908
71004
|
}
|
|
70909
71005
|
|
|
70910
|
-
//
|
|
71006
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
70911
71007
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
70912
71008
|
var DIGITS = "0123456789abcdef";
|
|
70913
71009
|
|
|
@@ -71085,7 +71181,7 @@ var defaultGenerator;
|
|
|
71085
71181
|
var uuidv7 = () => uuidv7obj().toString();
|
|
71086
71182
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
71087
71183
|
|
|
71088
|
-
//
|
|
71184
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
71089
71185
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
71090
71186
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
71091
71187
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -71118,7 +71214,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
71118
71214
|
return PostHogPersistedProperty;
|
|
71119
71215
|
}({});
|
|
71120
71216
|
|
|
71121
|
-
//
|
|
71217
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
71122
71218
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
71123
71219
|
"amazonbot",
|
|
71124
71220
|
"amazonproductbot",
|
|
@@ -71207,7 +71303,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
71207
71303
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
71208
71304
|
});
|
|
71209
71305
|
};
|
|
71210
|
-
//
|
|
71306
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
71211
71307
|
var nativeIsArray = Array.isArray;
|
|
71212
71308
|
var ObjProto = Object.prototype;
|
|
71213
71309
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -71244,7 +71340,7 @@ function isInstanceOf(candidate, base) {
|
|
|
71244
71340
|
}
|
|
71245
71341
|
}
|
|
71246
71342
|
|
|
71247
|
-
//
|
|
71343
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
71248
71344
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
71249
71345
|
if (min > max) {
|
|
71250
71346
|
logger.warn("min cannot be greater than max.");
|
|
@@ -71264,7 +71360,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
71264
71360
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
71265
71361
|
}
|
|
71266
71362
|
|
|
71267
|
-
//
|
|
71363
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
71268
71364
|
var ONE_DAY_IN_MS = 86400000;
|
|
71269
71365
|
|
|
71270
71366
|
class BucketedRateLimiter {
|
|
@@ -71308,7 +71404,7 @@ class BucketedRateLimiter {
|
|
|
71308
71404
|
this._buckets = {};
|
|
71309
71405
|
}
|
|
71310
71406
|
}
|
|
71311
|
-
//
|
|
71407
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
71312
71408
|
class PromiseQueue {
|
|
71313
71409
|
add(promise) {
|
|
71314
71410
|
const promiseUUID = uuidv7();
|
|
@@ -71334,7 +71430,7 @@ class PromiseQueue {
|
|
|
71334
71430
|
this.promiseByIds = {};
|
|
71335
71431
|
}
|
|
71336
71432
|
}
|
|
71337
|
-
//
|
|
71433
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
71338
71434
|
function createConsole(consoleLike = console) {
|
|
71339
71435
|
const lockedMethods = {
|
|
71340
71436
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -71372,7 +71468,7 @@ var passThrough = (fn) => fn();
|
|
|
71372
71468
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
71373
71469
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
71374
71470
|
}
|
|
71375
|
-
//
|
|
71471
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
71376
71472
|
var MOBILE = "Mobile";
|
|
71377
71473
|
var IOS = "iOS";
|
|
71378
71474
|
var ANDROID = "Android";
|
|
@@ -71629,7 +71725,7 @@ var osMatchers = [
|
|
|
71629
71725
|
]
|
|
71630
71726
|
];
|
|
71631
71727
|
|
|
71632
|
-
//
|
|
71728
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
71633
71729
|
var STRING_FORMAT = "utf8";
|
|
71634
71730
|
function assert(truthyValue, message) {
|
|
71635
71731
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -71677,7 +71773,7 @@ function allSettled(promises) {
|
|
|
71677
71773
|
reason
|
|
71678
71774
|
}))));
|
|
71679
71775
|
}
|
|
71680
|
-
//
|
|
71776
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
71681
71777
|
class SimpleEventEmitter {
|
|
71682
71778
|
constructor() {
|
|
71683
71779
|
this.events = {};
|
|
@@ -71699,7 +71795,7 @@ class SimpleEventEmitter {
|
|
|
71699
71795
|
}
|
|
71700
71796
|
}
|
|
71701
71797
|
|
|
71702
|
-
//
|
|
71798
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
71703
71799
|
class PostHogFetchHttpError extends Error {
|
|
71704
71800
|
constructor(response, reqByteLength) {
|
|
71705
71801
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -72414,7 +72510,7 @@ class PostHogCoreStateless {
|
|
|
72414
72510
|
return this.shutdownPromise;
|
|
72415
72511
|
}
|
|
72416
72512
|
}
|
|
72417
|
-
//
|
|
72513
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
72418
72514
|
var exports_error_tracking = {};
|
|
72419
72515
|
__export(exports_error_tracking, {
|
|
72420
72516
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -72438,7 +72534,7 @@ __export(exports_error_tracking, {
|
|
|
72438
72534
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
72439
72535
|
});
|
|
72440
72536
|
|
|
72441
|
-
//
|
|
72537
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
72442
72538
|
var parsedStackResults;
|
|
72443
72539
|
var lastKeysCount;
|
|
72444
72540
|
var cachedFilenameChunkIds;
|
|
@@ -72477,7 +72573,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
72477
72573
|
return cachedFilenameChunkIds;
|
|
72478
72574
|
}
|
|
72479
72575
|
|
|
72480
|
-
//
|
|
72576
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
72481
72577
|
var MAX_CAUSE_RECURSION = 4;
|
|
72482
72578
|
|
|
72483
72579
|
class ErrorPropertiesBuilder {
|
|
@@ -72599,7 +72695,7 @@ class ErrorPropertiesBuilder {
|
|
|
72599
72695
|
return context;
|
|
72600
72696
|
}
|
|
72601
72697
|
}
|
|
72602
|
-
//
|
|
72698
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
72603
72699
|
var UNKNOWN_FUNCTION = "?";
|
|
72604
72700
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
72605
72701
|
const frame = {
|
|
@@ -72615,7 +72711,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
72615
72711
|
return frame;
|
|
72616
72712
|
}
|
|
72617
72713
|
|
|
72618
|
-
//
|
|
72714
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
72619
72715
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
72620
72716
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
72621
72717
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -72628,7 +72724,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
72628
72724
|
];
|
|
72629
72725
|
};
|
|
72630
72726
|
|
|
72631
|
-
//
|
|
72727
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
72632
72728
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
72633
72729
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
72634
72730
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -72654,7 +72750,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
72654
72750
|
}
|
|
72655
72751
|
};
|
|
72656
72752
|
|
|
72657
|
-
//
|
|
72753
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
72658
72754
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
72659
72755
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
72660
72756
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -72677,14 +72773,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
72677
72773
|
}
|
|
72678
72774
|
};
|
|
72679
72775
|
|
|
72680
|
-
//
|
|
72776
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
72681
72777
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
72682
72778
|
var winjsStackLineParser = (line, platform) => {
|
|
72683
72779
|
const parts = winjsRegex.exec(line);
|
|
72684
72780
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
72685
72781
|
};
|
|
72686
72782
|
|
|
72687
|
-
//
|
|
72783
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
72688
72784
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
72689
72785
|
var opera10StackLineParser = (line, platform) => {
|
|
72690
72786
|
const parts = opera10Regex.exec(line);
|
|
@@ -72696,7 +72792,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
72696
72792
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
72697
72793
|
};
|
|
72698
72794
|
|
|
72699
|
-
//
|
|
72795
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
72700
72796
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
72701
72797
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
72702
72798
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -72765,7 +72861,7 @@ function _parseIntOrUndefined(input) {
|
|
|
72765
72861
|
return parseInt(input || "", 10) || undefined;
|
|
72766
72862
|
}
|
|
72767
72863
|
|
|
72768
|
-
//
|
|
72864
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
72769
72865
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
72770
72866
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
72771
72867
|
function reverseAndStripFrames(stack) {
|
|
@@ -72810,7 +72906,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
72810
72906
|
return reverseAndStripFrames(frames);
|
|
72811
72907
|
};
|
|
72812
72908
|
}
|
|
72813
|
-
//
|
|
72909
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
72814
72910
|
class DOMExceptionCoercer {
|
|
72815
72911
|
match(err) {
|
|
72816
72912
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -72840,7 +72936,7 @@ class DOMExceptionCoercer {
|
|
|
72840
72936
|
return isBuiltin(err, "DOMError");
|
|
72841
72937
|
}
|
|
72842
72938
|
}
|
|
72843
|
-
//
|
|
72939
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
72844
72940
|
class ErrorCoercer {
|
|
72845
72941
|
match(err) {
|
|
72846
72942
|
return isPlainError(err);
|
|
@@ -72867,7 +72963,7 @@ class ErrorCoercer {
|
|
|
72867
72963
|
return err.stacktrace || err.stack || undefined;
|
|
72868
72964
|
}
|
|
72869
72965
|
}
|
|
72870
|
-
//
|
|
72966
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
72871
72967
|
class ErrorEventCoercer {
|
|
72872
72968
|
constructor() {}
|
|
72873
72969
|
match(err) {
|
|
@@ -72885,7 +72981,7 @@ class ErrorEventCoercer {
|
|
|
72885
72981
|
return exceptionLike;
|
|
72886
72982
|
}
|
|
72887
72983
|
}
|
|
72888
|
-
//
|
|
72984
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
72889
72985
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
72890
72986
|
|
|
72891
72987
|
class StringCoercer {
|
|
@@ -72915,7 +73011,7 @@ class StringCoercer {
|
|
|
72915
73011
|
];
|
|
72916
73012
|
}
|
|
72917
73013
|
}
|
|
72918
|
-
//
|
|
73014
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
72919
73015
|
var severityLevels = [
|
|
72920
73016
|
"fatal",
|
|
72921
73017
|
"error",
|
|
@@ -72925,7 +73021,7 @@ var severityLevels = [
|
|
|
72925
73021
|
"debug"
|
|
72926
73022
|
];
|
|
72927
73023
|
|
|
72928
|
-
//
|
|
73024
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
72929
73025
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
72930
73026
|
const keys = Object.keys(err);
|
|
72931
73027
|
keys.sort();
|
|
@@ -72942,7 +73038,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
72942
73038
|
return "";
|
|
72943
73039
|
}
|
|
72944
73040
|
|
|
72945
|
-
//
|
|
73041
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
72946
73042
|
class ObjectCoercer {
|
|
72947
73043
|
match(candidate) {
|
|
72948
73044
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -72995,7 +73091,7 @@ class ObjectCoercer {
|
|
|
72995
73091
|
}
|
|
72996
73092
|
}
|
|
72997
73093
|
}
|
|
72998
|
-
//
|
|
73094
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
72999
73095
|
class EventCoercer {
|
|
73000
73096
|
match(err) {
|
|
73001
73097
|
return isEvent(err);
|
|
@@ -73010,7 +73106,7 @@ class EventCoercer {
|
|
|
73010
73106
|
};
|
|
73011
73107
|
}
|
|
73012
73108
|
}
|
|
73013
|
-
//
|
|
73109
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
73014
73110
|
class PrimitiveCoercer {
|
|
73015
73111
|
match(candidate) {
|
|
73016
73112
|
return isPrimitive(candidate);
|
|
@@ -73024,7 +73120,7 @@ class PrimitiveCoercer {
|
|
|
73024
73120
|
};
|
|
73025
73121
|
}
|
|
73026
73122
|
}
|
|
73027
|
-
//
|
|
73123
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
73028
73124
|
class PromiseRejectionEventCoercer {
|
|
73029
73125
|
match(err) {
|
|
73030
73126
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -73060,7 +73156,7 @@ class PromiseRejectionEventCoercer {
|
|
|
73060
73156
|
return error;
|
|
73061
73157
|
}
|
|
73062
73158
|
}
|
|
73063
|
-
//
|
|
73159
|
+
// node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
73064
73160
|
class ReduceableCache {
|
|
73065
73161
|
constructor(_maxSize) {
|
|
73066
73162
|
this._maxSize = _maxSize;
|
|
@@ -73085,7 +73181,7 @@ class ReduceableCache {
|
|
|
73085
73181
|
}
|
|
73086
73182
|
}
|
|
73087
73183
|
}
|
|
73088
|
-
//
|
|
73184
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
73089
73185
|
import { createReadStream } from "node:fs";
|
|
73090
73186
|
import { createInterface as createInterface5 } from "node:readline";
|
|
73091
73187
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -73303,7 +73399,7 @@ function snipLine(line, colno) {
|
|
|
73303
73399
|
return newLine;
|
|
73304
73400
|
}
|
|
73305
73401
|
|
|
73306
|
-
//
|
|
73402
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
73307
73403
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
73308
73404
|
let calledFatalError = false;
|
|
73309
73405
|
return Object.assign((error) => {
|
|
@@ -73335,7 +73431,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
73335
73431
|
}));
|
|
73336
73432
|
}
|
|
73337
73433
|
|
|
73338
|
-
//
|
|
73434
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
73339
73435
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
73340
73436
|
|
|
73341
73437
|
class ErrorTracking {
|
|
@@ -73404,10 +73500,10 @@ class ErrorTracking {
|
|
|
73404
73500
|
}
|
|
73405
73501
|
}
|
|
73406
73502
|
|
|
73407
|
-
//
|
|
73503
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
73408
73504
|
var version = "5.29.2";
|
|
73409
73505
|
|
|
73410
|
-
//
|
|
73506
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
73411
73507
|
var FeatureFlagError2 = {
|
|
73412
73508
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
73413
73509
|
FLAG_MISSING: "flag_missing",
|
|
@@ -73415,7 +73511,7 @@ var FeatureFlagError2 = {
|
|
|
73415
73511
|
UNKNOWN_ERROR: "unknown_error"
|
|
73416
73512
|
};
|
|
73417
73513
|
|
|
73418
|
-
//
|
|
73514
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
73419
73515
|
async function hashSHA1(text) {
|
|
73420
73516
|
const subtle = globalThis.crypto?.subtle;
|
|
73421
73517
|
if (!subtle)
|
|
@@ -73425,7 +73521,7 @@ async function hashSHA1(text) {
|
|
|
73425
73521
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
73426
73522
|
}
|
|
73427
73523
|
|
|
73428
|
-
//
|
|
73524
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
73429
73525
|
var SIXTY_SECONDS = 60000;
|
|
73430
73526
|
var LONG_SCALE = 1152921504606847000;
|
|
73431
73527
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -74299,7 +74395,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
74299
74395
|
}
|
|
74300
74396
|
}
|
|
74301
74397
|
|
|
74302
|
-
//
|
|
74398
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
74303
74399
|
class PostHogMemoryStorage {
|
|
74304
74400
|
getProperty(key) {
|
|
74305
74401
|
return this._memoryStorage[key];
|
|
@@ -74312,7 +74408,7 @@ class PostHogMemoryStorage {
|
|
|
74312
74408
|
}
|
|
74313
74409
|
}
|
|
74314
74410
|
|
|
74315
|
-
//
|
|
74411
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
74316
74412
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
74317
74413
|
var THIRTY_SECONDS = 30000;
|
|
74318
74414
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -75100,7 +75196,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
75100
75196
|
}
|
|
75101
75197
|
}
|
|
75102
75198
|
|
|
75103
|
-
//
|
|
75199
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
75104
75200
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
75105
75201
|
|
|
75106
75202
|
class PostHogContext {
|
|
@@ -75131,7 +75227,7 @@ class PostHogContext {
|
|
|
75131
75227
|
}
|
|
75132
75228
|
}
|
|
75133
75229
|
|
|
75134
|
-
//
|
|
75230
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
75135
75231
|
var NAME = "posthog-node";
|
|
75136
75232
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
75137
75233
|
"error"
|
|
@@ -75199,7 +75295,7 @@ class PostHogSentryIntegration {
|
|
|
75199
75295
|
};
|
|
75200
75296
|
}
|
|
75201
75297
|
}
|
|
75202
|
-
//
|
|
75298
|
+
// node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
75203
75299
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
75204
75300
|
new exports_error_tracking.EventCoercer,
|
|
75205
75301
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -75715,6 +75811,11 @@ function openTurnsDb(agentDir) {
|
|
|
75715
75811
|
applySchema(db);
|
|
75716
75812
|
try {
|
|
75717
75813
|
chmodSync8(path4, 420);
|
|
75814
|
+
for (const suffix of ["-shm", "-wal"]) {
|
|
75815
|
+
try {
|
|
75816
|
+
chmodSync8(path4 + suffix, 420);
|
|
75817
|
+
} catch {}
|
|
75818
|
+
}
|
|
75718
75819
|
} catch {}
|
|
75719
75820
|
return db;
|
|
75720
75821
|
}
|
|
@@ -75737,8 +75838,34 @@ function mapRow(row) {
|
|
|
75737
75838
|
updated_at: row.updated_at
|
|
75738
75839
|
};
|
|
75739
75840
|
}
|
|
75841
|
+
function listDistinctThreadIds(db, chatId) {
|
|
75842
|
+
const rows = db.prepare(`
|
|
75843
|
+
SELECT DISTINCT thread_id FROM turns
|
|
75844
|
+
WHERE chat_id = ?
|
|
75845
|
+
ORDER BY thread_id ASC
|
|
75846
|
+
`).all(chatId);
|
|
75847
|
+
return rows.map((r) => r.thread_id);
|
|
75848
|
+
}
|
|
75740
75849
|
function listTurnsForAgent(db, opts = {}) {
|
|
75741
75850
|
const limit = Math.min(Math.max(1, opts.limit ?? 20), 200);
|
|
75851
|
+
if (opts.chatId && "threadId" in opts) {
|
|
75852
|
+
const rows2 = db.prepare(`
|
|
75853
|
+
SELECT * FROM turns
|
|
75854
|
+
WHERE chat_id = ? AND thread_id IS ?
|
|
75855
|
+
ORDER BY started_at DESC
|
|
75856
|
+
LIMIT ?
|
|
75857
|
+
`).all(opts.chatId, opts.threadId ?? null, limit);
|
|
75858
|
+
return rows2.map(mapRow);
|
|
75859
|
+
}
|
|
75860
|
+
if (opts.chatId) {
|
|
75861
|
+
const rows2 = db.prepare(`
|
|
75862
|
+
SELECT * FROM turns
|
|
75863
|
+
WHERE chat_id = ?
|
|
75864
|
+
ORDER BY started_at DESC
|
|
75865
|
+
LIMIT ?
|
|
75866
|
+
`).all(opts.chatId, limit);
|
|
75867
|
+
return rows2.map(mapRow);
|
|
75868
|
+
}
|
|
75742
75869
|
const rows = db.prepare(`
|
|
75743
75870
|
SELECT * FROM turns
|
|
75744
75871
|
ORDER BY started_at DESC
|
|
@@ -75985,13 +76112,24 @@ async function handleGetLogs(name, lines = 50, deps = {}) {
|
|
|
75985
76112
|
const fetchLogs = deps.fetchLogs ?? fetchAgentLogsViaHostd;
|
|
75986
76113
|
return await fetchLogs(name, lines);
|
|
75987
76114
|
}
|
|
75988
|
-
function
|
|
76115
|
+
function parseHermesSessionId(sessionId) {
|
|
76116
|
+
const tilde = sessionId.indexOf("~");
|
|
76117
|
+
if (tilde === -1)
|
|
76118
|
+
return { agentName: sessionId };
|
|
76119
|
+
return { agentName: sessionId.slice(0, tilde), threadId: sessionId.slice(tilde + 1) || null };
|
|
76120
|
+
}
|
|
76121
|
+
function handleGetTurns(config, sessionId, limit) {
|
|
75989
76122
|
try {
|
|
76123
|
+
const parsed = parseHermesSessionId(sessionId);
|
|
76124
|
+
const agentName = parsed.agentName;
|
|
76125
|
+
const hasThread = "threadId" in parsed;
|
|
75990
76126
|
const agentsDir = resolveAgentsDir(config);
|
|
75991
76127
|
const agentDir = resolve28(agentsDir, agentName);
|
|
76128
|
+
const chatId = config.agents?.[agentName]?.channels?.telegram?.chat_id ?? undefined;
|
|
75992
76129
|
const db = openTurnsDb(agentDir);
|
|
75993
76130
|
try {
|
|
75994
|
-
const
|
|
76131
|
+
const opts = chatId && hasThread ? { limit, chatId, threadId: parsed.threadId } : chatId ? { limit, chatId } : { limit };
|
|
76132
|
+
const turns = listTurnsForAgent(db, opts);
|
|
75995
76133
|
return { ok: true, turns };
|
|
75996
76134
|
} finally {
|
|
75997
76135
|
db.close();
|
|
@@ -76003,6 +76141,22 @@ function handleGetTurns(config, agentName, limit) {
|
|
|
76003
76141
|
};
|
|
76004
76142
|
}
|
|
76005
76143
|
}
|
|
76144
|
+
function handleListThreadIds(config, agentName) {
|
|
76145
|
+
try {
|
|
76146
|
+
const chatId = config.agents?.[agentName]?.channels?.telegram?.chat_id;
|
|
76147
|
+
if (!chatId)
|
|
76148
|
+
return [];
|
|
76149
|
+
const agentsDir = resolveAgentsDir(config);
|
|
76150
|
+
const db = openTurnsDb(resolve28(agentsDir, agentName));
|
|
76151
|
+
try {
|
|
76152
|
+
return listDistinctThreadIds(db, chatId);
|
|
76153
|
+
} finally {
|
|
76154
|
+
db.close();
|
|
76155
|
+
}
|
|
76156
|
+
} catch {
|
|
76157
|
+
return [];
|
|
76158
|
+
}
|
|
76159
|
+
}
|
|
76006
76160
|
function handleGetSubagents(config, agentName, status) {
|
|
76007
76161
|
try {
|
|
76008
76162
|
const agentsDir = resolveAgentsDir(config);
|
|
@@ -77519,12 +77673,28 @@ function agentLiveness(config, agentName) {
|
|
|
77519
77673
|
return "idle";
|
|
77520
77674
|
return "offline";
|
|
77521
77675
|
}
|
|
77522
|
-
function
|
|
77676
|
+
function sessionTitle(config, sessionId) {
|
|
77677
|
+
const { agentName, threadId } = parseHermesSessionId(sessionId);
|
|
77678
|
+
if (threadId === undefined)
|
|
77679
|
+
return agentName;
|
|
77680
|
+
const aliases = config.agents?.[agentName]?.channels?.telegram?.topic_aliases ?? {};
|
|
77681
|
+
const byId = Object.fromEntries(Object.entries(aliases).map(([name2, id]) => [String(id), name2]));
|
|
77682
|
+
if (threadId === null) {
|
|
77683
|
+
return `${agentName} \u00b7 ${byId["1"] ?? "General"}`;
|
|
77684
|
+
}
|
|
77685
|
+
const name = byId[threadId];
|
|
77686
|
+
return name ? `${agentName} \u00b7 ${name}` : `${agentName} \u00b7 ${threadId}`;
|
|
77687
|
+
}
|
|
77688
|
+
function isKnownSession(config, sessionId) {
|
|
77689
|
+
const { agentName } = parseHermesSessionId(sessionId);
|
|
77690
|
+
return !!config.agents?.[agentName];
|
|
77691
|
+
}
|
|
77692
|
+
function toHermesSession(sessionId, agent, liveness, config) {
|
|
77523
77693
|
const nowSec = Math.floor(Date.now() / 1000);
|
|
77524
77694
|
return {
|
|
77525
|
-
id:
|
|
77526
|
-
name:
|
|
77527
|
-
title:
|
|
77695
|
+
id: sessionId,
|
|
77696
|
+
name: sessionId,
|
|
77697
|
+
title: sessionTitle(config, sessionId),
|
|
77528
77698
|
status: liveness,
|
|
77529
77699
|
model: "claude",
|
|
77530
77700
|
is_active: liveness === "active",
|
|
@@ -77542,10 +77712,35 @@ function toHermesSession(agent, liveness) {
|
|
|
77542
77712
|
quota: agent.primaryAccount ? { used_pct: null, slot: agent.primaryAccount } : null
|
|
77543
77713
|
};
|
|
77544
77714
|
}
|
|
77545
|
-
function
|
|
77715
|
+
async function buildAllSessions(config) {
|
|
77716
|
+
const agents = await handleGetAgents(config);
|
|
77717
|
+
const sessions = [];
|
|
77718
|
+
for (const agent of agents) {
|
|
77719
|
+
const liveness = agentLiveness(config, agent.name);
|
|
77720
|
+
const chatId = config.agents?.[agent.name]?.channels?.telegram?.chat_id;
|
|
77721
|
+
if (chatId) {
|
|
77722
|
+
const threadIds = handleListThreadIds(config, agent.name);
|
|
77723
|
+
if (threadIds.length === 0) {
|
|
77724
|
+
sessions.push(toHermesSession(agent.name, agent, liveness, config));
|
|
77725
|
+
} else {
|
|
77726
|
+
for (const threadId of threadIds) {
|
|
77727
|
+
const sessionId = threadId === null ? agent.name : `${agent.name}~${threadId}`;
|
|
77728
|
+
sessions.push(toHermesSession(sessionId, agent, liveness, config));
|
|
77729
|
+
}
|
|
77730
|
+
}
|
|
77731
|
+
} else {
|
|
77732
|
+
sessions.push(toHermesSession(agent.name, agent, liveness, config));
|
|
77733
|
+
}
|
|
77734
|
+
}
|
|
77735
|
+
return sessions;
|
|
77736
|
+
}
|
|
77737
|
+
function resolveAgentChat(config, sessionId, agentsDir) {
|
|
77738
|
+
const { agentName, threadId: topicId } = parseHermesSessionId(sessionId);
|
|
77546
77739
|
const channel = resolveChannelTarget(config, agentName);
|
|
77547
|
-
if (channel)
|
|
77548
|
-
|
|
77740
|
+
if (channel) {
|
|
77741
|
+
const threadId = topicId !== undefined ? topicId === null ? undefined : parseInt(topicId, 10) || undefined : channel.threadId;
|
|
77742
|
+
return { chatId: channel.chatId, threadId };
|
|
77743
|
+
}
|
|
77549
77744
|
const accessPath = resolve29(agentsDir, agentName, "telegram", "access.json");
|
|
77550
77745
|
if (!existsSync51(accessPath))
|
|
77551
77746
|
return null;
|
|
@@ -77741,8 +77936,7 @@ function switchroomCommandsCatalog() {
|
|
|
77741
77936
|
}
|
|
77742
77937
|
async function handleHermesRest(method, pathname, config, search = "") {
|
|
77743
77938
|
if (method === "GET" && (pathname === "/api/sessions" || pathname === "/api/profiles/sessions")) {
|
|
77744
|
-
const
|
|
77745
|
-
const sessions = agents.map((a) => toHermesSession(a, agentLiveness(config, a.name)));
|
|
77939
|
+
const sessions = await buildAllSessions(config);
|
|
77746
77940
|
return {
|
|
77747
77941
|
status: 200,
|
|
77748
77942
|
body: {
|
|
@@ -77757,18 +77951,19 @@ async function handleHermesRest(method, pathname, config, search = "") {
|
|
|
77757
77951
|
const sessionMatch = pathname.match(/^\/api\/sessions\/([^/]+)$/);
|
|
77758
77952
|
if (method === "GET" && sessionMatch) {
|
|
77759
77953
|
const id = decodeURIComponent(sessionMatch[1]);
|
|
77760
|
-
if (!config
|
|
77954
|
+
if (!isKnownSession(config, id))
|
|
77761
77955
|
return { status: 404, body: { error: "Unknown session" } };
|
|
77956
|
+
const { agentName } = parseHermesSessionId(id);
|
|
77762
77957
|
const agents = await handleGetAgents(config);
|
|
77763
|
-
const agent = agents.find((a) => a.name ===
|
|
77958
|
+
const agent = agents.find((a) => a.name === agentName);
|
|
77764
77959
|
if (!agent)
|
|
77765
77960
|
return { status: 404, body: { error: "Unknown session" } };
|
|
77766
|
-
return { status: 200, body: { session: toHermesSession(agent, agentLiveness(config,
|
|
77961
|
+
return { status: 200, body: { session: toHermesSession(id, agent, agentLiveness(config, agentName), config) } };
|
|
77767
77962
|
}
|
|
77768
77963
|
const messagesMatch = pathname.match(/^\/api\/sessions\/([^/]+)\/messages$/);
|
|
77769
77964
|
if (method === "GET" && messagesMatch) {
|
|
77770
77965
|
const id = decodeURIComponent(messagesMatch[1]);
|
|
77771
|
-
if (!config
|
|
77966
|
+
if (!isKnownSession(config, id))
|
|
77772
77967
|
return { status: 404, body: { error: "Unknown session" } };
|
|
77773
77968
|
const result = handleGetTurns(config, id, 100);
|
|
77774
77969
|
const messages = turnsToMessages(result.turns ?? []);
|
|
@@ -77938,52 +78133,48 @@ async function onHermesMessage(ctx, raw) {
|
|
|
77938
78133
|
const config = ctx.config;
|
|
77939
78134
|
switch (req.method) {
|
|
77940
78135
|
case "session.list": {
|
|
77941
|
-
const
|
|
77942
|
-
const sessions = agents.map((a) => toHermesSession(a, agentLiveness(config, a.name)));
|
|
78136
|
+
const sessions = await buildAllSessions(config);
|
|
77943
78137
|
sendResponse(ctx, rpcOk(id, { sessions }));
|
|
77944
78138
|
break;
|
|
77945
78139
|
}
|
|
77946
78140
|
case "session.most_recent": {
|
|
77947
|
-
const
|
|
77948
|
-
|
|
77949
|
-
sendResponse(ctx, rpcOk(id, { session: null }));
|
|
77950
|
-
break;
|
|
77951
|
-
}
|
|
77952
|
-
const a = agents[0];
|
|
77953
|
-
sendResponse(ctx, rpcOk(id, { session: toHermesSession(a, agentLiveness(config, a.name)) }));
|
|
78141
|
+
const sessions = await buildAllSessions(config);
|
|
78142
|
+
sendResponse(ctx, rpcOk(id, { session: sessions[0] ?? null }));
|
|
77954
78143
|
break;
|
|
77955
78144
|
}
|
|
77956
78145
|
case "session.status": {
|
|
77957
78146
|
const sessionId = String(params.session_id ?? "");
|
|
77958
|
-
if (!config
|
|
78147
|
+
if (!isKnownSession(config, sessionId)) {
|
|
77959
78148
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
77960
78149
|
break;
|
|
77961
78150
|
}
|
|
78151
|
+
const { agentName } = parseHermesSessionId(sessionId);
|
|
77962
78152
|
const agents = await handleGetAgents(config);
|
|
77963
|
-
const agent = agents.find((a) => a.name ===
|
|
78153
|
+
const agent = agents.find((a) => a.name === agentName);
|
|
77964
78154
|
if (!agent) {
|
|
77965
78155
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
77966
78156
|
break;
|
|
77967
78157
|
}
|
|
77968
|
-
sendResponse(ctx, rpcOk(id, { session: toHermesSession(agent, agentLiveness(config,
|
|
78158
|
+
sendResponse(ctx, rpcOk(id, { session: toHermesSession(sessionId, agent, agentLiveness(config, agentName), config) }));
|
|
77969
78159
|
break;
|
|
77970
78160
|
}
|
|
77971
78161
|
case "session.create":
|
|
77972
78162
|
case "session.resume":
|
|
77973
78163
|
case "session.activate": {
|
|
77974
78164
|
const sessionId = String(params.session_id ?? params.name ?? "");
|
|
77975
|
-
if (!config
|
|
78165
|
+
if (!isKnownSession(config, sessionId)) {
|
|
77976
78166
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
77977
78167
|
break;
|
|
77978
78168
|
}
|
|
77979
78169
|
ctx.activeSessionId = sessionId;
|
|
78170
|
+
const { agentName } = parseHermesSessionId(sessionId);
|
|
77980
78171
|
const agents = await handleGetAgents(config);
|
|
77981
|
-
const agent = agents.find((a) => a.name ===
|
|
78172
|
+
const agent = agents.find((a) => a.name === agentName);
|
|
77982
78173
|
if (!agent) {
|
|
77983
78174
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
77984
78175
|
break;
|
|
77985
78176
|
}
|
|
77986
|
-
const session = toHermesSession(agent, agentLiveness(config,
|
|
78177
|
+
const session = toHermesSession(sessionId, agent, agentLiveness(config, agentName), config);
|
|
77987
78178
|
sendResponse(ctx, rpcOk(id, { session }));
|
|
77988
78179
|
sendEvent(ctx, "session.info", sessionId, session);
|
|
77989
78180
|
break;
|
|
@@ -77995,7 +78186,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
77995
78186
|
}
|
|
77996
78187
|
case "session.history": {
|
|
77997
78188
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
77998
|
-
if (!config
|
|
78189
|
+
if (!isKnownSession(config, sessionId)) {
|
|
77999
78190
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
78000
78191
|
break;
|
|
78001
78192
|
}
|
|
@@ -78006,12 +78197,13 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78006
78197
|
}
|
|
78007
78198
|
case "session.usage": {
|
|
78008
78199
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
78009
|
-
if (!config
|
|
78200
|
+
if (!isKnownSession(config, sessionId)) {
|
|
78010
78201
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
78011
78202
|
break;
|
|
78012
78203
|
}
|
|
78204
|
+
const { agentName: usageAgentName } = parseHermesSessionId(sessionId);
|
|
78013
78205
|
const agents = await handleGetAgents(config);
|
|
78014
|
-
const agent = agents.find((a) => a.name ===
|
|
78206
|
+
const agent = agents.find((a) => a.name === usageAgentName);
|
|
78015
78207
|
sendResponse(ctx, rpcOk(id, {
|
|
78016
78208
|
session_id: sessionId,
|
|
78017
78209
|
quota: agent?.primaryAccount ? { slot: agent.primaryAccount, state: agent.auth.subscriptionType ?? null } : null
|
|
@@ -78022,7 +78214,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78022
78214
|
case "prompt.background": {
|
|
78023
78215
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
78024
78216
|
const content = String(params.content ?? params.text ?? "");
|
|
78025
|
-
if (!sessionId || !config
|
|
78217
|
+
if (!sessionId || !isKnownSession(config, sessionId)) {
|
|
78026
78218
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
78027
78219
|
break;
|
|
78028
78220
|
}
|
|
@@ -78030,6 +78222,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78030
78222
|
sendResponse(ctx, rpcErr(id, -32602, "content is required"));
|
|
78031
78223
|
break;
|
|
78032
78224
|
}
|
|
78225
|
+
const { agentName: submitAgent } = parseHermesSessionId(sessionId);
|
|
78033
78226
|
const agentsDir = resolveAgentsDir(config);
|
|
78034
78227
|
const chat = resolveAgentChat(config, sessionId, agentsDir);
|
|
78035
78228
|
if (!chat) {
|
|
@@ -78038,7 +78231,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78038
78231
|
}
|
|
78039
78232
|
const promptKey = createHash10("sha256").update(`${sessionId}:${Date.now()}:${content}`).digest("hex").slice(0, 12);
|
|
78040
78233
|
sendEvent(ctx, "message.start", sessionId, { prompt_key: promptKey });
|
|
78041
|
-
const result = await injectInbound(agentsDir,
|
|
78234
|
+
const result = await injectInbound(agentsDir, submitAgent, chat.chatId, chat.threadId, content, promptKey);
|
|
78042
78235
|
if (!result.ok) {
|
|
78043
78236
|
sendEvent(ctx, "error", sessionId, { message: result.error, prompt_key: promptKey });
|
|
78044
78237
|
sendResponse(ctx, rpcErr(id, -32603, result.error ?? "inject failed"));
|
|
@@ -78057,10 +78250,11 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78057
78250
|
}
|
|
78058
78251
|
case "session.interrupt": {
|
|
78059
78252
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
78060
|
-
if (!sessionId || !config
|
|
78253
|
+
if (!sessionId || !isKnownSession(config, sessionId)) {
|
|
78061
78254
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
78062
78255
|
break;
|
|
78063
78256
|
}
|
|
78257
|
+
const { agentName: intAgent } = parseHermesSessionId(sessionId);
|
|
78064
78258
|
const agentsDir = resolveAgentsDir(config);
|
|
78065
78259
|
const chat = resolveAgentChat(config, sessionId, agentsDir);
|
|
78066
78260
|
if (!chat) {
|
|
@@ -78068,7 +78262,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78068
78262
|
break;
|
|
78069
78263
|
}
|
|
78070
78264
|
const promptKey = `interrupt-${Date.now()}`;
|
|
78071
|
-
const intResult = await injectInbound(agentsDir,
|
|
78265
|
+
const intResult = await injectInbound(agentsDir, intAgent, chat.chatId, chat.threadId, "! ", promptKey);
|
|
78072
78266
|
if (!intResult.ok) {
|
|
78073
78267
|
sendResponse(ctx, rpcErr(id, -32603, intResult.error ?? "interrupt inject failed"));
|
|
78074
78268
|
break;
|
|
@@ -78096,14 +78290,15 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78096
78290
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
78097
78291
|
const key = String(params.key ?? "");
|
|
78098
78292
|
const value = String(params.value ?? "");
|
|
78099
|
-
if (key === "model" && sessionId && config
|
|
78293
|
+
if (key === "model" && sessionId && isKnownSession(config, sessionId)) {
|
|
78100
78294
|
const modelName = value.replace(/\s+--provider\s+\S+$/, "").trim();
|
|
78101
78295
|
if (modelName) {
|
|
78102
78296
|
const agentsDir = resolveAgentsDir(config);
|
|
78103
78297
|
const chat = resolveAgentChat(config, sessionId, agentsDir);
|
|
78104
78298
|
if (chat) {
|
|
78105
78299
|
const promptKey = `model-switch-${Date.now()}`;
|
|
78106
|
-
|
|
78300
|
+
const { agentName: modelAgent } = parseHermesSessionId(sessionId);
|
|
78301
|
+
injectInbound(agentsDir, modelAgent, chat.chatId, chat.threadId, `/model ${modelName}`, promptKey);
|
|
78107
78302
|
}
|
|
78108
78303
|
}
|
|
78109
78304
|
}
|
|
@@ -78118,7 +78313,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78118
78313
|
const sessionId = String(params.session_id ?? ctx.activeSessionId ?? "");
|
|
78119
78314
|
const bare = String(params.command ?? "").replace(/^\/+/, "");
|
|
78120
78315
|
const arg = params.arg != null ? String(params.arg) : "";
|
|
78121
|
-
if (!sessionId || !config
|
|
78316
|
+
if (!sessionId || !isKnownSession(config, sessionId)) {
|
|
78122
78317
|
sendResponse(ctx, rpcErr(id, -32602, `Unknown session: ${sessionId}`));
|
|
78123
78318
|
break;
|
|
78124
78319
|
}
|
|
@@ -78126,6 +78321,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78126
78321
|
sendResponse(ctx, rpcErr(id, -32602, "command is required"));
|
|
78127
78322
|
break;
|
|
78128
78323
|
}
|
|
78324
|
+
const { agentName: slashAgent } = parseHermesSessionId(sessionId);
|
|
78129
78325
|
const fullCommand = arg ? `/${bare} ${arg}` : `/${bare}`;
|
|
78130
78326
|
const verb = `/${bare}`;
|
|
78131
78327
|
if (INJECT_BLOCKLIST.has(verb)) {
|
|
@@ -78135,7 +78331,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78135
78331
|
if (INJECT_ALLOWLIST.has(verb)) {
|
|
78136
78332
|
let injectResult;
|
|
78137
78333
|
try {
|
|
78138
|
-
injectResult = await injectSlashCommand(
|
|
78334
|
+
injectResult = await injectSlashCommand(slashAgent, fullCommand);
|
|
78139
78335
|
} catch (err) {
|
|
78140
78336
|
const msg = err instanceof Error ? err.message : String(err);
|
|
78141
78337
|
sendResponse(ctx, rpcErr(id, -32603, msg));
|
|
@@ -78152,7 +78348,7 @@ async function onHermesMessage(ctx, raw) {
|
|
|
78152
78348
|
break;
|
|
78153
78349
|
}
|
|
78154
78350
|
const promptKey = `slash-${bare}-${Date.now()}`;
|
|
78155
|
-
const result = await injectInbound(agentsDir,
|
|
78351
|
+
const result = await injectInbound(agentsDir, slashAgent, chat.chatId, chat.threadId, fullCommand, promptKey);
|
|
78156
78352
|
if (!result.ok) {
|
|
78157
78353
|
sendResponse(ctx, rpcErr(id, -32603, result.error ?? "inject failed"));
|
|
78158
78354
|
break;
|
|
@@ -86558,17 +86754,11 @@ async function provisionLiteLLMKeys(config, agentNames, switchroomConfigPath, ct
|
|
|
86558
86754
|
]);
|
|
86559
86755
|
const passphrase = await resolveOperatorVaultPassphrase(ctx.home ?? homedir46());
|
|
86560
86756
|
if (passphrase === null) {
|
|
86561
|
-
for (const { name } of optedIn) {
|
|
86562
|
-
failures.push({
|
|
86563
|
-
agent: name,
|
|
86564
|
-
message: `litellm: cannot write virtual key \u2014 no operator vault passphrase available ` + `(set SWITCHROOM_VAULT_PASSPHRASE, or enable auto-unlock with 'switchroom vault broker enable-auto-unlock'). The broker refuses new keys without operator attestation.`
|
|
86565
|
-
});
|
|
86566
|
-
}
|
|
86567
86757
|
const targets = [
|
|
86568
86758
|
...optedIn.map(({ name }) => name),
|
|
86569
86759
|
...needsHindsight ? ["hindsight (service)"] : []
|
|
86570
86760
|
];
|
|
86571
|
-
ctx.writeErr(source_default.
|
|
86761
|
+
ctx.writeErr(source_default.yellow(` \u26a0 litellm: vault passphrase unavailable \u2014 skipping new-key provisioning for ` + `${targets.join(", ")}. Already-provisioned keys are unaffected; run \`switchroom apply\` interactively to provision new agents.
|
|
86572
86762
|
`));
|
|
86573
86763
|
return;
|
|
86574
86764
|
}
|
|
@@ -89085,6 +89275,7 @@ import { spawnSync as spawnSync14 } from "node:child_process";
|
|
|
89085
89275
|
|
|
89086
89276
|
// src/cli/skill-common.ts
|
|
89087
89277
|
var import_yaml24 = __toESM(require_dist(), 1);
|
|
89278
|
+
var MAX_SKILLS_PER_AGENT2 = 20;
|
|
89088
89279
|
var MAX_FILE_BYTES = 256 * 1024;
|
|
89089
89280
|
var MAX_SKILL_BYTES = 2 * 1024 * 1024;
|
|
89090
89281
|
var MAX_FILES_PER_SKILL = 50;
|
|
@@ -89257,6 +89448,45 @@ function validateSkillBundle(name, files) {
|
|
|
89257
89448
|
}
|
|
89258
89449
|
return { ok: errors2.length === 0, errors: errors2 };
|
|
89259
89450
|
}
|
|
89451
|
+
var SECRET_RULE_LABELS = {
|
|
89452
|
+
anthropic_api_key: "Anthropic API key (sk-ant-\u2026)",
|
|
89453
|
+
anthropic_oauth_code: "Anthropic OAuth code",
|
|
89454
|
+
openai_api_key: "API key (sk-\u2026)",
|
|
89455
|
+
github_pat_classic: "GitHub personal access token (ghp_\u2026)",
|
|
89456
|
+
github_pat_fine_grained: "GitHub fine-grained PAT (github_pat_\u2026)",
|
|
89457
|
+
slack_token: "Slack token (xox\u2026)",
|
|
89458
|
+
slack_app_token: "Slack app token (xapp-\u2026)",
|
|
89459
|
+
google_api_key: "Google API key (AIza\u2026)",
|
|
89460
|
+
aws_access_key: "AWS access key (AKIA\u2026)",
|
|
89461
|
+
aws_temp_access_key: "AWS temporary access key (ASIA\u2026)",
|
|
89462
|
+
jwt: "JWT",
|
|
89463
|
+
pem_private_key: "PEM private-key block",
|
|
89464
|
+
env_key_value: "KEY=value secret assignment",
|
|
89465
|
+
json_secret_field: "JSON secret field",
|
|
89466
|
+
bearer_auth_header: "Authorization: Bearer token",
|
|
89467
|
+
bearer_loose: "Bearer token",
|
|
89468
|
+
cli_flag: "secret CLI flag",
|
|
89469
|
+
laravel_sanctum_token: "personal access token (id|token)",
|
|
89470
|
+
telegram_bot_token: "Telegram bot token",
|
|
89471
|
+
telegram_bot_token_prefixed: "Telegram bot token",
|
|
89472
|
+
generic_high_entropy: "high-entropy string (likely a credential)"
|
|
89473
|
+
};
|
|
89474
|
+
function scanBundleForSecrets(files) {
|
|
89475
|
+
const findings = [];
|
|
89476
|
+
for (const [file, content] of Object.entries(files)) {
|
|
89477
|
+
if (typeof content !== "string" || content.length === 0)
|
|
89478
|
+
continue;
|
|
89479
|
+
for (const d of detectSecrets(content)) {
|
|
89480
|
+
findings.push({
|
|
89481
|
+
file,
|
|
89482
|
+
pattern: SECRET_RULE_LABELS[d.rule_id] ?? d.rule_id,
|
|
89483
|
+
rule_id: d.rule_id,
|
|
89484
|
+
offset: d.start
|
|
89485
|
+
});
|
|
89486
|
+
}
|
|
89487
|
+
}
|
|
89488
|
+
return findings;
|
|
89489
|
+
}
|
|
89260
89490
|
|
|
89261
89491
|
// src/cli/skill.ts
|
|
89262
89492
|
init_loader();
|
|
@@ -89746,6 +89976,17 @@ function personalSkillDir(agentsRoot, agent, name) {
|
|
|
89746
89976
|
function trashDir(agentsRoot, agent) {
|
|
89747
89977
|
return join85(agentsRoot, agent, ".claude", TRASH_DIRNAME);
|
|
89748
89978
|
}
|
|
89979
|
+
function countPersonalSkills(agentsRoot, agent) {
|
|
89980
|
+
const skillsDir = join85(agentsRoot, agent, ".claude", "skills");
|
|
89981
|
+
if (!existsSync84(skillsDir))
|
|
89982
|
+
return 0;
|
|
89983
|
+
let n = 0;
|
|
89984
|
+
for (const ent of readdirSync32(skillsDir, { withFileTypes: true })) {
|
|
89985
|
+
if (ent.isDirectory() && ent.name.startsWith(PERSONAL_PREFIX))
|
|
89986
|
+
n += 1;
|
|
89987
|
+
}
|
|
89988
|
+
return n;
|
|
89989
|
+
}
|
|
89749
89990
|
function readStdinSync2() {
|
|
89750
89991
|
const chunks = [];
|
|
89751
89992
|
const buf = Buffer.alloc(64 * 1024);
|
|
@@ -89939,6 +90180,12 @@ function loadValidateWrite(agentsRoot, agent, name, files, ensureNew) {
|
|
|
89939
90180
|
if (!ensureNew && !exists) {
|
|
89940
90181
|
fail4(`personal skill ${JSON.stringify(name)} does not exist for agent ${JSON.stringify(agent)}. ` + `Use \`skill init-personal\` to create it.`, 9);
|
|
89941
90182
|
}
|
|
90183
|
+
if (ensureNew) {
|
|
90184
|
+
const existingCount = countPersonalSkills(agentsRoot, agent);
|
|
90185
|
+
if (existingCount >= MAX_SKILLS_PER_AGENT2) {
|
|
90186
|
+
fail4(`agent ${JSON.stringify(agent)} already has ${existingCount} personal skills ` + `(cap is ${MAX_SKILLS_PER_AGENT2}). Remove one with \`skill remove-personal\` ` + `before adding a new skill, or edit an existing skill instead.`, 15);
|
|
90187
|
+
}
|
|
90188
|
+
}
|
|
89942
90189
|
const v = validateSkillBundle(name, files);
|
|
89943
90190
|
if (!v.ok) {
|
|
89944
90191
|
console.error(source_default.red("Validation failed:"));
|
|
@@ -89955,6 +90202,14 @@ function loadValidateWrite(agentsRoot, agent, name, files, ensureNew) {
|
|
|
89955
90202
|
}
|
|
89956
90203
|
process.exit(3);
|
|
89957
90204
|
}
|
|
90205
|
+
const secretFindings = scanBundleForSecrets(files);
|
|
90206
|
+
if (secretFindings.length > 0) {
|
|
90207
|
+
console.error(source_default.red("Secret scan failed \u2014 refusing to write skill:"));
|
|
90208
|
+
for (const f of secretFindings) {
|
|
90209
|
+
console.error(source_default.red(` - ${f.file}: ${f.pattern} detected (at byte offset ${f.offset}). ` + `Remove the secret from the skill content and use the vault instead.`));
|
|
90210
|
+
}
|
|
90211
|
+
process.exit(3);
|
|
90212
|
+
}
|
|
89958
90213
|
writePersonalSkill(target, files);
|
|
89959
90214
|
}
|
|
89960
90215
|
function loadFiles(opts) {
|
|
@@ -90225,31 +90480,106 @@ function registerSkillPersonalCommands(program3) {
|
|
|
90225
90480
|
}));
|
|
90226
90481
|
}
|
|
90227
90482
|
|
|
90483
|
+
// src/cli/self-improve-propose-skill.ts
|
|
90484
|
+
import { createConnection as createConnection4 } from "node:net";
|
|
90485
|
+
import { homedir as homedir50 } from "node:os";
|
|
90486
|
+
import { join as join86 } from "node:path";
|
|
90487
|
+
import { readFileSync as readFileSync73 } from "node:fs";
|
|
90488
|
+
var IPC_CONNECT_TIMEOUT_MS = 5000;
|
|
90489
|
+
function gatewaySocketPath() {
|
|
90490
|
+
return process.env.SWITCHROOM_GATEWAY_SOCKET ?? (process.env.TELEGRAM_STATE_DIR ? join86(process.env.TELEGRAM_STATE_DIR, "gateway.sock") : join86(homedir50(), ".claude", "channels", "telegram", "gateway.sock"));
|
|
90491
|
+
}
|
|
90492
|
+
function fail5(msg, code = 1) {
|
|
90493
|
+
console.error(msg);
|
|
90494
|
+
process.exit(code);
|
|
90495
|
+
}
|
|
90496
|
+
function sendProposal(payload) {
|
|
90497
|
+
return new Promise((resolve52, reject) => {
|
|
90498
|
+
const sock = createConnection4({ path: gatewaySocketPath() });
|
|
90499
|
+
const t = setTimeout(() => {
|
|
90500
|
+
sock.destroy();
|
|
90501
|
+
reject(new Error("gateway IPC connect timeout"));
|
|
90502
|
+
}, IPC_CONNECT_TIMEOUT_MS);
|
|
90503
|
+
sock.on("connect", () => {
|
|
90504
|
+
clearTimeout(t);
|
|
90505
|
+
sock.write(JSON.stringify(payload) + `
|
|
90506
|
+
`, () => {
|
|
90507
|
+
sock.end();
|
|
90508
|
+
resolve52();
|
|
90509
|
+
});
|
|
90510
|
+
});
|
|
90511
|
+
sock.on("error", (err2) => {
|
|
90512
|
+
clearTimeout(t);
|
|
90513
|
+
reject(new Error(`gateway IPC error: ${err2.message}`));
|
|
90514
|
+
});
|
|
90515
|
+
});
|
|
90516
|
+
}
|
|
90517
|
+
function registerSelfImproveProposeSkillCommand(program3) {
|
|
90518
|
+
const parent = program3.commands.find((c) => c.name() === "self-improve") ?? program3.command("self-improve").description("Agent self-improvement ops");
|
|
90519
|
+
parent.command("propose-skill").description("Surface a drafted personal skill as a one-tap Telegram approval card").requiredOption("--slug <slug>", "target personal-skill slug").requiredOption("--lesson <text>", "one-line lesson the skill captures").option("--evidence <text>", "evidence line (e.g. 'seen across 3 sessions')", "").option("--edit", "this is an edit to an existing personal skill (not new)").requiredOption("--draft <path>", "path to a JSON file mapping skill-relative paths to file contents").requiredOption("--chat <id>", "agent's own chat id to post the card to").option("--thread <id>", "forum topic thread id").option("--agent <name>", "agent name (defaults to $SWITCHROOM_AGENT_NAME)").action((opts) => {
|
|
90520
|
+
const agent = opts.agent ?? process.env.SWITCHROOM_AGENT_NAME;
|
|
90521
|
+
if (!agent)
|
|
90522
|
+
fail5("agent name required (--agent or $SWITCHROOM_AGENT_NAME)");
|
|
90523
|
+
let draft;
|
|
90524
|
+
try {
|
|
90525
|
+
draft = JSON.parse(readFileSync73(opts.draft, "utf-8"));
|
|
90526
|
+
} catch (e) {
|
|
90527
|
+
fail5(`failed to read/parse --draft: ${e.message}`);
|
|
90528
|
+
}
|
|
90529
|
+
if (typeof draft !== "object" || draft === null || Array.isArray(draft)) {
|
|
90530
|
+
fail5("--draft must be a JSON object of { path: content }");
|
|
90531
|
+
}
|
|
90532
|
+
if (typeof draft["SKILL.md"] !== "string" || draft["SKILL.md"].length === 0) {
|
|
90533
|
+
fail5("--draft must contain a non-empty SKILL.md");
|
|
90534
|
+
}
|
|
90535
|
+
const payload = {
|
|
90536
|
+
type: "post_skill_proposal",
|
|
90537
|
+
agentName: agent,
|
|
90538
|
+
chatId: opts.chat,
|
|
90539
|
+
skillSlug: opts.slug,
|
|
90540
|
+
isNew: opts.edit !== true,
|
|
90541
|
+
lesson: opts.lesson,
|
|
90542
|
+
evidence: opts.evidence ?? "",
|
|
90543
|
+
draft
|
|
90544
|
+
};
|
|
90545
|
+
if (opts.thread != null) {
|
|
90546
|
+
const n = Number.parseInt(opts.thread, 10);
|
|
90547
|
+
if (Number.isInteger(n))
|
|
90548
|
+
payload.threadId = n;
|
|
90549
|
+
}
|
|
90550
|
+
sendProposal(payload).then(() => {
|
|
90551
|
+
console.log(JSON.stringify({ ok: true, action: "propose-skill", slug: opts.slug, agent }));
|
|
90552
|
+
}).catch((err2) => {
|
|
90553
|
+
fail5(`propose-skill failed: ${err2.message}`);
|
|
90554
|
+
});
|
|
90555
|
+
});
|
|
90556
|
+
}
|
|
90557
|
+
|
|
90228
90558
|
// src/cli/skill-search.ts
|
|
90229
90559
|
init_helpers();
|
|
90230
90560
|
var import_yaml25 = __toESM(require_dist(), 1);
|
|
90231
|
-
import { existsSync as existsSync85, readdirSync as readdirSync33, readFileSync as
|
|
90232
|
-
import { homedir as
|
|
90233
|
-
import { join as
|
|
90561
|
+
import { existsSync as existsSync85, readdirSync as readdirSync33, readFileSync as readFileSync74, statSync as statSync36 } from "node:fs";
|
|
90562
|
+
import { homedir as homedir51 } from "node:os";
|
|
90563
|
+
import { join as join87, resolve as resolve52 } from "node:path";
|
|
90234
90564
|
var PERSONAL_PREFIX2 = "personal-";
|
|
90235
90565
|
var BUNDLED_SUBDIR = "_bundled";
|
|
90236
90566
|
var AGENT_NAME_RE3 = /^[a-z][a-z0-9_-]{0,62}$/;
|
|
90237
90567
|
function defaultAgentsRoot() {
|
|
90238
|
-
return resolve52(
|
|
90568
|
+
return resolve52(homedir51(), ".switchroom/agents");
|
|
90239
90569
|
}
|
|
90240
90570
|
function defaultSharedRoot2() {
|
|
90241
|
-
return resolve52(
|
|
90571
|
+
return resolve52(homedir51(), ".switchroom/skills");
|
|
90242
90572
|
}
|
|
90243
90573
|
function defaultBundledRoot2() {
|
|
90244
|
-
return resolve52(
|
|
90574
|
+
return resolve52(homedir51(), ".switchroom/skills/_bundled");
|
|
90245
90575
|
}
|
|
90246
90576
|
function readSkillFrontmatter(skillDir) {
|
|
90247
|
-
const mdPath =
|
|
90577
|
+
const mdPath = join87(skillDir, "SKILL.md");
|
|
90248
90578
|
if (!existsSync85(mdPath))
|
|
90249
90579
|
return null;
|
|
90250
90580
|
let content;
|
|
90251
90581
|
try {
|
|
90252
|
-
content =
|
|
90582
|
+
content = readFileSync74(mdPath, "utf-8");
|
|
90253
90583
|
} catch {
|
|
90254
90584
|
return null;
|
|
90255
90585
|
}
|
|
@@ -90277,7 +90607,7 @@ function readSkillFrontmatter(skillDir) {
|
|
|
90277
90607
|
return { fm: parsed };
|
|
90278
90608
|
}
|
|
90279
90609
|
function statSkillMd(skillDir) {
|
|
90280
|
-
const mdPath =
|
|
90610
|
+
const mdPath = join87(skillDir, "SKILL.md");
|
|
90281
90611
|
try {
|
|
90282
90612
|
const st = statSync36(mdPath);
|
|
90283
90613
|
return { size: st.size, mtime: st.mtime.toISOString() };
|
|
@@ -90288,7 +90618,7 @@ function statSkillMd(skillDir) {
|
|
|
90288
90618
|
function listPersonalSkills(agent, agentsRoot = defaultAgentsRoot()) {
|
|
90289
90619
|
if (!AGENT_NAME_RE3.test(agent))
|
|
90290
90620
|
return [];
|
|
90291
|
-
const skillsDir =
|
|
90621
|
+
const skillsDir = join87(agentsRoot, agent, ".claude/skills");
|
|
90292
90622
|
if (!existsSync85(skillsDir))
|
|
90293
90623
|
return [];
|
|
90294
90624
|
const out = [];
|
|
@@ -90301,7 +90631,7 @@ function listPersonalSkills(agent, agentsRoot = defaultAgentsRoot()) {
|
|
|
90301
90631
|
for (const ent of entries) {
|
|
90302
90632
|
if (!ent.startsWith(PERSONAL_PREFIX2))
|
|
90303
90633
|
continue;
|
|
90304
|
-
const dirPath =
|
|
90634
|
+
const dirPath = join87(skillsDir, ent);
|
|
90305
90635
|
try {
|
|
90306
90636
|
if (!statSync36(dirPath).isDirectory())
|
|
90307
90637
|
continue;
|
|
@@ -90341,7 +90671,7 @@ function listSharedSkills(sharedRoot = defaultSharedRoot2()) {
|
|
|
90341
90671
|
continue;
|
|
90342
90672
|
if (ent.startsWith("."))
|
|
90343
90673
|
continue;
|
|
90344
|
-
const dirPath =
|
|
90674
|
+
const dirPath = join87(sharedRoot, ent);
|
|
90345
90675
|
try {
|
|
90346
90676
|
if (!statSync36(dirPath).isDirectory())
|
|
90347
90677
|
continue;
|
|
@@ -90377,7 +90707,7 @@ function listBundledSkills(bundledRoot = defaultBundledRoot2()) {
|
|
|
90377
90707
|
for (const ent of entries) {
|
|
90378
90708
|
if (ent.startsWith("."))
|
|
90379
90709
|
continue;
|
|
90380
|
-
const dirPath =
|
|
90710
|
+
const dirPath = join87(bundledRoot, ent);
|
|
90381
90711
|
try {
|
|
90382
90712
|
if (!statSync36(dirPath).isDirectory())
|
|
90383
90713
|
continue;
|
|
@@ -90521,9 +90851,9 @@ function registerHostdMcpCommand(program3) {
|
|
|
90521
90851
|
// src/cli/hostd.ts
|
|
90522
90852
|
init_source();
|
|
90523
90853
|
init_helpers();
|
|
90524
|
-
import { existsSync as existsSync87, mkdirSync as mkdirSync49, readdirSync as readdirSync34, readFileSync as
|
|
90525
|
-
import { homedir as
|
|
90526
|
-
import { join as
|
|
90854
|
+
import { existsSync as existsSync87, mkdirSync as mkdirSync49, readdirSync as readdirSync34, readFileSync as readFileSync76, writeFileSync as writeFileSync42, statSync as statSync37, copyFileSync as copyFileSync12 } from "node:fs";
|
|
90855
|
+
import { homedir as homedir52 } from "node:os";
|
|
90856
|
+
import { join as join88 } from "node:path";
|
|
90527
90857
|
import { spawnSync as spawnSync19 } from "node:child_process";
|
|
90528
90858
|
|
|
90529
90859
|
// src/cli/deploy-version-guard.ts
|
|
@@ -90686,6 +91016,14 @@ services:
|
|
|
90686
91016
|
# have it, but hostd (auditing every shell-out via run-hook.sh's
|
|
90687
91017
|
# pattern) is the controlled chokepoint.
|
|
90688
91018
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
|
91019
|
+
# /etc/machine-id passthrough \u2014 the vault auto-unlock blob
|
|
91020
|
+
# (~/.switchroom/vault-auto-unlock) is encrypted with a key derived
|
|
91021
|
+
# from the host machine-id. Without this mount, readAutoUnlockFile
|
|
91022
|
+
# inside switchroom apply (called by rollout) cannot derive the
|
|
91023
|
+
# decryption key, resolveOperatorVaultPassphrase returns null, LiteLLM
|
|
91024
|
+
# provisioning fails for all agents, and rollout stops at apply.
|
|
91025
|
+
# Same mount the vault-broker compose carries (compose.ts:1364).
|
|
91026
|
+
- /etc/machine-id:/etc/machine-id:ro
|
|
90689
91027
|
environment:
|
|
90690
91028
|
# Hostd resolves homedir() to set the per-agent socket dir; pin
|
|
90691
91029
|
# it inside the container to /host-home (which bind-mounts to the
|
|
@@ -90726,7 +91064,7 @@ networks:
|
|
|
90726
91064
|
# operator surface; the daemon's stderr lands in \`docker logs switchroom-hostd\`.
|
|
90727
91065
|
`;
|
|
90728
91066
|
}
|
|
90729
|
-
function resolveHostdHostHome(env2 = process.env, home2 =
|
|
91067
|
+
function resolveHostdHostHome(env2 = process.env, home2 = homedir52()) {
|
|
90730
91068
|
const fromEnv = env2.SWITCHROOM_HOST_HOME?.trim();
|
|
90731
91069
|
const resolved = fromEnv && fromEnv.length > 0 ? fromEnv : home2;
|
|
90732
91070
|
if (resolved === "/host-home" || resolved.startsWith("/host-home/")) {
|
|
@@ -90737,10 +91075,10 @@ function resolveHostdHostHome(env2 = process.env, home2 = homedir51()) {
|
|
|
90737
91075
|
return resolved;
|
|
90738
91076
|
}
|
|
90739
91077
|
function hostdDir() {
|
|
90740
|
-
return
|
|
91078
|
+
return join88(homedir52(), ".switchroom", "hostd");
|
|
90741
91079
|
}
|
|
90742
91080
|
function hostdComposePath() {
|
|
90743
|
-
return
|
|
91081
|
+
return join88(hostdDir(), "docker-compose.yml");
|
|
90744
91082
|
}
|
|
90745
91083
|
function backupExistingCompose() {
|
|
90746
91084
|
const p = hostdComposePath();
|
|
@@ -90867,7 +91205,7 @@ function doStatus() {
|
|
|
90867
91205
|
for (const name of readdirSync34(dir)) {
|
|
90868
91206
|
if (name === "docker-compose.yml" || name.startsWith("docker-compose.yml."))
|
|
90869
91207
|
continue;
|
|
90870
|
-
const sockPath =
|
|
91208
|
+
const sockPath = join88(dir, name, "sock");
|
|
90871
91209
|
if (existsSync87(sockPath)) {
|
|
90872
91210
|
const st = statSync37(sockPath);
|
|
90873
91211
|
if ((st.mode & 61440) === 49152) {
|
|
@@ -90916,7 +91254,7 @@ function registerHostdCommand(program3) {
|
|
|
90916
91254
|
The log is created when hostd handles its first privileged-verb request.`));
|
|
90917
91255
|
return;
|
|
90918
91256
|
}
|
|
90919
|
-
const raw =
|
|
91257
|
+
const raw = readFileSync76(logPath, "utf-8");
|
|
90920
91258
|
const limit = Math.max(1, parseInt(opts.tail ?? "50", 10) || 50);
|
|
90921
91259
|
const filters = {
|
|
90922
91260
|
agent: opts.agent,
|
|
@@ -90959,8 +91297,8 @@ The log is created when hostd handles its first privileged-verb request.`));
|
|
|
90959
91297
|
init_source();
|
|
90960
91298
|
init_helpers();
|
|
90961
91299
|
import { existsSync as existsSync88, mkdirSync as mkdirSync50, writeFileSync as writeFileSync43, copyFileSync as copyFileSync13 } from "node:fs";
|
|
90962
|
-
import { homedir as
|
|
90963
|
-
import { join as
|
|
91300
|
+
import { homedir as homedir53 } from "node:os";
|
|
91301
|
+
import { join as join89 } from "node:path";
|
|
90964
91302
|
import { spawnSync as spawnSync20 } from "node:child_process";
|
|
90965
91303
|
function resolveWebImageTag(explicitTag, release) {
|
|
90966
91304
|
if (explicitTag)
|
|
@@ -91045,10 +91383,10 @@ services:
|
|
|
91045
91383
|
`;
|
|
91046
91384
|
}
|
|
91047
91385
|
function webdDir() {
|
|
91048
|
-
return
|
|
91386
|
+
return join89(homedir53(), ".switchroom", "web");
|
|
91049
91387
|
}
|
|
91050
91388
|
function webdComposePath() {
|
|
91051
|
-
return
|
|
91389
|
+
return join89(webdDir(), "docker-compose.yml");
|
|
91052
91390
|
}
|
|
91053
91391
|
function backupExistingCompose2() {
|
|
91054
91392
|
const p = webdComposePath();
|
|
@@ -91090,7 +91428,7 @@ async function doInstall2(opts, program3) {
|
|
|
91090
91428
|
return;
|
|
91091
91429
|
}
|
|
91092
91430
|
const yaml = renderWebComposeFile({
|
|
91093
|
-
hostHome:
|
|
91431
|
+
hostHome: homedir53(),
|
|
91094
91432
|
imageTag,
|
|
91095
91433
|
operatorUid
|
|
91096
91434
|
});
|
|
@@ -91189,10 +91527,10 @@ function registerWebdCommand(program3) {
|
|
|
91189
91527
|
|
|
91190
91528
|
// src/cli/host-repair.ts
|
|
91191
91529
|
init_source();
|
|
91192
|
-
import { homedir as
|
|
91193
|
-
import { join as
|
|
91530
|
+
import { homedir as homedir54 } from "node:os";
|
|
91531
|
+
import { join as join90 } from "node:path";
|
|
91194
91532
|
var ARTIFACT_ALLOWLIST = {
|
|
91195
|
-
dockerComposePluginDir: (home2) =>
|
|
91533
|
+
dockerComposePluginDir: (home2) => join90(home2, ".docker", "cli-plugins", "docker-compose"),
|
|
91196
91534
|
stateSentinel: "/state"
|
|
91197
91535
|
};
|
|
91198
91536
|
function isStateBogusAutoDir(probe2) {
|
|
@@ -91241,7 +91579,7 @@ function isStateBogusAutoDir(probe2) {
|
|
|
91241
91579
|
return true;
|
|
91242
91580
|
}
|
|
91243
91581
|
function planMountRepairs(probe2, opts = {}) {
|
|
91244
|
-
const home2 = opts.hostHome ??
|
|
91582
|
+
const home2 = opts.hostHome ?? homedir54();
|
|
91245
91583
|
const items = [];
|
|
91246
91584
|
const dockerComposePath = ARTIFACT_ALLOWLIST.dockerComposePluginDir(home2);
|
|
91247
91585
|
const dockerComposeSt = probe2.lstat(dockerComposePath);
|
|
@@ -91477,6 +91815,7 @@ registerAgentConfigWriteCommands(program3);
|
|
|
91477
91815
|
registerAgentConfigSkillWriteCommands(program3);
|
|
91478
91816
|
registerSkillCommand(program3);
|
|
91479
91817
|
registerSkillPersonalCommands(program3);
|
|
91818
|
+
registerSelfImproveProposeSkillCommand(program3);
|
|
91480
91819
|
registerSkillSearchCommand(program3);
|
|
91481
91820
|
registerAgentConfigMcpCommand(program3);
|
|
91482
91821
|
registerHostdMcpCommand(program3);
|