tracer-sh 0.3.2 → 0.3.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.
Files changed (19) hide show
  1. package/package.json +6 -2
  2. package/packages/server/dist/{chunk-YL5JSOUN.js → chunk-N2HWGQP2.js} +1 -1
  3. package/packages/server/dist/{chunk-IAWOYD5E.js → chunk-XTJ4UUIY.js} +1 -1
  4. package/packages/server/dist/{chunk-5GQDB6U7.js → chunk-ZAYYPDZP.js} +12 -3
  5. package/packages/server/dist/{dist-ZMUHFP5T.js → dist-L5BLKJXH.js} +1 -1
  6. package/packages/server/dist/{domain-knowledge-B2IREATL.js → domain-knowledge-6MEHHDWL.js} +1 -1
  7. package/packages/server/dist/{domain-knowledge-U2RLSFM2.js → domain-knowledge-HC2HKQB3.js} +1 -1
  8. package/packages/server/dist/{domain-knowledge-K3OB4NDB.js → domain-knowledge-RET7XGI5.js} +1 -1
  9. package/packages/server/dist/index.js +46 -44
  10. package/packages/server/dist/{multipart-parser-ONCUQ5VA.js → multipart-parser-MCEP54QZ.js} +2 -2
  11. package/packages/server/dist/{src-434DTNEL.js → src-TVEEC6CW.js} +3 -3
  12. package/packages/server/dist/{token-4YFRZJYT.js → token-R3E2IC23.js} +2 -2
  13. package/packages/server/dist/{token-util-CTKMWUIG.js → token-util-BJYJMNB3.js} +2 -2
  14. package/packages/web/dist/assets/{SearchableSelect-BGG4ZQsh.js → SearchableSelect-BfcFMllA.js} +1 -1
  15. package/packages/web/dist/assets/{Settings-CbI-LDKy.js → Settings-BcbW-KcM.js} +1 -1
  16. package/packages/web/dist/assets/{highlighted-body-OFNGDK62-DZkDbKbU.js → highlighted-body-OFNGDK62-BA7knzgi.js} +1 -1
  17. package/packages/web/dist/assets/{index-D555Ai5J.js → index-L_n_IFmZ.js} +2 -2
  18. package/packages/web/dist/assets/{mermaid-GHXKKRXX-B2DXmpLw.js → mermaid-GHXKKRXX-C5BzUoQE.js} +3 -3
  19. package/packages/web/dist/index.html +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tracer-sh",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Local-first debugging & analysis platform",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,7 +39,11 @@
39
39
  "overrides": {
40
40
  "mermaid": "^11.15.0",
41
41
  "postcss": "^8.5.10",
42
- "uuid": "^11.1.1"
42
+ "uuid": "^11.1.1",
43
+ "shell-quote": "^1.8.4",
44
+ "dompurify": "^3.4.9",
45
+ "@babel/core": "^7.29.6",
46
+ "esbuild": "^0.28.1"
43
47
  }
44
48
  },
