KQ-215 · TRAIN/OF/THOUGHT

Train of Thought

The agent's working shown as a trace: a quiet summary chip — Thought for 4 seconds — that opens into the steps it actually took, cascading in as plain clauses, searches with hit counts, and mono tool lines. The chip is the honest default: reasoning is available, never performed at the reader, and the active step carries a breathing marker so a live trace reads as live.

KQ-215 · TRAIN/OF/THOUGHT
  1. Reading the overnight event rows
  2. Searching crane holds2 holdssearch step
  3. plan.cut({ yard: "north", rev: 3 })
  4. Writing the morning summary

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/train-of-thought

Props

summary
string
default
The chip line, e.g. "Thought for 4 seconds".
steps
ThoughtStep[]
default
The trace: plain steps, searches with counts, mono code lines; one may be active.
open / defaultOpen / onOpenChange
boolean · (open) => void
default
Controlled or uncontrolled disclosure.