@spotlightjs/spotlight 4.11.5 → 4.11.6

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.
Files changed (29) hide show
  1. package/dist/_virtual/index10.js +3 -3
  2. package/dist/_virtual/index6.js +3 -3
  3. package/dist/_virtual/index7.js +3 -3
  4. package/dist/_virtual/index8.js +3 -3
  5. package/dist/_virtual/index9.js +3 -3
  6. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +2 -2
  7. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +2 -2
  8. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +2 -2
  9. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +2 -2
  10. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +2 -2
  11. package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/helper/streaming/sse.js.map +1 -1
  12. package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/middleware/cors/index.js +3 -6
  13. package/dist/node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
  14. package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/html.js.map +1 -1
  15. package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/stream.js +5 -3
  16. package/dist/node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/stream.js.map +1 -0
  17. package/dist/sentry-config.js +2 -2
  18. package/dist/server/cli/run.js +2 -2
  19. package/dist/server/cli.js +2 -2
  20. package/dist/server/main.js +2 -2
  21. package/dist/server/mcp/mcp.js +2 -2
  22. package/dist/server/routes/stream/streaming.js +2 -2
  23. package/dist/ui/assets/index.js +47 -47
  24. package/dist/ui/assets/instrumentation.js +2 -2
  25. package/package.json +4 -4
  26. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
  27. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +0 -1
  28. /package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
  29. /package/dist/node_modules/.pnpm/{hono@4.12.18 → hono@4.12.25}/node_modules/hono/dist/utils/html.js +0 -0
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3f174db-b34a-4f42-b65a-21ecec032299", e._sentryDebugIdIdentifier = "sentry-dbid-c3f174db-b34a-4f42-b65a-21ecec032299");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d04ff315-43c6-4691-8179-d1e13dc964b8", e._sentryDebugIdIdentifier = "sentry-dbid-d04ff315-43c6-4691-8179-d1e13dc964b8");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var format = {};
9
+ var compile = {};
10
10
  export {
11
- format as __exports
11
+ compile as __exports
12
12
  };
13
13
  //# sourceMappingURL=index10.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d04ff315-43c6-4691-8179-d1e13dc964b8", e._sentryDebugIdIdentifier = "sentry-dbid-d04ff315-43c6-4691-8179-d1e13dc964b8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f55ef64b-5dab-42bd-ad6c-8027af9a502a", e._sentryDebugIdIdentifier = "sentry-dbid-f55ef64b-5dab-42bd-ad6c-8027af9a502a");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var compile = {};
9
+ var core = {};
10
10
  export {
11
- compile as __exports
11
+ core as __exports
12
12
  };
13
13
  //# sourceMappingURL=index6.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f55ef64b-5dab-42bd-ad6c-8027af9a502a", e._sentryDebugIdIdentifier = "sentry-dbid-f55ef64b-5dab-42bd-ad6c-8027af9a502a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c8c5265-8e9d-4515-8aeb-03412e002185", e._sentryDebugIdIdentifier = "sentry-dbid-7c8c5265-8e9d-4515-8aeb-03412e002185");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var core = {};
9
+ var validation = {};
10
10
  export {
11
- core as __exports
11
+ validation as __exports
12
12
  };
13
13
  //# sourceMappingURL=index7.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c8c5265-8e9d-4515-8aeb-03412e002185", e._sentryDebugIdIdentifier = "sentry-dbid-7c8c5265-8e9d-4515-8aeb-03412e002185");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee898fdd-0d2f-40fe-9d7b-7815db645dca", e._sentryDebugIdIdentifier = "sentry-dbid-ee898fdd-0d2f-40fe-9d7b-7815db645dca");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var validation = {};
9
+ var applicator = {};
10
10
  export {
11
- validation as __exports
11
+ applicator as __exports
12
12
  };
13
13
  //# sourceMappingURL=index8.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee898fdd-0d2f-40fe-9d7b-7815db645dca", e._sentryDebugIdIdentifier = "sentry-dbid-ee898fdd-0d2f-40fe-9d7b-7815db645dca");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3f174db-b34a-4f42-b65a-21ecec032299", e._sentryDebugIdIdentifier = "sentry-dbid-c3f174db-b34a-4f42-b65a-21ecec032299");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var applicator = {};
9
+ var format = {};
10
10
  export {
11
- applicator as __exports
11
+ format as __exports
12
12
  };
13
13
  //# sourceMappingURL=index9.js.map
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0a66a7c4-0248-4474-b828-532f3c5b8911", e._sentryDebugIdIdentifier = "sentry-dbid-0a66a7c4-0248-4474-b828-532f3c5b8911");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0a50371a-2c40-4849-9b6f-384547d5a70a", e._sentryDebugIdIdentifier = "sentry-dbid-0a50371a-2c40-4849-9b6f-384547d5a70a");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as compile } from "../../../../../../../_virtual/index6.js";
9
+ import { __exports as compile } from "../../../../../../../_virtual/index10.js";
10
10
  import { __require as requireCodegen } from "./codegen/index.js";
11
11
  import { __require as requireValidation_error } from "../runtime/validation_error.js";
12
12
  import { __require as requireNames } from "./names.js";
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5d12cf5b-e8a4-43b6-bfbf-097aa7ee9fbd", e._sentryDebugIdIdentifier = "sentry-dbid-5d12cf5b-e8a4-43b6-bfbf-097aa7ee9fbd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e16fa4d5-cf50-4eaa-b5ce-19f798820834", e._sentryDebugIdIdentifier = "sentry-dbid-e16fa4d5-cf50-4eaa-b5ce-19f798820834");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as applicator } from "../../../../../../../../_virtual/index9.js";
9
+ import { __exports as applicator } from "../../../../../../../../_virtual/index8.js";
10
10
  import { __require as requireAdditionalItems } from "./additionalItems.js";
