Skip to content

Bug: Yolo mode is not 1-to-1 mapping with yolo mode in copilot #77

@Tasteful

Description

@Tasteful

Related to copilot help we have the "--yolo" mode that I think missing the --allow-all-urls or of that should use the --allow-all shortcut, or if the --yolo mode should be used directly to inherit additional changes with future switches for yolo mode inside copilot.

From Copilot help

  --allow-all                         Enable all permissions (equivalent to --allow-all-tools --allow-all-paths --allow-all-urls)
  --allow-all-paths                   Disable file path verification and allow access to any path
  --allow-all-tools                   Allow all tools to run automatically without confirmation; required for non-interactive mode (env: COPILOT_ALLOW_ALL)
  --allow-all-urls                    Allow access to all URLs without confirmation
  --yolo                              Enable all permissions (equivalent to --allow-all-tools --allow-all-paths --allow-all-urls)

Current implementation

if (context.IsYolo)
{
args.Add("--allow-all-tools");
args.Add("--allow-all-paths");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions