Add persistent machine terminals with tmux-backed reattach

This commit is contained in:
2026-11-09 21:30:15 +00:00
parent 8f06f12d49
commit 277384c864
16 changed files with 1757 additions and 1 deletions
+6
View File
@@ -280,6 +280,12 @@ type Message struct {
ChatShellRun *ChatShellRunRecord `json:"chat_shell_run,omitempty"`
ChatShellRuns []ChatShellRunRecord `json:"chat_shell_runs,omitempty"`
ChatShellRunEvent *ChatShellRunEventFrame `json:"chat_shell_run_event,omitempty"`
// Machine terminals (terminal.go): the request body, one terminal, the
// machine's terminals and the pushed change.
TerminalRequest *TerminalRequest `json:"terminal_request,omitempty"`
Terminal *TerminalRecord `json:"terminal,omitempty"`
Terminals []TerminalRecord `json:"terminals,omitempty"`
TerminalEvent *TerminalEventFrame `json:"terminal_event,omitempty"`
// ListDirectory is the list_directory body and DirectoryListing its reply:
// the home-restricted folder picker listing (see directories.go).
ListDirectory *DirectoryListRequest `json:"list_directory,omitempty"`