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.
| File | What it is |
|---|---|
layout.json | The pages, their widgets with their settings, and the look |
layout.previous.json | The layout the last Import Layout… replaced |
sessions.json | The 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.json | The 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.txt | Your own words and phrases for Ask on the Panel Before Risky Commands, one to a line |
display-rules.json | The panel rules: the two in the menu, and the schedule and idle keys if you added them |
display-state.json | The brightness to return to after a blank or a sleep |
wingmirror.log, wingmirror.log.1 | The 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.json | What each widget of your own has been allowed to do |
logo.png, .jpg, .jpeg, .svg or .webp | Your logo |
agent-icons/ | Your own pictures for agents, one file each, named for the agent. Empty unless you put something there. |
actions.json | The action grid's buttons |
widgets/ | Your own widgets, one folder each |
hooks/claude-statusline.sh | The status line script Claude Code runs |
hooks/previous-statusline-command | The status line command you had, which the script runs after forwarding |
hooks/state.json | What the Claude Code connection replaced and added, for putting it back |
hooks/codex-hook.sh | The script Codex's hooks run |
hooks/codex-hooks-state.json | Whether hooks.json or its hooks key was made by Wingmirror, for putting it back |
hooks/codex-notify.sh | The script first in Codex's notify list |
hooks/codex-state.json | The notify text that was there, for putting it back |
hooks/copilot-hook.sh | The script GitHub Copilot's hooks run |
hooks/copilot-hooks-state.json | Whether 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.sh | The script Cursor's hooks run |
hooks/cursor-hooks-state.json | What 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.jsonand~/.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 namescursor-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:
- Input Monitoring, on an ad hoc build only: clear and allow it again, as under Permissions it asks for.
- The connections. If the app asks "Update the Claude Code connection?" or "Update the Codex connection?", choose Update. The scripts in the
hooksfolder are brought up to date by themselves. - Codex's trust. If Codex asks you to review Wingmirror's hooks again, trust them (Settings → Hooks, or
/hooks). - 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
- Choose Disconnect Claude Code, Disconnect Codex, Disconnect GitHub Copilot and Disconnect Cursor in the menu.
- If you added the MCP server to a client, remove the
wingmirrorserver there. - Untick Open at Login, then Quit Wingmirror.
- Delete the app.
- 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.