Skip to content

feat: add initial Windscribe CLI provider integration - #61

Merged
moonmouse11 merged 9 commits into
devfrom
feat/windscribe-provider
Nov 10, 2026
Merged

moonmouse11 merged 9 commits into
devfrom
feat/windscribe-provider

Conversation

@moonmouse11

Copy link
Copy Markdown
Owner

Summary

Adds initial Windscribe support through windscribe-cli v2, including account
setup guidance, location selection, asynchronous connection tracking, protocol
fallback, runtime protocol reporting, and vendor tunnel ownership.

This PR is currently a draft. The implementation and automated tests are in
place, but live connection correctness still has unresolved blockers described
below.

Changes

  • Add WindscribeProvider backed by windscribe-cli.
  • Detect installed and logged-in state and expose a setup action.
  • Parse real Windscribe v2 status fields:
    • login state;
    • connect state;
    • location;
    • firewall state;
    • protocol.
  • Parse free and Pro locations from windscribe-cli locations.
  • Connect by city to avoid ambiguous server nicknames.
  • Use best for the Best Location row.
  • Run the temporary fallback order:
    1. Auto
    2. Stealth
    3. WStunnel
  • Wait for complete teardown before moving to the next fallback transport.
  • Stop the fallback queue if the previous transport does not disconnect.
  • Cancel vendor daemon intent when a newer plugin connection supersedes it.
  • Add exact runtime interface claims using:
    • interface name;
    • sysfs inode;
    • kernel boot ID.
  • Report the active Windscribe protocol and traffic through the claimed
    interface.
  • Prevent exact vendor-owned interfaces from appearing as WireGuard orphan
    profiles.
  • Add explicit provider Ping capability and hide Ping actions for Windscribe,
    WARP, and NetworkManager.
  • Add tests for status parsing, fallback lifecycle, cancellation, interface
    ownership, protocol reporting, and unsupported Ping behavior.

Verification

  • Ruff check: passed
  • Ruff format check: passed
  • mypy: passed
  • qmllint: passed
  • Docker tests: 1461 passed, 5 skipped

Known blockers

  • Windscribe still does not establish a usable tunnel on the current live
    machine.
  • Windscribe can remain in Disconnecting, causing the fallback queue to stop
    before trying another transport.
  • A lingering vendor utun interface can still appear as a WireGuard orphan
    when no valid Windscribe claim was earned.
  • The UI can show more than one active connection while stale/vendor-owned
    interfaces remain present.
  • Some Happ connections available on another device currently fail through the
    plugin. This needs a separate correctness investigation.
  • The panel/window has a serious performance regression. Performance work is
    explicitly deferred to a separate branch and tracked as a P0 backlog item.

Out of scope

  • Provider settings in QML, including login, 2FA, logout, and configurable
    protocol order.
  • General plugin performance optimization.
  • Changes to Happ subscription or connection behavior.
  • Changes to WireGuard configuration ownership.
  • Parsing Windscribe logs as a runtime API.
  • Windscribe server Ping without a supported CLI/API source.

Review focus

  • Newest connection intent must always supersede the previous one.
  • Fallback transports from one intent must never overlap.
  • Interface ownership must not depend on patterns such as utun<number>.
  • Unsupported Ping actions must remain unavailable from mouse and keyboard.
  • Vendor tunnels must not enable the plugin nftables kill switch.

@sonarqubecloud

Copy link
Copy Markdown

@moonmouse11
moonmouse11 merged commit 97972f2 into dev Nov 10, 2026
6 checks passed
@moonmouse11
moonmouse11 deleted the feat/windscribe-provider branch November 10, 2026 14:29
moonmouse11 added a commit that referenced this pull request Nov 20, 2026
* feat: Cloudflare WARP provider, provider setup rows, WARP e2e workflow (#59)

* feat: app warp provider

* fix: fix widget

* test: add WARP test

* fix: fix WARP connection lock

* fix: fix lint & sonar search

* feat: add initial Windscribe CLI provider integration (#61)

* feat: add windscribe

* test: fix pro subs connections

* fix: fix Incy nd other providers

* feat: windscribe login template

* fix: fix windscribe connection

* fix: update connection types

* fix: fix connection select

* fix: fix windscribe connection

* fix: fix CI bugs

* perf: add persistent VPN backend and virtualize server lists (#62)

* fix: big update & add perf to plugin. fix vpn connections and qml speed

* fix: fix Sonar Qube issues list

* feat: upgrade windscribe plugin (#63)

* fix: fix ping & connections list (#64)

* fix: fix ping & connections list

* fix: fix CI problems

* fix: add explicit Windscribe force switch (#65)

* fix: fix qml list

* fix: fix after review

* fix: fix menu bar label change
moonmouse11 added a commit that referenced this pull request Nov 23, 2026
* fix: keep VPN server lists and bar panel stable during updates (#66)

* feat: Cloudflare WARP provider, provider setup rows, WARP e2e workflow (#59)

* feat: app warp provider

* fix: fix widget

* test: add WARP test

* fix: fix WARP connection lock

* fix: fix lint & sonar search

* feat: add initial Windscribe CLI provider integration (#61)

* feat: add windscribe

* test: fix pro subs connections

* fix: fix Incy nd other providers

* feat: windscribe login template

* fix: fix windscribe connection

* fix: update connection types

* fix: fix connection select

* fix: fix windscribe connection

* fix: fix CI bugs

* perf: add persistent VPN backend and virtualize server lists (#62)

* fix: big update & add perf to plugin. fix vpn connections and qml speed

* fix: fix Sonar Qube issues list

* feat: upgrade windscribe plugin (#63)

* fix: fix ping & connections list (#64)

* fix: fix ping & connections list

* fix: fix CI problems

* fix: add explicit Windscribe force switch (#65)

* fix: fix qml list

* fix: fix after review

* fix: fix menu bar label change

* release: update manifest (#67)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant