Skip to content

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 17 Aug 16:02
· 25 commits to main since this release
v0.2.5
46ae3f2

Windows: self-update now takes, and three fixes besides

Self-update was failing on Windows. It downloaded the new version, checked it,
and then failed at the last step — placing the binary — with a PowerShell error
about a null drive. The install never took, so every launch found the release
again and tried again, and /update kept offering it.

The cause: the app reads where it is installed with a call that, on Windows,
returns the extended-length form of the path (\\?\C:\...). That was handed to
the installer, and PowerShell's Join-Path cannot parse that prefix — it stops
with "the value of argument 'drive' is null" and exits before the binary is
copied. The app now hands over an ordinary path, and the installer also strips
the prefix defensively, so a copy already on an older version is rescued the
next time it updates — it fetches this installer fresh. Measured end to end on a
real Windows 11 machine: with the extended-length path passed in exactly as the
old code produced it, the install completes and the new binary runs.

Switching into a session that was still working showed nothing. It read its
past and then sat on "taking a break" with no live updates, even while the agent
kept going. The live turn feed was being opened from the wrong place — a path a
switch never travels — so a session reached by switching never got one. It is
opened where the history actually lands now.

A new-version notice vanished before it could be read. Under notify it went
to the status line, and "connected" landed right behind it and took the line.
The notice now goes into the conversation, where it stays until it is scrolled
past.

A second window's /config showed stale settings. With two windows open,
one changed a setting and the other still showed the old one — and saving from
the stale window would have written the old values back over the change. /config
now reads the files when it opens, so it shows what is on disk and adopts it.

/help now lists the other names a command answers to. /quit has always
also been /exit, /changes also /diff — the parser took them all along, but
nothing said so. They are printed beside the command now.

What changed

  • fix(windows): make self-update take, and fix live session, notice, config

Full diff

Install

curl -fsSL https://github.com/attacca-cc/zyris-code/releases/latest/download/install.sh | sh   # macOS, Linux
irm https://github.com/attacca-cc/zyris-code/releases/latest/download/install.ps1 | iex        # Windows

To pin this version: ... | sh -s -- --version v0.2.5.

Everything else — what it does, how to run it, every environment variable —
is in the README.

Verifying a download

Every archive is listed in SHA256SUMS, which the install scripts check before
unpacking anything. By hand:

sha256sum -c SHA256SUMS --ignore-missing

Files

Platform Archive
Linux x86_64 zyris-code-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64 zyris-code-aarch64-unknown-linux-gnu.tar.gz
macOS Apple silicon zyris-code-aarch64-apple-darwin.tar.gz
macOS Intel zyris-code-x86_64-apple-darwin.tar.gz
Windows x86_64 zyris-code-x86_64-pc-windows-msvc.zip

A platform missing from the release means its build failed; the others are
published regardless.