dpc-tau-cli-term-raw 0.2.1

A minimal Unix-first coding agent.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! A paste owns the unchanged editor until its upload finishes or is discarded.

use std::sync::Arc;

#[cfg(test)]
mod tests;

/// Source text retained outside prompt, history, completion, and draft
/// reporting.
pub(super) struct PendingPaste {
    /// Unique attempt identity; stale completions cannot edit a later draft.
    pub(super) id: u64,
    /// Normalized UTF-8 source retained for explicit retry after failure.
    pub(super) text: Arc<str>,
    /// Only a failed attempt accepts Enter as an explicit retry.
    pub(super) failed: bool,
}