mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
feat(terminal): integrate Daytona backend into tool pipeline
Add Daytona to image selection, container_config guards, environment factory, requirements check, and diagnostics in terminal_tool.py and file_tools.py. Also add to sandboxed-backend approval bypass. Signed-off-by: rovle <lovre.pesut@gmail.com>
This commit is contained in:
parent
1e312c6582
commit
c43451a50b
3 changed files with 28 additions and 10 deletions
|
|
@ -247,7 +247,7 @@ def check_dangerous_command(command: str, env_type: str,
|
|||
Returns:
|
||||
{"approved": True/False, "message": str or None, ...}
|
||||
"""
|
||||
if env_type in ("docker", "singularity", "modal"):
|
||||
if env_type in ("docker", "singularity", "modal", "daytona"):
|
||||
return {"approved": True, "message": None}
|
||||
|
||||
is_dangerous, pattern_key, description = detect_dangerous_command(command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue