CLI · 08

cosmo registry

Inspect the live Neuron registry of a namespace. cosmo registry list emits a DISCOVER Signal, collects the REGISTER replies for --timeout seconds, and prints every Neuron that announced itself - no registry_store required.

$ cosmo registry --help

Inspect the Neuron registry of a namespace.

Subcommands
  list      Emit DISCOVER and print every Neuron that announces itself.

Options (list)
  --url <url>             Synapse URL (cosmo:// | nats:// | kafka://). Required.
  --namespace, -n <ns>    Namespace.                          Default: dev
  --capability <cap>      Only Neurons declaring this capability.
  --timeout <s>           Seconds to collect REGISTER replies. Default: 1.5
  --json                   Machine-readable output.

Example

$ cosmo registry list --url=cosmo://127.0.0.1:7070 -n dev
  NEURON       STATUS      CAPABILITIES
  answerer     registered  text, qa
  summarizer   registered  summarize, english

Have a feature in mind?

The protocol, SDKs, and CLI are still pre-1.0. If something here is missing, ambiguous, or wrong - open an issue and propose a change. Every breaking change is debated in DECISIONS.md first.