-
[OPIK-5309] [FE] feat: add trace trajectory and span inspection to Agent Sandbox (#5978)
发布于
2026-03-31 07:27:13 +00:00 - [OPIK-5309] [FE] feat: add trace trajectory and span inspection to Agent Sandbox
When a sandbox job runs and returns a trace_id, the execution panel now
fetches the trace and its spans, builds a tree, and displays it in a
vertically-split resizable layout (tree on top, data viewer on bottom).- AgentRunnerExecutionPanel fetches trace + spans with polling while job runs
- AgentTraceTree renders a condensed virtualized tree with expand/collapse
- Clicking a span shows its input/output/details in TraceDataViewer
- Empty states for no-job, running, and loading
Implements OPIK-5309 and OPIK-5310.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix(agent-sandbox): use horizontal layout for trajectory panel
Tree on left, detail viewer on right instead of stacked vertically.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: revert accidental config.yml change
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix(agent-sandbox): use store selector and reset stale selectedSpanId
- Use per-slice selector for useTreeDetailsStore to avoid unnecessary re-renders
- Reset selectedSpanId when traceId changes to prevent stale span references
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
下载附件