Agent commands in the existing pairux CLI; remove the separate package - #114
Merged
Merged
Conversation
…e package `pairux` already exists: the installers put a launcher on PATH (update, uninstall, daemon, --version) that hands everything else to the desktop app. The agent commands now ride that same path instead of a second npm binary that collided with it and carried its own version. - apps/desktop/src/main/agent-cli: login/logout/whoami/join/listen/say/who/ status/leave, run headless by the main process (no window, no tray, no single-instance hand-off) and exit with the command's code. - install.sh (macOS + Linux) and install.ps1: help lists the agent commands; Windows runs them in the console through a pipe instead of `start`. - Removed packages/cli, its lockfile importer and vitest project; docs, README and llms.txt point at `pairux` from the installer. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ThreatCrush Security Scan47 finding(s) HIGH/CRITICAL: 4 | MEDIUM: 27 | LOW: 16
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#113 shipped the agent commands as a separate npm package (
@profullstack/pairux, binpairux). That was a mistake:pairuxalready exists as the launcher the installers put on PATH, versioned with the app. This moves the commands into it and removes the separate package.How it works now
pairux join ABC123,pairux listen,pairux say ...and the other agent commands go through the existing launcher, which already hands every argument it doesn't handle itself to the desktop app (the same pathpairux daemonuses).install.sh(macOS + Linux): the help text lists the agent commands. Arguments already pass through viaexec "$APP_BIN" "$@".install.ps1: agent commands run in the console through a pipe instead ofstart, so output shows up and the script waits for the command to finish.packages/cli, its lockfile importer and vitest project. Docs, README and llms.txt now point atpairuxfrom the installer.Checks
electron-vite buildsucceeds and the bundle contains the agent client.libatk).Ships to desktop users with the next tag (v0.11.1).
@profullstack/pairuxgets unpublished from npm.🤖 Generated with Claude Code