Conversation
…ation_source to compile-time typestate AuthsContextBuilder gains IS, AS, ASrc generics mirroring R/K/C. build() is now infallible (returns AuthsContext, not Result<AuthsContext>). BuilderError is removed. All call sites updated: .build()? / .build().unwrap() -> .build().
…lize(), rename SDK functions for cross-layer consistency - Replace create_developer_identity/create_ci_identity/create_agent_identity with single initialize(IdentityConfig) - Add IdentityConfig enum (Developer/Ci/Agent variants) and CiIdentityConfig struct - Add InitializeResult enum; rename result types to DeveloperIdentityResult/CiIdentityResult/AgentIdentityResult - Rename sign_artifact_attestation -> sign_artifact - Rename extend_device_authorization -> extend_device - Rename compute_allowed_signers -> generate_allowed_signers - Rename acquire_mcp_token -> exchange_token; inject reqwest::Client as parameter - Update all CLI call sites, tests, and internal SDK usage
…nd infallible builder
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
create_developer_identity/create_ci_identity/create_agent_identitywith singleinitialize(IdentityConfig)entry pointIdentityConfigenum (Developer/Ci/Agent variants),InitializeResultenum, rename result typessign_artifact_attestation→sign_artifactextend_device_authorization→extend_devicecompute_allowed_signers→generate_allowed_signersacquire_mcp_token→exchange_token(with injectedreqwest::Client)AuthsContextbuilder to compile-time typestate (fn-35.7)Test plan
cargo build -p auths-sdk --all-features— cleancargo build -p auths-cli --all-features— cleancargo check --manifest-path packages/auths-python/Cargo.toml— clean