@tonyclaw/agent-inspector 3.0.28 → 3.0.30
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 +791 -191
- package/.output/nitro.json +1 -1
- package/.output/public/assets/CompareDrawer-B6cXJohL.js +1 -0
- package/.output/public/assets/InspectorPet-mAzeGmEE.js +4108 -0
- package/.output/public/assets/ProxyViewerContainer-CkFWv_Nm.js +126 -0
- package/.output/public/assets/{ReplayDialog-CZMApaF4.js → ReplayDialog-DodiTL6E.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-DNWccR7O.js → RequestAnatomy-B3IauToI.js} +1 -1
- package/.output/public/assets/ResponseView-Hn-5ordK.js +3 -0
- package/.output/public/assets/StreamingChunkSequence-vLDOVQM_.js +1 -0
- package/.output/public/assets/_sessionId-BFH4TOaI.js +1 -0
- package/.output/public/assets/{_sessionId-DRfvuE2k.js → _sessionId-Cj_HIFZx.js} +1 -1
- package/.output/public/assets/{index-D4HkS7Ct.js → index-Bmj2lcWE.js} +1 -1
- package/.output/public/assets/index-CgJj-HBC.css +1 -0
- package/.output/public/assets/index-Ch7uqnCT.js +1 -0
- package/.output/public/assets/index-DkDdKvLl.js +76 -0
- package/.output/public/assets/{index-B3aAuqWq.js → index-ZlhqCrSg.js} +6 -6
- package/.output/public/assets/{json-viewer-wuJSKaed.js → json-viewer-BdrnVQu-.js} +1 -1
- package/.output/public/assets/jszip.min-CS_nt_o1.js +2 -0
- package/.output/public/assets/qwen-mMn3f5ul.webp +0 -0
- package/.output/server/_libs/jszip.mjs +35 -9
- package/.output/server/_libs/lucide-react.mjs +86 -86
- package/.output/server/_libs/radix-ui__react-dialog.mjs +3 -3
- package/.output/server/_libs/tanstack__react-router.mjs +1 -1
- package/.output/server/{_sessionId-BJTNiP_O.mjs → _sessionId-C5S3pGZd.mjs} +15 -15
- package/.output/server/_sessionId-g6D69lKq.mjs +81 -0
- package/.output/server/_ssr/{CompareDrawer-BMRH3N97.mjs → CompareDrawer-CqUmGHal.mjs} +138 -103
- package/.output/server/_ssr/InspectorPet-DI0UJd01.mjs +925 -0
- package/.output/server/_ssr/{ProxyViewerContainer-AFwcHAIR.mjs → ProxyViewerContainer-CvsUmbJ3.mjs} +1216 -1659
- package/.output/server/_ssr/{ReplayDialog-CbWvRHiN.mjs → ReplayDialog-DS48dpFG.mjs} +18 -18
- package/.output/server/_ssr/{RequestAnatomy-C4kcPyqN.mjs → RequestAnatomy-DxYVQU1C.mjs} +58 -58
- package/.output/server/_ssr/{ResponseView-D8VYt-gZ.mjs → ResponseView-BLXW73eq.mjs} +60 -60
- package/.output/server/_ssr/{StreamingChunkSequence-BUUo6vU0.mjs → StreamingChunkSequence-DD0iFuy0.mjs} +16 -16
- package/.output/server/_ssr/{index-DTwMEEXO.mjs → index-B10LIaK0.mjs} +15 -15
- package/.output/server/_ssr/index-RHVJnU2p.mjs +81 -0
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-BqF1pSQD.mjs → json-viewer-LDu2XBaK.mjs} +58 -58
- package/.output/server/_ssr/{router-C8BOns7y.mjs → router-GKvrwifJ.mjs} +9005 -6488
- package/.output/server/_tanstack-start-manifest_v-Df2n4mbT.mjs +4 -0
- package/.output/server/index.mjs +105 -77
- package/.output/workers/logFinalizer.worker.js +16908 -0
- package/.output/workers/sessionWorkerEntry.js +16904 -0
- package/README.md +21 -5
- package/package.json +6 -2
- package/src/assets/logos/qwen.webp +0 -0
- package/src/cli.ts +85 -10
- package/src/components/OnboardingBanner.tsx +41 -21
- package/src/components/ProxyViewer.tsx +198 -269
- package/src/components/ProxyViewerContainer.tsx +128 -17
- package/src/components/clients/ClientLogo.tsx +9 -6
- package/src/components/ecosystem/AgentLabDialog.tsx +166 -19
- package/src/components/errors/SafeErrorBoundary.tsx +201 -0
- package/src/components/pi-agent/PiAgentPanel.tsx +4 -1
- package/src/components/providers/ImportWizardDialog.tsx +18 -42
- package/src/components/providers/ProviderLogo.tsx +1 -1
- package/src/components/providers/ProvidersPanel.tsx +8 -5
- package/src/components/providers/SettingsDialog.tsx +34 -11
- package/src/components/proxy-viewer/ApplicationBar.tsx +63 -0
- package/src/components/proxy-viewer/CompareDrawer.tsx +92 -49
- package/src/components/proxy-viewer/ConversationGroupList.tsx +49 -34
- package/src/components/proxy-viewer/ConversationHeader.tsx +22 -18
- package/src/components/proxy-viewer/LiveConnectionStatus.tsx +186 -0
- package/src/components/proxy-viewer/LogEntry.tsx +283 -275
- package/src/components/proxy-viewer/RawExportWarning.tsx +77 -0
- package/src/components/proxy-viewer/SessionLoadProgressBar.tsx +61 -0
- package/src/components/proxy-viewer/ThreadConnector.tsx +16 -1
- package/src/components/proxy-viewer/TurnGroup.tsx +13 -2
- package/src/components/proxy-viewer/accessibility.ts +8 -0
- package/src/components/proxy-viewer/lazy.ts +4 -0
- package/src/components/proxy-viewer/liveConnectionState.ts +158 -0
- package/src/components/proxy-viewer/proxyViewerLogic.ts +10 -0
- package/src/components/proxy-viewer/viewerState.ts +2 -6
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/tabs.tsx +3 -3
- package/src/components/ui/transient-toast.tsx +1 -1
- package/src/lib/apiClient.ts +17 -2
- package/src/lib/ecosystemContract.ts +34 -0
- package/src/lib/export-logs.ts +1 -1
- package/src/lib/providerContract.ts +70 -4
- package/src/lib/providerImportContract.ts +27 -0
- package/src/lib/providerModelMetadata.ts +16 -7
- package/src/lib/resourceLimits.ts +152 -0
- package/src/lib/safeDiagnostic.ts +38 -0
- package/src/lib/useProviders.ts +4 -4
- package/src/lib/utils.ts +5 -1
- package/src/mcp/server.ts +39 -6
- package/src/mcp/toolHandlers.ts +131 -4
- package/src/proxy/chunkStorage.ts +20 -6
- package/src/proxy/config.ts +20 -6
- package/src/proxy/dataDir.ts +3 -0
- package/src/proxy/ecosystemExecutionConfirmation.ts +114 -0
- package/src/proxy/ecosystemExecutionRoute.ts +116 -0
- package/src/proxy/ecosystemTasks.ts +48 -0
- package/src/proxy/evidenceExporter.ts +23 -9
- package/src/proxy/groupEvidenceExporter.ts +26 -5
- package/src/proxy/groupStore.ts +13 -3
- package/src/proxy/handler.ts +103 -20
- package/src/proxy/identityProxy.ts +333 -14
- package/src/proxy/logFinalizer.ts +73 -6
- package/src/proxy/logImportUpload.ts +128 -0
- package/src/proxy/logImporter.ts +321 -70
- package/src/proxy/logIndex.ts +16 -6
- package/src/proxy/logger.ts +294 -41
- package/src/proxy/privateDataPath.ts +183 -0
- package/src/proxy/providerScanStore.ts +87 -0
- package/src/proxy/providerSecretStore.ts +58 -19
- package/src/proxy/providers.ts +175 -58
- package/src/proxy/rawStreamCapture.ts +66 -5
- package/src/proxy/runStore.ts +13 -3
- package/src/proxy/runtimeAdmission.ts +52 -0
- package/src/proxy/runtimeHealth.ts +206 -0
- package/src/proxy/runtimeShutdown.ts +75 -0
- package/src/proxy/sessionArchive.ts +15 -2
- package/src/proxy/sessionProcess.ts +19 -0
- package/src/proxy/sessionRuntime.ts +7 -0
- package/src/proxy/shutdownCoordinator.ts +90 -0
- package/src/proxy/sqliteLogIndex.ts +18 -2
- package/src/proxy/store.ts +18 -2
- package/src/routes/__root.tsx +18 -1
- package/src/routes/api/alerts.summary.ts +12 -8
- package/src/routes/api/alerts.ts +27 -9
- package/src/routes/api/ecosystem.packages.$packageId.help.ts +3 -8
- package/src/routes/api/ecosystem.packages.$packageId.install.ts +3 -8
- package/src/routes/api/ecosystem.packages.$packageId.runner-presets.ts +3 -11
- package/src/routes/api/ecosystem.packages.$packageId.upgrade.ts +3 -8
- package/src/routes/api/ecosystem.recipes.$recipeId.run.ts +3 -8
- package/src/routes/api/health.ts +9 -2
- package/src/routes/api/knowledge.project-context.ts +11 -0
- package/src/routes/api/knowledge.search.ts +33 -2
- package/src/routes/api/logs.$id.body.ts +16 -2
- package/src/routes/api/logs.import.ts +7 -18
- package/src/routes/api/logs.stream.ts +147 -69
- package/src/routes/api/logs.ts +55 -14
- package/src/routes/api/providers.$providerId.model-metadata.ts +22 -4
- package/src/routes/api/providers.$providerId.ts +37 -6
- package/src/routes/api/providers.export.ts +34 -16
- package/src/routes/api/providers.import.ts +42 -8
- package/src/routes/api/providers.scan.ts +13 -8
- package/src/routes/api/providers.ts +36 -5
- package/src/routes/api/runs.ts +12 -12
- package/src/routes/api/sessions.ts +15 -8
- package/src/routes/index.tsx +6 -0
- package/src/routes/livez.ts +13 -0
- package/src/routes/readyz.ts +18 -0
- package/src/routes/session/$sessionId.tsx +6 -0
- package/styles/globals.css +19 -3
- package/.output/public/assets/CompareDrawer-TghZr5t1.js +0 -1
- package/.output/public/assets/ProxyViewerContainer-fShBAZjj.js +0 -4234
- package/.output/public/assets/ResponseView-d25MdFhY.js +0 -3
- package/.output/public/assets/StreamingChunkSequence-DIFZEnWe.js +0 -1
- package/.output/public/assets/index-BsxAGqMA.css +0 -1
- package/.output/public/assets/index-DzARL2Fi.js +0 -76
- package/.output/public/assets/qwen-CONDcHqt.png +0 -0
- package/.output/server/_tanstack-start-manifest_v-BBf2nRhb.mjs +0 -4
- package/src/assets/logos/mcp.png +0 -0
- package/src/assets/logos/qwen.png +0 -0
- package/src/components/ui/mcp-logo.tsx +0 -20
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import "node:fs";
|
|
5
|
-
import "node:buffer";
|
|
6
|
-
import "node:path";
|
|
2
|
+
import { m as cn, y as copyTextToClipboard } from "./router-GKvrwifJ.mjs";
|
|
3
|
+
import { y as parseJsonText, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent } from "./ProxyViewerContainer-CvsUmbJ3.mjs";
|
|
7
4
|
import "node:crypto";
|
|
5
|
+
import "node:path";
|
|
6
|
+
import "node:fs";
|
|
8
7
|
import "node:child_process";
|
|
8
|
+
import "node:buffer";
|
|
9
9
|
import "node:url";
|
|
10
10
|
import "crypto";
|
|
11
11
|
import "node:util";
|
|
@@ -13,19 +13,68 @@ 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, t as ChevronRight, at as ChevronsDown } from "../_libs/lucide-react.mjs";
|
|
17
|
+
import "../_libs/tanstack__react-router.mjs";
|
|
18
|
+
import "../_libs/tanstack__router-core.mjs";
|
|
19
|
+
import "../_libs/cookie-es.mjs";
|
|
20
|
+
import "../_libs/seroval.mjs";
|
|
21
|
+
import "../_libs/seroval-plugins.mjs";
|
|
22
|
+
import "node:stream";
|
|
23
|
+
import "../_libs/tanstack__history.mjs";
|
|
24
|
+
import "node:stream/web";
|
|
16
25
|
import "../_libs/react-dom.mjs";
|
|
17
|
-
import
|
|
26
|
+
import "util";
|
|
27
|
+
import "async_hooks";
|
|
28
|
+
import "stream";
|
|
29
|
+
import "../_libs/isbot.mjs";
|
|
18
30
|
import "../_libs/swr.mjs";
|
|
19
31
|
import "../_libs/use-sync-external-store.mjs";
|
|
20
32
|
import "../_libs/dequal.mjs";
|
|
33
|
+
import "../_libs/class-variance-authority.mjs";
|
|
21
34
|
import "../_libs/clsx.mjs";
|
|
22
35
|
import "../_libs/tailwind-merge.mjs";
|
|
23
|
-
import "
|
|
36
|
+
import "node:fs/promises";
|
|
37
|
+
import "node:worker_threads";
|
|
38
|
+
import "node:readline";
|
|
39
|
+
import "../_libs/conf.mjs";
|
|
40
|
+
import "node:process";
|
|
41
|
+
import "node:assert";
|
|
42
|
+
import "../_libs/dot-prop.mjs";
|
|
43
|
+
import "../_libs/env-paths.mjs";
|
|
44
|
+
import "../_libs/atomically.mjs";
|
|
45
|
+
import "node:events";
|
|
46
|
+
import "../_libs/stubborn-fs.mjs";
|
|
47
|
+
import "../_libs/stubborn-utils.mjs";
|
|
48
|
+
import "../_libs/when-exit.mjs";
|
|
49
|
+
import "../_libs/ajv.mjs";
|
|
50
|
+
import "../_libs/fast-deep-equal.mjs";
|
|
51
|
+
import "../_libs/json-schema-traverse.mjs";
|
|
52
|
+
import "../_libs/fast-uri.mjs";
|
|
53
|
+
import "../_libs/ajv-formats.mjs";
|
|
54
|
+
import "../_libs/debounce-fn.mjs";
|
|
55
|
+
import "../_libs/mimic-function.mjs";
|
|
56
|
+
import "../_libs/semver.mjs";
|
|
57
|
+
import "../_libs/uint8array-extras.mjs";
|
|
58
|
+
import "node:dns/promises";
|
|
59
|
+
import "node:assert/strict";
|
|
60
|
+
import "../_libs/zod.mjs";
|
|
61
|
+
import "../_libs/readable-stream.mjs";
|
|
62
|
+
import "events";
|
|
63
|
+
import "node:string_decoder";
|
|
64
|
+
import "../_libs/process-nextick-args.mjs";
|
|
65
|
+
import "../_libs/isarray.mjs";
|
|
66
|
+
import "../_libs/safe-buffer.mjs";
|
|
67
|
+
import "buffer";
|
|
68
|
+
import "../_libs/core-util-is.mjs";
|
|
69
|
+
import "../_libs/inherits.mjs";
|
|
70
|
+
import "../_libs/util-deprecate.mjs";
|
|
71
|
+
import "../_libs/lie.mjs";
|
|
72
|
+
import "../_libs/immediate.mjs";
|
|
73
|
+
import "../_libs/setimmediate.mjs";
|
|
74
|
+
import "../_libs/pako.mjs";
|
|
24
75
|
import "../_libs/tanstack__react-virtual.mjs";
|
|
25
76
|
import "../_libs/tanstack__virtual-core.mjs";
|
|
26
77
|
import "../_libs/diff.mjs";
|
|
27
|
-
import "../_libs/three.mjs";
|
|
28
|
-
import "../_libs/zod.mjs";
|
|
29
78
|
import "../_libs/radix-ui__react-select.mjs";
|
|
30
79
|
import "../_libs/radix-ui__number.mjs";
|
|
31
80
|
import "../_libs/radix-ui__primitive.mjs";
|
|
@@ -68,55 +117,6 @@ import "../_libs/@radix-ui/react-use-is-hydrated+[...].mjs";
|
|
|
68
117
|
import "../_libs/radix-ui__react-tooltip.mjs";
|
|
69
118
|
import "../_libs/radix-ui__react-collapsible.mjs";
|
|
70
119
|
import "../_libs/radix-ui__react-scroll-area.mjs";
|
|
71
|
-
import "../_libs/tanstack__react-router.mjs";
|
|
72
|
-
import "../_libs/tanstack__router-core.mjs";
|
|
73
|
-
import "../_libs/cookie-es.mjs";
|
|
74
|
-
import "../_libs/seroval.mjs";
|
|
75
|
-
import "../_libs/seroval-plugins.mjs";
|
|
76
|
-
import "node:stream";
|
|
77
|
-
import "../_libs/tanstack__history.mjs";
|
|
78
|
-
import "node:stream/web";
|
|
79
|
-
import "../_libs/isbot.mjs";
|
|
80
|
-
import "node:fs/promises";
|
|
81
|
-
import "node:readline";
|
|
82
|
-
import "../_libs/conf.mjs";
|
|
83
|
-
import "node:process";
|
|
84
|
-
import "node:assert";
|
|
85
|
-
import "../_libs/dot-prop.mjs";
|
|
86
|
-
import "../_libs/env-paths.mjs";
|
|
87
|
-
import "../_libs/atomically.mjs";
|
|
88
|
-
import "node:events";
|
|
89
|
-
import "../_libs/stubborn-fs.mjs";
|
|
90
|
-
import "../_libs/stubborn-utils.mjs";
|
|
91
|
-
import "../_libs/when-exit.mjs";
|
|
92
|
-
import "../_libs/ajv.mjs";
|
|
93
|
-
import "../_libs/fast-deep-equal.mjs";
|
|
94
|
-
import "../_libs/json-schema-traverse.mjs";
|
|
95
|
-
import "../_libs/fast-uri.mjs";
|
|
96
|
-
import "../_libs/ajv-formats.mjs";
|
|
97
|
-
import "../_libs/debounce-fn.mjs";
|
|
98
|
-
import "../_libs/mimic-function.mjs";
|
|
99
|
-
import "../_libs/semver.mjs";
|
|
100
|
-
import "../_libs/uint8array-extras.mjs";
|
|
101
|
-
import "node:dns/promises";
|
|
102
|
-
import "node:worker_threads";
|
|
103
|
-
import "util";
|
|
104
|
-
import "async_hooks";
|
|
105
|
-
import "stream";
|
|
106
|
-
import "../_libs/readable-stream.mjs";
|
|
107
|
-
import "events";
|
|
108
|
-
import "node:string_decoder";
|
|
109
|
-
import "../_libs/process-nextick-args.mjs";
|
|
110
|
-
import "../_libs/isarray.mjs";
|
|
111
|
-
import "../_libs/safe-buffer.mjs";
|
|
112
|
-
import "buffer";
|
|
113
|
-
import "../_libs/core-util-is.mjs";
|
|
114
|
-
import "../_libs/inherits.mjs";
|
|
115
|
-
import "../_libs/util-deprecate.mjs";
|
|
116
|
-
import "../_libs/lie.mjs";
|
|
117
|
-
import "../_libs/immediate.mjs";
|
|
118
|
-
import "../_libs/setimmediate.mjs";
|
|
119
|
-
import "../_libs/pako.mjs";
|
|
120
120
|
function classifyValue(value) {
|
|
121
121
|
if (value === null) return "null";
|
|
122
122
|
if (Array.isArray(value)) return "array";
|