switchroom 0.14.10 → 0.14.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-scheduler/index.js +85 -80
- package/dist/auth-broker/index.js +85 -80
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +87 -82
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +1200 -913
- package/dist/host-control/main.js +153 -148
- package/dist/vault/approvals/kernel-server.js +88 -83
- package/dist/vault/broker/server.js +89 -84
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +201 -358
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/boot-card.ts +15 -11
- package/telegram-plugin/gateway/gateway.ts +9 -67
- package/telegram-plugin/runtime-metrics.ts +8 -52
- package/telegram-plugin/silence-poke.ts +39 -312
- package/telegram-plugin/tests/boot-card-silent-on-operator.test.ts +27 -30
- package/telegram-plugin/tests/silence-poke.test.ts +54 -569
- package/telegram-plugin/uat/scenarios/jtbd-fast-ack-dm.test.ts +21 -23
- package/telegram-plugin/uat/scenarios/silence-poke-soft-dm.test.ts +0 -155
|
@@ -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();
|
|
@@ -16642,7 +16642,7 @@ var init_client = __esm(() => {
|
|
|
16642
16642
|
};
|
|
16643
16643
|
});
|
|
16644
16644
|
|
|
16645
|
-
//
|
|
16645
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
|
|
16646
16646
|
var require_identity = __commonJS((exports2) => {
|
|
16647
16647
|
var ALIAS = Symbol.for("yaml.alias");
|
|
16648
16648
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -16696,7 +16696,7 @@ var require_identity = __commonJS((exports2) => {
|
|
|
16696
16696
|
exports2.isSeq = isSeq;
|
|
16697
16697
|
});
|
|
16698
16698
|
|
|
16699
|
-
//
|
|
16699
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
|
|
16700
16700
|
var require_visit = __commonJS((exports2) => {
|
|
16701
16701
|
var identity = require_identity();
|
|
16702
16702
|
var BREAK = Symbol("break visit");
|
|
@@ -16851,7 +16851,7 @@ var require_visit = __commonJS((exports2) => {
|
|
|
16851
16851
|
exports2.visitAsync = visitAsync;
|
|
16852
16852
|
});
|
|
16853
16853
|
|
|
16854
|
-
//
|
|
16854
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
|
|
16855
16855
|
var require_directives = __commonJS((exports2) => {
|
|
16856
16856
|
var identity = require_identity();
|
|
16857
16857
|
var visit = require_visit();
|
|
@@ -17003,7 +17003,7 @@ var require_directives = __commonJS((exports2) => {
|
|
|
17003
17003
|
exports2.Directives = Directives;
|
|
17004
17004
|
});
|
|
17005
17005
|
|
|
17006
|
-
//
|
|
17006
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
|
|
17007
17007
|
var require_anchors = __commonJS((exports2) => {
|
|
17008
17008
|
var identity = require_identity();
|
|
17009
17009
|
var visit = require_visit();
|
|
@@ -17065,7 +17065,7 @@ var require_anchors = __commonJS((exports2) => {
|
|
|
17065
17065
|
exports2.findNewAnchor = findNewAnchor;
|
|
17066
17066
|
});
|
|
17067
17067
|
|
|
17068
|
-
//
|
|
17068
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
|
|
17069
17069
|
var require_applyReviver = __commonJS((exports2) => {
|
|
17070
17070
|
function applyReviver(reviver, obj, key, val) {
|
|
17071
17071
|
if (val && typeof val === "object") {
|
|
@@ -17112,7 +17112,7 @@ var require_applyReviver = __commonJS((exports2) => {
|
|
|
17112
17112
|
exports2.applyReviver = applyReviver;
|
|
17113
17113
|
});
|
|
17114
17114
|
|
|
17115
|
-
//
|
|
17115
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
|
|
17116
17116
|
var require_toJS = __commonJS((exports2) => {
|
|
17117
17117
|
var identity = require_identity();
|
|
17118
17118
|
function toJS(value, arg, ctx) {
|
|
@@ -17139,7 +17139,7 @@ var require_toJS = __commonJS((exports2) => {
|
|
|
17139
17139
|
exports2.toJS = toJS;
|
|
17140
17140
|
});
|
|
17141
17141
|
|
|
17142
|
-
//
|
|
17142
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
|
|
17143
17143
|
var require_Node = __commonJS((exports2) => {
|
|
17144
17144
|
var applyReviver = require_applyReviver();
|
|
17145
17145
|
var identity = require_identity();
|
|
@@ -17176,7 +17176,7 @@ var require_Node = __commonJS((exports2) => {
|
|
|
17176
17176
|
exports2.NodeBase = NodeBase;
|
|
17177
17177
|
});
|
|
17178
17178
|
|
|
17179
|
-
//
|
|
17179
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
|
|
17180
17180
|
var require_Alias = __commonJS((exports2) => {
|
|
17181
17181
|
var anchors = require_anchors();
|
|
17182
17182
|
var visit = require_visit();
|
|
@@ -17284,7 +17284,7 @@ var require_Alias = __commonJS((exports2) => {
|
|
|
17284
17284
|
exports2.Alias = Alias;
|
|
17285
17285
|
});
|
|
17286
17286
|
|
|
17287
|
-
//
|
|
17287
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
|
|
17288
17288
|
var require_Scalar = __commonJS((exports2) => {
|
|
17289
17289
|
var identity = require_identity();
|
|
17290
17290
|
var Node = require_Node();
|
|
@@ -17312,7 +17312,7 @@ var require_Scalar = __commonJS((exports2) => {
|
|
|
17312
17312
|
exports2.isScalarValue = isScalarValue;
|
|
17313
17313
|
});
|
|
17314
17314
|
|
|
17315
|
-
//
|
|
17315
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
|
|
17316
17316
|
var require_createNode = __commonJS((exports2) => {
|
|
17317
17317
|
var Alias = require_Alias();
|
|
17318
17318
|
var identity = require_identity();
|
|
@@ -17384,7 +17384,7 @@ var require_createNode = __commonJS((exports2) => {
|
|
|
17384
17384
|
exports2.createNode = createNode;
|
|
17385
17385
|
});
|
|
17386
17386
|
|
|
17387
|
-
//
|
|
17387
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
|
|
17388
17388
|
var require_Collection = __commonJS((exports2) => {
|
|
17389
17389
|
var createNode = require_createNode();
|
|
17390
17390
|
var identity = require_identity();
|
|
@@ -17499,7 +17499,7 @@ var require_Collection = __commonJS((exports2) => {
|
|
|
17499
17499
|
exports2.isEmptyPath = isEmptyPath;
|
|
17500
17500
|
});
|
|
17501
17501
|
|
|
17502
|
-
//
|
|
17502
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
17503
17503
|
var require_stringifyComment = __commonJS((exports2) => {
|
|
17504
17504
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
17505
17505
|
function indentComment(comment, indent) {
|
|
@@ -17516,7 +17516,7 @@ var require_stringifyComment = __commonJS((exports2) => {
|
|
|
17516
17516
|
exports2.stringifyComment = stringifyComment;
|
|
17517
17517
|
});
|
|
17518
17518
|
|
|
17519
|
-
//
|
|
17519
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
17520
17520
|
var require_foldFlowLines = __commonJS((exports2) => {
|
|
17521
17521
|
var FOLD_FLOW = "flow";
|
|
17522
17522
|
var FOLD_BLOCK = "block";
|
|
@@ -17653,7 +17653,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
17653
17653
|
exports2.foldFlowLines = foldFlowLines;
|
|
17654
17654
|
});
|
|
17655
17655
|
|
|
17656
|
-
//
|
|
17656
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
|
|
17657
17657
|
var require_stringifyString = __commonJS((exports2) => {
|
|
17658
17658
|
var Scalar = require_Scalar();
|
|
17659
17659
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -17951,7 +17951,7 @@ ${indent}`);
|
|
|
17951
17951
|
exports2.stringifyString = stringifyString;
|
|
17952
17952
|
});
|
|
17953
17953
|
|
|
17954
|
-
//
|
|
17954
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
|
|
17955
17955
|
var require_stringify = __commonJS((exports2) => {
|
|
17956
17956
|
var anchors = require_anchors();
|
|
17957
17957
|
var identity = require_identity();
|
|
@@ -18072,7 +18072,7 @@ ${ctx.indent}${str}`;
|
|
|
18072
18072
|
exports2.stringify = stringify;
|
|
18073
18073
|
});
|
|
18074
18074
|
|
|
18075
|
-
//
|
|
18075
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
18076
18076
|
var require_stringifyPair = __commonJS((exports2) => {
|
|
18077
18077
|
var identity = require_identity();
|
|
18078
18078
|
var Scalar = require_Scalar();
|
|
@@ -18208,7 +18208,7 @@ ${ctx.indent}`;
|
|
|
18208
18208
|
exports2.stringifyPair = stringifyPair;
|
|
18209
18209
|
});
|
|
18210
18210
|
|
|
18211
|
-
//
|
|
18211
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
|
|
18212
18212
|
var require_log = __commonJS((exports2) => {
|
|
18213
18213
|
var node_process = __require("process");
|
|
18214
18214
|
function debug(logLevel, ...messages) {
|
|
@@ -18227,7 +18227,7 @@ var require_log = __commonJS((exports2) => {
|
|
|
18227
18227
|
exports2.warn = warn;
|
|
18228
18228
|
});
|
|
18229
18229
|
|
|
18230
|
-
//
|
|
18230
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
18231
18231
|
var require_merge = __commonJS((exports2) => {
|
|
18232
18232
|
var identity = require_identity();
|
|
18233
18233
|
var Scalar = require_Scalar();
|
|
@@ -18281,7 +18281,7 @@ var require_merge = __commonJS((exports2) => {
|
|
|
18281
18281
|
exports2.merge = merge;
|
|
18282
18282
|
});
|
|
18283
18283
|
|
|
18284
|
-
//
|
|
18284
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
18285
18285
|
var require_addPairToJSMap = __commonJS((exports2) => {
|
|
18286
18286
|
var log = require_log();
|
|
18287
18287
|
var merge = require_merge();
|
|
@@ -18342,7 +18342,7 @@ var require_addPairToJSMap = __commonJS((exports2) => {
|
|
|
18342
18342
|
exports2.addPairToJSMap = addPairToJSMap;
|
|
18343
18343
|
});
|
|
18344
18344
|
|
|
18345
|
-
//
|
|
18345
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
|
|
18346
18346
|
var require_Pair = __commonJS((exports2) => {
|
|
18347
18347
|
var createNode = require_createNode();
|
|
18348
18348
|
var stringifyPair = require_stringifyPair();
|
|
@@ -18380,7 +18380,7 @@ var require_Pair = __commonJS((exports2) => {
|
|
|
18380
18380
|
exports2.createPair = createPair;
|
|
18381
18381
|
});
|
|
18382
18382
|
|
|
18383
|
-
//
|
|
18383
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
18384
18384
|
var require_stringifyCollection = __commonJS((exports2) => {
|
|
18385
18385
|
var identity = require_identity();
|
|
18386
18386
|
var stringify = require_stringify();
|
|
@@ -18532,7 +18532,7 @@ ${indent}${end}`;
|
|
|
18532
18532
|
exports2.stringifyCollection = stringifyCollection;
|
|
18533
18533
|
});
|
|
18534
18534
|
|
|
18535
|
-
//
|
|
18535
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
18536
18536
|
var require_YAMLMap = __commonJS((exports2) => {
|
|
18537
18537
|
var stringifyCollection = require_stringifyCollection();
|
|
18538
18538
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -18659,7 +18659,7 @@ var require_YAMLMap = __commonJS((exports2) => {
|
|
|
18659
18659
|
exports2.findPair = findPair;
|
|
18660
18660
|
});
|
|
18661
18661
|
|
|
18662
|
-
//
|
|
18662
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
|
|
18663
18663
|
var require_map = __commonJS((exports2) => {
|
|
18664
18664
|
var identity = require_identity();
|
|
18665
18665
|
var YAMLMap = require_YAMLMap();
|
|
@@ -18678,7 +18678,7 @@ var require_map = __commonJS((exports2) => {
|
|
|
18678
18678
|
exports2.map = map;
|
|
18679
18679
|
});
|
|
18680
18680
|
|
|
18681
|
-
//
|
|
18681
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
18682
18682
|
var require_YAMLSeq = __commonJS((exports2) => {
|
|
18683
18683
|
var createNode = require_createNode();
|
|
18684
18684
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -18771,7 +18771,7 @@ var require_YAMLSeq = __commonJS((exports2) => {
|
|
|
18771
18771
|
exports2.YAMLSeq = YAMLSeq;
|
|
18772
18772
|
});
|
|
18773
18773
|
|
|
18774
|
-
//
|
|
18774
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
|
|
18775
18775
|
var require_seq = __commonJS((exports2) => {
|
|
18776
18776
|
var identity = require_identity();
|
|
18777
18777
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -18790,7 +18790,7 @@ var require_seq = __commonJS((exports2) => {
|
|
|
18790
18790
|
exports2.seq = seq;
|
|
18791
18791
|
});
|
|
18792
18792
|
|
|
18793
|
-
//
|
|
18793
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
|
|
18794
18794
|
var require_string = __commonJS((exports2) => {
|
|
18795
18795
|
var stringifyString = require_stringifyString();
|
|
18796
18796
|
var string = {
|
|
@@ -18806,7 +18806,7 @@ var require_string = __commonJS((exports2) => {
|
|
|
18806
18806
|
exports2.string = string;
|
|
18807
18807
|
});
|
|
18808
18808
|
|
|
18809
|
-
//
|
|
18809
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
|
|
18810
18810
|
var require_null = __commonJS((exports2) => {
|
|
18811
18811
|
var Scalar = require_Scalar();
|
|
18812
18812
|
var nullTag = {
|
|
@@ -18821,7 +18821,7 @@ var require_null = __commonJS((exports2) => {
|
|
|
18821
18821
|
exports2.nullTag = nullTag;
|
|
18822
18822
|
});
|
|
18823
18823
|
|
|
18824
|
-
//
|
|
18824
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
|
|
18825
18825
|
var require_bool = __commonJS((exports2) => {
|
|
18826
18826
|
var Scalar = require_Scalar();
|
|
18827
18827
|
var boolTag = {
|
|
@@ -18842,7 +18842,7 @@ var require_bool = __commonJS((exports2) => {
|
|
|
18842
18842
|
exports2.boolTag = boolTag;
|
|
18843
18843
|
});
|
|
18844
18844
|
|
|
18845
|
-
//
|
|
18845
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
18846
18846
|
var require_stringifyNumber = __commonJS((exports2) => {
|
|
18847
18847
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
18848
18848
|
if (typeof value === "bigint")
|
|
@@ -18866,7 +18866,7 @@ var require_stringifyNumber = __commonJS((exports2) => {
|
|
|
18866
18866
|
exports2.stringifyNumber = stringifyNumber;
|
|
18867
18867
|
});
|
|
18868
18868
|
|
|
18869
|
-
//
|
|
18869
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
|
|
18870
18870
|
var require_float = __commonJS((exports2) => {
|
|
18871
18871
|
var Scalar = require_Scalar();
|
|
18872
18872
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -18909,7 +18909,7 @@ var require_float = __commonJS((exports2) => {
|
|
|
18909
18909
|
exports2.floatNaN = floatNaN;
|
|
18910
18910
|
});
|
|
18911
18911
|
|
|
18912
|
-
//
|
|
18912
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
|
|
18913
18913
|
var require_int = __commonJS((exports2) => {
|
|
18914
18914
|
var stringifyNumber = require_stringifyNumber();
|
|
18915
18915
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -18951,7 +18951,7 @@ var require_int = __commonJS((exports2) => {
|
|
|
18951
18951
|
exports2.intOct = intOct;
|
|
18952
18952
|
});
|
|
18953
18953
|
|
|
18954
|
-
//
|
|
18954
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
|
|
18955
18955
|
var require_schema = __commonJS((exports2) => {
|
|
18956
18956
|
var map = require_map();
|
|
18957
18957
|
var _null = require_null();
|
|
@@ -18976,7 +18976,7 @@ var require_schema = __commonJS((exports2) => {
|
|
|
18976
18976
|
exports2.schema = schema;
|
|
18977
18977
|
});
|
|
18978
18978
|
|
|
18979
|
-
//
|
|
18979
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
|
|
18980
18980
|
var require_schema2 = __commonJS((exports2) => {
|
|
18981
18981
|
var Scalar = require_Scalar();
|
|
18982
18982
|
var map = require_map();
|
|
@@ -19040,7 +19040,7 @@ var require_schema2 = __commonJS((exports2) => {
|
|
|
19040
19040
|
exports2.schema = schema;
|
|
19041
19041
|
});
|
|
19042
19042
|
|
|
19043
|
-
//
|
|
19043
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
19044
19044
|
var require_binary = __commonJS((exports2) => {
|
|
19045
19045
|
var node_buffer = __require("buffer");
|
|
19046
19046
|
var Scalar = require_Scalar();
|
|
@@ -19095,7 +19095,7 @@ var require_binary = __commonJS((exports2) => {
|
|
|
19095
19095
|
exports2.binary = binary;
|
|
19096
19096
|
});
|
|
19097
19097
|
|
|
19098
|
-
//
|
|
19098
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
19099
19099
|
var require_pairs = __commonJS((exports2) => {
|
|
19100
19100
|
var identity = require_identity();
|
|
19101
19101
|
var Pair = require_Pair();
|
|
@@ -19170,7 +19170,7 @@ ${cn.comment}` : item.comment;
|
|
|
19170
19170
|
exports2.resolvePairs = resolvePairs;
|
|
19171
19171
|
});
|
|
19172
19172
|
|
|
19173
|
-
//
|
|
19173
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
19174
19174
|
var require_omap = __commonJS((exports2) => {
|
|
19175
19175
|
var identity = require_identity();
|
|
19176
19176
|
var toJS = require_toJS();
|
|
@@ -19242,7 +19242,7 @@ var require_omap = __commonJS((exports2) => {
|
|
|
19242
19242
|
exports2.omap = omap;
|
|
19243
19243
|
});
|
|
19244
19244
|
|
|
19245
|
-
//
|
|
19245
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
19246
19246
|
var require_bool2 = __commonJS((exports2) => {
|
|
19247
19247
|
var Scalar = require_Scalar();
|
|
19248
19248
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -19271,7 +19271,7 @@ var require_bool2 = __commonJS((exports2) => {
|
|
|
19271
19271
|
exports2.trueTag = trueTag;
|
|
19272
19272
|
});
|
|
19273
19273
|
|
|
19274
|
-
//
|
|
19274
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
19275
19275
|
var require_float2 = __commonJS((exports2) => {
|
|
19276
19276
|
var Scalar = require_Scalar();
|
|
19277
19277
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -19317,7 +19317,7 @@ var require_float2 = __commonJS((exports2) => {
|
|
|
19317
19317
|
exports2.floatNaN = floatNaN;
|
|
19318
19318
|
});
|
|
19319
19319
|
|
|
19320
|
-
//
|
|
19320
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
19321
19321
|
var require_int2 = __commonJS((exports2) => {
|
|
19322
19322
|
var stringifyNumber = require_stringifyNumber();
|
|
19323
19323
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -19393,7 +19393,7 @@ var require_int2 = __commonJS((exports2) => {
|
|
|
19393
19393
|
exports2.intOct = intOct;
|
|
19394
19394
|
});
|
|
19395
19395
|
|
|
19396
|
-
//
|
|
19396
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
19397
19397
|
var require_set = __commonJS((exports2) => {
|
|
19398
19398
|
var identity = require_identity();
|
|
19399
19399
|
var Pair = require_Pair();
|
|
@@ -19476,7 +19476,7 @@ var require_set = __commonJS((exports2) => {
|
|
|
19476
19476
|
exports2.set = set;
|
|
19477
19477
|
});
|
|
19478
19478
|
|
|
19479
|
-
//
|
|
19479
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
19480
19480
|
var require_timestamp = __commonJS((exports2) => {
|
|
19481
19481
|
var stringifyNumber = require_stringifyNumber();
|
|
19482
19482
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -19558,7 +19558,7 @@ var require_timestamp = __commonJS((exports2) => {
|
|
|
19558
19558
|
exports2.timestamp = timestamp;
|
|
19559
19559
|
});
|
|
19560
19560
|
|
|
19561
|
-
//
|
|
19561
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
19562
19562
|
var require_schema3 = __commonJS((exports2) => {
|
|
19563
19563
|
var map = require_map();
|
|
19564
19564
|
var _null = require_null();
|
|
@@ -19599,7 +19599,7 @@ var require_schema3 = __commonJS((exports2) => {
|
|
|
19599
19599
|
exports2.schema = schema;
|
|
19600
19600
|
});
|
|
19601
19601
|
|
|
19602
|
-
//
|
|
19602
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
|
|
19603
19603
|
var require_tags = __commonJS((exports2) => {
|
|
19604
19604
|
var map = require_map();
|
|
19605
19605
|
var _null = require_null();
|
|
@@ -19690,7 +19690,7 @@ var require_tags = __commonJS((exports2) => {
|
|
|
19690
19690
|
exports2.getTags = getTags;
|
|
19691
19691
|
});
|
|
19692
19692
|
|
|
19693
|
-
//
|
|
19693
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
|
|
19694
19694
|
var require_Schema = __commonJS((exports2) => {
|
|
19695
19695
|
var identity = require_identity();
|
|
19696
19696
|
var map = require_map();
|
|
@@ -19720,7 +19720,7 @@ var require_Schema = __commonJS((exports2) => {
|
|
|
19720
19720
|
exports2.Schema = Schema;
|
|
19721
19721
|
});
|
|
19722
19722
|
|
|
19723
|
-
//
|
|
19723
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
19724
19724
|
var require_stringifyDocument = __commonJS((exports2) => {
|
|
19725
19725
|
var identity = require_identity();
|
|
19726
19726
|
var stringify = require_stringify();
|
|
@@ -19800,7 +19800,7 @@ var require_stringifyDocument = __commonJS((exports2) => {
|
|
|
19800
19800
|
exports2.stringifyDocument = stringifyDocument;
|
|
19801
19801
|
});
|
|
19802
19802
|
|
|
19803
|
-
//
|
|
19803
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
|
|
19804
19804
|
var require_Document = __commonJS((exports2) => {
|
|
19805
19805
|
var Alias = require_Alias();
|
|
19806
19806
|
var Collection = require_Collection();
|
|
@@ -20035,7 +20035,7 @@ var require_Document = __commonJS((exports2) => {
|
|
|
20035
20035
|
exports2.Document = Document;
|
|
20036
20036
|
});
|
|
20037
20037
|
|
|
20038
|
-
//
|
|
20038
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
|
|
20039
20039
|
var require_errors = __commonJS((exports2) => {
|
|
20040
20040
|
class YAMLError extends Error {
|
|
20041
20041
|
constructor(name, pos, code, message) {
|
|
@@ -20100,7 +20100,7 @@ ${pointer}
|
|
|
20100
20100
|
exports2.prettifyError = prettifyError;
|
|
20101
20101
|
});
|
|
20102
20102
|
|
|
20103
|
-
//
|
|
20103
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
|
|
20104
20104
|
var require_resolve_props = __commonJS((exports2) => {
|
|
20105
20105
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
20106
20106
|
let spaceBefore = false;
|
|
@@ -20230,7 +20230,7 @@ var require_resolve_props = __commonJS((exports2) => {
|
|
|
20230
20230
|
exports2.resolveProps = resolveProps;
|
|
20231
20231
|
});
|
|
20232
20232
|
|
|
20233
|
-
//
|
|
20233
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
20234
20234
|
var require_util_contains_newline = __commonJS((exports2) => {
|
|
20235
20235
|
function containsNewline(key) {
|
|
20236
20236
|
if (!key)
|
|
@@ -20270,7 +20270,7 @@ var require_util_contains_newline = __commonJS((exports2) => {
|
|
|
20270
20270
|
exports2.containsNewline = containsNewline;
|
|
20271
20271
|
});
|
|
20272
20272
|
|
|
20273
|
-
//
|
|
20273
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
20274
20274
|
var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
20275
20275
|
var utilContainsNewline = require_util_contains_newline();
|
|
20276
20276
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -20285,7 +20285,7 @@ var require_util_flow_indent_check = __commonJS((exports2) => {
|
|
|
20285
20285
|
exports2.flowIndentCheck = flowIndentCheck;
|
|
20286
20286
|
});
|
|
20287
20287
|
|
|
20288
|
-
//
|
|
20288
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
|
|
20289
20289
|
var require_util_map_includes = __commonJS((exports2) => {
|
|
20290
20290
|
var identity = require_identity();
|
|
20291
20291
|
function mapIncludes(ctx, items, search) {
|
|
@@ -20298,7 +20298,7 @@ var require_util_map_includes = __commonJS((exports2) => {
|
|
|
20298
20298
|
exports2.mapIncludes = mapIncludes;
|
|
20299
20299
|
});
|
|
20300
20300
|
|
|
20301
|
-
//
|
|
20301
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
20302
20302
|
var require_resolve_block_map = __commonJS((exports2) => {
|
|
20303
20303
|
var Pair = require_Pair();
|
|
20304
20304
|
var YAMLMap = require_YAMLMap();
|
|
@@ -20405,7 +20405,7 @@ var require_resolve_block_map = __commonJS((exports2) => {
|
|
|
20405
20405
|
exports2.resolveBlockMap = resolveBlockMap;
|
|
20406
20406
|
});
|
|
20407
20407
|
|
|
20408
|
-
//
|
|
20408
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
20409
20409
|
var require_resolve_block_seq = __commonJS((exports2) => {
|
|
20410
20410
|
var YAMLSeq = require_YAMLSeq();
|
|
20411
20411
|
var resolveProps = require_resolve_props();
|
|
@@ -20453,7 +20453,7 @@ var require_resolve_block_seq = __commonJS((exports2) => {
|
|
|
20453
20453
|
exports2.resolveBlockSeq = resolveBlockSeq;
|
|
20454
20454
|
});
|
|
20455
20455
|
|
|
20456
|
-
//
|
|
20456
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
|
|
20457
20457
|
var require_resolve_end = __commonJS((exports2) => {
|
|
20458
20458
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
20459
20459
|
let comment = "";
|
|
@@ -20493,7 +20493,7 @@ var require_resolve_end = __commonJS((exports2) => {
|
|
|
20493
20493
|
exports2.resolveEnd = resolveEnd;
|
|
20494
20494
|
});
|
|
20495
20495
|
|
|
20496
|
-
//
|
|
20496
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
20497
20497
|
var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
20498
20498
|
var identity = require_identity();
|
|
20499
20499
|
var Pair = require_Pair();
|
|
@@ -20684,7 +20684,7 @@ var require_resolve_flow_collection = __commonJS((exports2) => {
|
|
|
20684
20684
|
exports2.resolveFlowCollection = resolveFlowCollection;
|
|
20685
20685
|
});
|
|
20686
20686
|
|
|
20687
|
-
//
|
|
20687
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
|
|
20688
20688
|
var require_compose_collection = __commonJS((exports2) => {
|
|
20689
20689
|
var identity = require_identity();
|
|
20690
20690
|
var Scalar = require_Scalar();
|
|
@@ -20746,7 +20746,7 @@ var require_compose_collection = __commonJS((exports2) => {
|
|
|
20746
20746
|
exports2.composeCollection = composeCollection;
|
|
20747
20747
|
});
|
|
20748
20748
|
|
|
20749
|
-
//
|
|
20749
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
20750
20750
|
var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
20751
20751
|
var Scalar = require_Scalar();
|
|
20752
20752
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -20939,7 +20939,7 @@ var require_resolve_block_scalar = __commonJS((exports2) => {
|
|
|
20939
20939
|
exports2.resolveBlockScalar = resolveBlockScalar;
|
|
20940
20940
|
});
|
|
20941
20941
|
|
|
20942
|
-
//
|
|
20942
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
20943
20943
|
var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
20944
20944
|
var Scalar = require_Scalar();
|
|
20945
20945
|
var resolveEnd = require_resolve_end();
|
|
@@ -21155,7 +21155,7 @@ var require_resolve_flow_scalar = __commonJS((exports2) => {
|
|
|
21155
21155
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
21156
21156
|
});
|
|
21157
21157
|
|
|
21158
|
-
//
|
|
21158
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
|
|
21159
21159
|
var require_compose_scalar = __commonJS((exports2) => {
|
|
21160
21160
|
var identity = require_identity();
|
|
21161
21161
|
var Scalar = require_Scalar();
|
|
@@ -21233,7 +21233,7 @@ var require_compose_scalar = __commonJS((exports2) => {
|
|
|
21233
21233
|
exports2.composeScalar = composeScalar;
|
|
21234
21234
|
});
|
|
21235
21235
|
|
|
21236
|
-
//
|
|
21236
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
21237
21237
|
var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
21238
21238
|
function emptyScalarPosition(offset, before, pos) {
|
|
21239
21239
|
if (before) {
|
|
@@ -21260,7 +21260,7 @@ var require_util_empty_scalar_position = __commonJS((exports2) => {
|
|
|
21260
21260
|
exports2.emptyScalarPosition = emptyScalarPosition;
|
|
21261
21261
|
});
|
|
21262
21262
|
|
|
21263
|
-
//
|
|
21263
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
|
|
21264
21264
|
var require_compose_node = __commonJS((exports2) => {
|
|
21265
21265
|
var Alias = require_Alias();
|
|
21266
21266
|
var identity = require_identity();
|
|
@@ -21363,7 +21363,7 @@ var require_compose_node = __commonJS((exports2) => {
|
|
|
21363
21363
|
exports2.composeNode = composeNode;
|
|
21364
21364
|
});
|
|
21365
21365
|
|
|
21366
|
-
//
|
|
21366
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
|
|
21367
21367
|
var require_compose_doc = __commonJS((exports2) => {
|
|
21368
21368
|
var Document = require_Document();
|
|
21369
21369
|
var composeNode = require_compose_node();
|
|
@@ -21403,7 +21403,7 @@ var require_compose_doc = __commonJS((exports2) => {
|
|
|
21403
21403
|
exports2.composeDoc = composeDoc;
|
|
21404
21404
|
});
|
|
21405
21405
|
|
|
21406
|
-
//
|
|
21406
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
|
|
21407
21407
|
var require_composer2 = __commonJS((exports2) => {
|
|
21408
21408
|
var node_process = __require("process");
|
|
21409
21409
|
var directives = require_directives();
|
|
@@ -21592,7 +21592,7 @@ ${end.comment}` : end.comment;
|
|
|
21592
21592
|
exports2.Composer = Composer;
|
|
21593
21593
|
});
|
|
21594
21594
|
|
|
21595
|
-
//
|
|
21595
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
|
|
21596
21596
|
var require_cst_scalar = __commonJS((exports2) => {
|
|
21597
21597
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
21598
21598
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -21782,7 +21782,7 @@ var require_cst_scalar = __commonJS((exports2) => {
|
|
|
21782
21782
|
exports2.setScalarValue = setScalarValue;
|
|
21783
21783
|
});
|
|
21784
21784
|
|
|
21785
|
-
//
|
|
21785
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
|
|
21786
21786
|
var require_cst_stringify = __commonJS((exports2) => {
|
|
21787
21787
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
21788
21788
|
function stringifyToken(token) {
|
|
@@ -21840,7 +21840,7 @@ var require_cst_stringify = __commonJS((exports2) => {
|
|
|
21840
21840
|
exports2.stringify = stringify;
|
|
21841
21841
|
});
|
|
21842
21842
|
|
|
21843
|
-
//
|
|
21843
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
|
|
21844
21844
|
var require_cst_visit = __commonJS((exports2) => {
|
|
21845
21845
|
var BREAK = Symbol("break visit");
|
|
21846
21846
|
var SKIP = Symbol("skip children");
|
|
@@ -21899,7 +21899,7 @@ var require_cst_visit = __commonJS((exports2) => {
|
|
|
21899
21899
|
exports2.visit = visit;
|
|
21900
21900
|
});
|
|
21901
21901
|
|
|
21902
|
-
//
|
|
21902
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
|
|
21903
21903
|
var require_cst = __commonJS((exports2) => {
|
|
21904
21904
|
var cstScalar = require_cst_scalar();
|
|
21905
21905
|
var cstStringify = require_cst_stringify();
|
|
@@ -22000,7 +22000,7 @@ var require_cst = __commonJS((exports2) => {
|
|
|
22000
22000
|
exports2.tokenType = tokenType;
|
|
22001
22001
|
});
|
|
22002
22002
|
|
|
22003
|
-
//
|
|
22003
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
|
|
22004
22004
|
var require_lexer = __commonJS((exports2) => {
|
|
22005
22005
|
var cst = require_cst();
|
|
22006
22006
|
function isEmpty2(ch) {
|
|
@@ -22586,7 +22586,7 @@ var require_lexer = __commonJS((exports2) => {
|
|
|
22586
22586
|
exports2.Lexer = Lexer;
|
|
22587
22587
|
});
|
|
22588
22588
|
|
|
22589
|
-
//
|
|
22589
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
|
|
22590
22590
|
var require_line_counter = __commonJS((exports2) => {
|
|
22591
22591
|
class LineCounter {
|
|
22592
22592
|
constructor() {
|
|
@@ -22614,7 +22614,7 @@ var require_line_counter = __commonJS((exports2) => {
|
|
|
22614
22614
|
exports2.LineCounter = LineCounter;
|
|
22615
22615
|
});
|
|
22616
22616
|
|
|
22617
|
-
//
|
|
22617
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
|
|
22618
22618
|
var require_parser = __commonJS((exports2) => {
|
|
22619
22619
|
var node_process = __require("process");
|
|
22620
22620
|
var cst = require_cst();
|
|
@@ -23463,7 +23463,7 @@ var require_parser = __commonJS((exports2) => {
|
|
|
23463
23463
|
exports2.Parser = Parser;
|
|
23464
23464
|
});
|
|
23465
23465
|
|
|
23466
|
-
//
|
|
23466
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
|
|
23467
23467
|
var require_public_api = __commonJS((exports2) => {
|
|
23468
23468
|
var composer = require_composer2();
|
|
23469
23469
|
var Document = require_Document();
|
|
@@ -23557,7 +23557,7 @@ var require_public_api = __commonJS((exports2) => {
|
|
|
23557
23557
|
exports2.stringify = stringify;
|
|
23558
23558
|
});
|
|
23559
23559
|
|
|
23560
|
-
//
|
|
23560
|
+
// ../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
|
|
23561
23561
|
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;
|
|
23562
23562
|
var init_dist = __esm(() => {
|
|
23563
23563
|
composer = require_composer2();
|
|
@@ -23607,7 +23607,7 @@ var init_dist = __esm(() => {
|
|
|
23607
23607
|
});
|
|
23608
23608
|
|
|
23609
23609
|
// ../src/config/schema.ts
|
|
23610
|
-
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, MicrosoftWorkspaceConfigSchema, NotionWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, AgentMicrosoftWorkspaceConfigSchema, AgentNotionWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, AutoReleaseCheckSchema, HostControlConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
23610
|
+
var CodeRepoEntrySchema, AgentBindMountSchema, ScheduleEntrySchema, AgentSoulSchema, AgentToolsSchema, AgentMemorySchema, HookEntrySchema, AgentHooksSchema, SubagentSchema, SessionSchema, SessionContinuitySchema, TelegramChannelSchema, ChannelsSchema, TIMEZONE_REGEX, ApproverIdSchema, GoogleWorkspaceTierSchema, GoogleWorkspaceConfigSchema, MicrosoftWorkspaceConfigSchema, NotionWorkspaceConfigSchema, AgentGoogleWorkspaceConfigSchema, AgentMicrosoftWorkspaceConfigSchema, AgentNotionWorkspaceConfigSchema, ReactionsSchema, ReleaseBlock, NetworkIsolationSchema, profileFields, ProfileSchema, _omitExtends, defaultsFields, AgentDefaultsSchema, AgentSchema, TelegramConfigSchema, MemoryBackendConfigSchema, VaultConfigSchema, QuotaConfigSchema, AutoReleaseCheckSchema, HostControlConfigSchema, WebServiceConfigSchema, HostdConfigSchema, SwitchroomConfigSchema;
|
|
23611
23611
|
var init_schema = __esm(() => {
|
|
23612
23612
|
init_zod();
|
|
23613
23613
|
CodeRepoEntrySchema = exports_external.object({
|
|
@@ -23743,6 +23743,7 @@ var init_schema = __esm(() => {
|
|
|
23743
23743
|
rpm: exports_external.number().int().positive()
|
|
23744
23744
|
}).optional().describe("Per-source rate limit for the webhook ingest path (#714). " + "Off by default \u2014 when this key is absent the handler skips " + "rate-limit checks entirely. Opt in by setting `rpm` to an " + "integer requests-per-minute (token bucket per (agent, source); " + "burst equal to rpm). When enabled, exceeding the limit returns " + "429 with Retry-After header; first throttle event per " + "(agent, source) per 60s window is written to " + "<agent>/telegram/issues.jsonl. " + "Cascades from defaults.channels.telegram.webhook_rate_limit."),
|
|
23745
23745
|
webhook_via_gateway: exports_external.boolean().optional().describe("Route verified webhook events to the agent's in-container gateway " + "over a peercred-gated UDS (<agent>/telegram/webhook.sock) instead " + "of having the host-side web receiver write the agent dir directly. " + "Required under the Docker runtime: the receiver runs as the host " + "operator UID and cannot write the per-agent-UID-owned agent dir " + "(EACCES 500) nor connect the gateway socket. When true the gateway " + "(running as the agent UID) becomes the sole writer of " + "webhook-events.jsonl + dedup/cooldown state and also fires " + "webhook_dispatch. Off by default for back-compat with host-runtime " + "installs. See docs/rfcs/webhook-via-gateway-socket.md."),
|
|
23746
|
+
webhook_require_edge: exports_external.boolean().optional().describe("Cloudflare-only edge lock: require the X-Switchroom-Edge header " + "(injected by a Cloudflare Transform Rule on hooks.switchroom.ai) to " + "match the operator's edge secret at ~/.switchroom/webhook-edge-secret " + "before any HMAC verification; reject 403 otherwise. Proves the " + "request entered through our Cloudflare edge \u2014 the per-agent HMAC " + "alone can't (it proves body provenance, not network path). Stacks " + "on the GitHub-IP WAF + per-agent HMAC. Fail-closed: when required " + "but the secret file is missing/empty every request is rejected. Off " + "by default. See docs/rfcs/webhook-cloudflare-edge-lock.md."),
|
|
23746
23747
|
chat_id: exports_external.string().regex(/^-\d+$/, 'supergroup chat_id must be a negative integer as a string (e.g. "-1001234567890")').optional().describe("Per-agent supergroup ID \u2014 overrides fleet `telegram.forum_chat_id`. " + "When set, requires `default_topic_id`. Negative integer as string. " + "Forbidden when `dm_only: true`. See docs/rfcs/supergroup-mode.md."),
|
|
23747
23748
|
default_topic_id: exports_external.number().int().positive().optional().describe("Forum topic ID this agent's automated outbounds default to when " + "no more-specific alias resolves. Required when `chat_id` is set. " + "Telegram's General topic is `id=1` at MTProto but sends omit the " + "field \u2014 the outbound wrapper strips `message_thread_id === 1` " + "on send. Forbidden when `dm_only: true`."),
|
|
23748
23749
|
topic_aliases: exports_external.record(exports_external.string(), exports_external.number().int().positive()).optional().describe("Operator-friendly names for forum topic IDs (e.g. " + "`{ general: 1, planning: 17, cron: 23, admin: 31, alerts: 41 }`). " + "Referenced from per-cron `topic:` fields and the outbound router " + "for autonomous events (boot \u2192 alerts, hostd \u2192 admin, etc.). " + "Cascades per-key through defaults \u2192 profile \u2192 agent.")
|
|
@@ -24056,6 +24057,9 @@ var init_schema = __esm(() => {
|
|
|
24056
24057
|
enabled: exports_external.boolean().default(true).describe("Whether the host-control daemon is in use. Default: true (since " + "RFC C Phase 2 default-flip \u2014 the gateway's /restart, /new, /reset, " + "and /update apply slash-commands all dispatch through hostd, and " + "without it those verbs fail on docker-mode installs because the " + "agent container has no docker binary/socket). " + "When true, the compose generator emits per-agent bind mounts " + "at `~/.switchroom/hostd/<name>/sock` for every admin-flagged " + "agent. Install the daemon with `switchroom hostd install` \u2014 " + "it runs as a docker container in its own compose project " + "(`switchroom-hostd`), separate from the agent fleet's compose " + "project so `up -d --remove-orphans` cycles of the fleet " + "can't recreate the daemon mid-RPC. See RFC C \u00a75.1. " + "Set enabled: false only on legacy systemd-mode installs that " + "still rely on the in-container `spawnSwitchroomDetached` " + "shellout (removal is tracked as RFC C Phase 3)."),
|
|
24057
24058
|
auto_release_check: AutoReleaseCheckSchema.default({}).describe("Pull-based release-triggered fleet restart (#1743). hostd polls " + "the remote release tag on a fixed interval and applies + " + "restarts the fleet (graceful) when a new release is detected. " + "Opt-in: default enabled=false.")
|
|
24058
24059
|
});
|
|
24060
|
+
WebServiceConfigSchema = exports_external.object({
|
|
24061
|
+
managed: exports_external.boolean().default(false).describe("Whether `switchroom update` refreshes the web-service container " + "(dashboard + GitHub-webhook receiver) via `switchroom webd " + "install`. Default: false \u2014 existing installs run the web server " + "as the legacy `switchroom-web.service` systemd unit and must not " + "be surprised by a container takeover of host loopback 127.0.0.1:" + "8080 mid-update. Set true ONLY after cutting over to the " + "container (stop+disable the systemd unit, `switchroom webd " + "install`). The container runs in its own compose project " + "(`switchroom-web`), separate from the agent fleet, with " + "network_mode: host so it keeps owning loopback:8080 for the " + "cloudflared tunnel + tailscale serve consumers.")
|
|
24062
|
+
});
|
|
24059
24063
|
HostdConfigSchema = exports_external.object({
|
|
24060
24064
|
config_edit_enabled: exports_external.boolean().default(false).describe("Opt-in toggle for the `config_propose_edit` hostd verb (RFC " + "admin-agent-config-edit \u00a73). Default false \u2014 the verb returns " + "`E_CONFIG_EDIT_DISABLED` until the operator explicitly flips " + "this to true. When true (and once PR 1c lands the apply path), " + "admin agents can propose unified-diff patches against " + "`/state/config/switchroom.yaml`, gated by an operator approval " + "card in the primary chat. Same trust posture as `update_apply` " + "and `agent_restart`: the human-in-the-loop tap is the security " + "boundary, not the agent's judgement."),
|
|
24061
24065
|
config_edit_rate_per_hour: exports_external.number().int().min(1).max(20).default(3).describe("Per-requesting-agent rate cap for `config_propose_edit` cards " + "(RFC admin-agent-config-edit \u00a75). Default 3 cards/hour; min 1, " + "max 20. Implemented as a sqlite token bucket in PR 1c; the " + "field is wired here in PR 1a so operators can pin it before the " + "limiter is live. Above the cap, the verb returns " + "`E_RATE_LIMITED` without raising a card.")
|
|
@@ -24089,6 +24093,7 @@ var init_schema = __esm(() => {
|
|
|
24089
24093
|
quota: QuotaConfigSchema.optional().describe("Optional weekly/monthly USD spend budgets rendered in the session " + "greeting. Usage is read from ccusage at runtime; no network calls."),
|
|
24090
24094
|
host_control: HostControlConfigSchema.default({}).describe("Host-control daemon configuration. Defaults to enabled=true since " + "RFC C Phase 2 (docs/rfcs/host-control-daemon.md). Omit the block " + "to accept defaults; set `enabled: false` only on legacy systemd-" + "mode installs (removal tracked as RFC C Phase 3)."),
|
|
24091
24095
|
hostd: HostdConfigSchema.default({}).describe("hostd verb-level knobs (RFC admin-agent-config-edit). Distinct " + "from `host_control:` which governs whether the daemon runs at " + "all. Currently scopes the opt-in flag and rate cap for the new " + "`config_propose_edit` verb (PR 1a \u2014 disabled by default)."),
|
|
24096
|
+
web_service: WebServiceConfigSchema.default({}).describe("Web-service container (dashboard + GitHub-webhook receiver) config. " + "Defaults to managed=false so existing systemd-mode installs are " + "untouched. Set managed: true after cutting over to the " + "`switchroom-web` container \u2014 then `switchroom update` keeps it " + "refreshed. See `switchroom webd install`."),
|
|
24092
24097
|
google_accounts: exports_external.record(exports_external.string().regex(/^[^@\s:]+@[^@\s:]+\.[^@\s:]+$/, {
|
|
24093
24098
|
message: "Account key must be a Google account email like 'alice@example.com' (colons not allowed)"
|
|
24094
24099
|
}).transform((v) => v.trim().toLowerCase()), exports_external.object({
|
|
@@ -25917,7 +25922,7 @@ function deriveSlug(inputs, existing) {
|
|
|
25917
25922
|
return `${base}_${n}`;
|
|
25918
25923
|
}
|
|
25919
25924
|
|
|
25920
|
-
//
|
|
25925
|
+
// ../node_modules/.bun/boundary@2.0.0/node_modules/boundary/lib/index.js
|
|
25921
25926
|
var require_lib = __commonJS((exports2) => {
|
|
25922
25927
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25923
25928
|
exports2.binarySearch = exports2.upperBound = exports2.lowerBound = exports2.compare = undefined;
|
|
@@ -25964,7 +25969,7 @@ var require_lib = __commonJS((exports2) => {
|
|
|
25964
25969
|
exports2.binarySearch = binarySearch;
|
|
25965
25970
|
});
|
|
25966
25971
|
|
|
25967
|
-
//
|
|
25972
|
+
// ../node_modules/.bun/structured-source@4.0.0/node_modules/structured-source/lib/structured-source.js
|
|
25968
25973
|
var require_structured_source = __commonJS((exports2) => {
|
|
25969
25974
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25970
25975
|
exports2.StructuredSource = undefined;
|
|
@@ -26019,13 +26024,13 @@ var require_structured_source = __commonJS((exports2) => {
|
|
|
26019
26024
|
}
|
|
26020
26025
|
exports2.StructuredSource = StructuredSource;
|
|
26021
26026
|
});
|
|
26022
|
-
//
|
|
26027
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
26023
26028
|
var import_structured_source;
|
|
26024
26029
|
var init_SecretLintSourceCodeImpl = __esm(() => {
|
|
26025
26030
|
import_structured_source = __toESM(require_structured_source(), 1);
|
|
26026
26031
|
});
|
|
26027
26032
|
|
|
26028
|
-
//
|
|
26033
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/helper/promise-event-emitter.js
|
|
26029
26034
|
class EventEmitter {
|
|
26030
26035
|
#listeners = new Map;
|
|
26031
26036
|
on(type, listener) {
|
|
@@ -26064,9 +26069,9 @@ class EventEmitter {
|
|
|
26064
26069
|
return Array.from(this.#listeners.get(type) ?? []);
|
|
26065
26070
|
}
|
|
26066
26071
|
}
|
|
26067
|
-
//
|
|
26072
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
26068
26073
|
var init_RuleContext = () => {};
|
|
26069
|
-
//
|
|
26074
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/index.js
|
|
26070
26075
|
class SecretLintProfiler {
|
|
26071
26076
|
perf;
|
|
26072
26077
|
entries = [];
|
|
@@ -26123,7 +26128,7 @@ class SecretLintProfiler {
|
|
|
26123
26128
|
}
|
|
26124
26129
|
}
|
|
26125
26130
|
|
|
26126
|
-
//
|
|
26131
|
+
// ../node_modules/.bun/@secretlint+profiler@12.2.0/node_modules/@secretlint/profiler/module/node.js
|
|
26127
26132
|
import perf_hooks from "node:perf_hooks";
|
|
26128
26133
|
|
|
26129
26134
|
class NullPerformanceObserver {
|
|
@@ -26138,19 +26143,19 @@ var init_node = __esm(() => {
|
|
|
26138
26143
|
});
|
|
26139
26144
|
});
|
|
26140
26145
|
|
|
26141
|
-
//
|
|
26146
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RunningEvents.js
|
|
26142
26147
|
var init_RunningEvents = __esm(() => {
|
|
26143
26148
|
init_node();
|
|
26144
26149
|
});
|
|
26145
26150
|
|
|
26146
|
-
//
|
|
26151
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/RulePresetContext.js
|
|
26147
26152
|
var init_RulePresetContext = __esm(() => {
|
|
26148
26153
|
init_RuleContext();
|
|
26149
26154
|
});
|
|
26150
|
-
//
|
|
26155
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
26151
26156
|
var init_messages = () => {};
|
|
26152
26157
|
|
|
26153
|
-
//
|
|
26158
|
+
// ../node_modules/.bun/@secretlint+core@12.2.0/node_modules/@secretlint/core/module/index.js
|
|
26154
26159
|
var import_debug, debug;
|
|
26155
26160
|
var init_module = __esm(() => {
|
|
26156
26161
|
init_SecretLintSourceCodeImpl();
|
|
@@ -26163,7 +26168,7 @@ var init_module = __esm(() => {
|
|
|
26163
26168
|
debug = import_debug.default("@secretlint/core");
|
|
26164
26169
|
});
|
|
26165
26170
|
|
|
26166
|
-
//
|
|
26171
|
+
// ../node_modules/.bun/@secretlint+secretlint-rule-preset-recommend@12.2.0/node_modules/@secretlint/secretlint-rule-preset-recommend/module/index.js
|
|
26167
26172
|
function requireLodash_uniq() {
|
|
26168
26173
|
if (hasRequiredLodash_uniq)
|
|
26169
26174
|
return lodash_uniq;
|
|
@@ -29146,7 +29151,7 @@ async function startBootCard(chatId, threadId, bot, opts, ackMessageId, log) {
|
|
|
29146
29151
|
restartAgeMs: opts.restartAgeMs,
|
|
29147
29152
|
...opts.updateOutcomeLine ? { updateOutcomeLine: opts.updateOutcomeLine } : {}
|
|
29148
29153
|
});
|
|
29149
|
-
const silentBootCard =
|
|
29154
|
+
const silentBootCard = true;
|
|
29150
29155
|
let messageId;
|
|
29151
29156
|
try {
|
|
29152
29157
|
const sent = await bot.sendMessage(chatId, ackText, {
|
|
@@ -33281,7 +33286,7 @@ function clear(key) {
|
|
|
33281
33286
|
state.delete(key);
|
|
33282
33287
|
}
|
|
33283
33288
|
|
|
33284
|
-
//
|
|
33289
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
33285
33290
|
import { dirname as dirname2, posix, sep as sep2 } from "path";
|
|
33286
33291
|
function createModulerModifier() {
|
|
33287
33292
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -33317,7 +33322,7 @@ function normalizeWindowsPath(path) {
|
|
|
33317
33322
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
33318
33323
|
}
|
|
33319
33324
|
|
|
33320
|
-
//
|
|
33325
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
33321
33326
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
33322
33327
|
if ("flags" in flagsResponse) {
|
|
33323
33328
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -33388,7 +33393,7 @@ var parsePayload = (response) => {
|
|
|
33388
33393
|
}
|
|
33389
33394
|
};
|
|
33390
33395
|
|
|
33391
|
-
//
|
|
33396
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/gzip.mjs
|
|
33392
33397
|
function isGzipSupported() {
|
|
33393
33398
|
return "CompressionStream" in globalThis;
|
|
33394
33399
|
}
|
|
@@ -33408,7 +33413,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
33408
33413
|
}
|
|
33409
33414
|
}
|
|
33410
33415
|
|
|
33411
|
-
//
|
|
33416
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
33412
33417
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
33413
33418
|
var DIGITS = "0123456789abcdef";
|
|
33414
33419
|
|
|
@@ -33586,7 +33591,7 @@ var defaultGenerator;
|
|
|
33586
33591
|
var uuidv7 = () => uuidv7obj().toString();
|
|
33587
33592
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
33588
33593
|
|
|
33589
|
-
//
|
|
33594
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/types.mjs
|
|
33590
33595
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
33591
33596
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
33592
33597
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -33619,7 +33624,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
33619
33624
|
return PostHogPersistedProperty;
|
|
33620
33625
|
}({});
|
|
33621
33626
|
|
|
33622
|
-
//
|
|
33627
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
33623
33628
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
33624
33629
|
"amazonbot",
|
|
33625
33630
|
"amazonproductbot",
|
|
@@ -33708,7 +33713,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
33708
33713
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
33709
33714
|
});
|
|
33710
33715
|
};
|
|
33711
|
-
//
|
|
33716
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
33712
33717
|
var nativeIsArray = Array.isArray;
|
|
33713
33718
|
var ObjProto = Object.prototype;
|
|
33714
33719
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -33745,7 +33750,7 @@ function isInstanceOf(candidate, base) {
|
|
|
33745
33750
|
}
|
|
33746
33751
|
}
|
|
33747
33752
|
|
|
33748
|
-
//
|
|
33753
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
33749
33754
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
33750
33755
|
if (min > max) {
|
|
33751
33756
|
logger.warn("min cannot be greater than max.");
|
|
@@ -33765,7 +33770,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
33765
33770
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
33766
33771
|
}
|
|
33767
33772
|
|
|
33768
|
-
//
|
|
33773
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
33769
33774
|
var ONE_DAY_IN_MS = 86400000;
|
|
33770
33775
|
|
|
33771
33776
|
class BucketedRateLimiter {
|
|
@@ -33809,7 +33814,7 @@ class BucketedRateLimiter {
|
|
|
33809
33814
|
this._buckets = {};
|
|
33810
33815
|
}
|
|
33811
33816
|
}
|
|
33812
|
-
//
|
|
33817
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
33813
33818
|
class PromiseQueue {
|
|
33814
33819
|
add(promise) {
|
|
33815
33820
|
const promiseUUID = uuidv7();
|
|
@@ -33835,7 +33840,7 @@ class PromiseQueue {
|
|
|
33835
33840
|
this.promiseByIds = {};
|
|
33836
33841
|
}
|
|
33837
33842
|
}
|
|
33838
|
-
//
|
|
33843
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
33839
33844
|
function createConsole(consoleLike = console) {
|
|
33840
33845
|
const lockedMethods = {
|
|
33841
33846
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -33873,7 +33878,7 @@ var passThrough = (fn) => fn();
|
|
|
33873
33878
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
33874
33879
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
33875
33880
|
}
|
|
33876
|
-
//
|
|
33881
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
33877
33882
|
var MOBILE = "Mobile";
|
|
33878
33883
|
var IOS = "iOS";
|
|
33879
33884
|
var ANDROID = "Android";
|
|
@@ -34130,7 +34135,7 @@ var osMatchers = [
|
|
|
34130
34135
|
]
|
|
34131
34136
|
];
|
|
34132
34137
|
|
|
34133
|
-
//
|
|
34138
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/utils/index.mjs
|
|
34134
34139
|
var STRING_FORMAT = "utf8";
|
|
34135
34140
|
function assert(truthyValue, message) {
|
|
34136
34141
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -34178,7 +34183,7 @@ function allSettled(promises) {
|
|
|
34178
34183
|
reason
|
|
34179
34184
|
}))));
|
|
34180
34185
|
}
|
|
34181
|
-
//
|
|
34186
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
34182
34187
|
class SimpleEventEmitter {
|
|
34183
34188
|
constructor() {
|
|
34184
34189
|
this.events = {};
|
|
@@ -34200,7 +34205,7 @@ class SimpleEventEmitter {
|
|
|
34200
34205
|
}
|
|
34201
34206
|
}
|
|
34202
34207
|
|
|
34203
|
-
//
|
|
34208
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
34204
34209
|
class PostHogFetchHttpError extends Error {
|
|
34205
34210
|
constructor(response, reqByteLength) {
|
|
34206
34211
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -34915,7 +34920,7 @@ class PostHogCoreStateless {
|
|
|
34915
34920
|
return this.shutdownPromise;
|
|
34916
34921
|
}
|
|
34917
34922
|
}
|
|
34918
|
-
//
|
|
34923
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
34919
34924
|
var exports_error_tracking = {};
|
|
34920
34925
|
__export(exports_error_tracking, {
|
|
34921
34926
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -34939,7 +34944,7 @@ __export(exports_error_tracking, {
|
|
|
34939
34944
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
34940
34945
|
});
|
|
34941
34946
|
|
|
34942
|
-
//
|
|
34947
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
34943
34948
|
var parsedStackResults;
|
|
34944
34949
|
var lastKeysCount;
|
|
34945
34950
|
var cachedFilenameChunkIds;
|
|
@@ -34978,7 +34983,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
34978
34983
|
return cachedFilenameChunkIds;
|
|
34979
34984
|
}
|
|
34980
34985
|
|
|
34981
|
-
//
|
|
34986
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
34982
34987
|
var MAX_CAUSE_RECURSION = 4;
|
|
34983
34988
|
|
|
34984
34989
|
class ErrorPropertiesBuilder {
|
|
@@ -35100,7 +35105,7 @@ class ErrorPropertiesBuilder {
|
|
|
35100
35105
|
return context;
|
|
35101
35106
|
}
|
|
35102
35107
|
}
|
|
35103
|
-
//
|
|
35108
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
35104
35109
|
var UNKNOWN_FUNCTION = "?";
|
|
35105
35110
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
35106
35111
|
const frame = {
|
|
@@ -35116,7 +35121,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
35116
35121
|
return frame;
|
|
35117
35122
|
}
|
|
35118
35123
|
|
|
35119
|
-
//
|
|
35124
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
35120
35125
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
35121
35126
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
35122
35127
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -35129,7 +35134,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
35129
35134
|
];
|
|
35130
35135
|
};
|
|
35131
35136
|
|
|
35132
|
-
//
|
|
35137
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
35133
35138
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
35134
35139
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
35135
35140
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -35155,7 +35160,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
35155
35160
|
}
|
|
35156
35161
|
};
|
|
35157
35162
|
|
|
35158
|
-
//
|
|
35163
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
35159
35164
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
35160
35165
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
35161
35166
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -35178,14 +35183,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
35178
35183
|
}
|
|
35179
35184
|
};
|
|
35180
35185
|
|
|
35181
|
-
//
|
|
35186
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
35182
35187
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
35183
35188
|
var winjsStackLineParser = (line, platform) => {
|
|
35184
35189
|
const parts = winjsRegex.exec(line);
|
|
35185
35190
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
35186
35191
|
};
|
|
35187
35192
|
|
|
35188
|
-
//
|
|
35193
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
35189
35194
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
35190
35195
|
var opera10StackLineParser = (line, platform) => {
|
|
35191
35196
|
const parts = opera10Regex.exec(line);
|
|
@@ -35197,7 +35202,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
35197
35202
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
35198
35203
|
};
|
|
35199
35204
|
|
|
35200
|
-
//
|
|
35205
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
35201
35206
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
35202
35207
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
35203
35208
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -35266,7 +35271,7 @@ function _parseIntOrUndefined(input) {
|
|
|
35266
35271
|
return parseInt(input || "", 10) || undefined;
|
|
35267
35272
|
}
|
|
35268
35273
|
|
|
35269
|
-
//
|
|
35274
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
35270
35275
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
35271
35276
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
35272
35277
|
function reverseAndStripFrames(stack) {
|
|
@@ -35311,7 +35316,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
35311
35316
|
return reverseAndStripFrames(frames);
|
|
35312
35317
|
};
|
|
35313
35318
|
}
|
|
35314
|
-
//
|
|
35319
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
35315
35320
|
class DOMExceptionCoercer {
|
|
35316
35321
|
match(err) {
|
|
35317
35322
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -35341,7 +35346,7 @@ class DOMExceptionCoercer {
|
|
|
35341
35346
|
return isBuiltin(err, "DOMError");
|
|
35342
35347
|
}
|
|
35343
35348
|
}
|
|
35344
|
-
//
|
|
35349
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
35345
35350
|
class ErrorCoercer {
|
|
35346
35351
|
match(err) {
|
|
35347
35352
|
return isPlainError(err);
|
|
@@ -35368,7 +35373,7 @@ class ErrorCoercer {
|
|
|
35368
35373
|
return err.stacktrace || err.stack || undefined;
|
|
35369
35374
|
}
|
|
35370
35375
|
}
|
|
35371
|
-
//
|
|
35376
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
35372
35377
|
class ErrorEventCoercer {
|
|
35373
35378
|
constructor() {}
|
|
35374
35379
|
match(err) {
|
|
@@ -35386,7 +35391,7 @@ class ErrorEventCoercer {
|
|
|
35386
35391
|
return exceptionLike;
|
|
35387
35392
|
}
|
|
35388
35393
|
}
|
|
35389
|
-
//
|
|
35394
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
35390
35395
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
35391
35396
|
|
|
35392
35397
|
class StringCoercer {
|
|
@@ -35416,7 +35421,7 @@ class StringCoercer {
|
|
|
35416
35421
|
];
|
|
35417
35422
|
}
|
|
35418
35423
|
}
|
|
35419
|
-
//
|
|
35424
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
35420
35425
|
var severityLevels = [
|
|
35421
35426
|
"fatal",
|
|
35422
35427
|
"error",
|
|
@@ -35426,7 +35431,7 @@ var severityLevels = [
|
|
|
35426
35431
|
"debug"
|
|
35427
35432
|
];
|
|
35428
35433
|
|
|
35429
|
-
//
|
|
35434
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
35430
35435
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
35431
35436
|
const keys = Object.keys(err);
|
|
35432
35437
|
keys.sort();
|
|
@@ -35443,7 +35448,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
35443
35448
|
return "";
|
|
35444
35449
|
}
|
|
35445
35450
|
|
|
35446
|
-
//
|
|
35451
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
35447
35452
|
class ObjectCoercer {
|
|
35448
35453
|
match(candidate) {
|
|
35449
35454
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -35496,7 +35501,7 @@ class ObjectCoercer {
|
|
|
35496
35501
|
}
|
|
35497
35502
|
}
|
|
35498
35503
|
}
|
|
35499
|
-
//
|
|
35504
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
35500
35505
|
class EventCoercer {
|
|
35501
35506
|
match(err) {
|
|
35502
35507
|
return isEvent(err);
|
|
@@ -35511,7 +35516,7 @@ class EventCoercer {
|
|
|
35511
35516
|
};
|
|
35512
35517
|
}
|
|
35513
35518
|
}
|
|
35514
|
-
//
|
|
35519
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
35515
35520
|
class PrimitiveCoercer {
|
|
35516
35521
|
match(candidate) {
|
|
35517
35522
|
return isPrimitive(candidate);
|
|
@@ -35525,7 +35530,7 @@ class PrimitiveCoercer {
|
|
|
35525
35530
|
};
|
|
35526
35531
|
}
|
|
35527
35532
|
}
|
|
35528
|
-
//
|
|
35533
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
35529
35534
|
class PromiseRejectionEventCoercer {
|
|
35530
35535
|
match(err) {
|
|
35531
35536
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -35561,7 +35566,7 @@ class PromiseRejectionEventCoercer {
|
|
|
35561
35566
|
return error;
|
|
35562
35567
|
}
|
|
35563
35568
|
}
|
|
35564
|
-
//
|
|
35569
|
+
// ../node_modules/.bun/@posthog+core@1.25.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
35565
35570
|
class ReduceableCache {
|
|
35566
35571
|
constructor(_maxSize) {
|
|
35567
35572
|
this._maxSize = _maxSize;
|
|
@@ -35586,7 +35591,7 @@ class ReduceableCache {
|
|
|
35586
35591
|
}
|
|
35587
35592
|
}
|
|
35588
35593
|
}
|
|
35589
|
-
//
|
|
35594
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
35590
35595
|
import { createReadStream } from "node:fs";
|
|
35591
35596
|
import { createInterface } from "node:readline";
|
|
35592
35597
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -35804,7 +35809,7 @@ function snipLine(line, colno) {
|
|
|
35804
35809
|
return newLine;
|
|
35805
35810
|
}
|
|
35806
35811
|
|
|
35807
|
-
//
|
|
35812
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
35808
35813
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
35809
35814
|
let calledFatalError = false;
|
|
35810
35815
|
return Object.assign((error) => {
|
|
@@ -35836,7 +35841,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
35836
35841
|
}));
|
|
35837
35842
|
}
|
|
35838
35843
|
|
|
35839
|
-
//
|
|
35844
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
35840
35845
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
35841
35846
|
|
|
35842
35847
|
class ErrorTracking {
|
|
@@ -35905,10 +35910,10 @@ class ErrorTracking {
|
|
|
35905
35910
|
}
|
|
35906
35911
|
}
|
|
35907
35912
|
|
|
35908
|
-
//
|
|
35913
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/version.mjs
|
|
35909
35914
|
var version = "5.29.2";
|
|
35910
35915
|
|
|
35911
|
-
//
|
|
35916
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/types.mjs
|
|
35912
35917
|
var FeatureFlagError2 = {
|
|
35913
35918
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
35914
35919
|
FLAG_MISSING: "flag_missing",
|
|
@@ -35916,7 +35921,7 @@ var FeatureFlagError2 = {
|
|
|
35916
35921
|
UNKNOWN_ERROR: "unknown_error"
|
|
35917
35922
|
};
|
|
35918
35923
|
|
|
35919
|
-
//
|
|
35924
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
35920
35925
|
async function hashSHA1(text) {
|
|
35921
35926
|
const subtle = globalThis.crypto?.subtle;
|
|
35922
35927
|
if (!subtle)
|
|
@@ -35926,7 +35931,7 @@ async function hashSHA1(text) {
|
|
|
35926
35931
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
35927
35932
|
}
|
|
35928
35933
|
|
|
35929
|
-
//
|
|
35934
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
35930
35935
|
var SIXTY_SECONDS = 60000;
|
|
35931
35936
|
var LONG_SCALE = 1152921504606847000;
|
|
35932
35937
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -36800,7 +36805,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
36800
36805
|
}
|
|
36801
36806
|
}
|
|
36802
36807
|
|
|
36803
|
-
//
|
|
36808
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
36804
36809
|
class PostHogMemoryStorage {
|
|
36805
36810
|
getProperty(key) {
|
|
36806
36811
|
return this._memoryStorage[key];
|
|
@@ -36813,7 +36818,7 @@ class PostHogMemoryStorage {
|
|
|
36813
36818
|
}
|
|
36814
36819
|
}
|
|
36815
36820
|
|
|
36816
|
-
//
|
|
36821
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/client.mjs
|
|
36817
36822
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
36818
36823
|
var THIRTY_SECONDS = 30000;
|
|
36819
36824
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -37601,7 +37606,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
37601
37606
|
}
|
|
37602
37607
|
}
|
|
37603
37608
|
|
|
37604
|
-
//
|
|
37609
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
37605
37610
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
37606
37611
|
|
|
37607
37612
|
class PostHogContext {
|
|
@@ -37632,7 +37637,7 @@ class PostHogContext {
|
|
|
37632
37637
|
}
|
|
37633
37638
|
}
|
|
37634
37639
|
|
|
37635
|
-
//
|
|
37640
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
37636
37641
|
var NAME = "posthog-node";
|
|
37637
37642
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
37638
37643
|
"error"
|
|
@@ -37700,7 +37705,7 @@ class PostHogSentryIntegration {
|
|
|
37700
37705
|
};
|
|
37701
37706
|
}
|
|
37702
37707
|
}
|
|
37703
|
-
//
|
|
37708
|
+
// ../node_modules/.bun/posthog-node@5.29.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
37704
37709
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
37705
37710
|
new exports_error_tracking.EventCoercer,
|
|
37706
37711
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -38037,13 +38042,7 @@ function classifyInbound(text) {
|
|
|
38037
38042
|
|
|
38038
38043
|
// silence-poke.ts
|
|
38039
38044
|
var DEFAULT_THRESHOLDS = {
|
|
38040
|
-
|
|
38041
|
-
awarenessPing: 60000,
|
|
38042
|
-
soft: 75000,
|
|
38043
|
-
firm: 180000,
|
|
38044
|
-
fallback: 300000,
|
|
38045
|
-
subagentSoft: 300000,
|
|
38046
|
-
pokeSuccessWindowMs: 15000
|
|
38045
|
+
fallback: 300000
|
|
38047
38046
|
};
|
|
38048
38047
|
var DEFAULT_POLL_INTERVAL_MS = 5000;
|
|
38049
38048
|
var state2 = new Map;
|
|
@@ -38059,14 +38058,8 @@ function startTurn(key, now) {
|
|
|
38059
38058
|
state2.set(key, {
|
|
38060
38059
|
turnStartedAt: now,
|
|
38061
38060
|
lastOutboundAt: null,
|
|
38062
|
-
pokesFired: 0,
|
|
38063
|
-
pokeArmed: null,
|
|
38064
|
-
subagentDispatchActive: false,
|
|
38065
38061
|
lastThinkingAt: null,
|
|
38066
38062
|
fallbackFired: false,
|
|
38067
|
-
ackPokeFired: false,
|
|
38068
|
-
awarenessPingFired: false,
|
|
38069
|
-
lastPokeFiredAt: null,
|
|
38070
38063
|
inFlightTools: new Map
|
|
38071
38064
|
});
|
|
38072
38065
|
}
|
|
@@ -38074,27 +38067,9 @@ function noteOutbound2(key, now) {
|
|
|
38074
38067
|
const s = state2.get(key);
|
|
38075
38068
|
if (s == null)
|
|
38076
38069
|
return;
|
|
38077
|
-
const thresholds = activeDeps?.thresholdsMs ?? DEFAULT_THRESHOLDS;
|
|
38078
|
-
if (s.lastPokeFiredAt != null && now - s.lastPokeFiredAt <= thresholds.pokeSuccessWindowMs && activeDeps != null && s.pokesFired >= 1 && s.pokesFired <= 2) {
|
|
38079
|
-
activeDeps.emitMetric({
|
|
38080
|
-
kind: "silence_poke_succeeded",
|
|
38081
|
-
key,
|
|
38082
|
-
level: s.pokesFired === 1 ? "soft" : "firm",
|
|
38083
|
-
latency_ms: now - s.lastPokeFiredAt
|
|
38084
|
-
});
|
|
38085
|
-
}
|
|
38086
38070
|
s.lastOutboundAt = now;
|
|
38087
|
-
s.pokesFired = 0;
|
|
38088
|
-
s.pokeArmed = null;
|
|
38089
|
-
s.lastPokeFiredAt = null;
|
|
38090
38071
|
s.fallbackFired = false;
|
|
38091
38072
|
}
|
|
38092
|
-
function noteSubagentDispatch(key) {
|
|
38093
|
-
const s = state2.get(key);
|
|
38094
|
-
if (s == null)
|
|
38095
|
-
return;
|
|
38096
|
-
s.subagentDispatchActive = true;
|
|
38097
|
-
}
|
|
38098
38073
|
function noteThinking(key, now) {
|
|
38099
38074
|
const s = state2.get(key);
|
|
38100
38075
|
if (s == null)
|
|
@@ -38113,28 +38088,9 @@ function noteToolEnd(key, toolUseId, _now) {
|
|
|
38113
38088
|
return;
|
|
38114
38089
|
s.inFlightTools.delete(toolUseId);
|
|
38115
38090
|
}
|
|
38116
|
-
function consumeArmedPoke() {
|
|
38117
|
-
for (const s of state2.values()) {
|
|
38118
|
-
if (s.pokeArmed != null) {
|
|
38119
|
-
const level = s.pokeArmed.level;
|
|
38120
|
-
s.pokeArmed = null;
|
|
38121
|
-
return formatPokeText(level);
|
|
38122
|
-
}
|
|
38123
|
-
}
|
|
38124
|
-
return null;
|
|
38125
|
-
}
|
|
38126
38091
|
function endTurn(key) {
|
|
38127
38092
|
state2.delete(key);
|
|
38128
38093
|
}
|
|
38129
|
-
function formatPokeText(level) {
|
|
38130
|
-
if (level === "ack") {
|
|
38131
|
-
return "[silence-poke] You haven't sent the user anything yet this turn \u2014 " + "they are looking at a silent chat. Send a short, human one-line " + 'acknowledgement now via `reply` (e.g. "on it \u2014 checking"), in your ' + "persona's voice, before you do any more work. A good colleague " + "answers in a beat; don't leave the message hanging while you think. " + "If the full answer is genuinely seconds away, send that instead.";
|
|
38132
|
-
}
|
|
38133
|
-
if (level === "soft") {
|
|
38134
|
-
return "[silence-poke] You've been silent to the user for 75s. If you're " + "still working on this, send one short conversational reply \u2014 e.g. " + `"still going, working through X" \u2014 so they know you're alive. ` + "Keep it brief; don't restate the task. If you're about to finish " + "within the next few seconds, skip the update.";
|
|
38135
|
-
}
|
|
38136
|
-
return "[silence-poke] 3 minutes silent. Please send an update now \u2014 what " + "you're working on, or whether you're stuck. If something is taking " + "unusually long (slow tool, network, waiting on a sub-agent), say so " + "explicitly.";
|
|
38137
|
-
}
|
|
38138
38094
|
function formatFrameworkFallbackText(fallbackKind, silenceMs, inFlightTools = []) {
|
|
38139
38095
|
const minutes = Math.max(1, Math.round(silenceMs / 60000));
|
|
38140
38096
|
const suffix = `(no update from agent in ${minutes} min)`;
|
|
@@ -38173,85 +38129,8 @@ function tick(now) {
|
|
|
38173
38129
|
const silence = now - zeroAt;
|
|
38174
38130
|
if (silence < 0)
|
|
38175
38131
|
continue;
|
|
38176
|
-
|
|
38177
|
-
if (!s.ackPokeFired && s.lastOutboundAt == null && s.pokesFired === 0 && silence >= thresholds.ack) {
|
|
38178
|
-
s.pokeArmed = { level: "ack" };
|
|
38179
|
-
s.ackPokeFired = true;
|
|
38180
|
-
s.lastPokeFiredAt = now;
|
|
38181
|
-
activeDeps.emitMetric({
|
|
38182
|
-
kind: "silence_poke_fired",
|
|
38183
|
-
key,
|
|
38184
|
-
level: "ack",
|
|
38185
|
-
silence_ms: silence,
|
|
38186
|
-
subagent_wait: s.subagentDispatchActive
|
|
38187
|
-
});
|
|
38188
|
-
continue;
|
|
38189
|
-
}
|
|
38190
|
-
if (!s.awarenessPingFired && s.lastOutboundAt == null && !s.subagentDispatchActive && silence >= thresholds.awarenessPing) {
|
|
38191
|
-
s.awarenessPingFired = true;
|
|
38192
|
-
const { chatId, threadId } = parseKey(key);
|
|
38193
|
-
const recentThinking = s.lastThinkingAt != null && now - s.lastThinkingAt < 30000;
|
|
38194
|
-
const fallbackKind = recentThinking ? "thinking" : "working";
|
|
38195
|
-
const inFlightTools = Array.from(s.inFlightTools.values()).sort((a, b) => a.startedAt - b.startedAt).map((t) => ({
|
|
38196
|
-
name: t.name,
|
|
38197
|
-
label: t.label,
|
|
38198
|
-
durationMs: now - t.startedAt
|
|
38199
|
-
}));
|
|
38200
|
-
activeDeps.emitMetric({
|
|
38201
|
-
kind: "awareness_ping_sent",
|
|
38202
|
-
key,
|
|
38203
|
-
fallback_kind: fallbackKind,
|
|
38204
|
-
silence_ms: silence
|
|
38205
|
-
});
|
|
38206
|
-
try {
|
|
38207
|
-
const ret = activeDeps.onAwarenessPing({
|
|
38208
|
-
key,
|
|
38209
|
-
chatId,
|
|
38210
|
-
threadId,
|
|
38211
|
-
fallbackKind,
|
|
38212
|
-
silenceMs: silence,
|
|
38213
|
-
inFlightTools
|
|
38214
|
-
});
|
|
38215
|
-
if (ret != null && typeof ret.then === "function") {
|
|
38216
|
-
ret.catch((err) => {
|
|
38217
|
-
process.stderr.write(`silence-poke: awareness-ping handler rejected: ${err}
|
|
38218
|
-
`);
|
|
38219
|
-
});
|
|
38220
|
-
}
|
|
38221
|
-
} catch (err) {
|
|
38222
|
-
process.stderr.write(`silence-poke: awareness-ping handler threw: ${err}
|
|
38223
|
-
`);
|
|
38224
|
-
}
|
|
38225
|
-
}
|
|
38226
|
-
if (s.pokesFired === 0 && silence >= softThreshold) {
|
|
38227
|
-
s.pokeArmed = { level: "soft" };
|
|
38228
|
-
s.pokesFired = 1;
|
|
38229
|
-
s.lastPokeFiredAt = now;
|
|
38230
|
-
activeDeps.emitMetric({
|
|
38231
|
-
kind: "silence_poke_fired",
|
|
38232
|
-
key,
|
|
38233
|
-
level: "soft",
|
|
38234
|
-
silence_ms: silence,
|
|
38235
|
-
subagent_wait: s.subagentDispatchActive
|
|
38236
|
-
});
|
|
38237
|
-
continue;
|
|
38238
|
-
}
|
|
38239
|
-
if (s.pokesFired === 1 && silence >= thresholds.firm) {
|
|
38240
|
-
s.pokeArmed = { level: "firm" };
|
|
38241
|
-
s.pokesFired = 2;
|
|
38242
|
-
s.lastPokeFiredAt = now;
|
|
38243
|
-
activeDeps.emitMetric({
|
|
38244
|
-
kind: "silence_poke_fired",
|
|
38245
|
-
key,
|
|
38246
|
-
level: "firm",
|
|
38247
|
-
silence_ms: silence,
|
|
38248
|
-
subagent_wait: s.subagentDispatchActive
|
|
38249
|
-
});
|
|
38250
|
-
continue;
|
|
38251
|
-
}
|
|
38252
|
-
if (s.pokesFired === 2 && !s.fallbackFired && silence >= thresholds.fallback) {
|
|
38132
|
+
if (!s.fallbackFired && silence >= thresholds.fallback) {
|
|
38253
38133
|
s.fallbackFired = true;
|
|
38254
|
-
s.pokesFired = 3;
|
|
38255
38134
|
const { chatId, threadId } = parseKey(key);
|
|
38256
38135
|
const recentThinking = s.lastThinkingAt != null && now - s.lastThinkingAt < 30000;
|
|
38257
38136
|
const fallbackKind = recentThinking ? "thinking" : "working";
|
|
@@ -50913,11 +50792,11 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
|
|
|
50913
50792
|
}
|
|
50914
50793
|
|
|
50915
50794
|
// ../src/build-info.ts
|
|
50916
|
-
var VERSION = "0.14.
|
|
50917
|
-
var COMMIT_SHA = "
|
|
50918
|
-
var COMMIT_DATE = "2026-05-
|
|
50919
|
-
var LATEST_PR =
|
|
50920
|
-
var COMMITS_AHEAD_OF_TAG =
|
|
50795
|
+
var VERSION = "0.14.12";
|
|
50796
|
+
var COMMIT_SHA = "a6cc0835";
|
|
50797
|
+
var COMMIT_DATE = "2026-05-29T20:52:05+10:00";
|
|
50798
|
+
var LATEST_PR = null;
|
|
50799
|
+
var COMMITS_AHEAD_OF_TAG = 2;
|
|
50921
50800
|
|
|
50922
50801
|
// gateway/boot-version.ts
|
|
50923
50802
|
function formatRelativeAgo(iso) {
|
|
@@ -52780,21 +52659,6 @@ startTimer({
|
|
|
52780
52659
|
emitMetric: (event) => {
|
|
52781
52660
|
emitRuntimeMetric(event);
|
|
52782
52661
|
},
|
|
52783
|
-
onAwarenessPing: async (ctx) => {
|
|
52784
|
-
if (activeTurnStartedAt.get(ctx.key) == null && currentTurn == null) {
|
|
52785
|
-
return;
|
|
52786
|
-
}
|
|
52787
|
-
const text = formatFrameworkFallbackText(ctx.fallbackKind, ctx.silenceMs, ctx.inFlightTools);
|
|
52788
|
-
try {
|
|
52789
|
-
await robustApiCall(() => bot.api.sendMessage(ctx.chatId, text, {
|
|
52790
|
-
...ctx.threadId != null ? { message_thread_id: ctx.threadId } : {},
|
|
52791
|
-
disable_notification: true
|
|
52792
|
-
}), { chat_id: ctx.chatId, ...ctx.threadId != null ? { threadId: ctx.threadId } : {} });
|
|
52793
|
-
} catch (err) {
|
|
52794
|
-
process.stderr.write(`silence-poke awareness-ping sendMessage failed chat=${ctx.chatId} thread=${ctx.threadId}: ${err}
|
|
52795
|
-
`);
|
|
52796
|
-
}
|
|
52797
|
-
},
|
|
52798
52662
|
onFrameworkFallback: async (ctx) => {
|
|
52799
52663
|
if (activeTurnStartedAt.get(ctx.key) == null && currentTurn == null) {
|
|
52800
52664
|
process.stderr.write(`telegram gateway: silence-poke framework-fallback late-fire skipped \u2014 ` + `turn ended cleanly during silence window chat=${ctx.chatId} thread=${ctx.threadId ?? "-"} silence_ms=${ctx.silenceMs}
|
|
@@ -53101,24 +52965,6 @@ var ipcServer = createIpcServer({
|
|
|
53101
52965
|
`);
|
|
53102
52966
|
try {
|
|
53103
52967
|
const result = await executeToolCall(msg.tool, msg.args);
|
|
53104
|
-
const reminder = consumeArmedPoke();
|
|
53105
|
-
if (reminder != null && result != null && typeof result === "object") {
|
|
53106
|
-
const r = result;
|
|
53107
|
-
if (Array.isArray(r.content) && r.content.length > 0 && r.content[0].type === "text") {
|
|
53108
|
-
r.content[0].text = `${r.content[0].text}
|
|
53109
|
-
|
|
53110
|
-
<system-reminder>
|
|
53111
|
-
${reminder}
|
|
53112
|
-
</system-reminder>`;
|
|
53113
|
-
} else {
|
|
53114
|
-
r.content = [
|
|
53115
|
-
...Array.isArray(r.content) ? r.content : [],
|
|
53116
|
-
{ type: "text", text: `<system-reminder>
|
|
53117
|
-
${reminder}
|
|
53118
|
-
</system-reminder>` }
|
|
53119
|
-
];
|
|
53120
|
-
}
|
|
53121
|
-
}
|
|
53122
52968
|
return { type: "tool_call_result", id: msg.id, success: true, result };
|
|
53123
52969
|
} catch (err) {
|
|
53124
52970
|
return {
|
|
@@ -53142,9 +52988,6 @@ ${reminder}
|
|
|
53142
52988
|
if (ev.kind === "thinking") {
|
|
53143
52989
|
noteThinking(key, Date.now());
|
|
53144
52990
|
} else if (ev.kind === "tool_use") {
|
|
53145
|
-
if (ev.toolName === "Task" || ev.toolName === "Agent") {
|
|
53146
|
-
noteSubagentDispatch(key);
|
|
53147
|
-
}
|
|
53148
52991
|
if (ev.toolUseId != null && ev.toolUseId.length > 0 && !isTelegramSurfaceTool(ev.toolName)) {
|
|
53149
52992
|
const label = toolLabel(ev.toolName, ev.input, undefined, ev.precomputedLabel);
|
|
53150
52993
|
noteToolStart(key, ev.toolUseId, ev.toolName, label.length > 0 ? label : null, Date.now());
|