Creates an addon for url without opening the socket until activation.
Current connection lifecycle state.
Attaches the addon and begins connecting. Called by terminal.loadAddon().
Closes the socket and connection, cancels reconnection, and releases listeners.
Subscribes to connection status transitions.
Connects a browser terminal to a binary WebSocket PTY endpoint, forwards geometry changes, and optionally reconnects with exponential backoff.