Pull action_log into its own crate (#35959)

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2025-08-10 23:57:55 +02:00 committed by GitHub
parent 72761797a2
commit 308cb9e537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 177 additions and 77 deletions

View file

@ -12,12 +12,10 @@ workspace = true
path = "src/assistant_tool.rs"
[dependencies]
action_log.workspace = true
anyhow.workspace = true
buffer_diff.workspace = true
clock.workspace = true
collections.workspace = true
derive_more.workspace = true
futures.workspace = true
gpui.workspace = true
icons.workspace = true
language.workspace = true
@ -30,7 +28,6 @@ serde.workspace = true
serde_json.workspace = true
text.workspace = true
util.workspace = true
watch.workspace = true
workspace.workspace = true
workspace-hack.workspace = true

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,3 @@
mod action_log;
pub mod outline;
mod tool_registry;
mod tool_schema;
@ -10,6 +9,7 @@ use std::fmt::Formatter;
use std::ops::Deref;
use std::sync::Arc;
use action_log::ActionLog;
use anyhow::Result;
use gpui::AnyElement;
use gpui::AnyWindowHandle;
@ -25,7 +25,6 @@ use language_model::LanguageModelToolSchemaFormat;
use project::Project;
use workspace::Workspace;
pub use crate::action_log::*;
pub use crate::tool_registry::*;
pub use crate::tool_schema::*;
pub use crate::tool_working_set::*;

View file

@ -1,4 +1,4 @@
use crate::ActionLog;
use action_log::ActionLog;
use anyhow::{Context as _, Result};
use gpui::{AsyncApp, Entity};
use language::{OutlineItem, ParseStatus};