Skip to content

Agent API module should allow disabling the web app #807

@xiphoid24

Description

@xiphoid24

As a new feature the agentapi module should allow for the disabling of the web app. A new boolean variable could exist similar to the existing cli_app variable which can be used to determine the count of the agentapi_web coder_app. Agent modules that use the agentapi module could also have this variable. This will allow developers to further customize the of layout of Coder workspaces. Currently the web app and the cli app both connect to the agentapi so there is no functional difference between the 2.

From our usage, the CLI user experience is greater that the web app. There is no need to switch between text and control modes when interacting with the CLI app. The rendering of the UI is also better with the CLI app (at least when used with Copilot).

Copilot CLI app:

Image

Copilot Web app:

Image

While we can currently enable the CLI app, with no ability to disable the web app it means there are 2 copilot buttons on a workspace with functionally no difference. We have a team that handles the creation of Coder workspace templates for all projects and the addition of features like adding Copilot as an option to workspaces. Allowing us to disable the web app would give us the ability to use the CLI, which has a better UX, while not needing to explain to other developers that there is no difference between the 2 buttons on the workspace, one just looks better

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions