Repository navigation
v0.5.0
Changed
-
The command line has been rebuilt on cobra with a noun-and-verb command tree, a breaking change; the old command names have been removed with no aliases. The commands map as follows:
v0.4.0 v0.5.0 peers brokerpeers service runpeers statuspeers service statuspeers auditpeers service auditpeers offlineandpeers onlinepeers service offlineandpeers service onlinepeers config getwith no keypeers config listpeers pairing-key createpeers key createpeers peer list,peers peer connectandpeers peer disconnectpeers broker list,peers broker connectandpeers broker disconnectpeers service uninstallpeers service removeHelp groups the commands as Pairing, Local Broker and Installation. A usage error, including an unknown command, an unknown option and the wrong number of arguments, exits with code 2. Updating a v0.4.0 installation to v0.5.0 rewrites the service definition in the new command's format before the Broker restarts, so users do not need to reinstall it.
-
Every
servicesubcommand accepts the mutually exclusive--systemand--userflags. With neither, root acts on the system service and every other account on its user service, which is the rule the install script uses;service install --admin-grouprequires--system.service start,stopandrestartnow accept--systeminstead of rejecting it, and every command that selects a level honors it and names the level when the service is unavailable. -
peers updateandpeers uninstallask for confirmation only when standard input is a terminal, and fail with a message telling the user to pass--yeswhen it is not.--yesskips the questions and keeps the data;--purgeremoves the data without asking about the data, and still needs--yeswhen standard input is not a terminal. A non-root account whose host has only the system installation is shown the completesudo peers uninstall [--purge] --yescommand when it cannot be prompted, and at a terminal it is still asked whether to rerun the command through sudo. -
The install script reports how the installed version relates to the binary it replaced, before the service summary:
Upgraded from <version>.,Downgraded from <version>.,Reinstalled peers <version>.orReplaced peers <version>.. DecliningUpgrade the system installation? [Y/n]leaves the system installation unchanged, exits 0 and no longer suggests a user install. -
Tool errors from the MCP server end with
(code: <name>; reported by Broker <fingerprint>)when the Broker reported them; an error without a reporting Broker keeps(code: <name>).
Added
- Shell completion for bash, zsh, fish and powershell:
peers completion <shell>prints a script, and the commands complete Broker aliases and fingerprints, configuration keys and shell names dynamically. The install script installs the bash and fish completions, and the zsh completion in a system install; a system install writes them under/usr/local/share, and a user install writes the bash and fish completions under$HOMEand prints how to enable the zsh completion manually. The fish completion is installed only when fish is present. If a completion cannot be written, the script prints a warning and continues, andpeers uninstallremoves the completions the install script wrote. - Man pages. Every release archive contains them under
man/, a system install copies them into/usr/local/share/man/man1, andpeers uninstallremoves thepeers.1andpeers-*.1pages it wrote.
Fixed
- On macOS, the account-helper for an account in more than 16 groups failed to start, because Darwin caps
setgroupsat 16 groups, and every session of that account sawnot_registered. The helper now starts as root and switches to the account's identity in the child withsetgid,initgroupsandsetuid, as the access check already does, and the session registry watch recovers with it. A helper that fails to start or stops responding now reports its own reason,the Broker's helper for this account failed to start or stopped responding; ask the administrator to check the Broker log, instead of the message that no Claude Code session record matches the session's inbox socket.