Axe 3 (#52) : templates embarqués dans le binaire (web, python, rust, cli) - am init --template <stack> génère une config pré-remplie : groupe dev, profil par défaut, hooks projet (npm install / uv sync / cargo fetch) - substitution {project} {dir} au rendu ; --template list pour lister - fallback détection automatique de stack quand aucun template - config générée validée (parse YAML + validate) par les tests Axe 4 (#53) : am sessions export + rétention configurable - am sessions --export <id> [--output <fichier>] : JSON complet et reproductible (métadonnées + commandes history/<id>.jsonl + extrait de log 4 Ko + rendu lisible 'readable'), compatible archivage manuel - settings.sessions_retention_days (défaut 90) : purge au démarrage (silencieuse) et am sessions --retention <jours> - purge limitée à l'index dérivé sessions.json — le journal d'événements primaire n'est jamais touché ; EventKind::Prune journalisé (visibilité am audit) - sessions en cours (running) jamais purgées ; erreur claire si id inconnu REPL : sessions --export/--retention/--output + init --template ; help specs, tip cheat sheet, config.yaml, README, man pages régénérées. Version 0.4.7, ROADMAP cochée, 276 tests verts.
49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
[package]
|
|
name = "agent-manager"
|
|
version = "0.4.7"
|
|
edition = "2021"
|
|
description = "Manage local AI coding agents: list, install, start, stop, update — with automatic dependency handling and a YAML-driven catalog."
|
|
license = "MIT"
|
|
default-run = "am"
|
|
|
|
[[bin]]
|
|
name = "am"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "agent_manager"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
clap = { version = "4", features = ["derive", "wrap_help"] }
|
|
clap_complete = "4"
|
|
colored = "2"
|
|
flate2 = "1"
|
|
semver = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
reedline = "0.49"
|
|
nu-ansi-term = "0.50"
|
|
sha2 = "0.10"
|
|
shell-words = "1"
|
|
tar = "0.4"
|
|
tempfile = "3"
|
|
ureq = { version = "2", default-features = false, features = ["tls"] }
|
|
wait-timeout = "0.2"
|
|
keyring = "3"
|
|
which = "7"
|
|
zip = "0.6"
|
|
crossterm = "0.29"
|
|
ratatui = "0.30"
|
|
clap_mangen = "0.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.52", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_System_ProcessStatus", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Console"] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = true
|