@tonyclaw/agent-inspector 3.0.22 → 3.0.24

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 (47) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompareDrawer-CaDAbX9q.js → CompareDrawer-BC52FYwn.js} +1 -1
  3. package/.output/public/assets/ProxyViewerContainer-WuChOrSS.js +127 -0
  4. package/.output/public/assets/{ReplayDialog-C5kb1Bj4.js → ReplayDialog-BcKsarKt.js} +1 -1
  5. package/.output/public/assets/{RequestAnatomy-CbPNLnlL.js → RequestAnatomy-DR0uGpCj.js} +1 -1
  6. package/.output/public/assets/{ResponseView-DyzW0Zfo.js → ResponseView-kxAAPfmn.js} +2 -2
  7. package/.output/public/assets/{StreamingChunkSequence-Cl8zJu0w.js → StreamingChunkSequence-YQR0PjQj.js} +1 -1
  8. package/.output/public/assets/{_sessionId-BeN8-5Ho.js → _sessionId-DRl-Y9om.js} +1 -1
  9. package/.output/public/assets/{index-BCHWOmF2.js → index-CQbrc-hi.js} +71 -7
  10. package/.output/public/assets/{index-DcFtdKF3.js → index-CcSIBI4L.js} +1 -1
  11. package/.output/public/assets/index-DQeXi4Rv.css +1 -0
  12. package/.output/public/assets/{index-Pz9T7cS9.js → index-ZrMgyEZV.js} +1 -1
  13. package/.output/public/assets/{json-viewer-PNvFrOUw.js → json-viewer-CS5pwnEA.js} +1 -1
  14. package/.output/server/_libs/lucide-react.mjs +266 -234
  15. package/.output/server/{_sessionId-CIvbZsmt.mjs → _sessionId-BLk2xPkR.mjs} +2 -2
  16. package/.output/server/_ssr/{CompareDrawer-CtWPZP5T.mjs → CompareDrawer-Cw7Dseo3.mjs} +3 -3
  17. package/.output/server/_ssr/{ProxyViewerContainer-Dnm-Hup3.mjs → ProxyViewerContainer-D8SB0zyQ.mjs} +1124 -877
  18. package/.output/server/_ssr/{ReplayDialog-BYii7Q2m.mjs → ReplayDialog-B-YMhZkE.mjs} +4 -4
  19. package/.output/server/_ssr/{RequestAnatomy-CC6brPZr.mjs → RequestAnatomy-a9d8UTYZ.mjs} +2 -2
  20. package/.output/server/_ssr/{ResponseView-CwwkL_0d.mjs → ResponseView-PzaZS4CN.mjs} +3 -3
  21. package/.output/server/_ssr/{StreamingChunkSequence-CFsJzBLS.mjs → StreamingChunkSequence-C21_TCXk.mjs} +2 -2
  22. package/.output/server/_ssr/{index-B-Mm06YB.mjs → index-CrCeNP7H.mjs} +2 -2
  23. package/.output/server/_ssr/index.mjs +2 -2
  24. package/.output/server/_ssr/{json-viewer-D2MGmYZ0.mjs → json-viewer-Di2gxs9H.mjs} +3 -3
  25. package/.output/server/_ssr/{router-BwvN4eYE.mjs → router-BJzdUbcH.mjs} +296 -91
  26. package/.output/server/{_tanstack-start-manifest_v-Dpk8cafb.mjs → _tanstack-start-manifest_v-CGBTdAYC.mjs} +1 -1
  27. package/.output/server/index.mjs +64 -64
  28. package/package.json +6 -2
  29. package/src/components/ProxyViewer.tsx +136 -460
  30. package/src/components/ProxyViewerContainer.tsx +5 -47
  31. package/src/components/alerts/AlertsDialog.tsx +6 -2
  32. package/src/components/providers/ProviderCard.tsx +20 -579
  33. package/src/components/providers/ProviderTestResultsView.tsx +732 -0
  34. package/src/components/proxy-viewer/LogEntry.tsx +5 -0
  35. package/src/components/proxy-viewer/LogEntryHeader.tsx +7 -0
  36. package/src/components/proxy-viewer/ToolTraceEvents.tsx +33 -36
  37. package/src/components/proxy-viewer/TurnGroup.tsx +1 -5
  38. package/src/components/proxy-viewer/proxyViewerContainerLogic.ts +46 -0
  39. package/src/components/proxy-viewer/proxyViewerLogic.ts +469 -0
  40. package/src/lib/themeMode.ts +45 -0
  41. package/src/lib/uiScale.ts +112 -0
  42. package/src/lib/useThemeMode.ts +40 -0
  43. package/src/lib/useUiScale.ts +52 -0
  44. package/src/routes/__root.tsx +78 -1
  45. package/styles/globals.css +305 -23
  46. package/.output/public/assets/ProxyViewerContainer-7ugZIMW0.js +0 -127
  47. package/.output/public/assets/index-SqCROi0s.css +0 -1
