@farthershore/cloudflared-darwin-x64
v0.0.0
Published
Prebuilt cloudflared binary for darwin-x64, consumed as an optional dependency by @farthershore/backend (embedded tunnel runner).
Readme
@farthershore/cloudflared-darwin-x64
Prebuilt cloudflared binary for
darwin-x64 (Intel Mac), shipped as a platform-scoped optional dependency of
@farthershore/backend.
Why
When a FartherShore backend runs in tunnel transport mode with the embedded
runner, @farthershore/backend supervises cloudflared as a child process. It
locates the binary by resolving the @farthershore/cloudflared-<platform>
package matching the host's process.platform+process.arch — npm only installs
the one whose os/cpu fields match, so each host gets exactly its binary and
nothing is downloaded at runtime.
| field | value |
| ----- | ---------------------------------- |
| os | darwin |
| cpu | x64 |
| bin | cloudflared -> bin/cloudflared |
Binary population
The binary is not committed (see .gitignore); it is fetched into
bin/cloudflared at release/publish time by scripts/fetch-binary.mjs
(driven by the release pipeline with CLOUDFLARED_VERSION pinned). The Cloudflare
darwin asset is a .tgz, so the fetch step extracts cloudflared from the
archive. A source checkout has no binary — that is expected.
