Skip to content

@super-assist/react/devtools

Field Value
Import @super-assist/react/devtools
Requires @assistant-ui/react-devtools, an optional peer of @super-assist/react
Export Kind Description
AssistedDevtools Component assistant-ui’s DevToolsModal with assistedPagesPlugin as its plugin. No props.
assistedPagesPlugin Devtools plugin The tab, made with createDevToolsPlugin. Id assisted-pages, label “Assisted pages”.
  • Render either inside AssistedProvider. Outside it, the tab reads “No AssistedProvider here.”.
  • DevToolsModal renders nothing in production builds.

The tab re-reads every second while it is mounted.

Section Shows
Page The open assisted page’s name, or “No assisted page is open.”.
Note the next turn sends The open page’s note.
get_page_content answers now What get_page_content answers, called each second, or “The page lends no content.”.
Actions The open page’s actions.
Fields The open page’s field tools, each with what every field says now.
Page tools The open page’s tools.
Global tools Every other lent tool, the built-ins included.
Destinations Each destination’s name and path, when the provider has destinations.

Each listed tool shows its name, a ring or confirm chip read from its markers, id: <ids> for a grouped action or field, and its description. A field tool also shows <id> now <value> for each field, or now <value> for a field without an id. Tools that have left are not listed.