@@ -1,7 +1,7 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { u as useProviders, d as fetchJsonWithTimeout, D as Dialog, e as DialogContent, h as DialogHeader, i as DialogTitle, T as Tabs, j as TabsList, k as TabsTrigger, l as TabsContent, m as Button, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, s as dispatchLogFocusRequest, A as ApiTimeoutError } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import { ResponseView } from "./ResponseView-CwwkL_0d.mjs";
4
- import { C as CapturedLogSchema } from "./router-BwvN4eYE.mjs";
2
+ import { u as useProviders, d as fetchJsonWithTimeout, D as Dialog, e as DialogContent, h as DialogHeader, i as DialogTitle, T as Tabs, j as TabsList, k as TabsTrigger, l as TabsContent, m as Button, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, s as dispatchLogFocusRequest, A as ApiTimeoutError } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import { ResponseView } from "./ResponseView-PzaZS4CN.mjs";
4
+ import { C as CapturedLogSchema } from "./router-BJzdUbcH.mjs";
5
5
  import "../_libs/jszip.mjs";
6
6
  import "node:fs";
7
7
  import "node:buffer";
@@ -13,7 +13,7 @@ import "crypto";
13
13
  import "node:util";
14
14
  import "../_libs/modelcontextprotocol__server.mjs";
15
15
  import "node:os";
16
- import { aq as RotateCcw, aC as Braces, aD as Minimize2 } from "../_libs/lucide-react.mjs";
16
+ import { at as RotateCcw, aF as Braces, aG as Minimize2 } from "../_libs/lucide-react.mjs";
17
17
  import { o as object, n as number, e as array, d as boolean, b as string } from "../_libs/zod.mjs";
18
18
  import "../_libs/swr.mjs";
