vtcode 0.99.1

A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::sync::Arc;

use tokio::sync::Notify;

use crate::agent::runloop::unified::state::{CtrlCSignal, CtrlCState};

pub(crate) fn request_local_stop(
    ctrl_c_state: &Arc<CtrlCState>,
    ctrl_c_notify: &Arc<Notify>,
) -> CtrlCSignal {
    let signal = ctrl_c_state.register_signal();
    ctrl_c_notify.notify_waiters();
    signal
}