Files
agent-zero/plugins/_code_execution/default_config.yaml
T
Jan Tomášek 188cff2073 Move optional runtimes into persistent gVisor plugin sandboxes
Move tunnel, browser, document, speech and integration runtimes into plugin-owned
sandboxes with lazy dependencies and instance-scoped lifecycle management.
Reuse Tuxee display assets and the sandbox image's Python/Node runtimes, enable
automatic Desktop login, and show elapsed time for each browser launch.

Slim the outer image, use offline ONNX embeddings, and calculate sandbox storage
only on demand. Include regression coverage and updated runtime documentation.
Exclude local handoff notes and temporary verification artifacts from publication.
2026-11-08 21:43:22 +01:00

40 lines
1.2 KiB
YAML

# Shell interface: auto = auto-detect (SSH when non-dockerized, local when dockerized),
# true = always SSH, false = always local TTY
ssh_enabled: auto
# SSH credentials (used when ssh_enabled is true or auto-detected)
# ssh_addr: derived from rfc_url setting when empty
ssh_addr: ""
ssh_port: 55022
ssh_user: root
# ssh_pass: uses the local root_password when empty; set explicitly for other SSH hosts
ssh_pass: ""
# Timeouts for python/nodejs/terminal runtimes (seconds)
code_exec_first_output_timeout: 30
code_exec_between_output_timeout: 15
code_exec_max_exec_timeout: 240
code_exec_dialog_timeout: 5
# Timeouts for "output" runtime (seconds)
output_first_output_timeout: 120
output_between_output_timeout: 60
output_max_exec_timeout: 600
output_dialog_timeout: 5
# Shell prompt detection patterns (one regex per line)
# When matched, output is returned immediately without waiting for timeout
prompt_patterns: |
(\(venv\)).+[$#] ?$
root@[^:]+:[^#]+# ?$
[a-zA-Z0-9_.-]+@[^:]+:[^$#]+[$#] ?$
\(?.*\)?\s*PS\s+[^>]+> ?$
# Dialog detection patterns (one regex per line, case-insensitive)
# When matched after dialog_timeout, control is returned to the agent
dialog_patterns: |
Y/N
yes/no
:\s*$
\?\s*$