@tonyclaw/agent-inspector 2.1.6 → 2.1.7
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-Djazxhew.js → CompareDrawer-BLS7CVvA.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-BC-z9RPh.js → ProxyViewerContainer-BFZ1WG07.js} +33 -33
- package/.output/public/assets/{ReplayDialog-BaD4R6ac.js → ReplayDialog-DIGF807X.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-w6uGdqYp.js → RequestAnatomy-C3Nlvp9P.js} +1 -1
- package/.output/public/assets/{ResponseView-VPed-Yif.js → ResponseView-BbZywqHe.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence-CPB8FgHI.js → StreamingChunkSequence-Dk27PfPn.js} +1 -1
- package/.output/public/assets/_sessionId-BHpX8AVf.js +1 -0
- package/.output/public/assets/index-BXHM9OMb.js +1 -0
- package/.output/public/assets/{main-CIV3Chb5.js → main-BxHXMs6B.js} +2 -2
- package/.output/server/{_sessionId-CIXQGim9.mjs → _sessionId-D5HNwb9A.mjs} +3 -3
- package/.output/server/_ssr/{CompareDrawer-_uFgjkB2.mjs → CompareDrawer-QNk1twf8.mjs} +3 -3
- package/.output/server/_ssr/{ProxyViewerContainer-D8YjQDNj.mjs → ProxyViewerContainer-DGhc2le_.mjs} +37 -10
- package/.output/server/_ssr/{ReplayDialog-CFwKM7jc.mjs → ReplayDialog-D8wg4VNL.mjs} +4 -4
- package/.output/server/_ssr/{RequestAnatomy-2Vr84GxT.mjs → RequestAnatomy-BtJHKVl2.mjs} +3 -3
- package/.output/server/_ssr/{ResponseView-CSBWBHRJ.mjs → ResponseView-CndDItiU.mjs} +3 -3
- package/.output/server/_ssr/{StreamingChunkSequence-Dr4JApqs.mjs → StreamingChunkSequence-D5Ywpbr7.mjs} +3 -3
- package/.output/server/_ssr/{index-WnsY1fh_.mjs → index-DtcUTHAX.mjs} +3 -3
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{router-sy38X5AX.mjs → router-C0apgqfC.mjs} +541 -120
- package/.output/server/{_tanstack-start-manifest_v-Dde-eACV.mjs → _tanstack-start-manifest_v-BoTPaB-V.mjs} +1 -1
- package/.output/server/index.mjs +62 -62
- package/package.json +1 -1
- package/src/components/groups/GroupsDialog.tsx +9 -4
- package/src/components/providers/SettingsDialog.tsx +20 -0
- package/src/proxy/sessionArchive.ts +410 -0
- package/src/proxy/store.ts +121 -6
- package/src/routes/api/logs.ts +2 -0
- package/src/routes/api/sessions.ts +2 -2
- package/.output/public/assets/_sessionId-mnr0O0Ri.js +0 -1
- package/.output/public/assets/index-DH1DjJOl.js +0 -1
|
@@ -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-BxHXMs6B.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-BXHM9OMb.js", "/assets/ProxyViewerContainer-BFZ1WG07.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-BHpX8AVf.js", "/assets/ProxyViewerContainer-BFZ1WG07.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-BxHXMs6B.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/index-DP4NzCZ5.css": {
|
|
39
|
+
"type": "text/css; charset=utf-8",
|
|
40
|
+
"etag": '"1eb57-LKub3VNb71B8B8BuFk7Jbg4bu4U"',
|
|
41
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
42
|
+
"size": 125783,
|
|
43
|
+
"path": "../public/assets/index-DP4NzCZ5.css"
|
|
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-03T09:15:22.454Z",
|
|
42
49
|
"size": 5915,
|
|
43
50
|
"path": "../public/assets/alibaba-TTwafVwX.svg"
|
|
44
51
|
},
|
|
45
|
-
"/assets/index-DH1DjJOl.js": {
|
|
46
|
-
"type": "text/javascript; charset=utf-8",
|
|
47
|
-
"etag": '"74-XPYkCkmLf6OHNprOlGZmst3ii/c"',
|
|
48
|
-
"mtime": "2026-07-03T08:38:18.431Z",
|
|
49
|
-
"size": 116,
|
|
50
|
-
"path": "../public/assets/index-DH1DjJOl.js"
|
|
51
|
-
},
|
|
52
|
-
"/assets/CompareDrawer-Djazxhew.js": {
|
|
53
|
-
"type": "text/javascript; charset=utf-8",
|
|
54
|
-
"etag": '"49e8-BgBnUkEs/A9S9UOa70+wREN0qNc"',
|
|
55
|
-
"mtime": "2026-07-03T08:38:18.431Z",
|
|
56
|
-
"size": 18920,
|
|
57
|
-
"path": "../public/assets/CompareDrawer-Djazxhew.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-03T09:15:22.456Z",
|
|
63
56
|
"size": 6918,
|
|
64
57
|
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
65
58
|
},
|
|
66
|
-
"/assets/
|
|
59
|
+
"/assets/main-BxHXMs6B.js": {
|
|
67
60
|
"type": "text/javascript; charset=utf-8",
|
|
68
|
-
"etag": '"
|
|
69
|
-
"mtime": "2026-07-
|
|
70
|
-
"size":
|
|
71
|
-
"path": "../public/assets/
|
|
61
|
+
"etag": '"512fd-ZrhzSdrZ9FJvrIljOy3CgXLWvLc"',
|
|
62
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
63
|
+
"size": 332541,
|
|
64
|
+
"path": "../public/assets/main-BxHXMs6B.js"
|
|
65
|
+
},
|
|
66
|
+
"/assets/ReplayDialog-DIGF807X.js": {
|
|
67
|
+
"type": "text/javascript; charset=utf-8",
|
|
68
|
+
"etag": '"318c-kgifCMVnIUCwoCN1m4jxw7GdHds"',
|
|
69
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
70
|
+
"size": 12684,
|
|
71
|
+
"path": "../public/assets/ReplayDialog-DIGF807X.js"
|
|
72
72
|
},
|
|
73
|
-
"/assets/RequestAnatomy-
|
|
73
|
+
"/assets/RequestAnatomy-C3Nlvp9P.js": {
|
|
74
74
|
"type": "text/javascript; charset=utf-8",
|
|
75
|
-
"etag": '"43f2-
|
|
76
|
-
"mtime": "2026-07-
|
|
75
|
+
"etag": '"43f2-CuOy45ouRt8g0wPoo4HY/5fc1eg"',
|
|
76
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
77
77
|
"size": 17394,
|
|
78
|
-
"path": "../public/assets/RequestAnatomy-
|
|
78
|
+
"path": "../public/assets/RequestAnatomy-C3Nlvp9P.js"
|
|
79
|
+
},
|
|
80
|
+
"/assets/CompareDrawer-BLS7CVvA.js": {
|
|
81
|
+
"type": "text/javascript; charset=utf-8",
|
|
82
|
+
"etag": '"49e8-vbVeH8G0mxwBzi4kv5q8L2XOU+0"',
|
|
83
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
84
|
+
"size": 18920,
|
|
85
|
+
"path": "../public/assets/CompareDrawer-BLS7CVvA.js"
|
|
79
86
|
},
|
|
80
|
-
"/assets/StreamingChunkSequence-
|
|
87
|
+
"/assets/StreamingChunkSequence-Dk27PfPn.js": {
|
|
81
88
|
"type": "text/javascript; charset=utf-8",
|
|
82
|
-
"etag": '"d5c-
|
|
83
|
-
"mtime": "2026-07-
|
|
89
|
+
"etag": '"d5c-PTOq3mheXlKuIaTTmtJcqJwA3DY"',
|
|
90
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
84
91
|
"size": 3420,
|
|
85
|
-
"path": "../public/assets/StreamingChunkSequence-
|
|
92
|
+
"path": "../public/assets/StreamingChunkSequence-Dk27PfPn.js"
|
|
93
|
+
},
|
|
94
|
+
"/assets/ResponseView-BbZywqHe.js": {
|
|
95
|
+
"type": "text/javascript; charset=utf-8",
|
|
96
|
+
"etag": '"30d2-Bw7ZlDjUT4WQx7sPL5cZ/u1aqpA"',
|
|
97
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
98
|
+
"size": 12498,
|
|
99
|
+
"path": "../public/assets/ResponseView-BbZywqHe.js"
|
|
100
|
+
},
|
|
101
|
+
"/assets/_sessionId-BHpX8AVf.js": {
|
|
102
|
+
"type": "text/javascript; charset=utf-8",
|
|
103
|
+
"etag": '"d2-OK4juQENJ+ncgN5adoEj2Nbsy1I"',
|
|
104
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
105
|
+
"size": 210,
|
|
106
|
+
"path": "../public/assets/_sessionId-BHpX8AVf.js"
|
|
86
107
|
},
|
|
87
108
|
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
88
109
|
"type": "image/svg+xml",
|
|
89
110
|
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
90
|
-
"mtime": "2026-07-
|
|
111
|
+
"mtime": "2026-07-03T09:15:22.454Z",
|
|
91
112
|
"size": 11256,
|
|
92
113
|
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
93
114
|
},
|
|
94
|
-
"/assets/
|
|
95
|
-
"type": "text/javascript; charset=utf-8",
|
|
96
|
-
"etag": '"d2-8fX6eaLvVng9PCQ65DZet+OU12I"',
|
|
97
|
-
"mtime": "2026-07-03T08:38:18.431Z",
|
|
98
|
-
"size": 210,
|
|
99
|
-
"path": "../public/assets/_sessionId-mnr0O0Ri.js"
|
|
100
|
-
},
|
|
101
|
-
"/assets/index-DP4NzCZ5.css": {
|
|
102
|
-
"type": "text/css; charset=utf-8",
|
|
103
|
-
"etag": '"1eb57-LKub3VNb71B8B8BuFk7Jbg4bu4U"',
|
|
104
|
-
"mtime": "2026-07-03T08:38:18.431Z",
|
|
105
|
-
"size": 125783,
|
|
106
|
-
"path": "../public/assets/index-DP4NzCZ5.css"
|
|
107
|
-
},
|
|
108
|
-
"/assets/ReplayDialog-BaD4R6ac.js": {
|
|
115
|
+
"/assets/index-BXHM9OMb.js": {
|
|
109
116
|
"type": "text/javascript; charset=utf-8",
|
|
110
|
-
"etag": '"
|
|
111
|
-
"mtime": "2026-07-
|
|
112
|
-
"size":
|
|
113
|
-
"path": "../public/assets/
|
|
114
|
-
},
|
|
115
|
-
"/assets/main-CIV3Chb5.js": {
|
|
116
|
-
"type": "text/javascript; charset=utf-8",
|
|
117
|
-
"etag": '"512fd-t4pJOLeOXXlAM58KfA92bW148Yc"',
|
|
118
|
-
"mtime": "2026-07-03T08:38:18.431Z",
|
|
119
|
-
"size": 332541,
|
|
120
|
-
"path": "../public/assets/main-CIV3Chb5.js"
|
|
117
|
+
"etag": '"74-zgMdtg12Mk6TzxUBiG3AnZO51sg"',
|
|
118
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
119
|
+
"size": 116,
|
|
120
|
+
"path": "../public/assets/index-BXHM9OMb.js"
|
|
121
121
|
},
|
|
122
122
|
"/assets/qwen-CONDcHqt.png": {
|
|
123
123
|
"type": "image/png",
|
|
124
124
|
"etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
|
|
125
|
-
"mtime": "2026-07-
|
|
125
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
126
126
|
"size": 357059,
|
|
127
127
|
"path": "../public/assets/qwen-CONDcHqt.png"
|
|
128
128
|
},
|
|
129
|
-
"/assets/ProxyViewerContainer-
|
|
129
|
+
"/assets/ProxyViewerContainer-BFZ1WG07.js": {
|
|
130
130
|
"type": "text/javascript; charset=utf-8",
|
|
131
|
-
"etag": '"
|
|
132
|
-
"mtime": "2026-07-
|
|
133
|
-
"size":
|
|
134
|
-
"path": "../public/assets/ProxyViewerContainer-
|
|
131
|
+
"etag": '"c1503-OUXf2dK9If/x1JhDITlpzPm5BH4"',
|
|
132
|
+
"mtime": "2026-07-03T09:15:22.456Z",
|
|
133
|
+
"size": 791811,
|
|
134
|
+
"path": "../public/assets/ProxyViewerContainer-BFZ1WG07.js"
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
function readAsset(id) {
|
package/package.json
CHANGED
|
@@ -1016,9 +1016,14 @@ function MemberRow({
|
|
|
1016
1016
|
<ExternalLink className="size-3 shrink-0 text-muted-foreground" />
|
|
1017
1017
|
</a>
|
|
1018
1018
|
) : (
|
|
1019
|
-
<
|
|
1020
|
-
|
|
1021
|
-
|
|
1019
|
+
<button
|
|
1020
|
+
type="button"
|
|
1021
|
+
className="inline-flex max-w-full min-w-0 items-center gap-2 rounded-sm font-mono text-xs text-foreground outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
|
|
1022
|
+
title={`Show evidence snapshot for ${sessionLabel}`}
|
|
1023
|
+
aria-label={`Show evidence snapshot for ${sessionLabel}`}
|
|
1024
|
+
onClick={() => {
|
|
1025
|
+
onToggleDetails(member.id);
|
|
1026
|
+
}}
|
|
1022
1027
|
>
|
|
1023
1028
|
<span className="min-w-0 truncate">{sessionLabel}</span>
|
|
1024
1029
|
<Badge
|
|
@@ -1027,7 +1032,7 @@ function MemberRow({
|
|
|
1027
1032
|
>
|
|
1028
1033
|
evidence
|
|
1029
1034
|
</Badge>
|
|
1030
|
-
</
|
|
1035
|
+
</button>
|
|
1031
1036
|
)}
|
|
1032
1037
|
</div>
|
|
1033
1038
|
<div className="mt-0.5 truncate text-[11px] text-muted-foreground">
|
|
@@ -123,6 +123,9 @@ type LogStorageStats = {
|
|
|
123
123
|
chunkDir: string;
|
|
124
124
|
chunkFileCount: number;
|
|
125
125
|
chunkBytes: number;
|
|
126
|
+
sessionArchiveDir: string;
|
|
127
|
+
sessionArchiveFileCount: number;
|
|
128
|
+
sessionArchiveBytes: number;
|
|
126
129
|
};
|
|
127
130
|
|
|
128
131
|
const LogStorageStatsSchema = z.object({
|
|
@@ -133,6 +136,9 @@ const LogStorageStatsSchema = z.object({
|
|
|
133
136
|
chunkDir: z.string(),
|
|
134
137
|
chunkFileCount: z.number(),
|
|
135
138
|
chunkBytes: z.number(),
|
|
139
|
+
sessionArchiveDir: z.string(),
|
|
140
|
+
sessionArchiveFileCount: z.number(),
|
|
141
|
+
sessionArchiveBytes: z.number(),
|
|
136
142
|
});
|
|
137
143
|
|
|
138
144
|
function formatBytes(bytes: number): string {
|
|
@@ -213,6 +219,13 @@ function StorageSettingsTab(): JSX.Element {
|
|
|
213
219
|
copiedId={copiedId}
|
|
214
220
|
onCopy={handleCopy}
|
|
215
221
|
/>
|
|
222
|
+
<CopyableSetupValue
|
|
223
|
+
id="session-archive-dir"
|
|
224
|
+
label="Session archive storage path"
|
|
225
|
+
value={stats.sessionArchiveDir}
|
|
226
|
+
copiedId={copiedId}
|
|
227
|
+
onCopy={handleCopy}
|
|
228
|
+
/>
|
|
216
229
|
<div className="rounded-md border border-border bg-muted/20 px-3 py-2">
|
|
217
230
|
<div className="font-medium">In-memory logs</div>
|
|
218
231
|
<div className="mt-1 font-mono text-muted-foreground">
|
|
@@ -231,6 +244,13 @@ function StorageSettingsTab(): JSX.Element {
|
|
|
231
244
|
{stats.chunkFileCount.toLocaleString()} files / {formatBytes(stats.chunkBytes)}
|
|
232
245
|
</div>
|
|
233
246
|
</div>
|
|
247
|
+
<div className="rounded-md border border-border bg-muted/20 px-3 py-2">
|
|
248
|
+
<div className="font-medium">Session archives</div>
|
|
249
|
+
<div className="mt-1 font-mono text-muted-foreground">
|
|
250
|
+
{stats.sessionArchiveFileCount.toLocaleString()} files /{" "}
|
|
251
|
+
{formatBytes(stats.sessionArchiveBytes)}
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
234
254
|
</div>
|
|
235
255
|
)}
|
|
236
256
|
|