switchroom 0.12.17 → 0.12.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-scheduler/index.js +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +359 -361
- package/dist/host-control/main.js +99 -99
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +83 -83
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +510 -199
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/compact-notify.ts +94 -0
- package/telegram-plugin/gateway/gateway.ts +280 -8
- 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/tests/compact-notify.test.ts +138 -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
|
@@ -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();
|
|
@@ -25282,7 +25282,7 @@ function deriveSlug(inputs, existing) {
|
|
|
25282
25282
|
return `${base}_${n}`;
|
|
25283
25283
|
}
|
|
25284
25284
|
|
|
25285
|
-
//
|
|
25285
|
+
// ../node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
25286
25286
|
var require_lib = __commonJS((exports2) => {
|
|
25287
25287
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25288
25288
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -25329,7 +25329,7 @@ var require_lib = __commonJS((exports2) => {
|
|
|
25329
25329
|
exports2.binarySearch = binarySearch;
|
|
25330
25330
|
});
|
|
25331
25331
|
|
|
25332
|
-
//
|
|
25332
|
+
// ../node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
25333
25333
|
var require_structured_source = __commonJS((exports2) => {
|
|
25334
25334
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25335
25335
|
exports2.StructuredSource = undefined;
|
|
@@ -25384,13 +25384,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
25384
25384
|
}
|
|
25385
25385
|
exports2.StructuredSource = StructuredSource;
|
|
25386
25386
|
});
|
|
25387
|
-
//
|
|
25387
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
25388
25388
|
var import_structured_source;
|
|
25389
25389
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
25390
25390
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
25391
25391
|
});
|
|
25392
25392
|
|
|
25393
|
-
//
|
|
25393
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
25394
25394
|
class EventEmitter {
|
|
25395
25395
|
#listeners = new Map;
|
|
25396
25396
|
on(type, listener) {
|
|
@@ -25429,9 +25429,9 @@ class EventEmitter {
|
|
|
25429
25429
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
25430
25430
|
}
|
|
25431
25431
|
}
|
|
25432
|
-
//
|
|
25432
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
25433
25433
|
var init_RuleContext = () => {};
|
|
25434
|
-
//
|
|
25434
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
25435
25435
|
class SecretLintProfiler {
|
|
25436
25436
|
perf;
|
|
25437
25437
|
entries = [];
|
|
@@ -25488,7 +25488,7 @@ class SecretLintProfiler {
|
|
|
25488
25488
|
}
|
|
25489
25489
|
}
|
|
25490
25490
|
|
|
25491
|
-
//
|
|
25491
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
25492
25492
|
import perf_hooks from "node:perf_hooks";
|
|
25493
25493
|
|
|
25494
25494
|
class NullPerformanceObserver {
|
|
@@ -25503,19 +25503,19 @@ var init_node = __esm(() => {
|
|
|
25503
25503
|
});
|
|
25504
25504
|
});
|
|
25505
25505
|
|
|
25506
|
-
//
|
|
25506
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
25507
25507
|
var init_RunningEvents = __esm(() => {
|
|
25508
25508
|
init_node();
|
|
25509
25509
|
});
|
|
25510
25510
|
|
|
25511
|
-
//
|
|
25511
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
25512
25512
|
var init_RulePresetContext = __esm(() => {
|
|
25513
25513
|
init_RuleContext();
|
|
25514
25514
|
});
|
|
25515
|
-
//
|
|
25515
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
25516
25516
|
var init_messages = () => {};
|
|
25517
25517
|
|
|
25518
|
-
//
|
|
25518
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
25519
25519
|
var import_debug, debug;
|
|
25520
25520
|
var init_module = __esm(() => {
|
|
25521
25521
|
init_SecretLintSourceCodeImpl();
|
|
@@ -25528,7 +25528,7 @@ var init_module = __esm(() => {
|
|
|
25528
25528
|
debug = import_debug.default("@secretlint/core");
|
|
25529
25529
|
});
|
|
25530
25530
|
|
|
25531
|
-
//
|
|
25531
|
+
// ../node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
25532
25532
|
function requireLodash_uniq() {
|
|
25533
25533
|
if (hasRequiredLodash_uniq)
|
|
25534
25534
|
return lodash_uniq;
|
|
@@ -29726,7 +29726,8 @@ import {
|
|
|
29726
29726
|
openSync as openSync8,
|
|
29727
29727
|
closeSync as closeSync8,
|
|
29728
29728
|
existsSync as existsSync34,
|
|
29729
|
-
unlinkSync as unlinkSync14
|
|
29729
|
+
unlinkSync as unlinkSync14,
|
|
29730
|
+
appendFileSync as appendFileSync3
|
|
29730
29731
|
} from "fs";
|
|
29731
29732
|
import { homedir as homedir12 } from "os";
|
|
29732
29733
|
import { join as join32, extname, sep as sep3, basename as basename7 } from "path";
|
|
@@ -32033,7 +32034,7 @@ function clear(key) {
|
|
|
32033
32034
|
state.delete(key);
|
|
32034
32035
|
}
|
|
32035
32036
|
|
|
32036
|
-
//
|
|
32037
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
32037
32038
|
import { dirname as dirname2, posix, sep as sep2 } from "path";
|
|
32038
32039
|
function createModulerModifier() {
|
|
32039
32040
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -32069,7 +32070,7 @@ function normalizeWindowsPath(path) {
|
|
|
32069
32070
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
32070
32071
|
}
|
|
32071
32072
|
|
|
32072
|
-
//
|
|
32073
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
32073
32074
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
32074
32075
|
if ("flags" in flagsResponse) {
|
|
32075
32076
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -32140,7 +32141,7 @@ var parsePayload = (response) => {
|
|
|
32140
32141
|
}
|
|
32141
32142
|
};
|
|
32142
32143
|
|
|
32143
|
-
//
|
|
32144
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
32144
32145
|
function isGzipSupported() {
|
|
32145
32146
|
return "CompressionStream" in globalThis;
|
|
32146
32147
|
}
|
|
@@ -32160,7 +32161,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
32160
32161
|
}
|
|
32161
32162
|
}
|
|
32162
32163
|
|
|
32163
|
-
//
|
|
32164
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
32164
32165
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
32165
32166
|
var DIGITS = "0123456789abcdef";
|
|
32166
32167
|
|
|
@@ -32338,7 +32339,7 @@ var defaultGenerator;
|
|
|
32338
32339
|
var uuidv7 = () => uuidv7obj().toString();
|
|
32339
32340
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
32340
32341
|
|
|
32341
|
-
//
|
|
32342
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
32342
32343
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
32343
32344
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
32344
32345
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -32371,7 +32372,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
32371
32372
|
return PostHogPersistedProperty;
|
|
32372
32373
|
}({});
|
|
32373
32374
|
|
|
32374
|
-
//
|
|
32375
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
32375
32376
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
32376
32377
|
"amazonbot",
|
|
32377
32378
|
"amazonproductbot",
|
|
@@ -32460,7 +32461,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
32460
32461
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
32461
32462
|
});
|
|
32462
32463
|
};
|
|
32463
|
-
//
|
|
32464
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
32464
32465
|
var nativeIsArray = Array.isArray;
|
|
32465
32466
|
var ObjProto = Object.prototype;
|
|
32466
32467
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -32497,7 +32498,7 @@ function isInstanceOf(candidate, base) {
|
|
|
32497
32498
|
}
|
|
32498
32499
|
}
|
|
32499
32500
|
|
|
32500
|
-
//
|
|
32501
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
32501
32502
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
32502
32503
|
if (min > max) {
|
|
32503
32504
|
logger.warn("min cannot be greater than max.");
|
|
@@ -32517,7 +32518,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
32517
32518
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
32518
32519
|
}
|
|
32519
32520
|
|
|
32520
|
-
//
|
|
32521
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
32521
32522
|
var ONE_DAY_IN_MS = 86400000;
|
|
32522
32523
|
|
|
32523
32524
|
class BucketedRateLimiter {
|
|
@@ -32561,7 +32562,7 @@ class BucketedRateLimiter {
|
|
|
32561
32562
|
this._buckets = {};
|
|
32562
32563
|
}
|
|
32563
32564
|
}
|
|
32564
|
-
//
|
|
32565
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
32565
32566
|
class PromiseQueue {
|
|
32566
32567
|
add(promise) {
|
|
32567
32568
|
const promiseUUID = uuidv7();
|
|
@@ -32587,7 +32588,7 @@ class PromiseQueue {
|
|
|
32587
32588
|
this.promiseByIds = {};
|
|
32588
32589
|
}
|
|
32589
32590
|
}
|
|
32590
|
-
//
|
|
32591
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
32591
32592
|
function createConsole(consoleLike = console) {
|
|
32592
32593
|
const lockedMethods = {
|
|
32593
32594
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -32625,7 +32626,7 @@ var passThrough = (fn) => fn();
|
|
|
32625
32626
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
32626
32627
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
32627
32628
|
}
|
|
32628
|
-
//
|
|
32629
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
32629
32630
|
var MOBILE = "Mobile";
|
|
32630
32631
|
var IOS = "iOS";
|
|
32631
32632
|
var ANDROID = "Android";
|
|
@@ -32882,7 +32883,7 @@ var osMatchers = [
|
|
|
32882
32883
|
]
|
|
32883
32884
|
];
|
|
32884
32885
|
|
|
32885
|
-
//
|
|
32886
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
32886
32887
|
var STRING_FORMAT = "utf8";
|
|
32887
32888
|
function assert(truthyValue, message) {
|
|
32888
32889
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -32930,7 +32931,7 @@ function allSettled(promises) {
|
|
|
32930
32931
|
reason
|
|
32931
32932
|
}))));
|
|
32932
32933
|
}
|
|
32933
|
-
//
|
|
32934
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
32934
32935
|
class SimpleEventEmitter {
|
|
32935
32936
|
constructor() {
|
|
32936
32937
|
this.events = {};
|
|
@@ -32952,7 +32953,7 @@ class SimpleEventEmitter {
|
|
|
32952
32953
|
}
|
|
32953
32954
|
}
|
|
32954
32955
|
|
|
32955
|
-
//
|
|
32956
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
32956
32957
|
class PostHogFetchHttpError extends Error {
|
|
32957
32958
|
constructor(response, reqByteLength) {
|
|
32958
32959
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -33667,7 +33668,7 @@ class PostHogCoreStateless {
|
|
|
33667
33668
|
return this.shutdownPromise;
|
|
33668
33669
|
}
|
|
33669
33670
|
}
|
|
33670
|
-
//
|
|
33671
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
33671
33672
|
var exports_error_tracking = {};
|
|
33672
33673
|
__export(exports_error_tracking, {
|
|
33673
33674
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -33691,7 +33692,7 @@ __export(exports_error_tracking, {
|
|
|
33691
33692
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
33692
33693
|
});
|
|
33693
33694
|
|
|
33694
|
-
//
|
|
33695
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
33695
33696
|
var parsedStackResults;
|
|
33696
33697
|
var lastKeysCount;
|
|
33697
33698
|
var cachedFilenameChunkIds;
|
|
@@ -33730,7 +33731,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
33730
33731
|
return cachedFilenameChunkIds;
|
|
33731
33732
|
}
|
|
33732
33733
|
|
|
33733
|
-
//
|
|
33734
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
33734
33735
|
var MAX_CAUSE_RECURSION = 4;
|
|
33735
33736
|
|
|
33736
33737
|
class ErrorPropertiesBuilder {
|
|
@@ -33852,7 +33853,7 @@ class ErrorPropertiesBuilder {
|
|
|
33852
33853
|
return context;
|
|
33853
33854
|
}
|
|
33854
33855
|
}
|
|
33855
|
-
//
|
|
33856
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
33856
33857
|
var UNKNOWN_FUNCTION = "?";
|
|
33857
33858
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
33858
33859
|
const frame = {
|
|
@@ -33868,7 +33869,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
33868
33869
|
return frame;
|
|
33869
33870
|
}
|
|
33870
33871
|
|
|
33871
|
-
//
|
|
33872
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
33872
33873
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
33873
33874
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
33874
33875
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -33881,7 +33882,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
33881
33882
|
];
|
|
33882
33883
|
};
|
|
33883
33884
|
|
|
33884
|
-
//
|
|
33885
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
33885
33886
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
33886
33887
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
33887
33888
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -33907,7 +33908,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
33907
33908
|
}
|
|
33908
33909
|
};
|
|
33909
33910
|
|
|
33910
|
-
//
|
|
33911
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
33911
33912
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
33912
33913
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
33913
33914
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -33930,14 +33931,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
33930
33931
|
}
|
|
33931
33932
|
};
|
|
33932
33933
|
|
|
33933
|
-
//
|
|
33934
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
33934
33935
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
33935
33936
|
var winjsStackLineParser = (line, platform) => {
|
|
33936
33937
|
const parts = winjsRegex.exec(line);
|
|
33937
33938
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
33938
33939
|
};
|
|
33939
33940
|
|
|
33940
|
-
//
|
|
33941
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
33941
33942
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
33942
33943
|
var opera10StackLineParser = (line, platform) => {
|
|
33943
33944
|
const parts = opera10Regex.exec(line);
|
|
@@ -33949,7 +33950,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
33949
33950
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
33950
33951
|
};
|
|
33951
33952
|
|
|
33952
|
-
//
|
|
33953
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
33953
33954
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
33954
33955
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
33955
33956
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -34018,7 +34019,7 @@ function _parseIntOrUndefined(input) {
|
|
|
34018
34019
|
return parseInt(input || "", 10) || undefined;
|
|
34019
34020
|
}
|
|
34020
34021
|
|
|
34021
|
-
//
|
|
34022
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
34022
34023
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
34023
34024
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
34024
34025
|
function reverseAndStripFrames(stack) {
|
|
@@ -34063,7 +34064,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
34063
34064
|
return reverseAndStripFrames(frames);
|
|
34064
34065
|
};
|
|
34065
34066
|
}
|
|
34066
|
-
//
|
|
34067
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
34067
34068
|
class DOMExceptionCoercer {
|
|
34068
34069
|
match(err) {
|
|
34069
34070
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -34093,7 +34094,7 @@ class DOMExceptionCoercer {
|
|
|
34093
34094
|
return isBuiltin(err, "DOMError");
|
|
34094
34095
|
}
|
|
34095
34096
|
}
|
|
34096
|
-
//
|
|
34097
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
34097
34098
|
class ErrorCoercer {
|
|
34098
34099
|
match(err) {
|
|
34099
34100
|
return isPlainError(err);
|
|
@@ -34120,7 +34121,7 @@ class ErrorCoercer {
|
|
|
34120
34121
|
return err.stacktrace || err.stack || undefined;
|
|
34121
34122
|
}
|
|
34122
34123
|
}
|
|
34123
|
-
//
|
|
34124
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
34124
34125
|
class ErrorEventCoercer {
|
|
34125
34126
|
constructor() {}
|
|
34126
34127
|
match(err) {
|
|
@@ -34138,7 +34139,7 @@ class ErrorEventCoercer {
|
|
|
34138
34139
|
return exceptionLike;
|
|
34139
34140
|
}
|
|
34140
34141
|
}
|
|
34141
|
-
//
|
|
34142
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
34142
34143
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
34143
34144
|
|
|
34144
34145
|
class StringCoercer {
|
|
@@ -34168,7 +34169,7 @@ class StringCoercer {
|
|
|
34168
34169
|
];
|
|
34169
34170
|
}
|
|
34170
34171
|
}
|
|
34171
|
-
//
|
|
34172
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
34172
34173
|
var severityLevels = [
|
|
34173
34174
|
"fatal",
|
|
34174
34175
|
"error",
|
|
@@ -34178,7 +34179,7 @@ var severityLevels = [
|
|
|
34178
34179
|
"debug"
|
|
34179
34180
|
];
|
|
34180
34181
|
|
|
34181
|
-
//
|
|
34182
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
34182
34183
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
34183
34184
|
const keys = Object.keys(err);
|
|
34184
34185
|
keys.sort();
|
|
@@ -34195,7 +34196,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
34195
34196
|
return "";
|
|
34196
34197
|
}
|
|
34197
34198
|
|
|
34198
|
-
//
|
|
34199
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
34199
34200
|
class ObjectCoercer {
|
|
34200
34201
|
match(candidate) {
|
|
34201
34202
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -34248,7 +34249,7 @@ class ObjectCoercer {
|
|
|
34248
34249
|
}
|
|
34249
34250
|
}
|
|
34250
34251
|
}
|
|
34251
|
-
//
|
|
34252
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
34252
34253
|
class EventCoercer {
|
|
34253
34254
|
match(err) {
|
|
34254
34255
|
return isEvent(err);
|
|
@@ -34263,7 +34264,7 @@ class EventCoercer {
|
|
|
34263
34264
|
};
|
|
34264
34265
|
}
|
|
34265
34266
|
}
|
|
34266
|
-
//
|
|
34267
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
34267
34268
|
class PrimitiveCoercer {
|
|
34268
34269
|
match(candidate) {
|
|
34269
34270
|
return isPrimitive(candidate);
|
|
@@ -34277,7 +34278,7 @@ class PrimitiveCoercer {
|
|
|
34277
34278
|
};
|
|
34278
34279
|
}
|
|
34279
34280
|
}
|
|
34280
|
-
//
|
|
34281
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
34281
34282
|
class PromiseRejectionEventCoercer {
|
|
34282
34283
|
match(err) {
|
|
34283
34284
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -34313,7 +34314,7 @@ class PromiseRejectionEventCoercer {
|
|
|
34313
34314
|
return error;
|
|
34314
34315
|
}
|
|
34315
34316
|
}
|
|
34316
|
-
//
|
|
34317
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
34317
34318
|
class ReduceableCache {
|
|
34318
34319
|
constructor(_maxSize) {
|
|
34319
34320
|
this._maxSize = _maxSize;
|
|
@@ -34338,7 +34339,7 @@ class ReduceableCache {
|
|
|
34338
34339
|
}
|
|
34339
34340
|
}
|
|
34340
34341
|
}
|
|
34341
|
-
//
|
|
34342
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
34342
34343
|
import { createReadStream } from "node:fs";
|
|
34343
34344
|
import { createInterface } from "node:readline";
|
|
34344
34345
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -34556,7 +34557,7 @@ function snipLine(line, colno) {
|
|
|
34556
34557
|
return newLine;
|
|
34557
34558
|
}
|
|
34558
34559
|
|
|
34559
|
-
//
|
|
34560
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
34560
34561
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
34561
34562
|
let calledFatalError = false;
|
|
34562
34563
|
return Object.assign((error) => {
|
|
@@ -34588,7 +34589,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
34588
34589
|
}));
|
|
34589
34590
|
}
|
|
34590
34591
|
|
|
34591
|
-
//
|
|
34592
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
34592
34593
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
34593
34594
|
|
|
34594
34595
|
class ErrorTracking {
|
|
@@ -34657,10 +34658,10 @@ class ErrorTracking {
|
|
|
34657
34658
|
}
|
|
34658
34659
|
}
|
|
34659
34660
|
|
|
34660
|
-
//
|
|
34661
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
34661
34662
|
var version = "5.29.2";
|
|
34662
34663
|
|
|
34663
|
-
//
|
|
34664
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
34664
34665
|
var FeatureFlagError2 = {
|
|
34665
34666
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
34666
34667
|
FLAG_MISSING: "flag_missing",
|
|
@@ -34668,7 +34669,7 @@ var FeatureFlagError2 = {
|
|
|
34668
34669
|
UNKNOWN_ERROR: "unknown_error"
|
|
34669
34670
|
};
|
|
34670
34671
|
|
|
34671
|
-
//
|
|
34672
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
34672
34673
|
async function hashSHA1(text) {
|
|
34673
34674
|
const subtle = globalThis.crypto?.subtle;
|
|
34674
34675
|
if (!subtle)
|
|
@@ -34678,7 +34679,7 @@ async function hashSHA1(text) {
|
|
|
34678
34679
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
34679
34680
|
}
|
|
34680
34681
|
|
|
34681
|
-
//
|
|
34682
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
34682
34683
|
var SIXTY_SECONDS = 60000;
|
|
34683
34684
|
var LONG_SCALE = 1152921504606847000;
|
|
34684
34685
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -35552,7 +35553,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
35552
35553
|
}
|
|
35553
35554
|
}
|
|
35554
35555
|
|
|
35555
|
-
//
|
|
35556
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
35556
35557
|
class PostHogMemoryStorage {
|
|
35557
35558
|
getProperty(key) {
|
|
35558
35559
|
return this._memoryStorage[key];
|
|
@@ -35565,7 +35566,7 @@ class PostHogMemoryStorage {
|
|
|
35565
35566
|
}
|
|
35566
35567
|
}
|
|
35567
35568
|
|
|
35568
|
-
//
|
|
35569
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
35569
35570
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
35570
35571
|
var THIRTY_SECONDS = 30000;
|
|
35571
35572
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -36353,7 +36354,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
36353
36354
|
}
|
|
36354
36355
|
}
|
|
36355
36356
|
|
|
36356
|
-
//
|
|
36357
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
36357
36358
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
36358
36359
|
|
|
36359
36360
|
class PostHogContext {
|
|
@@ -36384,7 +36385,7 @@ class PostHogContext {
|
|
|
36384
36385
|
}
|
|
36385
36386
|
}
|
|
36386
36387
|
|
|
36387
|
-
//
|
|
36388
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
36388
36389
|
var NAME = "posthog-node";
|
|
36389
36390
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
36390
36391
|
"error"
|
|
@@ -36452,7 +36453,7 @@ class PostHogSentryIntegration {
|
|
|
36452
36453
|
};
|
|
36453
36454
|
}
|
|
36454
36455
|
}
|
|
36455
|
-
//
|
|
36456
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
36456
36457
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
36457
36458
|
new exports_error_tracking.EventCoercer,
|
|
36458
36459
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -42472,6 +42473,27 @@ function decideProactiveCompact(state3, occupancy, cap) {
|
|
|
42472
42473
|
};
|
|
42473
42474
|
}
|
|
42474
42475
|
|
|
42476
|
+
// gateway/compact-notify.ts
|
|
42477
|
+
function idleCompactNotifyState() {
|
|
42478
|
+
return { phase: "idle", fileAtStart: null };
|
|
42479
|
+
}
|
|
42480
|
+
function nextCompactNotify(state3, ev) {
|
|
42481
|
+
if (ev.fired) {
|
|
42482
|
+
const superseding = state3.phase === "awaiting";
|
|
42483
|
+
return {
|
|
42484
|
+
state: { phase: "awaiting", fileAtStart: ev.activeFile },
|
|
42485
|
+
action: superseding ? "start-superseding" : "start"
|
|
42486
|
+
};
|
|
42487
|
+
}
|
|
42488
|
+
if (state3.phase === "awaiting") {
|
|
42489
|
+
if (ev.rearmed && ev.activeFile != null && ev.activeFile === state3.fileAtStart) {
|
|
42490
|
+
return { state: idleCompactNotifyState(), action: "finish" };
|
|
42491
|
+
}
|
|
42492
|
+
return { state: state3, action: "none" };
|
|
42493
|
+
}
|
|
42494
|
+
return { state: state3, action: "none" };
|
|
42495
|
+
}
|
|
42496
|
+
|
|
42475
42497
|
// gateway/hostd-dispatch.ts
|
|
42476
42498
|
import { existsSync as existsSync20 } from "node:fs";
|
|
42477
42499
|
import { randomBytes as randomBytes3 } from "node:crypto";
|
|
@@ -43472,7 +43494,7 @@ function escapeHtml7(s) {
|
|
|
43472
43494
|
|
|
43473
43495
|
// gateway/pending-inbound-buffer.ts
|
|
43474
43496
|
var DEFAULT_PENDING_INBOUND_CAP = 32;
|
|
43475
|
-
function redeliverBufferedInbound(buffer, agent, send) {
|
|
43497
|
+
function redeliverBufferedInbound(buffer, agent, send, spool) {
|
|
43476
43498
|
const pending = buffer.drain(agent);
|
|
43477
43499
|
let redelivered = 0;
|
|
43478
43500
|
let rebuffered = 0;
|
|
@@ -43485,6 +43507,7 @@ function redeliverBufferedInbound(buffer, agent, send) {
|
|
|
43485
43507
|
}
|
|
43486
43508
|
if (delivered) {
|
|
43487
43509
|
redelivered++;
|
|
43510
|
+
spool?.ack(msg);
|
|
43488
43511
|
} else {
|
|
43489
43512
|
buffer.push(agent, msg);
|
|
43490
43513
|
rebuffered++;
|
|
@@ -43492,18 +43515,19 @@ function redeliverBufferedInbound(buffer, agent, send) {
|
|
|
43492
43515
|
}
|
|
43493
43516
|
return { drained: pending.length, redelivered, rebuffered };
|
|
43494
43517
|
}
|
|
43495
|
-
function idleDrainTick(buffer, agent, isBridgeAlive, send) {
|
|
43518
|
+
function idleDrainTick(buffer, agent, isBridgeAlive, send, spool) {
|
|
43496
43519
|
if (!agent)
|
|
43497
43520
|
return null;
|
|
43498
43521
|
if (buffer.depth(agent) === 0)
|
|
43499
43522
|
return null;
|
|
43500
43523
|
if (!isBridgeAlive())
|
|
43501
43524
|
return null;
|
|
43502
|
-
return redeliverBufferedInbound(buffer, agent, send);
|
|
43525
|
+
return redeliverBufferedInbound(buffer, agent, send, spool);
|
|
43503
43526
|
}
|
|
43504
43527
|
function createPendingInboundBuffer(opts = {}) {
|
|
43505
43528
|
const cap = opts.capPerAgent ?? DEFAULT_PENDING_INBOUND_CAP;
|
|
43506
43529
|
const log = opts.log ?? ((line) => process.stderr.write(line));
|
|
43530
|
+
const spool = opts.spool;
|
|
43507
43531
|
const queues = new Map;
|
|
43508
43532
|
return {
|
|
43509
43533
|
push(agent, msg) {
|
|
@@ -43520,6 +43544,7 @@ function createPendingInboundBuffer(opts = {}) {
|
|
|
43520
43544
|
`);
|
|
43521
43545
|
}
|
|
43522
43546
|
q.push(msg);
|
|
43547
|
+
spool?.put(agent, msg);
|
|
43523
43548
|
log(`pending-inbound-buffer: agent=${agent} buffered source=${msg.meta?.source ?? "-"} ` + `depth_after=${q.length} evicted=${evicted}
|
|
43524
43549
|
`);
|
|
43525
43550
|
return !evicted;
|
|
@@ -43545,6 +43570,168 @@ function createPendingInboundBuffer(opts = {}) {
|
|
|
43545
43570
|
};
|
|
43546
43571
|
}
|
|
43547
43572
|
|
|
43573
|
+
// gateway/inbound-spool.ts
|
|
43574
|
+
function spoolId(msg) {
|
|
43575
|
+
if (typeof msg.messageId === "number" && msg.messageId > 0) {
|
|
43576
|
+
return `m:${msg.chatId}:${msg.messageId}`;
|
|
43577
|
+
}
|
|
43578
|
+
const src = msg.meta?.source ?? "-";
|
|
43579
|
+
return `s:${msg.chatId}:${src}:${msg.ts}`;
|
|
43580
|
+
}
|
|
43581
|
+
function createInboundSpool(opts) {
|
|
43582
|
+
const { path, fs: fs2 } = opts;
|
|
43583
|
+
const now = opts.now ?? Date.now;
|
|
43584
|
+
const log = opts.log ?? ((l) => process.stderr.write(l));
|
|
43585
|
+
const escalateAfterMs = opts.escalateAfterMs ?? 15 * 60 * 1000;
|
|
43586
|
+
const compactAtBytes = opts.compactAtBytes ?? 256 * 1024;
|
|
43587
|
+
const live = new Map;
|
|
43588
|
+
function parseLine(line) {
|
|
43589
|
+
const s = line.trim();
|
|
43590
|
+
if (!s)
|
|
43591
|
+
return null;
|
|
43592
|
+
let rec;
|
|
43593
|
+
try {
|
|
43594
|
+
rec = JSON.parse(s);
|
|
43595
|
+
} catch {
|
|
43596
|
+
return null;
|
|
43597
|
+
}
|
|
43598
|
+
if (rec == null || typeof rec !== "object")
|
|
43599
|
+
return null;
|
|
43600
|
+
const r = rec;
|
|
43601
|
+
if (r.t !== "put" && r.t !== "ack")
|
|
43602
|
+
return null;
|
|
43603
|
+
if (typeof r.id !== "string" || r.id.length === 0)
|
|
43604
|
+
return null;
|
|
43605
|
+
if (r.t === "put") {
|
|
43606
|
+
if (r.msg == null || typeof r.msg !== "object")
|
|
43607
|
+
return null;
|
|
43608
|
+
if (typeof r.agent !== "string" || r.agent.length === 0)
|
|
43609
|
+
return null;
|
|
43610
|
+
if (typeof r.firstAt !== "number")
|
|
43611
|
+
return null;
|
|
43612
|
+
}
|
|
43613
|
+
return r;
|
|
43614
|
+
}
|
|
43615
|
+
function hydrate() {
|
|
43616
|
+
live.clear();
|
|
43617
|
+
if (!fs2.existsSync(path))
|
|
43618
|
+
return;
|
|
43619
|
+
let raw = "";
|
|
43620
|
+
try {
|
|
43621
|
+
raw = fs2.readFileSync(path);
|
|
43622
|
+
} catch {
|
|
43623
|
+
return;
|
|
43624
|
+
}
|
|
43625
|
+
for (const line of raw.split(`
|
|
43626
|
+
`)) {
|
|
43627
|
+
const rec = parseLine(line);
|
|
43628
|
+
if (rec == null)
|
|
43629
|
+
continue;
|
|
43630
|
+
if (rec.t === "put") {
|
|
43631
|
+
live.set(rec.id, {
|
|
43632
|
+
agent: rec.agent,
|
|
43633
|
+
msg: rec.msg,
|
|
43634
|
+
firstAt: rec.firstAt
|
|
43635
|
+
});
|
|
43636
|
+
} else {
|
|
43637
|
+
live.delete(rec.id);
|
|
43638
|
+
}
|
|
43639
|
+
}
|
|
43640
|
+
}
|
|
43641
|
+
function appendRecord(rec) {
|
|
43642
|
+
try {
|
|
43643
|
+
fs2.appendFileSync(path, JSON.stringify(rec) + `
|
|
43644
|
+
`);
|
|
43645
|
+
} catch (err) {
|
|
43646
|
+
log(`inbound-spool: append FAILED path=${path} id=${rec.id} t=${rec.t}: ` + `${err.message} \u2014 durability degraded to in-memory
|
|
43647
|
+
`);
|
|
43648
|
+
}
|
|
43649
|
+
}
|
|
43650
|
+
function maybeCompact() {
|
|
43651
|
+
let size = 0;
|
|
43652
|
+
try {
|
|
43653
|
+
size = fs2.existsSync(path) ? fs2.statSizeSync(path) : 0;
|
|
43654
|
+
} catch {
|
|
43655
|
+
return;
|
|
43656
|
+
}
|
|
43657
|
+
if (size <= compactAtBytes)
|
|
43658
|
+
return;
|
|
43659
|
+
const lines = [];
|
|
43660
|
+
for (const [id, e] of live) {
|
|
43661
|
+
lines.push(JSON.stringify({ t: "put", id, agent: e.agent, msg: e.msg, firstAt: e.firstAt }));
|
|
43662
|
+
}
|
|
43663
|
+
const tmp = path + ".compact.tmp";
|
|
43664
|
+
try {
|
|
43665
|
+
fs2.writeFileSync(tmp, lines.length ? lines.join(`
|
|
43666
|
+
`) + `
|
|
43667
|
+
` : "");
|
|
43668
|
+
fs2.renameSync(tmp, path);
|
|
43669
|
+
log(`inbound-spool: compacted path=${path} live=${live.size}
|
|
43670
|
+
`);
|
|
43671
|
+
} catch (err) {
|
|
43672
|
+
log(`inbound-spool: compact FAILED path=${path}: ${err.message}
|
|
43673
|
+
`);
|
|
43674
|
+
}
|
|
43675
|
+
}
|
|
43676
|
+
hydrate();
|
|
43677
|
+
return {
|
|
43678
|
+
put(agent, msg) {
|
|
43679
|
+
const id = spoolId(msg);
|
|
43680
|
+
if (live.has(id))
|
|
43681
|
+
return false;
|
|
43682
|
+
const firstAt = now();
|
|
43683
|
+
live.set(id, { agent, msg, firstAt });
|
|
43684
|
+
appendRecord({ t: "put", id, agent, msg, firstAt });
|
|
43685
|
+
maybeCompact();
|
|
43686
|
+
return true;
|
|
43687
|
+
},
|
|
43688
|
+
ack(msg) {
|
|
43689
|
+
const id = spoolId(msg);
|
|
43690
|
+
if (!live.has(id))
|
|
43691
|
+
return;
|
|
43692
|
+
live.delete(id);
|
|
43693
|
+
appendRecord({ t: "ack", id });
|
|
43694
|
+
maybeCompact();
|
|
43695
|
+
},
|
|
43696
|
+
liveEntries() {
|
|
43697
|
+
return [...live.values()].map((e) => ({ agent: e.agent, msg: e.msg }));
|
|
43698
|
+
},
|
|
43699
|
+
sweepEscalations(onEscalate) {
|
|
43700
|
+
const cutoff = now() - escalateAfterMs;
|
|
43701
|
+
let n = 0;
|
|
43702
|
+
for (const [id, e] of [...live.entries()]) {
|
|
43703
|
+
if (e.firstAt > cutoff)
|
|
43704
|
+
continue;
|
|
43705
|
+
live.delete(id);
|
|
43706
|
+
appendRecord({ t: "ack", id });
|
|
43707
|
+
try {
|
|
43708
|
+
onEscalate({ agent: e.agent, msg: e.msg });
|
|
43709
|
+
} catch (err) {
|
|
43710
|
+
log(`inbound-spool: onEscalate threw id=${id}: ${err.message}
|
|
43711
|
+
`);
|
|
43712
|
+
}
|
|
43713
|
+
n++;
|
|
43714
|
+
}
|
|
43715
|
+
if (n > 0) {
|
|
43716
|
+
log(`inbound-spool: escalated+dropped ${n} undelivered entr${n === 1 ? "y" : "ies"} (older than ${escalateAfterMs}ms)
|
|
43717
|
+
`);
|
|
43718
|
+
maybeCompact();
|
|
43719
|
+
}
|
|
43720
|
+
return n;
|
|
43721
|
+
},
|
|
43722
|
+
liveCount() {
|
|
43723
|
+
return live.size;
|
|
43724
|
+
}
|
|
43725
|
+
};
|
|
43726
|
+
}
|
|
43727
|
+
|
|
43728
|
+
// gateway/inbound-delivery-gate.ts
|
|
43729
|
+
function decideInboundDelivery(input) {
|
|
43730
|
+
if (input.turnInFlight && !input.isSteering)
|
|
43731
|
+
return "buffer-until-idle";
|
|
43732
|
+
return "deliver";
|
|
43733
|
+
}
|
|
43734
|
+
|
|
43548
43735
|
// gateway/pending-permission-decisions.ts
|
|
43549
43736
|
var DEFAULT_PENDING_PERMISSION_CAP = 32;
|
|
43550
43737
|
function createPendingPermissionBuffer(opts = {}) {
|
|
@@ -46903,11 +47090,11 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
|
|
|
46903
47090
|
}
|
|
46904
47091
|
|
|
46905
47092
|
// ../src/build-info.ts
|
|
46906
|
-
var VERSION = "0.12.
|
|
46907
|
-
var COMMIT_SHA = "
|
|
46908
|
-
var COMMIT_DATE = "2026-05-
|
|
46909
|
-
var LATEST_PR =
|
|
46910
|
-
var COMMITS_AHEAD_OF_TAG =
|
|
47093
|
+
var VERSION = "0.12.19";
|
|
47094
|
+
var COMMIT_SHA = "5f6810ed";
|
|
47095
|
+
var COMMIT_DATE = "2026-05-19T13:30:31Z";
|
|
47096
|
+
var LATEST_PR = 1559;
|
|
47097
|
+
var COMMITS_AHEAD_OF_TAG = 4;
|
|
46911
47098
|
|
|
46912
47099
|
// gateway/boot-version.ts
|
|
46913
47100
|
function formatRelativeAgo(iso) {
|
|
@@ -47815,6 +48002,9 @@ var pendingRestarts = new Map;
|
|
|
47815
48002
|
var lastSessionActiveFile = null;
|
|
47816
48003
|
var compactState = initialCompactState();
|
|
47817
48004
|
var compactDispatching = false;
|
|
48005
|
+
var COMPACT_CARD_TIMEOUT_MS = 900000;
|
|
48006
|
+
var compactNotifyState = idleCompactNotifyState();
|
|
48007
|
+
var outstandingCompactCard = null;
|
|
47818
48008
|
var activeDraftStreams = new Map;
|
|
47819
48009
|
var activeDraftParseModes = new Map;
|
|
47820
48010
|
var suppressPtyPreview = new Set;
|
|
@@ -47863,6 +48053,14 @@ function purgeReactionTracking(key) {
|
|
|
47863
48053
|
removeActiveReaction(agentDir, msgInfo.chatId, msgInfo.messageId);
|
|
47864
48054
|
}
|
|
47865
48055
|
if (activeTurnStartedAt.size === 0) {
|
|
48056
|
+
const selfAgentForFlush = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
48057
|
+
if (pendingInboundBuffer.depth(selfAgentForFlush) > 0) {
|
|
48058
|
+
const fr = redeliverBufferedInbound(pendingInboundBuffer, selfAgentForFlush, (m) => ipcServer.sendToAgent(selfAgentForFlush, m), inboundSpool);
|
|
48059
|
+
if (fr.redelivered > 0) {
|
|
48060
|
+
process.stderr.write(`telegram gateway: turn-complete flushed ${fr.redelivered}/${fr.drained} held inbound for ${selfAgentForFlush}${fr.rebuffered > 0 ? ` (${fr.rebuffered} re-buffered)` : ""}
|
|
48061
|
+
`);
|
|
48062
|
+
}
|
|
48063
|
+
}
|
|
47866
48064
|
if (pendingRestarts.size > 0) {
|
|
47867
48065
|
for (const [agentName3, _timestamp] of pendingRestarts.entries()) {
|
|
47868
48066
|
triggerSelfRestart(agentName3, "turn-complete-pending-restart");
|
|
@@ -47898,8 +48096,24 @@ function maybeProactiveCompact() {
|
|
|
47898
48096
|
return;
|
|
47899
48097
|
const t = turns[0];
|
|
47900
48098
|
const occupancy = t.input + t.cacheRead + t.cacheCreate;
|
|
48099
|
+
const wasArmed = compactState.armed;
|
|
47901
48100
|
const decision = decideProactiveCompact(compactState, occupancy, cap);
|
|
47902
48101
|
compactState = decision.state;
|
|
48102
|
+
const rearmed = !wasArmed && decision.state.armed;
|
|
48103
|
+
const nt = nextCompactNotify(compactNotifyState, {
|
|
48104
|
+
fired: decision.fire,
|
|
48105
|
+
rearmed,
|
|
48106
|
+
activeFile: file
|
|
48107
|
+
});
|
|
48108
|
+
compactNotifyState = nt.state;
|
|
48109
|
+
if (nt.action === "finish") {
|
|
48110
|
+
resolveCompactCard("finished", occupancy);
|
|
48111
|
+
} else if (nt.action === "start" || nt.action === "start-superseding") {
|
|
48112
|
+
if (nt.action === "start-superseding") {
|
|
48113
|
+
resolveCompactCard("superseded", occupancy);
|
|
48114
|
+
}
|
|
48115
|
+
postCompactCard(occupancy, cap);
|
|
48116
|
+
}
|
|
47903
48117
|
if (!decision.fire)
|
|
47904
48118
|
return;
|
|
47905
48119
|
compactDispatching = true;
|
|
@@ -47912,6 +48126,66 @@ function maybeProactiveCompact() {
|
|
|
47912
48126
|
compactDispatching = false;
|
|
47913
48127
|
});
|
|
47914
48128
|
}
|
|
48129
|
+
async function postCompactCard(occ, cap) {
|
|
48130
|
+
try {
|
|
48131
|
+
const chatId = loadAccess().allowFrom[0];
|
|
48132
|
+
if (!chatId)
|
|
48133
|
+
return;
|
|
48134
|
+
const threadId = chatThreadMap.get(chatId);
|
|
48135
|
+
const text = `\uD83D\uDDDC\uFE0F <b>Context compaction</b>
|
|
48136
|
+
` + `Working context hit ~${occ.toLocaleString()} tokens (cap ${cap.toLocaleString()}) \u2014 running <code>/compact</code>. ` + `Older detail moves to Hindsight; I'll confirm here once the context has shrunk (may take a turn or two).`;
|
|
48137
|
+
const sent = await swallowingApiCall(() => bot.api.sendMessage(chatId, text, {
|
|
48138
|
+
parse_mode: "HTML",
|
|
48139
|
+
...threadId != null ? { message_thread_id: threadId } : {}
|
|
48140
|
+
}), { chat_id: chatId, verb: "proactiveCompact.start" });
|
|
48141
|
+
const messageId = sent?.message_id;
|
|
48142
|
+
if (typeof messageId !== "number")
|
|
48143
|
+
return;
|
|
48144
|
+
const timer2 = setTimeout(() => {
|
|
48145
|
+
resolveCompactCard("timeout", null);
|
|
48146
|
+
}, COMPACT_CARD_TIMEOUT_MS);
|
|
48147
|
+
timer2.unref?.();
|
|
48148
|
+
outstandingCompactCard = {
|
|
48149
|
+
chatId,
|
|
48150
|
+
threadId,
|
|
48151
|
+
messageId,
|
|
48152
|
+
occAtStart: occ,
|
|
48153
|
+
capAtStart: cap,
|
|
48154
|
+
timer: timer2
|
|
48155
|
+
};
|
|
48156
|
+
} catch (err) {
|
|
48157
|
+
process.stderr.write(`telegram gateway: proactive-compact start card failed: ${err instanceof Error ? err.message : String(err)}
|
|
48158
|
+
`);
|
|
48159
|
+
}
|
|
48160
|
+
}
|
|
48161
|
+
async function resolveCompactCard(kind, occNow) {
|
|
48162
|
+
const card = outstandingCompactCard;
|
|
48163
|
+
if (!card)
|
|
48164
|
+
return;
|
|
48165
|
+
outstandingCompactCard = null;
|
|
48166
|
+
clearTimeout(card.timer);
|
|
48167
|
+
if (kind === "timeout")
|
|
48168
|
+
compactNotifyState = idleCompactNotifyState();
|
|
48169
|
+
let text;
|
|
48170
|
+
if (kind === "finished") {
|
|
48171
|
+
text = `\u2705 <b>Context compacted</b>
|
|
48172
|
+
` + `Working context reduced` + (occNow != null ? ` (~${card.occAtStart.toLocaleString()} \u2192 ` + `~${occNow.toLocaleString()} tokens)` : "") + `. Hindsight retains the detail.`;
|
|
48173
|
+
} else if (kind === "superseded") {
|
|
48174
|
+
text = `\u21A9\uFE0F <b>Context compaction superseded</b>
|
|
48175
|
+
` + `A newer compaction started before this one confirmed.`;
|
|
48176
|
+
} else {
|
|
48177
|
+
text = `\u26A0\uFE0F <b>Compaction issued</b>
|
|
48178
|
+
` + `<code>/compact</code> was requested but the context isn't confirmed reduced yet. Native compaction and Hindsight still apply.`;
|
|
48179
|
+
}
|
|
48180
|
+
try {
|
|
48181
|
+
await swallowingApiCall(() => bot.api.editMessageText(card.chatId, card.messageId, text, {
|
|
48182
|
+
parse_mode: "HTML"
|
|
48183
|
+
}), { chat_id: card.chatId, verb: `proactiveCompact.${kind}` });
|
|
48184
|
+
} catch (err) {
|
|
48185
|
+
process.stderr.write(`telegram gateway: proactive-compact ${kind} card edit failed: ${err instanceof Error ? err.message : String(err)}
|
|
48186
|
+
`);
|
|
48187
|
+
}
|
|
48188
|
+
}
|
|
47915
48189
|
function endStatusReaction(chatId, threadId, outcome) {
|
|
47916
48190
|
const key = statusKey(chatId, threadId);
|
|
47917
48191
|
const ctrl = activeStatusReactions.get(key);
|
|
@@ -48644,12 +48918,32 @@ startTimer({
|
|
|
48644
48918
|
clearSilentEndState(fbKey);
|
|
48645
48919
|
} catch {}
|
|
48646
48920
|
const fbSelfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
48647
|
-
const fbRedeliver = redeliverBufferedInbound(pendingInboundBuffer, fbSelfAgent, (m) => ipcServer.sendToAgent(fbSelfAgent, m));
|
|
48921
|
+
const fbRedeliver = redeliverBufferedInbound(pendingInboundBuffer, fbSelfAgent, (m) => ipcServer.sendToAgent(fbSelfAgent, m), inboundSpool);
|
|
48648
48922
|
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}` : ""}
|
|
48649
48923
|
`);
|
|
48650
48924
|
}
|
|
48651
48925
|
});
|
|
48652
|
-
var
|
|
48926
|
+
var inboundSpool = STATIC ? undefined : createInboundSpool({
|
|
48927
|
+
path: join32(STATE_DIR, "inbound-spool.jsonl"),
|
|
48928
|
+
fs: {
|
|
48929
|
+
appendFileSync: (p, d) => appendFileSync3(p, d),
|
|
48930
|
+
readFileSync: (p) => readFileSync32(p, "utf8"),
|
|
48931
|
+
writeFileSync: (p, d) => writeFileSync21(p, d),
|
|
48932
|
+
renameSync: (a, b) => renameSync12(a, b),
|
|
48933
|
+
existsSync: (p) => existsSync34(p),
|
|
48934
|
+
statSizeSync: (p) => statSync13(p).size
|
|
48935
|
+
}
|
|
48936
|
+
});
|
|
48937
|
+
var pendingInboundBuffer = createPendingInboundBuffer({ spool: inboundSpool });
|
|
48938
|
+
if (inboundSpool != null) {
|
|
48939
|
+
const replay = inboundSpool.liveEntries();
|
|
48940
|
+
for (const e of replay)
|
|
48941
|
+
pendingInboundBuffer.push(e.agent, e.msg);
|
|
48942
|
+
if (replay.length > 0) {
|
|
48943
|
+
process.stderr.write(`telegram gateway: inbound-spool boot-replay re-queued ${replay.length} un-acked inbound (durable-queue, survives restart)
|
|
48944
|
+
`);
|
|
48945
|
+
}
|
|
48946
|
+
}
|
|
48653
48947
|
var pendingPermissionBuffer = createPendingPermissionBuffer();
|
|
48654
48948
|
function dispatchPermissionVerdict(ev) {
|
|
48655
48949
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
@@ -48671,6 +48965,7 @@ var ipcServer = createIpcServer({
|
|
|
48671
48965
|
for (const msg of pending) {
|
|
48672
48966
|
try {
|
|
48673
48967
|
client3.send(msg);
|
|
48968
|
+
inboundSpool?.ack(msg);
|
|
48674
48969
|
} catch (err) {
|
|
48675
48970
|
process.stderr.write(`telegram gateway: pending-inbound drain failed agent=${client3.agentName} source=${msg.meta?.source ?? "-"}: ${err.message}
|
|
48676
48971
|
`);
|
|
@@ -48965,13 +49260,20 @@ if (!STATIC) {
|
|
|
48965
49260
|
setInterval(() => {
|
|
48966
49261
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
48967
49262
|
const r = idleDrainTick(pendingInboundBuffer, selfAgent, () => {
|
|
49263
|
+
if (activeTurnStartedAt.size > 0)
|
|
49264
|
+
return false;
|
|
48968
49265
|
const c = ipcServer.getClient(selfAgent);
|
|
48969
49266
|
return c != null && c.isAlive();
|
|
48970
|
-
}, (m) => ipcServer.sendToAgent(selfAgent, m));
|
|
49267
|
+
}, (m) => ipcServer.sendToAgent(selfAgent, m), inboundSpool);
|
|
48971
49268
|
if (r != null && r.redelivered > 0) {
|
|
48972
49269
|
process.stderr.write(`telegram gateway: idle-drain flushed ${r.redelivered}/${r.drained} buffered inbound for ${selfAgent}${r.rebuffered > 0 ? ` (${r.rebuffered} re-buffered)` : ""}
|
|
48973
49270
|
`);
|
|
48974
49271
|
}
|
|
49272
|
+
inboundSpool?.sweepEscalations((e) => {
|
|
49273
|
+
const chat = e.msg.chatId;
|
|
49274
|
+
const threadOpts = typeof e.msg.meta?.threadId === "string" && e.msg.meta.threadId ? { message_thread_id: Number(e.msg.meta.threadId) } : {};
|
|
49275
|
+
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" });
|
|
49276
|
+
});
|
|
48975
49277
|
}, IDLE_DRAIN_INTERVAL_MS).unref();
|
|
48976
49278
|
}
|
|
48977
49279
|
var ALLOWED_TOOLS = new Set([
|
|
@@ -51491,6 +51793,15 @@ ${preBlock(write.output)}`;
|
|
|
51491
51793
|
}
|
|
51492
51794
|
};
|
|
51493
51795
|
const selfAgent = process.env.SWITCHROOM_AGENT_NAME ?? "";
|
|
51796
|
+
if (decideInboundDelivery({
|
|
51797
|
+
turnInFlight: activeTurnStartedAt.size > 0,
|
|
51798
|
+
isSteering
|
|
51799
|
+
}) === "buffer-until-idle") {
|
|
51800
|
+
pendingInboundBuffer.push(selfAgent, inboundMsg);
|
|
51801
|
+
process.stderr.write(`telegram gateway: inbound held mid-turn agent=${selfAgent} chat=${chat_id} msg=${msgId ?? "-"} \u2014 will flush on turn-complete
|
|
51802
|
+
`);
|
|
51803
|
+
return;
|
|
51804
|
+
}
|
|
51494
51805
|
const delivered = ipcServer.sendToAgent(selfAgent, inboundMsg);
|
|
51495
51806
|
if (!delivered) {
|
|
51496
51807
|
pendingInboundBuffer.push(selfAgent, inboundMsg);
|