Console Module (XtreeUI) π‘ BETA
The console is an optional terminal UI in botserver/src/console/: an XtreeUI shell with file tree, editor, status, log and chat panels.
When to use
- Operating a local server from a terminal instead of the suite web UI.
- Watching bootstrap progress and log output while diagnosing startup.
- Editing a bot file in place during a development session.
The console is a Cargo feature, not a web page. It needs a terminal with crossterm/ratatui support and is not a remote administration surface.
Before you start
| Check | Requirement |
|---|---|
| Feature | console = ["automation", "drive", "cache", "dep:crossterm", "dep:ratatui"] in botserver/Cargo.toml. |
| Terminal | An interactive terminal; the UI owns the screen while it runs. |
| Build | Build from source as described in Building from Source. |
| Ports | API 8080, suite 3000, cloud 4000, login 5000 (root AGENTS.md). |
Steps
- Build
botserverwith theconsolefeature enabled. - Start the console and wait for the state channel to deliver the application state.
- Select a panel:
FileTree,Editor,Status,LogsorChat. The active panel is tracked inXtreeUI. - Use the file tree to reach bot files, the log panel to follow server output, and the chat panel to talk to a bot locally.
- Exit the UI cleanly so the terminal is restored.
Verify
| Check | Expected result |
|---|---|
| Panels | Each of the five panels opens and renders without an error. |
| Bootstrap | Progress messages arrive through the progress channel and the status line updates. |
| File tree | Bot files are listed from the configured Drive scope. |
| Logs | Recent log lines are visible; no credential value is displayed. |
| API health | curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/health β 200. |
Roll back
- Exit the console and return to the normal server process.
- Rebuild without the
consolefeature if the terminal UI is not wanted in the deployment. - Re-run the Verify table. No repository file is changed by simply running the console.
Deployment settings are in Configuration.