@tonyclaw/agent-inspector 2.1.4 → 2.1.5
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-BihEPd3v.js → CompareDrawer-SAn2KFl2.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-DYqXb6WW.js → ProxyViewerContainer-DaiTFf7n.js} +24 -24
- package/.output/public/assets/{ReplayDialog-DnX-6kY8.js → ReplayDialog-CCwz0YUV.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CIkHAxZO.js → RequestAnatomy-DXcC4ydl.js} +1 -1
- package/.output/public/assets/{ResponseView-BFc8jjZM.js → ResponseView-Bh9t9aZF.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence-p8qkpF6K.js → StreamingChunkSequence-B69M2rr-.js} +1 -1
- package/.output/public/assets/_sessionId-6fF5JpyQ.js +1 -0
- package/.output/public/assets/index-DBSbw8Gd.js +1 -0
- package/.output/public/assets/{main-xlSdu7_I.js → main-DZVKUeg6.js} +2 -2
- package/.output/server/{_sessionId-CwVQgxoK.mjs → _sessionId-COVUf_EG.mjs} +2 -2
- package/.output/server/_ssr/{CompareDrawer-Br9Ec0ah.mjs → CompareDrawer-DqQHO4tk.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-Oe5Tr3C2.mjs → ProxyViewerContainer-BEeF4V-C.mjs} +30 -11
- package/.output/server/_ssr/{ReplayDialog-C1_QsoA-.mjs → ReplayDialog-DUZbsd5x.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-cn08QSoz.mjs → RequestAnatomy-DKuIxoBj.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-CIqUCCTG.mjs → ResponseView-BB9CYmTJ.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-0MhVWD2F.mjs → StreamingChunkSequence-CkY3uTjF.mjs} +2 -2
- package/.output/server/_ssr/{index-jpnI5ghp.mjs → index-CHTchkrO.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{router-SSOn7c09.mjs → router-C8DJ5pQZ.mjs} +5 -3
- package/.output/server/{_tanstack-start-manifest_v-BCgy_9er.mjs → _tanstack-start-manifest_v-Z1ffcxDr.mjs} +1 -1
- package/.output/server/index.mjs +61 -61
- package/package.json +1 -1
- package/src/components/groups/GroupsDialog.tsx +41 -13
- package/src/lib/groupContract.ts +1 -0
- package/src/services/groups.ts +1 -0
- package/.output/public/assets/_sessionId-Csx4T_y6.js +0 -1
- package/.output/public/assets/index-KMuh-31x.js +0 -1
|
@@ -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, v as getStatusCategory, B as Badge, w as Collapsible, x as CollapsibleTrigger, y as CollapsibleContent, z as ScrollArea, E as JsonViewer, F as safeJsonValue } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, f as formatTokens, c as cn, v as getStatusCategory, B as Badge, w as Collapsible, x as CollapsibleTrigger, y as CollapsibleContent, z as ScrollArea, E as JsonViewer, F as safeJsonValue } from "./ProxyViewerContainer-BEeF4V-C.mjs";
|
|
3
|
+
import "./router-C8DJ5pQZ.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { Z as Zap, r as TriangleAlert, ap as CircleStop, B as Brain, C as ChevronDown, f as ChevronRight, m as Terminal } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { m as TooltipProvider, n as Tooltip, o as TooltipTrigger, B as Badge, p as TooltipContent, E as JsonViewer } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { m as TooltipProvider, n as Tooltip, o as TooltipTrigger, B as Badge, p as TooltipContent, E as JsonViewer } from "./ProxyViewerContainer-BEeF4V-C.mjs";
|
|
3
|
+
import "./router-C8DJ5pQZ.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { C as ChevronDown, f as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-
|
|
1
|
+
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-BEeF4V-C.mjs";
|
|
2
2
|
import "../_libs/react.mjs";
|
|
3
|
-
import "./router-
|
|
3
|
+
import "./router-C8DJ5pQZ.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/swr.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-Z1ffcxDr.mjs");
|
|
202
202
|
const startManifest = tsrStartManifest();
|
|
203
203
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes[rootRouteId] || {};
|
|
204
204
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -776,7 +776,7 @@ let entriesPromise;
|
|
|
776
776
|
let baseManifestPromise;
|
|
777
777
|
let cachedFinalManifestPromise;
|
|
778
778
|
async function loadEntries() {
|
|
779
|
-
const routerEntry = await import("./router-
|
|
779
|
+
const routerEntry = await import("./router-C8DJ5pQZ.mjs").then((n) => n.y);
|
|
780
780
|
const startEntry = await import("./start-HYkvq4Ni.mjs");
|
|
781
781
|
return { startEntry, routerEntry };
|
|
782
782
|
}
|
|
@@ -108,7 +108,7 @@ function RootDocument({ children }) {
|
|
|
108
108
|
] })
|
|
109
109
|
] });
|
|
110
110
|
}
|
|
111
|
-
const $$splitComponentImporter$1 = () => import("./index-
|
|
111
|
+
const $$splitComponentImporter$1 = () => import("./index-CHTchkrO.mjs");
|
|
112
112
|
const Route$C = createFileRoute("/")({
|
|
113
113
|
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
114
114
|
});
|
|
@@ -151,7 +151,7 @@ function decodeSessionIdFromPath(encoded) {
|
|
|
151
151
|
function getSessionPath(sessionId) {
|
|
152
152
|
return `/session/${encodeSessionIdForPath(sessionId)}`;
|
|
153
153
|
}
|
|
154
|
-
const $$splitComponentImporter = () => import("../_sessionId-
|
|
154
|
+
const $$splitComponentImporter = () => import("../_sessionId-COVUf_EG.mjs");
|
|
155
155
|
const Route$B = createFileRoute("/session/$sessionId")({
|
|
156
156
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
157
157
|
parseParams: (params) => ({
|
|
@@ -7158,6 +7158,7 @@ const InspectorGroupEvidenceSummarySchema = object({
|
|
|
7158
7158
|
const GroupEvidenceReadResponseSchema = object({
|
|
7159
7159
|
group: InspectorGroupSchema,
|
|
7160
7160
|
evidence: InspectorGroupEvidenceSchema,
|
|
7161
|
+
members: array(InspectorGroupExportMemberSchema).nullable(),
|
|
7161
7162
|
markdown: string(),
|
|
7162
7163
|
summary: InspectorGroupEvidenceSummarySchema.nullable(),
|
|
7163
7164
|
report: EvidenceReportSchema.nullable()
|
|
@@ -7925,7 +7926,7 @@ const Route$w = createFileRoute("/api/models")({
|
|
|
7925
7926
|
}
|
|
7926
7927
|
}
|
|
7927
7928
|
});
|
|
7928
|
-
const version = "2.1.
|
|
7929
|
+
const version = "2.1.5";
|
|
7929
7930
|
const packageJson = {
|
|
7930
7931
|
version
|
|
7931
7932
|
};
|
|
@@ -8351,6 +8352,7 @@ function readInspectorGroupEvidence(groupId) {
|
|
|
8351
8352
|
return serviceOk({
|
|
8352
8353
|
group,
|
|
8353
8354
|
evidence: group.evidence,
|
|
8355
|
+
members: document?.members ?? null,
|
|
8354
8356
|
markdown,
|
|
8355
8357
|
summary: document?.summary ?? null,
|
|
8356
8358
|
report: document?.jenkinsReport ?? null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-
|
|
1
|
+
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-DZVKUeg6.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-DBSbw8Gd.js", "/assets/ProxyViewerContainer-DaiTFf7n.js"] }, "/api/alerts": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/alerts.ts", "children": ["/api/alerts/summary"] }, "/api/config": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.ts", "children": ["/api/config/paths"] }, "/api/groups": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.ts", "children": ["/api/groups/$groupId"] }, "/api/health": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/health.ts" }, "/api/logs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.ts", "children": ["/api/logs/$id", "/api/logs/import", "/api/logs/stream"] }, "/api/mcp": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/mcp.ts" }, "/api/models": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/models.ts" }, "/api/providers": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.ts", "children": ["/api/providers/$providerId", "/api/providers/export", "/api/providers/import", "/api/providers/scan"] }, "/api/runs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.ts", "children": ["/api/runs/$runId"] }, "/api/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/sessions.ts" }, "/proxy/$": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/proxy/$.ts" }, "/session/$sessionId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", "assets": [], "preloads": ["/assets/_sessionId-6fF5JpyQ.js", "/assets/ProxyViewerContainer-DaiTFf7n.js"] }, "/api/alerts/summary": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/alerts.summary.ts" }, "/api/config/paths": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.paths.ts" }, "/api/groups/$groupId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.ts", "children": ["/api/groups/$groupId/evidence", "/api/groups/$groupId/sessions"] }, "/api/knowledge/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.ts", "children": ["/api/knowledge/candidates/$candidateId"] }, "/api/knowledge/project-context": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.project-context.ts" }, "/api/knowledge/search": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.search.ts" }, "/api/logs/$id": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.ts", "children": ["/api/logs/$id/body", "/api/logs/$id/chunks", "/api/logs/$id/replay"] }, "/api/logs/import": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.import.ts" }, "/api/logs/stream": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.stream.ts" }, "/api/providers/$providerId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.ts", "children": ["/api/providers/$providerId/model-metadata", "/api/providers/$providerId/test"] }, "/api/providers/export": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.export.ts" }, "/api/providers/import": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.import.ts" }, "/api/providers/scan": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.scan.ts" }, "/api/runs/$runId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.ts", "children": ["/api/runs/$runId/evidence"] }, "/api/groups/$groupId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.evidence.ts" }, "/api/groups/$groupId/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.sessions.ts" }, "/api/knowledge/candidates/$candidateId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.ts", "children": ["/api/knowledge/candidates/$candidateId/promote"] }, "/api/logs/$id/body": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.body.ts" }, "/api/logs/$id/chunks": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.chunks.ts" }, "/api/logs/$id/replay": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.replay.ts" }, "/api/providers/$providerId/model-metadata": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.model-metadata.ts" }, "/api/providers/$providerId/test": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.ts", "children": ["/api/providers/$providerId/test/log"] }, "/api/runs/$runId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.evidence.ts" }, "/api/knowledge/candidates/$candidateId/promote": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.promote.ts" }, "/api/knowledge/sessions/$sessionId/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.sessions.$sessionId.candidates.ts" }, "/api/providers/$providerId/test/log": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.log.ts" } }, "clientEntry": "/assets/main-DZVKUeg6.js" });
|
|
2
2
|
export {
|
|
3
3
|
tsrStartManifest
|
|
4
4
|
};
|
package/.output/server/index.mjs
CHANGED
|
@@ -35,103 +35,103 @@ const headers = ((m) => function headersRouteRule(event) {
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
const assets = {
|
|
38
|
+
"/assets/CompareDrawer-SAn2KFl2.js": {
|
|
39
|
+
"type": "text/javascript; charset=utf-8",
|
|
40
|
+
"etag": '"49e8-fT9gnqNapzEUtMqaEOXdyVDpHjs"',
|
|
41
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
42
|
+
"size": 18920,
|
|
43
|
+
"path": "../public/assets/CompareDrawer-SAn2KFl2.js"
|
|
44
|
+
},
|
|
38
45
|
"/assets/alibaba-TTwafVwX.svg": {
|
|
39
46
|
"type": "image/svg+xml",
|
|
40
47
|
"etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
|
|
41
|
-
"mtime": "2026-07-
|
|
48
|
+
"mtime": "2026-07-03T08:23:10.086Z",
|
|
42
49
|
"size": 5915,
|
|
43
50
|
"path": "../public/assets/alibaba-TTwafVwX.svg"
|
|
44
51
|
},
|
|
45
|
-
"/assets/index-KMuh-31x.js": {
|
|
46
|
-
"type": "text/javascript; charset=utf-8",
|
|
47
|
-
"etag": '"74-DDu8Y0k+118MPEojCQ31x0l0t6M"',
|
|
48
|
-
"mtime": "2026-07-03T07:52:18.057Z",
|
|
49
|
-
"size": 116,
|
|
50
|
-
"path": "../public/assets/index-KMuh-31x.js"
|
|
51
|
-
},
|
|
52
|
-
"/assets/CompareDrawer-BihEPd3v.js": {
|
|
53
|
-
"type": "text/javascript; charset=utf-8",
|
|
54
|
-
"etag": '"49e8-cBpqLRmj+nSdwIVvl8By/sv8Gls"',
|
|
55
|
-
"mtime": "2026-07-03T07:52:18.057Z",
|
|
56
|
-
"size": 18920,
|
|
57
|
-
"path": "../public/assets/CompareDrawer-BihEPd3v.js"
|
|
58
|
-
},
|
|
59
52
|
"/assets/minimax-BPMzvuL-.jpeg": {
|
|
60
53
|
"type": "image/jpeg",
|
|
61
54
|
"etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
|
|
62
|
-
"mtime": "2026-07-
|
|
55
|
+
"mtime": "2026-07-03T08:23:10.086Z",
|
|
63
56
|
"size": 6918,
|
|
64
57
|
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
65
58
|
},
|
|
66
59
|
"/assets/index-Bcq8bZoK.css": {
|
|
67
60
|
"type": "text/css; charset=utf-8",
|
|
68
61
|
"etag": '"1e82d-Bo+nRYLQB3/4r6wWrfFE4tW/SHg"',
|
|
69
|
-
"mtime": "2026-07-
|
|
62
|
+
"mtime": "2026-07-03T08:23:10.086Z",
|
|
70
63
|
"size": 124973,
|
|
71
64
|
"path": "../public/assets/index-Bcq8bZoK.css"
|
|
72
65
|
},
|
|
73
|
-
"/assets/
|
|
66
|
+
"/assets/main-DZVKUeg6.js": {
|
|
74
67
|
"type": "text/javascript; charset=utf-8",
|
|
75
|
-
"etag": '"
|
|
76
|
-
"mtime": "2026-07-
|
|
68
|
+
"etag": '"512fd-cCEzTul8+/DiTlszSquC/sI7Cuw"',
|
|
69
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
70
|
+
"size": 332541,
|
|
71
|
+
"path": "../public/assets/main-DZVKUeg6.js"
|
|
72
|
+
},
|
|
73
|
+
"/assets/ReplayDialog-CCwz0YUV.js": {
|
|
74
|
+
"type": "text/javascript; charset=utf-8",
|
|
75
|
+
"etag": '"318c-B/NOUXx1S9YfCpX5mQvGVu/Caco"',
|
|
76
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
77
|
+
"size": 12684,
|
|
78
|
+
"path": "../public/assets/ReplayDialog-CCwz0YUV.js"
|
|
79
|
+
},
|
|
80
|
+
"/assets/RequestAnatomy-DXcC4ydl.js": {
|
|
81
|
+
"type": "text/javascript; charset=utf-8",
|
|
82
|
+
"etag": '"43f2-wdoyYpKy0N8BCG99bU/lkh98pOU"',
|
|
83
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
77
84
|
"size": 17394,
|
|
78
|
-
"path": "../public/assets/RequestAnatomy-
|
|
85
|
+
"path": "../public/assets/RequestAnatomy-DXcC4ydl.js"
|
|
86
|
+
},
|
|
87
|
+
"/assets/qwen-CONDcHqt.png": {
|
|
88
|
+
"type": "image/png",
|
|
89
|
+
"etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
|
|
90
|
+
"mtime": "2026-07-03T08:23:10.086Z",
|
|
91
|
+
"size": 357059,
|
|
92
|
+
"path": "../public/assets/qwen-CONDcHqt.png"
|
|
79
93
|
},
|
|
80
|
-
"/assets/ResponseView-
|
|
94
|
+
"/assets/ResponseView-Bh9t9aZF.js": {
|
|
81
95
|
"type": "text/javascript; charset=utf-8",
|
|
82
|
-
"etag": '"30d2-
|
|
83
|
-
"mtime": "2026-07-
|
|
96
|
+
"etag": '"30d2-9A1sPSu20/nMJzH2JalXw17C5KY"',
|
|
97
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
84
98
|
"size": 12498,
|
|
85
|
-
"path": "../public/assets/ResponseView-
|
|
99
|
+
"path": "../public/assets/ResponseView-Bh9t9aZF.js"
|
|
86
100
|
},
|
|
87
|
-
"/assets/StreamingChunkSequence-
|
|
101
|
+
"/assets/StreamingChunkSequence-B69M2rr-.js": {
|
|
88
102
|
"type": "text/javascript; charset=utf-8",
|
|
89
|
-
"etag": '"d5c-
|
|
90
|
-
"mtime": "2026-07-
|
|
103
|
+
"etag": '"d5c-xRWPkPrh/Qvoe2CzFVrPAi9hdRQ"',
|
|
104
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
91
105
|
"size": 3420,
|
|
92
|
-
"path": "../public/assets/StreamingChunkSequence-
|
|
106
|
+
"path": "../public/assets/StreamingChunkSequence-B69M2rr-.js"
|
|
107
|
+
},
|
|
108
|
+
"/assets/_sessionId-6fF5JpyQ.js": {
|
|
109
|
+
"type": "text/javascript; charset=utf-8",
|
|
110
|
+
"etag": '"d2-ljKnWbeDMM/Ead+Oqi0HOdiiJc0"',
|
|
111
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
112
|
+
"size": 210,
|
|
113
|
+
"path": "../public/assets/_sessionId-6fF5JpyQ.js"
|
|
93
114
|
},
|
|
94
115
|
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
95
116
|
"type": "image/svg+xml",
|
|
96
117
|
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
97
|
-
"mtime": "2026-07-
|
|
118
|
+
"mtime": "2026-07-03T08:23:10.086Z",
|
|
98
119
|
"size": 11256,
|
|
99
120
|
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
100
121
|
},
|
|
101
|
-
"/assets/
|
|
122
|
+
"/assets/index-DBSbw8Gd.js": {
|
|
102
123
|
"type": "text/javascript; charset=utf-8",
|
|
103
|
-
"etag": '"
|
|
104
|
-
"mtime": "2026-07-
|
|
105
|
-
"size":
|
|
106
|
-
"path": "../public/assets/
|
|
107
|
-
},
|
|
108
|
-
"/assets/ReplayDialog-DnX-6kY8.js": {
|
|
109
|
-
"type": "text/javascript; charset=utf-8",
|
|
110
|
-
"etag": '"318c-4vrj6maBmg3vnKS0IStIsOYe0SE"',
|
|
111
|
-
"mtime": "2026-07-03T07:52:18.057Z",
|
|
112
|
-
"size": 12684,
|
|
113
|
-
"path": "../public/assets/ReplayDialog-DnX-6kY8.js"
|
|
114
|
-
},
|
|
115
|
-
"/assets/main-xlSdu7_I.js": {
|
|
116
|
-
"type": "text/javascript; charset=utf-8",
|
|
117
|
-
"etag": '"512fd-w+PhHGmgqkHUWhgkIrieWmaEqYU"',
|
|
118
|
-
"mtime": "2026-07-03T07:52:18.057Z",
|
|
119
|
-
"size": 332541,
|
|
120
|
-
"path": "../public/assets/main-xlSdu7_I.js"
|
|
121
|
-
},
|
|
122
|
-
"/assets/qwen-CONDcHqt.png": {
|
|
123
|
-
"type": "image/png",
|
|
124
|
-
"etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
|
|
125
|
-
"mtime": "2026-07-03T07:52:18.057Z",
|
|
126
|
-
"size": 357059,
|
|
127
|
-
"path": "../public/assets/qwen-CONDcHqt.png"
|
|
124
|
+
"etag": '"74-xC7LYU1gU+9Z131TITDrY5nK10A"',
|
|
125
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
126
|
+
"size": 116,
|
|
127
|
+
"path": "../public/assets/index-DBSbw8Gd.js"
|
|
128
128
|
},
|
|
129
|
-
"/assets/ProxyViewerContainer-
|
|
129
|
+
"/assets/ProxyViewerContainer-DaiTFf7n.js": {
|
|
130
130
|
"type": "text/javascript; charset=utf-8",
|
|
131
|
-
"etag": '"
|
|
132
|
-
"mtime": "2026-07-
|
|
133
|
-
"size":
|
|
134
|
-
"path": "../public/assets/ProxyViewerContainer-
|
|
131
|
+
"etag": '"c0068-ogQ3DnCY0O1vvkz8xKRlqKPmHP0"',
|
|
132
|
+
"mtime": "2026-07-03T08:23:10.087Z",
|
|
133
|
+
"size": 786536,
|
|
134
|
+
"path": "../public/assets/ProxyViewerContainer-DaiTFf7n.js"
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
function readAsset(id) {
|
package/package.json
CHANGED
|
@@ -44,6 +44,7 @@ type GroupSummary = {
|
|
|
44
44
|
type GroupMemberRow = {
|
|
45
45
|
member: InspectorGroupMember;
|
|
46
46
|
exportMember: InspectorGroupExportMember | null;
|
|
47
|
+
source: "group" | "export" | "evidence";
|
|
47
48
|
};
|
|
48
49
|
|
|
49
50
|
export function groupDeletePath(groupId: string, deleteEvidence: boolean): string {
|
|
@@ -89,15 +90,29 @@ export function summarizeGroup(group: InspectorGroup): GroupSummary {
|
|
|
89
90
|
export function buildGroupMemberRows(
|
|
90
91
|
group: InspectorGroup,
|
|
91
92
|
exportResult: GroupEvidenceExportResult | null,
|
|
93
|
+
evidenceResponse: GroupEvidenceReadResponse | null = null,
|
|
92
94
|
): GroupMemberRow[] {
|
|
93
95
|
if (exportResult !== null && exportResult.group.id === group.id) {
|
|
94
96
|
return exportResult.members.map((exportMember) => ({
|
|
95
97
|
member: exportMember.member,
|
|
96
98
|
exportMember,
|
|
99
|
+
source: "export",
|
|
97
100
|
}));
|
|
98
101
|
}
|
|
99
102
|
|
|
100
|
-
|
|
103
|
+
if (
|
|
104
|
+
evidenceResponse !== null &&
|
|
105
|
+
evidenceResponse.group.id === group.id &&
|
|
106
|
+
evidenceResponse.members !== null
|
|
107
|
+
) {
|
|
108
|
+
return evidenceResponse.members.map((exportMember) => ({
|
|
109
|
+
member: exportMember.member,
|
|
110
|
+
exportMember,
|
|
111
|
+
source: "evidence",
|
|
112
|
+
}));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return group.members.map((member) => ({ member, exportMember: null, source: "group" }));
|
|
101
116
|
}
|
|
102
117
|
|
|
103
118
|
function statusClassName(status: InspectorGroup["status"] | MemberStatus): string {
|
|
@@ -553,7 +568,7 @@ function GroupDetails({
|
|
|
553
568
|
const exportedSummary = exportSummaryFor(group, exportResult, evidenceResponse);
|
|
554
569
|
const evidenceReport = evidenceReportFor(group, exportResult, evidenceResponse);
|
|
555
570
|
const evidence = evidenceFor(group, exportResult);
|
|
556
|
-
const rows = buildGroupMemberRows(group, exportResult);
|
|
571
|
+
const rows = buildGroupMemberRows(group, exportResult, evidenceResponse);
|
|
557
572
|
const isExporting = exportingGroupId === group.id;
|
|
558
573
|
const isDeleting = deletingGroupId === group.id;
|
|
559
574
|
const isConfirmingDelete = deleteTarget?.id === group.id;
|
|
@@ -916,6 +931,7 @@ function MemberRow({ row }: { row: GroupMemberRow }): JSX.Element {
|
|
|
916
931
|
const session = row.exportMember?.session ?? null;
|
|
917
932
|
const log = latestLog(row);
|
|
918
933
|
const sessionPath = session?.inspectorPath ?? getSessionPath(member.sessionId);
|
|
934
|
+
const canOpenLiveSession = row.source !== "evidence";
|
|
919
935
|
const requests = session?.requestCount ?? null;
|
|
920
936
|
const errors = session?.errorCount ?? null;
|
|
921
937
|
const tokens = session?.tokenUsage.total ?? null;
|
|
@@ -925,17 +941,29 @@ function MemberRow({ row }: { row: GroupMemberRow }): JSX.Element {
|
|
|
925
941
|
return (
|
|
926
942
|
<tr className="border-b border-border last:border-0">
|
|
927
943
|
<td className="max-w-56 px-3 py-2">
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
944
|
+
{canOpenLiveSession ? (
|
|
945
|
+
<a
|
|
946
|
+
href={sessionPath}
|
|
947
|
+
target="_blank"
|
|
948
|
+
rel="noreferrer"
|
|
949
|
+
className="inline-flex max-w-full min-w-0 items-center gap-2 rounded-sm font-mono text-xs text-primary outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
|
|
950
|
+
aria-label={`Open session ${sessionLabel}`}
|
|
951
|
+
title={`Open session ${sessionLabel}`}
|
|
952
|
+
>
|
|
953
|
+
<span className="min-w-0 truncate">{sessionLabel}</span>
|
|
954
|
+
<ExternalLink className="size-3 shrink-0 text-muted-foreground" />
|
|
955
|
+
</a>
|
|
956
|
+
) : (
|
|
957
|
+
<span
|
|
958
|
+
className="inline-flex max-w-full min-w-0 items-center gap-2 font-mono text-xs text-foreground"
|
|
959
|
+
title={`Evidence snapshot for ${sessionLabel}`}
|
|
960
|
+
>
|
|
961
|
+
<span className="min-w-0 truncate">{sessionLabel}</span>
|
|
962
|
+
<Badge variant="outline" className="shrink-0 border-zinc-200 bg-zinc-50 text-zinc-600">
|
|
963
|
+
evidence
|
|
964
|
+
</Badge>
|
|
965
|
+
</span>
|
|
966
|
+
)}
|
|
939
967
|
<div className="mt-0.5 truncate text-[11px] text-muted-foreground">
|
|
940
968
|
{displayText(member.agent)}
|
|
941
969
|
</div>
|
package/src/lib/groupContract.ts
CHANGED
|
@@ -126,6 +126,7 @@ export const InspectorGroupEvidenceSummarySchema = z.object({
|
|
|
126
126
|
export const GroupEvidenceReadResponseSchema = z.object({
|
|
127
127
|
group: InspectorGroupSchema,
|
|
128
128
|
evidence: InspectorGroupEvidenceSchema,
|
|
129
|
+
members: z.array(InspectorGroupExportMemberSchema).nullable(),
|
|
129
130
|
markdown: z.string(),
|
|
130
131
|
summary: InspectorGroupEvidenceSummarySchema.nullable(),
|
|
131
132
|
report: EvidenceReportSchema.nullable(),
|
package/src/services/groups.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{R as s,j as e}from"./main-xlSdu7_I.js";import{P as i}from"./ProxyViewerContainer-DYqXb6WW.js";function t(){const{sessionId:o}=s.useParams();return e.jsx(i,{initialSessionId:o},o)}export{t as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as o}from"./ProxyViewerContainer-DYqXb6WW.js";import"./main-xlSdu7_I.js";const r=o;export{r as component};
|