feat: add gateway lock, shell completion, and tailscale serve (Tier 4 features 1-3)
This commit is contained in:
@@ -61,8 +61,14 @@ export class FlynnClient {
|
||||
this._handleMessage(event.data);
|
||||
};
|
||||
|
||||
this._ws.onclose = () => {
|
||||
this._ws.onclose = (event) => {
|
||||
this._ws = null;
|
||||
// Gateway lock — show specific message and don't auto-reconnect
|
||||
if (event.code === 4003) {
|
||||
this._setStatus('locked');
|
||||
this._autoReconnect = false;
|
||||
return;
|
||||
}
|
||||
this._setStatus('disconnected');
|
||||
// Reject all pending requests
|
||||
for (const [id, pending] of this._pending) {
|
||||
|
||||
Reference in New Issue
Block a user