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

@@ -36,6 +36,7 @@
<span class="replay-pill">replay</span>
<strong id="conversationTitle">Loading session...</strong>
<span id="sessionCrumb"></span>
<button id="revealSession" class="reveal-btn" type="button" title="">在 Finder 中显示</button>
</div>
<div class="segmented large">
<button class="active" data-main-view="conversation">Chat</button>