Skip to content

fix(onboard): activate media-only provider authentication - #126711

Merged
steipete merged 2 commits into
mainfrom
codex/onboarding-media-provider-auth
Aug 20, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/onboarding-media-provider-auth

Conversation

@steipete

@steipete steipete commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Documented media-provider onboarding commands failed before authenticating because CLI auth-choice validation only admitted text-inference providers, even though public help advertised media-provider flags. Fal and Vydra also treated image-generation models as the primary chatbot text model, overwriting an existing working text model.

Root Cause

The CLI validator accidentally reused the intentionally text-only interactive picker scope. Noninteractive setup also omitted the existing explicit providerRefs activation hint, so setup-only providers could not be activated through their existing trusted setup-owner descriptors. Separately, Fal and Vydra passed image defaults to a generic API-key helper whose defaultModel contract specifically means the text-inference starter model.

Fix

  • Let the generic provider-flow owner gather all capability scopes in a single manifest/catalog pass only when explicit CLI validation requests scope: "all"; preserve the text-only interactive picker and all trust/enable filters.
  • Pass the existing explicit provider reference into trusted setup activation before and after plugin installation.
  • Keep Fal/Vydra image defaults in their image-capability configuration owners and stop advertising image models as text defaults; align Fal's lightweight public provider contract.
  • Keep image-default constants private to their plugin owners and verify Fal's documented model value directly rather than coupling its regression to a production implementation constant.
  • Keep Runway/Alibaba's independently missing runtime auth-provider registrations as a separately scoped follow-up.

Evidence

  • Real isolated installed CLI before: documented explicit/inferred fal, Vydra, Comfy, PixVerse, Alibaba, and Runway media-provider flags each failed with Unknown --auth-choice before credentials or provider network access.
  • Real Fal provider auth owner before: an existing openai/gpt-5.6 text default was silently overwritten with fal/fal-ai/flux/dev.
  • Actual current-source in-memory owner proof after: CLI exposes Comfy/Fal/PixVerse/Vydra media choices; the interactive picker still exposes only text providers; exactly one manifest scan and one cold-catalog scan occur; Fal and Vydra preserve the existing OpenAI text model and no longer recommend image starter models; Vydra retains its canonical image default.
  • Regression coverage protects manifest/catalog capability-scope union, deduplication, one-pass provider-flow discovery, text-only interactive selection, trusted setup-owner activation, post-install provider references, and existing text-model preservation.
  • Targeted formatter and lint checks pass; independent architecture review and isolated Codex autoreview found no actionable findings.
  • Incorporated the landed Fal canonical-image-config contributor fix from fix(fal): write onboarding default image model to mediaModels.image #123447 and resolved CI's production dead-export checks without introducing compatibility shims.
  • Production delta is net negative two lines. The linked checkout has no physical node_modules; exact-head hosted CI runs all regression suites.

@clawsweeper

clawsweeper Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 20, 2026 15:23
@steipete
steipete force-pushed the codex/onboarding-media-provider-auth branch from bf8213f to d6396a7 Compare August 20, 2026 15:32
@steipete
steipete merged commit e50f73d into main Aug 20, 2026
230 checks passed
@steipete
steipete deleted the codex/onboarding-media-provider-auth branch August 20, 2026 15:43
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 21, 2026
…26711)

* fix(onboard): activate media-only provider authentication

* refactor(onboard): keep media model defaults plugin-private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant