diff options
| author | soryu <soryu@soryu.co> | 2026-02-04 01:59:40 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-04 01:59:40 +0000 |
| commit | 612cecc5bd5dbfc73d4a3a9d38626378eaf39041 (patch) | |
| tree | e23a4772b5299082a99c5ec449cbe222dc038e98 /makima/src/daemon/cli/supervisor.rs | |
| parent | 40f4c4ebbb41a46d83fa67fa43e6ec683ab7fdb2 (diff) | |
| download | soryu-612cecc5bd5dbfc73d4a3a9d38626378eaf39041.tar.gz soryu-612cecc5bd5dbfc73d4a3a9d38626378eaf39041.zip | |
Remove chain supervisor capability
Chains no longer spawn a supervisor task. Checkpoint contracts will be
automatically run as part of the DAG execution when dependencies complete.
- Remove supervisor task creation from start_chain handler
- Remove chain supervisor CLI commands
- Remove supervisor_task_id from StartChainResponse
- Remove withSupervisor option from frontend
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'makima/src/daemon/cli/supervisor.rs')
| -rw-r--r-- | makima/src/daemon/cli/supervisor.rs | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/makima/src/daemon/cli/supervisor.rs b/makima/src/daemon/cli/supervisor.rs index 0b52c9c..82d3900 100644 --- a/makima/src/daemon/cli/supervisor.rs +++ b/makima/src/daemon/cli/supervisor.rs @@ -446,66 +446,3 @@ pub struct ResumeContractArgs { pub contract_id: Uuid, } -// ============================================================================ -// Chain Supervisor Command Args -// ============================================================================ - -/// Common arguments for chain supervisor commands. -#[derive(Args, Debug, Clone)] -pub struct ChainSupervisorArgs { - /// API URL - #[arg(long, env = "MAKIMA_API_URL", default_value = "https://api.makima.jp")] - pub api_url: String, - - /// API key for authentication - #[arg(long, env = "MAKIMA_API_KEY")] - pub api_key: String, - - /// Current task ID (the chain supervisor's own task ID) - #[arg(long, env = "MAKIMA_TASK_ID")] - pub self_task_id: Option<Uuid>, - - /// Chain ID - #[arg(long, env = "MAKIMA_CHAIN_ID")] - pub chain_id: Uuid, -} - -/// Arguments for chain-status command (get chain status with progress info). -#[derive(Args, Debug)] -pub struct ChainStatusArgs { - #[command(flatten)] - pub common: ChainSupervisorArgs, - - /// Include contract details - #[arg(long)] - pub verbose: bool, -} - -/// Arguments for chain-contracts command (list contracts in the chain). -#[derive(Args, Debug)] -pub struct ChainContractsArgs { - #[command(flatten)] - pub common: ChainSupervisorArgs, - - /// Filter by status (active, completed, failed) - #[arg(long)] - pub status: Option<String>, -} - -/// Arguments for chain-progress command (manually trigger chain progression). -#[derive(Args, Debug)] -pub struct ChainProgressArgs { - #[command(flatten)] - pub common: ChainSupervisorArgs, -} - -/// Arguments for chain-graph command (get chain DAG visualization). -#[derive(Args, Debug)] -pub struct ChainGraphArgs { - #[command(flatten)] - pub common: ChainSupervisorArgs, - - /// Output format (ascii, json) - #[arg(long, default_value = "ascii")] - pub format: String, -} |
