agent-zero/plugins/_code_execution/prompts
frdel 4ffcdf5246 Handle shell/SSH process exits as completion
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.
2026-07-20 17:04:05 +02:00
..
agent.system.tool.code_exe.md Clarify code execution status handling 2026-07-17 15:20:33 +02:00
agent.system.tool.input.md prompts: restore legacy, plugins, agent0 profile 2026-04-03 06:49:25 +02:00
fw.code.info.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.max_time.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.no_out_time.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.no_output.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.pause_dialog.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.pause_time.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.reset.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.running.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.runtime_wrong.md refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
fw.code.shell_exit.md Handle shell/SSH process exits as completion 2026-07-20 17:04:05 +02:00