@tonyclaw/agent-inspector 3.0.26 → 3.0.28
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 +80 -11
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-SZRUDQc9.js → CompareDrawer-TghZr5t1.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-BJvwOrSi.js → ProxyViewerContainer-fShBAZjj.js} +201 -201
- package/.output/public/assets/{ReplayDialog-DgfmqiM3.js → ReplayDialog-CZMApaF4.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CS6c7Qfn.js → RequestAnatomy-DNWccR7O.js} +1 -1
- package/.output/public/assets/{ResponseView-C0Ri_5gm.js → ResponseView-d25MdFhY.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-7dYcHWyZ.js → StreamingChunkSequence-DIFZEnWe.js} +1 -1
- package/.output/public/assets/{_sessionId-D-V84cgw.js → _sessionId-DRfvuE2k.js} +1 -1
- package/.output/public/assets/{index-DgFWCxOs.js → index-B3aAuqWq.js} +1 -1
- package/.output/public/assets/index-BsxAGqMA.css +1 -0
- package/.output/public/assets/{index-DrVJsks2.js → index-D4HkS7Ct.js} +1 -1
- package/.output/public/assets/{index-CSIL7-MK.js → index-DzARL2Fi.js} +3 -3
- package/.output/public/assets/{json-viewer-C9Ji3gYN.js → json-viewer-wuJSKaed.js} +1 -1
- package/.output/server/_libs/lucide-react.mjs +39 -39
- package/.output/server/{_sessionId-BQ6YQOO1.mjs → _sessionId-BJTNiP_O.mjs} +4 -2
- package/.output/server/_ssr/{CompareDrawer-CqNzIeMR.mjs → CompareDrawer-BMRH3N97.mjs} +5 -3
- package/.output/server/_ssr/{ProxyViewerContainer-CMC7Vsbw.mjs → ProxyViewerContainer-AFwcHAIR.mjs} +330 -223
- package/.output/server/_ssr/{ReplayDialog-D9p_LaTr.mjs → ReplayDialog-CbWvRHiN.mjs} +6 -4
- package/.output/server/_ssr/{RequestAnatomy-B4ge3qNZ.mjs → RequestAnatomy-C4kcPyqN.mjs} +4 -2
- package/.output/server/_ssr/{ResponseView-BCqMKApI.mjs → ResponseView-D8VYt-gZ.mjs} +5 -3
- package/.output/server/_ssr/{StreamingChunkSequence-BA4zTLE4.mjs → StreamingChunkSequence-BUUo6vU0.mjs} +4 -2
- package/.output/server/_ssr/{index-CzxhDjlq.mjs → index-DTwMEEXO.mjs} +4 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-B3qV6iEJ.mjs → json-viewer-BqF1pSQD.mjs} +5 -3
- package/.output/server/_ssr/{router-CZe_R31M.mjs → router-C8BOns7y.mjs} +839 -368
- package/.output/server/{_tanstack-start-manifest_v-B50VTLrH.mjs → _tanstack-start-manifest_v-BBf2nRhb.mjs} +1 -1
- package/.output/server/index.mjs +70 -70
- package/README.md +8 -0
- package/package.json +4 -5
- package/src/cli.ts +43 -9
- package/src/components/ProxyViewer.tsx +57 -1
- package/src/components/clients/ClientLogo.tsx +43 -4
- package/src/components/inspector-pet/InspectorPet.tsx +0 -7
- package/src/components/providers/ProviderCard.tsx +3 -36
- package/src/components/providers/ProviderForm.tsx +13 -12
- package/src/components/providers/ProvidersPanel.tsx +2 -2
- package/src/components/providers/SettingsDialog.tsx +3 -3
- package/src/components/proxy-viewer/ConversationGroup.tsx +1 -1
- package/src/components/proxy-viewer/ConversationGroupList.tsx +233 -152
- package/src/components/proxy-viewer/ConversationHeader.tsx +29 -13
- package/src/components/proxy-viewer/ProviderLogoStack.tsx +0 -3
- package/src/contracts/anthropic.ts +0 -5
- package/src/contracts/index.ts +0 -4
- package/src/contracts/log.ts +0 -1
- package/src/contracts/openai.ts +0 -3
- package/src/knowledge/openclawClient.ts +22 -9
- package/src/knowledge/openclawGatewayClient.ts +20 -13
- package/src/lib/alertContract.ts +0 -3
- package/src/lib/ecosystemContract.ts +0 -3
- package/src/lib/export-logs.ts +1 -4
- package/src/lib/jsonFile.ts +46 -0
- package/src/lib/safeFetch.ts +100 -0
- package/src/lib/ssrfGuard.ts +133 -0
- package/src/lib/stopReason.ts +1 -4
- package/src/lib/unknown.ts +27 -0
- package/src/lib/useProviders.ts +1 -1
- package/src/mcp/mode.ts +3 -9
- package/src/mcp/server.ts +5 -14
- package/src/mcp/toolHandlers.ts +45 -54
- package/src/proxy/constants.ts +17 -0
- package/src/proxy/evidenceAnalysis.ts +116 -117
- package/src/proxy/formats/anthropic/handler.ts +5 -1
- package/src/proxy/formats/anthropic/schemas.ts +1 -7
- package/src/proxy/formats/index.ts +1 -1
- package/src/proxy/formats/openai/schemas.ts +0 -3
- package/src/proxy/formats/registry.ts +0 -3
- package/src/proxy/groupEvidenceExporter.ts +4 -8
- package/src/proxy/groupStore.ts +3 -10
- package/src/proxy/handler.ts +91 -12
- package/src/proxy/identityProxy.ts +74 -1
- package/src/proxy/logImporter.ts +82 -12
- package/src/proxy/logIndex.ts +1 -4
- package/src/proxy/providerSecretStore.ts +177 -0
- package/src/proxy/providers.ts +84 -11
- package/src/proxy/runFailures.ts +4 -10
- package/src/proxy/runStore.ts +4 -11
- package/src/proxy/schemas.ts +1 -8
- package/src/proxy/sqliteLogIndex.ts +0 -16
- package/src/proxy/store.ts +1 -5
- package/src/proxy/toolSchemaWarnings.ts +1 -9
- package/src/routes/api/logs.$id.replay.ts +17 -5
- package/src/routes/api/providers.$providerId.model-metadata.ts +11 -1
- package/src/routes/api/providers.$providerId.ts +18 -5
- package/src/routes/api/providers.ts +18 -7
- package/.output/public/assets/index-CmeF5XXS.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, d as fetchJsonWithTimeout, D as Dialog, e as DialogContent, h as DialogHeader, i as DialogTitle, T as Tabs, j as TabsList, k as TabsTrigger, l as TabsContent, m as Button, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, s as dispatchLogFocusRequest, A as ApiTimeoutError } from "./ProxyViewerContainer-
|
|
3
|
-
import { ResponseView } from "./ResponseView-
|
|
4
|
-
import { C as CapturedLogSchema } from "./router-
|
|
2
|
+
import { u as useProviders, d as fetchJsonWithTimeout, D as Dialog, e as DialogContent, h as DialogHeader, i as DialogTitle, T as Tabs, j as TabsList, k as TabsTrigger, l as TabsContent, m as Button, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, s as dispatchLogFocusRequest, A as ApiTimeoutError } from "./ProxyViewerContainer-AFwcHAIR.mjs";
|
|
3
|
+
import { ResponseView } from "./ResponseView-D8VYt-gZ.mjs";
|
|
4
|
+
import { C as CapturedLogSchema } from "./router-C8BOns7y.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/react-dom.mjs";
|
|
7
7
|
import "node:fs";
|
|
@@ -12,9 +12,10 @@ import "node:child_process";
|
|
|
12
12
|
import "node:url";
|
|
13
13
|
import "crypto";
|
|
14
14
|
import "node:util";
|
|
15
|
+
import "node:net";
|
|
15
16
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
16
17
|
import "node:os";
|
|
17
|
-
import {
|
|
18
|
+
import { ax as RotateCcw, aI as Braces, aJ as Minimize2 } from "../_libs/lucide-react.mjs";
|
|
18
19
|
import { o as object, n as number, e as array, d as boolean, b as string } from "../_libs/zod.mjs";
|
|
19
20
|
import "../_libs/swr.mjs";
|
|
20
21
|
import "../_libs/use-sync-external-store.mjs";
|
|
@@ -99,6 +100,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
99
100
|
import "../_libs/mimic-function.mjs";
|
|
100
101
|
import "../_libs/semver.mjs";
|
|
101
102
|
import "../_libs/uint8array-extras.mjs";
|
|
103
|
+
import "node:dns/promises";
|
|
102
104
|
import "node:worker_threads";
|
|
103
105
|
import "util";
|
|
104
106
|
import "async_hooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, t as analyzeContextIntelligence, f as formatTokens, n as TooltipProvider, c as cn, o as Tooltip, p as TooltipTrigger, q as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, v as ANATOMY_ROLE_LABELS, w as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { u as useProviders, t as analyzeContextIntelligence, f as formatTokens, n as TooltipProvider, c as cn, o as Tooltip, p as TooltipTrigger, q as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, v as ANATOMY_ROLE_LABELS, w as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-AFwcHAIR.mjs";
|
|
3
|
+
import "./router-C8BOns7y.mjs";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:buffer";
|
|
6
6
|
import "node:path";
|
|
@@ -9,6 +9,7 @@ import "node:child_process";
|
|
|
9
9
|
import "node:url";
|
|
10
10
|
import "crypto";
|
|
11
11
|
import "node:util";
|
|
12
|
+
import "node:net";
|
|
12
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
13
14
|
import "../_libs/jszip.mjs";
|
|
14
15
|
import "node:os";
|
|
@@ -97,6 +98,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
97
98
|
import "../_libs/mimic-function.mjs";
|
|
98
99
|
import "../_libs/semver.mjs";
|
|
99
100
|
import "../_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
100
102
|
import "node:worker_threads";
|
|
101
103
|
import "util";
|
|
102
104
|
import "async_hooks";
|
|
@@ -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, x as getStatusCategory, B as Badge, y as Collapsible, z as CollapsibleTrigger, E as CollapsibleContent, F as ScrollArea, G as LazyJsonViewer, H as safeJsonValue } from "./ProxyViewerContainer-
|
|
3
|
-
import { s as safeGetOwnProperty } from "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, f as formatTokens, c as cn, x as getStatusCategory, B as Badge, y as Collapsible, z as CollapsibleTrigger, E as CollapsibleContent, F as ScrollArea, G as LazyJsonViewer, H as safeJsonValue } from "./ProxyViewerContainer-AFwcHAIR.mjs";
|
|
3
|
+
import { s as safeGetOwnProperty } from "./router-C8BOns7y.mjs";
|
|
4
4
|
import "../_libs/jszip.mjs";
|
|
5
5
|
import "../_libs/react-dom.mjs";
|
|
6
6
|
import "node:fs";
|
|
@@ -11,9 +11,10 @@ import "node:child_process";
|
|
|
11
11
|
import "node:url";
|
|
12
12
|
import "crypto";
|
|
13
13
|
import "node:util";
|
|
14
|
+
import "node:net";
|
|
14
15
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
15
16
|
import "node:os";
|
|
16
|
-
import {
|
|
17
|
+
import { ac as Zap, T as TriangleAlert, aK as CircleStop, ae as Brain, a as ChevronDown, m as ChevronRight, z as Terminal } from "../_libs/lucide-react.mjs";
|
|
17
18
|
import { R as Root } from "../_libs/radix-ui__react-separator.mjs";
|
|
18
19
|
import "../_libs/swr.mjs";
|
|
19
20
|
import "../_libs/use-sync-external-store.mjs";
|
|
@@ -98,6 +99,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
98
99
|
import "../_libs/mimic-function.mjs";
|
|
99
100
|
import "../_libs/semver.mjs";
|
|
100
101
|
import "../_libs/uint8array-extras.mjs";
|
|
102
|
+
import "node:dns/promises";
|
|
101
103
|
import "node:worker_threads";
|
|
102
104
|
import "util";
|
|
103
105
|
import "async_hooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { d as fetchJsonWithTimeout, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, B as Badge, q as TooltipContent, G as LazyJsonViewer } from "./ProxyViewerContainer-
|
|
3
|
-
import { a3 as StreamingChunkSchema$1 } from "./router-
|
|
2
|
+
import { d as fetchJsonWithTimeout, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, B as Badge, q as TooltipContent, G as LazyJsonViewer } from "./ProxyViewerContainer-AFwcHAIR.mjs";
|
|
3
|
+
import { a3 as StreamingChunkSchema$1 } from "./router-C8BOns7y.mjs";
|
|
4
4
|
import "../_libs/jszip.mjs";
|
|
5
5
|
import "../_libs/react-dom.mjs";
|
|
6
6
|
import "node:fs";
|
|
@@ -11,6 +11,7 @@ import "node:child_process";
|
|
|
11
11
|
import "node:url";
|
|
12
12
|
import "crypto";
|
|
13
13
|
import "node:util";
|
|
14
|
+
import "node:net";
|
|
14
15
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
15
16
|
import "node:os";
|
|
16
17
|
import { a as ChevronDown, m as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
@@ -97,6 +98,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
97
98
|
import "../_libs/mimic-function.mjs";
|
|
98
99
|
import "../_libs/semver.mjs";
|
|
99
100
|
import "../_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
100
102
|
import "node:worker_threads";
|
|
101
103
|
import "util";
|
|
102
104
|
import "async_hooks";
|
|
@@ -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-AFwcHAIR.mjs";
|
|
3
|
+
import "./router-C8BOns7y.mjs";
|
|
4
4
|
import "../_libs/jszip.mjs";
|
|
5
5
|
import "../_libs/react-dom.mjs";
|
|
6
6
|
import "node:fs";
|
|
@@ -11,6 +11,7 @@ import "node:child_process";
|
|
|
11
11
|
import "node:url";
|
|
12
12
|
import "crypto";
|
|
13
13
|
import "node:util";
|
|
14
|
+
import "node:net";
|
|
14
15
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
15
16
|
import "node:os";
|
|
16
17
|
import "../_libs/swr.mjs";
|
|
@@ -97,6 +98,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
97
98
|
import "../_libs/mimic-function.mjs";
|
|
98
99
|
import "../_libs/semver.mjs";
|
|
99
100
|
import "../_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
100
102
|
import "node:worker_threads";
|
|
101
103
|
import "util";
|
|
102
104
|
import "async_hooks";
|
|
@@ -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-BBf2nRhb.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-C8BOns7y.mjs").then((n) => n.a4),
|
|
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 { I as parseJsonText, c as cn, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { I as parseJsonText, c as cn, n as TooltipProvider, o as Tooltip, p as TooltipTrigger, q as TooltipContent, b as copyTextToClipboard } from "./ProxyViewerContainer-AFwcHAIR.mjs";
|
|
3
|
+
import "./router-C8BOns7y.mjs";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:buffer";
|
|
6
6
|
import "node:path";
|
|
@@ -9,11 +9,12 @@ import "node:child_process";
|
|
|
9
9
|
import "node:url";
|
|
10
10
|
import "crypto";
|
|
11
11
|
import "node:util";
|
|
12
|
+
import "node:net";
|
|
12
13
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
13
14
|
import "../_libs/jszip.mjs";
|
|
14
15
|
import "node:os";
|
|
15
16
|
import "../_libs/react-dom.mjs";
|
|
16
|
-
import { b as Check, j as Copy, a as ChevronDown, m as ChevronRight,
|
|
17
|
+
import { b as Check, j as Copy, a as ChevronDown, m as ChevronRight, av as ChevronsDown } from "../_libs/lucide-react.mjs";
|
|
17
18
|
import "../_libs/swr.mjs";
|
|
18
19
|
import "../_libs/use-sync-external-store.mjs";
|
|
19
20
|
import "../_libs/dequal.mjs";
|
|
@@ -97,6 +98,7 @@ import "../_libs/debounce-fn.mjs";
|
|
|
97
98
|
import "../_libs/mimic-function.mjs";
|
|
98
99
|
import "../_libs/semver.mjs";
|
|
99
100
|
import "../_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
100
102
|
import "node:worker_threads";
|
|
101
103
|
import "util";
|
|
102
104
|
import "async_hooks";
|