45
49
  "devDependencies": {
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'module'; const require = __cre
2
2
  import {
3
3
  __commonJS,
4
4
  __require
5
- } from "./chunk-5GQDB6U7.js";
5
+ } from "./chunk-ZAYYPDZP.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token-error.js
8
8
  var require_token_error = __commonJS({
@@ -4,7 +4,7 @@ import {
4
4
  __esm,
5
5
  __require,
6
6
  __toESM
7
- } from "./chunk-5GQDB6U7.js";
7
+ } from "./chunk-ZAYYPDZP.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/web-streams-polyfill@3.3.3/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js
10
10
  var require_ponyfill_es2018 = __commonJS({
@@ -11,11 +11,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
11
11
  if (typeof require !== "undefined") return require.apply(this, arguments);
12
12
  throw Error('Dynamic require of "' + x + '" is not supported');
13
13
  });
14
- var __esm = (fn, res) => function __init() {
15
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
14
+ var __esm = (fn, res, err) => function __init() {
15
+ if (err) throw err[0];
16
+ try {
17
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
18
+ } catch (e) {
19
+ throw err = [e], e;
20
+ }
16
21
  };
17
22
  var __commonJS = (cb, mod) => function __require2() {
18
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
23
+ try {
24
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
25
+ } catch (e) {
26
+ throw mod = 0, e;
27
+ }
19
28
  };
20
29
  var __export = (target, all) => {
21
30
  for (var name in all)
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'module'; const require = __cre
2
2
  import {
3
3
  __commonJS,
4
4
  __require
5
- } from "./chunk-5GQDB6U7.js";
5
+ } from "./chunk-ZAYYPDZP.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
8
8
  var require_ms = __commonJS({
@@ -5,7 +5,7 @@ import {
5
5
  NR_INSIDE_OUT_DEBUGGING,
6
6
  NR_SERVICE_HEALTH_RUNBOOK
7
7
  } from "./chunk-XFJVNMJI.js";
8
- import "./chunk-5GQDB6U7.js";
8
+ import "./chunk-ZAYYPDZP.js";
9
9
  export {
10
10
  NR_AUTH_STOP_RULE,
11
11
  NR_DOMAIN_KNOWLEDGE,
@@ -7,7 +7,7 @@ import {
7
7
  GCP_PAGE_SIZE_RULE,
8
8
  GCP_TOOL_REFERENCE
9
9
  } from "./chunk-IKD3ICQK.js";
10
- import "./chunk-5GQDB6U7.js";
10
+ import "./chunk-ZAYYPDZP.js";
11
11
  export {
12
12
  GCP_AUTH_STOP_RULE,
13
13
  GCP_CROSS_SIGNAL,
@@ -4,7 +4,7 @@ import {
4
4
  POSTHOG_DOMAIN_KNOWLEDGE,
5
5
  POSTHOG_INSIDE_OUT_DEBUGGING
6
6
  } from "./chunk-L7TO4UJ4.js";
7
- import "./chunk-5GQDB6U7.js";
7
+ import "./chunk-ZAYYPDZP.js";
8
8
  export {
9
9
  POSTHOG_AUTH_STOP_RULE,
10
10
  POSTHOG_DOMAIN_KNOWLEDGE,
@@ -8,7 +8,7 @@ import {
8
8
  require_auth_errors,
9
9
  require_token_error,
10
10
  require_token_util
11
- } from "./chunk-YL5JSOUN.js";
11
+ } from "./chunk-N2HWGQP2.js";
12
12
  import {
13
13
  NR_AUTH_STOP_RULE,
14
14
  NR_DOMAIN_KNOWLEDGE,
@@ -26,7 +26,7 @@ import {
26
26
  __export,
27
27
  __require,
28
28
  __toESM
29
- } from "./chunk-5GQDB6U7.js";
29
+ } from "./chunk-ZAYYPDZP.js";
30
30
 
31
31
  // ../../node_modules/.pnpm/better-sqlite3@12.9.0/node_modules/better-sqlite3/lib/util.js
32
32
  var require_util = __commonJS({
@@ -876,8 +876,8 @@ var require_get_vercel_oidc_token = __commonJS({
876
876
  }
877
877
  try {
878
878
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
879
- await import("./token-util-CTKMWUIG.js"),
880
- await import("./token-4YFRZJYT.js")
879
+ await import("./token-util-BJYJMNB3.js"),
880
+ await import("./token-R3E2IC23.js")
881
881
  ]);
882
882
  if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
883
883
  await refreshToken(options);
@@ -1950,12 +1950,12 @@ Content-Type: ${partContentType}\r
1950
1950
  * @returns A proxy agent
1951
1951
  */
1952
1952
  static async #getProxyAgent() {
1953
- this.#proxyAgent ||= (await import("./dist-ZMUHFP5T.js")).HttpsProxyAgent;
1953
+ this.#proxyAgent ||= (await import("./dist-L5BLKJXH.js")).HttpsProxyAgent;
1954
1954
  return this.#proxyAgent;
1955
1955
  }
1956
1956
  static async #getFetch() {
1957
1957
  const hasWindow = typeof window !== "undefined" && !!window;
1958
- this.#fetch ||= hasWindow ? window.fetch : (await import("./src-434DTNEL.js")).default;
1958
+ this.#fetch ||= hasWindow ? window.fetch : (await import("./src-TVEEC6CW.js")).default;
1959
1959
  return this.#fetch;
1960
1960
  }
1961
1961
  /**
@@ -11718,7 +11718,7 @@ var require_src4 = __commonJS({
11718
11718
  }
11719
11719
  });
11720
11720
 
11721
- // ../../node_modules/.pnpm/@hono+node-server@1.19.14_hono@4.12.23/node_modules/@hono/node-server/dist/index.mjs
11721
+ // ../../node_modules/.pnpm/@hono+node-server@1.19.14_hono@4.12.25/node_modules/@hono/node-server/dist/index.mjs
11722
11722
  import { createServer as createServerHTTP } from "http";
11723
11723
  import { Http2ServerRequest as Http2ServerRequest2, constants as h2constants } from "http2";
11724
11724
  import { Http2ServerRequest } from "http2";
@@ -63435,9 +63435,9 @@ function createDeleteMemoryTool(memoryExecute, opts) {
63435
63435
 
63436
63436
  // src/agents/utility/memory-domain-knowledge.ts
63437
63437
  var DOMAIN_LOADERS = {
63438
- newrelic: async () => (await import("./domain-knowledge-B2IREATL.js")).NR_DOMAIN_KNOWLEDGE,
63439
- gcp: async () => (await import("./domain-knowledge-U2RLSFM2.js")).GCP_DOMAIN_KNOWLEDGE,
63440
- posthog: async () => (await import("./domain-knowledge-K3OB4NDB.js")).POSTHOG_DOMAIN_KNOWLEDGE
63438
+ newrelic: async () => (await import("./domain-knowledge-6MEHHDWL.js")).NR_DOMAIN_KNOWLEDGE,
63439
+ gcp: async () => (await import("./domain-knowledge-HC2HKQB3.js")).GCP_DOMAIN_KNOWLEDGE,
63440
+ posthog: async () => (await import("./domain-knowledge-RET7XGI5.js")).POSTHOG_DOMAIN_KNOWLEDGE
63441
63441
  };
63442
63442
  async function getDomainKnowledge(providerType) {
63443
63443
  const loader = DOMAIN_LOADERS[providerType];
@@ -66691,6 +66691,8 @@ var McpProvider = class extends BaseProvider {
66691
66691
  this.name = providerType;
66692
66692
  this.type = providerType;
66693
66693
  }
66694
+ definition;
66695
+ config;
66694
66696
  name;
66695
66697
  type;
66696
66698
  clients = [];
@@ -67760,7 +67762,7 @@ function createContext(deps) {
67760
67762
  };
67761
67763
  }
67762
67764
 
67763
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/compose.js
67765
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/compose.js
67764
67766
  var compose = (middleware, onError, onNotFound) => {
67765
67767
  return (context2, next) => {
67766
67768
  let index2 = -1;
@@ -67804,10 +67806,10 @@ var compose = (middleware, onError, onNotFound) => {
67804
67806
  };
67805
67807
  };
67806
67808
 
67807
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request/constants.js
67809
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/request/constants.js
67808
67810
  var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
67809
67811
 
67810
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/body.js
67812
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/body.js
67811
67813
  var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
67812
67814
  const { all = false, dot = false } = options;
67813
67815
  const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
@@ -67879,7 +67881,7 @@ var handleParsingNestedValues = (form, key, value) => {
67879
67881
  });
67880
67882
  };
67881
67883
 
67882
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/url.js
67884
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/url.js
67883
67885
  var splitPath = (path) => {
67884
67886
  const paths = path.split("/");
67885
67887
  if (paths[0] === "") {
@@ -68083,7 +68085,7 @@ var getQueryParams = (url2, key) => {
68083
68085
  };
68084
68086
  var decodeURIComponent_ = decodeURIComponent;
68085
68087
 
68086
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request.js
68088
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/request.js
68087
68089
  var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
68088
68090
  var HonoRequest = class {
68089
68091
  /**
@@ -68366,7 +68368,7 @@ var HonoRequest = class {
68366
68368
  }
68367
68369
  };
68368
68370
 
68369
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/html.js
68371
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/html.js
68370
68372
  var HtmlEscapedCallbackPhase = {
68371
68373
  Stringify: 1,
68372
68374
  BeforeStream: 2,
@@ -68408,7 +68410,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context2, buffer) =>
68408
68410
  }
68409
68411
  };
68410
68412
 
68411
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/context.js
68413
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/context.js
68412
68414
  var TEXT_PLAIN = "text/plain; charset=UTF-8";
68413
68415
  var setDefaultContentType = (contentType, headers) => {
68414
68416
  return {
@@ -68815,7 +68817,7 @@ var Context = class {
68815
68817
  };
68816
68818
  };
68817
68819
 
68818
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router.js
68820
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router.js
68819
68821
  var METHOD_NAME_ALL = "ALL";
68820
68822
  var METHOD_NAME_ALL_LOWERCASE = "all";
68821
68823
  var METHODS = ["get", "post", "put", "delete", "options", "patch"];
@@ -68823,10 +68825,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
68823
68825
  var UnsupportedPathError = class extends Error {
68824
68826
  };
68825
68827
 
68826
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/constants.js
68828
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/constants.js
68827
68829
  var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
68828
68830
 
68829
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono-base.js
68831
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/hono-base.js
68830
68832
  var notFoundHandler = (c) => {
68831
68833
  return c.text("404 Not Found", 404);
68832
68834
  };
@@ -69202,7 +69204,7 @@ var Hono = class _Hono {
69202
69204
  };
69203
69205
  };
69204
69206
 
69205
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/matcher.js
69207
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
69206
69208
  var emptyParam = [];
69207
69209
  function match(method, path) {
69208
69210
  const matchers = this.buildAllMatchers();
@@ -69223,7 +69225,7 @@ function match(method, path) {
69223
69225
  return match2(method, path);
69224
69226
  }
69225
69227
 
69226
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/node.js
69228
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
69227
69229
  var LABEL_REG_EXP_STR = "[^/]+";
69228
69230
  var ONLY_WILDCARD_REG_EXP_STR = ".*";
69229
69231
  var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
@@ -69331,7 +69333,7 @@ var Node = class _Node {
69331
69333
  }
69332
69334
  };
69333
69335
 
69334
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/trie.js
69336
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
69335
69337
  var Trie = class {
69336
69338
  #context = { varIndex: 0 };
69337
69339
  #root = new Node();
@@ -69387,7 +69389,7 @@ var Trie = class {
69387
69389
  }
69388
69390
  };
69389
69391
 
69390
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/router.js
69392
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/router.js
69391
69393
  var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
69392
69394
  var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
69393
69395
  function buildWildcardRegExp(path) {
@@ -69566,7 +69568,7 @@ var RegExpRouter = class {
69566
69568
  }
69567
69569
  };
69568
69570
 
69569
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/smart-router/router.js
69571
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
69570
69572
  var SmartRouter = class {
69571
69573
  name = "SmartRouter";
69572
69574
  #routers = [];
@@ -69621,7 +69623,7 @@ var SmartRouter = class {
69621
69623
  }
69622
69624
  };
69623
69625
 
69624
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/node.js
69626
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
69625
69627
  var emptyParams = /* @__PURE__ */ Object.create(null);
69626
69628
  var hasChildren = (children) => {
69627
69629
  for (const _ in children) {
@@ -69796,7 +69798,7 @@ var Node2 = class _Node2 {
69796
69798
  }
69797
69799
  };
69798
69800
 
69799
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/router.js
69801
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
69800
69802
  var TrieRouter = class {
69801
69803
  name = "TrieRouter";
69802
69804
  #node;
@@ -69818,7 +69820,7 @@ var TrieRouter = class {
69818
69820
  }
69819
69821
  };
69820
69822
 
69821
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono.js
69823
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/hono.js
69822
69824
  var Hono2 = class extends Hono {
69823
69825
  /**
69824
69826
  * Creates an instance of the Hono class.
@@ -69833,7 +69835,7 @@ var Hono2 = class extends Hono {
69833
69835
  }
69834
69836
  };
69835
69837
 
69836
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/accept.js
69838
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/accept.js
69837
69839
  var isWhitespace = (char) => char === 32 || char === 9 || char === 10 || char === 13;
69838
69840
  var consumeWhitespace = (acceptHeader, startIndex) => {
69839
69841
  while (startIndex < acceptHeader.length) {
@@ -70054,10 +70056,10 @@ var parseQuality = (qVal) => {
70054
70056
  return num;
70055
70057
  };
70056
70058
 
70057
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/compress.js
70059
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/compress.js
70058
70060
  var COMPRESSIBLE_CONTENT_TYPE_REGEX = /^\s*(?:text\/(?!event-stream(?:[;\s]|$))[^;\s]+|application\/(?:javascript|json|xml|xml-dtd|ecmascript|dart|msgpack|postscript|rtf|tar|toml|vnd\.dart|vnd\.ms-fontobject|vnd\.ms-opentype|vnd\.msgpack|wasm|x-httpd-php|x-javascript|x-msgpack|x-ns-proxy-autoconfig|x-sh|x-tar|x-virtualbox-hdd|x-virtualbox-ova|x-virtualbox-ovf|x-virtualbox-vbox|x-virtualbox-vdi|x-virtualbox-vhd|x-virtualbox-vmdk|x-www-form-urlencoded)|font\/(?:otf|ttf)|image\/(?:bmp|vnd\.adobe\.photoshop|vnd\.microsoft\.icon|vnd\.ms-dds|x-icon|x-ms-bmp)|message\/rfc822|model\/gltf-binary|x-shader\/x-fragment|x-shader\/x-vertex|[^;\s]+?\+(?:json|text|xml|yaml|msgpack))(?:[;\s]|$)/i;
70059
70061
 
70060
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/middleware/compress/index.js
70062
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/compress/index.js
70061
70063
  var ENCODING_TYPES = ["gzip", "deflate"];
70062
70064
  var cacheControlNoTransformRegExp = /(?:^|,)\s*?no-transform\s*?(?:,|$)/i;
70063
70065
  var selectEncoding = (header, candidates) => {
@@ -72449,14 +72451,14 @@ async function fetchRequestHandler(opts) {
72449
72451
  }));
72450
72452
  }
72451
72453
 
72452
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/helper/route/index.js
72454
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/helper/route/index.js
72453
72455
  var matchedRoutes = (c) => (
72454
72456
  // @ts-expect-error c.req[GET_MATCH_RESULT] is not typed
72455
72457
  c.req[GET_MATCH_RESULT][0].map(([[, route]]) => route)
72456
72458
  );
72457
72459
  var routePath = (c, index2) => matchedRoutes(c).at(index2 ?? c.req.routeIndex)?.path ?? "";
72458
72460
 
72459
- // ../../node_modules/.pnpm/@hono+trpc-server@0.4.2_@trpc+server@11.16.0_typescript@5.9.3__hono@4.12.23/node_modules/@hono/trpc-server/dist/index.js
72461
+ // ../../node_modules/.pnpm/@hono+trpc-server@0.4.2_@trpc+server@11.16.0_typescript@5.9.3__hono@4.12.25/node_modules/@hono/trpc-server/dist/index.js
72460
72462
  var trpcServer = ({ endpoint, createContext: createContext2, ...rest }) => {
72461
72463
  const bodyProps = /* @__PURE__ */ new Set([
72462
72464
  "arrayBuffer",
@@ -74795,7 +74797,7 @@ var appRouter = router({
74795
74797
  update: updateRouter
74796
74798
  });
74797
74799
 
74798
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/middleware/cors/index.js
74800
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/cors/index.js
74799
74801
  var cors = (options) => {
74800
74802
  const opts = {
74801
74803
  origin: "*",
@@ -74807,9 +74809,6 @@ var cors = (options) => {
74807
74809
  const findAllowOrigin = ((optsOrigin) => {
74808
74810
  if (typeof optsOrigin === "string") {
74809
74811
  if (optsOrigin === "*") {
74810
- if (opts.credentials) {
74811
- return (origin) => origin || null;
74812
- }
74813
74812
  return () => optsOrigin;
74814
74813
  } else {
74815
74814
  return (origin) => optsOrigin === origin ? origin : null;
@@ -74844,7 +74843,7 @@ var cors = (options) => {
74844
74843
  set2("Access-Control-Expose-Headers", opts.exposeHeaders.join(","));
74845
74844
  }
74846
74845
  if (c.req.method === "OPTIONS") {
74847
- if (opts.origin !== "*" || opts.credentials) {
74846
+ if (opts.origin !== "*") {
74848
74847
  set2("Vary", "Origin");
74849
74848
  }
74850
74849
  if (opts.maxAge != null) {
@@ -74874,13 +74873,13 @@ var cors = (options) => {
74874
74873
  });
74875
74874
  }
74876
74875
  await next();
74877
- if (opts.origin !== "*" || opts.credentials) {
74876
+ if (opts.origin !== "*") {
74878
74877
  c.header("Vary", "Origin", { append: true });
74879
74878
  }
74880
74879
  };
74881
74880
  };
74882
74881
 
74883
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/color.js
74882
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/color.js
74884
74883
  function getColorEnabled() {
74885
74884
  const { process: process3, Deno } = globalThis;
74886
74885
  const isNoColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : process3 !== void 0 ? (
@@ -74902,7 +74901,7 @@ async function getColorEnabledAsync() {
74902
74901
  return !isNoColor;
74903
74902
  }
74904
74903
 
74905
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/middleware/logger/index.js
74904
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/middleware/logger/index.js
74906
74905
  var humanize = (times) => {
74907
74906
  const [delimiter, separator] = [",", "."];
74908
74907
  const orderTimes = times.map((v) => v.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + delimiter));
@@ -74951,7 +74950,7 @@ function applyMiddleware(app) {
74951
74950
  app.use("*", cors({ origin: CONFIG.corsOrigin ?? `http://localhost:${CONFIG.port}` }));
74952
74951
  }
74953
74952
 
74954
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/stream.js
74953
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/utils/stream.js
74955
74954
  var StreamingApi = class {
74956
74955
  writer;
74957
74956
  encoder;
@@ -75030,7 +75029,7 @@ var StreamingApi = class {
75030
75029
  }
75031
75030
  };
75032
75031
 
75033
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/helper/streaming/utils.js
75032
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/helper/streaming/utils.js
75034
75033
  var isOldBunVersion = () => {
75035
75034
  const version3 = typeof Bun !== "undefined" ? Bun.version : void 0;
75036
75035
  if (version3 === void 0) {
@@ -75041,7 +75040,7 @@ var isOldBunVersion = () => {
75041
75040
  return result;
75042
75041
  };
75043
75042
 
75044
- // ../../node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/helper/streaming/sse.js
75043
+ // ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/helper/streaming/sse.js
75045
75044
  var SSEStreamingApi = class extends StreamingApi {
75046
75045
  constructor(writable, readable) {
75047
75046
  super(writable, readable);
@@ -75868,6 +75867,7 @@ var Parser = class {
75868
75867
  constructor(tokens) {
75869
75868
  this.tokens = tokens;
75870
75869
  }
75870
+ tokens;
75871
75871
  pos = 0;
75872
75872
  peek() {
75873
75873
  return this.tokens[this.pos] ?? { type: "eof", value: "" };
@@ -76633,6 +76633,8 @@ var MonitorScheduler = class {
76633
76633
  this.db = db2;
76634
76634
  this.providers = providers;
76635
76635
  }
76636
+ db;
76637
+ providers;
76636
76638
  interval = null;
76637
76639
  tickPromise = null;
76638
76640
  start() {
@@ -4,10 +4,10 @@ import {
4
4
  file_default,
5
5
  init_esm_min,
6
6
  init_from
7
- } from "./chunk-IAWOYD5E.js";
7
+ } from "./chunk-XTJ4UUIY.js";
8
8
  import {
9
9
  __esm
10
- } from "./chunk-5GQDB6U7.js";
10
+ } from "./chunk-ZAYYPDZP.js";
11
11
 
12
12
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/utils/multipart-parser.js
13
13
  function _fileName(headerValue) {
@@ -11,10 +11,10 @@ import {
11
11
  init_esm_min,
12
12
  init_fetch_blob,
13
13
  init_from
14
- } from "./chunk-IAWOYD5E.js";
14
+ } from "./chunk-XTJ4UUIY.js";
15
15
  import {
16
16
  __esm
17
- } from "./chunk-5GQDB6U7.js";
17
+ } from "./chunk-ZAYYPDZP.js";
18
18
 
19
19
  // ../../node_modules/.pnpm/data-uri-to-buffer@4.0.1/node_modules/data-uri-to-buffer/dist/index.js
20
20
  function dataUriToBuffer(uri) {
@@ -260,7 +260,7 @@ var init_body = __esm({
260
260
  }
261
261
  return formData;
262
262
  }
263
- const { toFormData } = await import("./multipart-parser-ONCUQ5VA.js");
263
+ const { toFormData } = await import("./multipart-parser-MCEP54QZ.js");
264
264
  return toFormData(this.body, ct);
265
265
  }
266
266
  /**
@@ -2,10 +2,10 @@ import { createRequire as __createRequire } from 'module'; const require = __cre
2
2
  import {
3
3
  require_token_error,
4
4
  require_token_util
5
- } from "./chunk-YL5JSOUN.js";
5
+ } from "./chunk-N2HWGQP2.js";
6
6
  import {
7
7
  __commonJS
8
- } from "./chunk-5GQDB6U7.js";
8
+ } from "./chunk-ZAYYPDZP.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
11
11
  var require_token = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  require_token_util
4
- } from "./chunk-YL5JSOUN.js";
5
- import "./chunk-5GQDB6U7.js";
4
+ } from "./chunk-N2HWGQP2.js";
5
+ import "./chunk-ZAYYPDZP.js";
6
6
  export default require_token_util();
@@ -1 +1 @@
1
- import{a as q,r as s,j as r}from"./index-D555Ai5J.js";var P=q();function $(c){const n=c?`tracer:starred:${c}`:null,[i,S]=s.useState(()=>{if(!n)return new Set;try{const a=localStorage.getItem(n);return a?new Set(JSON.parse(a)):new Set}catch{return new Set}});return[i,a=>{S(u=>{const t=new Set(u);return t.has(a)?t.delete(a):t.add(a),n&&localStorage.setItem(n,JSON.stringify([...t])),t})}]}function I({options:c,value:n,onChange:i,placeholder:S="Select...",storageKey:v,fitContent:a,disabled:u}){const[t,l]=s.useState(!1),[w,y]=s.useState(""),f=s.useRef(null),j=s.useRef(null),N=s.useRef(null),g=s.useRef(null),[x,C]=$(v),[m,L]=s.useState({top:0,left:0,minWidth:0});s.useEffect(()=>{if(!t)return;const e=d=>{f.current?.contains(d.target)||j.current?.contains(d.target)||l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[t]);const R=s.useCallback(()=>{if(!f.current)return;const e=f.current.getBoundingClientRect();L({top:e.bottom+4,left:e.left,minWidth:e.width})},[]);s.useEffect(()=>{t&&(R(),y(""),requestAnimationFrame(()=>N.current?.focus()))},[t,R]);const h=c.find(e=>e.value===n),p=s.useMemo(()=>{const e=w.toLowerCase();return[...e?c.filter(o=>o.label.toLowerCase().includes(e)||o.value.toLowerCase().includes(e)):c].sort((o,b)=>{const k=x.has(o.value)?0:1,E=x.has(b.value)?0:1;return k!==E?k-E:o.label.localeCompare(b.label)})},[c,w,x]);s.useEffect(()=>{if(t&&n&&g.current){const e=g.current.querySelector(`[data-value="${CSS.escape(n)}"]`);e&&e.scrollIntoView({block:"nearest"})}},[t,n]);const W=t?P.createPortal(r.jsxs("div",{ref:j,className:"fixed z-[100] bg-white border border-[#d4d2cd] rounded shadow-lg",style:{top:m.top,left:m.left,minWidth:m.minWidth,width:a?"max-content":m.minWidth},children:[r.jsx("div",{className:"p-1.5 border-b border-[#e8e6e1]",children:r.jsx("input",{ref:N,type:"text",value:w,onChange:e=>y(e.target.value),placeholder:"Search...",className:"w-full px-2 py-1.5 text-xs text-[#2c2c2c] font-sans bg-[#f5f4f0] border border-[#e8e6e1] rounded focus:outline-none focus:border-[#2b5ea7] placeholder:text-[#9c9890]",onKeyDown:e=>{e.key==="Escape"&&l(!1),e.key==="Enter"&&p.length>0&&(i(p[0].value),l(!1))}})}),r.jsx("div",{ref:g,className:"max-h-[280px] overflow-y-auto",children:p.length===0?r.jsx("div",{className:"px-3 py-3 text-xs text-[#9c9890] text-center",children:"No projects found"}):p.map(e=>{const d=e.value===n,o=x.has(e.value);return r.jsxs("div",{"data-value":e.value,className:`flex items-center gap-1.5 px-2 py-1.5 text-xs font-sans cursor-pointer transition-colors ${d?"bg-[#2b5ea7]/10 text-[#2b5ea7]":"text-[#2c2c2c] hover:bg-[#f5f4f0]"}`,onClick:()=>{i(e.value),l(!1)},children:[r.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),C(e.value)},className:`shrink-0 w-4 h-4 flex items-center justify-center text-[10px] transition-colors ${o?"text-[#d4a017]":"text-[#d4d2cd] hover:text-[#9c9890]"}`,title:o?"Unstar":"Star to pin to top",children:o?"★":"☆"}),r.jsx("span",{className:a?"whitespace-nowrap":"truncate flex-1",children:e.label})]},e.value)})})]}),document.body):null;return r.jsxs(r.Fragment,{children:[r.jsxs("button",{ref:f,type:"button",onClick:()=>!u&&l(!t),disabled:u,className:"w-full bg-white border border-[#d4d2cd] rounded px-3 py-2 text-xs text-[#2c2c2c] font-sans text-left flex items-center justify-between focus:outline-none focus:border-[#2b5ea7] hover:border-[#b0ada6] transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[r.jsx("span",{className:h?"text-[#2c2c2c] truncate":"text-[#9c9890]",children:h?h.displayLabel??h.label:S}),r.jsx("span",{className:"text-[#9c9890] text-[10px] ml-2 shrink-0 transition-transform duration-200",style:{transform:t?"rotate(180deg)":"rotate(0deg)"},children:"▾"})]}),W]})}export{I as S,P as r,$ as u};
1
+ import{a as q,r as s,j as r}from"./index-L_n_IFmZ.js";var P=q();function $(c){const n=c?`tracer:starred:${c}`:null,[i,S]=s.useState(()=>{if(!n)return new Set;try{const a=localStorage.getItem(n);return a?new Set(JSON.parse(a)):new Set}catch{return new Set}});return[i,a=>{S(u=>{const t=new Set(u);return t.has(a)?t.delete(a):t.add(a),n&&localStorage.setItem(n,JSON.stringify([...t])),t})}]}function I({options:c,value:n,onChange:i,placeholder:S="Select...",storageKey:v,fitContent:a,disabled:u}){const[t,l]=s.useState(!1),[w,y]=s.useState(""),f=s.useRef(null),j=s.useRef(null),N=s.useRef(null),g=s.useRef(null),[x,C]=$(v),[m,L]=s.useState({top:0,left:0,minWidth:0});s.useEffect(()=>{if(!t)return;const e=d=>{f.current?.contains(d.target)||j.current?.contains(d.target)||l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[t]);const R=s.useCallback(()=>{if(!f.current)return;const e=f.current.getBoundingClientRect();L({top:e.bottom+4,left:e.left,minWidth:e.width})},[]);s.useEffect(()=>{t&&(R(),y(""),requestAnimationFrame(()=>N.current?.focus()))},[t,R]);const h=c.find(e=>e.value===n),p=s.useMemo(()=>{const e=w.toLowerCase();return[...e?c.filter(o=>o.label.toLowerCase().includes(e)||o.value.toLowerCase().includes(e)):c].sort((o,b)=>{const k=x.has(o.value)?0:1,E=x.has(b.value)?0:1;return k!==E?k-E:o.label.localeCompare(b.label)})},[c,w,x]);s.useEffect(()=>{if(t&&n&&g.current){const e=g.current.querySelector(`[data-value="${CSS.escape(n)}"]`);e&&e.scrollIntoView({block:"nearest"})}},[t,n]);const W=t?P.createPortal(r.jsxs("div",{ref:j,className:"fixed z-[100] bg-white border border-[#d4d2cd] rounded shadow-lg",style:{top:m.top,left:m.left,minWidth:m.minWidth,width:a?"max-content":m.minWidth},children:[r.jsx("div",{className:"p-1.5 border-b border-[#e8e6e1]",children:r.jsx("input",{ref:N,type:"text",value:w,onChange:e=>y(e.target.value),placeholder:"Search...",className:"w-full px-2 py-1.5 text-xs text-[#2c2c2c] font-sans bg-[#f5f4f0] border border-[#e8e6e1] rounded focus:outline-none focus:border-[#2b5ea7] placeholder:text-[#9c9890]",onKeyDown:e=>{e.key==="Escape"&&l(!1),e.key==="Enter"&&p.length>0&&(i(p[0].value),l(!1))}})}),r.jsx("div",{ref:g,className:"max-h-[280px] overflow-y-auto",children:p.length===0?r.jsx("div",{className:"px-3 py-3 text-xs text-[#9c9890] text-center",children:"No projects found"}):p.map(e=>{const d=e.value===n,o=x.has(e.value);return r.jsxs("div",{"data-value":e.value,className:`flex items-center gap-1.5 px-2 py-1.5 text-xs font-sans cursor-pointer transition-colors ${d?"bg-[#2b5ea7]/10 text-[#2b5ea7]":"text-[#2c2c2c] hover:bg-[#f5f4f0]"}`,onClick:()=>{i(e.value),l(!1)},children:[r.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),C(e.value)},className:`shrink-0 w-4 h-4 flex items-center justify-center text-[10px] transition-colors ${o?"text-[#d4a017]":"text-[#d4d2cd] hover:text-[#9c9890]"}`,title:o?"Unstar":"Star to pin to top",children:o?"★":"☆"}),r.jsx("span",{className:a?"whitespace-nowrap":"truncate flex-1",children:e.label})]},e.value)})})]}),document.body):null;return r.jsxs(r.Fragment,{children:[r.jsxs("button",{ref:f,type:"button",onClick:()=>!u&&l(!t),disabled:u,className:"w-full bg-white border border-[#d4d2cd] rounded px-3 py-2 text-xs text-[#2c2c2c] font-sans text-left flex items-center justify-between focus:outline-none focus:border-[#2b5ea7] hover:border-[#b0ada6] transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[r.jsx("span",{className:h?"text-[#2c2c2c] truncate":"text-[#9c9890]",children:h?h.displayLabel??h.label:S}),r.jsx("span",{className:"text-[#9c9890] text-[10px] ml-2 shrink-0 transition-transform duration-200",style:{transform:t?"rotate(180deg)":"rotate(0deg)"},children:"▾"})]}),W]})}export{I as S,P as r,$ as u};