@tonyclaw/agent-inspector 2.0.33 → 2.0.35
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 +19 -1
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-ClTJxdoU.js → CompareDrawer-Cin0_f71.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer--Pes01q2.js → ProxyViewerContainer-BVlcRirf.js} +9 -9
- package/.output/public/assets/{ReplayDialog-iuzfh85b.js → ReplayDialog-C6nOMhjx.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-FZnnP9Gx.js → RequestAnatomy-DenWbdqV.js} +1 -1
- package/.output/public/assets/{ResponseView-MZ6ZWvbL.js → ResponseView-BsalZiZ5.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence-B8mZMdzs.js → StreamingChunkSequence-Cla2X13P.js} +1 -1
- package/.output/public/assets/_sessionId-DkhHqlzB.js +1 -0
- package/.output/public/assets/index-AiQY20d7.js +1 -0
- package/.output/public/assets/index-BfGJEb-2.css +1 -0
- package/.output/public/assets/{main-B797Hnge.js → main-eD8hEOHT.js} +2 -2
- package/.output/server/_libs/ajv.mjs +827 -6191
- package/.output/server/_libs/cookie-es.mjs +7 -21
- package/.output/server/_libs/h3-v2.mjs +18 -7
- package/.output/server/_libs/json-schema-traverse.mjs +1 -90
- package/.output/server/_libs/seroval-plugins.mjs +5 -5
- package/.output/server/_libs/seroval.mjs +606 -596
- package/.output/server/_libs/srvx.mjs +10 -5
- package/.output/server/_libs/tanstack__history.mjs +55 -38
- package/.output/server/_libs/tanstack__router-core.mjs +4366 -4075
- package/.output/server/{_sessionId-DD05qd8d.mjs → _sessionId-URSu2XsA.mjs} +4 -4
- package/.output/server/_ssr/{CompareDrawer-oGOG5-kQ.mjs → CompareDrawer-BbBPKdVc.mjs} +4 -4
- package/.output/server/_ssr/{ProxyViewerContainer-Bbl5tqT1.mjs → ProxyViewerContainer-DtQxtOpi.mjs} +15 -7
- package/.output/server/_ssr/{ReplayDialog-BegfwWIy.mjs → ReplayDialog-BU20cMGd.mjs} +5 -5
- package/.output/server/_ssr/{RequestAnatomy-BW_X2DyZ.mjs → RequestAnatomy-a5ySAAG1.mjs} +4 -4
- package/.output/server/_ssr/{ResponseView-Bx_uJ4RS.mjs → ResponseView-CA_QM1fM.mjs} +4 -4
- package/.output/server/_ssr/{StreamingChunkSequence-CQp5QQnB.mjs → StreamingChunkSequence-DJjITqM7.mjs} +4 -4
- package/.output/server/_ssr/{index-ODSKeDD8.mjs → index-DIFzLUAV.mjs} +4 -4
- package/.output/server/_ssr/index.mjs +20 -11
- package/.output/server/_ssr/{router-QcI4GOvo.mjs → router-aVeuM_1d.mjs} +5193 -5269
- package/.output/server/{_tanstack-start-manifest_v-dEujKJ3-.mjs → _tanstack-start-manifest_v-BNlafGbl.mjs} +1 -1
- package/.output/server/index.mjs +65 -65
- package/README.md +28 -0
- package/package.json +6 -2
- package/src/cli/templates/codex-skill-onboard.ts +19 -1
- package/src/components/providers/SettingsDialog.tsx +10 -0
- package/src/lib/groupContract.ts +0 -2
- package/src/lib/runContract.ts +0 -3
- package/src/mcp/server.ts +101 -164
- package/src/mcp/toolHandlers.ts +80 -177
- package/src/routes/api/groups.$groupId.evidence.ts +14 -33
- package/src/routes/api/groups.$groupId.sessions.ts +9 -9
- package/src/routes/api/groups.$groupId.ts +19 -13
- package/src/routes/api/groups.ts +3 -3
- package/src/routes/api/runs.$runId.evidence.ts +14 -21
- package/src/routes/api/runs.$runId.ts +9 -9
- package/src/routes/api/runs.ts +9 -5
- package/src/services/groups.ts +110 -0
- package/src/services/result.ts +17 -0
- package/src/services/runs.ts +76 -0
- package/.output/public/assets/_sessionId-Bc26Rfxs.js +0 -1
- package/.output/public/assets/index-C6AiRPsJ.js +0 -1
- package/.output/public/assets/index-C_8PFAm2.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./_libs/react.mjs";
|
|
2
|
-
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-
|
|
3
|
-
import { R as Route$x } from "./_ssr/router-
|
|
2
|
+
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import { R as Route$x } from "./_ssr/router-aVeuM_1d.mjs";
|
|
4
4
|
import "./_libs/jszip.mjs";
|
|
5
5
|
import "./_libs/modelcontextprotocol__server.mjs";
|
|
6
6
|
import "./_libs/swr.mjs";
|
|
@@ -119,10 +119,10 @@ import "./_libs/tanstack__react-router.mjs";
|
|
|
119
119
|
import "./_libs/tiny-warning.mjs";
|
|
120
120
|
import "./_libs/tanstack__router-core.mjs";
|
|
121
121
|
import "./_libs/cookie-es.mjs";
|
|
122
|
-
import "./_libs/tanstack__history.mjs";
|
|
123
|
-
import "./_libs/tiny-invariant.mjs";
|
|
124
122
|
import "./_libs/seroval.mjs";
|
|
125
123
|
import "./_libs/seroval-plugins.mjs";
|
|
124
|
+
import "./_libs/tanstack__history.mjs";
|
|
125
|
+
import "./_libs/tiny-invariant.mjs";
|
|
126
126
|
import "node:stream/web";
|
|
127
127
|
import "node:stream";
|
|
128
128
|
import "./_libs/isbot.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, J as JsonViewerFromString } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, J as JsonViewerFromString } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import "./router-aVeuM_1d.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { X, aa as Rows3, ab as Columns2, r as Minus, P as Plus, m as Pencil, l as ChevronRight, ac as Equal, C as Check, b as Copy } from "../_libs/lucide-react.mjs";
|
|
@@ -119,10 +119,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
119
119
|
import "../_libs/tiny-warning.mjs";
|
|
120
120
|
import "../_libs/tanstack__router-core.mjs";
|
|
121
121
|
import "../_libs/cookie-es.mjs";
|
|
122
|
-
import "../_libs/tanstack__history.mjs";
|
|
123
|
-
import "../_libs/tiny-invariant.mjs";
|
|
124
122
|
import "../_libs/seroval.mjs";
|
|
125
123
|
import "../_libs/seroval-plugins.mjs";
|
|
124
|
+
import "../_libs/tanstack__history.mjs";
|
|
125
|
+
import "../_libs/tiny-invariant.mjs";
|
|
126
126
|
import "node:stream/web";
|
|
127
127
|
import "node:stream";
|
|
128
128
|
import "../_libs/isbot.mjs";
|
package/.output/server/_ssr/{ProxyViewerContainer-Bbl5tqT1.mjs → ProxyViewerContainer-DtQxtOpi.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports, a as React } from "../_libs/react.mjs";
|
|
2
|
-
import { 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, v as packageJson, h as GroupEvidenceExportResultSchema, i as DeleteInspectorGroupResponseSchema, d as RuntimeConfigSchema, P as ProviderConfigSchema, r as requestFormatForPath, l as createPendingProviderTestResults, n as ProviderTestResultsSchema, o as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, q as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, m as maskApiKey, j as providerHasContextMetadata, k as findProviderModelMetadata, g as getSessionPath, p as parseOpenAIResponse, O as OpenAIRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, t as resolveProviderContextWindow, K as KnowledgeCandidateSchema, f as stripClaudeCodeBillingHeader, u as isPlainRecord, G as GroupEvidenceReadResponseSchema
|
|
2
|
+
import { 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, v as packageJson, h as GroupEvidenceExportResultSchema, i as DeleteInspectorGroupResponseSchema, d as RuntimeConfigSchema, P as ProviderConfigSchema, r as requestFormatForPath, l as createPendingProviderTestResults, n as ProviderTestResultsSchema, o as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, q as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, m as maskApiKey, j as providerHasContextMetadata, k as findProviderModelMetadata, g as getSessionPath, p as parseOpenAIResponse, O as OpenAIRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, t as resolveProviderContextWindow, K as KnowledgeCandidateSchema, f as stripClaudeCodeBillingHeader, u as isPlainRecord, G as GroupEvidenceReadResponseSchema, I as InspectorGroupsListResponseSchema } from "./router-aVeuM_1d.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";
|
|
@@ -1572,19 +1572,19 @@ function useCopyFeedback(text) {
|
|
|
1572
1572
|
return { copied, copy };
|
|
1573
1573
|
}
|
|
1574
1574
|
const LazyCompareDrawer = reactExports.lazy(
|
|
1575
|
-
() => import("./CompareDrawer-
|
|
1575
|
+
() => import("./CompareDrawer-BbBPKdVc.mjs").then((m) => ({ default: m.CompareDrawer }))
|
|
1576
1576
|
);
|
|
1577
1577
|
const LazyReplayDialog = reactExports.lazy(
|
|
1578
|
-
() => import("./ReplayDialog-
|
|
1578
|
+
() => import("./ReplayDialog-BU20cMGd.mjs").then((m) => ({ default: m.ReplayDialog }))
|
|
1579
1579
|
);
|
|
1580
1580
|
const LazyRequestAnatomy = reactExports.lazy(
|
|
1581
|
-
() => import("./RequestAnatomy-
|
|
1581
|
+
() => import("./RequestAnatomy-a5ySAAG1.mjs").then((m) => ({ default: m.RequestAnatomy }))
|
|
1582
1582
|
);
|
|
1583
1583
|
const LazyResponseView = reactExports.lazy(
|
|
1584
|
-
() => import("./ResponseView-
|
|
1584
|
+
() => import("./ResponseView-CA_QM1fM.mjs").then((m) => ({ default: m.ResponseView }))
|
|
1585
1585
|
);
|
|
1586
1586
|
const LazyStreamingChunkSequence = reactExports.lazy(
|
|
1587
|
-
() => import("./StreamingChunkSequence-
|
|
1587
|
+
() => import("./StreamingChunkSequence-DJjITqM7.mjs").then((m) => ({
|
|
1588
1588
|
default: m.StreamingChunkSequence
|
|
1589
1589
|
}))
|
|
1590
1590
|
);
|
|
@@ -5432,7 +5432,7 @@ function evidenceKey(group) {
|
|
|
5432
5432
|
return `/api/groups/${encodeURIComponent(group.id)}/evidence`;
|
|
5433
5433
|
}
|
|
5434
5434
|
function useGroupEvidence(group) {
|
|
5435
|
-
const response = useSWR(evidenceKey(group), (url) => fetchJson(url, GroupEvidenceReadResponseSchema
|
|
5435
|
+
const response = useSWR(evidenceKey(group), (url) => fetchJson(url, GroupEvidenceReadResponseSchema));
|
|
5436
5436
|
return {
|
|
5437
5437
|
evidenceResponse: response.data ?? null,
|
|
5438
5438
|
isLoading: response.isLoading,
|
|
@@ -8582,6 +8582,14 @@ function OnboardingSettingsTab() {
|
|
|
8582
8582
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-3.5 text-emerald-500" }),
|
|
8583
8583
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Captured sessions can produce reviewable memory candidates." })
|
|
8584
8584
|
] }),
|
|
8585
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
8586
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "mt-0.5 size-3.5 text-emerald-500" }),
|
|
8587
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
|
|
8588
|
+
"Streamable HTTP clients should use the MCP URL directly. Stdio-only clients should use",
|
|
8589
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: "mx-1 rounded bg-muted px-1 py-0.5 font-mono text-[11px] text-foreground", children: "agent-inspector-mcp stdio" }),
|
|
8590
|
+
"instead. Configure only one entry for the same Inspector."
|
|
8591
|
+
] })
|
|
8592
|
+
] }),
|
|
8585
8593
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
8586
8594
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "mt-0.5 size-3.5 text-emerald-500" }),
|
|
8587
8595
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "If your AI tool runs in another container or host, replace localhost with an address reachable from that tool and verify the network/firewall path." })
|
|
@@ -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, b as DialogContent, d as DialogHeader, e as DialogTitle, T as Tabs, h as TabsList, i as TabsTrigger, j as TabsContent, k as Button, l as TooltipProvider, m as Tooltip, n as TooltipTrigger, o as TooltipContent, p as dispatchLogFocusRequest } from "./ProxyViewerContainer-
|
|
3
|
-
import { ResponseView } from "./ResponseView-
|
|
4
|
-
import { C as CapturedLogSchema } from "./router-
|
|
2
|
+
import { u as useProviders, D as Dialog, b as DialogContent, d as DialogHeader, e as DialogTitle, T as Tabs, h as TabsList, i as TabsTrigger, j as TabsContent, k as Button, l as TooltipProvider, m as Tooltip, n as TooltipTrigger, o as TooltipContent, p as dispatchLogFocusRequest } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import { ResponseView } from "./ResponseView-CA_QM1fM.mjs";
|
|
4
|
+
import { C as CapturedLogSchema } from "./router-aVeuM_1d.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
7
7
|
import { Q as RotateCcw, ad as Braces, ae as Minimize2 } from "../_libs/lucide-react.mjs";
|
|
@@ -121,10 +121,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
121
121
|
import "../_libs/tiny-warning.mjs";
|
|
122
122
|
import "../_libs/tanstack__router-core.mjs";
|
|
123
123
|
import "../_libs/cookie-es.mjs";
|
|
124
|
-
import "../_libs/tanstack__history.mjs";
|
|
125
|
-
import "../_libs/tiny-invariant.mjs";
|
|
126
124
|
import "../_libs/seroval.mjs";
|
|
127
125
|
import "../_libs/seroval-plugins.mjs";
|
|
126
|
+
import "../_libs/tanstack__history.mjs";
|
|
127
|
+
import "../_libs/tiny-invariant.mjs";
|
|
128
128
|
import "node:stream/web";
|
|
129
129
|
import "node:stream";
|
|
130
130
|
import "../_libs/isbot.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, q as analyzeContextIntelligence, f as formatTokens, l as TooltipProvider, c as cn, m as Tooltip, n as TooltipTrigger, o as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, s as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { u as useProviders, q as analyzeContextIntelligence, f as formatTokens, l as TooltipProvider, c as cn, m as Tooltip, n as TooltipTrigger, o as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, s as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import "./router-aVeuM_1d.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { af as Info, c as ChevronDown, l as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
@@ -119,10 +119,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
119
119
|
import "../_libs/tiny-warning.mjs";
|
|
120
120
|
import "../_libs/tanstack__router-core.mjs";
|
|
121
121
|
import "../_libs/cookie-es.mjs";
|
|
122
|
-
import "../_libs/tanstack__history.mjs";
|
|
123
|
-
import "../_libs/tiny-invariant.mjs";
|
|
124
122
|
import "../_libs/seroval.mjs";
|
|
125
123
|
import "../_libs/seroval-plugins.mjs";
|
|
124
|
+
import "../_libs/tanstack__history.mjs";
|
|
125
|
+
import "../_libs/tiny-invariant.mjs";
|
|
126
126
|
import "node:stream/web";
|
|
127
127
|
import "node:stream";
|
|
128
128
|
import "../_libs/isbot.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, t as getStatusCategory, B as Badge, v as Collapsible, w as CollapsibleTrigger, x as CollapsibleContent, y as ScrollArea, z as JsonViewer, E as safeJsonValue } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, f as formatTokens, c as cn, t as getStatusCategory, B as Badge, v as Collapsible, w as CollapsibleTrigger, x as CollapsibleContent, y as ScrollArea, z as JsonViewer, E as safeJsonValue } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import "./router-aVeuM_1d.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { Z as Zap, q as TriangleAlert, ag as CircleStop, B as Brain, c as ChevronDown, l as ChevronRight, f as Terminal } from "../_libs/lucide-react.mjs";
|
|
@@ -67,10 +67,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
67
67
|
import "../_libs/tiny-warning.mjs";
|
|
68
68
|
import "../_libs/tanstack__router-core.mjs";
|
|
69
69
|
import "../_libs/cookie-es.mjs";
|
|
70
|
-
import "../_libs/tanstack__history.mjs";
|
|
71
|
-
import "../_libs/tiny-invariant.mjs";
|
|
72
70
|
import "../_libs/seroval.mjs";
|
|
73
71
|
import "../_libs/seroval-plugins.mjs";
|
|
72
|
+
import "../_libs/tanstack__history.mjs";
|
|
73
|
+
import "../_libs/tiny-invariant.mjs";
|
|
74
74
|
import "node:stream/web";
|
|
75
75
|
import "node:stream";
|
|
76
76
|
import "../_libs/isbot.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { l as TooltipProvider, m as Tooltip, n as TooltipTrigger, B as Badge, o as TooltipContent, z as JsonViewer } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { l as TooltipProvider, m as Tooltip, n as TooltipTrigger, B as Badge, o as TooltipContent, z as JsonViewer } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
3
|
+
import "./router-aVeuM_1d.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { c as ChevronDown, l as ChevronRight, a as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
@@ -119,10 +119,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
119
119
|
import "../_libs/tiny-warning.mjs";
|
|
120
120
|
import "../_libs/tanstack__router-core.mjs";
|
|
121
121
|
import "../_libs/cookie-es.mjs";
|
|
122
|
-
import "../_libs/tanstack__history.mjs";
|
|
123
|
-
import "../_libs/tiny-invariant.mjs";
|
|
124
122
|
import "../_libs/seroval.mjs";
|
|
125
123
|
import "../_libs/seroval-plugins.mjs";
|
|
124
|
+
import "../_libs/tanstack__history.mjs";
|
|
125
|
+
import "../_libs/tiny-invariant.mjs";
|
|
126
126
|
import "node:stream/web";
|
|
127
127
|
import "node:stream";
|
|
128
128
|
import "../_libs/isbot.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-
|
|
1
|
+
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-DtQxtOpi.mjs";
|
|
2
2
|
import "../_libs/react.mjs";
|
|
3
|
-
import "./router-
|
|
3
|
+
import "./router-aVeuM_1d.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/swr.mjs";
|
|
@@ -119,10 +119,10 @@ import "../_libs/tanstack__react-router.mjs";
|
|
|
119
119
|
import "../_libs/tiny-warning.mjs";
|
|
120
120
|
import "../_libs/tanstack__router-core.mjs";
|
|
121
121
|
import "../_libs/cookie-es.mjs";
|
|
122
|
-
import "../_libs/tanstack__history.mjs";
|
|
123
|
-
import "../_libs/tiny-invariant.mjs";
|
|
124
122
|
import "../_libs/seroval.mjs";
|
|
125
123
|
import "../_libs/seroval-plugins.mjs";
|
|
124
|
+
import "../_libs/tanstack__history.mjs";
|
|
125
|
+
import "../_libs/tiny-invariant.mjs";
|
|
126
126
|
import "node:stream/web";
|
|
127
127
|
import "node:stream";
|
|
128
128
|
import "../_libs/isbot.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as createMemoryHistory } from "../_libs/tanstack__history.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { o as rootRouteId, p as getNormalizedURL, q as getOrigin, u as attachRouterServerSsrUtils, v as defineHandlerCallback, w as createSerializationAdapter, x as createRawStreamRPCPlugin, y as isNotFound, z as isRedirect, A as isResolvedRedirect, C as mergeHeaders, D as executeRewriteInput, E as defaultSerovalPlugins, F as makeSerovalPlugin } from "../_libs/tanstack__router-core.mjs";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
4
|
import { H as H3Event, t as toResponse } from "../_libs/h3-v2.mjs";
|
|
5
|
-
import { i as
|
|
6
|
-
import { a as au, I as Iu, o as ou } from "../_libs/seroval.mjs";
|
|
5
|
+
import { i as iu, P as Pu, s as su } from "../_libs/seroval.mjs";
|
|
7
6
|
import { j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
8
7
|
import { r as renderRouterToStream, R as RouterProvider } from "../_libs/tanstack__react-router.mjs";
|
|
9
8
|
import "../_libs/cookie-es.mjs";
|
|
10
9
|
import "../_libs/seroval-plugins.mjs";
|
|
10
|
+
import "../_libs/tiny-invariant.mjs";
|
|
11
11
|
import "node:stream/web";
|
|
12
12
|
import "node:stream";
|
|
13
13
|
import "../_libs/rou3.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-BNlafGbl.mjs");
|
|
202
202
|
const startManifest = tsrStartManifest();
|
|
203
203
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes[rootRouteId] || {};
|
|
204
204
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -229,6 +229,15 @@ async function getStartManifest(matchedRoutes) {
|
|
|
229
229
|
injectedHeadScripts
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
+
var prefix = "Invariant failed";
|
|
233
|
+
function invariant(condition, message) {
|
|
234
|
+
if (condition) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
{
|
|
238
|
+
throw new Error(prefix);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
232
241
|
const textEncoder$1 = new TextEncoder();
|
|
233
242
|
const EMPTY_PAYLOAD = new Uint8Array(0);
|
|
234
243
|
function encodeFrame(type, streamId, payload) {
|
|
@@ -396,7 +405,7 @@ const handleServerAction = async ({
|
|
|
396
405
|
}
|
|
397
406
|
const contentType = request.headers.get("Content-Type");
|
|
398
407
|
function parsePayload(payload) {
|
|
399
|
-
const parsedPayload =
|
|
408
|
+
const parsedPayload = Pu(payload, { plugins: serovalPlugins });
|
|
400
409
|
return parsedPayload;
|
|
401
410
|
}
|
|
402
411
|
const response = await (async () => {
|
|
@@ -424,7 +433,7 @@ const handleServerAction = async ({
|
|
|
424
433
|
throw error;
|
|
425
434
|
}
|
|
426
435
|
};
|
|
427
|
-
|
|
436
|
+
iu(res2, {
|
|
428
437
|
refs: /* @__PURE__ */ new Map(),
|
|
429
438
|
plugins,
|
|
430
439
|
onParse(value) {
|
|
@@ -532,7 +541,7 @@ const handleServerAction = async ({
|
|
|
532
541
|
if (typeof serializedContext === "string") {
|
|
533
542
|
try {
|
|
534
543
|
const parsedContext = JSON.parse(serializedContext);
|
|
535
|
-
const deserializedContext =
|
|
544
|
+
const deserializedContext = Pu(parsedContext, {
|
|
536
545
|
plugins: serovalPlugins
|
|
537
546
|
});
|
|
538
547
|
if (typeof deserializedContext === "object" && deserializedContext) {
|
|
@@ -598,7 +607,7 @@ const handleServerAction = async ({
|
|
|
598
607
|
console.info();
|
|
599
608
|
const serializedError = JSON.stringify(
|
|
600
609
|
await Promise.resolve(
|
|
601
|
-
|
|
610
|
+
su(error, {
|
|
602
611
|
refs: /* @__PURE__ */ new Map(),
|
|
603
612
|
plugins: serovalPlugins
|
|
604
613
|
})
|
|
@@ -629,10 +638,10 @@ function isNotFoundResponse(error) {
|
|
|
629
638
|
}
|
|
630
639
|
function resolveTransformConfig(transform) {
|
|
631
640
|
if (typeof transform === "string") {
|
|
632
|
-
const
|
|
641
|
+
const prefix2 = transform;
|
|
633
642
|
return {
|
|
634
643
|
type: "transform",
|
|
635
|
-
transformFn: ({ url }) => `${
|
|
644
|
+
transformFn: ({ url }) => `${prefix2}${url}`,
|
|
636
645
|
cache: true
|
|
637
646
|
};
|
|
638
647
|
}
|
|
@@ -767,7 +776,7 @@ let entriesPromise;
|
|
|
767
776
|
let baseManifestPromise;
|
|
768
777
|
let cachedFinalManifestPromise;
|
|
769
778
|
async function loadEntries() {
|
|
770
|
-
const routerEntry = await import("./router-
|
|
779
|
+
const routerEntry = await import("./router-aVeuM_1d.mjs").then((n) => n.w);
|
|
771
780
|
const startEntry = await import("./start-HYkvq4Ni.mjs");
|
|
772
781
|
return { startEntry, routerEntry };
|
|
773
782
|
}
|