Establezca egress_mode en agent.yaml.
Synopsis
Establezca network.egress_mode en agente.yaml.
La moda es denegar todo, lista de permitidos o permitir todo. `allow_all` requiere `--confirm-allow-all` y se rechaza mientras ese `sandbox` siga enumerando destinos: remuévalos primero o use `allow_list`. --confirm-allow-all solo es válido con allow_all.
Esto edita el archivo local y no cambia el espacio de trabajo en ejecución. Vuelva a implementar para que la nueva moda se aplique.
Ejemplos:
agentengine agent egress mode allow_all --confirm-allow-allagentengine agent egress mode deny_allagentengine agent egress mode MODE [flags]opciones
--component string Target a single sandbox: agent or tool. Omit to apply to both. --confirm-allow-all Required acknowledgement when MODE is allow_all.-h, --help help for mode --workspace string Monorepo: select a specific workspace by name (from root agent.yaml)Opciones heredadas de comandos padre
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)Ver también
- agentengine agente salida - Edite la lista de permitidos de salida en agent.yaml.