switchroom 0.12.18 → 0.12.20
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 +85 -81
- package/dist/auth-broker/index.js +85 -81
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +1284 -998
- package/dist/host-control/main.js +104 -100
- package/dist/vault/approvals/kernel-server.js +87 -83
- package/dist/vault/broker/server.js +94 -90
- package/package.json +2 -2
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +448 -209
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/gateway.ts +180 -13
- package/telegram-plugin/gateway/inbound-delivery-gate.ts +85 -0
- package/telegram-plugin/gateway/inbound-spool.ts +272 -0
- package/telegram-plugin/gateway/pending-inbound-buffer.ts +42 -3
- package/telegram-plugin/gateway/turn-state-purge.ts +71 -0
- package/telegram-plugin/tests/inbound-delivery-gate.test.ts +53 -0
- package/telegram-plugin/tests/inbound-spool.test.ts +229 -0
- package/telegram-plugin/tests/pending-inbound-buffer.test.ts +66 -0
- package/telegram-plugin/tests/turn-state-purge.test.ts +109 -0
|
@@ -66,7 +66,7 @@ var __export = (target, all) => {
|
|
|
66
66
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
67
67
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
68
68
|
|
|
69
|
-
//
|
|
69
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/filter.js
|
|
70
70
|
var require_filter = __commonJS((exports) => {
|
|
71
71
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
72
72
|
exports.matchFilter = matchFilter;
|
|
@@ -430,7 +430,7 @@ var require_filter = __commonJS((exports) => {
|
|
|
430
430
|
};
|
|
431
431
|
});
|
|
432
432
|
|
|
433
|
-
//
|
|
433
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/context.js
|
|
434
434
|
var require_context = __commonJS((exports) => {
|
|
435
435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
436
436
|
exports.Context = undefined;
|
|
@@ -1457,7 +1457,7 @@ var require_context = __commonJS((exports) => {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
1459
|
|
|
1460
|
-
//
|
|
1460
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/composer.js
|
|
1461
1461
|
var require_composer = __commonJS((exports) => {
|
|
1462
1462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1463
1463
|
exports.Composer = exports.BotError = undefined;
|
|
@@ -1619,7 +1619,7 @@ var require_composer = __commonJS((exports) => {
|
|
|
1619
1619
|
exports.Composer = Composer;
|
|
1620
1620
|
});
|
|
1621
1621
|
|
|
1622
|
-
//
|
|
1622
|
+
// ../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
1623
1623
|
var require_ms = __commonJS((exports, module) => {
|
|
1624
1624
|
var s = 1000;
|
|
1625
1625
|
var m = s * 60;
|
|
@@ -1729,7 +1729,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
});
|
|
1731
1731
|
|
|
1732
|
-
//
|
|
1732
|
+
// ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
1733
1733
|
var require_common = __commonJS((exports, module) => {
|
|
1734
1734
|
function setup(env) {
|
|
1735
1735
|
createDebug.debug = createDebug;
|
|
@@ -1904,7 +1904,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
1904
1904
|
module.exports = setup;
|
|
1905
1905
|
});
|
|
1906
1906
|
|
|
1907
|
-
//
|
|
1907
|
+
// ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
1908
1908
|
var require_browser = __commonJS((exports, module) => {
|
|
1909
1909
|
exports.formatArgs = formatArgs;
|
|
1910
1910
|
exports.save = save;
|
|
@@ -2064,7 +2064,7 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
2064
2064
|
};
|
|
2065
2065
|
});
|
|
2066
2066
|
|
|
2067
|
-
//
|
|
2067
|
+
// ../node_modules/.bun/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
2068
2068
|
var require_has_flag = __commonJS((exports, module) => {
|
|
2069
2069
|
module.exports = (flag, argv = process.argv) => {
|
|
2070
2070
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -2074,7 +2074,7 @@ var require_has_flag = __commonJS((exports, module) => {
|
|
|
2074
2074
|
};
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
//
|
|
2077
|
+
// ../node_modules/.bun/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
2078
2078
|
var require_supports_color = __commonJS((exports, module) => {
|
|
2079
2079
|
var os = __require("os");
|
|
2080
2080
|
var tty = __require("tty");
|
|
@@ -2173,7 +2173,7 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
2173
2173
|
};
|
|
2174
2174
|
});
|
|
2175
2175
|
|
|
2176
|
-
//
|
|
2176
|
+
// ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
2177
2177
|
var require_node = __commonJS((exports, module) => {
|
|
2178
2178
|
var tty = __require("tty");
|
|
2179
2179
|
var util = __require("util");
|
|
@@ -2344,7 +2344,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
2344
2344
|
};
|
|
2345
2345
|
});
|
|
2346
2346
|
|
|
2347
|
-
//
|
|
2347
|
+
// ../node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
2348
2348
|
var require_src = __commonJS((exports, module) => {
|
|
2349
2349
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
2350
2350
|
module.exports = require_browser();
|
|
@@ -2353,7 +2353,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
});
|
|
2355
2355
|
|
|
2356
|
-
//
|
|
2356
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/platform.node.js
|
|
2357
2357
|
var require_platform_node = __commonJS((exports) => {
|
|
2358
2358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2359
2359
|
exports.defaultAdapter = exports.itrToStream = exports.debug = undefined;
|
|
@@ -2393,7 +2393,7 @@ var require_platform_node = __commonJS((exports) => {
|
|
|
2393
2393
|
exports.defaultAdapter = "express";
|
|
2394
2394
|
});
|
|
2395
2395
|
|
|
2396
|
-
//
|
|
2396
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/error.js
|
|
2397
2397
|
var require_error = __commonJS((exports) => {
|
|
2398
2398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2399
2399
|
exports.HttpError = exports.GrammyError = undefined;
|
|
@@ -2449,10 +2449,10 @@ var require_error = __commonJS((exports) => {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
});
|
|
2451
2451
|
|
|
2452
|
-
//
|
|
2452
|
+
// ../node_modules/.bun/@grammyjs+types@3.26.0/node_modules/@grammyjs/types/mod.js
|
|
2453
2453
|
var exports_mod = {};
|
|
2454
2454
|
|
|
2455
|
-
//
|
|
2455
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.node.js
|
|
2456
2456
|
var require_types_node = __commonJS((exports) => {
|
|
2457
2457
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2458
2458
|
if (k2 === undefined)
|
|
@@ -2543,7 +2543,7 @@ var require_types_node = __commonJS((exports) => {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
});
|
|
2545
2545
|
|
|
2546
|
-
//
|
|
2546
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/types.js
|
|
2547
2547
|
var require_types = __commonJS((exports) => {
|
|
2548
2548
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2549
2549
|
if (k2 === undefined)
|
|
@@ -2569,7 +2569,7 @@ var require_types = __commonJS((exports) => {
|
|
|
2569
2569
|
__exportStar(require_types_node(), exports);
|
|
2570
2570
|
});
|
|
2571
2571
|
|
|
2572
|
-
//
|
|
2572
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/payload.js
|
|
2573
2573
|
var require_payload = __commonJS((exports) => {
|
|
2574
2574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2575
2575
|
exports.requiresFormDataUpload = requiresFormDataUpload;
|
|
@@ -2709,7 +2709,7 @@ content-type:application/octet-stream\r
|
|
|
2709
2709
|
}
|
|
2710
2710
|
});
|
|
2711
2711
|
|
|
2712
|
-
//
|
|
2712
|
+
// ../node_modules/.bun/event-target-shim@5.0.1/node_modules/event-target-shim/dist/event-target-shim.js
|
|
2713
2713
|
var require_event_target_shim = __commonJS((exports, module) => {
|
|
2714
2714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2715
2715
|
var privateData = new WeakMap;
|
|
@@ -3149,7 +3149,7 @@ var require_event_target_shim = __commonJS((exports, module) => {
|
|
|
3149
3149
|
module.exports.defineEventAttribute = defineEventAttribute;
|
|
3150
3150
|
});
|
|
3151
3151
|
|
|
3152
|
-
//
|
|
3152
|
+
// ../node_modules/.bun/abort-controller@3.0.0/node_modules/abort-controller/dist/abort-controller.js
|
|
3153
3153
|
var require_abort_controller = __commonJS((exports, module) => {
|
|
3154
3154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3155
3155
|
var eventTargetShim = require_event_target_shim();
|
|
@@ -3229,7 +3229,7 @@ var require_abort_controller = __commonJS((exports, module) => {
|
|
|
3229
3229
|
module.exports.AbortSignal = AbortSignal2;
|
|
3230
3230
|
});
|
|
3231
3231
|
|
|
3232
|
-
//
|
|
3232
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/shim.node.js
|
|
3233
3233
|
var require_shim_node = __commonJS((exports) => {
|
|
3234
3234
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3235
3235
|
exports.fetch = exports.AbortController = undefined;
|
|
@@ -3243,7 +3243,7 @@ var require_shim_node = __commonJS((exports) => {
|
|
|
3243
3243
|
} });
|
|
3244
3244
|
});
|
|
3245
3245
|
|
|
3246
|
-
//
|
|
3246
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/client.js
|
|
3247
3247
|
var require_client = __commonJS((exports) => {
|
|
3248
3248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3249
3249
|
exports.createRawApi = createRawApi;
|
|
@@ -3423,7 +3423,7 @@ If you want to prevent such mistakes in the future, consider using TypeScript. h
|
|
|
3423
3423
|
var shim_node_js_1 = require_shim_node();
|
|
3424
3424
|
});
|
|
3425
3425
|
|
|
3426
|
-
//
|
|
3426
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/core/api.js
|
|
3427
3427
|
var require_api = __commonJS((exports) => {
|
|
3428
3428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3429
3429
|
exports.Api = undefined;
|
|
@@ -4041,7 +4041,7 @@ var require_api = __commonJS((exports) => {
|
|
|
4041
4041
|
exports.Api = Api;
|
|
4042
4042
|
});
|
|
4043
4043
|
|
|
4044
|
-
//
|
|
4044
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/bot.js
|
|
4045
4045
|
var require_bot = __commonJS((exports) => {
|
|
4046
4046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4047
4047
|
exports.Bot = exports.BotError = exports.DEFAULT_UPDATE_TYPES = undefined;
|
|
@@ -4370,7 +4370,7 @@ On the other hand, if you actually know what you're doing and you do need to ins
|
|
|
4370
4370
|
var shim_node_js_1 = require_shim_node();
|
|
4371
4371
|
});
|
|
4372
4372
|
|
|
4373
|
-
//
|
|
4373
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/constants.js
|
|
4374
4374
|
var require_constants = __commonJS((exports) => {
|
|
4375
4375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4376
4376
|
exports.API_CONSTANTS = undefined;
|
|
@@ -4406,7 +4406,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
4406
4406
|
Object.freeze(exports.API_CONSTANTS);
|
|
4407
4407
|
});
|
|
4408
4408
|
|
|
4409
|
-
//
|
|
4409
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/inline_query.js
|
|
4410
4410
|
var require_inline_query = __commonJS((exports) => {
|
|
4411
4411
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4412
4412
|
exports.InlineQueryResultBuilder = undefined;
|
|
@@ -4604,7 +4604,7 @@ var require_inline_query = __commonJS((exports) => {
|
|
|
4604
4604
|
};
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
//
|
|
4607
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/input_media.js
|
|
4608
4608
|
var require_input_media = __commonJS((exports) => {
|
|
4609
4609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4610
4610
|
exports.InputMediaBuilder = undefined;
|
|
@@ -4627,7 +4627,7 @@ var require_input_media = __commonJS((exports) => {
|
|
|
4627
4627
|
};
|
|
4628
4628
|
});
|
|
4629
4629
|
|
|
4630
|
-
//
|
|
4630
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/keyboard.js
|
|
4631
4631
|
var require_keyboard = __commonJS((exports) => {
|
|
4632
4632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4633
4633
|
exports.InlineKeyboard = exports.Keyboard = undefined;
|
|
@@ -4985,7 +4985,7 @@ var require_keyboard = __commonJS((exports) => {
|
|
|
4985
4985
|
}
|
|
4986
4986
|
});
|
|
4987
4987
|
|
|
4988
|
-
//
|
|
4988
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/session.js
|
|
4989
4989
|
var require_session = __commonJS((exports) => {
|
|
4990
4990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4991
4991
|
exports.MemorySessionStorage = undefined;
|
|
@@ -5285,7 +5285,7 @@ var require_session = __commonJS((exports) => {
|
|
|
5285
5285
|
}
|
|
5286
5286
|
});
|
|
5287
5287
|
|
|
5288
|
-
//
|
|
5288
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/frameworks.js
|
|
5289
5289
|
var require_frameworks = __commonJS((exports) => {
|
|
5290
5290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5291
5291
|
exports.adapters = undefined;
|
|
@@ -5653,7 +5653,7 @@ var require_frameworks = __commonJS((exports) => {
|
|
|
5653
5653
|
};
|
|
5654
5654
|
});
|
|
5655
5655
|
|
|
5656
|
-
//
|
|
5656
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/convenience/webhook.js
|
|
5657
5657
|
var require_webhook = __commonJS((exports) => {
|
|
5658
5658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5659
5659
|
exports.webhookCallback = webhookCallback;
|
|
@@ -5747,7 +5747,7 @@ var require_webhook = __commonJS((exports) => {
|
|
|
5747
5747
|
}
|
|
5748
5748
|
});
|
|
5749
5749
|
|
|
5750
|
-
//
|
|
5750
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
|
|
5751
5751
|
var require_mod = __commonJS((exports) => {
|
|
5752
5752
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
5753
5753
|
if (k2 === undefined)
|
|
@@ -5813,7 +5813,7 @@ var require_mod = __commonJS((exports) => {
|
|
|
5813
5813
|
} });
|
|
5814
5814
|
});
|
|
5815
5815
|
|
|
5816
|
-
//
|
|
5816
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/platform.node.js
|
|
5817
5817
|
var require_platform_node2 = __commonJS((exports) => {
|
|
5818
5818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5819
5819
|
exports.parentThread = exports.createThread = undefined;
|
|
@@ -5844,7 +5844,7 @@ var require_platform_node2 = __commonJS((exports) => {
|
|
|
5844
5844
|
exports.parentThread = parentThread;
|
|
5845
5845
|
});
|
|
5846
5846
|
|
|
5847
|
-
//
|
|
5847
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/distribute.js
|
|
5848
5848
|
var require_distribute = __commonJS((exports) => {
|
|
5849
5849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5850
5850
|
exports.distribute = undefined;
|
|
@@ -5889,7 +5889,7 @@ var require_distribute = __commonJS((exports) => {
|
|
|
5889
5889
|
exports.distribute = distribute;
|
|
5890
5890
|
});
|
|
5891
5891
|
|
|
5892
|
-
//
|
|
5892
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/queue.js
|
|
5893
5893
|
var require_queue = __commonJS((exports) => {
|
|
5894
5894
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5895
5895
|
exports.DecayingDeque = undefined;
|
|
@@ -6033,7 +6033,7 @@ var require_queue = __commonJS((exports) => {
|
|
|
6033
6033
|
exports.DecayingDeque = DecayingDeque;
|
|
6034
6034
|
});
|
|
6035
6035
|
|
|
6036
|
-
//
|
|
6036
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sink.js
|
|
6037
6037
|
var require_sink = __commonJS((exports) => {
|
|
6038
6038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6039
6039
|
exports.createConcurrentSink = exports.createBatchSink = exports.createSequentialSink = undefined;
|
|
@@ -6078,7 +6078,7 @@ var require_sink = __commonJS((exports) => {
|
|
|
6078
6078
|
exports.createConcurrentSink = createConcurrentSink;
|
|
6079
6079
|
});
|
|
6080
6080
|
|
|
6081
|
-
//
|
|
6081
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/node-shim.js
|
|
6082
6082
|
var require_node_shim = __commonJS((exports) => {
|
|
6083
6083
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6084
6084
|
if (k2 === undefined)
|
|
@@ -6104,7 +6104,7 @@ var require_node_shim = __commonJS((exports) => {
|
|
|
6104
6104
|
__exportStar(require_abort_controller(), exports);
|
|
6105
6105
|
});
|
|
6106
6106
|
|
|
6107
|
-
//
|
|
6107
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/source.js
|
|
6108
6108
|
var require_source = __commonJS((exports) => {
|
|
6109
6109
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6110
6110
|
exports.createSource = undefined;
|
|
@@ -6184,7 +6184,7 @@ var require_source = __commonJS((exports) => {
|
|
|
6184
6184
|
var node_shim_js_1 = require_node_shim();
|
|
6185
6185
|
});
|
|
6186
6186
|
|
|
6187
|
-
//
|
|
6187
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/runner.js
|
|
6188
6188
|
var require_runner = __commonJS((exports) => {
|
|
6189
6189
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6190
6190
|
exports.createRunner = exports.createUpdateFetcher = exports.run = undefined;
|
|
@@ -6336,7 +6336,7 @@ var require_runner = __commonJS((exports) => {
|
|
|
6336
6336
|
}
|
|
6337
6337
|
});
|
|
6338
6338
|
|
|
6339
|
-
//
|
|
6339
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/sequentialize.js
|
|
6340
6340
|
var require_sequentialize = __commonJS((exports) => {
|
|
6341
6341
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6342
6342
|
exports.sequentialize = undefined;
|
|
@@ -6379,7 +6379,7 @@ var require_sequentialize = __commonJS((exports) => {
|
|
|
6379
6379
|
exports.sequentialize = sequentialize;
|
|
6380
6380
|
});
|
|
6381
6381
|
|
|
6382
|
-
//
|
|
6382
|
+
// ../node_modules/.bun/grammy@1.42.0/node_modules/grammy/out/mod.js
|
|
6383
6383
|
var require_mod2 = __commonJS((exports) => {
|
|
6384
6384
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6385
6385
|
if (k2 === undefined)
|
|
@@ -6445,7 +6445,7 @@ var require_mod2 = __commonJS((exports) => {
|
|
|
6445
6445
|
} });
|
|
6446
6446
|
});
|
|
6447
6447
|
|
|
6448
|
-
//
|
|
6448
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/deps.node.js
|
|
6449
6449
|
var require_deps_node = __commonJS((exports) => {
|
|
6450
6450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6451
6451
|
exports.BotError = exports.Bot = undefined;
|
|
@@ -6458,7 +6458,7 @@ var require_deps_node = __commonJS((exports) => {
|
|
|
6458
6458
|
} });
|
|
6459
6459
|
});
|
|
6460
6460
|
|
|
6461
|
-
//
|
|
6461
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/worker.js
|
|
6462
6462
|
var require_worker = __commonJS((exports) => {
|
|
6463
6463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6464
6464
|
exports.BotWorker = undefined;
|
|
@@ -6500,7 +6500,7 @@ var require_worker = __commonJS((exports) => {
|
|
|
6500
6500
|
exports.BotWorker = BotWorker;
|
|
6501
6501
|
});
|
|
6502
6502
|
|
|
6503
|
-
//
|
|
6503
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
|
|
6504
6504
|
var require_mod3 = __commonJS((exports) => {
|
|
6505
6505
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6506
6506
|
if (k2 === undefined)
|
|
@@ -6532,7 +6532,7 @@ var require_mod3 = __commonJS((exports) => {
|
|
|
6532
6532
|
__exportStar(require_worker(), exports);
|
|
6533
6533
|
});
|
|
6534
6534
|
|
|
6535
|
-
//
|
|
6535
|
+
// ../node_modules/.bun/@grammyjs+runner@2.0.3+c6be0243b1bbec89/node_modules/@grammyjs/runner/out/mod.js
|
|
6536
6536
|
var require_mod4 = __commonJS((exports) => {
|
|
6537
6537
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
6538
6538
|
if (k2 === undefined)
|
|
@@ -6564,7 +6564,7 @@ var require_mod4 = __commonJS((exports) => {
|
|
|
6564
6564
|
__exportStar(require_worker(), exports);
|
|
6565
6565
|
});
|
|
6566
6566
|
|
|
6567
|
-
//
|
|
6567
|
+
// ../node_modules/.bun/@xterm+headless@6.0.0/node_modules/@xterm/headless/lib-headless/xterm-headless.js
|
|
6568
6568
|
var require_xterm_headless = __commonJS((exports2) => {
|
|
6569
6569
|
(() => {
|
|
6570
6570
|
var e = { 5639: (e2, t2, s2) => {
|
|
@@ -12119,7 +12119,7 @@ ${i3.join(`
|
|
|
12119
12119
|
})();
|
|
12120
12120
|
});
|
|
12121
12121
|
|
|
12122
|
-
//
|
|
12122
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
12123
12123
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
12124
12124
|
const t = typeof data;
|
|
12125
12125
|
switch (t) {
|
|
@@ -12250,7 +12250,7 @@ var init_util = __esm(() => {
|
|
|
12250
12250
|
]);
|
|
12251
12251
|
});
|
|
12252
12252
|
|
|
12253
|
-
//
|
|
12253
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
12254
12254
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
12255
12255
|
const json = JSON.stringify(obj, null, 2);
|
|
12256
12256
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -12371,7 +12371,7 @@ var init_ZodError = __esm(() => {
|
|
|
12371
12371
|
};
|
|
12372
12372
|
});
|
|
12373
12373
|
|
|
12374
|
-
//
|
|
12374
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
12375
12375
|
var errorMap = (issue, _ctx) => {
|
|
12376
12376
|
let message;
|
|
12377
12377
|
switch (issue.code) {
|
|
@@ -12478,7 +12478,7 @@ var init_en = __esm(() => {
|
|
|
12478
12478
|
en_default = errorMap;
|
|
12479
12479
|
});
|
|
12480
12480
|
|
|
12481
|
-
//
|
|
12481
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
12482
12482
|
function setErrorMap(map) {
|
|
12483
12483
|
overrideErrorMap = map;
|
|
12484
12484
|
}
|
|
@@ -12491,7 +12491,7 @@ var init_errors = __esm(() => {
|
|
|
12491
12491
|
overrideErrorMap = en_default;
|
|
12492
12492
|
});
|
|
12493
12493
|
|
|
12494
|
-
//
|
|
12494
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
12495
12495
|
function addIssueToContext(ctx, issueData) {
|
|
12496
12496
|
const overrideMap = getErrorMap();
|
|
12497
12497
|
const issue = makeIssue({
|
|
@@ -12596,10 +12596,10 @@ var init_parseUtil = __esm(() => {
|
|
|
12596
12596
|
});
|
|
12597
12597
|
});
|
|
12598
12598
|
|
|
12599
|
-
//
|
|
12599
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js
|
|
12600
12600
|
var init_typeAliases = () => {};
|
|
12601
12601
|
|
|
12602
|
-
//
|
|
12602
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
12603
12603
|
var errorUtil;
|
|
12604
12604
|
var init_errorUtil = __esm(() => {
|
|
12605
12605
|
(function(errorUtil2) {
|
|
@@ -12608,7 +12608,7 @@ var init_errorUtil = __esm(() => {
|
|
|
12608
12608
|
})(errorUtil || (errorUtil = {}));
|
|
12609
12609
|
});
|
|
12610
12610
|
|
|
12611
|
-
//
|
|
12611
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
|
|
12612
12612
|
class ParseInputLazyPath {
|
|
12613
12613
|
constructor(parent, value, path, key) {
|
|
12614
12614
|
this._cachedPath = [];
|
|
@@ -15959,7 +15959,7 @@ var init_types = __esm(() => {
|
|
|
15959
15959
|
NEVER = INVALID;
|
|
15960
15960
|
});
|
|
15961
15961
|
|
|
15962
|
-
//
|
|
15962
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
15963
15963
|
var exports_external = {};
|
|
15964
15964
|
__export(exports_external, {
|
|
15965
15965
|
void: () => voidType,
|
|
@@ -16079,7 +16079,7 @@ var init_external = __esm(() => {
|
|
|
16079
16079
|
init_ZodError();
|
|
16080
16080
|
});
|
|
16081
16081
|
|
|
16082
|
-
//
|
|
16082
|
+
// ../node_modules/.bun/zod@3.25.76/node_modules/zod/index.js
|
|
16083
16083
|
var init_zod = __esm(() => {
|
|
16084
16084
|
init_external();
|
|
16085
16085
|
init_external();
|
|
@@ -16627,7 +16627,7 @@ var init_client = __esm(() => {
|
|
|
16627
16627
|
};
|
|
16628
16628
|
});
|
|
16629
16629
|
|
|
16630
|
-
//
|
|
16630
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
16631
16631
|
var require_identity = __commonJS((exports2) => {
|
|
16632
16632
|
var ALIAS = Symbol.for("yaml.alias");
|
|
16633
16633
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -16681,7 +16681,7 @@ var require_identity = __commonJS((exports2) => {
|
|
|
16681
16681
|
exports2.isSeq = isSeq;
|
|
16682
16682
|
});
|
|
16683
16683
|
|
|
16684
|
-
//
|
|
16684
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
16685
16685
|
var require_visit = __commonJS((exports2) => {
|
|
16686
16686
|
var identity = require_identity();
|
|
16687
16687
|
var BREAK = Symbol("break visit");
|
|
@@ -16836,7 +16836,7 @@ var require_visit = __commonJS((exports2) => {
|
|
|
16836
16836
|
exports2.visitAsync = visitAsync;
|
|
16837
16837
|
});
|
|
16838
16838
|
|
|
16839
|
-
//
|
|
16839
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
16840
16840
|
var require_directives = __commonJS((exports2) => {
|
|
16841
16841
|
var identity = require_identity();
|
|
16842
16842
|
var visit = require_visit();
|
|
@@ -16988,7 +16988,7 @@ var require_directives = __commonJS((exports2) => {
|
|
|
16988
16988
|
exports2.Directives = Directives;
|
|
16989
16989
|
});
|
|
16990
16990
|
|
|
16991
|
-
//
|
|
16991
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
16992
16992
|
var require_anchors = __commonJS((exports2) => {
|
|
16993
16993
|
var identity = require_identity();
|
|
16994
16994
|
var visit = require_visit();
|
|
@@ -17050,7 +17050,7 @@ var require_anchors = __commonJS((exports2) => {
|
|
|
17050
17050
|
exports2.findNewAnchor = findNewAnchor;
|
|
17051
17051
|
});
|
|
17052
17052
|
|
|
17053
|
-
//
|
|
17053
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
17054
17054
|
var require_applyReviver = __commonJS((exports2) => {
|
|
17055
17055
|
function applyReviver(reviver, obj, key, val) {
|
|
17056
17056
|
if (val && typeof val === "object") {
|
|
@@ -17097,7 +17097,7 @@ var require_applyReviver = __commonJS((exports2) => {
|
|
|
17097
17097
|
exports2.applyReviver = applyReviver;
|
|
17098
17098
|
});
|
|
17099
17099
|
|
|
17100
|
-
//
|
|
17100
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
17101
17101
|
var require_toJS = __commonJS((exports2) => {
|
|
17102
17102
|
var identity = require_identity();
|
|
17103
17103
|
function toJS(value, arg, ctx) {
|
|
@@ -17124,7 +17124,7 @@ var require_toJS = __commonJS((exports2) => {
|
|
|
17124
17124
|
exports2.toJS = toJS;
|
|
17125
17125
|
});
|
|
17126
17126
|
|
|
17127
|
-
//
|
|
17127
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
17128
17128
|
var require_Node = __commonJS((exports2) => {
|
|
17129
17129
|
var applyReviver = require_applyReviver();
|
|
17130
17130
|
var identity = require_identity();
|
|
@@ -17161,7 +17161,7 @@ var require_Node = __commonJS((exports2) => {
|
|
|
17161
17161
|
exports2.NodeBase = NodeBase;
|
|
17162
17162
|
});
|
|
17163
17163
|
|
|
17164
|
-
//
|
|
17164
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
17165
17165
|
var require_Alias = __commonJS((exports2) => {
|
|
17166
17166
|
var anchors = require_anchors();
|
|
17167
17167
|
var visit = require_visit();
|
|
@@ -17269,7 +17269,7 @@ var require_Alias = __commonJS((exports2) => {
|
|
|
17269
17269
|
exports2.Alias = Alias;
|
|
17270
17270
|
});
|
|
17271
17271
|
|
|
17272
|
-
//
|
|
17272
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
17273
17273
|
var require_Scalar = __commonJS((exports2) => {
|
|
17274
17274
|
var identity = require_identity();
|
|
17275
17275
|
var Node = require_Node();
|
|
@@ -17297,7 +17297,7 @@ var require_Scalar = __commonJS((exports2) => {
|
|
|
17297
17297
|
exports2.isScalarValue = isScalarValue;
|
|
17298
17298
|
});
|
|
17299
17299
|
|
|
17300
|
-
//
|
|
17300
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
17301
17301
|
var require_createNode = __commonJS((exports2) => {
|
|
17302
17302
|
var Alias = require_Alias();
|
|
17303
17303
|
var identity = require_identity();
|
|
@@ -17369,7 +17369,7 @@ var require_createNode = __commonJS((exports2) => {
|
|
|
17369
17369
|
exports2.createNode = createNode;
|
|
17370
17370
|
});
|
|
17371
17371
|
|
|
17372
|
-
//
|
|
17372
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
17373
17373
|
var require_Collection = __commonJS((exports2) => {
|
|
17374
17374
|
var createNode = require_createNode();
|
|
17375
17375
|
var identity = require_identity();
|
|
@@ -17484,7 +17484,7 @@ var require_Collection = __commonJS((exports2) => {
|
|
|
17484
17484
|
exports2.isEmptyPath = isEmptyPath;
|
|
17485
17485
|
});
|
|
17486
17486
|
|
|
17487
|
-
//
|
|
17487
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
17488
17488
|
var require_stringifyComment = __commonJS((exports2) => {
|
|
17489
17489
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
17490
17490
|
function indentComment(comment, indent) {
|
|
@@ -17501,7 +17501,7 @@ var require_stringifyComment = __commonJS((exports2) => {
|
|
|
17501
17501
|
exports2.stringifyComment = stringifyComment;
|
|
17502
17502
|
});
|
|
17503
17503
|
|
|
17504
|
-
//
|
|
17504
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
17505
17505
|
var require_foldFlowLines = __commonJS((exports2) => {
|
|
17506
17506
|
var FOLD_FLOW = "flow";
|
|
17507
17507
|
var FOLD_BLOCK = "block";
|
|
@@ -17638,7 +17638,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
17638
17638
|
exports2.foldFlowLines = foldFlowLines;
|
|
17639
17639
|
});
|
|
17640
17640
|
|
|
17641
|
-
//
|
|
17641
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
17642
17642
|
var require_stringifyString = __commonJS((exports2) => {
|
|
17643
17643
|
var Scalar = require_Scalar();
|
|
17644
17644
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -17936,7 +17936,7 @@ ${indent}`);
|
|
|
17936
17936
|
exports2.stringifyString = stringifyString;
|
|
17937
17937
|
});
|
|
17938
17938
|
|
|
17939
|
-
//
|
|
17939
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
17940
17940
|
var require_stringify = __commonJS((exports2) => {
|
|
17941
17941
|
var anchors = require_anchors();
|
|
17942
17942
|
var identity = require_identity();
|
|
@@ -18057,7 +18057,7 @@ ${ctx.indent}${str}`;
|
|
|
18057
18057
|
exports2.stringify = stringify;
|
|
18058
18058
|
});
|
|
18059
18059
|
|
|
18060
|
-
//
|
|
18060
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
18061
18061
|
var require_stringifyPair = __commonJS((exports2) => {
|
|
18062
18062
|
var identity = require_identity();
|
|
18063
18063
|
var Scalar = require_Scalar();
|
|
@@ -18193,7 +18193,7 @@ ${ctx.indent}`;
|
|
|
18193
18193
|
exports2.stringifyPair = stringifyPair;
|
|
18194
18194
|
});
|
|
18195
18195
|
|
|
18196
|
-
//
|
|
18196
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
18197
18197
|
var require_log = __commonJS((exports2) => {
|
|
18198
18198
|
var node_process = __require("process");
|
|
18199
18199
|
function debug(logLevel, ...messages) {
|
|
@@ -18212,7 +18212,7 @@ var require_log = __commonJS((exports2) => {
|
|
|
18212
18212
|
exports2.warn = warn;
|
|
18213
18213
|
});
|
|
18214
18214
|
|
|
18215
|
-
//
|
|
18215
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
18216
18216
|
var require_merge = __commonJS((exports2) => {
|
|
18217
18217
|
var identity = require_identity();
|
|
18218
18218
|
var Scalar = require_Scalar();
|
|
@@ -18266,7 +18266,7 @@ var require_merge = __commonJS((exports2) => {
|
|
|
18266
18266
|
exports2.merge = merge;
|
|
18267
18267
|
});
|
|
18268
18268
|
|
|
18269
|
-
//
|
|
18269
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
18270
18270
|
var require_addPairToJSMap = __commonJS((exports2) => {
|
|
18271
18271
|
var log = require_log();
|
|
18272
18272
|
var merge = require_merge();
|
|
@@ -18327,7 +18327,7 @@ var require_addPairToJSMap = __commonJS((exports2) => {
|
|
|
18327
18327
|
exports2.addPairToJSMap = addPairToJSMap;
|
|
18328
18328
|
});
|
|
18329
18329
|
|
|
18330
|
-
//
|
|
18330
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
18331
18331
|
var require_Pair = __commonJS((exports2) => {
|
|
18332
18332
|
var createNode = require_createNode();
|
|
18333
18333
|
var stringifyPair = require_stringifyPair();
|
|
@@ -18365,7 +18365,7 @@ var require_Pair = __commonJS((exports2) => {
|
|
|
18365
18365
|
exports2.createPair = createPair;
|
|
18366
18366
|
});
|
|
18367
18367
|
|
|
18368
|
-
//
|
|
18368
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
18369
18369
|
var require_stringifyCollection = __commonJS((exports2) => {
|
|
18370
18370
|
var identity = require_identity();
|
|
18371
18371
|
var stringify = require_stringify();
|
|
@@ -18517,7 +18517,7 @@ ${indent}${end}`;
|
|
|
18517
18517
|
exports2.stringifyCollection = stringifyCollection;
|
|
18518
18518
|
});
|
|
18519
18519
|
|
|
18520
|
-
//
|
|
18520
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
18521
18521
|
var require_YAMLMap = __commonJS((exports2) => {
|
|
18522
18522
|
var stringifyCollection = require_stringifyCollection();
|
|
18523
18523
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -18644,7 +18644,7 @@ var require_YAMLMap = __commonJS((exports2) => {
|
|
|
18644
18644
|
exports2.findPair = findPair;
|
|
18645
18645
|
});
|
|
18646
18646
|
|
|
18647
|
-
//
|
|
18647
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
18648
18648
|
var require_map = __commonJS((exports2) => {
|
|
18649
18649
|
var identity = require_identity();
|
|
18650
18650
|
var YAMLMap = require_YAMLMap();
|
|
@@ -18663,7 +18663,7 @@ var require_map = __commonJS((exports2) => {
|
|
|
18663
18663
|
exports2.map = map;
|
|
18664
18664
|
});
|
|
18665
18665
|
|
|
18666
|
-
//
|
|
18666
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
18667
18667
|
var require_YAMLSeq = __commonJS((exports2) => {
|
|
18668
18668
|
var createNode = require_createNode();
|
|
18669
18669
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -18756,7 +18756,7 @@ var require_YAMLSeq = __commonJS((exports2) => {
|
|
|
18756
18756
|
exports2.YAMLSeq = YAMLSeq;
|
|
18757
18757
|
});
|
|
18758
18758
|
|
|
18759
|
-
//
|
|
18759
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
18760
18760
|
var require_seq = __commonJS((exports2) => {
|
|
18761
18761
|
var identity = require_identity();
|
|
18762
18762
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -18775,7 +18775,7 @@ var require_seq = __commonJS((exports2) => {
|
|
|
18775
18775
|
exports2.seq = seq;
|
|
18776
18776
|
});
|
|
18777
18777
|
|
|
18778
|
-
//
|
|
18778
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
18779
18779
|
var require_string = __commonJS((exports2) => {
|
|
18780
18780
|
var stringifyString = require_stringifyString();
|
|
18781
18781
|
var string = {
|
|
@@ -18791,7 +18791,7 @@ var require_string = __commonJS((exports2) => {
|
|
|
18791
18791
|
exports2.string = string;
|
|
18792
18792
|
});
|
|
18793
18793
|
|
|
18794
|
-
//
|
|
18794
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
18795
18795
|
var require_null = __commonJS((exports2) => {
|
|
18796
18796
|
var Scalar = require_Scalar();
|
|
18797
18797
|
var nullTag = {
|
|
@@ -18806,7 +18806,7 @@ var require_null = __commonJS((exports2) => {
|
|
|
18806
18806
|
exports2.nullTag = nullTag;
|
|
18807
18807
|
});
|
|
18808
18808
|
|
|
18809
|
-
//
|
|
18809
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
18810
18810
|
var require_bool = __commonJS((exports2) => {
|
|
18811
18811
|
var Scalar = require_Scalar();
|
|
18812
18812
|
var boolTag = {
|
|
@@ -18827,7 +18827,7 @@ var require_bool = __commonJS((exports2) => {
|
|
|
18827
18827
|
exports2.boolTag = boolTag;
|
|
18828
18828
|
});
|
|
18829
18829
|
|
|
18830
|
-
//
|
|
18830
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
18831
18831
|
var require_stringifyNumber = __commonJS((exports2) => {
|
|
18832
18832
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
18833
18833
|
if (typeof value === "bigint")
|
|
@@ -18851,7 +18851,7 @@ var require_stringifyNumber = __commonJS((exports2) => {
|
|
|
18851
18851
|
exports2.stringifyNumber = stringifyNumber;
|
|
18852
18852
|
});
|
|
18853
18853
|
|
|
18854
|
-
//
|
|
18854
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
18855
18855
|
var require_float = __commonJS((exports2) => {
|
|
18856
18856
|
var Scalar = require_Scalar();
|
|
18857
18857
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -18894,7 +18894,7 @@ var require_float = __commonJS((exports2) => {
|
|
|
18894
18894
|
exports2.floatNaN = floatNaN;
|
|
18895
18895
|
});
|
|
18896
18896
|
|
|
18897
|
-
//
|
|
18897
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
18898
18898
|
var require_int = __commonJS((exports2) => {
|
|
18899
18899
|
var stringifyNumber = require_stringifyNumber();
|
|
18900
18900
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -18936,7 +18936,7 @@ var require_int = __commonJS((exports2) => {
|
|
|
18936
18936
|
exports2.intOct = intOct;
|
|
18937
18937
|
});
|
|
18938
18938
|
|
|
18939
|
-
//
|
|
18939
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
18940
18940
|
var require_schema = __commonJS((exports2) => {
|
|
18941
18941
|
var map = require_map();
|
|
18942
18942
|
var _null = require_null();
|
|
@@ -18961,7 +18961,7 @@ var require_schema = __commonJS((exports2) => {
|
|
|
18961
18961
|
exports2.schema = schema;
|
|
18962
18962
|
});
|
|
18963
18963
|
|
|
18964
|
-
//
|
|
18964
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
18965
18965
|
var require_schema2 = __commonJS((exports2) => {
|
|
18966
18966
|
var Scalar = require_Scalar();
|
|
18967
18967
|
var map = require_map();
|
|
@@ -19025,7 +19025,7 @@ var require_schema2 = __commonJS((exports2) => {
|
|
|
19025
19025
|
exports2.schema = schema;
|
|
19026
19026
|
});
|
|
19027
19027
|
|
|
19028
|
-
//
|
|
19028
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
19029
19029
|
var require_binary = __commonJS((exports2) => {
|
|
19030
19030
|
var node_buffer = __require("buffer");
|
|
19031
19031
|
var Scalar = require_Scalar();
|
|
@@ -19080,7 +19080,7 @@ var require_binary = __commonJS((exports2) => {
|
|
|
19080
19080
|
exports2.binary = binary;
|
|
19081
19081
|
});
|
|
19082
19082
|
|
|
19083
|
-
//
|
|
19083
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
19084
19084
|
var require_pairs = __commonJS((exports2) => {
|
|
19085
19085
|
var identity = require_identity();
|
|
19086
19086
|
var Pair = require_Pair();
|
|
@@ -19155,7 +19155,7 @@ ${cn.comment}` : item.comment;
|
|
|
19155
19155
|
exports2.resolvePairs = resolvePairs;
|
|
19156
19156
|
});
|
|
19157
19157
|
|
|
19158
|
-
//
|
|
19158
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
19159
19159
|
var require_omap = __commonJS((exports2) => {
|
|
19160
19160
|
var identity = require_identity();
|
|
19161
19161
|
var toJS = require_toJS();
|
|
@@ -19227,7 +19227,7 @@ var require_omap = __commonJS((exports2) => {
|
|
|
19227
19227
|
exports2.omap = omap;
|
|
19228
19228
|
});
|
|
19229
19229
|
|
|
19230
|
-
//
|
|
19230
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
19231
19231
|
var require_bool2 = __commonJS((exports2) => {
|
|
19232
19232
|
var Scalar = require_Scalar();
|
|
19233
19233
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -19256,7 +19256,7 @@ var require_bool2 = __commonJS((exports2) => {
|
|
|
19256
19256
|
exports2.trueTag = trueTag;
|
|
19257
19257
|
});
|
|
19258
19258
|
|
|
19259
|
-
//
|
|
19259
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
19260
19260
|
var require_float2 = __commonJS((exports2) => {
|
|
19261
19261
|
var Scalar = require_Scalar();
|
|
19262
19262
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -19302,7 +19302,7 @@ var require_float2 = __commonJS((exports2) => {
|
|
|
19302
19302
|
exports2.floatNaN = floatNaN;
|
|
19303
19303
|
});
|
|
19304
19304
|
|
|
19305
|
-
//
|
|
19305
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
19306
19306
|
var require_int2 = __commonJS((exports2) => {
|
|
19307
19307
|
var stringifyNumber = require_stringifyNumber();
|
|
19308
19308
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -19378,7 +19378,7 @@ var require_int2 = __commonJS((exports2) => {
|
|
|
19378
19378
|
exports2.intOct = intOct;
|
|
19379
19379
|
});
|
|
19380
19380
|
|
|
19381
|
-
//
|
|
19381
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
19382
19382
|
var require_set = __commonJS((exports2) => {
|
|
19383
19383
|
var identity = require_identity();
|
|
19384
19384
|
var Pair = require_Pair();
|
|
@@ -19461,7 +19461,7 @@ var require_set = __commonJS((exports2) => {
|
|
|
19461
19461
|
exports2.set = set;
|
|
19462
19462
|
});
|
|
19463
19463
|
|
|
19464
|
-
//
|
|
19464
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
19465
19465
|
var require_timestamp = __commonJS((exports2) => {
|
|
19466
19466
|
var stringifyNumber = require_stringifyNumber();
|
|
19467
19467
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -19543,7 +19543,7 @@ var require_timestamp = __commonJS((exports2) => {
|
|
|
19543
19543
|
exports2.timestamp = timestamp;
|
|
19544
19544
|
});
|
|
19545
19545
|
|
|
19546
|
-
//
|
|
19546
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
19547
19547
|
var require_schema3 = __commonJS((exports2) => {
|
|
19548
19548
|
var map = require_map();
|
|
19549
19549
|
var _null = require_null();
|
|
@@ -19584,7 +19584,7 @@ var require_schema3 = __commonJS((exports2) => {
|
|
|
19584
19584
|
exports2.schema = schema;
|
|
19585
19585
|
});
|
|
19586
19586
|
|
|
19587
|
-
//
|
|
19587
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
19588
19588
|
var require_tags = __commonJS((exports2) => {
|
|
19589
19589
|
var map = require_map();
|
|
19590
19590
|
var _null = require_null();
|
|
@@ -19675,7 +19675,7 @@ var require_tags = __commonJS((exports2) => {
|
|
|
19675
19675
|
exports2.getTags = getTags;
|
|
19676
19676
|
});
|
|
19677
19677
|
|
|
19678
|
-
//
|
|
19678
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
19679
19679
|
var require_Schema = __commonJS((exports2) => {
|
|
19680
19680
|
var identity = require_identity();
|
|
19681
19681
|
var map = require_map();
|
|
@@ -19705,7 +19705,7 @@ var require_Schema = __commonJS((exports2) => {
|
|
|
19705
19705
|
exports2.Schema = Schema;
|
|
19706
19706
|
});
|
|
19707
19707
|
|
|
19708
|
-
//
|
|
19708
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
19709
19709
|
var require_stringifyDocument = __commonJS((exports2) => {
|
|
19710
19710
|
var identity = require_identity();
|
|
19711
19711
|
var stringify = require_stringify();
|
|
@@ -19785,7 +19785,7 @@ var require_stringifyDocument = __commonJS((exports2) => {
|
|
|
19785
19785
|
exports2.stringifyDocument = stringifyDocument;
|
|
19786
19786
|
});
|
|
19787
19787
|
|
|
19788
|
-
//
|
|
19788
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
19789
19789
|
var require_Document = __commonJS((exports2) => {
|
|
19790
19790
|
var Alias = require_Alias();
|
|
19791
19791
|
var Collection = require_Collection();
|
|
@@ -20020,7 +20020,7 @@ var require_Document = __commonJS((exports2) => {
|
|
|
20020
20020
|
exports2.Document = Document;
|
|
20021
20021
|
});
|
|
20022
20022
|
|
|
20023
|
-
//
|
|
20023
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
20024
20024
|
var require_errors = __commonJS((exports2) => {
|
|
20025
20025
|
class YAMLError extends Error {
|
|
20026
20026
|
constructor(name, pos, code, message) {
|
|
@@ -20085,7 +20085,7 @@ ${pointer}
|
|
|
20085
20085
|
exports2.prettifyError = prettifyError;
|
|
20086
20086
|
});
|
|
20087
20087
|
|
|
20088
|
-
//
|
|
20088
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
20089
20089
|
var require_resolve_props = __commonJS((exports2) => {
|
|
20090
20090
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
20091
20091
|
let spaceBefore = false;
|
|
@@ -20215,7 +20215,7 @@ var require_resolve_props = __commonJS((exports2) => {
|
|
|
20215
20215
|
exports2.resolveProps = resolveProps;
|
|
20216
20216
|
});
|
|
20217
20217
|
|
|
20218
|
-
//
|
|
20218
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
20219
20219
|
var require_util_contains_newline = __commonJS((exports2) => {
|
|
20220
20220
|
function containsNewline(key) {
|
|
20221
20221
|
if (!key)
|
|
@@ -20255,7 +20255,7 @@ var require_util_contains_newline = __commonJS((exports2) => {
|
|
|
20255
20255
|
exports2.containsNewline = containsNewline;
|
|
20256
20256
|
});
|
|
20257
20257
|
|
|
20258
|
-
//
|
|
20258
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
20259
20259
|
var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
20260
20260
|
var utilContainsNewline = require_util_contains_newline();
|
|
20261
20261
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -20270,7 +20270,7 @@ var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
|
20270
20270
|
exports2.flowIndentCheck = flowIndentCheck;
|
|
20271
20271
|
});
|
|
20272
20272
|
|
|
20273
|
-
//
|
|
20273
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
20274
20274
|
var require_util_map_includes = __commonJS((exports2) => {
|
|
20275
20275
|
var identity = require_identity();
|
|
20276
20276
|
function mapIncludes(ctx, items, search) {
|
|
@@ -20283,7 +20283,7 @@ var require_util_map_includes = __commonJS((exports2) => {
|
|
|
20283
20283
|
exports2.mapIncludes = mapIncludes;
|
|
20284
20284
|
});
|
|
20285
20285
|
|
|
20286
|
-
//
|
|
20286
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
20287
20287
|
var require_resolve_block_map = __commonJS((exports2) => {
|
|
20288
20288
|
var Pair = require_Pair();
|
|
20289
20289
|
var YAMLMap = require_YAMLMap();
|
|
@@ -20390,7 +20390,7 @@ var require_resolve_block_map = __commonJS((exports2) => {
|
|
|
20390
20390
|
exports2.resolveBlockMap = resolveBlockMap;
|
|
20391
20391
|
});
|
|
20392
20392
|
|
|
20393
|
-
//
|
|
20393
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
20394
20394
|
var require_resolve_block_seq = __commonJS((exports2) => {
|
|
20395
20395
|
var YAMLSeq = require_YAMLSeq();
|
|
20396
20396
|
var resolveProps = require_resolve_props();
|
|
@@ -20438,7 +20438,7 @@ var require_resolve_block_seq = __commonJS((exports2) => {
|
|
|
20438
20438
|
exports2.resolveBlockSeq = resolveBlockSeq;
|
|
20439
20439
|
});
|
|
20440
20440
|
|
|
20441
|
-
//
|
|
20441
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
20442
20442
|
var require_resolve_end = __commonJS((exports2) => {
|
|
20443
20443
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
20444
20444
|
let comment = "";
|
|
@@ -20478,7 +20478,7 @@ var require_resolve_end = __commonJS((exports2) => {
|
|
|
20478
20478
|
exports2.resolveEnd = resolveEnd;
|
|
20479
20479
|
});
|
|
20480
20480
|
|
|
20481
|
-
//
|
|
20481
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
20482
20482
|
var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
20483
20483
|
var identity = require_identity();
|
|
20484
20484
|
var Pair = require_Pair();
|
|
@@ -20669,7 +20669,7 @@ var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
|
20669
20669
|
exports2.resolveFlowCollection = resolveFlowCollection;
|
|
20670
20670
|
});
|
|
20671
20671
|
|
|
20672
|
-
//
|
|
20672
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
20673
20673
|
var require_compose_collection = __commonJS((exports2) => {
|
|
20674
20674
|
var identity = require_identity();
|
|
20675
20675
|
var Scalar = require_Scalar();
|
|
@@ -20731,7 +20731,7 @@ var require_compose_collection = __commonJS((exports2) => {
|
|
|
20731
20731
|
exports2.composeCollection = composeCollection;
|
|
20732
20732
|
});
|
|
20733
20733
|
|
|
20734
|
-
//
|
|
20734
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
20735
20735
|
var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
20736
20736
|
var Scalar = require_Scalar();
|
|
20737
20737
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -20924,7 +20924,7 @@ var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
|
20924
20924
|
exports2.resolveBlockScalar = resolveBlockScalar;
|
|
20925
20925
|
});
|
|
20926
20926
|
|
|
20927
|
-
//
|
|
20927
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
20928
20928
|
var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
20929
20929
|
var Scalar = require_Scalar();
|
|
20930
20930
|
var resolveEnd = require_resolve_end();
|
|
@@ -21140,7 +21140,7 @@ var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
|
21140
21140
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
21141
21141
|
});
|
|
21142
21142
|
|
|
21143
|
-
//
|
|
21143
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
21144
21144
|
var require_compose_scalar = __commonJS((exports2) => {
|
|
21145
21145
|
var identity = require_identity();
|
|
21146
21146
|
var Scalar = require_Scalar();
|
|
@@ -21218,7 +21218,7 @@ var require_compose_scalar = __commonJS((exports2) => {
|
|
|
21218
21218
|
exports2.composeScalar = composeScalar;
|
|
21219
21219
|
});
|
|
21220
21220
|
|
|
21221
|
-
//
|
|
21221
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
21222
21222
|
var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
21223
21223
|
function emptyScalarPosition(offset, before, pos) {
|
|
21224
21224
|
if (before) {
|
|
@@ -21245,7 +21245,7 @@ var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
|
21245
21245
|
exports2.emptyScalarPosition = emptyScalarPosition;
|
|
21246
21246
|
});
|
|
21247
21247
|
|
|
21248
|
-
//
|
|
21248
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
21249
21249
|
var require_compose_node = __commonJS((exports2) => {
|
|
21250
21250
|
var Alias = require_Alias();
|
|
21251
21251
|
var identity = require_identity();
|
|
@@ -21348,7 +21348,7 @@ var require_compose_node = __commonJS((exports2) => {
|
|
|
21348
21348
|
exports2.composeNode = composeNode;
|
|
21349
21349
|
});
|
|
21350
21350
|
|
|
21351
|
-
//
|
|
21351
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
21352
21352
|
var require_compose_doc = __commonJS((exports2) => {
|
|
21353
21353
|
var Document = require_Document();
|
|
21354
21354
|
var composeNode = require_compose_node();
|
|
@@ -21388,7 +21388,7 @@ var require_compose_doc = __commonJS((exports2) => {
|
|
|
21388
21388
|
exports2.composeDoc = composeDoc;
|
|
21389
21389
|
});
|
|
21390
21390
|
|
|
21391
|
-
//
|
|
21391
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
21392
21392
|
var require_composer2 = __commonJS((exports2) => {
|
|
21393
21393
|
var node_process = __require("process");
|
|
21394
21394
|
var directives = require_directives();
|
|
@@ -21577,7 +21577,7 @@ ${end.comment}` : end.comment;
|
|
|
21577
21577
|
exports2.Composer = Composer;
|
|
21578
21578
|
});
|
|
21579
21579
|
|
|
21580
|
-
//
|
|
21580
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
21581
21581
|
var require_cst_scalar = __commonJS((exports2) => {
|
|
21582
21582
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
21583
21583
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -21767,7 +21767,7 @@ var require_cst_scalar = __commonJS((exports2) => {
|
|
|
21767
21767
|
exports2.setScalarValue = setScalarValue;
|
|
21768
21768
|
});
|
|
21769
21769
|
|
|
21770
|
-
//
|
|
21770
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
21771
21771
|
var require_cst_stringify = __commonJS((exports2) => {
|
|
21772
21772
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
21773
21773
|
function stringifyToken(token) {
|
|
@@ -21825,7 +21825,7 @@ var require_cst_stringify = __commonJS((exports2) => {
|
|
|
21825
21825
|
exports2.stringify = stringify;
|
|
21826
21826
|
});
|
|
21827
21827
|
|
|
21828
|
-
//
|
|
21828
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
21829
21829
|
var require_cst_visit = __commonJS((exports2) => {
|
|
21830
21830
|
var BREAK = Symbol("break visit");
|
|
21831
21831
|
var SKIP = Symbol("skip children");
|
|
@@ -21884,7 +21884,7 @@ var require_cst_visit = __commonJS((exports2) => {
|
|
|
21884
21884
|
exports2.visit = visit;
|
|
21885
21885
|
});
|
|
21886
21886
|
|
|
21887
|
-
//
|
|
21887
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
21888
21888
|
var require_cst = __commonJS((exports2) => {
|
|
21889
21889
|
var cstScalar = require_cst_scalar();
|
|
21890
21890
|
var cstStringify = require_cst_stringify();
|
|
@@ -21985,7 +21985,7 @@ var require_cst = __commonJS((exports2) => {
|
|
|
21985
21985
|
exports2.tokenType = tokenType;
|
|
21986
21986
|
});
|
|
21987
21987
|
|
|
21988
|
-
//
|
|
21988
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
21989
21989
|
var require_lexer = __commonJS((exports2) => {
|
|
21990
21990
|
var cst = require_cst();
|
|
21991
21991
|
function isEmpty2(ch) {
|
|
@@ -22571,7 +22571,7 @@ var require_lexer = __commonJS((exports2) => {
|
|
|
22571
22571
|
exports2.Lexer = Lexer;
|
|
22572
22572
|
});
|
|
22573
22573
|
|
|
22574
|
-
//
|
|
22574
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
22575
22575
|
var require_line_counter = __commonJS((exports2) => {
|
|
22576
22576
|
class LineCounter {
|
|
22577
22577
|
constructor() {
|
|
@@ -22599,7 +22599,7 @@ var require_line_counter = __commonJS((exports2) => {
|
|
|
22599
22599
|
exports2.LineCounter = LineCounter;
|
|
22600
22600
|
});
|
|
22601
22601
|
|
|
22602
|
-
//
|
|
22602
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
22603
22603
|
var require_parser = __commonJS((exports2) => {
|
|
22604
22604
|
var node_process = __require("process");
|
|
22605
22605
|
var cst = require_cst();
|
|
@@ -23448,7 +23448,7 @@ var require_parser = __commonJS((exports2) => {
|
|
|
23448
23448
|
exports2.Parser = Parser;
|
|
23449
23449
|
});
|
|
23450
23450
|
|
|
23451
|
-
//
|
|
23451
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
23452
23452
|
var require_public_api = __commonJS((exports2) => {
|
|
23453
23453
|
var composer = require_composer2();
|
|
23454
23454
|
var Document = require_Document();
|
|
@@ -23542,7 +23542,7 @@ var require_public_api = __commonJS((exports2) => {
|
|
|
23542
23542
|
exports2.stringify = stringify;
|
|
23543
23543
|
});
|
|
23544
23544
|
|
|
23545
|
-
//
|
|
23545
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
23546
23546
|
var composer, Document, Schema, errors2, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
|
|
23547
23547
|
var init_dist = __esm(() => {
|
|
23548
23548
|
composer = require_composer2();
|
|
@@ -23929,7 +23929,11 @@ var init_schema = __esm(() => {
|
|
|
23929
23929
|
path: ["approvalAuth"]
|
|
23930
23930
|
});
|
|
23931
23931
|
}
|
|
23932
|
-
}).describe("Vault-broker daemon configuration. The broker holds the decrypted vault " + "in memory and serves secrets to cron scripts via a Unix socket, so the " + "vault passphrase is entered once at startup rather than per-cron invocation.")
|
|
23932
|
+
}).describe("Vault-broker daemon configuration. The broker holds the decrypted vault " + "in memory and serves secrets to cron scripts via a Unix socket, so the " + "vault passphrase is entered once at startup rather than per-cron invocation."),
|
|
23933
|
+
backup: exports_external.object({
|
|
23934
|
+
destination: exports_external.string().optional().describe("Destination directory for `switchroom vault backup`. " + "When unset, the CLI defaults to " + "`~/.switchroom-config/vault-backups/` if that operator config " + "repo exists, else `~/.switchroom/vault-backups/`. " + "Path is tilde-expanded at read time. " + "MUST NOT be `~/.switchroom/vault/` (the broker bind-mount dir, " + "validated by `switchroom apply` against an artifact allowlist)."),
|
|
23935
|
+
retain: exports_external.number().int().nonnegative().default(30).describe("How many of the most-recent backups to keep in the destination dir. " + "Older ones are pruned after each new backup is written. Default 30 " + "= roughly a month at daily cadence.")
|
|
23936
|
+
}).optional().describe("Configuration for `switchroom vault backup`. Optional \u2014 the CLI works " + "with built-in defaults if this block is absent. The backed-up file is " + "the AES-256-GCM-encrypted vault envelope; the operator passphrase " + "remains the gate, so committing backups to a private git repo extends " + "durability without weakening encryption (provided the auto-unlock " + "blob is NEVER co-located \u2014 `vault backup` refuses to write into a " + "directory that contains an auto-unlock-shaped sibling).")
|
|
23933
23937
|
});
|
|
23934
23938
|
QuotaConfigSchema = exports_external.object({
|
|
23935
23939
|
weekly_budget_usd: exports_external.number().positive().optional().describe("Weekly USD spend budget. If unset, the greeting shows raw usage only."),
|
|
@@ -25282,7 +25286,7 @@ function deriveSlug(inputs, existing) {
|
|
|
25282
25286
|
return `${base}_${n}`;
|
|
25283
25287
|
}
|
|
25284
25288
|
|
|
25285
|
-
//
|
|
25289
|
+
// ../node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
25286
25290
|
var require_lib = __commonJS((exports2) => {
|
|
25287
25291
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25288
25292
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -25329,7 +25333,7 @@ var require_lib = __commonJS((exports2) => {
|
|
|
25329
25333
|
exports2.binarySearch = binarySearch;
|
|
25330
25334
|
});
|
|
25331
25335
|
|
|
25332
|
-
//
|
|
25336
|
+
// ../node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
25333
25337
|
var require_structured_source = __commonJS((exports2) => {
|
|
25334
25338
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25335
25339
|
exports2.StructuredSource = undefined;
|
|
@@ -25384,13 +25388,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
25384
25388
|
}
|
|
25385
25389
|
exports2.StructuredSource = StructuredSource;
|
|
25386
25390
|
});
|
|
25387
|
-
//
|
|
25391
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
25388
25392
|
var import_structured_source;
|
|
25389
25393
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
25390
25394
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
25391
25395
|
});
|
|
25392
25396
|
|
|
25393
|
-
//
|
|
25397
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
25394
25398
|
class EventEmitter {
|
|
25395
25399
|
#listeners = new Map;
|
|
25396
25400
|
on(type, listener) {
|
|
@@ -25429,9 +25433,9 @@ class EventEmitter {
|
|
|
25429
25433
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
25430
25434
|
}
|
|
25431
25435
|
}
|
|
25432
|
-
//
|
|
25436
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
25433
25437
|
var init_RuleContext = () => {};
|
|
25434
|
-
//
|
|
25438
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
25435
25439
|
class SecretLintProfiler {
|
|
25436
25440
|
perf;
|
|
25437
25441
|
entries = [];
|
|
@@ -25488,7 +25492,7 @@ class SecretLintProfiler {
|
|
|
25488
25492
|
}
|
|
25489
25493
|
}
|
|
25490
25494
|
|
|
25491
|
-
//
|
|
25495
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
25492
25496
|
import perf_hooks from "node:perf_hooks";
|
|
25493
25497
|
|
|
25494
25498
|
class NullPerformanceObserver {
|
|
@@ -25503,19 +25507,19 @@ var init_node = __esm(() => {
|
|
|
25503
25507
|
});
|
|
25504
25508
|
});
|
|
25505
25509
|
|
|
25506
|
-
//
|
|
25510
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
25507
25511
|
var init_RunningEvents = __esm(() => {
|
|
25508
25512
|
init_node();
|
|
25509
25513
|
});
|
|
25510
25514
|
|
|
25511
|
-
//
|
|
25515
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
25512
25516
|
var init_RulePresetContext = __esm(() => {
|
|
25513
25517
|
init_RuleContext();
|
|
25514
25518
|
});
|
|
25515
|
-
//
|
|
25519
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
25516
25520
|
var init_messages = () => {};
|
|
25517
25521
|
|
|
25518
|
-
//
|
|
25522
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
25519
25523
|
var import_debug, debug;
|
|
25520
25524
|
var init_module = __esm(() => {
|
|
25521
25525
|
init_SecretLintSourceCodeImpl();
|
|
@@ -25528,7 +25532,7 @@ var init_module = __esm(() => {
|
|
|
25528
25532
|
debug = import_debug.default("@secretlint/core");
|
|
25529
25533
|
});
|
|
25530
25534
|
|
|
25531
|
-
//
|
|
25535
|
+
// ../node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
25532
25536
|
function requireLodash_uniq() {
|
|
25533
25537
|
if (hasRequiredLodash_uniq)
|
|
25534
25538
|
return lodash_uniq;
|
|
@@ -29726,7 +29730,8 @@ import {
|
|
|
29726
29730
|
openSync as openSync8,
|
|
29727
29731
|
closeSync as closeSync8,
|
|
29728
29732
|
existsSync as existsSync34,
|
|
29729
|
-
unlinkSync as unlinkSync14
|
|
29733
|
+
unlinkSync as unlinkSync14,
|
|
29734
|
+
appendFileSync as appendFileSync3
|
|
29730
29735
|
} from "fs";
|
|
29731
29736
|
import { homedir as homedir12 } from "os";
|
|
29732
29737
|
import { join as join32, extname, sep as sep3, basename as basename7 } from "path";
|
|
@@ -32033,7 +32038,7 @@ function clear(key) {
|
|
|
32033
32038
|
state.delete(key);
|
|
32034
32039
|
}
|
|
32035
32040
|
|
|
32036
|
-
//
|
|
32041
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
32037
32042
|
import { dirname as dirname2, posix, sep as sep2 } from "path";
|
|
32038
32043
|
function createModulerModifier() {
|
|
32039
32044
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -32069,7 +32074,7 @@ function normalizeWindowsPath(path) {
|
|
|
32069
32074
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
32070
32075
|
}
|
|
32071
32076
|
|
|
32072
|
-
//
|
|
32077
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
32073
32078
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
32074
32079
|
if ("flags" in flagsResponse) {
|
|
32075
32080
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -32140,7 +32145,7 @@ var parsePayload = (response) => {
|
|
|
32140
32145
|
}
|
|
32141
32146
|
};
|
|
32142
32147
|
|
|
32143
|
-
//
|
|
32148
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
32144
32149
|
function isGzipSupported() {
|
|
32145
32150
|
return "CompressionStream" in globalThis;
|
|
32146
32151
|
}
|
|
@@ -32160,7 +32165,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
32160
32165
|
}
|
|
32161
32166
|
}
|
|
32162
32167
|
|
|
32163
|
-
//
|
|
32168
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
32164
32169
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
32165
32170
|
var DIGITS = "0123456789abcdef";
|
|
32166
32171
|
|
|
@@ -32338,7 +32343,7 @@ var defaultGenerator;
|
|
|
32338
32343
|
var uuidv7 = () => uuidv7obj().toString();
|
|
32339
32344
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
32340
32345
|
|
|
32341
|
-
//
|
|
32346
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
32342
32347
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
32343
32348
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
32344
32349
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -32371,7 +32376,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
32371
32376
|
return PostHogPersistedProperty;
|
|
32372
32377
|
}({});
|
|
32373
32378
|
|
|
32374
|
-
//
|
|
32379
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
32375
32380
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
32376
32381
|
"amazonbot",
|
|
32377
32382
|
"amazonproductbot",
|
|
@@ -32460,7 +32465,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
32460
32465
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
32461
32466
|
});
|
|
32462
32467
|
};
|
|
32463
|
-
//
|
|
32468
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
32464
32469
|
var nativeIsArray = Array.isArray;
|
|
32465
32470
|
var ObjProto = Object.prototype;
|
|
32466
32471
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -32497,7 +32502,7 @@ function isInstanceOf(candidate, base) {
|
|
|
32497
32502
|
}
|
|
32498
32503
|
}
|
|
32499
32504
|
|
|
32500
|
-
//
|
|
32505
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
32501
32506
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
32502
32507
|
if (min > max) {
|
|
32503
32508
|
logger.warn("min cannot be greater than max.");
|
|
@@ -32517,7 +32522,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
32517
32522
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
32518
32523
|
}
|
|
32519
32524
|
|
|
32520
|
-
//
|
|
32525
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
32521
32526
|
var ONE_DAY_IN_MS = 86400000;
|
|
32522
32527
|
|
|
32523
32528
|
class BucketedRateLimiter {
|
|
@@ -32561,7 +32566,7 @@ class BucketedRateLimiter {
|
|
|
32561
32566
|
this._buckets = {};
|
|
32562
32567
|
}
|
|
32563
32568
|
}
|
|
32564
|
-
//
|
|
32569
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
32565
32570
|
class PromiseQueue {
|
|
32566
32571
|
add(promise) {
|
|
32567
32572
|
const promiseUUID = uuidv7();
|
|
@@ -32587,7 +32592,7 @@ class PromiseQueue {
|
|
|
32587
32592
|
this.promiseByIds = {};
|
|
32588
32593
|
}
|
|
32589
32594
|
}
|
|
32590
|
-
//
|
|
32595
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
32591
32596
|
function createConsole(consoleLike = console) {
|
|
32592
32597
|
const lockedMethods = {
|
|
32593
32598
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -32625,7 +32630,7 @@ var passThrough = (fn) => fn();
|
|
|
32625
32630
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
32626
32631
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
32627
32632
|
}
|
|
32628
|
-
//
|
|
32633
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
32629
32634
|
var MOBILE = "Mobile";
|
|
32630
32635
|
var IOS = "iOS";
|
|
32631
32636
|
var ANDROID = "Android";
|
|
@@ -32882,7 +32887,7 @@ var osMatchers = [
|
|
|
32882
32887
|
]
|
|
32883
32888
|
];
|
|
32884
32889
|
|
|
32885
|
-
//
|
|
32890
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
32886
32891
|
var STRING_FORMAT = "utf8";
|
|
32887
32892
|
function assert(truthyValue, message) {
|
|
32888
32893
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -32930,7 +32935,7 @@ function allSettled(promises) {
|
|
|
32930
32935
|
reason
|
|
32931
32936
|
}))));
|
|
32932
32937
|
}
|
|
32933
|
-
//
|
|
32938
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
32934
32939
|
class SimpleEventEmitter {
|
|
32935
32940
|
constructor() {
|
|
32936
32941
|
this.events = {};
|
|
@@ -32952,7 +32957,7 @@ class SimpleEventEmitter {
|
|
|
32952
32957
|
}
|
|
32953
32958
|
}
|
|
32954
32959
|
|
|
32955
|
-
//
|
|
32960
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
32956
32961
|
class PostHogFetchHttpError extends Error {
|
|
32957
32962
|
constructor(response, reqByteLength) {
|
|
32958
32963
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -33667,7 +33672,7 @@ class PostHogCoreStateless {
|
|
|
33667
33672
|
return this.shutdownPromise;
|
|
33668
33673
|
}
|
|
33669
33674
|
}
|
|
33670
|
-
//
|
|
33675
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
33671
33676
|
var exports_error_tracking = {};
|
|
33672
33677
|
__export(exports_error_tracking, {
|
|
33673
33678
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -33691,7 +33696,7 @@ __export(exports_error_tracking, {
|
|
|
33691
33696
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
33692
33697
|
});
|
|
33693
33698
|
|
|
33694
|
-
//
|
|
33699
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
33695
33700
|
var parsedStackResults;
|
|
33696
33701
|
var lastKeysCount;
|
|
33697
33702
|
var cachedFilenameChunkIds;
|
|
@@ -33730,7 +33735,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
33730
33735
|
return cachedFilenameChunkIds;
|
|
33731
33736
|
}
|
|
33732
33737
|
|
|
33733
|
-
//
|
|
33738
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
33734
33739
|
var MAX_CAUSE_RECURSION = 4;
|
|
33735
33740
|
|
|
33736
33741
|
class ErrorPropertiesBuilder {
|
|
@@ -33852,7 +33857,7 @@ class ErrorPropertiesBuilder {
|
|
|
33852
33857
|
return context;
|
|
33853
33858
|
}
|
|
33854
33859
|
}
|
|
33855
|
-
//
|
|
33860
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
33856
33861
|
var UNKNOWN_FUNCTION = "?";
|
|
33857
33862
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
33858
33863
|
const frame = {
|
|
@@ -33868,7 +33873,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
33868
33873
|
return frame;
|
|
33869
33874
|
}
|
|
33870
33875
|
|
|
33871
|
-
//
|
|
33876
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
33872
33877
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
33873
33878
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
33874
33879
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -33881,7 +33886,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
33881
33886
|
];
|
|
33882
33887
|
};
|
|
33883
33888
|
|
|
33884
|
-
//
|
|
33889
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
33885
33890
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
33886
33891
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
33887
33892
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -33907,7 +33912,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
33907
33912
|
}
|
|
33908
33913
|
};
|
|
33909
33914
|
|
|
33910
|
-
//
|
|
33915
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
33911
33916
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
33912
33917
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
33913
33918
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -33930,14 +33935,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
33930
33935
|
}
|
|
33931
33936
|
};
|
|
33932
33937
|
|
|
33933
|
-
//
|
|
33938
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
33934
33939
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
33935
33940
|
var winjsStackLineParser = (line, platform) => {
|
|
33936
33941
|
const parts = winjsRegex.exec(line);
|
|
33937
33942
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
33938
33943
|
};
|
|
33939
33944
|
|
|
33940
|
-
//
|
|
33945
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
33941
33946
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
33942
33947
|
var opera10StackLineParser = (line, platform) => {
|
|
33943
33948
|
const parts = opera10Regex.exec(line);
|
|
@@ -33949,7 +33954,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
33949
33954
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
33950
33955
|
};
|
|
33951
33956
|
|
|
33952
|
-
//
|
|
33957
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
33953
33958
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
33954
33959
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
33955
33960
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -34018,7 +34023,7 @@ function _parseIntOrUndefined(input) {
|
|
|
34018
34023
|
return parseInt(input || "", 10) || undefined;
|
|
34019
34024
|
}
|
|
34020
34025
|
|
|
34021
|
-
//
|
|
34026
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
34022
34027
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
34023
34028
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
34024
34029
|
function reverseAndStripFrames(stack) {
|
|
@@ -34063,7 +34068,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
34063
34068
|
return reverseAndStripFrames(frames);
|
|
34064
34069
|
};
|
|
34065
34070
|
}
|
|
34066
|
-
//
|
|
34071
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
34067
34072
|
class DOMExceptionCoercer {
|
|
34068
34073
|
match(err) {
|
|
34069
34074
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -34093,7 +34098,7 @@ class DOMExceptionCoercer {
|
|
|
34093
34098
|
return isBuiltin(err, "DOMError");
|
|
34094
34099
|
}
|
|
34095
34100
|
}
|
|
34096
|
-
//
|
|
34101
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
34097
34102
|
class ErrorCoercer {
|
|
34098
34103
|
match(err) {
|
|
34099
34104
|
return isPlainError(err);
|
|
@@ -34120,7 +34125,7 @@ class ErrorCoercer {
|
|
|
34120
34125
|
return err.stacktrace || err.stack || undefined;
|
|
34121
34126
|
}
|
|
34122
34127
|
}
|
|
34123
|
-
//
|
|
34128
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
34124
34129
|
class ErrorEventCoercer {
|
|
34125
34130
|
constructor() {}
|
|
34126
34131
|
match(err) {
|
|
@@ -34138,7 +34143,7 @@ class ErrorEventCoercer {
|
|
|
34138
34143
|
return exceptionLike;
|
|
34139
34144
|
}
|
|
34140
34145
|
}
|
|
34141
|
-
//
|
|
34146
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
34142
34147
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
34143
34148
|
|
|
34144
34149
|
class StringCoercer {
|
|
@@ -34168,7 +34173,7 @@ class StringCoercer {
|
|
|
34168
34173
|
];
|
|
34169
34174
|
}
|
|
34170
34175
|
}
|
|
34171
|
-
//
|
|
34176
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
34172
34177
|
var severityLevels = [
|
|
34173
34178
|
"fatal",
|
|
34174
34179
|
"error",
|
|
@@ -34178,7 +34183,7 @@ var severityLevels = [
|
|
|
34178
34183
|
"debug"
|
|
34179
34184
|
];
|
|
34180
34185
|
|
|
34181
|
-
//
|
|
34186
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
34182
34187
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
34183
34188
|
const keys = Object.keys(err);
|
|
34184
34189
|
keys.sort();
|
|
@@ -34195,7 +34200,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
34195
34200
|
return "";
|
|
34196
34201
|
}
|
|
34197
34202
|
|
|
34198
|
-
//
|
|
34203
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
34199
34204
|
class ObjectCoercer {
|
|
34200
34205
|
match(candidate) {
|
|
34201
34206
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -34248,7 +34253,7 @@ class ObjectCoercer {
|
|
|
34248
34253
|
}
|
|
34249
34254
|
}
|
|
34250
34255
|
}
|
|
34251
|
-
//
|
|
34256
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
34252
34257
|
class EventCoercer {
|
|
34253
34258
|
match(err) {
|
|
34254
34259
|
return isEvent(err);
|
|
@@ -34263,7 +34268,7 @@ class EventCoercer {
|
|
|
34263
34268
|
};
|
|
34264
34269
|
}
|
|
34265
34270
|
}
|
|
34266
|
-
//
|
|
34271
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
34267
34272
|
class PrimitiveCoercer {
|
|
34268
34273
|
match(candidate) {
|
|
34269
34274
|
return isPrimitive(candidate);
|
|
@@ -34277,7 +34282,7 @@ class PrimitiveCoercer {
|
|
|
34277
34282
|
};
|
|
34278
34283
|
}
|
|
34279
34284
|
}
|
|
34280
|
-
//
|
|
34285
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
34281
34286
|
class PromiseRejectionEventCoercer {
|
|
34282
34287
|
match(err) {
|
|
34283
34288
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -34313,7 +34318,7 @@ class PromiseRejectionEventCoercer {
|
|
|
34313
34318
|
return error;
|
|
34314
34319
|
}
|
|
34315
34320
|
}
|
|
34316
|
-
//
|
|
34321
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
34317
34322
|
class ReduceableCache {
|
|
34318
34323
|
constructor(_maxSize) {
|
|
34319
34324
|
this._maxSize = _maxSize;
|
|
@@ -34338,7 +34343,7 @@ class ReduceableCache {
|
|
|
34338
34343
|
}
|
|
34339
34344
|
}
|
|
34340
34345
|
}
|
|
34341
|
-
//
|
|
34346
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
34342
34347
|
import { createReadStream } from "node:fs";
|
|
34343
34348
|
import { createInterface } from "node:readline";
|
|
34344
34349
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -34556,7 +34561,7 @@ function snipLine(line, colno) {
|
|
|
34556
34561
|
return newLine;
|
|
34557
34562
|
}
|
|
34558
34563
|
|
|
34559
|
-
//
|
|
34564
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
34560
34565
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
34561
34566
|
let calledFatalError = false;
|
|
34562
34567
|
return Object.assign((error) => {
|
|
@@ -34588,7 +34593,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
34588
34593
|
}));
|
|
34589
34594
|
}
|
|
34590
34595
|
|
|
34591
|
-
//
|
|
34596
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
34592
34597
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
34593
34598
|
|
|
34594
34599
|
class ErrorTracking {
|
|
@@ -34657,10 +34662,10 @@ class ErrorTracking {
|
|
|
34657
34662
|
}
|
|
34658
34663
|
}
|
|
34659
34664
|
|
|
34660
|
-
//
|
|
34665
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
34661
34666
|
var version = "5.29.2";
|
|
34662
34667
|
|
|
34663
|
-
//
|
|
34668
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
34664
34669
|
var FeatureFlagError2 = {
|
|
34665
34670
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
34666
34671
|
FLAG_MISSING: "flag_missing",
|
|
@@ -34668,7 +34673,7 @@ var FeatureFlagError2 = {
|
|
|
34668
34673
|
UNKNOWN_ERROR: "unknown_error"
|
|
34669
34674
|
};
|
|
34670
34675
|
|
|
34671
|
-
//
|
|
34676
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
34672
34677
|
async function hashSHA1(text) {
|
|
34673
34678
|
const subtle = globalThis.crypto?.subtle;
|
|
34674
34679
|
if (!subtle)
|
|
@@ -34678,7 +34683,7 @@ async function hashSHA1(text) {
|
|
|
34678
34683
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
34679
34684
|
}
|
|
34680
34685
|
|
|
34681
|
-
//
|
|
34686
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
34682
34687
|
var SIXTY_SECONDS = 60000;
|
|
34683
34688
|
var LONG_SCALE = 1152921504606847000;
|
|
34684
34689
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -35552,7 +35557,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
35552
35557
|
}
|
|
35553
35558
|
}
|
|
35554
35559
|
|
|
35555
|
-
//
|
|
35560
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
35556
35561
|
class PostHogMemoryStorage {
|
|
35557
35562
|
getProperty(key) {
|
|
35558
35563
|
return this._memoryStorage[key];
|
|
@@ -35565,7 +35570,7 @@ class PostHogMemoryStorage {
|
|
|
35565
35570
|
}
|
|
35566
35571
|
}
|
|
35567
35572
|
|
|
35568
|
-
//
|
|
35573
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
35569
35574
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
35570
35575
|
var THIRTY_SECONDS = 30000;
|
|
35571
35576
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -36353,7 +36358,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
36353
36358
|
}
|
|
36354
36359
|
}
|
|
36355
36360
|
|
|
36356
|
-
//
|
|
36361
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
36357
36362
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
36358
36363
|
|
|
36359
36364
|
class PostHogContext {
|
|
@@ -36384,7 +36389,7 @@ class PostHogContext {
|
|
|
36384
36389
|
}
|
|
36385
36390
|
}
|
|
36386
36391
|
|
|
36387
|
-
//
|
|
36392
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
36388
36393
|
var NAME = "posthog-node";
|
|
36389
36394
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
36390
36395
|
"error"
|
|
@@ -36452,7 +36457,7 @@ class PostHogSentryIntegration {
|
|
|
36452
36457
|
};
|
|
36453
36458
|
}
|
|
36454
36459
|
}
|
|
36455
|
-
//
|
|
36460
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
36456
36461
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
36457
36462
|
new exports_error_tracking.EventCoercer,
|
|
36458
36463
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -43493,7 +43498,7 @@ function escapeHtml7(s) {
|
|
|
43493
43498
|
|
|
43494
43499
|
// gateway/pending-inbound-buffer.ts
|
|
43495
43500
|
var DEFAULT_PENDING_INBOUND_CAP = 32;
|
|
43496
|
-
function redeliverBufferedInbound(buffer, agent, send) {
|
|
43501
|
+
function redeliverBufferedInbound(buffer, agent, send, spool) {
|
|
43497
43502
|
const pending = buffer.drain(agent);
|
|
43498
43503
|
let redelivered = 0;
|
|
43499
43504
|
let rebuffered = 0;
|
|
@@ -43506,6 +43511,7 @@ function redeliverBufferedInbound(buffer, agent, send) {
|
|
|
43506
43511
|
}
|
|
43507
43512
|
if (delivered) {
|
|
43508
43513
|
redelivered++;
|
|
43514
|
+
spool?.ack(msg);
|
|
43509
43515
|
} else {
|
|
43510
43516
|
buffer.push(agent, msg);
|
|
43511
43517
|
rebuffered++;
|
|
@@ -43513,18 +43519,19 @@ function redeliverBufferedInbound(buffer, agent, send) {
|
|
|
43513
43519
|
}
|
|
43514
43520
|
return { drained: pending.length, redelivered, rebuffered };
|
|
43515
43521
|
}
|
|
43516
|
-
function idleDrainTick(buffer, agent, isBridgeAlive, send) {
|
|
43522
|
+
function idleDrainTick(buffer, agent, isBridgeAlive, send, spool) {
|
|
43517
43523
|
if (!agent)
|
|
43518
43524
|
return null;
|
|
43519
43525
|
if (buffer.depth(agent) === 0)
|
|
43520
43526
|
return null;
|
|
43521
43527
|
if (!isBridgeAlive())
|
|
43522
43528
|
return null;
|
|
43523
|
-
return redeliverBufferedInbound(buffer, agent, send);
|
|
43529
|
+
return redeliverBufferedInbound(buffer, agent, send, spool);
|
|
43524
43530
|
}
|
|
43525
43531
|
function createPendingInboundBuffer(opts = {}) {
|
|
43526
43532
|
const cap = opts.capPerAgent ?? DEFAULT_PENDING_INBOUND_CAP;
|
|
43527
43533
|
const log = opts.log ?? ((line) => process.stderr.write(line));
|
|
43534
|
+
const spool = opts.spool;
|
|
43528
43535
|
const queues = new Map;
|
|
43529
43536
|
return {
|
|
43530
43537
|
push(agent, msg) {
|
|
@@ -43541,6 +43548,7 @@ function createPendingInboundBuffer(opts = {}) {
|
|
|
43541
43548
|
`);
|
|
43542
43549
|
}
|
|
43543
43550
|
q.push(msg);
|
|
43551
|
+
spool?.put(agent, msg);
|
|
43544
43552
|
log(`pending-inbound-buffer: agent=${agent} buffered source=${msg.meta?.source ?? "-"} ` + `depth_after=${q.length} evicted=${evicted}
|
|
43545
43553
|
`);
|
|
43546
43554
|
return !evicted;
|
|
@@ -43566,6 +43574,189 @@ function createPendingInboundBuffer(opts = {}) {
|
|
|
43566
43574
|
};
|
|
43567
43575
|
}
|
|
43568
43576
|
|
|
43577
|
+
// gateway/inbound-spool.ts
|
|
43578
|
+
function spoolId(msg) {
|
|
43579
|
+
if (typeof msg.messageId === "number" && msg.messageId > 0) {
|
|
43580
|
+
return `m:${msg.chatId}:${msg.messageId}`;
|
|
43581
|
+
}
|
|
43582
|
+
const src = msg.meta?.source ?? "-";
|
|
43583
|
+
return `s:${msg.chatId}:${src}:${msg.ts}`;
|
|
43584
|
+
}
|
|
43585
|
+
function createInboundSpool(opts) {
|
|
43586
|
+
const { path, fs: fs2 } = opts;
|
|
43587
|
+
const now = opts.now ?? Date.now;
|
|
43588
|
+
const log = opts.log ?? ((l) => process.stderr.write(l));
|
|
43589
|
+
const escalateAfterMs = opts.escalateAfterMs ?? 15 * 60 * 1000;
|
|
43590
|
+
const compactAtBytes = opts.compactAtBytes ?? 256 * 1024;
|
|
43591
|
+
const live = new Map;
|
|
43592
|
+
function parseLine(line) {
|
|
43593
|
+
const s = line.trim();
|
|
43594
|
+
if (!s)
|
|
43595
|
+
return null;
|
|
43596
|
+
let rec;
|
|
43597
|
+
try {
|
|
43598
|
+
rec = JSON.parse(s);
|
|
43599
|
+
} catch {
|
|
43600
|
+
return null;
|
|
43601
|
+
}
|
|
43602
|
+
if (rec == null || typeof rec !== "object")
|
|
43603
|
+
return null;
|
|
43604
|
+
const r = rec;
|
|
43605
|
+
if (r.t !== "put" && r.t !== "ack")
|
|
43606
|
+
return null;
|
|
43607
|
+
if (typeof r.id !== "string" || r.id.length === 0)
|
|
43608
|
+
return null;
|
|
43609
|
+
if (r.t === "put") {
|
|
43610
|
+
if (r.msg == null || typeof r.msg !== "object")
|
|
43611
|
+
return null;
|
|
43612
|
+
if (typeof r.agent !== "string" || r.agent.length === 0)
|
|
43613
|
+
return null;
|
|
43614
|
+
if (typeof r.firstAt !== "number")
|
|
43615
|
+
return null;
|
|
43616
|
+
}
|
|
43617
|
+
return r;
|
|
43618
|
+
}
|
|
43619
|
+
function hydrate() {
|
|
43620
|
+
live.clear();
|
|
43621
|
+
if (!fs2.existsSync(path))
|
|
43622
|
+
return;
|
|
43623
|
+
let raw = "";
|
|
43624
|
+
try {
|
|
43625
|
+
raw = fs2.readFileSync(path);
|
|
43626
|
+
} catch {
|
|
43627
|
+
return;
|
|
43628
|
+
}
|
|
43629
|
+
for (const line of raw.split(`
|
|
43630
|
+
`)) {
|
|
43631
|
+
const rec = parseLine(line);
|
|
43632
|
+
if (rec == null)
|
|
43633
|
+
continue;
|
|
43634
|
+
if (rec.t === "put") {
|
|
43635
|
+
live.set(rec.id, {
|
|
43636
|
+
agent: rec.agent,
|
|
43637
|
+
msg: rec.msg,
|
|
43638
|
+
firstAt: rec.firstAt
|
|
43639
|
+
});
|
|
43640
|
+
} else {
|
|
43641
|
+
live.delete(rec.id);
|
|
43642
|
+
}
|
|
43643
|
+
}
|
|
43644
|
+
}
|
|
43645
|
+
function appendRecord(rec) {
|
|
43646
|
+
try {
|
|
43647
|
+
fs2.appendFileSync(path, JSON.stringify(rec) + `
|
|
43648
|
+
`);
|
|
43649
|
+
} catch (err) {
|
|
43650
|
+
log(`inbound-spool: append FAILED path=${path} id=${rec.id} t=${rec.t}: ` + `${err.message} \u2014 durability degraded to in-memory
|
|
43651
|
+
`);
|
|
43652
|
+
}
|
|
43653
|
+
}
|
|
43654
|
+
function maybeCompact() {
|
|
43655
|
+
let size = 0;
|
|
43656
|
+
try {
|
|
43657
|
+
size = fs2.existsSync(path) ? fs2.statSizeSync(path) : 0;
|
|
43658
|
+
} catch {
|
|
43659
|
+
return;
|
|
43660
|
+
}
|
|
43661
|
+
if (size <= compactAtBytes)
|
|
43662
|
+
return;
|
|
43663
|
+
const lines = [];
|
|
43664
|
+
for (const [id, e] of live) {
|
|
43665
|
+
lines.push(JSON.stringify({ t: "put", id, agent: e.agent, msg: e.msg, firstAt: e.firstAt }));
|
|
43666
|
+
}
|
|
43667
|
+
const tmp = path + ".compact.tmp";
|
|
43668
|
+
try {
|
|
43669
|
+
fs2.writeFileSync(tmp, lines.length ? lines.join(`
|
|
43670
|
+
`) + `
|
|
43671
|
+
` : "");
|
|
43672
|
+
fs2.renameSync(tmp, path);
|
|
43673
|
+
log(`inbound-spool: compacted path=${path} live=${live.size}
|
|
43674
|
+
`);
|
|
43675
|
+
} catch (err) {
|
|
43676
|
+
log(`inbound-spool: compact FAILED path=${path}: ${err.message}
|
|
43677
|
+
`);
|
|
43678
|
+
}
|
|
43679
|
+
}
|
|
43680
|
+
hydrate();
|
|
43681
|
+
return {
|
|
43682
|
+
put(agent, msg) {
|
|
43683
|
+
const id = spoolId(msg);
|
|
43684
|
+
if (live.has(id))
|
|
43685
|
+
return false;
|
|
43686
|
+
const firstAt = now();
|
|
43687
|
+
live.set(id, { agent, msg, firstAt });
|
|
43688
|
+
appendRecord({ t: "put", id, agent, msg, firstAt });
|
|
43689
|
+
maybeCompact();
|
|
43690
|
+
return true;
|
|
43691
|
+
},
|
|
43692
|
+
ack(msg) {
|
|
43693
|
+
const id = spoolId(msg);
|
|
43694
|
+
if (!live.has(id))
|
|
43695
|
+
return;
|
|
43696
|
+
live.delete(id);
|
|
43697
|
+
appendRecord({ t: "ack", id });
|
|
43698
|
+
maybeCompact();
|
|
43699
|
+
},
|
|
43700
|
+
liveEntries() {
|
|
43701
|
+
return [...live.values()].map((e) => ({ agent: e.agent, msg: e.msg }));
|
|
43702
|
+
},
|
|
43703
|
+
sweepEscalations(onEscalate) {
|
|
43704
|
+
const cutoff = now() - escalateAfterMs;
|
|
43705
|
+
let n = 0;
|
|
43706
|
+
for (const [id, e] of [...live.entries()]) {
|
|
43707
|
+
if (e.firstAt > cutoff)
|
|
43708
|
+
continue;
|
|
43709
|
+
live.delete(id);
|
|
43710
|
+
appendRecord({ t: "ack", id });
|
|
43711
|
+
try {
|
|
43712
|
+
onEscalate({ agent: e.agent, msg: e.msg });
|
|
43713
|
+
} catch (err) {
|
|
43714
|
+
log(`inbound-spool: onEscalate threw id=${id}: ${err.message}
|
|
43715
|
+
`);
|
|
43716
|
+
}
|
|
43717
|
+
n++;
|
|
43718
|
+
}
|
|
43719
|
+
if (n > 0) {
|
|
43720
|
+
log(`inbound-spool: escalated+dropped ${n} undelivered entr${n === 1 ? "y" : "ies"} (older than ${escalateAfterMs}ms)
|
|
43721
|
+
`);
|
|
43722
|
+
maybeCompact();
|
|
43723
|
+
}
|
|
43724
|
+
return n;
|
|
43725
|
+
},
|
|
43726
|
+
liveCount() {
|
|
43727
|
+
return live.size;
|
|
43728
|
+
}
|
|
43729
|
+
};
|
|
43730
|
+
}
|
|
43731
|
+
|
|
43732
|
+
// gateway/turn-state-purge.ts
|
|
43733
|
+
function purgeStaleTurnsForChat(chatId, keys, purger) {
|
|
43734
|
+
if (!chatId)
|
|
43735
|
+
return { purged: [] };
|
|
43736
|
+
const purged = [];
|
|
43737
|
+
const snapshot = [];
|
|
43738
|
+
for (const k of keys)
|
|
43739
|
+
snapshot.push(k);
|
|
43740
|
+
for (const key of snapshot) {
|
|
43741
|
+
const sep3 = key.indexOf(":");
|
|
43742
|
+
if (sep3 < 0)
|
|
43743
|
+
continue;
|
|
43744
|
+
const keyChat = key.slice(0, sep3);
|
|
43745
|
+
if (keyChat !== chatId)
|
|
43746
|
+
continue;
|
|
43747
|
+
purger(key);
|
|
43748
|
+
purged.push(key);
|
|
43749
|
+
}
|
|
43750
|
+
return { purged };
|
|
43751
|
+
}
|
|
43752
|
+
|
|
43753
|
+
// gateway/inbound-delivery-gate.ts
|
|
43754
|
+
function decideInboundDelivery(input) {
|
|
43755
|
+
if (input.turnInFlight && !input.isSteering)
|
|
43756
|
+
return "buffer-until-idle";
|
|
43757
|
+
return "deliver";
|
|
43758
|
+
}
|
|
43759
|
+
|
|
43569
43760
|
// gateway/pending-permission-decisions.ts
|
|
43570
43761
|
var DEFAULT_PENDING_PERMISSION_CAP = 32;
|
|
43571
43762
|
function createPendingPermissionBuffer(opts = {}) {
|
|
@@ -46924,11 +47115,11 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
|
|
|
46924
47115
|
}
|
|
46925
47116
|
|
|
46926
47117
|
// ../src/build-info.ts
|
|
46927
|
-
var VERSION = "0.12.
|
|
46928
|
-
var COMMIT_SHA = "
|
|
46929
|
-
var COMMIT_DATE = "2026-05-
|
|
46930
|
-
var LATEST_PR =
|
|
46931
|
-
var COMMITS_AHEAD_OF_TAG =
|
|
47118
|
+
var VERSION = "0.12.20";
|
|
47119
|
+
var COMMIT_SHA = "5191cef3";
|
|
47120
|
+
var COMMIT_DATE = "2026-05-20T00:03:17Z";
|
|
47121
|
+
var LATEST_PR = 1565;
|
|
47122
|
+
var COMMITS_AHEAD_OF_TAG = 6;
|
|
46932
47123
|
|
|
46933
47124
|
// gateway/boot-version.ts
|
|
46934
47125
|
function formatRelativeAgo(iso) {
|
|
@@ -47887,6 +48078,14 @@ function purgeReactionTracking(key) {
|
|
|
47887
48078
|
removeActiveReaction(agentDir, msgInfo.chatId, msgInfo.messageId);
|
|
47888
48079
|
}
|
|
47889
48080
|
if (activeTurnStartedAt.size === 0) {
|
|
48081
|
+
const selfAgentForFlush = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
48082
|
+
if (pendingInboundBuffer.depth(selfAgentForFlush) > 0) {
|
|
48083
|
+
const fr = redeliverBufferedInbound(pendingInboundBuffer, selfAgentForFlush, (m) => ipcServer.sendToAgent(selfAgentForFlush, m), inboundSpool);
|
|
48084
|
+
if (fr.redelivered > 0) {
|
|
48085
|
+
process.stderr.write(`telegram gateway: turn-complete flushed ${fr.redelivered}/${fr.drained} held inbound for ${selfAgentForFlush}${fr.rebuffered > 0 ? ` (${fr.rebuffered} re-buffered)` : ""}
|
|
48086
|
+
`);
|
|
48087
|
+
}
|
|
48088
|
+
}
|
|
47890
48089
|
if (pendingRestarts.size > 0) {
|
|
47891
48090
|
for (const [agentName3, _timestamp] of pendingRestarts.entries()) {
|
|
47892
48091
|
triggerSelfRestart(agentName3, "turn-complete-pending-restart");
|
|
@@ -47897,6 +48096,12 @@ function purgeReactionTracking(key) {
|
|
|
47897
48096
|
}
|
|
47898
48097
|
}
|
|
47899
48098
|
}
|
|
48099
|
+
function endCurrentTurnAtomic(turn) {
|
|
48100
|
+
if (currentTurn !== turn)
|
|
48101
|
+
return;
|
|
48102
|
+
currentTurn = null;
|
|
48103
|
+
purgeReactionTracking(statusKey(turn.sessionChatId, turn.sessionThreadId));
|
|
48104
|
+
}
|
|
47900
48105
|
function maybeProactiveCompact() {
|
|
47901
48106
|
if (compactDispatching)
|
|
47902
48107
|
return;
|
|
@@ -48738,18 +48943,39 @@ startTimer({
|
|
|
48738
48943
|
preambleSuppressor.dropNow();
|
|
48739
48944
|
endTurn(fbKey);
|
|
48740
48945
|
purgeReactionTracking(fbKey);
|
|
48946
|
+
const fbExtraPurge = purgeStaleTurnsForChat(fbChatId, activeTurnStartedAt.keys(), purgeReactionTracking);
|
|
48741
48947
|
if (turnMatchesFallback && currentTurn === wedgedTurn)
|
|
48742
48948
|
currentTurn = null;
|
|
48743
48949
|
try {
|
|
48744
48950
|
clearSilentEndState(fbKey);
|
|
48745
48951
|
} catch {}
|
|
48746
48952
|
const fbSelfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
48747
|
-
const fbRedeliver = redeliverBufferedInbound(pendingInboundBuffer, fbSelfAgent, (m) => ipcServer.sendToAgent(fbSelfAgent, m));
|
|
48748
|
-
process.stderr.write(`telegram gateway: silence-poke framework-fallback ended wedged turn chat=${fbChatId} thread=${ctx.threadId ?? "-"} silence_ms=${ctx.silenceMs} currentTurn_nulled=${turnMatchesFallback} drained_buffered=${fbRedeliver.redelivered}/${fbRedeliver.drained}${fbRedeliver.rebuffered > 0 ? ` rebuffered=${fbRedeliver.rebuffered}` : ""}
|
|
48953
|
+
const fbRedeliver = redeliverBufferedInbound(pendingInboundBuffer, fbSelfAgent, (m) => ipcServer.sendToAgent(fbSelfAgent, m), inboundSpool);
|
|
48954
|
+
process.stderr.write(`telegram gateway: silence-poke framework-fallback ended wedged turn chat=${fbChatId} thread=${ctx.threadId ?? "-"} silence_ms=${ctx.silenceMs} currentTurn_nulled=${turnMatchesFallback} drained_buffered=${fbRedeliver.redelivered}/${fbRedeliver.drained}${fbRedeliver.rebuffered > 0 ? ` rebuffered=${fbRedeliver.rebuffered}` : ""}${fbExtraPurge.purged.length > 0 ? ` extra_keys_purged=${fbExtraPurge.purged.length}` : ""}
|
|
48749
48955
|
`);
|
|
48750
48956
|
}
|
|
48751
48957
|
});
|
|
48752
|
-
var
|
|
48958
|
+
var inboundSpool = STATIC ? undefined : createInboundSpool({
|
|
48959
|
+
path: join32(STATE_DIR, "inbound-spool.jsonl"),
|
|
48960
|
+
fs: {
|
|
48961
|
+
appendFileSync: (p, d) => appendFileSync3(p, d),
|
|
48962
|
+
readFileSync: (p) => readFileSync32(p, "utf8"),
|
|
48963
|
+
writeFileSync: (p, d) => writeFileSync21(p, d),
|
|
48964
|
+
renameSync: (a, b) => renameSync12(a, b),
|
|
48965
|
+
existsSync: (p) => existsSync34(p),
|
|
48966
|
+
statSizeSync: (p) => statSync13(p).size
|
|
48967
|
+
}
|
|
48968
|
+
});
|
|
48969
|
+
var pendingInboundBuffer = createPendingInboundBuffer({ spool: inboundSpool });
|
|
48970
|
+
if (inboundSpool != null) {
|
|
48971
|
+
const replay = inboundSpool.liveEntries();
|
|
48972
|
+
for (const e of replay)
|
|
48973
|
+
pendingInboundBuffer.push(e.agent, e.msg);
|
|
48974
|
+
if (replay.length > 0) {
|
|
48975
|
+
process.stderr.write(`telegram gateway: inbound-spool boot-replay re-queued ${replay.length} un-acked inbound (durable-queue, survives restart)
|
|
48976
|
+
`);
|
|
48977
|
+
}
|
|
48978
|
+
}
|
|
48753
48979
|
var pendingPermissionBuffer = createPendingPermissionBuffer();
|
|
48754
48980
|
function dispatchPermissionVerdict(ev) {
|
|
48755
48981
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
@@ -48771,6 +48997,7 @@ var ipcServer = createIpcServer({
|
|
|
48771
48997
|
for (const msg of pending) {
|
|
48772
48998
|
try {
|
|
48773
48999
|
client3.send(msg);
|
|
49000
|
+
inboundSpool?.ack(msg);
|
|
48774
49001
|
} catch (err) {
|
|
48775
49002
|
process.stderr.write(`telegram gateway: pending-inbound drain failed agent=${client3.agentName} source=${msg.meta?.source ?? "-"}: ${err.message}
|
|
48776
49003
|
`);
|
|
@@ -49065,13 +49292,20 @@ if (!STATIC) {
|
|
|
49065
49292
|
setInterval(() => {
|
|
49066
49293
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
49067
49294
|
const r = idleDrainTick(pendingInboundBuffer, selfAgent, () => {
|
|
49295
|
+
if (activeTurnStartedAt.size > 0)
|
|
49296
|
+
return false;
|
|
49068
49297
|
const c = ipcServer.getClient(selfAgent);
|
|
49069
49298
|
return c != null && c.isAlive();
|
|
49070
|
-
}, (m) => ipcServer.sendToAgent(selfAgent, m));
|
|
49299
|
+
}, (m) => ipcServer.sendToAgent(selfAgent, m), inboundSpool);
|
|
49071
49300
|
if (r != null && r.redelivered > 0) {
|
|
49072
49301
|
process.stderr.write(`telegram gateway: idle-drain flushed ${r.redelivered}/${r.drained} buffered inbound for ${selfAgent}${r.rebuffered > 0 ? ` (${r.rebuffered} re-buffered)` : ""}
|
|
49073
49302
|
`);
|
|
49074
49303
|
}
|
|
49304
|
+
inboundSpool?.sweepEscalations((e) => {
|
|
49305
|
+
const chat = e.msg.chatId;
|
|
49306
|
+
const threadOpts = typeof e.msg.meta?.threadId === "string" && e.msg.meta.threadId ? { message_thread_id: Number(e.msg.meta.threadId) } : {};
|
|
49307
|
+
swallowingApiCall(() => bot.api.sendMessage(chat, "\u26A0\uFE0F I couldn't deliver an earlier message to the agent after repeated retries (it survived restarts but the agent never picked it up). Please resend it.", { ...threadOpts }), { chat_id: chat, verb: "inbound-spool-escalation" });
|
|
49308
|
+
});
|
|
49075
49309
|
}, IDLE_DRAIN_INTERVAL_MS).unref();
|
|
49076
49310
|
}
|
|
49077
49311
|
var ALLOWED_TOOLS = new Set([
|
|
@@ -50507,8 +50741,7 @@ function handleSessionEvent(ev) {
|
|
|
50507
50741
|
turn.answerStream.stop();
|
|
50508
50742
|
turn.answerStream = null;
|
|
50509
50743
|
}
|
|
50510
|
-
|
|
50511
|
-
currentTurn = null;
|
|
50744
|
+
endCurrentTurnAtomic(turn);
|
|
50512
50745
|
preambleSuppressor.reset();
|
|
50513
50746
|
}
|
|
50514
50747
|
return;
|
|
@@ -50625,8 +50858,7 @@ function handleSessionEvent(ev) {
|
|
|
50625
50858
|
lastPtyPreviewByChat.delete(statusKey(chatId, threadId));
|
|
50626
50859
|
pendingPtyPartial = null;
|
|
50627
50860
|
closeActivityLane(chatId, threadId);
|
|
50628
|
-
|
|
50629
|
-
currentTurn = null;
|
|
50861
|
+
endCurrentTurnAtomic(turn);
|
|
50630
50862
|
preambleSuppressor.dropNow();
|
|
50631
50863
|
return;
|
|
50632
50864
|
}
|
|
@@ -50641,8 +50873,7 @@ function handleSessionEvent(ev) {
|
|
|
50641
50873
|
}) ?? { wasEmitted: false, turnKey: null };
|
|
50642
50874
|
const backstopCardMessageId = cardTakeover.wasEmitted && cardTakeover.turnKey != null ? getPinnedProgressCardMessageId?.(cardTakeover.turnKey) ?? null : null;
|
|
50643
50875
|
const backstopCardTurnKey = cardTakeover.turnKey;
|
|
50644
|
-
|
|
50645
|
-
currentTurn = null;
|
|
50876
|
+
endCurrentTurnAtomic(turn);
|
|
50646
50877
|
preambleSuppressor.dropNow();
|
|
50647
50878
|
{
|
|
50648
50879
|
const tKey = statusKey(chatId, threadId);
|
|
@@ -50807,8 +51038,7 @@ function handleSessionEvent(ev) {
|
|
|
50807
51038
|
}
|
|
50808
51039
|
}
|
|
50809
51040
|
removeTurnActiveMarker(STATE_DIR);
|
|
50810
|
-
|
|
50811
|
-
currentTurn = null;
|
|
51041
|
+
endCurrentTurnAtomic(turn);
|
|
50812
51042
|
return;
|
|
50813
51043
|
}
|
|
50814
51044
|
}
|
|
@@ -51591,6 +51821,15 @@ ${preBlock(write.output)}`;
|
|
|
51591
51821
|
}
|
|
51592
51822
|
};
|
|
51593
51823
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
51824
|
+
if (decideInboundDelivery({
|
|
51825
|
+
turnInFlight: activeTurnStartedAt.size > 0,
|
|
51826
|
+
isSteering
|
|
51827
|
+
}) === "buffer-until-idle") {
|
|
51828
|
+
pendingInboundBuffer.push(selfAgent, inboundMsg);
|
|
51829
|
+
process.stderr.write(`telegram gateway: inbound held mid-turn agent=${selfAgent} chat=${chat_id} msg=${msgId ?? "-"} \u2014 will flush on turn-complete
|
|
51830
|
+
`);
|
|
51831
|
+
return;
|
|
51832
|
+
}
|
|
51594
51833
|
const delivered = ipcServer.sendToAgent(selfAgent, inboundMsg);
|
|
51595
51834
|
if (!delivered) {
|
|
51596
51835
|
pendingInboundBuffer.push(selfAgent, inboundMsg);
|