Skip to content
RU
Scale
Density
Theme
Accent

Agent layer

Thinking

What the machine worked out before it answered. Collapsed by default: the answer is what was asked for.

The component
Thought for 4 s
The strip answers when, the share answers how much. One legend can key both.
Markup
<details class="inst-thinking">
  <summary class="inst-thinking-head"><span class="inst-step-twist"></span>Thought for 4 s</summary>
  <div class="inst-thinking-body">The strip answers when, the share answers how much. One legend can key both.</div>
</details>

Contract

What Required Why
A <details> with a <summary> yes Disclosure, the keyboard and the role all come from the platform
Collapsed by default yes Open, it puts the working before the answer on every turn
A duration in the summary no It is the one fact about thinking that is worth a line when it is shut
A tone or a dot no Nothing here can fail

Not a step. A step is a call — a name, arguments, a result, an outcome, and a dot reporting how it ended. Thinking has none of those, and dressed as a step it would promise a status it does not have.

API

Classes
NameWhat it does
class
inst-thinkingThe disclosure. A <details>, collapsed by default
inst-thinking-headThe summary line: how long it took
inst-thinking-bodyThe reasoning, set as an aside
inst-step-twistThe chevron. The kit has one disclosure glyph and it already has a name
Tokens
NameValueWhere from
token
--text-xs0.78125rembase +4: scale
--text-mutedlight-dark(var(--n-8), var(--n-6))one across every cell
--text-secondarylight-dark(var(--n-9), var(--n-5))one across every cell
--leading-ui1.4one across every cell
--hairline1pxbase +1: screen
--borderlight-dark(oklch(0 0 0 / 0.12), oklch(1 0 0 / 0.11))one across every cell
--pad-panelvar(--space-5)base +14: density · scale
--space-36pxone across every cell

Why the kit works this way — the constitution · Open source under MIT, github.com/keshon/instrument