diff options
| author | soryu <soryu@soryu.co> | 2026-02-06 20:06:30 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-06 20:15:27 +0000 |
| commit | 1b692b8cde4a888c8a35af69231f181b57bf5619 (patch) | |
| tree | 74ce25ce6ee5fb4536b53404e1a0ae923e85c30d /makima/src/daemon/cli/mod.rs | |
| parent | 139be135c2086d725e4f040e744bb25acd436549 (diff) | |
| download | soryu-1b692b8cde4a888c8a35af69231f181b57bf5619.tar.gz soryu-1b692b8cde4a888c8a35af69231f181b57bf5619.zip | |
Fix: Cleanup old chain code
Diffstat (limited to 'makima/src/daemon/cli/mod.rs')
| -rw-r--r-- | makima/src/daemon/cli/mod.rs | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs index 91ef87c..77eee80 100644 --- a/makima/src/daemon/cli/mod.rs +++ b/makima/src/daemon/cli/mod.rs @@ -1,6 +1,5 @@ //! Command-line interface for the makima CLI. -pub mod chain; pub mod config; pub mod contract; pub mod daemon; @@ -11,7 +10,6 @@ pub mod view; use clap::{Parser, Subcommand}; -pub use chain::ChainArgs; pub use config::CliConfig; pub use contract::ContractArgs; pub use daemon::DaemonArgs; @@ -63,14 +61,6 @@ pub enum Commands { #[command(subcommand)] Config(ConfigCommand), - /// Chain commands for multi-contract orchestration - /// - /// Chains are DAGs (directed acyclic graphs) of contracts that work together - /// to achieve a larger goal. Contracts can depend on each other, and run - /// in parallel when no dependencies exist. - #[command(subcommand)] - Chain(ChainCommand), - /// Directive commands for autonomous goal-driven orchestration /// /// Directives are top-level goals that generate chains of steps executed @@ -216,48 +206,6 @@ pub enum ContractCommand { CreateFile(contract::CreateFileArgs), } -/// Chain subcommands for multi-contract orchestration. -#[derive(Subcommand, Debug)] -pub enum ChainCommand { - /// Create a chain from a YAML file - /// - /// Parses the chain definition, validates the DAG, and creates - /// contracts in the correct dependency order. - Run(chain::RunArgs), - - /// Get chain status and progress - Status(chain::StatusArgs), - - /// List all chains - List(chain::ListArgs), - - /// List contracts in a chain - Contracts(chain::ContractsArgs), - - /// Display ASCII DAG visualization - /// - /// Shows the chain structure as an ASCII graph with - /// contracts as nodes and dependencies as edges. - Graph(chain::GraphArgs), - - /// Validate a chain YAML file without creating - /// - /// Checks syntax, validates the DAG (no cycles), and - /// reports any errors. - Validate(chain::ValidateArgs), - - /// Preview what would be created from a chain file - /// - /// Shows execution order and contract details without - /// actually creating anything. - Preview(chain::PreviewArgs), - - /// Archive a chain - /// - /// Marks the chain as archived. Does not delete contracts. - Archive(chain::ArchiveArgs), -} - /// Directive subcommands for autonomous goal-driven orchestration. #[derive(Subcommand, Debug)] pub enum DirectiveCommand { |
