mirror of
https://github.com/luxfi/zap.git
synced 2026-10-30 15:04:16 +00:00
Unified mDNS auto-discovery for ZAP services across hanzo / lux / zoo /
osage.
mdns/
pyproject.toml hanzo-zap-mdns 0.1.0 (zeroconf dep)
src/hanzo_zap_mdns/
__init__.py publish() / browse() / ZapService
omni.py roles: mcp / browser / host / gateway
__main__.py `hanzo-zap-mdns browse` CLI
ext/ native-messaging helper for browser exts
helper.py stdio host doing publish/browse for
chrome/firefox/safari extensions
native-messaging-host.json manifest fragment
Service: `_hanzo-zap._tcp.local.` with TXT keys server_id, agent_label,
version, capabilities, proto. Replaces the brittle [9999..9995] port
probe + lockfile registry the extension was using through 1.9.x.
`pip install -e ~/work/zap/mdns` and the python ZAP server publishes
itself automatically (zap_server.py wired in @hanzo/python-sdk).
8 lines
251 B
JSON
8 lines
251 B
JSON
{
|
|
"name": "ai.hanzo.zap_mdns",
|
|
"description": "Hanzo ZAP mDNS browser — exposes mDNS discovery to the Hanzo browser extension",
|
|
"path": "/usr/local/bin/hanzo-zap-mdns-helper",
|
|
"type": "stdio",
|
|
"allowed_extensions": ["[email protected]"]
|
|
}
|