Skip to main content
Glama
README.md
[English](README.md) | [Deutsch](README.de.md) | [Español](README.es.md) | [Français](README.fr.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Русский](README.ru.md) | [简体中文](README.zh-CN.md) | [繁體中文](README.zh-TW.md)

# ChannelTerm

**Serial and SSH terminals for everyday work and device debugging**

Use the GUI or CLI on Windows, Linux or macOS without an AI client. Through MCP, an authorized Agent can read a terminal or run independent SSH file transfers unattended. People can observe device output and take over a shared terminal. Multiple Agents can have separate credentials, grants and revocation.

Save a serial or SSH endpoint under a nickname and choose which Agent credentials may discover it. Once the Host verifies the binding, an Agent can use the nickname to read terminal output, send raw input, or transfer files according to its separate permissions. Connections are manual by default. An administrator can let an Agent request a pinned SSH login for this Host lifetime or after the designated Host restarts. The administrator can separately approve terminal operations and specific file transfers so the Agent can start new work after that restart. Device tasks are never replayed. In Saved Channels, an administrator can inspect each Agent’s effective permissions and revoke an operation across temporary and persistent grants. The same controls are available headless with `channelterm grants`. [Manage saved Channels](docs/reference/cli.md#saved-channels).

Use GDB to let AI set breakpoints, step through Linux programs, and inspect variables. Connect the serial port on Windows and run GDB in WSL2, or keep the shared console open while GDB uses the board's Ethernet connection. An Agent needs the `rsp` grant on the serial registration to open an external GDB bridge. [Choose a debugging setup](#gdb-debugging).

For short boot windows, let the Host interrupt U-Boot and verify the prompt. Export a diagnostic ZIP with optional raw bytes when investigating failures. Agents need the `uboot` grant on the serial registration. [U-Boot and diagnostic workflow](docs/getting-started/serial-terminal.md#enter-u-boot-and-export-evidence).

All Sessions now use authenticated operation control. Current CLI/Electron clients adapt automatically; older writers and unregistered stdio must migrate. Human takeover stops conflicting terminal operations before recovery. Agent input on that terminal stays paused until explicitly allowed. Separately authorized SSH file transfers can continue or start during takeover. Unknown recovery can close the Session; interrupted input is never replayed. See the [migration guide](docs/getting-started/http-authentication-migration.md#default-controlled-sessions).

In Electron, **Block AI access** protects a saved connection across reconnects. After a temporary takeover, an interrupted agent can wait up to three minutes by default for explicit release. See the [terminal directory and controls](docs/reference/gui-menus.md#terminal-directory-and-naming).

From the Electron welcome page, open **AI Integration** to register the connected Host with Codex, Claude Code or Pi. OpenCode uses manual setup. New agents need explicit permission to read a terminal. Writes are disabled by default. Under **Agent identities**, open **Agent permissions** to grant device operations on this Host. [Connect an agent](docs/reference/gui-menus.md#ai-integration).

## Why ChannelTerm?

Keep your terminal open while the AI works with the same device connection:

```text
                         +---- Human terminal
                         |
Serial device ---- Session
                         |
                         +---- AI / MCP client
```

Each observer has an independent output cursor. An attached CLI previews new Agent input. Electron shows device output and identifies the source and byte count of writes in its Activity panel. [External debugger visibility](#gdb-debugging).

## What It Enables

- **Share the console:** human CLI and AI/MCP clients use one serial or SSH Session.
- **Follow the work:** Follow Agent input in the attached CLI alongside device output.
- **Debug Linux programs:** use managed GDB, a serial bridge, or GDB over the network.
- **Move files:** transfer over a shared serial Session with SHA-256 checks, or use dedicated SFTP/SCP connections.
- **Start with one attachment:** `channelterm attach` can create the local shared Host automatically.

## Installation

Download the archive for your operating system and architecture from
[Releases](https://github.com/akira-init1/ChannelTerm/releases) and verify it against that release's
`SHA256SUMS`. Extract it, then run `.\channelterm.exe install` on Windows or `./channelterm install`
on Linux/macOS from the extracted directory. Prebuilt binaries do not require Go.

Building from source requires Go 1.26 or newer. Use a currently supported patched Go toolchain,
then build the native executable from the repository root:

```bash
git clone https://github.com/akira-init1/ChannelTerm.git
cd ChannelTerm
go build ./cmd/channelterm
./channelterm install
```

`install` copies the running binary into the current user's standard program location, creates the
`channelterm` and `cterm` commands, adds that location to the user PATH only when necessary, and
initializes a missing minimal configuration. Open a new terminal when it reports a PATH change.
`channelterm uninstall` removes the installer-owned commands and PATH change while preserving user
data; `channelterm uninstall --purge` requires explicit confirmation before deleting configuration,
device state, and the local HTTP credential.

Supported desktop targets are Windows, Linux, and macOS on amd64/arm64. See [Build and install from source](docs/getting-started/build.md), the exact
[`install` / `uninstall` contract](docs/reference/cli.md#install-and-uninstall), and
[configuration locations](docs/reference/configuration.md). Repository checks and cross-build
scripts are covered by [Building and testing](docs/development/building-and-testing.md).

The unsigned release candidate was validated for controlled use on Windows amd64 and Linux amd64 (WSL2). [Platform validation and remaining checks](docs/development/building-and-testing.md#release-candidate-validation-at-7b30bbc).

## Quick Start: One Command, One Terminal

List detected serial devices, saved profiles, and Sessions from the default HTTP Host when it is
available:

```bash
channelterm list
```

A running Host is optional. When it is unavailable, `list` reports MCP as offline and still shows
local devices and profiles.

See the [CLI reference](docs/reference/cli.md#list) for the complete option contract.

Optional Agent setup. For human-only use, skip directly to the platform command below. Choose HTTP below to register an installed Agent with its own identity. Set the indicated environment variable from its private credential file, then reload the Agent. For manual or remote setup, use `channelterm agent add`. Writing requires an explicit grant. [MCP](docs/getting-started/http-authentication-migration.md).

The Host starts with its Master Valve closed. An operator can run `channelterm valve open` to permit already-authorized AI device access and `channelterm valve close` to block it.

```bash
channelterm init --mcp
```

Then run the command for the current platform:

```bash
# Windows
channelterm attach COM8 --baud 115200 --label board

# Linux
channelterm attach /dev/ttyUSB0 --baud 115200 --label board

# macOS
channelterm attach /dev/cu.usbserial-110 --baud 115200 --label board
```

That single `attach` command opens the serial device and attaches the current terminal. When no
compatible Host is already running at the default endpoint, it also starts a temporary local HTTP
MCP Session Host automatically. Look for the Session reference and ID in the startup output:

```text
Shared Session created: SER-1 (0123456789abcdef0123456789abcdef)
```

To share this temporary terminal's output with an HTTP Agent, grant it read access for the current registration. Repeat after reconnecting. To send input, also enable writes for that Agent and grant write access on this registration. [Grant temporary terminal access](docs/reference/cli.md#temporary-session-terminal-access).

No separate MCP-server terminal is required for this quick path. While the attachment remains open,
a configured HTTP MCP client can use `http://127.0.0.1:37099/mcp` and operate the same `SER-1`.
The temporary Host and every Session it owns stop when the creating attachment exits.

`--label board` is an optional display name, not an identifier. Use `SER-1` or the opaque Session ID
when another client needs to refer to the Session.

### After the last terminal leaves

Start one of these Hosts in a separate terminal before connecting. With default configuration, the
outcomes below apply when the last human terminal leaves normally with `Ctrl+] q` and no other client
or task uses the Session.

| Goal | Host command | Result |
| --- | --- | --- |
| Release the serial port after use | `channelterm mcp --transport http` | The port is released immediately. An SSH Session closes, so its shell cannot be rejoined. The Host exits after about 30 seconds of complete inactivity. |
| Keep only the Host ready | `channelterm mcp --transport http --idle-exit-timeout 0s` | The Host keeps listening and releases the port or SSH Session immediately. The next SSH connection opens a new shell. |
| Keep the Host and existing Sessions | `channelterm mcp --transport http --idle-session-timeout 0s --idle-exit-timeout 0s` | The port stays occupied. You can reattach to the same SSH shell while the Host and SSH connection are running. |

Once the Host prints `MCP Streamable HTTP listening on http://127.0.0.1:37099/mcp`, it can accept
clients and may stay silent. For SSH, open the shell from another terminal with
`channelterm ssh user@host.example --shared`. To rejoin a retained shell, use its printed reference,
for example `channelterm attach SSH-1`. Press `Ctrl+C` in the Host terminal to close all its Sessions.

### Common workflows

| Goal | Command |
| --- | --- |
| Open a shared serial Session and auto-start a temporary Host | `channelterm attach COM8 --baud 115200` |
| Configure a supported AI client for the shared HTTP Host | `channelterm init --mcp` |
| List or join an existing Session | `channelterm list --kind session` then `channelterm attach SER-1` |
| Open a private serial connection with no MCP sharing | `channelterm attach COM8 --private --baud 115200` |
| Watch structured Session activity | `channelterm events SER-1` |
| Open the guided file-transfer menu in the current shared attachment | Press `Ctrl+]`, then press `f` |
| Send or receive through a shared Session | `channelterm file send firmware.bin --session SER-1` or `channelterm file receive /tmp/log.txt ./log.txt --session SER-1` |

During ordinary terminal use, outside a file transfer or debugger takeover:

```text
Ctrl+C      Send 0x03 to the remote terminal
Ctrl+] q    Leave this CLI; an attachment-owned temporary Host also stops
Ctrl+] ?    Show local escape help
```

See the [CLI reference](docs/reference/cli.md#attach) for all local controls and the [MCP workflow](docs/getting-started/mcp-server.md) for client setup and Agent access to operator-opened Sessions.

Monitor registered Agent calls from a separate terminal with `channelterm agent activity --watch` or use **View > Agent Activity** in the desktop app. Both read the same Host snapshot. [Monitor Agent activity](docs/getting-started/mcp-server.md#monitor-agent-activity).

For reusable workflow guidance, install the bundled
[`cterm-serial-debug` Agent Skill](docs/getting-started/mcp-server.md#install-the-bundled-agent-skill)
in an Agent Skills-compatible client. `channelterm init --mcp` configures MCP clients but does not
install the Skill.

The HTTP server requires registered Bearer credentials and defaults to a loopback-only listener. Local CLI/Electron clients use a separate management credential; AI clients use independent credentials with explicit write grants. It can also [listen on a trusted LAN](docs/getting-started/mcp-server.md#listen-on-a-lan); remote clients send their own credential through the `Authorization` header. Do not expose the endpoint without TLS and separate network access controls.

<a id="example-workflows"></a>
<a id="embedded-linux-debugging"></a>
<a id="ai-operates-human-observes"></a>
<a id="human-intervenes"></a>

## A Shared Terminal in Practice

For this example, enable Host writes for the Agent and grant `exec` on the verified terminal registration.

On the executing Host, open the Master Valve, check the Channel Valve and approve `terminal.exec` for this Agent and registration with `channelterm collab start`. All clients using that Agent credential share the approval. Restarting the Host ends it. [CLI workflow](docs/reference/cli.md#approve-an-agent-on-a-terminal).

This example uses a client that supplies the required terminal control metadata. A standard MCP client sending only the target and command cannot currently run `terminal_exec`.

An attached CLI renders an Agent command as a local `AI` activity block. `terminal_exec` keeps that
command out of an idle Bash prompt's history; the lines after the block are still the device's raw
terminal output, and the human can type again when the short command lease is released:

```bash
root@board:~#

──────── AI ────────
[18:52:31] >> echo agent-check
────────────────────
agent-check
root@board:~# echo human-still-here
human-still-here
root@board:~#
```

The exact command output depends on the connected device. The `AI` block is local presentation
derived from structured Session events; it is not inserted into the device byte stream or stored
terminal output. Raw keys and interactive programs still use `terminal_write` and retain the
device's normal history behavior.

## Shared SSH shell

Connect using an authorized private key (encrypted keys prompt for a passphrase) or enter your
login password when prompted. Passwords and key passphrases are not saved. For an unknown server,
verify its displayed fingerprint and enter `yes` to save its public
key in `~/.ssh/known_hosts`; changed keys are rejected. Prompts require an interactive terminal:

```bash
# Terminal 1: open the shell; then run uname -a at its prompt.
channelterm ssh user@192.168.1.50

# Terminal 2: observe and use the same shell.
channelterm attach SSH-1

# In a third terminal, open another SSH target on the same Host.
channelterm ssh user@192.168.1.51 --shared
```

Keep the first command running: exiting it closes this Host and its Sessions. The default local sharing port must be free; use `--listen` and the printed attach endpoint for a separate Host. See the [SSH workflow](docs/getting-started/ssh-terminal.md) for key paths, host verification, ports, and current limits.

## Files over SSH

Use SFTP for file transfer and remote file management, or legacy SCP for compatible POSIX servers:

```bash
channelterm sftp user@192.168.1.50 ls /tmp
channelterm sftp user@192.168.1.50 put ./firmware.bin /tmp/firmware.bin
channelterm sftp user@192.168.1.50 get /tmp/log.txt ./log.txt
channelterm scp user@192.168.1.50 put ./release /tmp/release --recursive
```

The Electron GUI also offers SFTP/SCP progress and cancellation from an open SSH Session's
Send/Receive actions. For a single SFTP file, select the resume option or repeat the CLI command
with `--resume`; the existing prefix and complete file are verified. SCP and directories cannot
resume. See the [SSH file workflow](docs/getting-started/file-transfer.md#electron-sftpscp-progress-and-resume).

These commands use the same key/password authentication and host verification as SSH, with a
dedicated connection independent of terminal Sessions. Replacing existing files requires
`--overwrite`. See [file transfer](docs/getting-started/file-transfer.md#sftp-and-scp-over-ssh)
for directory semantics, cancellation, and protocol limits.

Transfers over shared terminal Sessions use a small Linux-shell protocol. Dedicated SSH file
connections use SFTP or legacy SCP.

<a id="ai-files-and-local-controls"></a>

## Files over a shared Session

That shared serial Session can also transfer regular files and directories without an AI client or a separately installed board-side transfer agent. In an active shared `attach`, press `Ctrl+]` and then `f` to open the guided send/receive menu. Directories use standard tar and acknowledged, cancellation-friendly chunks; the same operations are available as commands:

```bash
channelterm file send firmware.bin --session SER-1
channelterm file receive /tmp/log.txt ./log.txt --session SER-1
channelterm file send ./build/release /tmp/release --session SER-1
channelterm file receive /var/log/myapp ./myapp --session SER-1
```

Transfers require an idle Linux shell with the utilities listed in the [file-transfer workflow](docs/getting-started/file-transfer.md). They verify SHA-256 and select a new name instead of overwriting an existing destination. During a transfer, `Ctrl+C` in a shared attachment asks for cancellation; other writers remain blocked until cleanup releases the lease.

GUI and CLI file transfers default to Base64, requiring `base64` and `tr` on the device.
Use `--wire raw` only for compatible eight-bit links without XON/XOFF; file contents remain unchanged.

Opt-in resumable transfers support files and directories in both directions, including manual recovery after GUI/Host restart. Enable the GUI checkpoint option or use `--resumable`, then `file resume JOB_ID --session SESSION`. See the [resume workflow](docs/getting-started/file-transfer.md#manual-resume-for-serial-files-and-directories) for snapshots, validation and uncertain publication.

AI clients can use the single `file_transfer` MCP tool for Host-local files, multiple selections,
directories and optional TAR/gzip bundles over serial or SSH. Enable a dedicated Host transfer root
and authorize the client for the target, protocol and direction. See the [managed transfer workflow](docs/getting-started/file-transfer.md#managed-mcp-transfers).
With a per-Session grant, an agent can use the existing SSH login for SCP or SFTP without receiving credentials.

<a id="gdb-debugging"></a>

## Remote debugging with GDB

Choose how the debugger reaches your Linux program. Each path needs tools and symbols compatible with the target.

| Path | GDB connection | Console / Session during debugging |
| --- | --- | --- |
| [Serial bridge](#gdb-serial-bridge) | Workstation GDB → ChannelTerm → board serial port; Windows + WSL2 example below | Reserved for GDB until restored |
| [Serial console + TCP](#gdb-serial-tcp) | Workstation GDB → board network interface; WSL2, Linux, Windows, or macOS with compatible GDB | Available for independent shell/log work |
| [Managed GDB/MI](docs/getting-started/gdb-debugging.md#managed-native-linux-prerequisites) | MCP tools control GDB; Host, shell, tools, and ELF must share one native Linux environment. A local operator or nondelegated human manager can use a non-root Host and shell. Target grants for ordinary Agents are unavailable. | The selected Session is reserved during debugging |

<a id="gdb-serial-bridge"></a>

### Serial GDB bridge: Windows + WSL2

**Windows connects the serial port; WSL2 runs GDB; the AI coordinates remote debugging.** The Windows ChannelTerm Host keeps the COM port and shared Session open. A target-compatible GDB in WSL2 connects through the Linux `channelterm rsp-client` helper and the authenticated TLS/TCP bridge to the board's Linux gdbserver.

**Control and observation**

```mermaid
flowchart TB
    AI["AI client"]
    Human["Human terminal"]
    Host["Windows<br/>ChannelTerm Host"]
    GDB["WSL2 / Linux<br/>Target-compatible<br/>GDB"]
    AI -->|"MCP:<br/>prepare and manage"| Host
    AI -->|"Process tool:<br/>GDB commands"| GDB
    Human ---|"attach / AI reports"| Host
```

**RSP data path**

```mermaid
flowchart TB
    GDB["WSL2 / Linux<br/>Target-compatible<br/>GDB"]
    Helper["Linux channelterm<br/>rsp-client"]
    Host["Windows ChannelTerm Host<br/>COM port"]
    Board["Linux board<br/>gdbserver"]
    GDB <--> Helper
    Helper <-->|"TLS/TCP"| Host
    Host <-->|"Serial RSP"| Board
```

Keep your Windows serial driver and Linux toolchain: the serial device stays on Windows, and the board needs no network GDB port.

1. On Windows, configure the AI client with `channelterm init --mcp` (HTTP), then open the board, for example `channelterm attach COM8 --baud 115200`. Use the board's confirmed serial settings and keep the owning Host running.
2. Following the [bridge preparation steps](docs/getting-started/gdb-debugging.md#prepare-and-open), save the TTY state, prepare a compatible `gdbserver --once stdio` on the board, and call `debug_bridge_start` through MCP. The AI also needs a process execution tool to run GDB in WSL2.
3. In WSL2, use Linux ChannelTerm and target-compatible GDB with the matching ELF. Save the private connection descriptor as `bridge.json` in WSL's filesystem (`chmod 600`). The [WSL2 guide](docs/getting-started/gdb-debugging.md#connect-independent-gdb-from-wsl2) covers networking and paths. Replace the descriptor path below:

```text
(gdb) target remote | channelterm rsp-client --connection /home/EXAMPLE/private/bridge.json
(gdb) break main
(gdb) continue
(gdb) next
(gdb) backtrace
(gdb) detach
```

4. On Windows, use `channelterm gdb-list` or `channelterm gdb-list --json` to see bridge ports and states. After GDB detach, confirm the board has returned to its shell and call `debug_bridge_restore` with the saved TTY state to resume shared terminal use.

For this serial bridge, AI can publish actual commands and observations through `debug_bridge_report` so you can follow them in the attached terminal. Entries are labelled AI reports, not a complete automatic GDB transcript.

<a id="gdb-serial-tcp"></a>

### Shared serial console + GDB over Ethernet

Keep the serial console available for shared logs and shell work while GDB uses the network. The serial Host and GDB can be on the same computer or different computers; choose each environment's serial driver and target toolchain independently.

```mermaid
flowchart TB
    AI["AI client"]
    Human["Human terminal"]
    Host["ChannelTerm Host"]
    GDB["Workstation GDB<br/>WSL2 / Linux<br/>Windows / macOS"]
    subgraph Board["Linux board"]
        Console["Serial shell / logs"]
        Server["gdbserver"]
    end
    Human ---|"attach"| Host
    AI -->|"MCP"| Host
    AI -->|"Process tool:<br/>GDB commands"| GDB
    Host <-->|"Serial"| Console
    GDB <-->|"TCP / Ethernet"| Server
```

Keep gdbserver running independently of the interactive serial shell if you want to continue issuing shell commands. Load the matching ELF in workstation GDB, then connect over a restricted network as below (replace `TARGET_IP` and the port). See the [serial-console + TCP workflow](docs/getting-started/gdb-debugging.md#shared-serial-console-with-tcp-gdb) for target startup, application I/O, and SSH tunnelling.

```text
(gdb) target remote TARGET_IP:2345
```

This TCP path uses gdbserver directly, without `rsp-client` or `debug_bridge_*`. Human and AI see the shared serial activity; external GDB commands/results remain in the debugger's own output and are not automatically mirrored into the serial attachment.

Managed GDB/MI and the external bridge have real GDB/gdbserver coverage on Linux PTYs in CI. See the [full workflow](docs/getting-started/gdb-debugging.md) for setup, compatibility, SSH alternatives, and recovery.

## How It Works

```text
Human CLI -----+
               +--> Session Host --> Session <--> Channel <--> Serial / SSH endpoint
AI via MCP ----+                         |
                                        +-- retained output, activity, events
                                        `-- serialized writes
```

The Session Host owns connections and Session lifetimes. A Serial or SSH Transport establishes a protocol-neutral Channel; Session reads that Channel, retains bounded output, activity, and events in memory, and serializes writes. CLI and MCP adapters reuse the same Core behavior. Presentation such as highlighting and the `AI` activity block stays outside stored terminal data.

Readers have independent cursors. Raw writes are serialized but do not coordinate shell commands; application leases temporarily block other writers during command execution, transfers, and debugging. See [shared Sessions](docs/getting-started/shared-session.md) for ownership and concurrency.

Shared references such as `SER-1` are valid only within the owning Host process. Stopping that Host closes its Sessions. A secondary attachment can leave independently. Exiting the attachment that owns a temporary Host, or the SSH command that created its Host, also closes that Host and its Sessions. See the [architecture overview](docs/architecture/overview.md) for the layer boundaries.

## Configuration

`config.toml` contains user-owned serial profiles and connection policy; `state.json` stores managed device identity. `http-host.json` selects an independent HTTP client registry using a public Host ID. Client tokens are private credentials; never share or commit them.

```powershell
# Save and reuse a serial profile.
channelterm serial --port COM8 --baud 115200 --save board
channelterm serial --profile board

# Select a different config.toml for this operation.
channelterm serial --config ./channelterm.toml --profile board
```

Common options are `--profile`, `--save`, `--config`, `--port`, and `--baud`; the MCP Host also
accepts `--connection-policy ask|auto|deny`. `--config` changes only the selected `config.toml`, not
the default `state.json` or `http-host.json`. See [Serial profiles](docs/getting-started/serial-profiles.md)
and the [configuration reference](docs/reference/configuration.md) for complete fields, precedence,
validation, and persistence behavior.

## Documentation

- [Documentation index](docs/README.md)
- [Electron GUI prototype and development](docs/development/electron-gui.md) — The default local Host connects or starts automatically; create serial and SSH Sessions directly in the GUI. Browse device directories and transfer serial files/folders in either direction with GUI progress. Open multiple windows and terminal tabs, and move a tab to a new window without closing its shared Session. Reorder tabs and use two side-by-side or stacked terminal views with independent output cursors.

Open **AI Integration** to register an Agent, inspect its MCP configuration, or confirm a repair for the selected identity. [Setup and repair](docs/getting-started/mcp-server.md#desktop-client-setup-and-repair).

Local unsigned [desktop packages](docs/development/electron-gui.md#local-desktop-packages) bundle Electron and matching Host/CLI helpers, so users need no Node or Go. Windows x64 ZIP and per-user installer checks are available; other native targets and real devices still require acceptance. Signing and desktop publishing are not configured.

HTTP Hosts release unused Sessions and exit when idle by default. Enable background MCP in the desktop Host settings to keep the listener available. [idle policy and migration](docs/reference/configuration.md#host-idle-policy)

- [Serial terminal workflow](docs/getting-started/serial-terminal.md)
- [SSH shell workflow](docs/getting-started/ssh-terminal.md)
- [Shared Session workflow](docs/getting-started/shared-session.md)
- [File-transfer workflow](docs/getting-started/file-transfer.md)
- [MCP server workflow](docs/getting-started/mcp-server.md)
- [GDB debugging workflow](docs/getting-started/gdb-debugging.md)
- [CLI reference](docs/reference/cli.md)
- [MCP tool reference](docs/reference/mcp-tools.md)
- [Identifiers and references](docs/reference/identifiers.md)
- [Architecture overview](docs/architecture/overview.md)

For exact command flags and defaults, the running program's `--help` output is authoritative.

## Roadmap

Serial and SSH PTY shells are implemented Transports; dedicated SFTP and legacy SCP file clients are also available. Arbitrary SSH exec and Telnet remain future directions rather than implemented features or release commitments.

ChannelTerm does not currently implement JTAG/OpenOCD, virtual serial devices, a built-in AI, or multi-agent orchestration.

## License

ChannelTerm is licensed under the [Apache License 2.0](LICENSE).

TDQS

A3.5/5.0

Scored across 40 tools

Disambiguation3/5

Descriptions are unusually explicit about boundaries and cross-reference the correct sibling tool, which rescues much of the set. However, there are several near-parallel families — terminal_read vs terminal_wait, terminal_read_activity vs terminal_wait_activity, terminal_read_device_events vs terminal_wait_device_event, terminal_session_events, terminal_read_diagnostic — plus terminal_write vs terminal_write_leased vs terminal_exec, and terminal_acquire_lease vs terminal_renew_lease vs terminal_release_lease, giving real misselection risk across 40 tools.

Naming Consistency4/5

Consistent snake_case with predictable terminal_ / debug_ / debug_bridge_ prefixes that map to sub-domains, which is a sensible convention at this scale. Minor variance in element ordering (some verb-first like terminal_get_connection_decision and terminal_list_serial_ports, others noun-first like terminal_session_events, terminal_file_transfer_checkpoint) keeps it from a perfect score.

Tool Count2/5

40 tools is well past the point of easy selection for an agent, and a substantial share are structural duplicates (paired immediate-read / wait variants) or lease bookkeeping rather than distinct capabilities. The domain is genuinely complex (serial sessions, U-Boot entry, GDB bridge, file transfer, diagnostics), but that breadth is used to justify a surface that is too large.

Completeness4/5

Lifecycle coverage is strong: session open/close/attach/detach, lease acquire/renew/release, read/write, device discovery and events, U-Boot entry, native debug start/stop/command/events, debug bridge start/status/renew/report/restore/close, plus file-transfer checkpoint/cancel and diagnostics export/download. Gaps are minor and documented — no tool to create or edit serial profiles (terminal_open_serial assumes one), and file upload/download is pushed to the CLI rather than the tool surface.

Maintenance

ActivityActive
ResponsivenessNo recent community issues