@tonyclaw/agent-inspector 2.1.23 → 2.1.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.
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-Cvgl_Jmi.js → CompareDrawer-DsHSCHSx.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-CNLLZq37.js → ProxyViewerContainer-GI3xErl5.js} +7 -7
- package/.output/public/assets/{ReplayDialog-DeEELx0X.js → ReplayDialog-D0ixqStX.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CrLSqdiA.js → RequestAnatomy-BG5mb14k.js} +1 -1
- package/.output/public/assets/{ResponseView-CFIqDL5E.js → ResponseView-Bgns6xum.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-DSRjbgqb.js → StreamingChunkSequence-BeqKXAS6.js} +1 -1
- package/.output/public/assets/{_sessionId-ZuH6-ZX5.js → _sessionId-Nme0kuTf.js} +1 -1
- package/.output/public/assets/index-CUKpd9jb.js +1 -0
- package/.output/public/assets/index-Tq5s9NV0.css +1 -0
- package/.output/public/assets/{index-BZxLBVYd.js → index-hbDdeKtc.js} +1 -1
- package/.output/public/assets/{json-viewer-DERQNZRV.js → json-viewer-CWxF2eLV.js} +1 -1
- package/.output/public/assets/{main-BoshTI0W.js → main-BDfcCp_1.js} +2 -2
- package/.output/server/{_sessionId-BYGtH1pK.mjs → _sessionId-DOHtZHvJ.mjs} +2 -2
- package/.output/server/_ssr/{CompareDrawer-OchnKiac.mjs → CompareDrawer-HMfALocK.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-C2lwYwDu.mjs → ProxyViewerContainer-DgnyaJPd.mjs} +41 -32
- package/.output/server/_ssr/{ReplayDialog-BYwaF14u.mjs → ReplayDialog-DyIQdJHE.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-DTueiqT5.mjs → RequestAnatomy-8v4e8mYT.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-CqB9NKHB.mjs → ResponseView-D17WnkXv.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-DENB9VUj.mjs → StreamingChunkSequence-CALVBf-R.mjs} +2 -2
- package/.output/server/_ssr/{index-BR3ea3Zb.mjs → index-D8EDemF-.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-BU9ZUaHK.mjs → json-viewer-BgrtJGqX.mjs} +2 -2
- package/.output/server/_ssr/{router-DT6BcrEg.mjs → router-D3qLyERI.mjs} +4 -4
- package/.output/server/{_tanstack-start-manifest_v-xQ1BRoZw.mjs → _tanstack-start-manifest_v-6qZpokPP.mjs} +1 -1
- package/.output/server/index.mjs +71 -71
- package/package.json +1 -1
- package/src/components/ProxyViewer.tsx +28 -23
- package/src/components/ui/icon-trigger.ts +1 -1
- package/.output/public/assets/index-B26q0-ch.js +0 -1
- package/.output/public/assets/index-CxszCIFm.css +0 -1
package/.output/server/index.mjs
CHANGED
|
@@ -38,114 +38,114 @@ const assets = {
|
|
|
38
38
|
"/assets/alibaba-TTwafVwX.svg": {
|
|
39
39
|
"type": "image/svg+xml",
|
|
40
40
|
"etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
|
|
41
|
-
"mtime": "2026-07-06T23:30
|
|
41
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
42
42
|
"size": 5915,
|
|
43
43
|
"path": "../public/assets/alibaba-TTwafVwX.svg"
|
|
44
44
|
},
|
|
45
|
-
"/assets/index-
|
|
45
|
+
"/assets/index-CUKpd9jb.js": {
|
|
46
46
|
"type": "text/javascript; charset=utf-8",
|
|
47
|
-
"etag": '"74-
|
|
48
|
-
"mtime": "2026-07-06T23:30
|
|
47
|
+
"etag": '"74-S5coP0OJAkI32YF22K1A7pIhhaQ"',
|
|
48
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
49
49
|
"size": 116,
|
|
50
|
-
"path": "../public/assets/index-
|
|
50
|
+
"path": "../public/assets/index-CUKpd9jb.js"
|
|
51
51
|
},
|
|
52
|
-
"/assets/json-viewer-
|
|
52
|
+
"/assets/json-viewer-CWxF2eLV.js": {
|
|
53
53
|
"type": "text/javascript; charset=utf-8",
|
|
54
|
-
"etag": '"1ae6-
|
|
55
|
-
"mtime": "2026-07-06T23:30
|
|
54
|
+
"etag": '"1ae6-W5gyZM3eWBF1xbeKMyl4smbFfEM"',
|
|
55
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
56
56
|
"size": 6886,
|
|
57
|
-
"path": "../public/assets/json-viewer-
|
|
57
|
+
"path": "../public/assets/json-viewer-CWxF2eLV.js"
|
|
58
|
+
},
|
|
59
|
+
"/assets/CompareDrawer-DsHSCHSx.js": {
|
|
60
|
+
"type": "text/javascript; charset=utf-8",
|
|
61
|
+
"etag": '"4bbf-nlyV9TgErKS/2wxRBsjCrr8IQBo"',
|
|
62
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
63
|
+
"size": 19391,
|
|
64
|
+
"path": "../public/assets/CompareDrawer-DsHSCHSx.js"
|
|
65
|
+
},
|
|
66
|
+
"/assets/index-Tq5s9NV0.css": {
|
|
67
|
+
"type": "text/css; charset=utf-8",
|
|
68
|
+
"etag": '"22408-MQKT02eqQudVEj/DozyiEJoTl6E"',
|
|
69
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
70
|
+
"size": 140296,
|
|
71
|
+
"path": "../public/assets/index-Tq5s9NV0.css"
|
|
58
72
|
},
|
|
59
73
|
"/assets/minimax-BPMzvuL-.jpeg": {
|
|
60
74
|
"type": "image/jpeg",
|
|
61
75
|
"etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
|
|
62
|
-
"mtime": "2026-07-06T23:30
|
|
76
|
+
"mtime": "2026-07-06T23:47:30.042Z",
|
|
63
77
|
"size": 6918,
|
|
64
78
|
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
65
79
|
},
|
|
66
|
-
"/assets/
|
|
67
|
-
"type": "text/css; charset=utf-8",
|
|
68
|
-
"etag": '"219d3-hGkO4OXmpghyDnxd7KIL9unRxwQ"',
|
|
69
|
-
"mtime": "2026-07-06T23:30:24.817Z",
|
|
70
|
-
"size": 137683,
|
|
71
|
-
"path": "../public/assets/index-CxszCIFm.css"
|
|
72
|
-
},
|
|
73
|
-
"/assets/CompareDrawer-Cvgl_Jmi.js": {
|
|
80
|
+
"/assets/RequestAnatomy-BG5mb14k.js": {
|
|
74
81
|
"type": "text/javascript; charset=utf-8",
|
|
75
|
-
"etag": '"
|
|
76
|
-
"mtime": "2026-07-06T23:30
|
|
77
|
-
"size": 19391,
|
|
78
|
-
"path": "../public/assets/CompareDrawer-Cvgl_Jmi.js"
|
|
79
|
-
},
|
|
80
|
-
"/assets/index-BZxLBVYd.js": {
|
|
81
|
-
"type": "text/javascript; charset=utf-8",
|
|
82
|
-
"etag": '"1cd2c-eSvMM8zbdBG02FS4JJNg0vJ028w"',
|
|
83
|
-
"mtime": "2026-07-06T23:30:24.817Z",
|
|
84
|
-
"size": 118060,
|
|
85
|
-
"path": "../public/assets/index-BZxLBVYd.js"
|
|
86
|
-
},
|
|
87
|
-
"/assets/RequestAnatomy-CrLSqdiA.js": {
|
|
88
|
-
"type": "text/javascript; charset=utf-8",
|
|
89
|
-
"etag": '"43f2-YwOCt5e63SibXMhWqzHRxd1nNC8"',
|
|
90
|
-
"mtime": "2026-07-06T23:30:24.817Z",
|
|
82
|
+
"etag": '"43f2-5+JmeO4mEgbfXx4qZ0z/5j/kGC0"',
|
|
83
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
91
84
|
"size": 17394,
|
|
92
|
-
"path": "../public/assets/RequestAnatomy-
|
|
93
|
-
},
|
|
94
|
-
"/assets/ReplayDialog-DeEELx0X.js": {
|
|
95
|
-
"type": "text/javascript; charset=utf-8",
|
|
96
|
-
"etag": '"31d6-hWOAjkfta2prr+9EmQOXzNOAzTU"',
|
|
97
|
-
"mtime": "2026-07-06T23:30:24.817Z",
|
|
98
|
-
"size": 12758,
|
|
99
|
-
"path": "../public/assets/ReplayDialog-DeEELx0X.js"
|
|
100
|
-
},
|
|
101
|
-
"/assets/ResponseView-CFIqDL5E.js": {
|
|
102
|
-
"type": "text/javascript; charset=utf-8",
|
|
103
|
-
"etag": '"47fa-+VN13C6cvB2BYNKPjLEy9ibIswM"',
|
|
104
|
-
"mtime": "2026-07-06T23:30:24.817Z",
|
|
105
|
-
"size": 18426,
|
|
106
|
-
"path": "../public/assets/ResponseView-CFIqDL5E.js"
|
|
85
|
+
"path": "../public/assets/RequestAnatomy-BG5mb14k.js"
|
|
107
86
|
},
|
|
108
|
-
"/assets/
|
|
87
|
+
"/assets/StreamingChunkSequence-BeqKXAS6.js": {
|
|
109
88
|
"type": "text/javascript; charset=utf-8",
|
|
110
|
-
"etag": '"
|
|
111
|
-
"mtime": "2026-07-06T23:30
|
|
112
|
-
"size":
|
|
113
|
-
"path": "../public/assets/
|
|
89
|
+
"etag": '"dd6-+UuLiAyXfMce8K34YDVdE2+W+dQ"',
|
|
90
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
91
|
+
"size": 3542,
|
|
92
|
+
"path": "../public/assets/StreamingChunkSequence-BeqKXAS6.js"
|
|
114
93
|
},
|
|
115
94
|
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
116
95
|
"type": "image/svg+xml",
|
|
117
96
|
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
118
|
-
"mtime": "2026-07-06T23:30
|
|
97
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
119
98
|
"size": 11256,
|
|
120
99
|
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
121
100
|
},
|
|
122
|
-
"/assets/
|
|
101
|
+
"/assets/main-BDfcCp_1.js": {
|
|
123
102
|
"type": "text/javascript; charset=utf-8",
|
|
124
|
-
"etag": '"
|
|
125
|
-
"mtime": "2026-07-06T23:30
|
|
126
|
-
"size":
|
|
127
|
-
"path": "../public/assets/
|
|
103
|
+
"etag": '"512fd-wNI+QxyzwhA/0QqJbbcpb3MMxmg"',
|
|
104
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
105
|
+
"size": 332541,
|
|
106
|
+
"path": "../public/assets/main-BDfcCp_1.js"
|
|
128
107
|
},
|
|
129
|
-
"/assets/
|
|
108
|
+
"/assets/ReplayDialog-D0ixqStX.js": {
|
|
130
109
|
"type": "text/javascript; charset=utf-8",
|
|
131
|
-
"etag": '"
|
|
132
|
-
"mtime": "2026-07-06T23:30
|
|
133
|
-
"size":
|
|
134
|
-
"path": "../public/assets/
|
|
110
|
+
"etag": '"31d6-kYb7AI9zYbXu6Y118c89CIIKsQk"',
|
|
111
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
112
|
+
"size": 12758,
|
|
113
|
+
"path": "../public/assets/ReplayDialog-D0ixqStX.js"
|
|
114
|
+
},
|
|
115
|
+
"/assets/ResponseView-Bgns6xum.js": {
|
|
116
|
+
"type": "text/javascript; charset=utf-8",
|
|
117
|
+
"etag": '"47fa-9tCNwF7F78L1zRC3UidiQKud7L8"',
|
|
118
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
119
|
+
"size": 18426,
|
|
120
|
+
"path": "../public/assets/ResponseView-Bgns6xum.js"
|
|
121
|
+
},
|
|
122
|
+
"/assets/_sessionId-Nme0kuTf.js": {
|
|
123
|
+
"type": "text/javascript; charset=utf-8",
|
|
124
|
+
"etag": '"36c-gpP2xqLaqXgb4GOWSbhVDrqjv3g"',
|
|
125
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
126
|
+
"size": 876,
|
|
127
|
+
"path": "../public/assets/_sessionId-Nme0kuTf.js"
|
|
135
128
|
},
|
|
136
129
|
"/assets/qwen-CONDcHqt.png": {
|
|
137
130
|
"type": "image/png",
|
|
138
131
|
"etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
|
|
139
|
-
"mtime": "2026-07-06T23:30
|
|
132
|
+
"mtime": "2026-07-06T23:47:30.045Z",
|
|
140
133
|
"size": 357059,
|
|
141
134
|
"path": "../public/assets/qwen-CONDcHqt.png"
|
|
142
135
|
},
|
|
143
|
-
"/assets/
|
|
136
|
+
"/assets/index-hbDdeKtc.js": {
|
|
137
|
+
"type": "text/javascript; charset=utf-8",
|
|
138
|
+
"etag": '"1cd2c-o4cSL+ZBVABZPPb9xrCnibEnQQQ"',
|
|
139
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
140
|
+
"size": 118060,
|
|
141
|
+
"path": "../public/assets/index-hbDdeKtc.js"
|
|
142
|
+
},
|
|
143
|
+
"/assets/ProxyViewerContainer-GI3xErl5.js": {
|
|
144
144
|
"type": "text/javascript; charset=utf-8",
|
|
145
|
-
"etag": '"
|
|
146
|
-
"mtime": "2026-07-06T23:30
|
|
147
|
-
"size":
|
|
148
|
-
"path": "../public/assets/ProxyViewerContainer-
|
|
145
|
+
"etag": '"aef16-1fUWo2IWu+2OgSdsAPCGVYmzUNU"',
|
|
146
|
+
"mtime": "2026-07-06T23:47:30.047Z",
|
|
147
|
+
"size": 716566,
|
|
148
|
+
"path": "../public/assets/ProxyViewerContainer-GI3xErl5.js"
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
function readAsset(id) {
|
package/package.json
CHANGED
|
@@ -1151,7 +1151,7 @@ function CopyableCommand({ command }: { command: string }): JSX.Element {
|
|
|
1151
1151
|
}, [command]);
|
|
1152
1152
|
|
|
1153
1153
|
return (
|
|
1154
|
-
<div className="
|
|
1154
|
+
<div className="bg-black/20 inline-flex max-w-full items-center gap-2 rounded-md px-3 py-2 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.055)]">
|
|
1155
1155
|
<pre className="m-0 overflow-x-auto font-mono text-sm text-cyan-200">{command}</pre>
|
|
1156
1156
|
<button
|
|
1157
1157
|
type="button"
|
|
@@ -1170,7 +1170,7 @@ function McpReadyBadge(): JSX.Element {
|
|
|
1170
1170
|
<TooltipProvider>
|
|
1171
1171
|
<Tooltip>
|
|
1172
1172
|
<TooltipTrigger asChild>
|
|
1173
|
-
<span className="
|
|
1173
|
+
<span className="bg-cyan-300/[0.055] shadow-[inset_0_1px_0_rgba(255,255,255,0.05)] inline-flex h-7 items-center gap-2 rounded-md px-2.5 font-mono text-[11px] font-medium text-cyan-200">
|
|
1174
1174
|
<span className="size-1.5 rounded-full bg-cyan-200 shadow-[0_0_8px_rgba(125,211,252,0.75)]" />
|
|
1175
1175
|
MCP Ready
|
|
1176
1176
|
<span className="hidden text-cyan-200/70 sm:inline">/api/mcp</span>
|
|
@@ -1195,20 +1195,25 @@ function SidebarPanel({
|
|
|
1195
1195
|
className?: string;
|
|
1196
1196
|
}): JSX.Element {
|
|
1197
1197
|
return (
|
|
1198
|
-
<section
|
|
1199
|
-
|
|
1200
|
-
|
|
1198
|
+
<section
|
|
1199
|
+
className={cn(
|
|
1200
|
+
"bg-white/[0.028] shadow-[inset_0_1px_0_rgba(255,255,255,0.035)] rounded-[8px]",
|
|
1201
|
+
className,
|
|
1202
|
+
)}
|
|
1203
|
+
>
|
|
1204
|
+
<div className="px-3 pt-3">
|
|
1205
|
+
<div className="font-mono text-[10px] font-semibold uppercase tracking-[0.14em] text-white/35">
|
|
1201
1206
|
{label}
|
|
1202
1207
|
</div>
|
|
1203
1208
|
</div>
|
|
1204
|
-
<div className="p-3">{children}</div>
|
|
1209
|
+
<div className="p-3 pt-2">{children}</div>
|
|
1205
1210
|
</section>
|
|
1206
1211
|
);
|
|
1207
1212
|
}
|
|
1208
1213
|
|
|
1209
1214
|
function SidebarMetric({ label, value }: { label: string; value: string | number }): JSX.Element {
|
|
1210
1215
|
return (
|
|
1211
|
-
<div className="
|
|
1216
|
+
<div className="bg-black/20 min-w-0 rounded-md px-2 py-2 shadow-[inset_0_1px_0_rgba(255,255,255,0.035)]">
|
|
1212
1217
|
<div className="truncate font-mono text-lg font-semibold leading-6 text-slate-100">
|
|
1213
1218
|
{value}
|
|
1214
1219
|
</div>
|
|
@@ -1282,7 +1287,7 @@ function BrandHeader({
|
|
|
1282
1287
|
}): JSX.Element {
|
|
1283
1288
|
if (compact) {
|
|
1284
1289
|
return (
|
|
1285
|
-
<div className="
|
|
1290
|
+
<div className="bg-white/[0.035] shadow-[inset_0_1px_0_rgba(255,255,255,0.045),0_16px_44px_rgba(0,0,0,0.18)] rounded-[8px] p-3">
|
|
1286
1291
|
<div className="flex items-start justify-between gap-3">
|
|
1287
1292
|
<div className="flex min-w-0 items-start gap-2">
|
|
1288
1293
|
<CrabFamily compact={true} entrancePhase={crabEntrancePhase} />
|
|
@@ -1583,7 +1588,7 @@ function SessionContextBar({
|
|
|
1583
1588
|
{showBackLink && (
|
|
1584
1589
|
<a
|
|
1585
1590
|
href="/"
|
|
1586
|
-
className="
|
|
1591
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground"
|
|
1587
1592
|
aria-label="Back to all sessions"
|
|
1588
1593
|
title="Back to all sessions"
|
|
1589
1594
|
>
|
|
@@ -1620,7 +1625,7 @@ function SessionContextBar({
|
|
|
1620
1625
|
<button
|
|
1621
1626
|
type="button"
|
|
1622
1627
|
onClick={() => setDetailsOpen((value) => !value)}
|
|
1623
|
-
className="
|
|
1628
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex h-8 shrink-0 items-center gap-1.5 rounded-md px-2.5 font-mono text-[11px] text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground"
|
|
1624
1629
|
aria-expanded={detailsOpen}
|
|
1625
1630
|
title={detailsOpen ? "Hide context details" : "Show context details"}
|
|
1626
1631
|
>
|
|
@@ -1635,7 +1640,7 @@ function SessionContextBar({
|
|
|
1635
1640
|
<button
|
|
1636
1641
|
type="button"
|
|
1637
1642
|
onClick={handleCopyLink}
|
|
1638
|
-
className="
|
|
1643
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground"
|
|
1639
1644
|
aria-label={copied ? "Copied session link" : "Copy session link"}
|
|
1640
1645
|
title={copied ? "Copied session link" : "Copy session link"}
|
|
1641
1646
|
>
|
|
@@ -1877,7 +1882,7 @@ export function ProxyViewer({
|
|
|
1877
1882
|
return (
|
|
1878
1883
|
<div className="bg-background min-h-screen w-full text-foreground">
|
|
1879
1884
|
<div className="grid min-h-screen w-full grid-cols-1 lg:grid-cols-[340px_minmax(0,1fr)] xl:grid-cols-[360px_minmax(0,1fr)]">
|
|
1880
|
-
<aside className="bg-background border-b lg:sticky lg:top-0 lg:h-screen lg:overflow-y-auto lg:border-b-0 lg:border-r">
|
|
1885
|
+
<aside className="bg-background/95 border-b border-white/[0.045] lg:sticky lg:top-0 lg:h-screen lg:overflow-y-auto lg:border-b-0 lg:border-r lg:border-white/[0.055]">
|
|
1881
1886
|
<div className="space-y-4 p-4">
|
|
1882
1887
|
<BrandHeader compact={true} crabEntrancePhase={crabEntrancePhase} />
|
|
1883
1888
|
|
|
@@ -1896,7 +1901,7 @@ export function ProxyViewer({
|
|
|
1896
1901
|
</SidebarPanel>
|
|
1897
1902
|
|
|
1898
1903
|
<SidebarPanel label="Workspace">
|
|
1899
|
-
<div className="
|
|
1904
|
+
<div className="bg-black/20 rounded-md px-3 py-2 shadow-[inset_0_1px_0_rgba(255,255,255,0.035)]">
|
|
1900
1905
|
<div
|
|
1901
1906
|
className="truncate font-mono text-xs font-semibold text-cyan-100"
|
|
1902
1907
|
title={activeScopeLabel}
|
|
@@ -1938,7 +1943,7 @@ export function ProxyViewer({
|
|
|
1938
1943
|
value={sessionInputValue}
|
|
1939
1944
|
onChange={handleSessionInputChange}
|
|
1940
1945
|
placeholder="Paste session ID"
|
|
1941
|
-
className="
|
|
1946
|
+
className="bg-black/25 hover:bg-white/[0.045] focus-visible:ring-ring h-9 w-full rounded-md px-8 font-mono text-xs text-foreground outline-none shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors placeholder:font-sans placeholder:text-muted-foreground focus-visible:ring-1"
|
|
1942
1947
|
aria-label="Filter by session ID"
|
|
1943
1948
|
title="Filter by exact session ID"
|
|
1944
1949
|
/>
|
|
@@ -1955,7 +1960,7 @@ export function ProxyViewer({
|
|
|
1955
1960
|
)}
|
|
1956
1961
|
</div>
|
|
1957
1962
|
<Select value={sessionSelectValue} onValueChange={handleSessionSelectChange}>
|
|
1958
|
-
<SelectTrigger className="
|
|
1963
|
+
<SelectTrigger className="bg-black/25 hover:bg-white/[0.045] h-9 w-full border-0 text-xs text-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)]">
|
|
1959
1964
|
<SelectValue placeholder="All sessions" />
|
|
1960
1965
|
</SelectTrigger>
|
|
1961
1966
|
<SelectContent>
|
|
@@ -1975,7 +1980,7 @@ export function ProxyViewer({
|
|
|
1975
1980
|
</>
|
|
1976
1981
|
)}
|
|
1977
1982
|
<Select value={selectedModel} onValueChange={onModelChange}>
|
|
1978
|
-
<SelectTrigger className="
|
|
1983
|
+
<SelectTrigger className="bg-black/25 hover:bg-white/[0.045] h-9 w-full border-0 text-xs text-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)]">
|
|
1979
1984
|
<SelectValue placeholder="All models" />
|
|
1980
1985
|
</SelectTrigger>
|
|
1981
1986
|
<SelectContent>
|
|
@@ -1993,7 +1998,7 @@ export function ProxyViewer({
|
|
|
1993
1998
|
</aside>
|
|
1994
1999
|
|
|
1995
2000
|
<main className="min-w-0">
|
|
1996
|
-
<div className="
|
|
2001
|
+
<div className="bg-background/95 shadow-[0_12px_36px_rgba(0,0,0,0.18),inset_0_-1px_0_rgba(255,255,255,0.045)] sticky top-0 z-30 px-4 py-3 lg:px-5">
|
|
1997
2002
|
<div className="flex flex-wrap items-center gap-2">
|
|
1998
2003
|
<div className="min-w-[180px] flex-1">
|
|
1999
2004
|
<div className="text-sm font-semibold text-foreground">Logs</div>
|
|
@@ -2014,7 +2019,7 @@ export function ProxyViewer({
|
|
|
2014
2019
|
type="button"
|
|
2015
2020
|
onClick={handleImportClick}
|
|
2016
2021
|
disabled={importing}
|
|
2017
|
-
className="
|
|
2022
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"
|
|
2018
2023
|
title="Import Agent Inspector export"
|
|
2019
2024
|
>
|
|
2020
2025
|
{importing ? (
|
|
@@ -2035,7 +2040,7 @@ export function ProxyViewer({
|
|
|
2035
2040
|
void handleExport("redacted");
|
|
2036
2041
|
}}
|
|
2037
2042
|
disabled={exporting !== null}
|
|
2038
|
-
className="
|
|
2043
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"
|
|
2039
2044
|
title="Export redacted logs as JSON ZIP"
|
|
2040
2045
|
>
|
|
2041
2046
|
{exporting === "redacted" ? (
|
|
@@ -2055,7 +2060,7 @@ export function ProxyViewer({
|
|
|
2055
2060
|
void handleExport("raw");
|
|
2056
2061
|
}}
|
|
2057
2062
|
disabled={exporting !== null}
|
|
2058
|
-
className="
|
|
2063
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex h-8 items-center gap-1.5 rounded-md px-2.5 text-xs text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"
|
|
2059
2064
|
title="Export raw logs without redaction"
|
|
2060
2065
|
>
|
|
2061
2066
|
{exporting === "raw" ? (
|
|
@@ -2071,7 +2076,7 @@ export function ProxyViewer({
|
|
|
2071
2076
|
<button
|
|
2072
2077
|
type="button"
|
|
2073
2078
|
onClick={onClearAll}
|
|
2074
|
-
className="
|
|
2079
|
+
className="bg-white/[0.035] hover:bg-white/[0.065] inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:text-foreground"
|
|
2075
2080
|
title="Clear all logs"
|
|
2076
2081
|
>
|
|
2077
2082
|
<Trash2 className="size-3.5" />
|
|
@@ -2101,7 +2106,7 @@ export function ProxyViewer({
|
|
|
2101
2106
|
{logs.length === 0 ? (
|
|
2102
2107
|
selectedSession !== "__all__" ? (
|
|
2103
2108
|
<div className="py-16 text-center text-muted-foreground">
|
|
2104
|
-
<div className="
|
|
2109
|
+
<div className="bg-white/[0.035] shadow-[inset_0_1px_0_rgba(255,255,255,0.045),0_18px_52px_rgba(0,0,0,0.18)] mx-auto max-w-xl space-y-4 rounded-[8px] px-4 py-8">
|
|
2105
2110
|
<p className="text-sm font-medium">
|
|
2106
2111
|
{isLoading ? "Loading session data..." : "Session not found"}
|
|
2107
2112
|
</p>
|
|
@@ -2135,7 +2140,7 @@ export function ProxyViewer({
|
|
|
2135
2140
|
</div>
|
|
2136
2141
|
) : (
|
|
2137
2142
|
<div className="py-16 text-center text-muted-foreground">
|
|
2138
|
-
<div className="
|
|
2143
|
+
<div className="bg-white/[0.035] shadow-[inset_0_1px_0_rgba(255,255,255,0.045),0_18px_52px_rgba(0,0,0,0.18)] mx-auto max-w-2xl space-y-4 rounded-[8px] px-4 py-8">
|
|
2139
2144
|
<p className="text-sm">No requests captured yet.</p>
|
|
2140
2145
|
<div className="flex flex-col items-center gap-2">
|
|
2141
2146
|
<CopyableCommand command="ANTHROPIC_BASE_URL=http://localhost:25947/proxy <your-tool>" />
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const INSPECTOR_ICON_TRIGGER_CLASS =
|
|
2
|
-
"relative size-8 rounded-md border
|
|
2
|
+
"relative size-8 rounded-md border-0 bg-white/[0.035] text-muted-foreground shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)] transition-colors hover:bg-white/[0.065] hover:text-accent-foreground focus-visible:ring-ring/50";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./ProxyViewerContainer-CNLLZq37.js";import"./main-BoshTI0W.js";const r=o;export{r as component};
|