@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.
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-Pii_cIqn.js → CompareDrawer-Cvgl_Jmi.js} +1 -1
- package/.output/public/assets/ProxyViewerContainer-CNLLZq37.js +106 -0
- package/.output/public/assets/{ReplayDialog-BqnYC8ze.js → ReplayDialog-DeEELx0X.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-I8iBshz1.js → RequestAnatomy-CrLSqdiA.js} +1 -1
- package/.output/public/assets/ResponseView-CFIqDL5E.js +3 -0
- package/.output/public/assets/{StreamingChunkSequence-BrSx21IQ.js → StreamingChunkSequence-DSRjbgqb.js} +1 -1
- package/.output/public/assets/_sessionId-ZuH6-ZX5.js +1 -0
- package/.output/public/assets/index-B26q0-ch.js +1 -0
- package/.output/public/assets/{index-Dw-jXKKY.js → index-BZxLBVYd.js} +1 -1
- package/.output/public/assets/index-CxszCIFm.css +1 -0
- package/.output/public/assets/{json-viewer-D5mzV0oV.js → json-viewer-DERQNZRV.js} +1 -1
- package/.output/public/assets/{main-B7OIQMeA.js → main-BoshTI0W.js} +2 -2
- package/.output/server/_libs/lucide-react.mjs +42 -42
- package/.output/server/{_sessionId-DeU_JdSX.mjs → _sessionId-BYGtH1pK.mjs} +18 -3
- package/.output/server/_ssr/{CompareDrawer-DgDbG4oF.mjs → CompareDrawer-OchnKiac.mjs} +3 -3
- package/.output/server/_ssr/{ProxyViewerContainer-BOszhOJD.mjs → ProxyViewerContainer-C2lwYwDu.mjs} +2747 -2639
- package/.output/server/_ssr/{ReplayDialog-Cj4gWQv5.mjs → ReplayDialog-BYwaF14u.mjs} +4 -4
- package/.output/server/_ssr/{RequestAnatomy-CVzNAA03.mjs → RequestAnatomy-DTueiqT5.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-DLNpai6P.mjs → ResponseView-CqB9NKHB.mjs} +202 -55
- package/.output/server/_ssr/{StreamingChunkSequence-BiH8EEQB.mjs → StreamingChunkSequence-DENB9VUj.mjs} +2 -2
- package/.output/server/_ssr/{index-DaWXoUgf.mjs → index-BR3ea3Zb.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-CqqNYbmS.mjs → json-viewer-BU9ZUaHK.mjs} +3 -3
- package/.output/server/_ssr/{router-Di7D0Bcm.mjs → router-DT6BcrEg.mjs} +4 -4
- package/.output/server/{_tanstack-start-manifest_v-BR0YvW29.mjs → _tanstack-start-manifest_v-xQ1BRoZw.mjs} +1 -1
- package/.output/server/index.mjs +75 -75
- package/package.json +1 -1
- package/src/components/ProxyViewer.tsx +71 -15
- package/src/components/ProxyViewerContainer.tsx +1 -1
- package/src/components/proxy-viewer/ConversationGroupList.tsx +23 -7
- package/src/components/proxy-viewer/ConversationHeader.tsx +14 -7
- package/src/components/proxy-viewer/LogEntry.tsx +10 -0
- package/src/components/proxy-viewer/ResponseView.tsx +5 -1
- package/src/components/proxy-viewer/ToolTraceEvents.tsx +19 -31
- package/src/components/proxy-viewer/TurnGroup.tsx +21 -7
- package/src/components/proxy-viewer/formats/anthropic/ContentBlocks.tsx +37 -4
- package/src/components/proxy-viewer/formats/anthropic/ResponseView.tsx +17 -3
- package/src/components/proxy-viewer/formats/index.tsx +8 -3
- package/src/components/proxy-viewer/formats/openai/ResponseView.tsx +122 -16
- package/src/components/proxy-viewer/logFocus.ts +11 -3
- package/src/components/proxy-viewer/viewerState.ts +22 -7
- package/src/routes/session/$sessionId.tsx +27 -1
- package/.output/public/assets/ProxyViewerContainer-BxselkhN.js +0 -106
- package/.output/public/assets/ResponseView-wZzskUas.js +0 -3
- package/.output/public/assets/_sessionId-ByxbBMbE.js +0 -1
- package/.output/public/assets/index-BjzVMXJq.css +0 -1
- 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
|
-
|
|
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
|
-
|
|
745
|
+
RotateCw as H,
|
|
746
746
|
Info as I,
|
|
747
|
-
|
|
748
|
-
|
|
747
|
+
Clock as J,
|
|
748
|
+
Pencil as K,
|
|
749
749
|
LoaderCircle as L,
|
|
750
750
|
Monitor as M,
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
MessageSquare as N,
|
|
752
|
+
Brain as O,
|
|
753
753
|
Plus as P,
|
|
754
|
-
|
|
754
|
+
Minus as Q,
|
|
755
755
|
RefreshCw as R,
|
|
756
|
-
|
|
756
|
+
Search as S,
|
|
757
757
|
TriangleAlert as T,
|
|
758
758
|
Upload as U,
|
|
759
|
-
|
|
759
|
+
CircleCheckBig as V,
|
|
760
760
|
Wrench as W,
|
|
761
761
|
X,
|
|
762
|
-
|
|
762
|
+
CircleQuestionMark as Y,
|
|
763
763
|
Zap as Z,
|
|
764
|
-
|
|
764
|
+
Server as _,
|
|
765
765
|
ChevronDown as a,
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
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
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
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-
|
|
3
|
-
import { R as Route$B } from "./_ssr/router-
|
|
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-
|
|
3
|
-
import "./router-
|
|
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,
|
|
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";
|