@cronicorn/mcp-server 1.13.1 → 1.13.3
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/index.js +101 -118
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38,11 +38,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.5.
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.7.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
import path from "path";
|
|
43
43
|
import { fileURLToPath } from "url";
|
|
44
44
|
var init_esm_shims = __esm({
|
|
45
|
-
"../../node_modules/.pnpm/tsup@8.5.
|
|
45
|
+
"../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.7.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js"() {
|
|
46
46
|
"use strict";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -2370,11 +2370,11 @@ var require_luxon = __commonJS({
|
|
|
2370
2370
|
return [null, null];
|
|
2371
2371
|
}
|
|
2372
2372
|
function simpleParse(...keys) {
|
|
2373
|
-
return (
|
|
2373
|
+
return (match2, cursor) => {
|
|
2374
2374
|
const ret = {};
|
|
2375
2375
|
let i;
|
|
2376
2376
|
for (i = 0; i < keys.length; i++) {
|
|
2377
|
-
ret[keys[i]] = parseInteger(
|
|
2377
|
+
ret[keys[i]] = parseInteger(match2[cursor + i]);
|
|
2378
2378
|
}
|
|
2379
2379
|
return [ret, null, cursor + i];
|
|
2380
2380
|
};
|
|
@@ -2392,39 +2392,39 @@ var require_luxon = __commonJS({
|
|
|
2392
2392
|
var sqlYmdRegex = /(\d{4})-(\d\d)-(\d\d)/;
|
|
2393
2393
|
var sqlTimeRegex = RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`);
|
|
2394
2394
|
var sqlTimeExtensionRegex = RegExp(`(?: ${sqlTimeRegex.source})?`);
|
|
2395
|
-
function int(
|
|
2396
|
-
const m =
|
|
2395
|
+
function int(match2, pos, fallback) {
|
|
2396
|
+
const m = match2[pos];
|
|
2397
2397
|
return isUndefined(m) ? fallback : parseInteger(m);
|
|
2398
2398
|
}
|
|
2399
|
-
function extractISOYmd(
|
|
2399
|
+
function extractISOYmd(match2, cursor) {
|
|
2400
2400
|
const item = {
|
|
2401
|
-
year: int(
|
|
2402
|
-
month: int(
|
|
2403
|
-
day: int(
|
|
2401
|
+
year: int(match2, cursor),
|
|
2402
|
+
month: int(match2, cursor + 1, 1),
|
|
2403
|
+
day: int(match2, cursor + 2, 1)
|
|
2404
2404
|
};
|
|
2405
2405
|
return [item, null, cursor + 3];
|
|
2406
2406
|
}
|
|
2407
|
-
function extractISOTime(
|
|
2407
|
+
function extractISOTime(match2, cursor) {
|
|
2408
2408
|
const item = {
|
|
2409
|
-
hours: int(
|
|
2410
|
-
minutes: int(
|
|
2411
|
-
seconds: int(
|
|
2412
|
-
milliseconds: parseMillis(
|
|
2409
|
+
hours: int(match2, cursor, 0),
|
|
2410
|
+
minutes: int(match2, cursor + 1, 0),
|
|
2411
|
+
seconds: int(match2, cursor + 2, 0),
|
|
2412
|
+
milliseconds: parseMillis(match2[cursor + 3])
|
|
2413
2413
|
};
|
|
2414
2414
|
return [item, null, cursor + 4];
|
|
2415
2415
|
}
|
|
2416
|
-
function extractISOOffset(
|
|
2417
|
-
const local = !
|
|
2416
|
+
function extractISOOffset(match2, cursor) {
|
|
2417
|
+
const local = !match2[cursor] && !match2[cursor + 1], fullOffset = signedOffset(match2[cursor + 1], match2[cursor + 2]), zone = local ? null : FixedOffsetZone.instance(fullOffset);
|
|
2418
2418
|
return [{}, zone, cursor + 3];
|
|
2419
2419
|
}
|
|
2420
|
-
function extractIANAZone(
|
|
2421
|
-
const zone =
|
|
2420
|
+
function extractIANAZone(match2, cursor) {
|
|
2421
|
+
const zone = match2[cursor] ? IANAZone.create(match2[cursor]) : null;
|
|
2422
2422
|
return [{}, zone, cursor + 1];
|
|
2423
2423
|
}
|
|
2424
2424
|
var isoTimeOnly = RegExp(`^T?${isoTimeBaseRegex.source}$`);
|
|
2425
2425
|
var isoDuration = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
2426
|
-
function extractISODuration(
|
|
2427
|
-
const [s2, yearStr, monthStr, weekStr, dayStr, hourStr, minuteStr, secondStr, millisecondsStr] =
|
|
2426
|
+
function extractISODuration(match2) {
|
|
2427
|
+
const [s2, yearStr, monthStr, weekStr, dayStr, hourStr, minuteStr, secondStr, millisecondsStr] = match2;
|
|
2428
2428
|
const hasNegativePrefix = s2[0] === "-";
|
|
2429
2429
|
const negativeSeconds = secondStr && secondStr[0] === "-";
|
|
2430
2430
|
const maybeNegate = (num, force = false) => num !== void 0 && (force || num && hasNegativePrefix) ? -num : num;
|
|
@@ -2465,8 +2465,8 @@ var require_luxon = __commonJS({
|
|
|
2465
2465
|
return result;
|
|
2466
2466
|
}
|
|
2467
2467
|
var rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
|
2468
|
-
function extractRFC2822(
|
|
2469
|
-
const [, weekdayStr, dayStr, monthStr, yearStr, hourStr, minuteStr, secondStr, obsOffset, milOffset, offHourStr, offMinuteStr] =
|
|
2468
|
+
function extractRFC2822(match2) {
|
|
2469
|
+
const [, weekdayStr, dayStr, monthStr, yearStr, hourStr, minuteStr, secondStr, obsOffset, milOffset, offHourStr, offMinuteStr] = match2, result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);
|
|
2470
2470
|
let offset2;
|
|
2471
2471
|
if (obsOffset) {
|
|
2472
2472
|
offset2 = obsOffsets[obsOffset];
|
|
@@ -2483,12 +2483,12 @@ var require_luxon = __commonJS({
|
|
|
2483
2483
|
var rfc1123 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/;
|
|
2484
2484
|
var rfc850 = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/;
|
|
2485
2485
|
var ascii = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
|
2486
|
-
function extractRFC1123Or850(
|
|
2487
|
-
const [, weekdayStr, dayStr, monthStr, yearStr, hourStr, minuteStr, secondStr] =
|
|
2486
|
+
function extractRFC1123Or850(match2) {
|
|
2487
|
+
const [, weekdayStr, dayStr, monthStr, yearStr, hourStr, minuteStr, secondStr] = match2, result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);
|
|
2488
2488
|
return [result, FixedOffsetZone.utcInstance];
|
|
2489
2489
|
}
|
|
2490
|
-
function extractASCII(
|
|
2491
|
-
const [, weekdayStr, monthStr, dayStr, hourStr, minuteStr, secondStr, yearStr] =
|
|
2490
|
+
function extractASCII(match2) {
|
|
2491
|
+
const [, weekdayStr, monthStr, dayStr, hourStr, minuteStr, secondStr, yearStr] = match2, result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);
|
|
2492
2492
|
return [result, FixedOffsetZone.utcInstance];
|
|
2493
2493
|
}
|
|
2494
2494
|
var isoYmdWithTimeExtensionRegex = combineRegexes(isoYmdRegex, isoTimeExtensionRegex);
|
|
@@ -4461,7 +4461,7 @@ var require_luxon = __commonJS({
|
|
|
4461
4461
|
const re = units.map((u) => u.regex).reduce((f, r) => `${f}(${r.source})`, "");
|
|
4462
4462
|
return [`^${re}$`, units];
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4464
|
+
function match(input, regex, handlers) {
|
|
4465
4465
|
const matches = input.match(regex);
|
|
4466
4466
|
if (matches) {
|
|
4467
4467
|
const all = {};
|
|
@@ -4592,7 +4592,7 @@ var require_luxon = __commonJS({
|
|
|
4592
4592
|
invalidReason: this.invalidReason
|
|
4593
4593
|
};
|
|
4594
4594
|
} else {
|
|
4595
|
-
const [rawMatches, matches] =
|
|
4595
|
+
const [rawMatches, matches] = match(input, this.regex, this.handlers), [result, zone, specificOffset] = matches ? dateTimeFromMatches(matches) : [null, null, void 0];
|
|
4596
4596
|
if (hasOwnProperty(matches, "a") && hasOwnProperty(matches, "H")) {
|
|
4597
4597
|
throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");
|
|
4598
4598
|
}
|
|
@@ -7222,12 +7222,12 @@ var require_expression = __commonJS({
|
|
|
7222
7222
|
case "month":
|
|
7223
7223
|
case "dayOfWeek":
|
|
7224
7224
|
var aliases = CronExpression.aliases[field];
|
|
7225
|
-
value = value.replace(/[a-z]{3}/gi, function(
|
|
7226
|
-
|
|
7227
|
-
if (typeof aliases[
|
|
7228
|
-
return aliases[
|
|
7225
|
+
value = value.replace(/[a-z]{3}/gi, function(match) {
|
|
7226
|
+
match = match.toLowerCase();
|
|
7227
|
+
if (typeof aliases[match] !== "undefined") {
|
|
7228
|
+
return aliases[match];
|
|
7229
7229
|
} else {
|
|
7230
|
-
throw new Error('Validation error, cannot resolve alias "' +
|
|
7230
|
+
throw new Error('Validation error, cannot resolve alias "' + match + '"');
|
|
7231
7231
|
}
|
|
7232
7232
|
});
|
|
7233
7233
|
break;
|
|
@@ -7982,13 +7982,13 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
7982
7982
|
return object;
|
|
7983
7983
|
}
|
|
7984
7984
|
|
|
7985
|
-
// ../../node_modules/.pnpm/default-browser@5.
|
|
7985
|
+
// ../../node_modules/.pnpm/default-browser@5.4.0/node_modules/default-browser/index.js
|
|
7986
7986
|
init_esm_shims();
|
|
7987
7987
|
import { promisify as promisify4 } from "util";
|
|
7988
7988
|
import process6 from "process";
|
|
7989
7989
|
import { execFile as execFile4 } from "child_process";
|
|
7990
7990
|
|
|
7991
|
-
// ../../node_modules/.pnpm/default-browser-id@5.0.
|
|
7991
|
+
// ../../node_modules/.pnpm/default-browser-id@5.0.1/node_modules/default-browser-id/index.js
|
|
7992
7992
|
init_esm_shims();
|
|
7993
7993
|
import { promisify } from "util";
|
|
7994
7994
|
import process4 from "process";
|
|
@@ -7999,8 +7999,12 @@ async function defaultBrowserId() {
|
|
|
7999
7999
|
throw new Error("macOS only");
|
|
8000
8000
|
}
|
|
8001
8001
|
const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
|
|
8002
|
-
const
|
|
8003
|
-
|
|
8002
|
+
const match = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
|
|
8003
|
+
const browserId = match?.groups.id ?? "com.apple.Safari";
|
|
8004
|
+
if (browserId === "com.apple.safari") {
|
|
8005
|
+
return "com.apple.Safari";
|
|
8006
|
+
}
|
|
8007
|
+
return browserId;
|
|
8004
8008
|
}
|
|
8005
8009
|
|
|
8006
8010
|
// ../../node_modules/.pnpm/bundle-name@4.1.0/node_modules/bundle-name/index.js
|
|
@@ -8031,24 +8035,31 @@ async function bundleName(bundleId) {
|
|
|
8031
8035
|
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
|
|
8032
8036
|
}
|
|
8033
8037
|
|
|
8034
|
-
// ../../node_modules/.pnpm/default-browser@5.
|
|
8038
|
+
// ../../node_modules/.pnpm/default-browser@5.4.0/node_modules/default-browser/windows.js
|
|
8035
8039
|
init_esm_shims();
|
|
8036
8040
|
import { promisify as promisify3 } from "util";
|
|
8037
8041
|
import { execFile as execFile3 } from "child_process";
|
|
8038
8042
|
var execFileAsync3 = promisify3(execFile3);
|
|
8039
8043
|
var windowsBrowserProgIds = {
|
|
8040
|
-
AppXq0fevzme2pys62n3e0fbqa7peapykr8v: { name: "Edge", id: "com.microsoft.edge.old" },
|
|
8041
|
-
MSEdgeDHTML: { name: "Edge", id: "com.microsoft.edge" },
|
|
8042
|
-
// On macOS, it's "com.microsoft.edgemac"
|
|
8043
8044
|
MSEdgeHTM: { name: "Edge", id: "com.microsoft.edge" },
|
|
8044
|
-
//
|
|
8045
|
-
|
|
8046
|
-
|
|
8045
|
+
// The missing `L` is correct.
|
|
8046
|
+
MSEdgeBHTML: { name: "Edge Beta", id: "com.microsoft.edge.beta" },
|
|
8047
|
+
MSEdgeDHTML: { name: "Edge Dev", id: "com.microsoft.edge.dev" },
|
|
8048
|
+
AppXq0fevzme2pys62n3e0fbqa7peapykr8v: { name: "Edge", id: "com.microsoft.edge.old" },
|
|
8047
8049
|
ChromeHTML: { name: "Chrome", id: "com.google.chrome" },
|
|
8050
|
+
ChromeBHTML: { name: "Chrome Beta", id: "com.google.chrome.beta" },
|
|
8051
|
+
ChromeDHTML: { name: "Chrome Dev", id: "com.google.chrome.dev" },
|
|
8052
|
+
ChromiumHTM: { name: "Chromium", id: "org.chromium.Chromium" },
|
|
8048
8053
|
BraveHTML: { name: "Brave", id: "com.brave.Browser" },
|
|
8049
8054
|
BraveBHTML: { name: "Brave Beta", id: "com.brave.Browser.beta" },
|
|
8050
|
-
|
|
8055
|
+
BraveDHTML: { name: "Brave Dev", id: "com.brave.Browser.dev" },
|
|
8056
|
+
BraveSSHTM: { name: "Brave Nightly", id: "com.brave.Browser.nightly" },
|
|
8057
|
+
FirefoxURL: { name: "Firefox", id: "org.mozilla.firefox" },
|
|
8058
|
+
OperaStable: { name: "Opera", id: "com.operasoftware.Opera" },
|
|
8059
|
+
VivaldiHTM: { name: "Vivaldi", id: "com.vivaldi.Vivaldi" },
|
|
8060
|
+
"IE.HTTP": { name: "Internet Explorer", id: "com.microsoft.ie" }
|
|
8051
8061
|
};
|
|
8062
|
+
var _windowsBrowserProgIdMap = new Map(Object.entries(windowsBrowserProgIds));
|
|
8052
8063
|
var UnknownBrowserError = class extends Error {
|
|
8053
8064
|
};
|
|
8054
8065
|
async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
@@ -8058,11 +8069,11 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
|
8058
8069
|
"/v",
|
|
8059
8070
|
"ProgId"
|
|
8060
8071
|
]);
|
|
8061
|
-
const
|
|
8062
|
-
if (!
|
|
8072
|
+
const match = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
|
|
8073
|
+
if (!match) {
|
|
8063
8074
|
throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(stdout)}`);
|
|
8064
8075
|
}
|
|
8065
|
-
const { id } =
|
|
8076
|
+
const { id } = match.groups;
|
|
8066
8077
|
const browser = windowsBrowserProgIds[id];
|
|
8067
8078
|
if (!browser) {
|
|
8068
8079
|
throw new UnknownBrowserError(`Unknown browser ID: ${id}`);
|
|
@@ -8070,7 +8081,7 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
|
8070
8081
|
return browser;
|
|
8071
8082
|
}
|
|
8072
8083
|
|
|
8073
|
-
// ../../node_modules/.pnpm/default-browser@5.
|
|
8084
|
+
// ../../node_modules/.pnpm/default-browser@5.4.0/node_modules/default-browser/index.js
|
|
8074
8085
|
var execFileAsync4 = promisify4(execFile4);
|
|
8075
8086
|
var titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
|
|
8076
8087
|
async function defaultBrowser2() {
|
|
@@ -13236,24 +13247,6 @@ async function parseMarkdownFile(filePath) {
|
|
|
13236
13247
|
description: data.description || "",
|
|
13237
13248
|
mimeType: mcpMetadata.mimeType || "text/markdown"
|
|
13238
13249
|
};
|
|
13239
|
-
const annotations = {};
|
|
13240
|
-
if (data.tags && Array.isArray(data.tags)) {
|
|
13241
|
-
const audienceTags = data.tags.filter(
|
|
13242
|
-
(t) => ["user", "assistant"].includes(t)
|
|
13243
|
-
);
|
|
13244
|
-
if (audienceTags.length > 0) {
|
|
13245
|
-
annotations.audience = audienceTags;
|
|
13246
|
-
}
|
|
13247
|
-
}
|
|
13248
|
-
if (mcpMetadata.priority !== void 0 && typeof mcpMetadata.priority === "number") {
|
|
13249
|
-
annotations.priority = mcpMetadata.priority;
|
|
13250
|
-
}
|
|
13251
|
-
if (mcpMetadata.lastModified) {
|
|
13252
|
-
annotations.lastModified = mcpMetadata.lastModified;
|
|
13253
|
-
}
|
|
13254
|
-
if (Object.keys(annotations).length > 0) {
|
|
13255
|
-
resource.annotations = annotations;
|
|
13256
|
-
}
|
|
13257
13250
|
return {
|
|
13258
13251
|
metadata: resource,
|
|
13259
13252
|
content: markdownContent.trim()
|
|
@@ -13293,8 +13286,7 @@ async function registerResources(server) {
|
|
|
13293
13286
|
{
|
|
13294
13287
|
title: doc.metadata.title,
|
|
13295
13288
|
description: doc.metadata.description,
|
|
13296
|
-
mimeType: doc.metadata.mimeType
|
|
13297
|
-
annotations: doc.metadata.annotations
|
|
13289
|
+
mimeType: doc.metadata.mimeType
|
|
13298
13290
|
},
|
|
13299
13291
|
async () => ({
|
|
13300
13292
|
contents: [
|
|
@@ -13545,7 +13537,7 @@ var HealthSummaryResponseBaseSchema = external_exports.object({
|
|
|
13545
13537
|
// ../../packages/api-contracts/dist/jobs/schemas.js
|
|
13546
13538
|
init_esm_shims();
|
|
13547
13539
|
|
|
13548
|
-
// ../../node_modules/.pnpm/@hono+zod-openapi@0.19.10_hono@4.
|
|
13540
|
+
// ../../node_modules/.pnpm/@hono+zod-openapi@0.19.10_hono@4.8.5_zod@3.25.76/node_modules/@hono/zod-openapi/dist/index.js
|
|
13549
13541
|
init_esm_shims();
|
|
13550
13542
|
|
|
13551
13543
|
// ../../node_modules/.pnpm/@asteasolutions+zod-to-openapi@7.3.4_zod@3.25.76/node_modules/@asteasolutions/zod-to-openapi/dist/index.mjs
|
|
@@ -13633,32 +13625,32 @@ function extendZodWithOpenApi(zod) {
|
|
|
13633
13625
|
};
|
|
13634
13626
|
}
|
|
13635
13627
|
|
|
13636
|
-
// ../../node_modules/.pnpm/@hono+zod-validator@0.7.
|
|
13628
|
+
// ../../node_modules/.pnpm/@hono+zod-validator@0.7.5_hono@4.8.5_zod@3.25.76/node_modules/@hono/zod-validator/dist/index.js
|
|
13637
13629
|
init_esm_shims();
|
|
13638
13630
|
|
|
13639
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13631
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/validator/index.js
|
|
13640
13632
|
init_esm_shims();
|
|
13641
13633
|
|
|
13642
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13634
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/validator/validator.js
|
|
13643
13635
|
init_esm_shims();
|
|
13644
13636
|
|
|
13645
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13637
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/helper/cookie/index.js
|
|
13646
13638
|
init_esm_shims();
|
|
13647
13639
|
|
|
13648
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13640
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/cookie.js
|
|
13649
13641
|
init_esm_shims();
|
|
13650
13642
|
|
|
13651
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13643
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/url.js
|
|
13652
13644
|
init_esm_shims();
|
|
13653
13645
|
var tryDecode = (str, decoder) => {
|
|
13654
13646
|
try {
|
|
13655
13647
|
return decoder(str);
|
|
13656
13648
|
} catch {
|
|
13657
|
-
return str.replace(/(?:%[0-9A-Fa-f]{2})+/g, (
|
|
13649
|
+
return str.replace(/(?:%[0-9A-Fa-f]{2})+/g, (match) => {
|
|
13658
13650
|
try {
|
|
13659
|
-
return decoder(
|
|
13651
|
+
return decoder(match);
|
|
13660
13652
|
} catch {
|
|
13661
|
-
return
|
|
13653
|
+
return match;
|
|
13662
13654
|
}
|
|
13663
13655
|
});
|
|
13664
13656
|
}
|
|
@@ -13675,12 +13667,9 @@ var _decodeURI = (value) => {
|
|
|
13675
13667
|
var _getQueryParam = (url, key, multiple) => {
|
|
13676
13668
|
let encoded;
|
|
13677
13669
|
if (!multiple && key && !/[%+]/.test(key)) {
|
|
13678
|
-
let keyIndex2 = url.indexOf(
|
|
13670
|
+
let keyIndex2 = url.indexOf(`?${key}`, 8);
|
|
13679
13671
|
if (keyIndex2 === -1) {
|
|
13680
|
-
|
|
13681
|
-
}
|
|
13682
|
-
if (!url.startsWith(key, keyIndex2 + 1)) {
|
|
13683
|
-
keyIndex2 = url.indexOf(`&${key}`, keyIndex2 + 1);
|
|
13672
|
+
keyIndex2 = url.indexOf(`&${key}`, 8);
|
|
13684
13673
|
}
|
|
13685
13674
|
while (keyIndex2 !== -1) {
|
|
13686
13675
|
const trailingKeyCode = url.charCodeAt(keyIndex2 + key.length + 1);
|
|
@@ -13745,38 +13734,38 @@ var getQueryParams = (url, key) => {
|
|
|
13745
13734
|
};
|
|
13746
13735
|
var decodeURIComponent_ = decodeURIComponent;
|
|
13747
13736
|
|
|
13748
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13737
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/http-exception.js
|
|
13749
13738
|
init_esm_shims();
|
|
13750
13739
|
|
|
13751
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13740
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/buffer.js
|
|
13752
13741
|
init_esm_shims();
|
|
13753
13742
|
|
|
13754
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13743
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/crypto.js
|
|
13755
13744
|
init_esm_shims();
|
|
13756
13745
|
|
|
13757
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13746
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/index.js
|
|
13758
13747
|
init_esm_shims();
|
|
13759
13748
|
|
|
13760
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13749
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/hono.js
|
|
13761
13750
|
init_esm_shims();
|
|
13762
13751
|
|
|
13763
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13752
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/hono-base.js
|
|
13764
13753
|
init_esm_shims();
|
|
13765
13754
|
|
|
13766
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13755
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/compose.js
|
|
13767
13756
|
init_esm_shims();
|
|
13768
13757
|
|
|
13769
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13758
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/context.js
|
|
13770
13759
|
init_esm_shims();
|
|
13771
13760
|
|
|
13772
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13761
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/request.js
|
|
13773
13762
|
init_esm_shims();
|
|
13774
13763
|
|
|
13775
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13764
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/request/constants.js
|
|
13776
13765
|
init_esm_shims();
|
|
13777
13766
|
var GET_MATCH_RESULT = Symbol();
|
|
13778
13767
|
|
|
13779
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13768
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/body.js
|
|
13780
13769
|
init_esm_shims();
|
|
13781
13770
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
13782
13771
|
const { all = false, dot = false } = options;
|
|
@@ -13846,7 +13835,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
13846
13835
|
});
|
|
13847
13836
|
};
|
|
13848
13837
|
|
|
13849
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13838
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/request.js
|
|
13850
13839
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
13851
13840
|
var HonoRequest = class {
|
|
13852
13841
|
raw;
|
|
@@ -13867,14 +13856,14 @@ var HonoRequest = class {
|
|
|
13867
13856
|
#getDecodedParam(key) {
|
|
13868
13857
|
const paramKey = this.#matchResult[0][this.routeIndex][1][key];
|
|
13869
13858
|
const param = this.#getParamValue(paramKey);
|
|
13870
|
-
return param
|
|
13859
|
+
return param ? /\%/.test(param) ? tryDecodeURIComponent(param) : param : void 0;
|
|
13871
13860
|
}
|
|
13872
13861
|
#getAllDecodedParams() {
|
|
13873
13862
|
const decoded = {};
|
|
13874
13863
|
const keys = Object.keys(this.#matchResult[0][this.routeIndex][1]);
|
|
13875
13864
|
for (const key of keys) {
|
|
13876
13865
|
const value = this.#getParamValue(this.#matchResult[0][this.routeIndex][1][key]);
|
|
13877
|
-
if (value
|
|
13866
|
+
if (value && typeof value === "string") {
|
|
13878
13867
|
decoded[key] = /\%/.test(value) ? tryDecodeURIComponent(value) : value;
|
|
13879
13868
|
}
|
|
13880
13869
|
}
|
|
@@ -13957,51 +13946,45 @@ var HonoRequest = class {
|
|
|
13957
13946
|
}
|
|
13958
13947
|
};
|
|
13959
13948
|
|
|
13960
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13949
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/html.js
|
|
13961
13950
|
init_esm_shims();
|
|
13962
13951
|
|
|
13963
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13952
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router.js
|
|
13964
13953
|
init_esm_shims();
|
|
13965
13954
|
|
|
13966
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13955
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/utils/constants.js
|
|
13967
13956
|
init_esm_shims();
|
|
13968
13957
|
|
|
13969
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13958
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/reg-exp-router/index.js
|
|
13970
13959
|
init_esm_shims();
|
|
13971
13960
|
|
|
13972
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13961
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
13973
13962
|
init_esm_shims();
|
|
13974
13963
|
|
|
13975
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13976
|
-
init_esm_shims();
|
|
13977
|
-
|
|
13978
|
-
// ../../node_modules/.pnpm/hono@4.10.6/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
13964
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
13979
13965
|
init_esm_shims();
|
|
13980
13966
|
var PATH_ERROR = Symbol();
|
|
13981
13967
|
var regExpMetaChars = new Set(".\\+*[^]$()");
|
|
13982
13968
|
|
|
13983
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13984
|
-
init_esm_shims();
|
|
13985
|
-
|
|
13986
|
-
// ../../node_modules/.pnpm/hono@4.10.6/node_modules/hono/dist/router/reg-exp-router/prepared-router.js
|
|
13969
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
13987
13970
|
init_esm_shims();
|
|
13988
13971
|
|
|
13989
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13972
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/smart-router/index.js
|
|
13990
13973
|
init_esm_shims();
|
|
13991
13974
|
|
|
13992
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13975
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/smart-router/router.js
|
|
13993
13976
|
init_esm_shims();
|
|
13994
13977
|
|
|
13995
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13978
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/trie-router/index.js
|
|
13996
13979
|
init_esm_shims();
|
|
13997
13980
|
|
|
13998
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13981
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/trie-router/router.js
|
|
13999
13982
|
init_esm_shims();
|
|
14000
13983
|
|
|
14001
|
-
// ../../node_modules/.pnpm/hono@4.
|
|
13984
|
+
// ../../node_modules/.pnpm/hono@4.8.5/node_modules/hono/dist/router/trie-router/node.js
|
|
14002
13985
|
init_esm_shims();
|
|
14003
13986
|
|
|
14004
|
-
// ../../node_modules/.pnpm/@hono+zod-openapi@0.19.10_hono@4.
|
|
13987
|
+
// ../../node_modules/.pnpm/@hono+zod-openapi@0.19.10_hono@4.8.5_zod@3.25.76/node_modules/@hono/zod-openapi/dist/index.js
|
|
14005
13988
|
extendZodWithOpenApi(external_exports);
|
|
14006
13989
|
|
|
14007
13990
|
// ../../packages/api-contracts/dist/jobs/schemas.js
|