feat(providers): multi-account vault, usage protocol, and per-process account selection - #31
Merged
ImPedro29 merged 15 commits intoAug 11, 2026
Merged
Conversation
… lockfile test mock Capabilities skips auth at the entrypoint (the per-subcommand gate stays in the handler), the process exits after emitting the envelope, and the refresh test's lockfile mock gains the lockSync export that the mutation lock imports.
graseeel
marked this pull request as draft
August 10, 2026 11:06
Accepts the real source schema (percent + scope.model.display_name), derives a stable id, synthesizes a weekly window for weekly_scoped; fixture replaced by a real capture; includes an anti-fabrication guard.
graseeel
marked this pull request as ready for review
August 11, 2026 02:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds multi-account provider support to the CLI:
provider_accounts_v1andprovider_usage_v1capabilities expose only sanitized account summaries, plan labels, connection state, usage percentages, and reset timestamps. No tokens, emails, or raw provider bodies leave the secure-storage boundary.--provider-account— process-scoped opaque account selection for spawned turns; no mutable global default.modelssubcommand — per-account model validation against the provider catalog.provider-accounts capabilitieson every signed target.Version
No version bump in this PR. The maintainer publishes the signed release after review.
Reviewer notes
639cc18and this HEAD — not attributable to this feature.