@tonyclaw/llm-inspector 1.11.0 → 1.11.2

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 (57) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/index-BpKPXEcb.css +1 -0
  3. package/.output/public/assets/index-Chp_30CP.js +11 -0
  4. package/.output/public/assets/index-DLvqlFS9.js +130 -0
  5. package/.output/server/_libs/@radix-ui/react-use-controllable-state+[...].mjs +1 -1
  6. package/.output/server/_libs/ajv-formats.mjs +18 -18
  7. package/.output/server/_libs/ajv.mjs +941 -6305
  8. package/.output/server/_libs/cookie-es.mjs +7 -21
  9. package/.output/server/_libs/floating-ui__core.mjs +18 -17
  10. package/.output/server/_libs/floating-ui__dom.mjs +24 -20
  11. package/.output/server/_libs/floating-ui__react-dom.mjs +55 -28
  12. package/.output/server/_libs/floating-ui__utils.mjs +36 -36
  13. package/.output/server/_libs/h3-v2.mjs +20 -9
  14. package/.output/server/_libs/isbot.mjs +3 -2
  15. package/.output/server/_libs/json-schema-traverse.mjs +1 -90
  16. package/.output/server/_libs/jszip.mjs +28 -28
  17. package/.output/server/_libs/mdast-util-from-markdown.mjs +1 -1
  18. package/.output/server/_libs/pako.mjs +13 -13
  19. package/.output/server/_libs/property-information.mjs +13 -1
  20. package/.output/server/_libs/radix-ui__react-collection.mjs +1 -1
  21. package/.output/server/_libs/radix-ui__react-id.mjs +1 -1
  22. package/.output/server/_libs/react-dom.mjs +10 -10
  23. package/.output/server/_libs/react.mjs +44 -44
  24. package/.output/server/_libs/readable-stream.mjs +15 -15
  25. package/.output/server/_libs/rou3.mjs +1 -7
  26. package/.output/server/_libs/safe-buffer.mjs +3 -3
  27. package/.output/server/_libs/semver.mjs +10 -10
  28. package/.output/server/_libs/seroval-plugins.mjs +5 -5
  29. package/.output/server/_libs/seroval.mjs +606 -596
  30. package/.output/server/_libs/srvx.mjs +10 -245
  31. package/.output/server/_libs/swr.mjs +1 -1
  32. package/.output/server/_libs/tailwind-merge.mjs +286 -41
  33. package/.output/server/_libs/tanstack__history.mjs +31 -44
  34. package/.output/server/_libs/tanstack__react-router.mjs +780 -1089
  35. package/.output/server/_libs/tanstack__react-store.mjs +1 -1
  36. package/.output/server/_libs/tanstack__react-virtual.mjs +82 -7
  37. package/.output/server/_libs/tanstack__router-core.mjs +2223 -2328
  38. package/.output/server/_libs/tanstack__virtual-core.mjs +58 -17
  39. package/.output/server/_libs/ungap__structured-clone.mjs +14 -2
  40. package/.output/server/_libs/use-sync-external-store.mjs +1 -1
  41. package/.output/server/_libs/zod.mjs +503 -205
  42. package/.output/server/_ssr/empty-plugin-adapters-BFgPZ6_d.mjs +6 -0
  43. package/.output/server/_ssr/{index-I_Nx8QEB.mjs → index-CYuV1ljD.mjs} +8 -8
  44. package/.output/server/_ssr/index.mjs +1098 -776
  45. package/.output/server/_ssr/{router-BVxfVFsb.mjs → router-e-RbjELX.mjs} +4 -6
  46. package/.output/server/_tanstack-start-manifest_v-C5P5lsG5.mjs +4 -0
  47. package/.output/server/index.mjs +21 -21
  48. package/package.json +1 -1
  49. package/src/components/providers/ProvidersPanel.tsx +4 -2
  50. package/src/components/providers/SettingsDialog.tsx +2 -1
  51. package/src/proxy/dataDir.ts +1 -1
  52. package/.output/public/assets/index-BIZeMR5N.js +0 -105
  53. package/.output/public/assets/index-SmtLx1lM.css +0 -1
  54. package/.output/public/assets/main-QfbQ5oBP.js +0 -17
  55. package/.output/server/_libs/tiny-invariant.mjs +0 -12
  56. package/.output/server/_libs/tiny-warning.mjs +0 -5
  57. package/.output/server/_tanstack-start-manifest_v-Cm2Owszu.mjs +0 -4
