ollanet 0.7.0
ollanet 0.7.0 adds ollanet serve, a read-only model catalog for agents that are not on your network. It also adds quieter output for scripts and agents, and scan now says which hosts did not answer and why.
Install or update with npm i -g ollanet. Full release notes are on GitHub.
Highlights
ollanet serve: a token-gated, read-only list of the models on your hosts, for a cloud agent or anything else off your network. It binds to127.0.0.1:11500by default, and--funnelcan publish it through Tailscale Funnel. It never returns hostnames, IPs, ports, OS, or paths, and it never runs prompts, pulls, or deletes. See Serve.-q/--quieton every command (orOLLANET_QUIET=1): results on stdout, stderr only for errors and warnings. See Commands.--stdin/-forpromptandcompare: waits for stdin to close and uses it as the prompt, for slow producers such asgit diff. Without the flag, piped stdin is still used only if it arrives within 100ms, so pipes that never close do not hang. See Prompt.
ollanet serve token add cloud-agent --expires 30d
ollanet serve --funnel
git diff | ollanet prompt desk "Review this" --stdin -q
What else changed
- scan lists hosts that were probed but did not answer as Ollama, with a reason such as
timeout after 2500msorconnection refused (ECONNREFUSED).--jsonfailures addportand a shortcode. IPv6 hosts get bracketed endpoints. See Scan. - compare prints its result table on stdout, as
benchdoes. The default-prompt notice prints before the run. - compare and bench print
→ model (1/2)progress lines only when stderr is a terminal. - serve tokens:
token listshows when each token was last used.token rmwith no name lets you pick from a list in a terminal.token pruneremoves expired tokens and tokens unused for 30 days, after you confirm. - config: a checkout no longer tracks
config.json; start fromconfig.example.json. New variables:OLLANET_QUIET,OLLANET_PROGRESS,OLLANET_SERVE_FILE,OLLANET_TAILSCALE_BIN. See Configuration.
Upgrade notes
- Back up a checkout's
config.jsonbefore you pull. It is no longer tracked. If yours is unchanged from the committed copy, the pull deletes it. If you edited it, git refuses the pull until you move it aside. Copy it somewhere safe, pull, then put it back. Installs from npm are not affected. - The compare table moved from stderr to stdout. Scripts that read it from stderr should read stdout instead.
--jsonis unchanged. - Progress lines print only on a terminal. Set
OLLANET_PROGRESS=1to force them on when output is piped, or0to turn them off.
Security notes for serve
- Loopback by default. A non-loopback
--listenis refused unless you pass--allow-remote. Publish with--funnelortailscale serve, which add TLS. - Hashed tokens. A token is printed once.
~/.ollanet/serve.jsonstores only its SHA-256 hash, plus creation, expiry, and last-use times. Comparison is constant-time, and expired tokens never match. - Read-only. The catalog has allow-listed model fields under opaque host labels, and it does not proxy prompts, compares, pulls, deletes, or
ps. - Funnel is public.
--funnelputs the catalog on a publichttps://<device>.<tailnet>.ts.net/URL and refuses to start until a token exists. Give shared tokens an--expires. - Prune old tokens.
ollanet serve token pruneremoves expired tokens and tokens unused for 30 days.token listshows which ones are still in use.