Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.5.0 (2026-10-07)

- **Restart after an update:** the shell keeps running the widget code it
loaded until it restarts, even after `omarchy plugin update`. The widget
now notices newer code on disk and offers **restart** in the panel, a
**Restart to load** row in the menu, and one notification with **Restart
now** (`omarchy restart shell`). A sign-in under way survives it.
- **Each row has "⋯"** for its other actions: **copy address**, **other
device** (sign in again from a phone or another computer), **log out**,
and with several servers that server's **dashboard**. The host name opens
the dashboard too. The header's **dashboard** shows only with one server;
before, it opened the first server whatever you meant.
- Logged out, **other device** sits next to **log in**.
- The menu has one dashboard row per server.
- Visible text reads "Logged in, 3h 12m left" instead of using a dash.

## 0.4.0 (2026-10-07)

- **First run.** Without the `varlatch` CLI, the panel and the menu offer
Expand Down
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ The Varlatch mark, icon only, with its state told by color:
- **red, dimmed:** the `varlatch` CLI is missing or too old

A left click opens a panel under the widget with one row per session: a
live countdown, sign-out and sign-in per server, a **renew** button for
every live session, and buttons to verify credentials and open the
dashboard, and **add server** to sign in to one more. A middle click opens
live countdown, **renew** (or **log in** once expired), and **⋯** for the
row's other actions: **copy address**, **other device**, **log out**, and
with several servers **dashboard** for that server. The host name opens
that server's dashboard too. Above the rows, **verify** checks every stored
credential and **dashboard** opens your server (with one server); below
them, **add server** signs in to one more. A middle click opens
the **Varlatch** submenu of the Omarchy menu, which SUPER+SPACE also finds.
The widget keeps that submenu in step with your sessions. After a full
sign-out, "Log in" still targets the last server you used, remembered in
Expand Down Expand Up @@ -95,9 +98,10 @@ device**, and **cancel**. The result arrives as a notification.

When the browser on this machine has no passkey for your server, sign in
from another device instead: **other device** on the panel while a sign-in
waits, **Log in from another device** in the menu, or **Use another
device** on a failed sign-in's notification (the expiry notifications have
an **Another device** button too). The panel shows an address, a code, and,
waits, in a row's **⋯**, or next to **log in** when logged out; **Log in
from another device** in the menu; or **Use another device** on a failed
sign-in's notification (the expiry notifications have an **Another device**
button too). The panel shows an address, a code, and,
with `qrencode` installed, a QR code of the address for a phone's camera.
Open the address on any device, sign in with your passkey, enter the code,
and approve. The widget collects the new credential, and as with a browser
Expand Down Expand Up @@ -155,6 +159,13 @@ outside it stays yours.
Update with `omarchy plugin update varlatch`; remove with
`omarchy plugin remove varlatch`, then delete the managed block.

The shell keeps running the widget code it loaded until it restarts, even
after an update. The widget notices newer code on disk within a minute (or
when you open the panel) and shows "Varlatch for Omarchy 0.5.0 is
installed" with **restart**, a **Restart to load** row in the menu, and one
notification with **Restart now**; all three run `omarchy restart shell`.
A sign-in under way survives the restart.

Requires `jq`, `python3`, and the Varlatch CLI 0.8.0 or newer, which the
panel can install (see [First run](#first-run)). With a CLI before 0.10.0,
the widget works out the *expiring* state itself.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "varlatch",
"name": "Varlatch",
"version": "0.4.0",
"version": "0.5.0",
"author": "Varlatch",
"license": "Apache-2.0",
"description": "Varlatch sessions in the Omarchy bar: which servers you hold credentials for, when they expire, and quick sign-in and sign-out, all read offline from `varlatch status --json`.",
Expand Down
Loading