mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-05 02:41:45 +00:00
Add a [[bin]] target to the attractor crate with two subcommands: - `attractor validate <pipeline.dot>` -- parse and validate only - `attractor run <pipeline.dot>` -- full pipeline execution with LLM backend The CLI supports --dry-run, --auto-approve, --resume, --model, --provider, and two-level verbosity (-v one-line summaries, -vv full event details). Extracts a shared `default_registry()` function in handler/mod.rs so both the CLI and server can build a fully-wired HandlerRegistry without duplicating handler registration boilerplate. The AgentBackend in cli/backend.rs implements CodergenBackend by creating a coding-agent-loop Session per node invocation, giving LLM nodes access to file and shell tools. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
368 B
Rust
20 lines
368 B
Rust
pub mod artifact;
|
|
pub mod checkpoint;
|
|
pub mod cli;
|
|
pub mod condition;
|
|
pub mod context;
|
|
pub mod engine;
|
|
pub mod error;
|
|
pub mod event;
|
|
pub mod graph;
|
|
pub mod handler;
|
|
pub mod interviewer;
|
|
pub mod outcome;
|
|
pub mod parser;
|
|
pub mod preamble;
|
|
pub mod pipeline;
|
|
#[cfg(any(feature = "server", test))]
|
|
pub mod server;
|
|
pub mod stylesheet;
|
|
pub mod transform;
|
|
pub mod validation;
|