- feat(sidebar): export format for embedders
herdr's trace detail panel needs duration_ms and age. Keeping format
crate-private forces embedders to reimplement them, and a second
implementation drifts from what the cards render.
- feat(sidebar): export style and per-card trace spans
A host embedding the cards needs both: CardCtx names
style::AgentAppearances, so a card cannot be built without that module,
and a host that draws the cards has to hit-test their trace rows.
expanded_card_with_traces already computed the (toolUseId, line) pairs
and expanded_card discarded them. Recovering row positions from the
rendered lines instead would be a second implementation of
selectable_call's rules, free to drift from the one that rendered them.
No behavior change; visibility only.
What's Changed
- feat(sidebar): export format for embedders by @winoooops in #4
Full Changelog: v0.2.7...v0.2.8