feat(web): expose provider auth status - #390
Conversation
|
CI context: both Linux Node jobs reach the pre-existing packed standalone Web CLI smoke, install the tarball, and then the server exits before announcing its origin ( This PR does not change package metadata, CLI startup, or peer-dependency resolution. Its local check, focused tests, full Node suite, and Vitest suite pass as recorded in the PR body. |
Integrate the useful provider authentication status contribution from #390 onto current main. Preserve existing trust, capability, diagnostics and cancellation routes while retaining the original bounded, non-secret, read-only projection. No UI or credential write behavior is introduced. Refs #348, #390 Co-authored-by: testikun <320479488+testikun@users.noreply.github.com>
|
Integrated through #443 into main commit 86635ac. The integration preserves all original additions while resolving placement conflicts with current trust/capabilities/diagnostics code; no additional feature fixes were made. Original author testikun is retained and recognized as a co-author of the merged commit. Two independent reviews found no P2-or-higher issue; local full validation and all integration CI checks passed. Closing this source PR with its contribution history preserved. |
Problem
The Web configuration work tracked by #348 can list currently available models, but cannot explain which Pi providers exist, which authentication methods they support, or whether Pi currently considers them configured. Credential material must not cross the Web protocol boundary.
Value
Users and support tooling get actionable provider availability without exposing API keys, OAuth tokens, configured command values, or credential labels.
Approach
This is distinct from #367 runtime diagnostics and #375 thinking-state inspection. Login/logout writes and UI remain follow-ups.
Validation
Impact
Related to #348.