e2e

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CellsToASCII

func CellsToASCII(screen [][]vterm.Cell) string

CellsToASCII converts a vterm screen buffer to ASCII text.

Types

type PTYOptions

type PTYOptions struct {
	Width  int
	Height int
	Setup  func(home string) error
	Env    []string
	Home   string
}

type PTYSession

type PTYSession struct {
	// contains filtered or unexported fields
}

func StartPTYSession

func StartPTYSession(opts PTYOptions) (*PTYSession, func(), error)

func (*PTYSession) ScreenASCII

func (s *PTYSession) ScreenASCII() string

func (*PTYSession) SendBytes

func (s *PTYSession) SendBytes(data []byte) error

func (*PTYSession) SendString

func (s *PTYSession) SendString(text string) error

func (*PTYSession) WaitForAbsent

func (s *PTYSession) WaitForAbsent(substr string, timeout time.Duration) error

func (*PTYSession) WaitForContains

func (s *PTYSession) WaitForContains(substr string, timeout time.Duration) error

func (*PTYSession) WaitForExit added in v0.0.9

func (s *PTYSession) WaitForExit(timeout time.Duration) error

Directories

Path Synopsis
Command fakeagent is a deterministic stand-in for a real raw-mode coding agent (Claude Code / Codex / Cline) for amux end-to-end tests.
Command fakeagent is a deterministic stand-in for a real raw-mode coding agent (Claude Code / Codex / Cline) for amux end-to-end tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL