Skip to content

Viaalink CLI v4.0.1

Choose a tag to compare

@kwuite kwuite released this 15 Nov 12:28
· 3 commits to main since this release

4.0.1 makes what the CLI tells you trustworthy, for people and for AI agents that follow it literally. Every command a hint, fix or error suggests now exists, with the options it shows. via net apply and via down exit 1 when they report an error. The CLI stops a process only when it can prove the pid is still the process it started.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already installed: via update

Check before you upgrade scripts and CI

  • Unknown options are refused. Many more commands now reject an option they do not know, with a pointer to --help, instead of ignoring it. A script that passed a flag a command never read now fails: remove the flag. via logs -n 50 now takes the number.
  • via net apply exits 1 when it reports an error for any service, including a public address that does not answer within 30 seconds. Before, "Apply finished with errors" still exited 0.
  • via down exits 1 when anything was not stopped, was refused or failed.
  • A process is stopped only with proof. A relay client whose pid file comes from an older version, or a pid file that belongs to another project's workspace, is reported (pid, pid file, reason) and left running; the command exits 1.
  • via net expose stop --id <id> on a shared hub service needs --force, like via net stop already did.
  • A public address may change once. A tunnel stored under an uncleaned prefix (my_app, shop.v2, a slug over 48 characters) moves to the cleaned host (my-app) on the next via net apply, and the move is reported.

Fixed

  • A changed tunnel prefix now moves the tunnel. Before, via net apply kept the old host and exited 0 while the new address answered 404. Now the new tunnel starts, the old one stops, and the move is reported (moved in --json).
  • via net apply --tunnel checks every public address, with certificate validation, before it reports a tunnel as up.
  • Hints only name real commands. Every suggested command is checked against the CLI's own command list, so hints no longer send you to the relay binary, a just recipe or a source checkout.
  • Relays added with a join link whose credential has no expiry made via diagnose, via relay list and publishing act as if there was no relay. A missing expiry now means the credential never expires.
  • The dashboard's live service stream no longer reports every service as removed while the registry is being written.