Skip to content

toolmark-monorepo / @toolmark/tour / TourMode

Type Alias: TourMode ​

TourMode = "show" | "guide" | "do"

Defined in: packages/tour/src/types.ts:11

How a tour runs (spec §11.5):

  • show — highlight and explain; the user acts and presses Next.
  • guide — wait for the user's own interaction events on the step's field and validate them through tm.state(); needs a form adapter with onUserInteraction.
  • do — run each step's tool as caller tour (policy and inline confirmation apply) and highlight every changed field.