Skip to content

Show all ACP runtimes with install status and one-click install#715

Closed
wpfleger96 wants to merge 1 commit into
mainfrom
feat/runtime-reconciliation-install-ux
Closed

Show all ACP runtimes with install status and one-click install#715
wpfleger96 wants to merge 1 commit into
mainfrom
feat/runtime-reconciliation-install-ux

Conversation

@wpfleger96
Copy link
Copy Markdown
Collaborator

This PR makes all four ACP runtimes visible in the Preferred runtime dropdown and Doctor panel, with one-click install for missing adapters.

discover_local_acp_providers() silently filtered out any runtime whose ACP adapter binary wasn't on disk, hiding Claude Code and Codex even when the user had the claude CLI installed. There was no indication these runtimes existed or how to enable them.

  • Add AcpAvailabilityStatus (Available / AdapterMissing / NotInstalled) and discover_all_acp_providers() to classify all four known runtimes regardless of install state; AdapterMissing fires when the underlying CLI is present but the ACP adapter isn't
  • Add install_acp_runtime Tauri command that runs provider-defined CLI and adapter install scripts in a login shell with a 5-minute timeout, clears the resolve cache on completion so re-detection is automatic
  • Extend KnownAcpProvider with cli_install_commands, adapter_install_commands, install_instructions_url, and install_hint; install commands live server-side only so the frontend can't inject arbitrary shell commands
  • Redesign DoctorSettingsPanel to show all runtimes with three-state status icons, adapter-missing context (shows CLI path), and Install / View instructions buttons with inline success and error feedback
  • PersonaDialog runtime dropdown includes all runtimes with (adapter missing) / (not installed) labels and a warning when an unavailable provider is selected so users can store a preference for later; CreateAgentDialogSections shows a hint when additional runtimes are installable

…buttons

The "Preferred runtime" dropdown in Agents > Add Persona and the Doctor
panel only showed runtimes with a resolved ACP adapter binary, silently
hiding Claude Code and Codex when their adapters weren't installed.

Add three-state availability detection (Available / AdapterMissing /
NotInstalled) to distinguish "CLI present but adapter missing" from
"nothing installed." Expose a full provider catalog via
`discover_all_acp_providers` and an `install_acp_runtime` command that
runs server-defined install scripts in a login shell with a 5-minute
timeout.

Doctor panel now shows all four known runtimes with status badges and
Install buttons. PersonaDialog shows all runtimes with status labels so
users can store a preference for later. CreateAgentDialog shows a hint
when additional runtimes are available to install.
@wpfleger96
Copy link
Copy Markdown
Collaborator Author

🤖 Closing to reopen from branch wpfleger/runtime-reconciliation-install-ux per naming convention. Replacement PR incoming.

@wpfleger96 wpfleger96 closed this May 22, 2026
@wpfleger96 wpfleger96 deleted the feat/runtime-reconciliation-install-ux branch May 22, 2026 16:25
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