agent-zero/plugins/_code_execution/helpers
Agent Zero Local d4eaa7c030 fix(code_execution): avoid double-close of PTY master fd
Use a shared mutable holder for the POSIX PTY master fd and invalidate it before close. This keeps EOF cleanup and TTYSession.close()/kill() idempotent and prevents closing an unrelated resource if the OS reuses the old fd number.
2026-05-02 21:32:12 +00:00
..
__init__.py refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
shell_local.py fix(code_execution): close PTY file descriptors 2026-05-02 21:32:12 +00:00
shell_ssh.py refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
tty_session.py fix(code_execution): avoid double-close of PTY master fd 2026-05-02 21:32:12 +00:00