The Open Standard for Generative UI
fix: update devtools docs (#1040)
AB23a13434f071
diff --git a/docs/content/docs/api-reference/devtools.mdx b/docs/content/docs/api-reference/devtools.mdxindex ebb543759..1377f6336 100644--- a/docs/content/docs/api-reference/devtools.mdx+++ b/docs/content/docs/api-reference/devtools.mdx@@ -14,19 +14,19 @@ Development-only UI widget for OpenUI apps. Renders a floating button that opens## Install```bash tab="pnpm" tab-group="pkg"-pnpm add -D @openuidev/devtools @openuidev/observability+pnpm add -D @openuidev/devtools``````bash tab="bun" tab-group="pkg"-bun add -d @openuidev/devtools @openuidev/observability+bun add -d @openuidev/devtools``````bash tab="yarn" tab-group="pkg"-yarn add -D @openuidev/devtools @openuidev/observability+yarn add -D @openuidev/devtools``````bash tab="npm" tab-group="pkg"-npm install -D @openuidev/devtools @openuidev/observability+npm install -D @openuidev/devtools```## `OpenUIDevtools`@@ -56,3 +56,4 @@ function App() {| `errorsOnly` | `true` | Capture only error/warning events, or every event. || `autoOpenOnError` | `true` | Initial state of the drawer's "auto-open on error" checkbox. || `bus` | shared singleton | An `Observability` instance to listen to. |+| `theme` | `"light"` | `"light"` or `"dark"` theme for the drawer. |diff --git a/docs/content/docs/openui-lang/developer-tools.mdx b/docs/content/docs/openui-lang/developer-tools.mdxindex 1110758cd..ee0c9be2f 100644--- a/docs/content/docs/openui-lang/developer-tools.mdx+++ b/docs/content/docs/openui-lang/developer-tools.mdx@@ -5,15 +5,11 @@ description: Use Inspect and Debug in development to watch streams, catch errorsOpenUI Developer Tools sit on your running app in development. They do not change production behavior. Two trays share a floating button: **Inspect** shows what the runtime is doing, and **Debug** lets you try OpenUI Lang against the same library the user sees.-<img- src="/images/api-reference/devtools.gif"- alt="OpenUI DevTools drawer displaying captured events in an OpenUI app"- className="w-full rounded-lg border"-/>+See the [`@openuidev/devtools` API reference](/docs/api-reference/devtools) for install, props, and a walkthrough of the widget.## Installation-Apps created with `@openuidev/cli` already mount the widget. If you use `@openuidev/react-lang`, it also auto-mounts in development — look for the Shiro button in the bottom-right corner.+Apps created with `@openuidev/cli` already mount the widget. If you use `@openuidev/react-lang`, it also auto-mounts in development — look for the OpenUI Logo in the bottom-right corner.To add it to an existing app, install the package as a dev dependency: