caurad
v0.13.8
Published
npx/npm wrapper for the Caura broker: downloads the platform binary from the public release mirror, SHA-256-verifies it, and executes it.
Readme
caurad — npx / npm wrapper
Install and run the Caura broker from the Node ecosystem:
npx caurad --help # run without a global install
npm install -g caurad # or install the `caura` command globallyHow it works
This package is a thin dispatcher — the broker itself is a single Go binary.
- On install (
postinstall,scripts/install.js) it detects your platform, downloads the matching release archive from the public release mirror, verifies its SHA-256 against the publishedchecksums.txt, and copies the canonical root payload intobin/. The archive name is discovered from its platform suffix inchecksums.txt, so release prefixes are not part of the wrapper contract. bin/caura.jsuses the shared launcher to execute that binary with forwarded arguments and a canonical invocation name.
The binary is downloaded from the public release mirror
(https://caura.ai/caura/<tag>/) — the same source the native installer
uses, not this repository's private GitHub Releases. SHA-256 verification is
the integrity gate.
Environment overrides
CAURA_BINARY_BASE— base URL of a release mirror (defaulthttps://caura.ai/caura). Point it at an on-prem gateway's<origin>/caurato install from a private deployment.CAURA_VERSION— pin a specific release tag instead of the installed package's version.
The published package version is set from the release tag by the canonical npm
workflow; the 0.0.0 in package.json is a local-checkout placeholder.
Licensed under Apache-2.0, matching the LICENSE at the repository root.
