
Adds an `debug: edit tool` action that opens a new view which will help us debug the edit tool internals. As the edit tool runs, the log displays: - Instructions provided by the main model - Response stream from the editor model - Parsed edit blocks - Tool output provided back to main model The log automatically records all edit tool interactions for staff, so if you notice something weird, you can debug it retroactively without having to open the debug tool first. We may want to limit the number of recorded requests later. I have a few more ideas for it, but this seems like a good starting point. https://github.com/user-attachments/assets/c61f5ce8-08b1-4500-accb-db2a480eb3ab Release Notes: - N/A
40 lines
995 B
TOML
40 lines
995 B
TOML
[package]
|
|
name = "assistant_tools"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/assistant_tools.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
assistant_tool.workspace = true
|
|
chrono.workspace = true
|
|
collections.workspace = true
|
|
feature_flags.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
language.workspace = true
|
|
language_model.workspace = true
|
|
project.workspace = true
|
|
release_channel.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
theme.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
workspace.workspace = true
|
|
settings.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rand.workspace = true
|
|
collections = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
language = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|