Versions in this module Expand all Collapse all v0 v0.1.3 Sep 18, 2026 Changes in this version + var ErrInvalid = errors.New("coding ssh client: invalid input") + var ErrTerminal = errors.New("coding ssh client: terminal failure") + var ErrUnavailable = errors.New("coding ssh client: unavailable") + func DecodeVersion(value string) (string, error) + func DecodeWorkspace(value string) (string, error) + func EncodeVersion(value string) (string, error) + func EncodeWorkspace(value string) (string, error) + func Run(context.Context, Options) error — js/wasm, windows/amd64 + func Run(ctx context.Context, options Options) error — darwin/amd64, linux/amd64 + func ValidateDestination(value string) error + func ValidateRequest(request Request) error + func ValidateWorkspace(value string) error + type ExitError struct + Code int + func (e *ExitError) Error() string + func (e *ExitError) ExitCode() int + type ImageClipboard interface + ReadImage func(context.Context) ([]byte, error) + type InputFilter struct + func (f *InputFilter) Flush() ([]byte, int) + func (f *InputFilter) Push(input []byte) ([]byte, int) + type Options struct + Clipboard ImageClipboard + Environment []string + ErrorOutput io.Writer + Input io.Reader + Output io.Writer + Request Request + type Request struct + Destination string + Nonce string + Version string + Workspace string v0.1.2 Sep 15, 2026 v0.1.1 Sep 15, 2026 v0.1.0 Aug 12, 2026