Skip to content
Pantaray
English
Esc
↑↓navigate↵open⌘Jpreview
On this page

Approve or deny what Pantaray wants to do

Let a task run without asking, or decide case by case, and know what each approval covers.

Inside your workspace, Pantaray changes files and runs commands without asking until you choose otherwise. You decide for each task how closely you want to be asked. Some things, such as changing files outside your workspace or writing to an app you connected, it always asks about, and each request shows you what it wants to do.

The approval request

When an Action needs your approval, it stops and shows Approval required in its conversation. The first line says what it wants to do:

  • Run a local command.
  • Run Python code.
  • Modify files.
  • Capture a window.
  • Write to Gmail (you@example.com).

Below that is the detail: the Command itself, the Python code, the list of Files, the App, the Working folder, the Size, the Arguments, or for a connected app the Action and what it will send. Read it, then press Approve or Deny.

Denying leaves the Action running. Pantaray takes the refusal and carries on with what it can do.

Ask every time, or auto-approve

Each task has its own setting, in the menu next to its message box. The menu shows the mode the task is in:

Mode What it means
Ask every time Pantaray asks before every file edit and command in this conversation.
Auto-approve File edits and commands in this conversation run without asking.

A new task starts in Auto-approve unless you changed the default (see below). Change it mid-conversation whenever you like. Auto-approve removes the question and leaves the limits in place: Pantaray still works inside your workspace, and still asks before changing files in a folder you have not allowed or running a command outside its protected environment.

Changes outside your workspace

When an Action needs to change files in a folder that is not in your workspace, the default work area, or (for commands) a temporary folder, and that you have not allowed yet, it asks first, even when the conversation is set to Auto-approve. When a command asks for folders, the approval opens with one sentence on why, then lists the Folders it will change; the command itself is under Details.

Choice What it allows
Allow once This one change or command only
Allow for this conversation That folder, for the rest of this conversation. Later changes there follow the conversation’s usual setting. Shown only when the folder can be allowed for the whole conversation
Don’t allow Nothing. The Action carries on with what it can do

A command cannot ask for your home folder as a whole or the top level of the disk. If a task needs one of those, have it ask for a narrower folder, or add one to a project in Home. Pantaray’s own folder cannot be allowed.

Add a folder to your workspace and this check won’t appear for it next time. Add a workspace folder in the approval takes you to Home, where your projects are.

Commands that use your login information

Some command-line tools work only once you are signed in, such as the GitHub CLI or the Codex CLI. An Action can run a command with access to your login information, so tools you have signed into in your terminal work here too. The approval opens with a sentence on why, naming the service, followed by It runs with access to your login information. Under Auto-approve it runs without asking, like any other command.

Login information doesn’t widen what a command can read. Sign-ins kept in the macOS keychain can work with either Read access setting, but a tool that keeps its sign-in or settings in files in your home folder, such as ~/.codex or ~/.config, also needs Full local filesystem, or that folder added to your workspace (which also lets Pantaray change it).

Pantaray cannot sign you in to a command-line tool. Sign in from your terminal first, for example with gh auth login, then ask again. Changing files still follows the rules above.

Commands that run outside Pantaray’s protected environment

Commands normally run in a protected environment that holds them to the rules above. A few tasks cannot work there, such as a tool that starts a browser or another app. For those, an Action can ask to run one command outside it.

The approval is titled This runs outside Pantaray’s protected environment. Under What it does, the Action says what the command is for. Under If you allow it, Pantaray says: This one run has your permissions: it can read and write files on your Mac and open apps. The command itself is under Details.

The only choices are Allow once and Don’t allow. Pantaray asks every time, even when the conversation is set to Auto-approve, and an approval covers that one command only. The limits on this page do not apply to that run, so allow it only when you know what the command does.

The default for new tasks

Settings → Action permissions sets what new tasks start with:

  • File edits and commands, set to Ask or Auto. It is Auto until you change it.

Changing the default leaves existing tasks as they are.

The same section holds two related settings:

  • Read access, set to Workspace only or Full local filesystem. Full access lets Pantaray, and the commands it runs, read files anywhere on this Mac except Pantaray’s own folder; edits and commands still stay inside your workspace, the default work area, and (for commands) temporary folders, apart from folders you allow when asked.
  • Allow network access for commands, which decides whether commands Pantaray runs for you may reach the network.

What to watch for

Pantaray reads things written by other people: web pages, documents, messages that appear in your work. Any of them can contain text that looks like an instruction. Under Ask every time, the approval is where you catch it. Read what a command actually does before approving it, especially one that deletes, uploads, or sends something.

If you are working on something sensitive, switch the task to Ask every time, or set the default to Ask before you start.

Was this page helpful?