UAT: agents tui web subcommand missing — Textual Web mode not implemented #6358

Open
opened 2026-04-09 20:16:39 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: TUI Implementation
Spec Reference: §TUI — Web Mode (v3.7.0 deliverable #18)
Milestone: v3.7.0

Summary

The agents tui web command for launching Textual Web mode is entirely absent from the CLI. The spec requires a web subcommand that serves the TUI over a browser-accessible port, but no such subcommand exists and no textual-web integration is implemented.

Spec Requirements

Per §TUI — Web Mode (v3.7.0 deliverable #18):

  • agents tui web launches Textual Web mode
  • The TUI is accessible via a browser at a configured port

Per the acceptance criteria (§TUI — Acceptance Criteria, deliverable #18):

"Web mode accessible via browser at configured port"

What Was Found

Code location: /app/src/cleveragents/cli/commands/tui.py

The entire CLI entry for TUI is:

app = typer.Typer(help="Launch the Textual TUI.")

@app.callback(invoke_without_command=True)
def tui_callback(
    headless: Annotated[bool, typer.Option("--headless", ...)] = False,
) -> None:
    """Launch the CleverAgents TUI."""
    from cleveragents.tui.commands import run_tui
    raise typer.Exit(run_tui(headless=headless))

There is no web subcommand defined on the app typer instance. No @app.command("web") exists.

Code location: /app/src/cleveragents/tui/commands.py

run_tui() (lines ~220–238) has only a headless flag:

def run_tui(*, headless: bool = False) -> int:
    ...
    app = CleverAgentsTuiApp(command_router=router, persona_state=state)
    app.run()
    return 0

No web=True flag, no textual.app.App.run_async(web=True) call, no textual serve integration, and no port configuration exists.

No textual-web package reference exists in the project's dependencies (not in pyproject.toml or any extras definition).

Expected Behaviour

  • agents tui web (or agents tui --web) launches the Textual app in web mode
  • The TUI is accessible via a browser (e.g. http://localhost:8000)
  • Port is configurable (via --port option or settings)

Actual Behaviour

  • agents tui web produces No such command 'web' (typer error)
  • No browser-accessible TUI mode exists
  • textual-web is not listed as a dependency

Steps to Reproduce

agents tui web
# Error: No such command 'web'.

Impact

This is a v3.7.0 deliverable #18. The Textual Web mode is entirely absent. Users requiring browser-based TUI access (e.g. remote development, headless servers) cannot use this feature.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report **Feature Area**: TUI Implementation **Spec Reference**: §TUI — Web Mode (v3.7.0 deliverable #18) **Milestone**: v3.7.0 ### Summary The `agents tui web` command for launching Textual Web mode is entirely absent from the CLI. The spec requires a `web` subcommand that serves the TUI over a browser-accessible port, but no such subcommand exists and no textual-web integration is implemented. ### Spec Requirements Per §TUI — Web Mode (v3.7.0 deliverable #18): - `agents tui web` launches Textual Web mode - The TUI is accessible via a browser at a configured port Per the acceptance criteria (§TUI — Acceptance Criteria, deliverable #18): > "Web mode accessible via browser at configured port" ### What Was Found **Code location**: `/app/src/cleveragents/cli/commands/tui.py` The entire CLI entry for TUI is: ```python app = typer.Typer(help="Launch the Textual TUI.") @app.callback(invoke_without_command=True) def tui_callback( headless: Annotated[bool, typer.Option("--headless", ...)] = False, ) -> None: """Launch the CleverAgents TUI.""" from cleveragents.tui.commands import run_tui raise typer.Exit(run_tui(headless=headless)) ``` There is no `web` subcommand defined on the `app` typer instance. No `@app.command("web")` exists. **Code location**: `/app/src/cleveragents/tui/commands.py` `run_tui()` (lines ~220–238) has only a `headless` flag: ```python def run_tui(*, headless: bool = False) -> int: ... app = CleverAgentsTuiApp(command_router=router, persona_state=state) app.run() return 0 ``` No `web=True` flag, no `textual.app.App.run_async(web=True)` call, no `textual serve` integration, and no port configuration exists. No `textual-web` package reference exists in the project's dependencies (not in `pyproject.toml` or any extras definition). ### Expected Behaviour - `agents tui web` (or `agents tui --web`) launches the Textual app in web mode - The TUI is accessible via a browser (e.g. `http://localhost:8000`) - Port is configurable (via `--port` option or settings) ### Actual Behaviour - `agents tui web` produces `No such command 'web'` (typer error) - No browser-accessible TUI mode exists - `textual-web` is not listed as a dependency ### Steps to Reproduce ```bash agents tui web # Error: No such command 'web'. ``` ### Impact This is a **v3.7.0 deliverable #18**. The Textual Web mode is entirely absent. Users requiring browser-based TUI access (e.g. remote development, headless servers) cannot use this feature. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 21:09:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6358
No description provided.