Plan tools (plan_read, plan_write) now display with elegant tree-style formatting similar to the old todo_write UI: - State indicators: □ (todo), ◐ (doing), ■ (done), ⊘ (blocked) - Tree prefixes (├/└) for items with child details - Strikethrough for completed items - Shows touches and all three checks (happy/negative/boundary) - Displays plan file path link at the end plan_approve uses compact single-line format like read_file: - Shows approval status and revision number - Handles already-approved and error cases Changes: - Add print_plan_compact() to UiWriter trait with default impl - Implement print_plan_compact() in ConsoleUiWriter - Call print_plan_compact() from execute_plan_read/write - Add plan_read/plan_write to is_self_handled_tool() - Add plan_approve to is_compact_tool() with format_plan_approve_summary() - Add serde_yaml dependency to g3-cli
39 lines
1013 B
TOML
39 lines
1013 B
TOML
[package]
|
|
name = "g3-cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "CLI interface for G3 AI coding agent"
|
|
|
|
[dependencies]
|
|
g3-core = { path = "../g3-core" }
|
|
g3-config = { path = "../g3-config" }
|
|
g3-planner = { path = "../g3-planner" }
|
|
g3-computer-control = { path = "../g3-computer-control" }
|
|
g3-providers = { path = "../g3-providers" }
|
|
clap = { workspace = true }
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = "0.9"
|
|
rustyline = { version = "17.0.1", features = ["derive", "with-dirs"] }
|
|
dirs = "5.0"
|
|
tokio-util = "0.7"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
indicatif = "0.17"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
crossterm = "0.29.0"
|
|
ratatui = "0.29"
|
|
termimad = "0.34.0"
|
|
regex = "1.10"
|
|
syntect = "5.3"
|
|
once_cell = "1.19"
|
|
rand = "0.8"
|
|
proctitle = "0.1.1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.8"
|