@tonyclaw/agent-inspector 3.0.30 → 3.0.31
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-B6cXJohL.js → CompareDrawer-DB2KggLE.js} +1 -1
- package/.output/public/assets/{InspectorPet-mAzeGmEE.js → InspectorPet-CfwDw6kD.js} +1 -1
- package/.output/public/assets/ProxyViewerContainer-PcrO96_F.js +126 -0
- package/.output/public/assets/{ReplayDialog-DodiTL6E.js → ReplayDialog-3Pl7EKjp.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-B3IauToI.js → RequestAnatomy-BcPjcHLX.js} +1 -1
- package/.output/public/assets/ResponseView-DOx51wV3.js +2 -0
- package/.output/public/assets/{StreamingChunkSequence-vLDOVQM_.js → StreamingChunkSequence-LkYJWM1A.js} +1 -1
- package/.output/public/assets/{_sessionId-BFH4TOaI.js → _sessionId-BSg32vC6.js} +1 -1
- package/.output/public/assets/{_sessionId-Cj_HIFZx.js → _sessionId-C0CA68QV.js} +1 -1
- package/.output/public/assets/{index-Bmj2lcWE.js → index-BpBUqdAB.js} +1 -1
- package/.output/public/assets/{index-Ch7uqnCT.js → index-D93dCgAQ.js} +1 -1
- package/.output/public/assets/{index-ZlhqCrSg.js → index-FV5sxqx3.js} +1 -1
- package/.output/public/assets/{index-DkDdKvLl.js → index-VUsF4nhf.js} +3 -3
- package/.output/public/assets/index-hyQHZeQI.css +1 -0
- package/.output/public/assets/{json-viewer-BdrnVQu-.js → json-viewer-WctIbAh_.js} +1 -1
- package/.output/public/assets/{jszip.min-CS_nt_o1.js → jszip.min-DnSIoTix.js} +1 -1
- package/.output/server/_libs/lucide-react.mjs +55 -55
- package/.output/server/{_sessionId-C5S3pGZd.mjs → _sessionId-BHBK3VbF.mjs} +2 -2
- package/.output/server/{_sessionId-g6D69lKq.mjs → _sessionId-CyuJ6Kfl.mjs} +1 -1
- package/.output/server/_ssr/{CompareDrawer-CqUmGHal.mjs → CompareDrawer-27amlv_a.mjs} +3 -3
- package/.output/server/_ssr/{InspectorPet-DI0UJd01.mjs → InspectorPet-CQnGXfLs.mjs} +1 -1
- package/.output/server/_ssr/{ProxyViewerContainer-CvsUmbJ3.mjs → ProxyViewerContainer-DlAl0uF-.mjs} +426 -47
- package/.output/server/_ssr/{ReplayDialog-DS48dpFG.mjs → ReplayDialog-5m2jtlLa.mjs} +4 -4
- package/.output/server/_ssr/{RequestAnatomy-DxYVQU1C.mjs → RequestAnatomy--1WtQNY9.mjs} +3 -3
- package/.output/server/_ssr/{ResponseView-BLXW73eq.mjs → ResponseView-CgbqS8sr.mjs} +3 -14
- package/.output/server/_ssr/{StreamingChunkSequence-DD0iFuy0.mjs → StreamingChunkSequence-BwpnopWx.mjs} +3 -3
- package/.output/server/_ssr/{index-B10LIaK0.mjs → index-CNVi1TzT.mjs} +2 -2
- package/.output/server/_ssr/{index-RHVJnU2p.mjs → index-DMCjH_4V.mjs} +1 -1
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-LDu2XBaK.mjs → json-viewer-DNGN2uoe.mjs} +3 -3
- package/.output/server/_ssr/{router-GKvrwifJ.mjs → router-CgsqLnk5.mjs} +5382 -4524
- package/.output/server/{_tanstack-start-manifest_v-Df2n4mbT.mjs → _tanstack-start-manifest_v-BH5f_kWV.mjs} +1 -1
- package/.output/server/index.mjs +89 -89
- package/package.json +1 -1
- package/src/components/pi-agent/PiAgentPanel.tsx +205 -34
- package/src/components/pi-agent/piAgentChatLogic.ts +263 -0
- package/src/components/ui/transient-toast.tsx +6 -5
- package/src/lib/piAgentContract.ts +80 -0
- package/src/services/piAgent.ts +131 -102
- package/src/services/piAgentRetrieval.ts +1180 -0
- package/.output/public/assets/ProxyViewerContainer-CkFWv_Nm.js +0 -126
- package/.output/public/assets/ResponseView-Hn-5ordK.js +0 -3
- package/.output/public/assets/index-CgJj-HBC.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { x as formatTokens, m as cn,
|
|
3
|
-
import { u as useProviders, o as analyzeContextIntelligence, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, p as ANATOMY_ROLE_LABELS, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-
|
|
2
|
+
import { x as formatTokens, m as cn, X as formatContextWindowTokens } from "./router-CgsqLnk5.mjs";
|
|
3
|
+
import { u as useProviders, o as analyzeContextIntelligence, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, p as ANATOMY_ROLE_LABELS, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-DlAl0uF-.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -13,7 +13,7 @@ import "node:net";
|
|
|
13
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
14
14
|
import "../_libs/jszip.mjs";
|
|
15
15
|
import "node:os";
|
|
16
|
-
import { I as Info, c as ChevronDown,
|
|
16
|
+
import { I as Info, c as ChevronDown, u as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
17
17
|
import "../_libs/tanstack__react-router.mjs";
|
|
18
18
|
import "../_libs/tanstack__router-core.mjs";
|
|
19
19
|
import "../_libs/cookie-es.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { x as formatTokens, m as cn, z as getStatusCategory, s as safeGetOwnProperty } from "./router-
|
|
3
|
-
import { g as getLogFormatAdapter, B as Badge,
|
|
2
|
+
import { x as formatTokens, m as cn, z as getStatusCategory, s as safeGetOwnProperty } from "./router-CgsqLnk5.mjs";
|
|
3
|
+
import { g as getLogFormatAdapter, q as AnswerMarkdown, B as Badge, s as Collapsible, t as CollapsibleTrigger, v as CollapsibleContent, w as ScrollArea, x as LazyJsonViewer, y as safeJsonValue } from "./ProxyViewerContainer-DlAl0uF-.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -13,7 +13,7 @@ import "node:net";
|
|
|
13
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
14
14
|
import "../_libs/jszip.mjs";
|
|
15
15
|
import "node:os";
|
|
16
|
-
import {
|
|
16
|
+
import { ab as Zap, T as TriangleAlert, w as CircleStop, ad as Brain, c as ChevronDown, u as ChevronRight, m as Terminal } from "../_libs/lucide-react.mjs";
|
|
17
17
|
import { R as Root } from "../_libs/radix-ui__react-separator.mjs";
|
|
18
18
|
import "../_libs/tanstack__react-router.mjs";
|
|
19
19
|
import "../_libs/tanstack__router-core.mjs";
|
|
@@ -118,17 +118,6 @@ import "../_libs/@radix-ui/react-use-is-hydrated+[...].mjs";
|
|
|
118
118
|
import "../_libs/radix-ui__react-tooltip.mjs";
|
|
119
119
|
import "../_libs/radix-ui__react-collapsible.mjs";
|
|
120
120
|
import "../_libs/radix-ui__react-scroll-area.mjs";
|
|
121
|
-
const LazyReactMarkdown = reactExports.lazy(() => import("../_libs/react-markdown.mjs"));
|
|
122
|
-
const ANSWER_MARKDOWN_CLASS = "prose prose-sm dark:prose-invert max-w-none text-[13px] leading-[1.65] [&_pre]:bg-muted [&_pre]:text-foreground [&_code]:text-[0.8em] [&_p]:my-1 [&_p]:leading-[1.65] [&_ul]:my-1 [&_ol]:my-1 [&_li]:my-0.5 [&_li]:leading-[1.6]";
|
|
123
|
-
function AnswerMarkdown({ text }) {
|
|
124
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: ANSWER_MARKDOWN_CLASS, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
125
|
-
reactExports.Suspense,
|
|
126
|
-
{
|
|
127
|
-
fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs text-muted-foreground", children: "Loading Markdown..." }),
|
|
128
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(LazyReactMarkdown, { children: text })
|
|
129
|
-
}
|
|
130
|
-
) });
|
|
131
|
-
}
|
|
132
121
|
function Separator({
|
|
133
122
|
className,
|
|
134
123
|
orientation = "horizontal",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { f as fetchJsonWithTimeout, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, B as Badge, m as TooltipContent,
|
|
3
|
-
import {
|
|
2
|
+
import { f as fetchJsonWithTimeout, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, B as Badge, m as TooltipContent, x as LazyJsonViewer } from "./ProxyViewerContainer-DlAl0uF-.mjs";
|
|
3
|
+
import { ag as StreamingChunkSchema$1 } from "./router-CgsqLnk5.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -13,7 +13,7 @@ import "node:net";
|
|
|
13
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
14
14
|
import "../_libs/jszip.mjs";
|
|
15
15
|
import "node:os";
|
|
16
|
-
import { c as ChevronDown,
|
|
16
|
+
import { c as ChevronDown, u as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
17
17
|
import { o as object, d as boolean, e as array } from "../_libs/zod.mjs";
|
|
18
18
|
import "../_libs/swr.mjs";
|
|
19
19
|
import "../_libs/use-sync-external-store.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-DlAl0uF-.mjs";
|
|
3
|
+
import "./router-CgsqLnk5.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -85,7 +85,7 @@ function getResponse() {
|
|
|
85
85
|
}
|
|
86
86
|
var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
|
|
87
87
|
async function getStartManifest(matchedRoutes) {
|
|
88
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
88
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-BH5f_kWV.mjs");
|
|
89
89
|
const startManifest = tsrStartManifest();
|
|
90
90
|
let routes = startManifest.routes;
|
|
91
91
|
routes[rootRouteId];
|
|
@@ -1162,7 +1162,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
1162
1162
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
1163
1163
|
async function loadEntries() {
|
|
1164
1164
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
1165
|
-
import("./router-
|
|
1165
|
+
import("./router-CgsqLnk5.mjs").then((n) => n.ah),
|
|
1166
1166
|
import("./start-HYkvq4Ni.mjs"),
|
|
1167
1167
|
import("./empty-plugin-adapters-BFgPZ6_d.mjs")
|
|
1168
1168
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { m as cn, y as copyTextToClipboard } from "./router-
|
|
3
|
-
import {
|
|
2
|
+
import { m as cn, y as copyTextToClipboard } from "./router-CgsqLnk5.mjs";
|
|
3
|
+
import { z as parseJsonText, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent } from "./ProxyViewerContainer-DlAl0uF-.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -13,7 +13,7 @@ import "node:net";
|
|
|
13
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
14
14
|
import "../_libs/jszip.mjs";
|
|
15
15
|
import "node:os";
|
|
16
|
-
import { d as Check, l as Copy, c as ChevronDown,
|
|
16
|
+
import { d as Check, l as Copy, c as ChevronDown, u as ChevronRight, au as ChevronsDown } from "../_libs/lucide-react.mjs";
|
|
17
17
|
import "../_libs/tanstack__react-router.mjs";
|
|
18
18
|
import "../_libs/tanstack__router-core.mjs";
|
|
19
19
|
import "../_libs/cookie-es.mjs";
|