Implements an ACP client that can be used from the agent panel
This commit is contained in:
Conrad Irwin 2025-07-09 10:02:31 -06:00 committed by GitHub
parent b9b42bee99
commit 495ec7a109
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 4839 additions and 23 deletions

View file

@ -352,6 +352,14 @@ pub fn debug_adapters_dir() -> &'static PathBuf {
DEBUG_ADAPTERS_DIR.get_or_init(|| data_dir().join("debug_adapters"))
}
/// Returns the path to the agent servers directory
///
/// This is where agent servers are downloaded to
pub fn agent_servers_dir() -> &'static PathBuf {
static AGENT_SERVERS_DIR: OnceLock<PathBuf> = OnceLock::new();
AGENT_SERVERS_DIR.get_or_init(|| data_dir().join("agent_servers"))
}
/// Returns the path to the Copilot directory.
pub fn copilot_dir() -> &'static PathBuf {
static COPILOT_DIR: OnceLock<PathBuf> = OnceLock::new();