支持实时处理Git凭证
This commit is contained in:
@@ -13,6 +13,6 @@ pub use conversation::{
|
||||
pub use folder::{FolderCommandInfo, FolderDetail, FolderHistoryEntry, OpenedConversation};
|
||||
pub use message::{ContentBlock, MessageRole, MessageTurn, TurnRole, TurnUsage, UnifiedMessage};
|
||||
pub use system::{
|
||||
GitDetectResult, GitHubAccountsSettings, GitHubTokenValidation, GitSettings,
|
||||
GitCredentials, GitDetectResult, GitHubAccountsSettings, GitHubTokenValidation, GitSettings,
|
||||
SystemLanguageSettings, SystemProxySettings,
|
||||
};
|
||||
|
||||
@@ -39,6 +39,13 @@ pub struct SystemLanguageSettings {
|
||||
|
||||
// --- Version Control ---
|
||||
|
||||
/// Explicit credentials for a single git remote operation.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct GitCredentials {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct GitDetectResult {
|
||||
pub installed: bool,
|
||||
|
||||
Reference in New Issue
Block a user