Mascot

The mascot in the terminal's corner follows the session's agent; it can also leave the app and tell you things on top of your windows.

The mascot sits in the corner of the session's terminal and reacts to what the agent does. It can also leave the app and stay on top of your windows, to tell you when a session needs you.

In the terminal

The mascot follows the session in focus: it rises when something is pending, such as a permission request, celebrates when a turn ends and looks sorry when the session's process fails. Its head follows the pointer, and it hops when you click it. With voice dictation on, the mascot of the terminal that will receive the text holds a microphone while you speak and celebrates when the text goes in.

In a Persisty terminal, the persisty command makes that terminal's mascot react: persisty celebrate, persisty oops, persisty wave, persisty think or persisty say followed by up to 80 characters of text. A script can use it to say it has finished.

It starts on. To remove it, turn off Settings › Appearance › Mascot in the terminal, or right-click it and choose Hide mascot.

Outside the app

The mascot can leave the terminal's corner and stay on top of any app. On macOS and Windows, it stands on your windows. That way it tells you things while you are in your editor or browser. It starts off: turn it on in Settings › Appearance › Mascot outside the app, or with Show the mascot outside the app in the command palette. With the mascot outside the app, the one in the terminal goes away.

It stands on top of the front window, rides along when the window moves and falls when it goes away; when nothing is happening, it sits down and dozes. Drag it anywhere, on any display, and it remembers where. On the Mac, clicking or dragging the mascot does not take the focus away from the app you are in; on Windows and Linux, it may.

The mascot walks on your windows, on the same screen, is on by default on macOS and Windows. Turned off, the mascot stays only where you leave it. On Linux, the setting does not show, and the mascot stays where you leave it.

Notices and balloon

When a session asks for you and Persisty is not in focus, the mascot rises, shows how many are waiting and says which one, such as "checkout asks for permission" or "api asked a question". It also tells you when a session finishes. Clicking what it says opens the session.

A click on the mascot opens a balloon. Under Needs you are the sessions that are waiting, from the oldest wait to the newest, with what they asked for, how long ago and an Open button; the ones that do not fit go to the Board, in an item such as +2 on the Board. Under Notices are the sessions that finished or ran into an error, with Ok to remove one and Clear to remove them all.

At the top of the balloon are Open the Board, the bell and Hide mascot, which turns off the mascot outside the app. The bell turns on Do not disturb: the mascot stops rising and speaking, but the count goes on. Notify me again, on the same bell, undoes it.

Plan and limits

The mascot is on the free plan. Outside the app, it exists only while Persisty is open: quitting Persisty closes the mascot. Like the Board, it only opens sessions and never answers for you.

On Windows and Linux, which are in preview, the mascot outside the app has not been checked on real machines yet. On Windows, it has walked on your windows since 0.16.0, and with displays at different scales its position may jump a step at the seam between them. Persisty reads only each window's position, size and type, never its title or the app's name.