You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
share_status: return structured endpoints with an explicit public/Funnel flag #43
share_status returns the CLI's human-readable text, so an agent can't reliably answer "is anything on this machine exposed to the internet right now?" That's the main safety question for a server whose headline feature is Serve/Funnel.
Evidence
src/tools/share.ts:45-56 returns { active, status: raw }, and active is a regex on /^No serve config/. tailscale serve status --json gives the full ServeConfig (TCP/Web handlers per host:port, and AllowFunnel per endpoint).
Fall back to text if the JSON flag is unavailable on older clients. Use the same structure in stop_share before/after output and in the planned multi-share support.
Done when
share_status returns a typed list of endpoints with a per-endpoint public flag and a top-level publicExposure, backed by fixture tests from real CLI JSON.
Activity
feat!: Funnel off by default, safe stop_share, structured share_statu…