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

@ -84,7 +84,7 @@ impl ProjectEnvironment {
self.get_worktree_environment(worktree, cx)
}
pub(crate) fn get_worktree_environment(
pub fn get_worktree_environment(
&mut self,
worktree: Entity<Worktree>,
cx: &mut Context<Self>,
@ -118,7 +118,7 @@ impl ProjectEnvironment {
/// If the project was opened from the CLI, then the inherited CLI environment is returned.
/// If it wasn't opened from the CLI, and an absolute path is given, then a shell is spawned in
/// that directory, to get environment variables as if the user has `cd`'d there.
pub(crate) fn get_directory_environment(
pub fn get_directory_environment(
&mut self,
abs_path: Arc<Path>,
cx: &mut Context<Self>,