@tonyclaw/agent-inspector 3.0.25 → 3.0.27
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-BnvOPwpe.js → CompareDrawer-BVCAAbbu.js} +1 -1
- package/.output/public/assets/ProxyViewerContainer-CYOXB81n.js +4234 -0
- package/.output/public/assets/{ReplayDialog-BJgoQWdW.js → ReplayDialog-DMX23O5G.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CpBZEHnM.js → RequestAnatomy-S17pYDRc.js} +1 -1
- package/.output/public/assets/{ResponseView-CWmyRb2M.js → ResponseView-Cf1XrawD.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-BWhC8bwx.js → StreamingChunkSequence-BdOrVlCi.js} +1 -1
- package/.output/public/assets/{_sessionId-Cq-2OqUU.js → _sessionId-BnKGmJrR.js} +1 -1
- package/.output/public/assets/{index-Cf8O0Oos.js → index-9fMLCU4d.js} +1 -1
- package/.output/public/assets/{index-BKi9IRtV.js → index-B1atk19i.js} +3 -3
- package/.output/public/assets/index-CmeF5XXS.css +1 -0
- package/.output/public/assets/{index-DdgTJ4QJ.js → index-gY3I-7-D.js} +1 -1
- package/.output/public/assets/{json-viewer-Bqu_4hmm.js → json-viewer-CpyYpPjx.js} +1 -1
- package/.output/server/_libs/lucide-react.mjs +6 -6
- package/.output/server/_libs/three.mjs +26016 -0
- package/.output/server/{_sessionId-Ba7H3Gjw.mjs → _sessionId-eA_h2_s6.mjs} +9 -6
- package/.output/server/_ssr/{CompareDrawer-aH59Ab6x.mjs → CompareDrawer-K2k9G7r1.mjs} +10 -7
- package/.output/server/_ssr/{ProxyViewerContainer-By-I0tJv.mjs → ProxyViewerContainer-CbyBpCAj.mjs} +804 -363
- package/.output/server/_ssr/{ReplayDialog-BO4Vy0et.mjs → ReplayDialog-DacI2Iv0.mjs} +10 -7
- package/.output/server/_ssr/{RequestAnatomy-FtOr7vSS.mjs → RequestAnatomy-gh-pAdkO.mjs} +9 -6
- package/.output/server/_ssr/{ResponseView-cvw6ajue.mjs → ResponseView-BRJKN50-.mjs} +10 -7
- package/.output/server/_ssr/{StreamingChunkSequence-Oc8S2kD6.mjs → StreamingChunkSequence-BQLVEuWY.mjs} +9 -6
- package/.output/server/_ssr/{index-BDRlQheR.mjs → index-DuSWrjbH.mjs} +9 -6
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-Cd6trhQr.mjs → json-viewer-DNs1ZjKI.mjs} +9 -6
- package/.output/server/_ssr/{router-bofP-Ekl.mjs → router-Dgx6-ot3.mjs} +713 -218
- package/.output/server/{_tanstack-start-manifest_v-BPuf86qB.mjs → _tanstack-start-manifest_v-CoGjnkQD.mjs} +1 -1
- package/.output/server/index.mjs +65 -65
- package/README.md +8 -0
- package/package.json +6 -5
- package/src/cli.ts +43 -9
- package/src/components/inspector-pet/InspectorPet.tsx +66 -51
- package/src/components/inspector-pet/InspectorPetCrab3D.tsx +455 -0
- package/src/components/inspector-pet/inspectorPetLogic.ts +28 -43
- package/src/components/providers/ProviderCard.tsx +3 -36
- package/src/components/providers/ProviderForm.tsx +251 -175
- package/src/components/providers/ProvidersPanel.tsx +18 -8
- package/src/components/providers/SettingsDialog.tsx +3 -3
- package/src/components/providers/providerFormCapabilities.ts +36 -0
- 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/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/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/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 +181 -0
- package/src/proxy/providers.ts +84 -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/styles/globals.css +0 -61
- package/.output/public/assets/ProxyViewerContainer-DcqFqo1m.js +0 -127
- package/.output/public/assets/index-BMYuDL5X.css +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports, r as reactExports } from "./_libs/react.mjs";
|
|
2
|
-
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-
|
|
3
|
-
import { R as Route$K } from "./_ssr/router-
|
|
2
|
+
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-CbyBpCAj.mjs";
|
|
3
|
+
import { R as Route$K } from "./_ssr/router-Dgx6-ot3.mjs";
|
|
4
4
|
import "./_libs/jszip.mjs";
|
|
5
|
+
import "./_libs/react-dom.mjs";
|
|
5
6
|
import "node:fs";
|
|
6
7
|
import "node:buffer";
|
|
7
8
|
import "node:path";
|
|
@@ -10,6 +11,7 @@ import "node:child_process";
|
|
|
10
11
|
import "node:url";
|
|
11
12
|
import "crypto";
|
|
12
13
|
import "node:util";
|
|
14
|
+
import "node:net";
|
|
13
15
|
import "./_libs/modelcontextprotocol__server.mjs";
|
|
14
16
|
import "node:os";
|
|
15
17
|
import "./_libs/swr.mjs";
|
|
@@ -19,12 +21,9 @@ import "./_libs/clsx.mjs";
|
|
|
19
21
|
import "./_libs/tailwind-merge.mjs";
|
|
20
22
|
import "./_libs/class-variance-authority.mjs";
|
|
21
23
|
import "./_libs/tanstack__react-virtual.mjs";
|
|
22
|
-
import "./_libs/react-dom.mjs";
|
|
23
|
-
import "util";
|
|
24
|
-
import "async_hooks";
|
|
25
|
-
import "stream";
|
|
26
24
|
import "./_libs/tanstack__virtual-core.mjs";
|
|
27
25
|
import "./_libs/diff.mjs";
|
|
26
|
+
import "./_libs/three.mjs";
|
|
28
27
|
import "./_libs/lucide-react.mjs";
|
|
29
28
|
import "./_libs/zod.mjs";
|
|
30
29
|
import "./_libs/radix-ui__react-select.mjs";
|
|
@@ -99,7 +98,11 @@ import "./_libs/debounce-fn.mjs";
|
|
|
99
98
|
import "./_libs/mimic-function.mjs";
|
|
100
99
|
import "./_libs/semver.mjs";
|
|
101
100
|
import "./_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
102
102
|
import "node:worker_threads";
|
|
103
|
+
import "util";
|
|
104
|
+
import "async_hooks";
|
|
105
|
+
import "stream";
|
|
103
106
|
import "./_libs/readable-stream.mjs";
|
|
104
107
|
import "events";
|
|
105
108
|
import "node:string_decoder";
|
|
@@ -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, b as copyTextToClipboard, L as LazyJsonViewerFromString } 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, b as copyTextToClipboard, L as LazyJsonViewerFromString } from "./ProxyViewerContainer-CbyBpCAj.mjs";
|
|
3
|
+
import "./router-Dgx6-ot3.mjs";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import "node:buffer";
|
|
6
6
|
import "node:path";
|
|
@@ -9,10 +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
|
-
import
|
|
16
|
+
import "../_libs/react-dom.mjs";
|
|
17
|
+
import { X, aF as Rows3, aG as Columns2, ae as Minus, g as Plus, a9 as Pencil, m as ChevronRight, aH as Equal, b as Check, j as Copy } from "../_libs/lucide-react.mjs";
|
|
16
18
|
import "../_libs/swr.mjs";
|
|
17
19
|
import "../_libs/use-sync-external-store.mjs";
|
|
18
20
|
import "../_libs/dequal.mjs";
|
|
@@ -20,12 +22,9 @@ import "../_libs/clsx.mjs";
|
|
|
20
22
|
import "../_libs/tailwind-merge.mjs";
|
|
21
23
|
import "../_libs/class-variance-authority.mjs";
|
|
22
24
|
import "../_libs/tanstack__react-virtual.mjs";
|
|
23
|
-
import "../_libs/react-dom.mjs";
|
|
24
|
-
import "util";
|
|
25
|
-
import "async_hooks";
|
|
26
|
-
import "stream";
|
|
27
25
|
import "../_libs/tanstack__virtual-core.mjs";
|
|
28
26
|
import "../_libs/diff.mjs";
|
|
27
|
+
import "../_libs/three.mjs";
|
|
29
28
|
import "../_libs/zod.mjs";
|
|
30
29
|
import "../_libs/radix-ui__react-select.mjs";
|
|
31
30
|
import "../_libs/radix-ui__number.mjs";
|
|
@@ -99,7 +98,11 @@ import "../_libs/debounce-fn.mjs";
|
|
|
99
98
|
import "../_libs/mimic-function.mjs";
|
|
100
99
|
import "../_libs/semver.mjs";
|
|
101
100
|
import "../_libs/uint8array-extras.mjs";
|
|
101
|
+
import "node:dns/promises";
|
|
102
102
|
import "node:worker_threads";
|
|
103
|
+
import "util";
|
|
104
|
+
import "async_hooks";
|
|
105
|
+
import "stream";
|
|
103
106
|
import "../_libs/readable-stream.mjs";
|
|
104
107
|
import "events";
|
|
105
108
|
import "node:string_decoder";
|