9574a99f45
The 导出 button fetches GET /api/session.export and saves the ZIP (root artifact plus subagent descendants). The plugin exposes exportLog through the view's inject face, resolves the tab label through the locale service, and disables the button while in flight; fixture mode answers 404 so the error bar explains the gap.
3.4 KiB
3.4 KiB
- toolbar "Trajectory toolbar":
- button "Use actual duration": Duration
- button "Collapse turns": Turns
- button "Collapse calls": Calls
- button "导出会话日志": 导出
- img
- searchbox "Search trajectory"
- region "Trajectory timeline":
- tooltip "ASSISTANT {{clock}} → {{clock}} Total 1,542 ms · TTFT 368 ms · Decoding 1,174 ms"
- table:
- rowgroup:
- row "SYSTEM, Initial System Prompt":
- cell "SYSTEM"
- cell "Initial System Prompt"
- 'row "USER, NavScenario: first run bash to print exactly NAVIGATION_OK, then read nav-a.md and nav-b.md using two read calls in ONE assistant message, then reply with the single word FIRST_DONE and stop."':
- cell "Turn 1 USER": USER
- 'cell "NavScenario: first run bash to print exactly NAVIGATION_OK, then read nav-a.md and nav-b.md using two read calls in ONE assistant message, then reply with the single word FIRST_DONE and stop."'
- 'row "Request 1, ASSISTANT, The user wants me to follow a specific navigation scenario. Let me: Run bash to print "NAVIGATION_OK" Read nav-a.md and nav-b.md in two read calls in ONE message Reply with "FIRST_DONE" Let me start with the bash command and the reads."':
- 'cell "Request #1 ASSISTANT"':
- 'button "Request #1"'
- text: ASSISTANT
- 'cell "The user wants me to follow a specific navigation scenario. Let me: Run bash to print "NAVIGATION_OK" Read nav-a.md and nav-b.md in two read calls in ONE message Reply with "FIRST_DONE" Let me start with the bash command and the reads."'
- 'cell "Request #1 ASSISTANT"':
- 'row "TOOL, bash {"command": "echo NAVIGATION_OK", "description": "Print NAVIGATION_OK"}" [selected]':
- cell "TOOL"
- 'cell "bash{"command": "echo NAVIGATION_OK", "description": "Print NAVIGATION_OK"} → NAVIGATION_OK"'
- 'row "TOOL, read {"file_path": "nav-a.md"}"':
- cell "TOOL"
- 'cell "read{"file_path": "nav-a.md"} → {{cwd}}/nav-a.md file 1: # alpha nav (End of file - total 1 lines) "'
- 'row "TOOL, read {"file_path": "nav-b.md"}"':
- cell "TOOL"
- 'cell "read{"file_path": "nav-b.md"} → {{cwd}}/nav-b.md file 1: # beta nav (End of file - total 1 lines) "'
- row "Request 2, ASSISTANT, FIRST_DONE":
- 'cell "Request #2 ASSISTANT"':
- 'button "Request #2"'
- text: ASSISTANT
- cell "FIRST_DONE"
- 'cell "Request #2 ASSISTANT"':
- 'row "USER, Reply in markdown with: a level-2 heading "Navigation Summary", a bulleted list of exactly two items, and a fenced code block containing echo WATERFALL. Then stop."':
- cell "Turn 2 USER": USER
- 'cell "Reply in markdown with: a level-2 heading "Navigation Summary", a bulleted list of exactly two items, and a fenced code block containing echo WATERFALL. Then stop."'
- row "Request 3, ASSISTANT, Navigation Summary alpha nav beta nav echo WATERFALL":
- 'cell "Request #3 ASSISTANT"':
- 'button "Request #3"'
- text: ASSISTANT
- cell "Navigation Summary alpha nav beta nav echo WATERFALL"
- 'cell "Request #3 ASSISTANT"':
- row "SYSTEM, Initial System Prompt":
- rowgroup:
- complementary "Event details":
- separator "Resize event details"
- text: TOOL Turn 1 · Step 1
- button "Close details"
- tablist "Event details":
- tab "Summary"
- tab "Payload"
- tab "Result" [selected]
- tab "Schema"
- tab "Timing"
- tabpanel "Result": NAVIGATION_OK