Skip to content

Dev Chat Widget 🟑 BETA

What it is. An older name for a chat widget embedded in a developer's own app. No such widget ships in the current tree: search of botui/ui/suite/ finds no dev-chat module, no DEV_MODE flag and no separate widget bundle. The supported chat surface is the Chat app inside the suite shell.

Open it. Open the shell and choose Chat from All Apps. There is no developer-widget route to open.

Do this. Use the Chat app for the same task, and the browser's own developer tools for page and network inspection.

Overview

Claim in older revisions Current source
A floating developer chat widget No widget module in botui/ui/suite/
A DEV_MODE switch No such flag in suite JavaScript
A separate widget WebSocket Chat uses the same /ws transport as the shell

Activating Dev Mode

There is no activation flag to set. Browser developer tools are provided by the browser, not by General Bots.

Usage

Opening the Chat

Open the suite shell, choose All Apps, then Chat. The composer accepts text; Send posts the message.

Closing

Close the Chat window in the shell's window manager. The conversation history stays in the sidebar.

Quick Actions

The real quick actions are the Chat composer controls: Attach file, the web-search toggle and the model picker. No developer-only action list is defined.

Example Commands

Query Data

Ask the bot in Chat. Data queries run as tools or BASIC keywords, not as a separate developer command channel.

Modify App

App changes are source changes in botui/ui/suite/<app>/ and the matching registry entry. Refresh the suite; no widget-side edit path exists.

File Operations

Use Drive to upload a file and Use in chat to attach it to a conversation.

Adding to Your App

Automatic (Dev Mode)

Not available: there is no automatic widget injection in the suite shell.

Manual

To embed chat in your own page, use the bot's normal chat route in an iframe or link to the shell. No supported dev-widget script tag exists.

Data Storage

Conversation state belongs to the session on botserver. The browser keeps only shell state such as the selected theme and language.

WebSocket Connection

The Chat app uses the same /ws transport described in WebSocket Protocol. No widget-specific connection exists.

File Change Indicators

The shell has no file-watch indicator. Watch the repository with your own tooling when editing source.

JavaScript API

Only the shell's own window-manager and window APIs are public to apps. There is no documented dev-widget JavaScript API.

Keyboard Shortcuts

Use the shell shortcuts listed in the Suite User Manual. No widget-specific shortcuts are defined.

Styling

The Chat app uses the --id-* tokens. Do not add inline styles or external stylesheets to a custom page.

Security

Authentication and role checks apply to Chat like any other app. Do not document a developer bypass: none exists in the source.

Troubleshooting

Widget Not Appearing

Expected: there is no widget. Open Chat from the launcher instead.

Connection Failed

Check the API service and the /ws route, then reload the shell. See WebSocket Protocol.

Commands Not Working

Check that the tool or BASIC keyword exists in source before documenting it as available.

See Also