Skip to content

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.

The Admin guide path: running the console belongs to Admin.

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

  1. Build botserver with the console feature enabled.
  2. Start the console and wait for the state channel to deliver the application state.
  3. Select a panel: FileTree, Editor, Status, Logs or Chat. The active panel is tracked in XtreeUI.
  4. 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.
  5. 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

  1. Exit the console and return to the normal server process.
  2. Rebuild without the console feature if the terminal UI is not wanted in the deployment.
  3. Re-run the Verify table. No repository file is changed by simply running the console.

Deployment settings are in Configuration.