Mixins / foldkit-mixins-ui

ThinkingStep

interface · packages/mixins-ui/src/thinkingSteps.ts:66

interface ThinkingStep {
  readonly id: string
  readonly title: string
  readonly state: StepState
  readonly duration?: number | undefined
  readonly icon?: Html | undefined
  readonly href?: string | undefined
  readonly trailing?: Html | undefined
  readonly detail?: Html | string | undefined
  readonly steps?: ReadonlyArray<ThinkingStep> | undefined
}

Members

ThinkingStep.id

property · packages/mixins-ui/src/thinkingSteps.ts:68

readonly id: string

Unique within the trace, and part of its elements' ids.

ThinkingStep.title

property · packages/mixins-ui/src/thinkingSteps.ts:70

readonly title: string

The step's name; always text.

ThinkingStep.state

property · packages/mixins-ui/src/thinkingSteps.ts:71

readonly state: StepState

ThinkingStep.duration

property · packages/mixins-ui/src/thinkingSteps.ts:73

readonly duration?: number | undefined

How long it took, in milliseconds.

ThinkingStep.icon

property · packages/mixins-ui/src/thinkingSteps.ts:75

readonly icon?: Html | undefined

Drawn in the marker in place of the state's mark; the state still tints it.

ThinkingStep.href

property · packages/mixins-ui/src/thinkingSteps.ts:80

readonly href?: string | undefined

Makes the title a link, as a citation or a source is. Such a step is no toggle (a link cannot sit in a button), so its detail always shows.

ThinkingStep.trailing

property · packages/mixins-ui/src/thinkingSteps.ts:82

readonly trailing?: Html | undefined

Drawn after the row's head, outside its button: a badge, a count, a Retry button.

ThinkingStep.detail

property · packages/mixins-ui/src/thinkingSteps.ts:84

readonly detail?: Html | string | undefined

What it found or did: a tool call's input and output, a passage of reasoning.

ThinkingStep.steps

property · packages/mixins-ui/src/thinkingSteps.ts:85

readonly steps?: ReadonlyArray<ThinkingStep> | undefined