@tonyclaw/agent-inspector 2.1.23 → 3.0.0
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/cli.js +78 -29
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-Cvgl_Jmi.js → CompareDrawer-ZL1yvIH6.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-CNLLZq37.js → ProxyViewerContainer-vhfV449d.js} +8 -8
- package/.output/public/assets/{ReplayDialog-DeEELx0X.js → ReplayDialog-D-gDSuhe.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CrLSqdiA.js → RequestAnatomy-CVt2vHih.js} +1 -1
- package/.output/public/assets/{ResponseView-CFIqDL5E.js → ResponseView-zVdHc0mv.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-DSRjbgqb.js → StreamingChunkSequence-DQFhpV_4.js} +1 -1
- package/.output/public/assets/{_sessionId-ZuH6-ZX5.js → _sessionId-DeeeQcS9.js} +1 -1
- package/.output/public/assets/index-BJvPLWvO.js +1 -0
- package/.output/public/assets/index-Tq5s9NV0.css +1 -0
- package/.output/public/assets/{index-BZxLBVYd.js → index-_inxJ5Yi.js} +1 -1
- package/.output/public/assets/{json-viewer-DERQNZRV.js → json-viewer-B9gYSlz7.js} +1 -1
- package/.output/public/assets/{main-BoshTI0W.js → main-Do_fjInc.js} +2 -2
- package/.output/server/{_sessionId-BYGtH1pK.mjs → _sessionId-D1XraBbJ.mjs} +2 -2
- package/.output/server/_ssr/{CompareDrawer-OchnKiac.mjs → CompareDrawer-Ot4EsLht.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-C2lwYwDu.mjs → ProxyViewerContainer-Cb4ZWwFC.mjs} +45 -36
- package/.output/server/_ssr/{ReplayDialog-BYwaF14u.mjs → ReplayDialog-B5m_dFdr.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-DTueiqT5.mjs → RequestAnatomy-OUrXKyoI.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-CqB9NKHB.mjs → ResponseView-DV1N1gQ8.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-DENB9VUj.mjs → StreamingChunkSequence-CJl70SsF.mjs} +2 -2
- package/.output/server/_ssr/{index-BR3ea3Zb.mjs → index-CztmjZ0i.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-BU9ZUaHK.mjs → json-viewer-CO0sbce_.mjs} +2 -2
- package/.output/server/_ssr/{router-DT6BcrEg.mjs → router-BxWKty_9.mjs} +10 -5
- package/.output/server/{_tanstack-start-manifest_v-xQ1BRoZw.mjs → _tanstack-start-manifest_v-BvJ2LKGG.mjs} +1 -1
- package/.output/server/index.mjs +66 -66
- package/README.md +30 -8
- package/package.json +1 -1
- package/src/cli/doctor.ts +1 -1
- package/src/cli/onboard.ts +15 -9
- package/src/cli.ts +87 -33
- package/src/components/ProxyViewer.tsx +30 -25
- package/src/components/providers/SettingsDialog.tsx +2 -2
- package/src/components/ui/icon-trigger.ts +1 -1
- package/src/lib/serverPort.ts +9 -3
- package/src/proxy/socketTracker.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/_ssr/{ProxyViewerContainer-C2lwYwDu.mjs → ProxyViewerContainer-Cb4ZWwFC.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 DeleteInspectorGroupsResponseSchema, o as GroupEvidenceExportResultSchema, q as DeleteInspectorGroupResponseSchema, z as createPendingProviderTestResults, B as ProviderTestResultsSchema, E as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, F as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, l as AlertSummarySchema, m as AlertListResponseSchema, G as GroupEvidenceReadResponseSchema, u as maskApiKey, v as PATH_V1_MESSAGES, w as PATH_V1_CHAT_COMPLETIONS, x as PATH_V1_RESPONSES, r as providerHasContextMetadata, t as findProviderModelMetadata, f as parseOpenAIResponse, g as parseOpenAIResponsesResponse, O as OpenAIRequestSchema, h as OpenAIResponsesRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, H as resolveProviderContextWindow, j as getSessionPath, y as previewUpstreamUrl, K as KnowledgeCandidateSchema, J 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 DeleteInspectorGroupsResponseSchema, o as GroupEvidenceExportResultSchema, q as DeleteInspectorGroupResponseSchema, z as createPendingProviderTestResults, B as ProviderTestResultsSchema, E as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, F as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, l as AlertSummarySchema, m as AlertListResponseSchema, G as GroupEvidenceReadResponseSchema, u as maskApiKey, v as PATH_V1_MESSAGES, w as PATH_V1_CHAT_COMPLETIONS, x as PATH_V1_RESPONSES, r as providerHasContextMetadata, t as findProviderModelMetadata, f as parseOpenAIResponse, g as parseOpenAIResponsesResponse, O as OpenAIRequestSchema, h as OpenAIResponsesRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, H as resolveProviderContextWindow, j as getSessionPath, y as previewUpstreamUrl, K as KnowledgeCandidateSchema, J as isPlainRecord, k as stripClaudeCodeBillingHeader, L as LogBodyChunkSchema } from "./router-BxWKty_9.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";
|
|
@@ -2336,27 +2336,27 @@ function useCopyFeedback(text) {
|
|
|
2336
2336
|
return { copied, copy };
|
|
2337
2337
|
}
|
|
2338
2338
|
const LazyCompareDrawer = reactExports.lazy(
|
|
2339
|
-
() => import("./CompareDrawer-
|
|
2339
|
+
() => import("./CompareDrawer-Ot4EsLht.mjs").then((m) => ({ default: m.CompareDrawer }))
|
|
2340
2340
|
);
|
|
2341
2341
|
const LazyReplayDialog = reactExports.lazy(
|
|
2342
|
-
() => import("./ReplayDialog-
|
|
2342
|
+
() => import("./ReplayDialog-B5m_dFdr.mjs").then((m) => ({ default: m.ReplayDialog }))
|
|
2343
2343
|
);
|
|
2344
2344
|
const LazyRequestAnatomy = reactExports.lazy(
|
|
2345
|
-
() => import("./RequestAnatomy-
|
|
2345
|
+
() => import("./RequestAnatomy-OUrXKyoI.mjs").then((m) => ({ default: m.RequestAnatomy }))
|
|
2346
2346
|
);
|
|
2347
2347
|
const LazyResponseView = reactExports.lazy(
|
|
2348
|
-
() => import("./ResponseView-
|
|
2348
|
+
() => import("./ResponseView-DV1N1gQ8.mjs").then((m) => ({ default: m.ResponseView }))
|
|
2349
2349
|
);
|
|
2350
2350
|
const LazyStreamingChunkSequence = reactExports.lazy(
|
|
2351
|
-
() => import("./StreamingChunkSequence-
|
|
2351
|
+
() => import("./StreamingChunkSequence-CJl70SsF.mjs").then((m) => ({
|
|
2352
2352
|
default: m.StreamingChunkSequence
|
|
2353
2353
|
}))
|
|
2354
2354
|
);
|
|
2355
2355
|
const LazyJsonViewer = reactExports.lazy(
|
|
2356
|
-
() => import("./json-viewer-
|
|
2356
|
+
() => import("./json-viewer-CO0sbce_.mjs").then((m) => ({ default: m.JsonViewer }))
|
|
2357
2357
|
);
|
|
2358
2358
|
const LazyJsonViewerFromString = reactExports.lazy(
|
|
2359
|
-
() => import("./json-viewer-
|
|
2359
|
+
() => import("./json-viewer-CO0sbce_.mjs").then((m) => ({ default: m.JsonViewerFromString }))
|
|
2360
2360
|
);
|
|
2361
2361
|
const HIGHLIGHT_DURATION_MS = 1200;
|
|
2362
2362
|
const MAX_HIGHLIGHT_ATTEMPTS = 12;
|
|
@@ -6370,7 +6370,7 @@ function useAlertSummary() {
|
|
|
6370
6370
|
mutate: response.mutate
|
|
6371
6371
|
};
|
|
6372
6372
|
}
|
|
6373
|
-
const INSPECTOR_ICON_TRIGGER_CLASS = "relative size-8 rounded-md border
|
|
6373
|
+
const INSPECTOR_ICON_TRIGGER_CLASS = "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";
|
|
6374
6374
|
const ALERT_CATEGORIES = [
|
|
6375
6375
|
"request-failure",
|
|
6376
6376
|
"request-timeout",
|
|
@@ -10547,7 +10547,7 @@ function CopyableSetupValue({
|
|
|
10547
10547
|
function OnboardingSettingsTab() {
|
|
10548
10548
|
const [copiedId, setCopiedId] = reactExports.useState(null);
|
|
10549
10549
|
const origin = reactExports.useMemo(() => {
|
|
10550
|
-
if (typeof window === "undefined") return "http://localhost:
|
|
10550
|
+
if (typeof window === "undefined") return "http://localhost:9527";
|
|
10551
10551
|
return window.location.origin;
|
|
10552
10552
|
}, []);
|
|
10553
10553
|
const values = reactExports.useMemo(
|
|
@@ -10683,7 +10683,7 @@ function OnboardingSettingsTab() {
|
|
|
10683
10683
|
function McpSettingsTab() {
|
|
10684
10684
|
const [copiedId, setCopiedId] = reactExports.useState(null);
|
|
10685
10685
|
const origin = reactExports.useMemo(() => {
|
|
10686
|
-
if (typeof window === "undefined") return "http://localhost:
|
|
10686
|
+
if (typeof window === "undefined") return "http://localhost:9527";
|
|
10687
10687
|
return window.location.origin;
|
|
10688
10688
|
}, []);
|
|
10689
10689
|
const endpoint = `${origin}/api/mcp`;
|
|
@@ -13305,7 +13305,7 @@ function CopyableCommand({ command }) {
|
|
|
13305
13305
|
setTimeout(() => setCopied(false), 2e3);
|
|
13306
13306
|
});
|
|
13307
13307
|
}, [command]);
|
|
13308
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
13308
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("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)]", children: [
|
|
13309
13309
|
/* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: "m-0 overflow-x-auto font-mono text-sm text-cyan-200", children: command }),
|
|
13310
13310
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
13311
13311
|
"button",
|
|
@@ -13321,7 +13321,7 @@ function CopyableCommand({ command }) {
|
|
|
13321
13321
|
}
|
|
13322
13322
|
function McpReadyBadge() {
|
|
13323
13323
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Tooltip, { children: [
|
|
13324
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "
|
|
13324
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("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", children: [
|
|
13325
13325
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "size-1.5 rounded-full bg-cyan-200 shadow-[0_0_8px_rgba(125,211,252,0.75)]" }),
|
|
13326
13326
|
"MCP Ready",
|
|
13327
13327
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "hidden text-cyan-200/70 sm:inline", children: "/api/mcp" })
|
|
@@ -13334,13 +13334,22 @@ function SidebarPanel({
|
|
|
13334
13334
|
children,
|
|
13335
13335
|
className
|
|
13336
13336
|
}) {
|
|
13337
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
13338
|
-
|
|
13339
|
-
|
|
13340
|
-
|
|
13337
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
13338
|
+
"section",
|
|
13339
|
+
{
|
|
13340
|
+
className: cn(
|
|
13341
|
+
"bg-white/[0.028] shadow-[inset_0_1px_0_rgba(255,255,255,0.035)] rounded-[8px]",
|
|
13342
|
+
className
|
|
13343
|
+
),
|
|
13344
|
+
children: [
|
|
13345
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 pt-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "font-mono text-[10px] font-semibold uppercase tracking-[0.14em] text-white/35", children: label }) }),
|
|
13346
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 pt-2", children })
|
|
13347
|
+
]
|
|
13348
|
+
}
|
|
13349
|
+
);
|
|
13341
13350
|
}
|
|
13342
13351
|
function SidebarMetric({ label, value }) {
|
|
13343
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
13352
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("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)]", children: [
|
|
13344
13353
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "truncate font-mono text-lg font-semibold leading-6 text-slate-100", children: value }),
|
|
13345
13354
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-0.5 truncate font-mono text-[10px] uppercase tracking-[0.12em] text-white/35", children: label })
|
|
13346
13355
|
] });
|
|
@@ -13390,7 +13399,7 @@ function BrandHeader({
|
|
|
13390
13399
|
crabEntrancePhase
|
|
13391
13400
|
}) {
|
|
13392
13401
|
if (compact) {
|
|
13393
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
13402
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("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", children: [
|
|
13394
13403
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
13395
13404
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
13396
13405
|
/* @__PURE__ */ jsxRuntimeExports.jsx(CrabFamily, { compact: true, entrancePhase: crabEntrancePhase }),
|
|
@@ -13665,7 +13674,7 @@ function SessionContextBar({
|
|
|
13665
13674
|
"a",
|
|
13666
13675
|
{
|
|
13667
13676
|
href: "/",
|
|
13668
|
-
className: "
|
|
13677
|
+
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",
|
|
13669
13678
|
"aria-label": "Back to all sessions",
|
|
13670
13679
|
title: "Back to all sessions",
|
|
13671
13680
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ArrowLeft, { className: "size-3.5" })
|
|
@@ -13703,7 +13712,7 @@ function SessionContextBar({
|
|
|
13703
13712
|
{
|
|
13704
13713
|
type: "button",
|
|
13705
13714
|
onClick: () => setDetailsOpen((value) => !value),
|
|
13706
|
-
className: "
|
|
13715
|
+
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",
|
|
13707
13716
|
"aria-expanded": detailsOpen,
|
|
13708
13717
|
title: detailsOpen ? "Hide context details" : "Show context details",
|
|
13709
13718
|
children: [
|
|
@@ -13717,7 +13726,7 @@ function SessionContextBar({
|
|
|
13717
13726
|
{
|
|
13718
13727
|
type: "button",
|
|
13719
13728
|
onClick: handleCopyLink,
|
|
13720
|
-
className: "
|
|
13729
|
+
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",
|
|
13721
13730
|
"aria-label": copied ? "Copied session link" : "Copy session link",
|
|
13722
13731
|
title: copied ? "Copied session link" : "Copy session link",
|
|
13723
13732
|
children: copied ? /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-3.5" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { className: "size-3.5" })
|
|
@@ -13897,7 +13906,7 @@ function ProxyViewer({
|
|
|
13897
13906
|
);
|
|
13898
13907
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-background min-h-screen w-full text-foreground", children: [
|
|
13899
13908
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("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)]", children: [
|
|
13900
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("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", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4 p-4", children: [
|
|
13909
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("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]", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4 p-4", children: [
|
|
13901
13910
|
/* @__PURE__ */ jsxRuntimeExports.jsx(BrandHeader, { compact: true, crabEntrancePhase }),
|
|
13902
13911
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SidebarPanel, { label: "Session", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-3 gap-2", children: [
|
|
13903
13912
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SidebarMetric, { label: "Requests", value: logs.length }),
|
|
@@ -13916,7 +13925,7 @@ function ProxyViewer({
|
|
|
13916
13925
|
}
|
|
13917
13926
|
)
|
|
13918
13927
|
] }) }),
|
|
13919
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SidebarPanel, { label: "Workspace", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
13928
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SidebarPanel, { label: "Workspace", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "bg-black/20 rounded-md px-3 py-2 shadow-[inset_0_1px_0_rgba(255,255,255,0.035)]", children: [
|
|
13920
13929
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
13921
13930
|
"div",
|
|
13922
13931
|
{
|
|
@@ -13951,7 +13960,7 @@ function ProxyViewer({
|
|
|
13951
13960
|
value: sessionInputValue,
|
|
13952
13961
|
onChange: handleSessionInputChange,
|
|
13953
13962
|
placeholder: "Paste session ID",
|
|
13954
|
-
className: "
|
|
13963
|
+
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",
|
|
13955
13964
|
"aria-label": "Filter by session ID",
|
|
13956
13965
|
title: "Filter by exact session ID"
|
|
13957
13966
|
}
|
|
@@ -13969,7 +13978,7 @@ function ProxyViewer({
|
|
|
13969
13978
|
)
|
|
13970
13979
|
] }),
|
|
13971
13980
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Select, { value: sessionSelectValue, onValueChange: handleSessionSelectChange, children: [
|
|
13972
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectTrigger, { className: "
|
|
13981
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(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)]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SelectValue, { placeholder: "All sessions" }) }),
|
|
13973
13982
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SelectContent, { children: [
|
|
13974
13983
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: "__all__", children: "All sessions" }),
|
|
13975
13984
|
sessionSelectValue === "__typed__" && /* @__PURE__ */ jsxRuntimeExports.jsxs(SelectItem, { value: "__typed__", children: [
|
|
@@ -13981,7 +13990,7 @@ function ProxyViewer({
|
|
|
13981
13990
|
] })
|
|
13982
13991
|
] }),
|
|
13983
13992
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Select, { value: selectedModel, onValueChange: onModelChange, children: [
|
|
13984
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectTrigger, { className: "
|
|
13993
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(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)]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SelectValue, { placeholder: "All models" }) }),
|
|
13985
13994
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SelectContent, { children: [
|
|
13986
13995
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: "__all__", children: "All models" }),
|
|
13987
13996
|
models.map((m) => /* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: m, children: m }, m))
|
|
@@ -13990,7 +13999,7 @@ function ProxyViewer({
|
|
|
13990
13999
|
] }) })
|
|
13991
14000
|
] }) }),
|
|
13992
14001
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("main", { className: "min-w-0", children: [
|
|
13993
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
14002
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("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", children: [
|
|
13994
14003
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
13995
14004
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "min-w-[180px] flex-1", children: [
|
|
13996
14005
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm font-semibold text-foreground", children: "Logs" }),
|
|
@@ -14013,7 +14022,7 @@ function ProxyViewer({
|
|
|
14013
14022
|
type: "button",
|
|
14014
14023
|
onClick: handleImportClick,
|
|
14015
14024
|
disabled: importing,
|
|
14016
|
-
className: "
|
|
14025
|
+
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",
|
|
14017
14026
|
title: "Import Agent Inspector export",
|
|
14018
14027
|
children: importing ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Importing..." }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
14019
14028
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Upload, { className: "size-3.5" }),
|
|
@@ -14030,7 +14039,7 @@ function ProxyViewer({
|
|
|
14030
14039
|
void handleExport("redacted");
|
|
14031
14040
|
},
|
|
14032
14041
|
disabled: exporting !== null,
|
|
14033
|
-
className: "
|
|
14042
|
+
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",
|
|
14034
14043
|
title: "Export redacted logs as JSON ZIP",
|
|
14035
14044
|
children: exporting === "redacted" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Exporting..." }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
14036
14045
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Download, { className: "size-3.5" }),
|
|
@@ -14046,7 +14055,7 @@ function ProxyViewer({
|
|
|
14046
14055
|
void handleExport("raw");
|
|
14047
14056
|
},
|
|
14048
14057
|
disabled: exporting !== null,
|
|
14049
|
-
className: "
|
|
14058
|
+
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",
|
|
14050
14059
|
title: "Export raw logs without redaction",
|
|
14051
14060
|
children: exporting === "raw" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Exporting..." }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
14052
14061
|
/* @__PURE__ */ jsxRuntimeExports.jsx(FileBraces, { className: "size-3.5" }),
|
|
@@ -14059,7 +14068,7 @@ function ProxyViewer({
|
|
|
14059
14068
|
{
|
|
14060
14069
|
type: "button",
|
|
14061
14070
|
onClick: onClearAll,
|
|
14062
|
-
className: "
|
|
14071
|
+
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",
|
|
14063
14072
|
title: "Clear all logs",
|
|
14064
14073
|
children: [
|
|
14065
14074
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Trash2, { className: "size-3.5" }),
|
|
@@ -14075,7 +14084,7 @@ function ProxyViewer({
|
|
|
14075
14084
|
] }),
|
|
14076
14085
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-4 py-4 lg:px-5", children: [
|
|
14077
14086
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SessionOpeningSlate, { stats: slateStats }),
|
|
14078
|
-
logs.length === 0 ? selectedSession !== "__all__" ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-16 text-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
14087
|
+
logs.length === 0 ? selectedSession !== "__all__" ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-16 text-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("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", children: [
|
|
14079
14088
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-medium", children: isLoading ? "Loading session data..." : "Session not found" }),
|
|
14080
14089
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "inline-block max-w-full rounded bg-muted px-3 py-1 font-mono text-xs break-all", children: truncateSessionId(selectedSession) }),
|
|
14081
14090
|
sessionMemberships.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-left", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SessionMembershipPanel, { memberships: sessionMemberships }) }),
|
|
@@ -14092,11 +14101,11 @@ function ProxyViewer({
|
|
|
14092
14101
|
}
|
|
14093
14102
|
)
|
|
14094
14103
|
] })
|
|
14095
|
-
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-16 text-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
14104
|
+
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-16 text-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("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", children: [
|
|
14096
14105
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm", children: "No requests captured yet." }),
|
|
14097
14106
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
14098
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(CopyableCommand, { command: "ANTHROPIC_BASE_URL=http://localhost:
|
|
14099
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(CopyableCommand, { command: "OPENAI_BASE_URL=http://localhost:
|
|
14107
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(CopyableCommand, { command: "ANTHROPIC_BASE_URL=http://localhost:9527/proxy <your-tool>" }),
|
|
14108
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(CopyableCommand, { command: "OPENAI_BASE_URL=http://localhost:9527/proxy <your-tool>" })
|
|
14100
14109
|
] }),
|
|
14101
14110
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mx-auto max-w-xl text-xs leading-relaxed text-muted-foreground", children: "Container note: if your AI tool runs in a different container or host than Agent Inspector, replace localhost with an address reachable from that tool and verify the network/firewall path." })
|
|
14102
14111
|
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -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-Cb4ZWwFC.mjs";
|
|
3
|
+
import { ResponseView } from "./ResponseView-DV1N1gQ8.mjs";
|
|
4
|
+
import { C as CapturedLogSchema } from "./router-BxWKty_9.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
7
7
|
import { af 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-Cb4ZWwFC.mjs";
|
|
3
|
+
import "./router-BxWKty_9.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-Cb4ZWwFC.mjs";
|
|
3
|
+
import { s as safeGetOwnProperty } from "./router-BxWKty_9.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, O as Brain, a as ChevronDown, h as ChevronRight, r 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-Cb4ZWwFC.mjs";
|
|
3
|
+
import "./router-BxWKty_9.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-Cb4ZWwFC.mjs";
|
|
2
2
|
import "../_libs/react.mjs";
|
|
3
|
-
import "./router-
|
|
3
|
+
import "./router-BxWKty_9.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-BvJ2LKGG.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-BxWKty_9.mjs").then((n) => n.N);
|
|
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-Cb4ZWwFC.mjs";
|
|
3
|
+
import "./router-BxWKty_9.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, ac as ChevronsDown } from "../_libs/lucide-react.mjs";
|
|
@@ -65,7 +65,7 @@ import "../_libs/immediate.mjs";
|
|
|
65
65
|
import "../_libs/setimmediate.mjs";
|
|
66
66
|
import "../_libs/pako.mjs";
|
|
67
67
|
const faviconSvg = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20role='img'%20aria-label='Agent%20Inspector'%3e%3cg%20fill='none'%20stroke='%23f59e0b'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M5%2013%20C5%209%208%207%2012%207%20C16%207%2019%209%2019%2013%20C19%2016%2016%2018%2012%2018%20C8%2018%205%2016%205%2013%20Z'%20/%3e%3cpath%20d='M5%2011%20C3.5%209.5%201.5%2010%202%2012.5%20C2.5%2014%204%2013.5%205%2012.5'%20/%3e%3cpath%20d='M19%2011%20C20.5%209.5%2022.5%2010%2022%2012.5%20C21.5%2014%2020%2013.5%2019%2012.5'%20/%3e%3cline%20x1='10'%20y1='7'%20x2='9.5'%20y2='5'%20/%3e%3cline%20x1='14'%20y1='7'%20x2='14.5'%20y2='5'%20/%3e%3cline%20x1='6.5'%20y1='16'%20x2='4.5'%20y2='19.5'%20/%3e%3cline%20x1='9'%20y1='17.5'%20x2='8'%20y2='20.5'%20/%3e%3cline%20x1='15'%20y1='17.5'%20x2='16'%20y2='20.5'%20/%3e%3cline%20x1='17.5'%20y1='16'%20x2='19.5'%20y2='19.5'%20/%3e%3c/g%3e%3ccircle%20cx='9.5'%20cy='4.5'%20r='0.9'%20fill='%23f59e0b'%20/%3e%3ccircle%20cx='14.5'%20cy='4.5'%20r='0.9'%20fill='%23f59e0b'%20/%3e%3c/svg%3e";
|
|
68
|
-
const appCss = "/assets/index-
|
|
68
|
+
const appCss = "/assets/index-Tq5s9NV0.css";
|
|
69
69
|
const Route$D = createRootRoute({
|
|
70
70
|
head: () => ({
|
|
71
71
|
meta: [
|
|
@@ -108,7 +108,7 @@ function RootDocument({ children }) {
|
|
|
108
108
|
] })
|
|
109
109
|
] });
|
|
110
110
|
}
|
|
111
|
-
const $$splitComponentImporter$1 = () => import("./index-
|
|
111
|
+
const $$splitComponentImporter$1 = () => import("./index-CztmjZ0i.mjs");
|
|
112
112
|
const Route$C = createFileRoute("/")({
|
|
113
113
|
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
114
114
|
});
|
|
@@ -151,7 +151,7 @@ function decodeSessionIdFromPath(encoded) {
|
|
|
151
151
|
function getSessionPath(sessionId) {
|
|
152
152
|
return `/session/${encodeSessionIdForPath(sessionId)}`;
|
|
153
153
|
}
|
|
154
|
-
const $$splitComponentImporter = () => import("../_sessionId-
|
|
154
|
+
const $$splitComponentImporter = () => import("../_sessionId-D1XraBbJ.mjs");
|
|
155
155
|
const Route$B = createFileRoute("/session/$sessionId")({
|
|
156
156
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
157
157
|
parseParams: (params) => ({
|
|
@@ -5603,7 +5603,7 @@ function getProxyPort() {
|
|
|
5603
5603
|
const parsed = parseInt(raw, 10);
|
|
5604
5604
|
if (Number.isInteger(parsed) && parsed > 0 && parsed <= 65535) return parsed;
|
|
5605
5605
|
}
|
|
5606
|
-
return
|
|
5606
|
+
return 9527;
|
|
5607
5607
|
}
|
|
5608
5608
|
function getRecentClientFromCache() {
|
|
5609
5609
|
if (recentCache === null) return null;
|
|
@@ -9116,7 +9116,7 @@ const Route$w = createFileRoute("/api/models")({
|
|
|
9116
9116
|
}
|
|
9117
9117
|
}
|
|
9118
9118
|
});
|
|
9119
|
-
const version = "
|
|
9119
|
+
const version = "3.0.0";
|
|
9120
9120
|
const packageJson = {
|
|
9121
9121
|
version
|
|
9122
9122
|
};
|
|
@@ -9129,6 +9129,11 @@ function setCurrentPort(port) {
|
|
|
9129
9129
|
}
|
|
9130
9130
|
function getCurrentPort() {
|
|
9131
9131
|
if (overridePort !== null) return overridePort;
|
|
9132
|
+
const publicPort = process.env["AGENT_INSPECTOR_PUBLIC_PORT"];
|
|
9133
|
+
if (publicPort !== void 0 && publicPort !== "") {
|
|
9134
|
+
const n = Number(publicPort);
|
|
9135
|
+
if (Number.isInteger(n) && n > 0 && n <= 65535) return n;
|
|
9136
|
+
}
|
|
9132
9137
|
const envPort = process.env["PORT"];
|
|
9133
9138
|
if (envPort !== void 0 && envPort !== "") {
|
|
9134
9139
|
const n = Number(envPort);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-
|
|
1
|
+
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-Do_fjInc.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-BJvPLWvO.js", "/assets/ProxyViewerContainer-vhfV449d.js"] }, "/api/alerts": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/alerts.ts", "children": ["/api/alerts/summary"] }, "/api/config": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.ts", "children": ["/api/config/paths"] }, "/api/groups": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.ts", "children": ["/api/groups/$groupId"] }, "/api/health": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/health.ts" }, "/api/logs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.ts", "children": ["/api/logs/$id", "/api/logs/import", "/api/logs/stream"] }, "/api/mcp": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/mcp.ts" }, "/api/models": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/models.ts" }, "/api/providers": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.ts", "children": ["/api/providers/$providerId", "/api/providers/export", "/api/providers/import", "/api/providers/scan"] }, "/api/runs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.ts", "children": ["/api/runs/$runId"] }, "/api/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/sessions.ts" }, "/proxy/$": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/proxy/$.ts" }, "/session/$sessionId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", "assets": [], "preloads": ["/assets/_sessionId-DeeeQcS9.js", "/assets/ProxyViewerContainer-vhfV449d.js"] }, "/api/alerts/summary": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/alerts.summary.ts" }, "/api/config/paths": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.paths.ts" }, "/api/groups/$groupId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.ts", "children": ["/api/groups/$groupId/evidence", "/api/groups/$groupId/sessions"] }, "/api/knowledge/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.ts", "children": ["/api/knowledge/candidates/$candidateId"] }, "/api/knowledge/project-context": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.project-context.ts" }, "/api/knowledge/search": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.search.ts" }, "/api/logs/$id": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.ts", "children": ["/api/logs/$id/body", "/api/logs/$id/chunks", "/api/logs/$id/replay"] }, "/api/logs/import": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.import.ts" }, "/api/logs/stream": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.stream.ts" }, "/api/providers/$providerId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.ts", "children": ["/api/providers/$providerId/model-metadata", "/api/providers/$providerId/test"] }, "/api/providers/export": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.export.ts" }, "/api/providers/import": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.import.ts" }, "/api/providers/scan": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.scan.ts" }, "/api/runs/$runId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.ts", "children": ["/api/runs/$runId/evidence"] }, "/api/groups/$groupId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.evidence.ts" }, "/api/groups/$groupId/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.sessions.ts" }, "/api/knowledge/candidates/$candidateId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.ts", "children": ["/api/knowledge/candidates/$candidateId/promote"] }, "/api/logs/$id/body": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.body.ts" }, "/api/logs/$id/chunks": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.chunks.ts" }, "/api/logs/$id/replay": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.replay.ts" }, "/api/providers/$providerId/model-metadata": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.model-metadata.ts" }, "/api/providers/$providerId/test": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.ts", "children": ["/api/providers/$providerId/test/log"] }, "/api/runs/$runId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.evidence.ts" }, "/api/knowledge/candidates/$candidateId/promote": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.promote.ts" }, "/api/knowledge/sessions/$sessionId/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.sessions.$sessionId.candidates.ts" }, "/api/providers/$providerId/test/log": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.log.ts" } }, "clientEntry": "/assets/main-Do_fjInc.js" });
|
|
2
2
|
export {
|
|
3
3
|
tsrStartManifest
|
|
4
4
|
};
|