018176915b
A surface-agnostic walkthrough engine plus the API that drives it. collectTourTargets scans any document for addressable elements and marks each selector stable (identity-based, survives a re-render) or positional; runTourEngine turns one action into a driver.js highlight, a multi-step tour, or a step change. Both are written self-contained — no imports, no closures — so the same source runs in the renderer and, stringified, inside a webview guest page. Popovers are repainted from the app's own theme tokens, so tours follow every theme and custom skin. The named verbs (startTour, showTourStep, nextTourStep, …) are the public API: the agent tool is one caller, and a feature can ship its own curated tour through the same entry.