@sys9/chord-cli
v0.1.314
Published
Chord daemon and Agent bridge binaries
Readme
@sys9/chord-cli
@sys9/chord-cli packages the native chord-daemon and chord-bridge binaries for npm. The package exposes
only the daemon launcher to users:
npx -y @sys9/chord-cli@latest run --server 'https://chord-api.sys9.ai'Copy the complete command from Add Host. On first use, open the Pair link printed by the CLI. The CLI creates the durable Host credential locally after approval.
Direct installation also works when needed:
npm install -g @sys9/chord-cli
chord-daemon versionRelease builds publish this root package plus platform-specific optional dependencies. The root package contains
the chord-daemon Node launcher; the matching platform package contains the daemon and its same-version
chord-bridge. The daemon pins that pair before starting and exposes the bridge only inside Agent Runtimes.
If the API reports a newer daemon protocol, the packaged launcher restarts the daemon once with the exact compatible @sys9/chord-cli version through npx or bunx. It does not change the global installation or select an unverified latest version.
The same launcher owns Host detail's managed Update now flow. After the old daemon closes, it
snapshots daemon SQLite and starts the exact release selected by the API. The update commits only
after that release reconnects the same Host and confirms the API has registered and settled its
command stream. If the candidate exits or times out before readiness, the launcher restores SQLite
and starts the packaged prior binary once. Runtime-owned Sessions, active turns, and native files
continue through both replacement paths. A standalone native binary cannot advertise or perform
this managed update.
