Wake agents when the human runs a command they left in the terminal

This commit is contained in:
Ian Gulliver
2026-10-19 21:44:46 -07:00
parent f6f2440635
commit 5c714b3e2b
4 changed files with 112 additions and 8 deletions
+5 -1
View File
@@ -44,9 +44,13 @@ func New(dataDir string, portFirst int) (*Server, error) {
return nil, err
}
terminals, err := terminal.New(filepath.Join(dataDir, "zsh"))
if err != nil {
return nil, err
}
s := &Server{
hub: newHub(),
terminals: terminal.New(),
terminals: terminals,
startedAt: time.Now().UTC(),
users: map[string]string{},
}