Skip to content

feat(ui): expose provider-guided reconnect actions - #137648

Closed
sasan1200 wants to merge 5 commits into
openclaw:mainfrom
sasan1200:feat/provider-guided-reconnect-ui
Closed

sasan1200 wants to merge 5 commits into
openclaw:mainfrom
sasan1200:feat/provider-guided-reconnect-ui

Conversation

@sasan1200

@sasan1200 sasan1200 commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

  • Models has no card action for an installed provider's declared guided setup or reconnect choice.

Closes #137842.

User Impact

  • Provider cards expose the plugin's setup action and open its existing wizard with masked credential input.
  • Credential-only sign-in stays available. Setup preserves the primary model and disables sibling actions while its wizard is active.

Why This Change Was Made

  • Targets main independently of the retired catalog redesign in feat(plugins): discover provider setup from the ClawHub catalog #135997.
  • Projects optional setupActions from installed-provider metadata and dispatches through the current Models login owner and existing prepare wizard.
  • Adds no configuration options, storage changes, or authentication implementation. The UI shares the Gateway type; Swift and Android readers ignore unknown response fields.

Evidence

  • HEAD f5cf22fff2505fd92984c05b6b255bacfc78a71d.
Check Result
pnpm build:runtime Exit 0 on pinned main and this head
Real Gateway and browser, installed fixture provider Credential-only login and guided reconnect persist credentials, preserve the primary model, and make zero inference requests
New capability and UI regression cases on main source Both fail before the change
Focused capability, reconnect, login, and model-selection tests 27 passed; 85.27 seconds wall time
Core, UI, and core-test type checks; touched-file lint and format Passed
Hosted CI Running; openclaw/security-sensitive-review: failure, maintainer approval required for this revision
check:changed Exit 1: max-lines ledger, stale test export ledger, test shard root budgets, and unused exports outside the changed files; clean main reproduces the max-lines and shard-budget failures

Main baseline

HEAD dfe89efb322f8e1983f7683c538ca5a4544bd4eb
OpenClaw 2026.10.6 (dfe89ef) — All your chats, one OpenClaw.
credential-only login completed through Models
{"head":"dfe89efb322f8e1983f7683c538ca5a4544bd4eb","baseline":true,"credentialLogin":true,"guidedReconnect":false,"primaryPreserved":true,"persistedCredential":true,"inferenceRequests":0}

Standalone head

HEAD f5cf22fff2505fd92984c05b6b255bacfc78a71d
OpenClaw 2026.10.6 (f5cf22f) — All your chats, one OpenClaw.
credential-only login completed through Models
{"head":"f5cf22fff2505fd92984c05b6b255bacfc78a71d","baseline":false,"credentialLogin":true,"guidedReconnect":true,"primaryPreserved":true,"persistedCredential":true,"inferenceRequests":0}
  • Main baseline: provider cards without Reconnect
  • Standalone head: provider cards with Reconnect
  • Provider-owned masked credential wizard
  • Configuration complete with the primary model preserved

steipete and others added 3 commits September 1, 2026 22:40
Share the accepted plugin feed snapshot across setup and management, and
replace the compiled provider index with release hints and installed manifests.

Use one provider-owned preparation path for CLI and browser setup, reconcile
installed identities before collecting credentials, and preserve primary models
during configuration-only setup.
@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime commands Command implementations size: L labels Sep 3, 2026
@sasan1200
sasan1200 marked this pull request as ready for review September 3, 2026 23:45
@sasan1200
sasan1200 requested a review from a team as a code owner September 3, 2026 23:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-04T02:59:44.633075Z 21e62ba Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a41628e3b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 4, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR adds provider-declared setup and reconnect buttons to Models cards through the existing setup wizard.

Example: An installed guided-first provider declares a Reconnect action.

  • Before: Its Models card offers Test connection but no guided reconnect control.
  • After: Reconnect opens the provider-owned masked credential wizard and preserves the active model.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong supplied behavior proof supports a focused implementation; overall readiness remains capped by unresolved feature direction.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Exact-head real Gateway and browser evidence exercises installed-provider card reconnect, masked credential input, successful persistence, preserved primary selection, and retained credential-only login; inspected before/after screenshots support the terminal results.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Users can see a configured provider card without an action for its plugin-declared guided reconnect flow.
Reason: The capability has clear value and restrained implementation cost, but the additional Models action surface needs owner direction.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this PR provides a useful capability still absent from main, with no introduced correctness defect found; feature-owner direction and current-revision security approval remain outstanding.

