feat(trace-workbench): reveal the session's jsonl in the file manager

POST /api/sessions/:id/reveal resolves the file server-side (execFile,
argv array — no shell) and opens the platform file manager; the header
button shows the full path on hover.
This commit is contained in:
NI0317
2026-07-18 14:37:35 +08:00
parent 5c0d741531
commit aa18e2a9b2
5 changed files with 44 additions and 0 deletions

View File

@@ -790,6 +790,23 @@ h4 {
color: #2456b3;
}
.reveal-btn {
flex: 0 0 auto;
border: 1px solid var(--line);
border-radius: 999px;
padding: 3px 10px;
background: #fff;
color: #4c586c;
font-size: 11px;
white-space: nowrap;
}
.reveal-btn:hover {
border-color: #b7d5fb;
background: var(--blue-soft);
color: #2456b3;
}
.metrics {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));