@tonyclaw/agent-inspector 3.0.23 → 3.0.25

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 (49) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompareDrawer-CFedvZHU.js → CompareDrawer-BnvOPwpe.js} +1 -1
  3. package/.output/public/assets/ProxyViewerContainer-DcqFqo1m.js +127 -0
  4. package/.output/public/assets/{ReplayDialog-X-fRSKAu.js → ReplayDialog-BJgoQWdW.js} +1 -1
  5. package/.output/public/assets/{RequestAnatomy-S8qB5nVg.js → RequestAnatomy-CpBZEHnM.js} +1 -1
  6. package/.output/public/assets/{ResponseView-_rcOWSwJ.js → ResponseView-CWmyRb2M.js} +2 -2
  7. package/.output/public/assets/{StreamingChunkSequence-Bc15AVpN.js → StreamingChunkSequence-BWhC8bwx.js} +1 -1
  8. package/.output/public/assets/{_sessionId-Cz-HW2Wf.js → _sessionId-Cq-2OqUU.js} +1 -1
  9. package/.output/public/assets/{index-CEgwWY3E.js → index-BKi9IRtV.js} +71 -7
  10. package/.output/public/assets/index-BMYuDL5X.css +1 -0
  11. package/.output/public/assets/{index-CXYBU0j8.js → index-Cf8O0Oos.js} +1 -1
  12. package/.output/public/assets/{index-ClKXooQd.js → index-DdgTJ4QJ.js} +1 -1
  13. package/.output/public/assets/{json-viewer-QfU4qGdd.js → json-viewer-Bqu_4hmm.js} +1 -1
  14. package/.output/server/_libs/lucide-react.mjs +306 -246
  15. package/.output/server/{_sessionId-9FAmYZVf.mjs → _sessionId-Ba7H3Gjw.mjs} +2 -2
  16. package/.output/server/_ssr/{CompareDrawer-BLKjOzwD.mjs → CompareDrawer-aH59Ab6x.mjs} +3 -3
  17. package/.output/server/_ssr/{ProxyViewerContainer-Dcs2Mq8l.mjs → ProxyViewerContainer-By-I0tJv.mjs} +1791 -1259
  18. package/.output/server/_ssr/{ReplayDialog-oyiF4LIo.mjs → ReplayDialog-BO4Vy0et.mjs} +4 -4
  19. package/.output/server/_ssr/{RequestAnatomy-DkyQXSuj.mjs → RequestAnatomy-FtOr7vSS.mjs} +3 -3
  20. package/.output/server/_ssr/{ResponseView-3NTDEiDh.mjs → ResponseView-cvw6ajue.mjs} +3 -3
  21. package/.output/server/_ssr/{StreamingChunkSequence-DRq-5Bgn.mjs → StreamingChunkSequence-Oc8S2kD6.mjs} +3 -3
  22. package/.output/server/_ssr/{index-dtMiNUa1.mjs → index-BDRlQheR.mjs} +2 -2
  23. package/.output/server/_ssr/index.mjs +2 -2
  24. package/.output/server/_ssr/{json-viewer-BhUwicvp.mjs → json-viewer-Cd6trhQr.mjs} +3 -3
  25. package/.output/server/_ssr/{router-DO0OntUK.mjs → router-bofP-Ekl.mjs} +296 -91
  26. package/.output/server/{_tanstack-start-manifest_v-DO5v3BHY.mjs → _tanstack-start-manifest_v-BPuf86qB.mjs} +1 -1
  27. package/.output/server/index.mjs +76 -76
  28. package/package.json +3 -2
  29. package/src/components/ProxyViewer.tsx +138 -740
  30. package/src/components/ProxyViewerContainer.tsx +5 -47
  31. package/src/components/alerts/AlertsDialog.tsx +6 -2
  32. package/src/components/inspector-pet/InspectorPet.tsx +390 -0
  33. package/src/components/inspector-pet/inspectorPetLogic.ts +273 -0
  34. package/src/components/providers/ProviderCard.tsx +20 -579
  35. package/src/components/providers/ProviderTestResultsView.tsx +732 -0
  36. package/src/components/proxy-viewer/LogEntry.tsx +5 -0
  37. package/src/components/proxy-viewer/LogEntryHeader.tsx +7 -0
  38. package/src/components/proxy-viewer/ToolTraceEvents.tsx +33 -36
  39. package/src/components/proxy-viewer/TurnGroup.tsx +1 -5
  40. package/src/components/proxy-viewer/proxyViewerContainerLogic.ts +46 -0
  41. package/src/components/proxy-viewer/proxyViewerLogic.ts +469 -0
  42. package/src/lib/themeMode.ts +45 -0
  43. package/src/lib/uiScale.ts +112 -0
  44. package/src/lib/useThemeMode.ts +40 -0
  45. package/src/lib/useUiScale.ts +52 -0
  46. package/src/routes/__root.tsx +78 -1
  47. package/styles/globals.css +403 -24
  48. package/.output/public/assets/ProxyViewerContainer-BlCrBvdm.js +0 -127
  49. package/.output/public/assets/index-B_SIQ47i.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-Dcs2Mq8l.mjs";
3
- import { ResponseView } from "./ResponseView-3NTDEiDh.mjs";
4
- import { C as CapturedLogSchema } from "./router-DO0OntUK.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-By-I0tJv.mjs";
3
+ import { ResponseView } from "./ResponseView-cvw6ajue.mjs";
4
+ import { C as CapturedLogSchema } from "./router-bofP-Ekl.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 { aw as RotateCcw, aI as Braces, aJ 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-Dcs2Mq8l.mjs";
3
- import "./router-DO0OntUK.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-By-I0tJv.mjs";
3
+ import "./router-bofP-Ekl.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 { I as Info, a as ChevronDown, k as ChevronRight } from "../_libs/lucide-react.mjs";
15
+ import { I as Info, a as ChevronDown, m as ChevronRight } 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";
@@ -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-Dcs2Mq8l.mjs";
3
- import { s as safeGetOwnProperty } from "./router-DO0OntUK.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-By-I0tJv.mjs";
3
+ import { s as safeGetOwnProperty } from "./router-bofP-Ekl.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 { aa as Zap, T as TriangleAlert, aK as CircleStop, ac as Brain, a as ChevronDown, m as ChevronRight, z 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-Dcs2Mq8l.mjs";
3
- import { U as StreamingChunkSchema$1 } from "./router-DO0OntUK.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-By-I0tJv.mjs";
3
+ import { a3 as StreamingChunkSchema$1 } from "./router-bofP-Ekl.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 { a as ChevronDown, k as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
15
+ import { a as ChevronDown, m as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
16
16
  import { o as object, d as boolean, e as array } from "../_libs/zod.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 { P as ProxyViewerContainer } from "./ProxyViewerContainer-Dcs2Mq8l.mjs";
3
- import "./router-DO0OntUK.mjs";
2
+ import { P as ProxyViewerContainer } from "./ProxyViewerContainer-By-I0tJv.mjs";
3
+ import "./router-bofP-Ekl.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-DO5v3BHY.mjs");
88
+ const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-BPuf86qB.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-DO0OntUK.mjs").then((n) => n.V),
1165
+ import("./router-bofP-Ekl.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-Dcs2Mq8l.mjs";
3
- import "./router-DO0OntUK.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-By-I0tJv.mjs";
3
+ import "./router-bofP-Ekl.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, j as Copy, a as ChevronDown, m as ChevronRight, au 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";