Skip to content

Clarify ACP provider setup failures#684

Closed
Finesssee wants to merge 8 commits into
athasdev:masterfrom
Finesssee:codex/acp-provider-runtime-status
Closed

Clarify ACP provider setup failures#684
Finesssee wants to merge 8 commits into
athasdev:masterfrom
Finesssee:codex/acp-provider-runtime-status

Conversation

@Finesssee
Copy link
Copy Markdown
Contributor

Summary

  • Classifies ACP provider setup/auth failures separately from generic agent errors.
  • Tags backend ACP prompt errors as authentication_required or provider_setup_required before emitting them to the frontend.
  • Shows provider setup required when Athas successfully launches a provider but the provider reports missing API keys, login, setup, or environment variables.
  • Reuses the existing error-block actions and extracts explicit setup commands such as glm-acp-agent --setup without pulling surrounding prose into the command.
  • Preserves multiline provider details in error blocks.
  • Updates inline ACP activity labels so setup/auth failures read as actionable provider state instead of a vague agent error.

Validation

  • cargo test -p athas-ai acp::bridge::tests
  • cargo test -p athas-ai acp
  • cargo test -p athas acp
  • bunx vp test run src/features/ai/tests/acp-provider-errors.test.ts src/features/ai/tests/error-block-parsing.test.ts
  • bun typecheck
  • git diff --check

Stack

Draft because this stacks on #678. Once #678 lands, retarget/rebase this PR against master so the diff only shows the provider setup/error UX follow-up.

Finesssee added 8 commits May 9, 2026 20:21
Merge registry agents ahead of the legacy Athas marketplace catalog while
preserving legacy-only entries as fallback options.

Add agentServers settings support for custom agents and registry env/default
overrides, and apply configured defaults through ACP session controls when
available.

Cover catalog precedence, custom agent mapping, env/default overrides,
malformed local entries, and settings import/normalization with focused tests.
@Finesssee
Copy link
Copy Markdown
Contributor Author

Superseded by #682. I folded the provider setup/error classification work into the ACP runtime/catalog PR so the ACP stack now lands through one resolved branch.

@Finesssee
Copy link
Copy Markdown
Contributor Author

Closing as superseded by #682, which now includes this provider setup/error UX work.

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