@tonyclaw/agent-inspector 2.1.18 → 2.1.19
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-Fqqw5Lci.js → CompareDrawer-CHXN5HYU.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-CP_RzwW9.js → ProxyViewerContainer-TZJV7HhE.js} +6 -6
- package/.output/public/assets/{ReplayDialog-hYhz_i6W.js → ReplayDialog-DQ7nS5Rr.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CTuWbtwC.js → RequestAnatomy-DXWweH_2.js} +1 -1
- package/.output/public/assets/{ResponseView-CsZ7S5Gv.js → ResponseView-3PimPfiD.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-PIbJMotU.js → StreamingChunkSequence-4v52v-7a.js} +1 -1
- package/.output/public/assets/_sessionId-DfkBPvCC.js +1 -0
- package/.output/public/assets/{index-F7mynwuH.js → index-BuhFRImh.js} +1 -1
- package/.output/public/assets/index-ChgjUix0.css +1 -0
- package/.output/public/assets/index-Uf87L52J.js +1 -0
- package/.output/public/assets/{json-viewer-DCXtNmmD.js → json-viewer-d2gWBDLO.js} +1 -1
- package/.output/public/assets/{main-BJZf7_Ib.js → main-Do-E-46G.js} +2 -2
- package/.output/server/{_sessionId-DjSHDNh8.mjs → _sessionId-B82aMW2A.mjs} +2 -2
- package/.output/server/_ssr/{CompareDrawer-Dal52IFo.mjs → CompareDrawer-Bud_yIrM.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-CVqFZGff.mjs → ProxyViewerContainer-DqgVb0So.mjs} +79 -96
- package/.output/server/_ssr/{ReplayDialog-BOEgdMes.mjs → ReplayDialog-DKbV5fnW.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-gch7_vCV.mjs → RequestAnatomy-MStxp1Wp.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-lEWPy-H4.mjs → ResponseView-HLTCpJcF.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-DnudbJ1O.mjs → StreamingChunkSequence-DEiyiUs_.mjs} +2 -2
- package/.output/server/_ssr/{index-Cza8zDrW.mjs → index-DamOPFDI.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-C2lIVEX3.mjs → json-viewer-MmTWKxqh.mjs} +2 -2
- package/.output/server/_ssr/{router-bF9uzd1k.mjs → router-50BIB6ED.mjs} +4 -4
- package/.output/server/{_tanstack-start-manifest_v-ErvW-mtr.mjs → _tanstack-start-manifest_v-TSwb1vFc.mjs} +1 -1
- package/.output/server/index.mjs +73 -73
- package/package.json +1 -1
- package/src/components/proxy-viewer/ConversationGroupList.tsx +11 -11
- package/src/components/proxy-viewer/ConversationHeader.tsx +7 -7
- package/src/components/proxy-viewer/LogEntry.tsx +15 -26
- package/src/components/proxy-viewer/LogEntryHeader.tsx +11 -14
- package/src/components/proxy-viewer/RequestToolsPanel.tsx +15 -15
- package/src/components/proxy-viewer/ThreadConnector.tsx +3 -3
- package/src/components/proxy-viewer/ToolTraceEvents.tsx +1 -1
- package/src/components/proxy-viewer/TurnGroup.tsx +10 -14
- package/.output/public/assets/_sessionId-CUGA9qU3.js +0 -1
- package/.output/public/assets/index-G4dTUobw.js +0 -1
- package/.output/public/assets/index-gvYkgMPF.css +0 -1
package/.output/server/_ssr/{ProxyViewerContainer-CVqFZGff.mjs → ProxyViewerContainer-DqgVb0So.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports, a as React } from "../_libs/react.mjs";
|
|
2
|
-
import { I as InspectorGroupsListResponseSchema, C as CapturedLogSchema, D as DEFAULT_CAPTURE_MODE, a as DEFAULT_SLOW_RESPONSE_THRESHOLD_SECONDS, b as DEFAULT_PROVIDER_TEST_TIMEOUT_SECONDS, c as DEFAULT_TIME_DISPLAY_FORMAT, d as RuntimeConfigSchema, p as packageJson, P as ProviderConfigSchema, i as apiFormatForPath, n as GroupEvidenceExportResultSchema, o as DeleteInspectorGroupResponseSchema, y as createPendingProviderTestResults, z as ProviderTestResultsSchema, B as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, E as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, l as AlertSummarySchema, m as AlertListResponseSchema, G as GroupEvidenceReadResponseSchema, t as maskApiKey, u as PATH_V1_MESSAGES, v as PATH_V1_CHAT_COMPLETIONS, w as PATH_V1_RESPONSES, q as providerHasContextMetadata, r as findProviderModelMetadata, f as parseOpenAIResponse, g as parseOpenAIResponsesResponse, O as OpenAIRequestSchema, h as OpenAIResponsesRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, F as resolveProviderContextWindow, j as getSessionPath, x as previewUpstreamUrl, K as KnowledgeCandidateSchema, H as isPlainRecord, k as stripClaudeCodeBillingHeader, L as LogBodyChunkSchema } from "./router-
|
|
2
|
+
import { I as InspectorGroupsListResponseSchema, C as CapturedLogSchema, D as DEFAULT_CAPTURE_MODE, a as DEFAULT_SLOW_RESPONSE_THRESHOLD_SECONDS, b as DEFAULT_PROVIDER_TEST_TIMEOUT_SECONDS, c as DEFAULT_TIME_DISPLAY_FORMAT, d as RuntimeConfigSchema, p as packageJson, P as ProviderConfigSchema, i as apiFormatForPath, n as GroupEvidenceExportResultSchema, o as DeleteInspectorGroupResponseSchema, y as createPendingProviderTestResults, z as ProviderTestResultsSchema, B as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, E as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, l as AlertSummarySchema, m as AlertListResponseSchema, G as GroupEvidenceReadResponseSchema, t as maskApiKey, u as PATH_V1_MESSAGES, v as PATH_V1_CHAT_COMPLETIONS, w as PATH_V1_RESPONSES, q as providerHasContextMetadata, r as findProviderModelMetadata, f as parseOpenAIResponse, g as parseOpenAIResponsesResponse, O as OpenAIRequestSchema, h as OpenAIResponsesRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, F as resolveProviderContextWindow, j as getSessionPath, x as previewUpstreamUrl, K as KnowledgeCandidateSchema, H as isPlainRecord, k as stripClaudeCodeBillingHeader, L as LogBodyChunkSchema } from "./router-50BIB6ED.mjs";
|
|
3
3
|
import { u as useSWR, a as useSWRConfig } from "../_libs/swr.mjs";
|
|
4
4
|
import { J as JSZip } from "../_libs/jszip.mjs";
|
|
5
5
|
import { c as clsx } from "../_libs/clsx.mjs";
|
|
@@ -1481,7 +1481,7 @@ function resolveLogFormat(log) {
|
|
|
1481
1481
|
const pathFormat = apiFormatForPath(log.path);
|
|
1482
1482
|
return pathFormat === "unknown" ? log.apiFormat : pathFormat;
|
|
1483
1483
|
}
|
|
1484
|
-
const HEADER_ACTION_BUTTON_CLASS$1 = "
|
|
1484
|
+
const HEADER_ACTION_BUTTON_CLASS$1 = "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:text-foreground";
|
|
1485
1485
|
function HeaderMetric({
|
|
1486
1486
|
icon,
|
|
1487
1487
|
children,
|
|
@@ -1492,7 +1492,7 @@ function HeaderMetric({
|
|
|
1492
1492
|
"span",
|
|
1493
1493
|
{
|
|
1494
1494
|
className: cn(
|
|
1495
|
-
"
|
|
1495
|
+
"bg-white/[0.045] inline-flex h-7 min-w-0 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground",
|
|
1496
1496
|
className
|
|
1497
1497
|
),
|
|
1498
1498
|
title,
|
|
@@ -1556,8 +1556,8 @@ function ConversationHeader({
|
|
|
1556
1556
|
"data-nav-id": `conv-${conversationId}`,
|
|
1557
1557
|
"data-nav-action": expanded ? "collapse" : "expand",
|
|
1558
1558
|
className: cn(
|
|
1559
|
-
"
|
|
1560
|
-
"hover:
|
|
1559
|
+
"bg-card/80 shadow-sm flex cursor-pointer items-start gap-3 rounded-[8px] px-3 py-2.5 transition-colors",
|
|
1560
|
+
"hover:bg-card",
|
|
1561
1561
|
"select-none",
|
|
1562
1562
|
"sticky top-0 z-10 mb-2",
|
|
1563
1563
|
"focus-visible:ring-1 focus-visible:ring-cyan-300/35 focus-visible:outline-none"
|
|
@@ -1609,7 +1609,7 @@ function ConversationHeader({
|
|
|
1609
1609
|
!isFallbackConversation && showProcessMetadata && clientPid !== null && clientPid !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1610
1610
|
"span",
|
|
1611
1611
|
{
|
|
1612
|
-
className: "
|
|
1612
|
+
className: "bg-white/[0.045] shrink-0 rounded px-1.5 py-0.5 font-mono text-xs tabular-nums text-muted-foreground",
|
|
1613
1613
|
title: `Client process ID ${clientPid}`,
|
|
1614
1614
|
children: [
|
|
1615
1615
|
"PID ",
|
|
@@ -1628,7 +1628,7 @@ function ConversationHeader({
|
|
|
1628
1628
|
showClientIdentity && clientDisplayLabel !== null && clientDisplayLabel !== "" && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1629
1629
|
"span",
|
|
1630
1630
|
{
|
|
1631
|
-
className: "
|
|
1631
|
+
className: "bg-white/[0.045] inline-flex h-6 max-w-[180px] shrink-0 items-center gap-1 rounded-md px-1.5 text-xs text-muted-foreground",
|
|
1632
1632
|
title: clientTooltip ?? clientDisplayLabel,
|
|
1633
1633
|
children: [
|
|
1634
1634
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ClientLogo, { client: clientApp, className: "size-4 shrink-0" }),
|
|
@@ -1678,7 +1678,7 @@ function ConversationHeader({
|
|
|
1678
1678
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1679
1679
|
"span",
|
|
1680
1680
|
{
|
|
1681
|
-
className: "
|
|
1681
|
+
className: "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-slate-200",
|
|
1682
1682
|
"aria-hidden": "true",
|
|
1683
1683
|
children: expanded ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4 shrink-0" }) : isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { className: "size-4 shrink-0 animate-spin" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "size-4 shrink-0" })
|
|
1684
1684
|
}
|
|
@@ -1959,27 +1959,27 @@ function useCopyFeedback(text) {
|
|
|
1959
1959
|
return { copied, copy };
|
|
1960
1960
|
}
|
|
1961
1961
|
const LazyCompareDrawer = reactExports.lazy(
|
|
1962
|
-
() => import("./CompareDrawer-
|
|
1962
|
+
() => import("./CompareDrawer-Bud_yIrM.mjs").then((m) => ({ default: m.CompareDrawer }))
|
|
1963
1963
|
);
|
|
1964
1964
|
const LazyReplayDialog = reactExports.lazy(
|
|
1965
|
-
() => import("./ReplayDialog-
|
|
1965
|
+
() => import("./ReplayDialog-DKbV5fnW.mjs").then((m) => ({ default: m.ReplayDialog }))
|
|
1966
1966
|
);
|
|
1967
1967
|
const LazyRequestAnatomy = reactExports.lazy(
|
|
1968
|
-
() => import("./RequestAnatomy-
|
|
1968
|
+
() => import("./RequestAnatomy-MStxp1Wp.mjs").then((m) => ({ default: m.RequestAnatomy }))
|
|
1969
1969
|
);
|
|
1970
1970
|
const LazyResponseView = reactExports.lazy(
|
|
1971
|
-
() => import("./ResponseView-
|
|
1971
|
+
() => import("./ResponseView-HLTCpJcF.mjs").then((m) => ({ default: m.ResponseView }))
|
|
1972
1972
|
);
|
|
1973
1973
|
const LazyStreamingChunkSequence = reactExports.lazy(
|
|
1974
|
-
() => import("./StreamingChunkSequence-
|
|
1974
|
+
() => import("./StreamingChunkSequence-DEiyiUs_.mjs").then((m) => ({
|
|
1975
1975
|
default: m.StreamingChunkSequence
|
|
1976
1976
|
}))
|
|
1977
1977
|
);
|
|
1978
1978
|
const LazyJsonViewer = reactExports.lazy(
|
|
1979
|
-
() => import("./json-viewer-
|
|
1979
|
+
() => import("./json-viewer-MmTWKxqh.mjs").then((m) => ({ default: m.JsonViewer }))
|
|
1980
1980
|
);
|
|
1981
1981
|
const LazyJsonViewerFromString = reactExports.lazy(
|
|
1982
|
-
() => import("./json-viewer-
|
|
1982
|
+
() => import("./json-viewer-MmTWKxqh.mjs").then((m) => ({ default: m.JsonViewerFromString }))
|
|
1983
1983
|
);
|
|
1984
1984
|
const HIGHLIGHT_DURATION_MS = 1200;
|
|
1985
1985
|
const MAX_HIGHLIGHT_ATTEMPTS = 12;
|
|
@@ -2439,10 +2439,10 @@ function Badge({
|
|
|
2439
2439
|
);
|
|
2440
2440
|
}
|
|
2441
2441
|
const STATUS_BADGE_CLASSES = {
|
|
2442
|
-
success: "bg-slate-300/[0.08] text-slate-100 border-
|
|
2443
|
-
client_error: "bg-amber-300/[0.10] text-amber-100 border-
|
|
2444
|
-
server_error: "bg-rose-400/[0.10] text-rose-100 border-
|
|
2445
|
-
pending: "bg-cyan-300/[0.08] text-cyan-100 border-
|
|
2442
|
+
success: "bg-slate-300/[0.08] text-slate-100 border-transparent",
|
|
2443
|
+
client_error: "bg-amber-300/[0.10] text-amber-100 border-transparent",
|
|
2444
|
+
server_error: "bg-rose-400/[0.10] text-rose-100 border-transparent",
|
|
2445
|
+
pending: "bg-cyan-300/[0.08] text-cyan-100 border-transparent"
|
|
2446
2446
|
};
|
|
2447
2447
|
const STATUS_CUE_CLASSES = {
|
|
2448
2448
|
success: {
|
|
@@ -2462,8 +2462,8 @@ const STATUS_CUE_CLASSES = {
|
|
|
2462
2462
|
dot: "bg-cyan-200 shadow-[0_0_14px_rgba(103,232,249,0.8)]"
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
|
-
const HEADER_ACTION_BUTTON_CLASS = "border border-
|
|
2466
|
-
const TELEMETRY_CHIP_CLASS = "
|
|
2465
|
+
const HEADER_ACTION_BUTTON_CLASS = "border border-transparent bg-white/[0.045] hover:bg-white/[0.075] size-8 text-muted-foreground shadow-none hover:text-cyan-100";
|
|
2466
|
+
const TELEMETRY_CHIP_CLASS = "bg-white/[0.045] flex h-7 items-center gap-1 rounded-md px-2 text-xs";
|
|
2467
2467
|
function formatElapsed$3(ms) {
|
|
2468
2468
|
if (ms < 1e3) return `${ms}ms`;
|
|
2469
2469
|
return `${(ms / 1e3).toFixed(1)}s`;
|
|
@@ -2537,8 +2537,8 @@ const LogEntryHeader = reactExports.memo(function({
|
|
|
2537
2537
|
"data-nav-action": expanded ? "collapse" : "expand",
|
|
2538
2538
|
className: cn(
|
|
2539
2539
|
"group/header relative isolate flex min-w-0 cursor-pointer items-start gap-2 overflow-hidden px-3 py-2 transition-[background-color,border-color,box-shadow]",
|
|
2540
|
-
expanded ? "bg-white/[0.
|
|
2541
|
-
"select-none
|
|
2540
|
+
expanded ? "bg-white/[0.04]" : "bg-transparent hover:bg-white/[0.035]",
|
|
2541
|
+
"select-none",
|
|
2542
2542
|
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-none"
|
|
2543
2543
|
),
|
|
2544
2544
|
onClick: onToggle,
|
|
@@ -2554,7 +2554,7 @@ const LogEntryHeader = reactExports.memo(function({
|
|
|
2554
2554
|
"span",
|
|
2555
2555
|
{
|
|
2556
2556
|
className: cn(
|
|
2557
|
-
"
|
|
2557
|
+
"inline-flex h-8 shrink-0 items-center gap-2 rounded-md px-2 font-mono",
|
|
2558
2558
|
statusCue.frame
|
|
2559
2559
|
),
|
|
2560
2560
|
children: [
|
|
@@ -2566,7 +2566,7 @@ const LogEntryHeader = reactExports.memo(function({
|
|
|
2566
2566
|
]
|
|
2567
2567
|
}
|
|
2568
2568
|
),
|
|
2569
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "
|
|
2569
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "bg-white/[0.045] flex h-7 shrink-0 items-center gap-1 rounded-md px-2 text-xs text-muted-foreground", children: [
|
|
2570
2570
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Clock, { className: "size-3" }),
|
|
2571
2571
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-mono tabular-nums", title: log.timestamp, children: formatTimestamp$2(log.timestamp, timeDisplayFormat) })
|
|
2572
2572
|
] }),
|
|
@@ -2823,7 +2823,7 @@ const LogEntryHeader = reactExports.memo(function({
|
|
|
2823
2823
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2824
2824
|
"span",
|
|
2825
2825
|
{
|
|
2826
|
-
className: "
|
|
2826
|
+
className: "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-slate-200",
|
|
2827
2827
|
"aria-hidden": "true",
|
|
2828
2828
|
children: expanded ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4 shrink-0" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "size-4 shrink-0" })
|
|
2829
2829
|
}
|
|
@@ -2911,13 +2911,13 @@ const CATEGORY_LABELS = {
|
|
|
2911
2911
|
other: "other"
|
|
2912
2912
|
};
|
|
2913
2913
|
const CATEGORY_CLASSES = {
|
|
2914
|
-
file: "border-
|
|
2915
|
-
shell: "border-
|
|
2916
|
-
browser: "border-
|
|
2917
|
-
web: "border-
|
|
2918
|
-
mcp: "border-
|
|
2919
|
-
code: "border-
|
|
2920
|
-
other: "border-
|
|
2914
|
+
file: "border-transparent bg-blue-400/5 text-blue-300",
|
|
2915
|
+
shell: "border-transparent bg-teal-400/5 text-teal-300",
|
|
2916
|
+
browser: "border-transparent bg-cyan-400/5 text-cyan-300",
|
|
2917
|
+
web: "border-transparent bg-sky-400/5 text-sky-300",
|
|
2918
|
+
mcp: "border-transparent bg-violet-400/5 text-violet-300",
|
|
2919
|
+
code: "border-transparent bg-emerald-400/5 text-emerald-300",
|
|
2920
|
+
other: "border-transparent bg-muted/30 text-muted-foreground"
|
|
2921
2921
|
};
|
|
2922
2922
|
function CategoryIcon({ category }) {
|
|
2923
2923
|
switch (category) {
|
|
@@ -2960,7 +2960,7 @@ function ToolRow({ tool, called }) {
|
|
|
2960
2960
|
const [open, setOpen] = reactExports.useState(false);
|
|
2961
2961
|
const nameCopy = useCopyFeedback(tool.name);
|
|
2962
2962
|
const hasDetails = tool.description !== null || tool.requiredParameters.length > 0 || tool.schema !== null;
|
|
2963
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
2963
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-white/[0.035] rounded-[8px]", children: [
|
|
2964
2964
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 items-center gap-2 px-2.5 py-2", children: [
|
|
2965
2965
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2966
2966
|
"button",
|
|
@@ -2995,17 +2995,17 @@ function ToolRow({ tool, called }) {
|
|
|
2995
2995
|
"button",
|
|
2996
2996
|
{
|
|
2997
2997
|
type: "button",
|
|
2998
|
-
className: "
|
|
2998
|
+
className: "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2999
2999
|
onClick: nameCopy.copy,
|
|
3000
3000
|
"aria-label": nameCopy.copied ? "Copied tool name" : "Copy tool name",
|
|
3001
3001
|
children: nameCopy.copied ? /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-3.5 text-emerald-400" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { className: "size-3.5" })
|
|
3002
3002
|
}
|
|
3003
3003
|
)
|
|
3004
3004
|
] }),
|
|
3005
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleContent, { children: open && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2
|
|
3005
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleContent, { children: open && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2 bg-white/[0.025] px-2.5 py-2", children: [
|
|
3006
3006
|
tool.description !== null && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs leading-relaxed text-muted-foreground", children: tool.description }),
|
|
3007
3007
|
/* @__PURE__ */ jsxRuntimeExports.jsx(RequiredParameters, { names: tool.requiredParameters }),
|
|
3008
|
-
tool.schema !== null && /* @__PURE__ */ jsxRuntimeExports.jsx(ScrollArea, { className: "
|
|
3008
|
+
tool.schema !== null && /* @__PURE__ */ jsxRuntimeExports.jsx(ScrollArea, { className: "bg-black/[0.16] max-h-64 rounded-[8px] p-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3009
3009
|
reactExports.Suspense,
|
|
3010
3010
|
{
|
|
3011
3011
|
fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-muted-foreground", children: "Loading JSON..." }),
|
|
@@ -3035,7 +3035,7 @@ const RequestTools = reactExports.memo(function RequestTools2({
|
|
|
3035
3035
|
if (summary === null) return null;
|
|
3036
3036
|
const previewTools = summary.tools.slice(0, 6);
|
|
3037
3037
|
const hiddenPreviewCount = summary.tools.length - previewTools.length;
|
|
3038
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { className: "
|
|
3038
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { className: "bg-black/[0.10] mb-3 overflow-hidden rounded-[8px]", children: [
|
|
3039
3039
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-wrap items-center gap-2 px-3 py-2", children: [
|
|
3040
3040
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
3041
3041
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Wrench, { className: "size-4 shrink-0 text-sky-300/80" }),
|
|
@@ -3089,7 +3089,7 @@ const RequestTools = reactExports.memo(function RequestTools2({
|
|
|
3089
3089
|
}
|
|
3090
3090
|
)
|
|
3091
3091
|
] }),
|
|
3092
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-wrap gap-1.5
|
|
3092
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 flex-wrap gap-1.5 bg-white/[0.025] px-3 py-2", children: [
|
|
3093
3093
|
previewTools.map((tool) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3094
3094
|
Badge,
|
|
3095
3095
|
{
|
|
@@ -3107,8 +3107,8 @@ const RequestTools = reactExports.memo(function RequestTools2({
|
|
|
3107
3107
|
hiddenPreviewCount
|
|
3108
3108
|
] })
|
|
3109
3109
|
] }),
|
|
3110
|
-
expanded && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2
|
|
3111
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: "
|
|
3110
|
+
expanded && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2 bg-black/10 px-3 py-3", children: [
|
|
3111
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: "bg-white/[0.045] hover:bg-white/[0.075] flex h-8 items-center gap-2 rounded-md px-2 text-xs", children: [
|
|
3112
3112
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Search, { className: "size-3.5 shrink-0 text-muted-foreground" }),
|
|
3113
3113
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3114
3114
|
"input",
|
|
@@ -3313,7 +3313,7 @@ const FULL_LOG_HYDRATION_TIMEOUT_MS = 15e3;
|
|
|
3313
3313
|
const BODY_CHUNK_TIMEOUT_MS = 15e3;
|
|
3314
3314
|
const BODY_CHUNK_BYTES = 256 * 1024;
|
|
3315
3315
|
const CHUNKED_BODY_THRESHOLD_BYTES = 1024 * 1024;
|
|
3316
|
-
const TAB_TRIGGER_CLASS = "h-9 flex-none rounded-md border border-transparent bg-transparent px-3 text-xs font-semibold text-muted-foreground shadow-none transition-colors hover:
|
|
3316
|
+
const TAB_TRIGGER_CLASS = "h-9 flex-none rounded-md border border-transparent bg-transparent px-3 text-xs font-semibold text-muted-foreground shadow-none transition-colors hover:bg-white/[0.045] hover:text-foreground data-[state=active]:bg-cyan-300/[0.08] data-[state=active]:text-cyan-100 data-[state=active]:shadow-none";
|
|
3317
3317
|
function createEmptyBodyPreviewState(totalBytes = null) {
|
|
3318
3318
|
return {
|
|
3319
3319
|
status: "idle",
|
|
@@ -3395,7 +3395,7 @@ function ExpandedPanel({
|
|
|
3395
3395
|
"div",
|
|
3396
3396
|
{
|
|
3397
3397
|
className: cn(
|
|
3398
|
-
"
|
|
3398
|
+
"bg-black/[0.14] inspector-scrollbar mx-3 mb-3 max-h-[72vh] overflow-auto rounded-[8px] p-3",
|
|
3399
3399
|
className
|
|
3400
3400
|
),
|
|
3401
3401
|
children
|
|
@@ -3403,15 +3403,15 @@ function ExpandedPanel({
|
|
|
3403
3403
|
);
|
|
3404
3404
|
}
|
|
3405
3405
|
function EmptyState({ children }) {
|
|
3406
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "
|
|
3406
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "bg-white/[0.035] rounded-md px-3 py-5 text-center text-xs italic text-muted-foreground", children });
|
|
3407
3407
|
}
|
|
3408
3408
|
function RawTextBlock({ children }) {
|
|
3409
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: "
|
|
3409
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: "bg-black/[0.18] inspector-scrollbar max-h-[64vh] overflow-auto whitespace-pre-wrap break-words rounded-[8px] p-3 font-mono text-xs leading-relaxed text-muted-foreground", children });
|
|
3410
3410
|
}
|
|
3411
3411
|
const NOTICE_TONE_CLASSES = {
|
|
3412
|
-
loading: "border-
|
|
3413
|
-
warning: "border-
|
|
3414
|
-
danger: "border-
|
|
3412
|
+
loading: "border-transparent bg-cyan-400/[0.06] text-cyan-100",
|
|
3413
|
+
warning: "border-transparent bg-amber-400/[0.08] text-amber-100",
|
|
3414
|
+
danger: "border-transparent bg-rose-400/[0.08] text-rose-100"
|
|
3415
3415
|
};
|
|
3416
3416
|
function NoticeBlock({
|
|
3417
3417
|
tone,
|
|
@@ -3473,12 +3473,12 @@ function HeaderRows({
|
|
|
3473
3473
|
}) {
|
|
3474
3474
|
const entries = headers === void 0 ? [] : Object.entries(headers).sort(([left], [right]) => left.localeCompare(right));
|
|
3475
3475
|
if (entries.length === 0) return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyState, { children: emptyLabel });
|
|
3476
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "
|
|
3476
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "bg-black/[0.14] overflow-hidden rounded-[8px] font-mono text-xs", children: entries.map(([key, value]) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
3477
3477
|
"div",
|
|
3478
3478
|
{
|
|
3479
|
-
className: "grid min-w-0 grid-cols-[minmax(140px,0.32fr)_minmax(0,1fr)] border-b border-white/
|
|
3479
|
+
className: "grid min-w-0 grid-cols-[minmax(140px,0.32fr)_minmax(0,1fr)] border-b border-white/[0.055] last:border-b-0",
|
|
3480
3480
|
children: [
|
|
3481
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 truncate
|
|
3481
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 truncate bg-white/[0.035] px-2.5 py-2 font-semibold text-cyan-200", children: key }),
|
|
3482
3482
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "min-w-0 truncate px-2.5 py-2 text-muted-foreground", title: value, children: value })
|
|
3483
3483
|
]
|
|
3484
3484
|
},
|
|
@@ -3854,27 +3854,10 @@ const LogEntry = reactExports.memo(function({
|
|
|
3854
3854
|
"div",
|
|
3855
3855
|
{
|
|
3856
3856
|
className: cn(
|
|
3857
|
-
"
|
|
3858
|
-
expanded ? "
|
|
3857
|
+
"bg-card/80 relative mb-1.5 overflow-hidden rounded-[8px] transition-[background-color,box-shadow]",
|
|
3858
|
+
expanded ? "bg-card shadow-[0_18px_60px_rgba(0,0,0,0.30),0_0_0_1px_rgba(103,232,249,0.08)]" : "hover:bg-card"
|
|
3859
3859
|
),
|
|
3860
3860
|
children: [
|
|
3861
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3862
|
-
"div",
|
|
3863
|
-
{
|
|
3864
|
-
className: cn(
|
|
3865
|
-
"pointer-events-none absolute inset-y-3 left-1 w-px rounded-full",
|
|
3866
|
-
expanded ? "bg-cyan-200/55 shadow-[0_0_20px_rgba(103,232,249,0.26)]" : "bg-white/12"
|
|
3867
|
-
),
|
|
3868
|
-
"aria-hidden": "true"
|
|
3869
|
-
}
|
|
3870
|
-
),
|
|
3871
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3872
|
-
"div",
|
|
3873
|
-
{
|
|
3874
|
-
className: "pointer-events-none absolute inset-x-3 top-0 h-px bg-gradient-to-r from-transparent via-white/15 to-transparent",
|
|
3875
|
-
"aria-hidden": "true"
|
|
3876
|
-
}
|
|
3877
|
-
),
|
|
3878
3861
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3879
3862
|
LogEntryHeader,
|
|
3880
3863
|
{
|
|
@@ -3898,7 +3881,7 @@ const LogEntry = reactExports.memo(function({
|
|
|
3898
3881
|
expanded && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
3899
3882
|
"div",
|
|
3900
3883
|
{
|
|
3901
|
-
className: "relative
|
|
3884
|
+
className: "relative bg-black/[0.14] pt-2",
|
|
3902
3885
|
onClick: (e) => e.stopPropagation(),
|
|
3903
3886
|
onKeyDown: (e) => e.stopPropagation(),
|
|
3904
3887
|
children: [
|
|
@@ -3914,7 +3897,7 @@ const LogEntry = reactExports.memo(function({
|
|
|
3914
3897
|
TabsList,
|
|
3915
3898
|
{
|
|
3916
3899
|
variant: "line",
|
|
3917
|
-
className: "
|
|
3900
|
+
className: "bg-white/[0.04] inspector-scrollbar relative mx-3 h-auto w-[calc(100%-1.5rem)] justify-start overflow-x-auto rounded-[8px] p-1",
|
|
3918
3901
|
children: [
|
|
3919
3902
|
viewMode === "full" && /* @__PURE__ */ jsxRuntimeExports.jsx(TabsTrigger, { className: TAB_TRIGGER_CLASS, value: "raw-headers", children: "Raw Headers" }),
|
|
3920
3903
|
viewMode === "full" && /* @__PURE__ */ jsxRuntimeExports.jsx(TabsTrigger, { className: TAB_TRIGGER_CLASS, value: "headers", children: "Headers" }),
|
|
@@ -4530,7 +4513,7 @@ function ThreadConnector({
|
|
|
4530
4513
|
onToggle();
|
|
4531
4514
|
};
|
|
4532
4515
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col items-center w-6 shrink-0 pt-0.5 pb-0.5", children: [
|
|
4533
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center h-[calc(0.75rem-8px)]", children: !isFirst && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-
|
|
4516
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center h-[calc(0.75rem-8px)]", children: !isFirst && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-px bg-muted-foreground/18 h-full" }) }),
|
|
4534
4517
|
isFusedBoundary ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4535
4518
|
"span",
|
|
4536
4519
|
{
|
|
@@ -4597,7 +4580,7 @@ function ThreadConnector({
|
|
|
4597
4580
|
{
|
|
4598
4581
|
className: cn(
|
|
4599
4582
|
"w-0.5 h-full",
|
|
4600
|
-
isPending ? "border-dashed bg-transparent border-l
|
|
4583
|
+
isPending ? "border-dashed bg-transparent border-l border-muted-foreground/14" : "bg-muted-foreground/18"
|
|
4601
4584
|
)
|
|
4602
4585
|
}
|
|
4603
4586
|
) })
|
|
@@ -4609,7 +4592,7 @@ function ToolTraceEventRow({ event }) {
|
|
|
4609
4592
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4610
4593
|
"div",
|
|
4611
4594
|
{
|
|
4612
|
-
className: "group/tool-trace flex min-w-0 items-center gap-2 rounded-md
|
|
4595
|
+
className: "group/tool-trace flex min-w-0 items-center gap-2 rounded-md bg-white/[0.035] px-2.5 py-1.5 text-xs",
|
|
4613
4596
|
children: [
|
|
4614
4597
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Wrench, { className: "size-3.5 shrink-0 text-sky-400/70" }),
|
|
4615
4598
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-mono font-semibold text-foreground/80", children: event.name }),
|
|
@@ -4952,7 +4935,7 @@ const TurnGroup = reactExports.memo(function TurnGroup2({
|
|
|
4952
4935
|
maxElapsed
|
|
4953
4936
|
};
|
|
4954
4937
|
}, [entries, lastIdx]);
|
|
4955
|
-
const bgClass = turnIndex % 2 === 0 ? "bg-white/[0.
|
|
4938
|
+
const bgClass = turnIndex % 2 === 0 ? "bg-white/[0.008]" : "bg-cyan-300/[0.008]";
|
|
4956
4939
|
const aggregateIsSlow = aggregate.maxElapsed !== null && slowResponseThresholdSeconds > 0 && aggregate.maxElapsed > slowResponseThresholdSeconds * 1e3;
|
|
4957
4940
|
const toolEventsByLogId = reactExports.useMemo(() => {
|
|
4958
4941
|
const events = /* @__PURE__ */ new Map();
|
|
@@ -4997,8 +4980,8 @@ const TurnGroup = reactExports.memo(function TurnGroup2({
|
|
|
4997
4980
|
"aria-label": collapsed ? void 0 : turnLabel,
|
|
4998
4981
|
"data-nav-id": collapsed ? void 0 : `turn-${String(firstLogId)}`,
|
|
4999
4982
|
className: cn(
|
|
5000
|
-
"rounded-[8px]
|
|
5001
|
-
isPending ? "
|
|
4983
|
+
"rounded-[8px] transition-[background-color,box-shadow]",
|
|
4984
|
+
isPending ? "bg-amber-300/[0.018] shadow-[0_0_0_1px_rgba(252,211,77,0.035)]" : "",
|
|
5002
4985
|
!collapsed && "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-none"
|
|
5003
4986
|
),
|
|
5004
4987
|
children: collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -5020,14 +5003,14 @@ const TurnGroup = reactExports.memo(function TurnGroup2({
|
|
|
5020
5003
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-5 shrink-0 flex items-start pt-1.5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] text-muted-foreground/50 font-mono tabular-nums leading-none select-none", children: turnIndex + 1 }) }),
|
|
5021
5004
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-6 shrink-0 flex flex-col items-center pt-1.5 pb-1.5", children: [
|
|
5022
5005
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center h-[calc(0.75rem-8px)]" }),
|
|
5023
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "size-2 rounded-full
|
|
5024
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 flex justify-center min-h-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-px bg-muted-foreground/
|
|
5006
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "size-2 rounded-full bg-cyan-300/45" }),
|
|
5007
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 flex justify-center min-h-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-px bg-muted-foreground/14 h-full" }) }),
|
|
5025
5008
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5026
5009
|
"span",
|
|
5027
5010
|
{
|
|
5028
5011
|
className: cn(
|
|
5029
|
-
"size-2 rounded-full
|
|
5030
|
-
isComplete ? "
|
|
5012
|
+
"size-2 rounded-full",
|
|
5013
|
+
isComplete ? "bg-amber-300/45" : "bg-muted-foreground/25"
|
|
5031
5014
|
)
|
|
5032
5015
|
}
|
|
5033
5016
|
)
|
|
@@ -5036,8 +5019,8 @@ const TurnGroup = reactExports.memo(function TurnGroup2({
|
|
|
5036
5019
|
"div",
|
|
5037
5020
|
{
|
|
5038
5021
|
className: cn(
|
|
5039
|
-
"flex-1 min-w-0 mb-0.5 rounded-[8px] py-1.5 px-3 flex items-center gap-3 text-xs
|
|
5040
|
-
"
|
|
5022
|
+
"flex-1 min-w-0 mb-0.5 rounded-[8px] py-1.5 px-3 flex items-center gap-3 text-xs",
|
|
5023
|
+
"bg-card/80 transition-colors hover:bg-card",
|
|
5041
5024
|
bgClass
|
|
5042
5025
|
),
|
|
5043
5026
|
children: [
|
|
@@ -5099,7 +5082,7 @@ const TurnGroup = reactExports.memo(function TurnGroup2({
|
|
|
5099
5082
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5100
5083
|
"span",
|
|
5101
5084
|
{
|
|
5102
|
-
className: "
|
|
5085
|
+
className: "bg-white/[0.045] inline-flex size-7 shrink-0 items-center justify-center rounded-md text-slate-200",
|
|
5103
5086
|
"aria-hidden": "true",
|
|
5104
5087
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "size-4 shrink-0" })
|
|
5105
5088
|
}
|
|
@@ -11029,7 +11012,7 @@ function SummaryChip({
|
|
|
11029
11012
|
"span",
|
|
11030
11013
|
{
|
|
11031
11014
|
className: cn(
|
|
11032
|
-
"
|
|
11015
|
+
"bg-white/[0.045] inline-flex h-7 items-center gap-1 rounded-md px-2 text-xs text-muted-foreground",
|
|
11033
11016
|
className
|
|
11034
11017
|
),
|
|
11035
11018
|
children: [
|
|
@@ -11097,7 +11080,7 @@ function IdeGroupSection({
|
|
|
11097
11080
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
11098
11081
|
"section",
|
|
11099
11082
|
{
|
|
11100
|
-
className: cn("
|
|
11083
|
+
className: cn("bg-card/75 shadow-sm relative isolate rounded-[8px]"),
|
|
11101
11084
|
"data-ide-group": group.id,
|
|
11102
11085
|
children: [
|
|
11103
11086
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -11108,7 +11091,7 @@ function IdeGroupSection({
|
|
|
11108
11091
|
onClick: onToggleIde,
|
|
11109
11092
|
"aria-expanded": !collapsed,
|
|
11110
11093
|
children: [
|
|
11111
|
-
group.client === "unknown" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "
|
|
11094
|
+
group.client === "unknown" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "bg-white/[0.045] inline-flex size-10 shrink-0 items-center justify-center rounded-[8px] text-slate-200", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Monitor, { className: "size-5" }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ClientLogo, { client: group.client, className: "size-10 rounded-[8px] text-cyan-100" }),
|
|
11112
11095
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
11113
11096
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "flex min-w-0 items-center gap-2", children: [
|
|
11114
11097
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -11119,7 +11102,7 @@ function IdeGroupSection({
|
|
|
11119
11102
|
children: group.label
|
|
11120
11103
|
}
|
|
11121
11104
|
),
|
|
11122
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "rounded
|
|
11105
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "rounded bg-cyan-300/[0.06] px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-[0.16em] text-cyan-100/75", children: "IDE" })
|
|
11123
11106
|
] }),
|
|
11124
11107
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-muted-foreground", children: [
|
|
11125
11108
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
|
|
@@ -11143,11 +11126,11 @@ function IdeGroupSection({
|
|
|
11143
11126
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SummaryChip, { label: "IN", value: formatTokenCount(totals.inputTokens) }),
|
|
11144
11127
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SummaryChip, { label: "OUT", value: formatTokenCount(totals.outputTokens) })
|
|
11145
11128
|
] }),
|
|
11146
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "
|
|
11129
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-slate-200", children: collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "size-4" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4" }) })
|
|
11147
11130
|
]
|
|
11148
11131
|
}
|
|
11149
11132
|
),
|
|
11150
|
-
!collapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-3
|
|
11133
|
+
!collapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-3 px-3 pb-3 pt-2 sm:px-4", children: group.processes.map((processGroup) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11151
11134
|
ProcessGroupSection,
|
|
11152
11135
|
{
|
|
11153
11136
|
group: processGroup,
|
|
@@ -11173,8 +11156,8 @@ function ProcessGroupSection({
|
|
|
11173
11156
|
const logCount = group.logs.length;
|
|
11174
11157
|
const processLabel = group.clientPid !== null && group.clientPid !== void 0 ? `PID ${group.clientPid}` : "process";
|
|
11175
11158
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { className: "relative pl-5", children: [
|
|
11176
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute bottom-
|
|
11177
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
11159
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute bottom-1 left-2 top-1 w-px bg-white/[0.055]", "aria-hidden": "true" }),
|
|
11160
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-black/[0.10] overflow-hidden rounded-[8px]", children: [
|
|
11178
11161
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
11179
11162
|
"button",
|
|
11180
11163
|
{
|
|
@@ -11183,7 +11166,7 @@ function ProcessGroupSection({
|
|
|
11183
11166
|
onClick: onToggle,
|
|
11184
11167
|
"aria-expanded": !collapsed,
|
|
11185
11168
|
children: [
|
|
11186
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "
|
|
11169
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "bg-white/[0.045] inline-flex size-8 shrink-0 items-center justify-center rounded-md text-amber-100", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Cpu, { className: "size-4" }) }),
|
|
11187
11170
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
11188
11171
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
11189
11172
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-mono text-xs font-semibold tabular-nums text-slate-100", children: processLabel }),
|
|
@@ -11216,11 +11199,11 @@ function ProcessGroupSection({
|
|
|
11216
11199
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SummaryChip, { label: "IN", value: formatTokenCount(totals.inputTokens) }),
|
|
11217
11200
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SummaryChip, { label: "OUT", value: formatTokenCount(totals.outputTokens) })
|
|
11218
11201
|
] }),
|
|
11219
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "
|
|
11202
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "bg-white/[0.045] hover:bg-white/[0.075] inline-flex size-7 shrink-0 items-center justify-center rounded-md text-slate-200", children: collapsed ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "size-4" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4" }) })
|
|
11220
11203
|
]
|
|
11221
11204
|
}
|
|
11222
11205
|
),
|
|
11223
|
-
!collapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-2
|
|
11206
|
+
!collapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-2 p-2 pt-1 sm:p-3 sm:pt-2", children: group.sessions.map((session) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11224
11207
|
ConversationGroup,
|
|
11225
11208
|
{
|
|
11226
11209
|
group: session,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, D as Dialog, d as DialogContent, e as DialogHeader, h as DialogTitle, T as Tabs, i as TabsList, j as TabsTrigger, k as TabsContent, l as Button, m as TooltipProvider, n as Tooltip, o as TooltipTrigger, p as TooltipContent, q as dispatchLogFocusRequest } from "./ProxyViewerContainer-
|
|
3
|
-
import { ResponseView } from "./ResponseView-
|
|
4
|
-
import { C as CapturedLogSchema } from "./router-
|
|
2
|
+
import { u as useProviders, D as Dialog, d as DialogContent, e as DialogHeader, h as DialogTitle, T as Tabs, i as TabsList, j as TabsTrigger, k as TabsContent, l as Button, m as TooltipProvider, n as Tooltip, o as TooltipTrigger, p as TooltipContent, q as dispatchLogFocusRequest } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
3
|
+
import { ResponseView } from "./ResponseView-HLTCpJcF.mjs";
|
|
4
|
+
import { C as CapturedLogSchema } from "./router-50BIB6ED.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
7
7
|
import { ae as RotateCcw, ar as Braces, as as Minimize2 } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, s as analyzeContextIntelligence, f as formatTokens, m as TooltipProvider, c as cn, n as Tooltip, o as TooltipTrigger, p as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, t as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { u as useProviders, s as analyzeContextIntelligence, f as formatTokens, m as TooltipProvider, c as cn, n as Tooltip, o as TooltipTrigger, p as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, t as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
3
|
+
import "./router-50BIB6ED.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { I as Info, a as ChevronDown, h as ChevronRight } from "../_libs/lucide-react.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, v as getStatusCategory, B as Badge, w as Collapsible, x as CollapsibleTrigger, y as CollapsibleContent, z as ScrollArea, E as LazyJsonViewer, F as safeJsonValue } from "./ProxyViewerContainer-
|
|
3
|
-
import { s as safeGetOwnProperty } from "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, f as formatTokens, c as cn, v as getStatusCategory, B as Badge, w as Collapsible, x as CollapsibleTrigger, y as CollapsibleContent, z as ScrollArea, E as LazyJsonViewer, F as safeJsonValue } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
3
|
+
import { s as safeGetOwnProperty } from "./router-50BIB6ED.mjs";
|
|
4
4
|
import "../_libs/jszip.mjs";
|
|
5
5
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
6
6
|
import { Z as Zap, T as TriangleAlert, at as CircleStop, N as Brain, a as ChevronDown, h as ChevronRight, q as Terminal } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { m as TooltipProvider, n as Tooltip, o as TooltipTrigger, B as Badge, p as TooltipContent, E as LazyJsonViewer } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { m as TooltipProvider, n as Tooltip, o as TooltipTrigger, B as Badge, p as TooltipContent, E as LazyJsonViewer } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
3
|
+
import "./router-50BIB6ED.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { a as ChevronDown, h as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-
|
|
1
|
+
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
2
2
|
import "../_libs/react.mjs";
|
|
3
|
-
import "./router-
|
|
3
|
+
import "./router-50BIB6ED.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/swr.mjs";
|
|
@@ -198,7 +198,7 @@ function getResponse() {
|
|
|
198
198
|
return event.res;
|
|
199
199
|
}
|
|
200
200
|
async function getStartManifest(matchedRoutes) {
|
|
201
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
201
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-TSwb1vFc.mjs");
|
|
202
202
|
const startManifest = tsrStartManifest();
|
|
203
203
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes[rootRouteId] || {};
|
|
204
204
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -776,7 +776,7 @@ let entriesPromise;
|
|
|
776
776
|
let baseManifestPromise;
|
|
777
777
|
let cachedFinalManifestPromise;
|
|
778
778
|
async function loadEntries() {
|
|
779
|
-
const routerEntry = await import("./router-
|
|
779
|
+
const routerEntry = await import("./router-50BIB6ED.mjs").then((n) => n.J);
|
|
780
780
|
const startEntry = await import("./start-HYkvq4Ni.mjs");
|
|
781
781
|
return { startEntry, routerEntry };
|
|
782
782
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { G as parseJsonText, c as cn, m as TooltipProvider, n as Tooltip, o as TooltipTrigger, p as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { G as parseJsonText, c as cn, m as TooltipProvider, n as Tooltip, o as TooltipTrigger, p as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-DqgVb0So.mjs";
|
|
3
|
+
import "./router-50BIB6ED.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { b as Check, e as Copy, a as ChevronDown, h as ChevronRight, ab as ChevronsDown } from "../_libs/lucide-react.mjs";
|