Priority: P2
Reviewed head: f5cf22fff2505fd92984c05b6b255bacfc78a71d
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should Models provider cards expose installed plugins’ guided setup actions alongside credential-only sign-in?
  • Recommendation: Accept the provider-card action: Approve the narrow installed-metadata feature using the existing setup owner.
  • Why: The implementation is focused and demonstrated, but no written owner approval establishes direction for this additional Models action surface.

Before merge

  • Await maintainer action - A maintainer must review and approve the security-sensitive changes at f5cf22f through the enforced approval gate.

Findings

None.

Agent review details

How this fits together

Installed plugin metadata supplies setup choices to Gateway capabilities, which Models projects onto provider cards and dispatches through the existing wizard and credential persistence owners.

flowchart TD
 A[Installed plugin metadata] --> B[Gateway provider capabilities]
 B --> C[Models provider cards]
 C --> D[Existing login owner]
 D --> E[Provider preparation wizard]
 E --> F[Existing credential and config owners]
Loading

Technical review

Best possible solution:

Expose installed-provider actions through the existing capability projection and wizard while retaining credential-only login and the active model.

Do we have a high-confidence way to reproduce the issue?

Current-main source and the supplied baseline screenshot establish that existing guided provider choices are absent from Models cards.

Is this the best way to solve the issue?

The patch uses the appropriate existing owners, preserves the separate login path, and avoids reviving the retired catalog architecture.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 21bd84bf25c2.

Provenance checked

  • Credential-only login and model preservation keeps the original intent (b342541: Separate provider sign-in from model activation and preserve the selected model and account settings.)
  • Solid login ownership and completion presentation keeps the original intent (18cd308: Move rendering into owner-scoped Solid factories while retaining admission, cancellation, scope, and domain authority.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +85, Tests +127. Total +212 across 10 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 7 135 50 +85
Tests 3 127 0 +127
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 10 262 50 +212

Labels

Label changes:

  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

Label justifications:

  • P2: This is a bounded provider-management improvement with a demonstrated user-facing action and no urgent introduced regression.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-04T02:11:42.365Z sha 21e62ba :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-04T03:08:13.371Z sha 21e62ba :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-04T03:57:13.528Z sha 21e62ba :: blocked before merge. :: none
  • reviewed 2026-09-04T04:05:22.475Z sha 21e62ba :: blocked before merge. :: none
  • reviewed September 22, 2026, 11:56 PM ET / September 23, 2026, 03:56 UTC (Revision 6) sha unknown :: blocked before merge. :: none
  • reviewed September 22, 2026, 11:56 PM ET / September 23, 2026, 03:56 UTC (Revision 7) sha unknown :: blocked before merge. :: none
  • reviewed 2026-10-07T21:32:11.312Z sha 21e62ba :: blocked before merge. :: none
  • reviewed 2026-10-19T05:05:16.579Z sha 21e62ba :: blocked before merge. :: none

Reviewed October 22, 2026, 6:00 PM ET / 22:00 UTC (Revision 10).

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 4, 2026
@sasan1200
sasan1200 marked this pull request as draft September 4, 2026 02:45
@sasan1200
sasan1200 marked this pull request as ready for review September 4, 2026 02:54
@clawsweeper clawsweeper Bot removed the proof: 🎥 video Contributor real behavior proof includes video or recording evidence. label Sep 23, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

This reconnect change remains stacked on #135997. It uses provider-declared discovery choices and the existing prepare wizard; the merged credential-only login path is a separate capability that must remain available.

Could the catalog owner confirm the landing order for the stack? Integration should retain both credential-only login and discovery-based reconnect, with one setup owner and unchanged model selection. The existing real-Gateway reconnect evidence covers the catalog stack; current-main integration still needs validation.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 19, 2026
@sasan1200
sasan1200 changed the base branch from codex/dynamic-provider-catalog to main October 22, 2026 21:45
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes size: XL and removed size: L labels Oct 22, 2026
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Maintainer security review required

This external contributor PR changes sensitive security components. A maintainer must review these changes before merging.

Current SHA: f5cf22fff2505fd92984c05b6b255bacfc78a71d

These sensitive security changes were made:

  • src/gateway/server-methods/models-auth-status.types.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

After reviewing the changes, post a new PR comment containing only approval commands, each on its own line:

/allow-security-sensitive-change

A later push requires a fresh approval comment.

@openclaw-barnacle openclaw-barnacle Bot added size: M and removed docs Improvements or additions to documentation cli CLI command changes commands Command implementations size: XL labels Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 22, 2026
@sasan1200

Copy link
Copy Markdown
Contributor Author

Not planned.

@sasan1200 sasan1200 closed this Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. security-review-required security-sensitive-changed size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Control UI provider cards omit plugin-guided reconnect actions

2 participants