@tonyclaw/agent-inspector 2.1.21 → 2.1.23

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 (48) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompareDrawer-Pii_cIqn.js → CompareDrawer-Cvgl_Jmi.js} +1 -1
  3. package/.output/public/assets/ProxyViewerContainer-CNLLZq37.js +106 -0
  4. package/.output/public/assets/{ReplayDialog-BqnYC8ze.js → ReplayDialog-DeEELx0X.js} +1 -1
  5. package/.output/public/assets/{RequestAnatomy-I8iBshz1.js → RequestAnatomy-CrLSqdiA.js} +1 -1
  6. package/.output/public/assets/ResponseView-CFIqDL5E.js +3 -0
  7. package/.output/public/assets/{StreamingChunkSequence-BrSx21IQ.js → StreamingChunkSequence-DSRjbgqb.js} +1 -1
  8. package/.output/public/assets/_sessionId-ZuH6-ZX5.js +1 -0
  9. package/.output/public/assets/index-B26q0-ch.js +1 -0
  10. package/.output/public/assets/{index-Dw-jXKKY.js → index-BZxLBVYd.js} +1 -1
  11. package/.output/public/assets/index-CxszCIFm.css +1 -0
  12. package/.output/public/assets/{json-viewer-D5mzV0oV.js → json-viewer-DERQNZRV.js} +1 -1
  13. package/.output/public/assets/{main-B7OIQMeA.js → main-BoshTI0W.js} +2 -2
  14. package/.output/server/_libs/lucide-react.mjs +42 -42
  15. package/.output/server/{_sessionId-DeU_JdSX.mjs → _sessionId-BYGtH1pK.mjs} +18 -3
  16. package/.output/server/_ssr/{CompareDrawer-DgDbG4oF.mjs → CompareDrawer-OchnKiac.mjs} +3 -3
  17. package/.output/server/_ssr/{ProxyViewerContainer-BOszhOJD.mjs → ProxyViewerContainer-C2lwYwDu.mjs} +2747 -2639
  18. package/.output/server/_ssr/{ReplayDialog-Cj4gWQv5.mjs → ReplayDialog-BYwaF14u.mjs} +4 -4
  19. package/.output/server/_ssr/{RequestAnatomy-CVzNAA03.mjs → RequestAnatomy-DTueiqT5.mjs} +2 -2
  20. package/.output/server/_ssr/{ResponseView-DLNpai6P.mjs → ResponseView-CqB9NKHB.mjs} +202 -55
  21. package/.output/server/_ssr/{StreamingChunkSequence-BiH8EEQB.mjs → StreamingChunkSequence-DENB9VUj.mjs} +2 -2
  22. package/.output/server/_ssr/{index-DaWXoUgf.mjs → index-BR3ea3Zb.mjs} +2 -2
  23. package/.output/server/_ssr/index.mjs +2 -2
  24. package/.output/server/_ssr/{json-viewer-CqqNYbmS.mjs → json-viewer-BU9ZUaHK.mjs} +3 -3
  25. package/.output/server/_ssr/{router-Di7D0Bcm.mjs → router-DT6BcrEg.mjs} +4 -4
  26. package/.output/server/{_tanstack-start-manifest_v-BR0YvW29.mjs → _tanstack-start-manifest_v-xQ1BRoZw.mjs} +1 -1
  27. package/.output/server/index.mjs +75 -75
  28. package/package.json +1 -1
  29. package/src/components/ProxyViewer.tsx +71 -15
  30. package/src/components/ProxyViewerContainer.tsx +1 -1
  31. package/src/components/proxy-viewer/ConversationGroupList.tsx +23 -7
  32. package/src/components/proxy-viewer/ConversationHeader.tsx +14 -7
  33. package/src/components/proxy-viewer/LogEntry.tsx +10 -0
  34. package/src/components/proxy-viewer/ResponseView.tsx +5 -1
  35. package/src/components/proxy-viewer/ToolTraceEvents.tsx +19 -31
  36. package/src/components/proxy-viewer/TurnGroup.tsx +21 -7
  37. package/src/components/proxy-viewer/formats/anthropic/ContentBlocks.tsx +37 -4
  38. package/src/components/proxy-viewer/formats/anthropic/ResponseView.tsx +17 -3
  39. package/src/components/proxy-viewer/formats/index.tsx +8 -3
  40. package/src/components/proxy-viewer/formats/openai/ResponseView.tsx +122 -16
  41. package/src/components/proxy-viewer/logFocus.ts +11 -3
  42. package/src/components/proxy-viewer/viewerState.ts +22 -7
  43. package/src/routes/session/$sessionId.tsx +27 -1
  44. package/.output/public/assets/ProxyViewerContainer-BxselkhN.js +0 -106
  45. package/.output/public/assets/ResponseView-wZzskUas.js +0 -3
  46. package/.output/public/assets/_sessionId-ByxbBMbE.js +0 -1
  47. package/.output/public/assets/index-BjzVMXJq.css +0 -1
  48. package/.output/public/assets/index-DRCRDo_E.js +0 -1
