wingmirror Download
Docs Approving and answering

Docs · The panel

Approving and answering

Approve, Deny and Terminal

A permission request appears on the session's card, in the accent colour, with Approve, Deny and Terminal. The request is still open in the terminal at the same time, and whichever answer comes first wins; answer at the keyboard and the card clears itself.

Approve is offered only for what you have been shown:

  • A command gets Approve when the whole command is on the card. What the agent says the command is for is shown too when there is room.
  • A longer command gets Read all in place of a live Approve.
  • A file edit or a new file can be approved from its card on the file's name and the size of the change. Read change beside Approve opens what it removes and adds.
  • A request too long for the app to carry whole (over 20,000 characters) can be read as far as it goes and denied, but not approved from the panel. The reader says "Too long to show in full · answer it in the terminal".

The reader

Read all and Read change open the request across the whole widget, at the panel's type size, in as many pages as it needs. Next turns the page and the reader says "Page 1 of 2". Approve says "Approve after the last page" and comes alive once every page has been on show. Deny works on any page, and Back returns to the cards without answering.

Reading every edit first

By default an edit takes one tap. To make every edit and new file be opened and read before it can be approved, tap Edit, tap the Agents widget, and switch Approve edits from the card off in its panel. Approve on such a card then waits for Read change and its last page.

Questions from agents

An agent can ask a question with two to four answers of its own, over HTTP or MCP. It shows on the Agents widget as a card of its own, with each answer a button when they fit beside the question. When they do not, the card has one Answer button, which opens the question and its answers across the widget; Back returns without answering. A tap sends that answer to the agent that asked and to nothing else. A session has one question open at a time.

The Terminal button

Terminal brings the session's own terminal forward. In Terminal and iTerm it selects the right tab and raises its window; macOS asks once whether Wingmirror may control the app. In other terminals, and for Codex, it brings the app forward and no more.

When nobody taps

  • A Claude Code or Codex request is held for 590 seconds (30 for a request from a helper). After that the card's buttons go and the agent asks in its own terminal as if the panel were not there. The card still reads "Needs approval" until the prompt is answered. It clears when the tool runs, when the turn ends or a new prompt is sent, when Claude Code reports that the tools called together have all been dealt with or that a helper has finished, when it reports that it is waiting for the next prompt, or when the session ends.
  • A request from another agent is held for the hold_seconds it asked for and then answered with an empty body. The card reads "Needs approval" until that agent reports another state.
  • A question nobody answered is cleared when its time is up (300 seconds unless the agent asked for another), since there is no terminal prompt behind it.

A tap that lands in the moment after the cards have moved is ignored, so that it cannot approve a request other than the one you meant.

While the Mac is locked

The panel shows a black cover and takes no touches, so nobody can read what your agents are doing or approve a command while you are away. Requests wait, and can be answered at the keyboard once you are back.

Edit source on GitHub README.md#approving-and-answering