Polls pk.sessionProvenance() and displays a live feed of recorded actions with a timeline UI. Ideal for chat apps and multi-step AI workflows where you want users to see provenance building in real time.
- Preview
- Code
What the preview shows
The tracker is loaded with a 6-step AI research workflow session:| Step | Type | Performer | Description |
|---|---|---|---|
| Upload sources | create | Sarah Kim (human) | Source documents uploaded |
| Synthesise | transform | Research Assistant (AI · Claude Opus 4.6) | Extracts key facts from sources |
| Draft summary | create | Research Assistant (AI · Claude Opus 4.6) | Writes the initial report draft |
| Generate chart | create | Research Assistant (AI · GPT-4o) | Produces a supporting data chart |
| Revise | transform | Sarah Kim (human) | Human edits and refinements |
| Finalise | verify | Research Assistant (AI · Claude Opus 4.6) | Combines and verifies the final report |
- Action type chip (create / transform / verify)
- Latest badge on the most recent action
- AI tool badge (violet) when
ext:ai@1.0.0is present - Verified badge (green) when
ext:verification@1.0.0status is"verified" - Relative timestamp
Props
| Prop | Type | Default | Description |
|---|---|---|---|
sessionId | string | — | Session ID to poll |
pollInterval | number | 3000 | Polling interval in milliseconds |
session | SessionProvenance | — | Headless mode — pass session directly |
maxActions | number | 20 | Maximum number of actions to display |
onNewAction | (action: Action) => void | — | Called when a new action is detected |
className | string | — | Additional CSS class |