mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-29 02:33:33 +00:00
Detect and treat terminated local/SSH/TTY shells as definitive command completion. Add is_terminated and get_exit_code helpers to LocalInteractiveSession, SSHInteractiveSession, and TTYSession; expand _is_closed_pty_error to recognize exited TTY processes. CodeExecution now reports a shell-exit prompt, recreates terminated sessions lazily before the next command, and returns immediately when a shell has exited. Docs and README updated to describe strict-mode/exit behavior, and tests were added/updated to cover the new termination detection and handling. |
||
|---|---|---|
| .. | ||
| agent.system.tool.code_exe.md | ||
| agent.system.tool.input.md | ||
| fw.code.info.md | ||
| fw.code.max_time.md | ||
| fw.code.no_out_time.md | ||
| fw.code.no_output.md | ||
| fw.code.pause_dialog.md | ||
| fw.code.pause_time.md | ||
| fw.code.reset.md | ||
| fw.code.running.md | ||
| fw.code.runtime_wrong.md | ||
| fw.code.shell_exit.md | ||