acp-cli 0.3.1

Headless CLI client for the Agent Client Protocol (ACP)
Documentation
use super::events::PromptResult;
use crate::error::Result;
use tokio::sync::oneshot;

pub enum BridgeCommand {
    Prompt {
        messages: Vec<String>,
        reply: oneshot::Sender<Result<PromptResult>>,
    },
    Cancel,
    Shutdown,
    SetMode {
        mode: String,
        reply: oneshot::Sender<Result<()>>,
    },
    SetConfig {
        key: String,
        value: String,
        reply: oneshot::Sender<Result<()>>,
    },
}