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

@@ -37,3 +37,4 @@ Current UI capabilities:
- Failed tool calls are marked in every view (red rail + `← error` chip in Trajectory, red bar in Waterfall, `Tool failed` in Chat).
- Panes resize by dragging the dividers (clamped; widths persist), and all panes squeeze each other in one layer.
- URL carries `?session=&view=&sel=` so any selection is a shareable deep link.
- The header's 「在 Finder 中显示」 button reveals the current session's `.jsonl` in the OS file manager (`open -R` / `explorer /select` / `xdg-open`).