11
11
  import { __require as requirePrefixItems } from "./prefixItems.js";
12
12
  import { __require as requireItems } from "./items.js";
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6d316ae-0dc1-44e6-a040-0c02de225ebd", e._sentryDebugIdIdentifier = "sentry-dbid-d6d316ae-0dc1-44e6-a040-0c02de225ebd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e4437330-283d-4540-86fe-689d1a1d6b1e", e._sentryDebugIdIdentifier = "sentry-dbid-e4437330-283d-4540-86fe-689d1a1d6b1e");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as core } from "../../../../../../../../_virtual/index7.js";
9
+ import { __exports as core } from "../../../../../../../../_virtual/index6.js";
10
10
  import { __require as requireId } from "./id.js";
11
11
  import { __require as requireRef } from "./ref.js";
12
12
  var hasRequiredCore;
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e0e92fe2-baeb-4140-bc49-da7280cf40a3", e._sentryDebugIdIdentifier = "sentry-dbid-e0e92fe2-baeb-4140-bc49-da7280cf40a3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6663e577-cfad-43fa-9810-eed6d1fbcf66", e._sentryDebugIdIdentifier = "sentry-dbid-6663e577-cfad-43fa-9810-eed6d1fbcf66");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as format } from "../../../../../../../../_virtual/index10.js";
9
+ import { __exports as format } from "../../../../../../../../_virtual/index9.js";
10
10
  import { __require as requireFormat$1 } from "./format.js";
11
11
  var hasRequiredFormat;
