mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor: remove agents TUI (#25190)
This commit is contained in:
@@ -687,23 +687,14 @@ Chats API returns a `Chat` object with conversation-centric fields:
|
||||
|
||||
## CLI changes
|
||||
|
||||
The Tasks CLI (`coder task`) and the Coder Agents CLI are separate. Coder
|
||||
ships an experimental TUI for Coder Agents at `coder exp agents` (planned
|
||||
to graduate to `coder agents` in the May Beta release per
|
||||
[#24432](https://github.com/coder/coder/pull/24432)). The TUI talks to the
|
||||
same `/api/experimental/chats` endpoints documented in this guide; for
|
||||
automation, prefer direct API calls.
|
||||
The Tasks CLI (`coder task`) remains separate from the Coder Agents Chats API.
|
||||
Coder no longer ships an interactive Coder Agents TUI. Use the web UI for
|
||||
interactive chat and direct API calls for automation.
|
||||
|
||||
| Tasks CLI | Chats equivalent |
|
||||
|---------------------|-----------------------------------------|
|
||||
| `coder task create` | `coder exp agents` TUI or `POST /chats` |
|
||||
| `coder task list` | `coder exp agents` TUI or `GET /chats` |
|
||||
| `coder task logs` | `GET /chats/{chat}/stream` (WebSocket) |
|
||||
| `coder task pause` | `POST /chats/{chat}/interrupt` |
|
||||
| `coder task resume` | Send a follow-up message to the chat |
|
||||
|
||||
> [!NOTE]
|
||||
> The Coder Agents CLI today is an interactive TUI rather than a set of
|
||||
> per-action subcommands like `coder task`. Use `curl`, the SDK, or your
|
||||
> HTTP client of choice for non-interactive automation. Dedicated
|
||||
> non-interactive subcommands may be added in a future release.
|
||||
| Tasks CLI | Chats equivalent |
|
||||
|---------------------|----------------------------------------|
|
||||
| `coder task create` | Web UI or `POST /chats` |
|
||||
| `coder task list` | Web UI or `GET /chats` |
|
||||
| `coder task logs` | `GET /chats/{chat}/stream` (WebSocket) |
|
||||
| `coder task pause` | `POST /chats/{chat}/interrupt` |
|
||||
| `coder task resume` | Send a follow-up message to the chat |
|
||||
|
||||
Reference in New Issue
Block a user