Repository navigation
Viaalink CLI v4.0.1
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 | bashWindows (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 50now takes the number. via net applyexits 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 downexits 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, likevia net stopalready 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 nextvia net apply, and the move is reported.
Fixed
- A changed tunnel prefix now moves the tunnel. Before,
via net applykept 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 (movedin--json). via net apply --tunnelchecks 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
justrecipe or a source checkout. - Relays added with a join link whose credential has no expiry made
via diagnose,via relay listand 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.