The dev tool is part of the client SDK itself — it works with any framework package (
@hexclave/next, @hexclave/react, @hexclave/js, …) and even with the no-bundler <script type="module"> setup that imports from esm.sh. It mounts automatically when you construct a HexclaveClientApp in the browser; there is nothing extra to install or import.When it appears
Visibility is controlled by thedevTool option on your HexclaveClientApp:
"auto" setting, the SDK decides as follows:
- If a build-time
NODE_ENVis available (i.e. you use a bundler), the tool is shown only whenNODE_ENV === "development". - If there is no
NODE_ENV(for example the no-bundler<script type="module">setup), the tool is shown when the page is served fromlocalhostor opened from afile:URL.
The indicator only mounts for a
HexclaveClientApp running in a browser-like environment. It never mounts for a HexclaveServerApp or during server-side rendering.Toggling it from the console
You can force the tool on or off at runtime — this works even in production, and the choice is remembered inlocalStorage for the current browser:
The indicator
The indicator is a small floating button with the Hexclave logo. By default it sits in the bottom-right corner of the page.- Click it to open or close the panel.
- Drag it anywhere; on release it snaps to the nearest corner. Its position is remembered across page loads.
What you can do
The panel is organized into tabs.Overview
See the current user (avatar, name, email, and whether they are authenticated) and the auth methods enabled for your project (password, magic link, passkey, OAuth providers). On
localhost you can Quick Sign Up a throwaway test user, sign out, or spin up a Random User — handy for exercising auth flows without a real account. A setup checklist appears while anything essential (project, active auth method, a signed-in test user) is still missing.Customize
Browse every Hexclave handler page (sign-in, sign-up, forgot password, account settings, and more). Each entry shows whether it uses the built-in handler component, a hosted page, or your own custom component, and flags custom components that are outdated. Open previews a page in a new tab, and copyable prompts let you paste instructions into your coding agent to customize or upgrade a page.
AI
Chat with an assistant for help with Hexclave integration, troubleshooting, and best practices. Suggested questions get you started, and the assistant can call tools to answer with details specific to your project.
Console
A live log of the SDK’s API calls and auth events — method, URL, status, duration, and any errors. Copy the logs to your clipboard, export them to a file, or clear them.
Dashboard
Embeds your project’s local development-environment dashboard right inside the panel. If a local dashboard isn’t running, it links you to the cloud dashboard instead.
Support
Send feedback or file a bug report without leaving your app, and jump to the Discord community, email support, or GitHub.
Turning it off
To hide the indicator entirely, passdevTool: false when constructing your app, or run HexclaveDevTool.disable() in the console. Because the default is "auto", the indicator is already excluded from production builds unless you opted in with devTool: true.