Skip to content

Go thin client #14

Closed
Closed

Description

@bradgessler

The new thin client in Go (replaces the Tebako-packaged Ruby client). Built against the conformance harness.

  • WebSocket transport + MessagePack; multiplexed stream dispatch via goroutines/channels.
  • Sans-IO protocol core (testable without sockets).
  • Entitlement enforcement on the client (the trust boundary). Watch the glob gotcha: Go stdlib filepath.Match has no ** — use the doublestar lib to match the old Ruby File.fnmatch(FNM_PATHNAME) semantics.
  • Resource execution: stdout/stderr/stdin (raw TTY, getpass), file/dir, browser-open, env.
  • Clean signal handling (Ctrl+C), structured errors.
  • Self-update built in (antidote to the installed-client-lag problem).
  • Keep it thin: transport + enforcement + raw resource execution only; everything else server-side.

Activity

  1. added
    v2
    P1
    on May 30, 2026
  2. bradgessler commented on Jun 14, 2026

    @bradgessler
    ContributorAuthor

    Shipped: terminalwire/cli — a single terminalwire-exec binary, released on the alpha channel; passes the protocol conformance corpus (make go).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions