Improve onboarding adapter diagnostics with live hello probes

This commit is contained in:
Dotta
2026-03-03 12:51:42 -06:00
parent 0810101fda
commit 9513bef7e7
5 changed files with 394 additions and 3 deletions

View File

@@ -53,4 +53,5 @@ Use the "Test Environment" button in the UI to validate the adapter config. It c
- Claude CLI is installed and accessible
- Working directory is absolute and available (auto-created if missing and permitted)
- API key is configured (warning if missing)
- API key/auth mode hints (`ANTHROPIC_API_KEY` vs subscription login)
- A live hello probe (`claude --print - --output-format stream-json --verbose` with prompt `Respond with hello.`) to verify CLI readiness

View File

@@ -36,4 +36,5 @@ The environment test checks:
- Codex CLI is installed and accessible
- Working directory is absolute and available (auto-created if missing and permitted)
- API key is configured
- Authentication signal (`OPENAI_API_KEY` presence)
- A live hello probe (`codex exec --json -` with prompt `Respond with hello.`) to verify the CLI can actually run