@@ -0,0 +1,6 @@
1
+ var pluginSerializationAdapters = [];
2
+ var hasPluginAdapters = false;
3
+ export {
4
+ hasPluginAdapters,
5
+ pluginSerializationAdapters
6
+ };
@@ -1,5 +1,5 @@
1
- import { r as reactExports, j as jsxRuntimeExports, a as React } from "../_libs/react.mjs";
2
- import { C as CapturedLogSchema, R as RuntimeConfigSchema, a as parseRequest, s as stripClaudeCodeBillingHeader, p as parseOpenAIResponse, I as InspectorResponseSchema } from "./router-BVxfVFsb.mjs";
1
+ import { r as reactExports, j as jsxRuntimeExports, R as React } from "../_libs/react.mjs";
2
+ import { C as CapturedLogSchema, R as RuntimeConfigSchema, a as parseRequest, s as stripClaudeCodeBillingHeader, p as parseOpenAIResponse, I as InspectorResponseSchema } from "./router-e-RbjELX.mjs";
3
3
  import { u as useSWR, a as useSWRConfig } from "../_libs/swr.mjs";
4
4
  import { u as useVirtualizer } from "../_libs/tanstack__react-virtual.mjs";
5
5
  import { J as JSZip } from "../_libs/jszip.mjs";
@@ -19,11 +19,9 @@ import { R as Root$1 } from "../_libs/radix-ui__react-separator.mjs";
19
19
  import { R as Root$2, C as CollapsibleTrigger$1, a as CollapsibleContent$1 } from "../_libs/radix-ui__react-collapsible.mjs";
20
20
  import { R as Root$3, V as Viewport$1, C as Corner, S as ScrollAreaScrollbar, a as ScrollAreaThumb } from "../_libs/radix-ui__react-scroll-area.mjs";
21
21
  import "../_libs/tanstack__react-router.mjs";
22
- import "../_libs/tiny-warning.mjs";
23
22
  import "../_libs/tanstack__router-core.mjs";
24
- import "../_libs/cookie-es.mjs";
25
23
  import "../_libs/tanstack__history.mjs";
26
- import "../_libs/tiny-invariant.mjs";
24
+ import "../_libs/cookie-es.mjs";
27
25
  import "../_libs/seroval.mjs";
28
26
  import "../_libs/seroval-plugins.mjs";
29
27
  import "node:stream/web";
@@ -257,7 +255,7 @@ async function exportLogsAsZip(logs) {
257
255
  document.body.removeChild(anchor);
258
256
  URL.revokeObjectURL(url);
259
257
  }
260
- const version = "1.11.0";
258
+ const version = "1.11.2";
261
259
  const packageJson = {
262
260
  version
263
261
  };
@@ -3170,6 +3168,7 @@ function ProviderForm({ provider, onSubmit, onCancel }) {
3170
3168
  }
3171
3169
  function ProvidersPanel({
3172
3170
  externalProviders,
3171
+ isLoading = false,
3173
3172
  externalTestResults,
3174
3173
  externalTestingProviders,
3175
3174
  externalTestingTimeLeft,
@@ -3448,7 +3447,7 @@ function ProvidersPanel({
3448
3447
  e.target.value = "";
3449
3448
  })();
3450
3449
  }
3451
- if (providers.length === 0) {
3450
+ if (isLoading) {
3452
3451
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading providers..." }) });
3453
3452
  }
3454
3453
  if (showForm || editingProvider) {
@@ -3586,7 +3585,7 @@ function useProviders() {
3586
3585
  function SettingsDialog() {
3587
3586
  const [open, setOpen] = reactExports.useState(false);
3588
3587
  const [activeTab, setActiveTab] = reactExports.useState("providers");
3589
- const { providers, mutate } = useProviders();
3588
+ const { providers, isLoading, mutate } = useProviders();
3590
3589
  const [testResults, setTestResults] = reactExports.useState({});
3591
3590
  const [testingProviders, setTestingProviders] = reactExports.useState(/* @__PURE__ */ new Set());
3592
3591
  const [testingTimeLeft, setTestingTimeLeft] = reactExports.useState({});
@@ -3637,6 +3636,7 @@ function SettingsDialog() {
3637
3636
  ProvidersPanel,
3638
3637
  {
3639
3638
  externalProviders: providers,
3639
+ isLoading,
3640
3640
  externalTestResults: testResults,
3641
3641
  externalTestingProviders: testingProviders,
3642
3642
  externalTestingTimeLeft: testingTimeLeft,