ACP (#34030)
Implements an ACP client that can be used from the agent panel
This commit is contained in:
parent
b9b42bee99
commit
495ec7a109
39 changed files with 4839 additions and 23 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue