mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-03 15:12:48 +00:00
create_agent previously threw on cross-provider inheritance unless an explicit mode was passed. In practice, sub-agents launched without a mode should run unattended — keying permissions per sub-agent rarely makes sense. When the caller is in an unattended mode (Claude bypassPermissions, Codex/OpenCode full-access, Copilot autopilot) and no mode is requested, default the child to the target provider's own unattended mode. Non-unattended callers still require an explicit cross-provider mode, and explicit modes always win.