Skip to content

The hanzo CLI's local network needs a host binary this repository does not build #4

Closed

Description

@zeekay

hanzo network use local sets the CLI's API to http://localhost:3690. With this cloud listening there (CGO_ENABLED=0 make dev PORT=3690), a cloud command still fails:

$ hanzo network use local
✓ active network local (Hanzo Local)
$ hanzo base health
Error: no local cloud host at $HOME/work/hanzo/cloud/bin/host.
Build it with `make host` in a hanzoai/cloud checkout, then `make plugin APP=<name>`
for the subsystems you need — or set HANZO_HOST_BIN to a host binary.

For a loopback API the CLI (src/commands/host.rs in hanzoai/cli, 8.5.158) makes no HTTP call. It probes /healthz over ZAP on a unix socket in its state directory and, when nothing answers, starts $HANZO_HOST_BIN or ~/work/hanzo/cloud/bin/host with -addr 127.0.0.1:3690. This repository has no cmd/host, and its Makefile has no host or plugin target, so the CLI cannot use a local build of it. The HTTP API itself answers curl.

Activity

  1. chaos666888 commented on Nov 13, 2026

    @chaos666888
    Contributor

    /claim #4

    Submitted PR https://github.com/hanzoai/cloud/compare/main...chaos666888:cloud:fix/local-cli-host-binary-4?expand=1 adding cmd/host/main.go, make host plugin targets in Makefile, the -zap CLI flag in config.go, default <state_dir>/host.zap.sock + master key initialization for local CLI runs, and GET /healthz + GET /readyz on the main zip.App so hanzo network start comes up cleanly.

    Solana USDC Wallet: EdbgyAcVC5MNaFGph2UgvnBUP7WxxNyXZUzsHHifQyAE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions