wingmirror Download
Docs Files, updating and removing

Docs · The app

Files, updating and removing

Where the app keeps its files

Everything is in ~/Library/Application Support/Wingmirror/. A file is there only once the feature it belongs to has been used.

FileWhat it is
layout.jsonThe pages, their widgets with their settings, and the look
layout.previous.jsonThe layout the last Import Layout… replaced
sessions.jsonThe sessions on the panel, so that they are there again after a restart. For each: its id, its agent, the folder it works in, its model, its state and since when, when it started, was last changed and was last heard from, its terminal (program, tty and the terminal's own name for the tab) where its status line gave one, whether it has a status line, whether its agent says when it ends, whether you had put its card away, whether it was at work when the app last stopped, when it was said to have ended or to have finished a turn, and its last context, cost and lines figures. No command, tool, request, answer or prompt, and nothing of what a session did. Readable by you alone.
tally.jsonThe last fourteen days counted, for the Figures widget: how many requests were held each day, how they ended, how long the answers took, and which sessions were heard from, by their ids. No command, path or project name.
risky-commands.txtYour own words and phrases for Ask on the Panel Before Risky Commands, one to a line
display-rules.jsonThe panel rules: the two in the menu, and the schedule and idle keys if you added them
display-state.jsonThe brightness to return to after a blank or a sleep
wingmirror.log, wingmirror.log.1The app's log: a line for each request held, cleared or lapsed, each notice, each turn and each refusal, and the diagnostics while they are on. It starts again at 512 KB and keeps the one before. Never a command or a path.
widget-grants.jsonWhat each widget of your own has been allowed to do
logo.png, .jpg, .jpeg, .svg or .webpYour logo
agent-icons/Your own pictures for agents, one file each, named for the agent. Empty unless you put something there.
actions.jsonThe action grid's buttons
widgets/Your own widgets, one folder each
hooks/claude-statusline.shThe status line script Claude Code runs
hooks/previous-statusline-commandThe status line command you had, which the script runs after forwarding
hooks/state.jsonWhat the Claude Code connection replaced and added, for putting it back
hooks/codex-hook.shThe script Codex's hooks run
hooks/codex-hooks-state.jsonWhether hooks.json or its hooks key was made by Wingmirror, for putting it back
hooks/codex-notify.shThe script first in Codex's notify list
hooks/codex-state.jsonThe notify text that was there, for putting it back
hooks/copilot-hook.shThe script GitHub Copilot's hooks run
hooks/copilot-hooks-state.jsonWhether Copilot's hooks folder was made by Wingmirror, for taking it away again
hooks/wingmirror.json.wingmirror-backup-<date>-<time>A Copilot hooks file that an update replaced
hooks/cursor-hook.shThe script Cursor's hooks run
hooks/cursor-hooks-state.jsonWhat Wingmirror added to Cursor's hooks file, for taking exactly that away again
hooks/cursor-hooks.json.wingmirror-backup-<date>-<time>Cursor's hooks file as it was before each change

Outside that folder:

  • Backups named …wingmirror-backup-<date>-<time> beside ~/.claude/settings.json, ~/.codex/hooks.json and ~/.codex/config.toml, one for each change.
  • ~/.copilot/hooks/wingmirror.json, the whole of the GitHub Copilot connection.
  • Its entries in ~/.cursor/hooks.json: the ones whose command names cursor-hook.sh.
  • A few switches (touch on or off, pull requests, diagnostics and when they were switched on, whether setup has been shown, when updates were last checked) in the app's macOS preferences, under app.wingmirror.Wingmirror.
  • The status line script keeps one small file per Claude Code session in the temporary folder, named wingmirror-tty-<number>, so that it does not look up the terminal on every redraw.

Requests, cards, what each session was doing and had done, and the day's timeline are held in memory and gone when the app quits. Two things are kept: the counts behind the Figures widget, in tally.json, which go back fourteen days, and the list of sessions in sessions.json, which is what puts the cards back after a restart.

Updating

The app looks for a newer release when it opens, at most once a day, and when you choose Check for Updates…. If there is one it offers Open Download Page; it downloads and installs nothing itself, and offers a given version once by itself. Replace the app in Applications with the new one. While no release has been published, Check for Updates… answers "Could not check for updates".

After replacing the app, or rebuilding it from source:

  1. Input Monitoring, on an ad hoc build only: clear and allow it again, as under Permissions it asks for.
  2. The connections. If the app asks "Update the Claude Code connection?" or "Update the Codex connection?", choose Update. The scripts in the hooks folder are brought up to date by themselves.
  3. Codex's trust. If Codex asks you to review Wingmirror's hooks again, trust them (Settings → Hooks, or /hooks).
  4. Open sessions. Restart a Claude Code session that was open across the update if its card lacks something new.

Your layout, logo, actions, widgets and rules are untouched by an update.

Removing it

  1. Choose Disconnect Claude Code, Disconnect Codex, Disconnect GitHub Copilot and Disconnect Cursor in the menu.
  2. If you added the MCP server to a client, remove the wingmirror server there.
  3. Untick Open at Login, then Quit Wingmirror.
  4. Delete the app.
  5. Delete what it kept:
rm -r ~/Library/Application\ Support/Wingmirror
defaults delete app.wingmirror.Wingmirror
tccutil reset ListenEvent app.wingmirror.Wingmirror

The last line removes the Input Monitoring entry. The backups of your settings files stay beside the originals until you delete them.

Edit source on GitHub README.md#files-updating-and-removing