@@ -734,7 +734,7 @@ const __iconNode = [
734
734
  ];
735
735
  const Zap = createLucideIcon("zap", __iconNode);
736
736
  export {
737
- Wifi as $,
737
+ Lock as $,
738
738
  ArrowLeft as A,
739
739
  Bell as B,
740
740
  CircleCheck as C,
@@ -742,43 +742,43 @@ export {
742
742
  EyeOff as E,
743
743
  FileBraces as F,
744
744
  Gauge as G,
745
- Clock as H,
745
+ RotateCw as H,
746
746
  Info as I,
747
- Pencil as J,
748
- MessageSquare as K,
747
+ Clock as J,
748
+ Pencil as K,
749
749
  LoaderCircle as L,
750
750
  Monitor as M,
751
- Brain as N,
752
- Minus as O,
751
+ MessageSquare as N,
752
+ Brain as O,
753
753
  Plus as P,
754
- CircleCheckBig as Q,
754
+ Minus as Q,
755
755
  RefreshCw as R,
756
- Siren as S,
756
+ Search as S,
757
757
  TriangleAlert as T,
758
758
  Upload as U,
759
- CircleQuestionMark as V,
759
+ CircleCheckBig as V,
760
760
  Wrench as W,
761
761
  X,
762
- Server as Y,
762
+ CircleQuestionMark as Y,
763
763
  Zap as Z,
764
- Lock as _,
764
+ Server as _,
765
765
  ChevronDown as a,
766
- WifiOff as a0,
767
- CircleX as a1,
768
- ShieldCheck as a2,
769
- Save as a3,
770
- FileSearch as a4,
771
- CloudUpload as a5,
772
- OctagonAlert as a6,
773
- Radio as a7,
774
- Globe as a8,
775
- FileTerminal as a9,
776
- ChevronsUp as aa,
777
- ChevronsDown as ab,
778
- FileDiff as ac,
779
- History as ad,
780
- RotateCcw as ae,
781
- Search as af,
766
+ Wifi as a0,
767
+ WifiOff as a1,
768
+ CircleX as a2,
769
+ ShieldCheck as a3,
770
+ Save as a4,
771
+ FileSearch as a5,
772
+ CloudUpload as a6,
773
+ OctagonAlert as a7,
774
+ Radio as a8,
775
+ Globe as a9,
776
+ FileTerminal as aa,
777
+ ChevronsUp as ab,
778
+ ChevronsDown as ac,
779
+ FileDiff as ad,
780
+ History as ae,
781
+ RotateCcw as af,
782
782
  GitCompareArrows as ag,
783
783
  ArrowUp as ah,
784
784
  ArrowDown as ai,
@@ -803,19 +803,19 @@ export {
803
803
  ChevronsRight as i,
804
804
  Clapperboard as j,
805
805
  Flag as k,
806
- Timer as l,
807
- Layers as m,
808
- Settings as n,
809
- Scan as o,
810
- CircleAlert as p,
811
- Terminal as q,
812
- ArrowUpRight as r,
813
- ArrowDownRight as s,
814
- Cpu as t,
815
- FolderOpen as u,
816
- Clock3 as v,
817
- ShieldAlert as w,
818
- Eye as x,
819
- ExternalLink as y,
820
- RotateCw as z
806
+ Siren as l,
807
+ Timer as m,
808
+ Layers as n,
809
+ Settings as o,
810
+ Scan as p,
811
+ CircleAlert as q,
812
+ Terminal as r,
813
+ ArrowUpRight as s,
814
+ ArrowDownRight as t,
815
+ Cpu as u,
816
+ FolderOpen as v,
817
+ Clock3 as w,
818
+ ShieldAlert as x,
819
+ Eye as y,
820
+ ExternalLink as z
821
821
  };
@@ -1,6 +1,6 @@
1
- import { j as jsxRuntimeExports } from "./_libs/react.mjs";
2
- import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-BOszhOJD.mjs";
3
- import { R as Route$B } from "./_ssr/router-Di7D0Bcm.mjs";
1
+ import { j as jsxRuntimeExports, r as reactExports } from "./_libs/react.mjs";
2
+ import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-C2lwYwDu.mjs";
3
+ import { R as Route$B } from "./_ssr/router-DT6BcrEg.mjs";
4
4
  import "./_libs/jszip.mjs";
5
5
  import "./_libs/modelcontextprotocol__server.mjs";
6
6
  import "./_libs/swr.mjs";
@@ -119,6 +119,21 @@ function SessionViewerRoute() {
119
119
  const {
120
120
  sessionId
121
121
  } = Route$B.useParams();
122
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ClientOnlySessionViewer, { sessionId });
123
+ }
124
+ function ClientOnlySessionViewer({
125
+ sessionId
126
+ }) {
127
+ const [mounted, setMounted] = reactExports.useState(false);
128
+ reactExports.useEffect(() => {
129
+ setMounted(true);
130
+ }, []);
131
+ if (!mounted) {
132
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("main", { className: "min-h-screen bg-background text-foreground", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mx-auto flex min-h-screen w-full max-w-2xl flex-col justify-center px-6 py-16 text-center", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "border border-border bg-card shadow-sm rounded-[8px] px-4 py-8", children: [
133
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-medium text-muted-foreground", children: "Loading session data..." }),
134
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mt-3 inline-block max-w-full rounded bg-muted px-3 py-1 font-mono text-xs break-all text-muted-foreground", children: sessionId })
135
+ ] }) }) });
136
+ }
122
137
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ProxyViewerContainer, { initialSessionId: sessionId }, sessionId);
123
138
  }
124
139
  export {
@@ -1,9 +1,9 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
2
- import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, b as copyTextToClipboard, L as LazyJsonViewerFromString } from "./ProxyViewerContainer-BOszhOJD.mjs";
3
- import "./router-Di7D0Bcm.mjs";
2
+ import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, b as copyTextToClipboard, L as LazyJsonViewerFromString } from "./ProxyViewerContainer-C2lwYwDu.mjs";
3
+ import "./router-DT6BcrEg.mjs";
4
4
  import "../_libs/modelcontextprotocol__server.mjs";
5
5
  import "../_libs/jszip.mjs";
6
- import { X, ao as Rows3, ap as Columns2, O as Minus, P as Plus, J as Pencil, h as ChevronRight, aq as Equal, b as Check, e as Copy } from "../_libs/lucide-react.mjs";
6
+ import { X, ao as Rows3, ap as Columns2, Q as Minus, P as Plus, K as Pencil, h as ChevronRight, aq as Equal, b as Check, e as Copy } from "../_libs/lucide-react.mjs";
7
7
  import "../_libs/swr.mjs";
8
8
  import "../_libs/use-sync-external-store.mjs";
9
9
  import "../_libs/dequal.mjs";