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
stop_share with no arguments wipes all Serve/Funnel config, including shares not made by this server #41
stop_share with no arguments runs tailscale serve reset, which wipes every Serve/Funnel config on the node, including shares the user set up by hand outside this server (a Home Assistant proxy, a Jellyfin share, etc.). An agent "cleaning up after itself" can take down unrelated services.
Evidence
src/providers/cli.ts:309-315: port === undefined ? ["serve", "reset"] : .... The no-argument default is the most destructive option, and the tool description presents it as the normal path.
Suggested approach
Require an explicit all: true to reset everything. With no arguments, return an error listing the active endpoints (from share_status) and asking which one to stop.
Track the endpoints this server created during the session and support stop_share {"mine": true}.
Return before/after state so the agent can show what changed (the house style the roadmap already uses for exit nodes).
Done when
No zero-argument call can delete shares the server didn't create. Tests cover all, httpsPort, and the no-argument error.
Activity
feat!: Funnel off by default, safe stop_share, structured share_statu…