Skip to main content

codetether_agent/a2a/git_credentials/
mod.rs

1//! Git credential helpers for worker-managed repositories.
2//!
3//! This module handles credential broker requests, local helper script setup,
4//! and Git/GitHub CLI wiring for repos managed through the A2A control plane.
5//!
6//! # Examples
7//!
8//! ```ignore
9//! let query = GitCredentialQuery::default();
10//! let creds = request_git_credentials(client, server, &token, None, "ws-1", "get", &query).await?;
11//! ```
12
13mod gh_cli;
14mod gh_query;
15mod git_config;
16mod helper;
17mod material;
18mod query;
19mod repo_config;
20mod request;
21mod script;
22mod stdin_query;
23#[cfg(test)]
24mod tests;
25
26pub use helper::run_git_credential_helper;
27pub use material::GitCredentialMaterial;
28pub use query::GitCredentialQuery;
29pub use repo_config::{configure_repo_git_auth, configure_repo_git_github_app};
30pub use request::request_git_credentials;
31pub use script::write_git_credential_helper_script;