12
12
  function requireFormat() {
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f7afebe9-06b2-40af-9358-f41e771e7a83", e._sentryDebugIdIdentifier = "sentry-dbid-f7afebe9-06b2-40af-9358-f41e771e7a83");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "98a3e914-0081-4d7c-a3e7-88ac887dcc95", e._sentryDebugIdIdentifier = "sentry-dbid-98a3e914-0081-4d7c-a3e7-88ac887dcc95");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as validation } from "../../../../../../../../_virtual/index8.js";
9
+ import { __exports as validation } from "../../../../../../../../_virtual/index7.js";
10
10
  import { __require as requireLimitNumber } from "./limitNumber.js";
11
11
  import { __require as requireMultipleOf } from "./multipleOf.js";
12
12
  import { __require as requireLimitLength } from "./limitLength.js";
@@ -1 +1 @@
1
- {"version":3,"file":"sse.js","sources":["../../../../../../../../../../../node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js"],"sourcesContent":["// src/helper/streaming/sse.ts\nimport { HtmlEscapedCallbackPhase, resolveCallback } from \"../../utils/html.js\";\nimport { StreamingApi } from \"../../utils/stream.js\";\nimport { isOldBunVersion } from \"./utils.js\";\nvar SSEStreamingApi = class extends StreamingApi {\n constructor(writable, readable) {\n super(writable, readable);\n }\n async writeSSE(message) {\n const data = await resolveCallback(message.data, HtmlEscapedCallbackPhase.Stringify, false, {});\n const dataLines = data.split(/\\r\\n|\\r|\\n/).map((line) => {\n return `data: ${line}`;\n }).join(\"\\n\");\n for (const key of [\"event\", \"id\", \"retry\"]) {\n if (message[key] && /[\\r\\n]/.test(message[key])) {\n throw new Error(`${key} must not contain \"\\\\r\" or \"\\\\n\"`);\n }\n }\n const sseData = [\n message.event && `event: ${message.event}`,\n dataLines,\n message.id && `id: ${message.id}`,\n message.retry && `retry: ${message.retry}`\n ].filter(Boolean).join(\"\\n\") + \"\\n\\n\";\n await this.write(sseData);\n }\n};\nvar run = async (stream, cb, onError) => {\n try {\n await cb(stream);\n } catch (e) {\n if (e instanceof Error && onError) {\n await onError(e, stream);\n await stream.writeSSE({\n event: \"error\",\n data: e.message\n });\n } else {\n console.error(e);\n }\n } finally {\n stream.close();\n }\n};\nvar contextStash = /* @__PURE__ */ new WeakMap();\nvar streamSSE = (c, cb, onError) => {\n const { readable, writable } = new TransformStream();\n const stream = new SSEStreamingApi(writable, readable);\n if (isOldBunVersion()) {\n c.req.raw.signal.addEventListener(\"abort\", () => {\n if (!stream.closed) {\n stream.abort();\n }\n });\n }\n contextStash.set(stream.responseReadable, c);\n c.header(\"Transfer-Encoding\", \"chunked\");\n c.header(\"Content-Type\", \"text/event-stream\");\n c.header(\"Cache-Control\", \"no-cache\");\n c.header(\"Connection\", \"keep-alive\");\n run(stream, cb, onError);\n return c.newResponse(stream.responseReadable);\n};\nexport {\n SSEStreamingApi,\n streamSSE\n};\n"],"names":[],"mappings":";;;;;;;;;;AAIG,IAAC,kBAAkB,cAAc,aAAa;AAAA,EAC/C,YAAY,UAAU,UAAU;AAC9B,UAAM,UAAU,QAAQ;AAAA,EAC1B;AAAA,EACA,MAAM,SAAS,SAAS;AACtB,UAAM,OAAO,MAAM,gBAAgB,QAAQ,MAAM,yBAAyB,WAAW,OAAO,EAAE;AAC9F,UAAM,YAAY,KAAK,MAAM,YAAY,EAAE,IAAI,CAAC,SAAS;AACvD,aAAO,SAAS,IAAI;AAAA,IACtB,CAAC,EAAE,KAAK,IAAI;AACZ,eAAW,OAAO,CAAC,SAAS,MAAM,OAAO,GAAG;AAC1C,UAAI,QAAQ,GAAG,KAAK,SAAS,KAAK,QAAQ,GAAG,CAAC,GAAG;AAC/C,cAAM,IAAI,MAAM,GAAG,GAAG,kCAAkC;AAAA,MAC1D;AAAA,IACF;AACA,UAAM,UAAU;AAAA,MACd,QAAQ,SAAS,UAAU,QAAQ,KAAK;AAAA,MACxC;AAAA,MACA,QAAQ,MAAM,OAAO,QAAQ,EAAE;AAAA,MAC/B,QAAQ,SAAS,UAAU,QAAQ,KAAK;AAAA,IAC9C,EAAM,OAAO,OAAO,EAAE,KAAK,IAAI,IAAI;AAC/B,UAAM,KAAK,MAAM,OAAO;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sse.js","sources":["../../../../../../../../../../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/helper/streaming/sse.js"],"sourcesContent":["// src/helper/streaming/sse.ts\nimport { HtmlEscapedCallbackPhase, resolveCallback } from \"../../utils/html.js\";\nimport { StreamingApi } from \"../../utils/stream.js\";\nimport { isOldBunVersion } from \"./utils.js\";\nvar SSEStreamingApi = class extends StreamingApi {\n constructor(writable, readable) {\n super(writable, readable);\n }\n async writeSSE(message) {\n const data = await resolveCallback(message.data, HtmlEscapedCallbackPhase.Stringify, false, {});\n const dataLines = data.split(/\\r\\n|\\r|\\n/).map((line) => {\n return `data: ${line}`;\n }).join(\"\\n\");\n for (const key of [\"event\", \"id\", \"retry\"]) {\n if (message[key] && /[\\r\\n]/.test(message[key])) {\n throw new Error(`${key} must not contain \"\\\\r\" or \"\\\\n\"`);\n }\n }\n const sseData = [\n message.event && `event: ${message.event}`,\n dataLines,\n message.id && `id: ${message.id}`,\n message.retry && `retry: ${message.retry}`\n ].filter(Boolean).join(\"\\n\") + \"\\n\\n\";\n await this.write(sseData);\n }\n};\nvar run = async (stream, cb, onError) => {\n try {\n await cb(stream);\n } catch (e) {\n if (e instanceof Error && onError) {\n await onError(e, stream);\n await stream.writeSSE({\n event: \"error\",\n data: e.message\n });\n } else {\n console.error(e);\n }\n } finally {\n stream.close();\n }\n};\nvar contextStash = /* @__PURE__ */ new WeakMap();\nvar streamSSE = (c, cb, onError) => {\n const { readable, writable } = new TransformStream();\n const stream = new SSEStreamingApi(writable, readable);\n if (isOldBunVersion()) {\n c.req.raw.signal.addEventListener(\"abort\", () => {\n if (!stream.closed) {\n stream.abort();\n }\n });\n }\n contextStash.set(stream.responseReadable, c);\n c.header(\"Transfer-Encoding\", \"chunked\");\n c.header(\"Content-Type\", \"text/event-stream\");\n c.header(\"Cache-Control\", \"no-cache\");\n c.header(\"Connection\", \"keep-alive\");\n run(stream, cb, onError);\n return c.newResponse(stream.responseReadable);\n};\nexport {\n SSEStreamingApi,\n streamSSE\n};\n"],"names":[],"mappings":";;;;;;;;;;AAIG,IAAC,kBAAkB,cAAc,aAAa;AAAA,EAC/C,YAAY,UAAU,UAAU;AAC9B,UAAM,UAAU,QAAQ;AAAA,EAC1B;AAAA,EACA,MAAM,SAAS,SAAS;AACtB,UAAM,OAAO,MAAM,gBAAgB,QAAQ,MAAM,yBAAyB,WAAW,OAAO,EAAE;AAC9F,UAAM,YAAY,KAAK,MAAM,YAAY,EAAE,IAAI,CAAC,SAAS;AACvD,aAAO,SAAS,IAAI;AAAA,IACtB,CAAC,EAAE,KAAK,IAAI;AACZ,eAAW,OAAO,CAAC,SAAS,MAAM,OAAO,GAAG;AAC1C,UAAI,QAAQ,GAAG,KAAK,SAAS,KAAK,QAAQ,GAAG,CAAC,GAAG;AAC/C,cAAM,IAAI,MAAM,GAAG,GAAG,kCAAkC;AAAA,MAC1D;AAAA,IACF;AACA,UAAM,UAAU;AAAA,MACd,QAAQ,SAAS,UAAU,QAAQ,KAAK;AAAA,MACxC;AAAA,MACA,QAAQ,MAAM,OAAO,QAAQ,EAAE;AAAA,MAC/B,QAAQ,SAAS,UAAU,QAAQ,KAAK;AAAA,IAC9C,EAAM,OAAO,OAAO,EAAE,KAAK,IAAI,IAAI;AAC/B,UAAM,KAAK,MAAM,OAAO;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "47be3f81-0750-4ff6-baa2-6ea3ba20957c", e._sentryDebugIdIdentifier = "sentry-dbid-47be3f81-0750-4ff6-baa2-6ea3ba20957c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8198b654-260e-4c51-b0ae-b8ee18a7a9a8", e._sentryDebugIdIdentifier = "sentry-dbid-8198b654-260e-4c51-b0ae-b8ee18a7a9a8");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -17,9 +17,6 @@ var cors = (options) => {
17
17
  const findAllowOrigin = ((optsOrigin) => {
18
18
  if (typeof optsOrigin === "string") {
19
19
  if (optsOrigin === "*") {
20
- if (opts.credentials) {
21
- return (origin) => origin || null;
22
- }
23
20
  return () => optsOrigin;
24
21
  } else {
25
22
  return (origin) => optsOrigin === origin ? origin : null;
@@ -54,7 +51,7 @@ var cors = (options) => {
54
51
  set("Access-Control-Expose-Headers", opts.exposeHeaders.join(","));
55
52
  }
56
53
  if (c.req.method === "OPTIONS") {
57
- if (opts.origin !== "*" || opts.credentials) {
54
+ if (opts.origin !== "*") {
58
55
  set("Vary", "Origin");
59
56
  }
60
57
  if (opts.maxAge != null) {
@@ -84,7 +81,7 @@ var cors = (options) => {
84
81
  });
85
82
  }
86
83
  await next();
87
- if (opts.origin !== "*" || opts.credentials) {
84
+ if (opts.origin !== "*") {
88
85
  c.header("Vary", "Origin", { append: true });
89
86
  }
90
87
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/cors/index.js"],"sourcesContent":["// src/middleware/cors/index.ts\nvar cors = (options) => {\n const opts = {\n origin: \"*\",\n allowMethods: [\"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\", \"PATCH\"],\n allowHeaders: [],\n exposeHeaders: [],\n ...options\n };\n const findAllowOrigin = ((optsOrigin) => {\n if (typeof optsOrigin === \"string\") {\n if (optsOrigin === \"*\") {\n return () => optsOrigin;\n } else {\n return (origin) => optsOrigin === origin ? origin : null;\n }\n } else if (typeof optsOrigin === \"function\") {\n return optsOrigin;\n } else {\n return (origin) => optsOrigin.includes(origin) ? origin : null;\n }\n })(opts.origin);\n const findAllowMethods = ((optsAllowMethods) => {\n if (typeof optsAllowMethods === \"function\") {\n return optsAllowMethods;\n } else if (Array.isArray(optsAllowMethods)) {\n return () => optsAllowMethods;\n } else {\n return () => [];\n }\n })(opts.allowMethods);\n return async function cors2(c, next) {\n function set(key, value) {\n c.res.headers.set(key, value);\n }\n const allowOrigin = await findAllowOrigin(c.req.header(\"origin\") || \"\", c);\n if (allowOrigin) {\n set(\"Access-Control-Allow-Origin\", allowOrigin);\n }\n if (opts.credentials) {\n set(\"Access-Control-Allow-Credentials\", \"true\");\n }\n if (opts.exposeHeaders?.length) {\n set(\"Access-Control-Expose-Headers\", opts.exposeHeaders.join(\",\"));\n }\n if (c.req.method === \"OPTIONS\") {\n if (opts.origin !== \"*\") {\n set(\"Vary\", \"Origin\");\n }\n if (opts.maxAge != null) {\n set(\"Access-Control-Max-Age\", opts.maxAge.toString());\n }\n const allowMethods = await findAllowMethods(c.req.header(\"origin\") || \"\", c);\n if (allowMethods.length) {\n set(\"Access-Control-Allow-Methods\", allowMethods.join(\",\"));\n }\n let headers = opts.allowHeaders;\n if (!headers?.length) {\n const requestHeaders = c.req.header(\"Access-Control-Request-Headers\");\n if (requestHeaders) {\n headers = requestHeaders.split(/\\s*,\\s*/);\n }\n }\n if (headers?.length) {\n set(\"Access-Control-Allow-Headers\", headers.join(\",\"));\n c.res.headers.append(\"Vary\", \"Access-Control-Request-Headers\");\n }\n c.res.headers.delete(\"Content-Length\");\n c.res.headers.delete(\"Content-Type\");\n return new Response(null, {\n headers: c.res.headers,\n status: 204,\n statusText: \"No Content\"\n });\n }\n await next();\n if (opts.origin !== \"*\") {\n c.header(\"Vary\", \"Origin\", { append: true });\n }\n };\n};\nexport {\n cors\n};\n"],"names":["e"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"html.js","sources":["../../../../../../../../../../node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/html.js"],"sourcesContent":["// src/utils/html.ts\nvar HtmlEscapedCallbackPhase = {\n Stringify: 1,\n BeforeStream: 2,\n Stream: 3\n};\nvar raw = (value, callbacks) => {\n const escapedString = new String(value);\n escapedString.isEscaped = true;\n escapedString.callbacks = callbacks;\n return escapedString;\n};\nvar escapeRe = /[&<>'\"]/;\nvar stringBufferToString = async (buffer, callbacks) => {\n let str = \"\";\n callbacks ||= [];\n const resolvedBuffer = await Promise.all(buffer);\n for (let i = resolvedBuffer.length - 1; ; i--) {\n str += resolvedBuffer[i];\n i--;\n if (i < 0) {\n break;\n }\n let r = resolvedBuffer[i];\n if (typeof r === \"object\") {\n callbacks.push(...r.callbacks || []);\n }\n const isEscaped = r.isEscaped;\n r = await (typeof r === \"object\" ? r.toString() : r);\n if (typeof r === \"object\") {\n callbacks.push(...r.callbacks || []);\n }\n if (r.isEscaped ?? isEscaped) {\n str += r;\n } else {\n const buf = [str];\n escapeToBuffer(r, buf);\n str = buf[0];\n }\n }\n return raw(str, callbacks);\n};\nvar escapeToBuffer = (str, buffer) => {\n const match = str.search(escapeRe);\n if (match === -1) {\n buffer[0] += str;\n return;\n }\n let escape;\n let index;\n let lastIndex = 0;\n for (index = match; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escape = \"&quot;\";\n break;\n case 39:\n escape = \"&#39;\";\n break;\n case 38:\n escape = \"&amp;\";\n break;\n case 60:\n escape = \"&lt;\";\n break;\n case 62:\n escape = \"&gt;\";\n break;\n default:\n continue;\n }\n buffer[0] += str.substring(lastIndex, index) + escape;\n lastIndex = index + 1;\n }\n buffer[0] += str.substring(lastIndex, index);\n};\nvar resolveCallbackSync = (str) => {\n const callbacks = str.callbacks;\n if (!callbacks?.length) {\n return str;\n }\n const buffer = [str];\n const context = {};\n callbacks.forEach((c) => c({ phase: HtmlEscapedCallbackPhase.Stringify, buffer, context }));\n return buffer[0];\n};\nvar resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {\n if (typeof str === \"object\" && !(str instanceof String)) {\n if (!(str instanceof Promise)) {\n str = str.toString();\n }\n if (str instanceof Promise) {\n str = await str;\n }\n }\n const callbacks = str.callbacks;\n if (!callbacks?.length) {\n return Promise.resolve(str);\n }\n if (buffer) {\n buffer[0] += str;\n } else {\n buffer = [str];\n }\n const resStr = Promise.all(callbacks.map((c) => c({ phase, buffer, context }))).then(\n (res) => Promise.all(\n res.filter(Boolean).map((str2) => resolveCallback(str2, phase, false, context, buffer))\n ).then(() => buffer[0])\n );\n if (preserveCallbacks) {\n return raw(await resStr, callbacks);\n } else {\n return resStr;\n }\n};\nexport {\n HtmlEscapedCallbackPhase,\n escapeToBuffer,\n raw,\n resolveCallback,\n resolveCallbackSync,\n stringBufferToString\n};\n"],"names":["e"],"mappings":"AACG;AAAA,EAAA,WAAA;AAAA,MAAA;AAAA,QAAA,IAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,aAAA,aAAA,eAAA,OAAA,OAAA,OAAA,CAAA,GAAA,IAAA,IAAA,EAAA,QAAA;AAAA,UAAA,EAAA,kBAAA,EAAA,mBAAA,CAAA,GAAA,EAAA,gBAAA,CAAA,IAAA,wCAAA,EAAA,2BAAA;AAAA,EAAA,SAAAA,IAAA;AAAA,EAAA;AAAA,GAAA;AAAA,IAAC,2BAA2B;AAAA,EAC7B,WAAW;AAGb;AAiFG,IAAC,kBAAkB,OAAO,KAAK,OAAO,mBAAmB,SAAS,WAAW;AAC9E,MAAI,OAAO,QAAQ,YAAY,EAAE,eAAe,SAAS;AACvD,QAAI,EAAE,eAAe,UAAU;AAC7B,YAAM,IAAI,SAAQ;AAAA,IACpB;AACA,QAAI,eAAe,SAAS;AAC1B,YAAM,MAAM;AAAA,IACd;AAAA,EACF;AACA,QAAM,YAAY,IAAI;AACtB,MAAI,CAAC,WAAW,QAAQ;AACtB,WAAO,QAAQ,QAAQ,GAAG;AAAA,EAC5B;AACA,MAAI,QAAQ;AACV,WAAO,CAAC,KAAK;AAAA,EACf,OAAO;AACL,aAAS,CAAC,GAAG;AAAA,EACf;AACA,QAAM,SAAS,QAAQ,IAAI,UAAU,IAAI,CAAC,MAAM,EAAE,EAAE,OAAO,QAAQ,QAAO,CAAE,CAAC,CAAC,EAAE;AAAA,IAC9E,CAAC,QAAQ,QAAQ;AAAA,MACf,IAAI,OAAO,OAAO,EAAE,IAAI,CAAC,SAAS,gBAAgB,MAAM,OAAO,OAAO,SAAS,MAAM,CAAC;AAAA,IAC5F,EAAM,KAAK,MAAM,OAAO,CAAC,CAAC;AAAA,EAC1B;AAGS;AACL,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"html.js","sources":["../../../../../../../../../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/html.js"],"sourcesContent":["// src/utils/html.ts\nvar HtmlEscapedCallbackPhase = {\n Stringify: 1,\n BeforeStream: 2,\n Stream: 3\n};\nvar raw = (value, callbacks) => {\n const escapedString = new String(value);\n escapedString.isEscaped = true;\n escapedString.callbacks = callbacks;\n return escapedString;\n};\nvar escapeRe = /[&<>'\"]/;\nvar stringBufferToString = async (buffer, callbacks) => {\n let str = \"\";\n callbacks ||= [];\n const resolvedBuffer = await Promise.all(buffer);\n for (let i = resolvedBuffer.length - 1; ; i--) {\n str += resolvedBuffer[i];\n i--;\n if (i < 0) {\n break;\n }\n let r = resolvedBuffer[i];\n if (typeof r === \"object\") {\n callbacks.push(...r.callbacks || []);\n }\n const isEscaped = r.isEscaped;\n r = await (typeof r === \"object\" ? r.toString() : r);\n if (typeof r === \"object\") {\n callbacks.push(...r.callbacks || []);\n }\n if (r.isEscaped ?? isEscaped) {\n str += r;\n } else {\n const buf = [str];\n escapeToBuffer(r, buf);\n str = buf[0];\n }\n }\n return raw(str, callbacks);\n};\nvar escapeToBuffer = (str, buffer) => {\n const match = str.search(escapeRe);\n if (match === -1) {\n buffer[0] += str;\n return;\n }\n let escape;\n let index;\n let lastIndex = 0;\n for (index = match; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escape = \"&quot;\";\n break;\n case 39:\n escape = \"&#39;\";\n break;\n case 38:\n escape = \"&amp;\";\n break;\n case 60:\n escape = \"&lt;\";\n break;\n case 62:\n escape = \"&gt;\";\n break;\n default:\n continue;\n }\n buffer[0] += str.substring(lastIndex, index) + escape;\n lastIndex = index + 1;\n }\n buffer[0] += str.substring(lastIndex, index);\n};\nvar resolveCallbackSync = (str) => {\n const callbacks = str.callbacks;\n if (!callbacks?.length) {\n return str;\n }\n const buffer = [str];\n const context = {};\n callbacks.forEach((c) => c({ phase: HtmlEscapedCallbackPhase.Stringify, buffer, context }));\n return buffer[0];\n};\nvar resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {\n if (typeof str === \"object\" && !(str instanceof String)) {\n if (!(str instanceof Promise)) {\n str = str.toString();\n }\n if (str instanceof Promise) {\n str = await str;\n }\n }\n const callbacks = str.callbacks;\n if (!callbacks?.length) {\n return Promise.resolve(str);\n }\n if (buffer) {\n buffer[0] += str;\n } else {\n buffer = [str];\n }\n const resStr = Promise.all(callbacks.map((c) => c({ phase, buffer, context }))).then(\n (res) => Promise.all(\n res.filter(Boolean).map((str2) => resolveCallback(str2, phase, false, context, buffer))\n ).then(() => buffer[0])\n );\n if (preserveCallbacks) {\n return raw(await resStr, callbacks);\n } else {\n return resStr;\n }\n};\nexport {\n HtmlEscapedCallbackPhase,\n escapeToBuffer,\n raw,\n resolveCallback,\n resolveCallbackSync,\n stringBufferToString\n};\n"],"names":["e"],"mappings":"AACG;AAAA,EAAA,WAAA;AAAA,MAAA;AAAA,QAAA,IAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,aAAA,aAAA,eAAA,OAAA,OAAA,OAAA,CAAA,GAAA,IAAA,IAAA,EAAA,QAAA;AAAA,UAAA,EAAA,kBAAA,EAAA,mBAAA,CAAA,GAAA,EAAA,gBAAA,CAAA,IAAA,wCAAA,EAAA,2BAAA;AAAA,EAAA,SAAAA,IAAA;AAAA,EAAA;AAAA,GAAA;AAAA,IAAC,2BAA2B;AAAA,EAC7B,WAAW;AAGb;AAiFG,IAAC,kBAAkB,OAAO,KAAK,OAAO,mBAAmB,SAAS,WAAW;AAC9E,MAAI,OAAO,QAAQ,YAAY,EAAE,eAAe,SAAS;AACvD,QAAI,EAAE,eAAe,UAAU;AAC7B,YAAM,IAAI,SAAQ;AAAA,IACpB;AACA,QAAI,eAAe,SAAS;AAC1B,YAAM,MAAM;AAAA,IACd;AAAA,EACF;AACA,QAAM,YAAY,IAAI;AACtB,MAAI,CAAC,WAAW,QAAQ;AACtB,WAAO,QAAQ,QAAQ,GAAG;AAAA,EAC5B;AACA,MAAI,QAAQ;AACV,WAAO,CAAC,KAAK;AAAA,EACf,OAAO;AACL,aAAS,CAAC,GAAG;AAAA,EACf;AACA,QAAM,SAAS,QAAQ,IAAI,UAAU,IAAI,CAAC,MAAM,EAAE,EAAE,OAAO,QAAQ,QAAO,CAAE,CAAC,CAAC,EAAE;AAAA,IAC9E,CAAC,QAAQ,QAAQ;AAAA,MACf,IAAI,OAAO,OAAO,EAAE,IAAI,CAAC,SAAS,gBAAgB,MAAM,OAAO,OAAO,SAAS,MAAM,CAAC;AAAA,IAC5F,EAAM,KAAK,MAAM,OAAO,CAAC,CAAC;AAAA,EAC1B;AAGS;AACL,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4df8a9bf-f3da-4a40-80d7-0f62d970d972", e._sentryDebugIdIdentifier = "sentry-dbid-4df8a9bf-f3da-4a40-80d7-0f62d970d972");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "76d37b44-6a03-4c70-8686-f861d6effcfc", e._sentryDebugIdIdentifier = "sentry-dbid-76d37b44-6a03-4c70-8686-f861d6effcfc");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -34,7 +34,9 @@ var StreamingApi = class {
34
34
  done ? controller.close() : controller.enqueue(value);
35
35
  },
36
36
  cancel: () => {
37
- this.abort();
37
+ if (!this.closed) {
38
+ this.abort();
39
+ }
38
40
  }
39
41
  });
40
42
  }
@@ -56,11 +58,11 @@ var StreamingApi = class {
56
58
  return new Promise((res) => setTimeout(res, ms));
57
59
  }
58
60
  async close() {
61
+ this.closed = true;
59
62
  try {
60
63
  await this.writer.close();
61
64
  } catch {
62
65
  }
63
- this.closed = true;
64
66
  }
65
67
  async pipe(body) {
66
68
  this.writer.releaseLock();
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream.js","sources":["../../../../../../../../../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/stream.js"],"sourcesContent":["// src/utils/stream.ts\nvar StreamingApi = class {\n writer;\n encoder;\n writable;\n abortSubscribers = [];\n responseReadable;\n /**\n * Whether the stream has been aborted.\n */\n aborted = false;\n /**\n * Whether the stream has been closed normally.\n */\n closed = false;\n constructor(writable, _readable) {\n this.writable = writable;\n this.writer = writable.getWriter();\n this.encoder = new TextEncoder();\n const reader = _readable.getReader();\n this.abortSubscribers.push(async () => {\n await reader.cancel();\n });\n this.responseReadable = new ReadableStream({\n async pull(controller) {\n const { done, value } = await reader.read();\n done ? controller.close() : controller.enqueue(value);\n },\n cancel: () => {\n if (!this.closed) {\n this.abort();\n }\n }\n });\n }\n async write(input) {\n try {\n if (typeof input === \"string\") {\n input = this.encoder.encode(input);\n }\n await this.writer.write(input);\n } catch {\n }\n return this;\n }\n async writeln(input) {\n await this.write(input + \"\\n\");\n return this;\n }\n sleep(ms) {\n return new Promise((res) => setTimeout(res, ms));\n }\n async close() {\n this.closed = true;\n try {\n await this.writer.close();\n } catch {\n }\n }\n async pipe(body) {\n this.writer.releaseLock();\n await body.pipeTo(this.writable, { preventClose: true });\n this.writer = this.writable.getWriter();\n }\n onAbort(listener) {\n this.abortSubscribers.push(listener);\n }\n /**\n * Abort the stream.\n * You can call this method when stream is aborted by external event.\n */\n abort() {\n if (!this.aborted) {\n this.aborted = true;\n this.abortSubscribers.forEach((subscriber) => subscriber());\n }\n }\n};\nexport {\n StreamingApi\n};\n"],"names":["e"],"mappings":"AACG;AAAA,EAAA,WAAA;AAAA,MAAA;AAAA,QAAA,IAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,SAAA,SAAA,eAAA,OAAA,aAAA,aAAA,eAAA,OAAA,OAAA,OAAA,CAAA,GAAA,IAAA,IAAA,EAAA,QAAA;AAAA,UAAA,EAAA,kBAAA,EAAA,mBAAA,CAAA,GAAA,EAAA,gBAAA,CAAA,IAAA,wCAAA,EAAA,2BAAA;AAAA,EAAA,SAAAA,IAAA;AAAA,EAAA;AAAA,GAAA;AAAA,IAAC,eAAe,MAAM;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA,mBAAmB,CAAA;AAAA,EACnB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAU;AAAA;AAAA;AAAA;AAAA,EAIV,SAAS;AAAA,EACT,YAAY,UAAU,WAAW;AAC/B,SAAK,WAAW;AAChB,SAAK,SAAS,SAAS,UAAS;AAChC,SAAK,UAAU,IAAI,YAAW;AAC9B,UAAM,SAAS,UAAU,UAAS;AAClC,SAAK,iBAAiB,KAAK,YAAY;AACrC,YAAM,OAAO,OAAM;AAAA,IACrB,CAAC;AACD,SAAK,mBAAmB,IAAI,eAAe;AAAA,MACzC,MAAM,KAAK,YAAY;AACrB,cAAM,EAAE,MAAM,MAAK,IAAK,MAAM,OAAO,KAAI;AACzC,eAAO,WAAW,MAAK,IAAK,WAAW,QAAQ,KAAK;AAAA,MACtD;AAAA,MACA,QAAQ,MAAM;AACZ,YAAI,CAAC,KAAK,QAAQ;AAChB,eAAK,MAAK;AAAA,QACZ;AAAA,MACF;AAAA,IACN,CAAK;AAAA,EACH;AAAA,EACA,MAAM,MAAM,OAAO;AACjB,QAAI;AACF,UAAI,OAAO,UAAU,UAAU;AAC7B,gBAAQ,KAAK,QAAQ,OAAO,KAAK;AAAA,MACnC;AACA,YAAM,KAAK,OAAO,MAAM,KAAK;AAAA,IAC/B,QAAQ;AAAA,IACR;AACA,WAAO;AAAA,EACT;AAAA,EACA,MAAM,QAAQ,OAAO;AACnB,UAAM,KAAK,MAAM,QAAQ,IAAI;AAC7B,WAAO;AAAA,EACT;AAAA,EACA,MAAM,IAAI;AACR,WAAO,IAAI,QAAQ,CAAC,QAAQ,WAAW,KAAK,EAAE,CAAC;AAAA,EACjD;AAAA,EACA,MAAM,QAAQ;AACZ,SAAK,SAAS;AACd,QAAI;AACF,YAAM,KAAK,OAAO,MAAK;AAAA,IACzB,QAAQ;AAAA,IACR;AAAA,EACF;AAAA,EACA,MAAM,KAAK,MAAM;AACf,SAAK,OAAO,YAAW;AACvB,UAAM,KAAK,OAAO,KAAK,UAAU,EAAE,cAAc,MAAM;AACvD,SAAK,SAAS,KAAK,SAAS,UAAS;AAAA,EACvC;AAAA,EACA,QAAQ,UAAU;AAChB,SAAK,iBAAiB,KAAK,QAAQ;AAAA,EACrC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAQ;AACN,QAAI,CAAC,KAAK,SAAS;AACjB,WAAK,UAAU;AACf,WAAK,iBAAiB,QAAQ,CAAC,eAAe,WAAU,CAAE;AAAA,IAC5D;AAAA,EACF;AACF;","x_google_ignoreList":[0]}
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8d47a06-3bd1-4868-a46e-c1a10da30ec9", e._sentryDebugIdIdentifier = "sentry-dbid-e8d47a06-3bd1-4868-a46e-c1a10da30ec9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "53f838cd-bab1-4a2a-a956-6436112d9c94", e._sentryDebugIdIdentifier = "sentry-dbid-53f838cd-bab1-4a2a-a956-6436112d9c94");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  const isCI = process.env.CI === "true" || process.env.GITHUB_ACTIONS === "true";
10
- const version = "4.11.5";
10
+ const version = "4.11.6";
11
11
  const sentryBaseConfig = {
12
12
  enabled: Boolean("production") && true,
13
13
  environment: isCI ? "github-ci" : "production",
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7ce89a81-e213-4003-a286-5f3eb85eb59a", e._sentryDebugIdIdentifier = "sentry-dbid-7ce89a81-e213-4003-a286-5f3eb85eb59a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "48ea8b07-c991-4e05-a08e-2ccd151dd605", e._sentryDebugIdIdentifier = "sentry-dbid-48ea8b07-c991-4e05-a08e-2ccd151dd605");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -48,7 +48,7 @@ stdout/stderr are captured and sent to Spotlight as log events.`,
48
48
  "spotlight run docker compose up # Run Docker Compose with Spotlight injection"
49
49
  ]
50
50
  };
51
- const SPOTLIGHT_VERSION = "4.11.5";
51
+ const SPOTLIGHT_VERSION = "4.11.6";
52
52
  const LOCALHOST_HOST = "localhost";
53
53
  function detectPackageJson() {
54
54
  try {
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a1402eea-b87d-4601-88df-773fa00d98df", e._sentryDebugIdIdentifier = "sentry-dbid-a1402eea-b87d-4601-88df-773fa00d98df");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9a52b6a1-e630-485d-8ca6-f8adaedbba6d", e._sentryDebugIdIdentifier = "sentry-dbid-9a52b6a1-e630-485d-8ca6-f8adaedbba6d");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -126,7 +126,7 @@ async function main({
126
126
  if (debug || process.env.SPOTLIGHT_DEBUG) {
127
127
  enableDebugLogging(true);
128
128
  }
129
- const spotlightVersion = "4.11.5";
129
+ const spotlightVersion = "4.11.6";
130
130
  logger.info(`Spotlight by Sentry - v${spotlightVersion}`);
131
131
  metrics.count("cli.invocation", 1, {
132
132
  attributes: {
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4a269ddf-1859-4af2-bc08-3a3d04be1753", e._sentryDebugIdIdentifier = "sentry-dbid-4a269ddf-1859-4af2-bc08-3a3d04be1753");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "54a701b1-059e-4d89-97ba-0c0649c7df0d", e._sentryDebugIdIdentifier = "sentry-dbid-54a701b1-059e-4d89-97ba-0c0649c7df0d");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -11,7 +11,7 @@ import { join } from "node:path";
11
11
  import { serve } from "@hono/node-server";
12
12
  import { addEventProcessor, startSpan, getTraceData, captureException } from "@sentry/node";
13
13
  import { Hono } from "hono";
14
- import { cors } from "../node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js";
14
+ import { cors } from "../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/cors/index.js";
15
15
  import { DEFAULT_PORT, SERVER_IDENTIFIER } from "./constants.js";
16
16
  import { serveFilesHandler } from "./handlers/fileToServe.js";
17
17
  import { activateLogger, logger } from "./logger.js";
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "796181c0-a715-4494-beeb-7bd490f45485", e._sentryDebugIdIdentifier = "sentry-dbid-796181c0-a715-4494-beeb-7bd490f45485");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "090c5e1e-e711-433e-b30f-3d85c11250a2", e._sentryDebugIdIdentifier = "sentry-dbid-090c5e1e-e711-433e-b30f-3d85c11250a2");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -59,7 +59,7 @@ function createMCPInstance() {
59
59
  const mcp = wrapMcpServerWithSentry(
60
60
  new McpServer({
61
61
  name: "spotlight-mcp",
62
- version: String("4.11.5")
62
+ version: String("4.11.6")
63
63
  })
64
64
  );
65
65
  mcp.registerTool(
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5938b37e-4d1a-400e-968d-9b0a43456c60", e._sentryDebugIdIdentifier = "sentry-dbid-5938b37e-4d1a-400e-968d-9b0a43456c60");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eeb392f5-6fa4-40f2-8485-d0aced356758", e._sentryDebugIdIdentifier = "sentry-dbid-eeb392f5-6fa4-40f2-8485-d0aced356758");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { captureException } from "@sentry/node";
10
- import { SSEStreamingApi } from "../../../node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js";
10
+ import { SSEStreamingApi } from "../../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/helper/streaming/sse.js";
11
11
  const run = async (stream, cb, onError) => {
12
12
  try {
13
13
  await cb(stream);