19
19
  import "../_libs/use-sync-external-store.mjs";
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { u as useProviders, t as analyzeContextIntelligence, f as formatTokens, n as TooltipProvider, c as cn, o as Tooltip, p as TooltipTrigger, q as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, v as ANATOMY_ROLE_LABELS, w as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import "./router-BwvN4eYE.mjs";
2
+ import { u as useProviders, t as analyzeContextIntelligence, f as formatTokens, n as TooltipProvider, c as cn, o as Tooltip, p as TooltipTrigger, q as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, v as ANATOMY_ROLE_LABELS, w as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import "./router-BJzdUbcH.mjs";
4
4
  import "node:fs";
5
5
  import "node:buffer";
6
6
  import "node:path";
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { g as getLogFormatAdapter, f as formatTokens, c as cn, x as getStatusCategory, B as Badge, y as Collapsible, z as CollapsibleTrigger, E as CollapsibleContent, F as ScrollArea, G as LazyJsonViewer, H as safeJsonValue } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import { s as safeGetOwnProperty } from "./router-BwvN4eYE.mjs";
2
+ import { g as getLogFormatAdapter, f as formatTokens, c as cn, x as getStatusCategory, B as Badge, y as Collapsible, z as CollapsibleTrigger, E as CollapsibleContent, F as ScrollArea, G as LazyJsonViewer, H as safeJsonValue } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import { s as safeGetOwnProperty } from "./router-BJzdUbcH.mjs";
4
4
  import "../_libs/jszip.mjs";
5
5
  import "node:fs";
6
6
  import "node:buffer";
@@ -12,7 +12,7 @@ import "crypto";
12
12
  import "node:util";
13
13
  import "../_libs/modelcontextprotocol__server.mjs";
14
14
  import "node:os";
15
- import { a4 as Zap, T as TriangleAlert, aE as CircleStop, a6 as Brain, a as ChevronDown, k as ChevronRight, v as Terminal } from "../_libs/lucide-react.mjs";
15
+ import { a7 as Zap, T as TriangleAlert, aH as CircleStop, a9 as Brain, a as ChevronDown, k as ChevronRight, x as Terminal } from "../_libs/lucide-react.mjs";
16
16
  import { R as Root } from "../_libs/radix-ui__react-separator.mjs";
17
17
  import "../_libs/swr.mjs";
18
18
  import "../_libs/use-sync-external-store.mjs";
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { d as fetchJsonWithTimeout, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, B as Badge, q as TooltipContent, G as LazyJsonViewer } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import { U as StreamingChunkSchema$1 } from "./router-BwvN4eYE.mjs";
2
+ import { d as fetchJsonWithTimeout, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, B as Badge, q as TooltipContent, G as LazyJsonViewer } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import { a3 as StreamingChunkSchema$1 } from "./router-BJzdUbcH.mjs";
4
4
  import "../_libs/jszip.mjs";
5
5
  import "node:fs";
6
6
  import "node:buffer";
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { P as ProxyViewerContainer } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import "./router-BwvN4eYE.mjs";
2
+ import { P as ProxyViewerContainer } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import "./router-BJzdUbcH.mjs";
4
4
  import "../_libs/jszip.mjs";
5
5
  import "node:fs";
6
6
  import "node:buffer";
@@ -85,7 +85,7 @@ function getResponse() {
85
85
  }
86
86
  var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
87
87
  async function getStartManifest(matchedRoutes) {
88
- const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-Dpk8cafb.mjs");
88
+ const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-CGBTdAYC.mjs");
89
89
  const startManifest = tsrStartManifest();
90
90
  let routes = startManifest.routes;
91
91
  routes[rootRouteId];
@@ -1162,7 +1162,7 @@ var getBaseManifest = getProdBaseManifest;
1162
1162
  var createEarlyHintsForRequest = createEarlyHintsCollector;
1163
1163
  async function loadEntries() {
1164
1164
  const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
1165
- import("./router-BwvN4eYE.mjs").then((n) => n.V),
1165
+ import("./router-BJzdUbcH.mjs").then((n) => n.a4),
1166
1166
  import("./start-HYkvq4Ni.mjs"),
1167
1167
  import("./empty-plugin-adapters-BFgPZ6_d.mjs")
1168
1168
  ]);
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { I as parseJsonText, c as cn, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-Dnm-Hup3.mjs";
3
- import "./router-BwvN4eYE.mjs";
2
+ import { I as parseJsonText, c as cn, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-D8SB0zyQ.mjs";
3
+ import "./router-BJzdUbcH.mjs";
4
4
  import "node:fs";
5
5
  import "node:buffer";
6
6
  import "node:path";
@@ -12,7 +12,7 @@ import "node:util";
12
12
  import "../_libs/modelcontextprotocol__server.mjs";
13
13
  import "../_libs/jszip.mjs";
14
14
  import "node:os";
15
- import { b as Check, h as Copy, a as ChevronDown, k as ChevronRight, ao as ChevronsDown } from "../_libs/lucide-react.mjs";
15
+ import { b as Check, h as Copy, a as ChevronDown, k as ChevronRight, ar as ChevronsDown } from "../_libs/lucide-react.mjs";
16
16
  import "../_libs/swr.mjs";
17
17
  import "../_libs/use-sync-external-store.mjs";
18
18
  import "../_libs/dequal.mjs";