Skip to content

fix(tui): thread DaemonApi into init wizard OAuth flow (#1032)#1369

Merged
Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:worktree-fix+1032-init-oauth-url
Jun 9, 2026
Merged

fix(tui): thread DaemonApi into init wizard OAuth flow (#1032)#1369
Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:worktree-fix+1032-init-oauth-url

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes netclaw init and netclaw provider - OAuth login url #1032netclaw init showed "Daemon API not available" when selecting a browser OAuth (PKCE) provider auth method (e.g. OpenAI "ChatGPT Subscription (browser)"), while netclaw provider worked correctly.
  • Root cause: InitWizardViewModel received DaemonApi? but did not pass it to ProviderStepViewModel, which hardcoded null when constructing OAuthFlowCoordinator.
  • Threads the existing daemonApi parameter through so both flows use the same coordinator wiring.

Test plan

  • dotnet build passes
  • VHS tape: netclaw init → OpenAI → "ChatGPT Subscription (browser)" now shows the full OAuth URL, callback spinner, and redirect-URL paste fallback (screenshot verified)

…dev#1032)

ProviderStepViewModel was constructing OAuthFlowCoordinator with a null
DaemonApi, so the browser OAuth (PKCE) flow in `netclaw init` hit
"Daemon API not available" instead of showing the authorization URL.
The DaemonApi was already available in InitWizardViewModel — it just
was not passed through.
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 9, 2026 15:20
@Aaronontheweb Aaronontheweb added bug Something isn't working tui Terminal UI (Termina) issues providers Provider integrations and capability detection across OpenAI-compatible backends. labels Jun 9, 2026
@Aaronontheweb Aaronontheweb merged commit c05252b into netclaw-dev:dev Jun 9, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working providers Provider integrations and capability detection across OpenAI-compatible backends. tui Terminal UI (Termina) issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netclaw init and netclaw provider - OAuth login url

1 participant