Commit Graph
2 Commits
Author SHA1 Message Date
Alessandro 25542e9950 Require remote terminal permission for input_remote
input_remote forwards keyboard text as terminal code, allowing a custom
profile to bypass a blocked code_execution_remote capability through an
independently enabled input tool.

Require the canonical bundled remote terminal action in shared policy
resolution while retaining input_remote's independent permission. Apply
the dependency to execution, text prompts, and native tool schemas, and
recheck it inside the input wrapper before rewriting args or dispatching.
Output-only grants, default-deny policies, and profile tool-name overrides
cannot authorize the terminal operation.

Document the permission dependency and add 19 regressions covering zero
dispatch on denial, action-specific grants, prompt/schema visibility,
authorized input, host access controls, and framework-owned allow_running.

Validation: 232 focused tests passed in both Conda a0 and Docker's framework
runtime. A smoke test through the real CLI shell backend verified denied
dispatch, authorized idle and interactive input, and permission revocation.
Restarted the live Agent Zero runtime and verified HTTP health.
2026-11-01 07:49:29 +01:00
Alessandro a2dc9dc8d7 Align remote execution and Computer Use tool contracts
Expose input_remote as a thin facade over the existing gated execution path,
matching local input and sharing connection, permission, timeout, transfer,
and disconnect handling. Remove runtime=input without a compatibility alias.
Keep native execution/input schemas aligned and session follow-ups sequential.

Keep Computer Use arguments concise and place scoped macOS targeting guidance
in its backend skill behind the advertised capability. Remove the ineffective
mode argument from model-facing guidance and refresh prompt contract coverage.

Validation: 128 focused Core checks passed. Live Docker framework checks covered
tool discovery, prompt rendering, disconnected gating, and removed-runtime
rejection. Native macOS desktop actions were not verified on this Linux host.
2026-09-12 18:24:54 +02:00