pub struct AgentAttempt {
pub agent: String,
pub preset: String,
pub mode: Option<String>,
pub decides_alone: bool,
pub known: bool,
pub unasked: u32,
pub tally: PermissionTally,
pub plan: Vec<AgentPlanStep>,
}Expand description
An external agent’s attempt, as the report keeps it.
Fields§
§agent: StringIts name, as it gave it.
preset: StringThe preset (copilot, …) or acp for an argv of the person’s.
mode: Option<String>Its permission mode, in a sentence.
decides_alone: boolIt decided some calls without asking — its mode says so, or it was seen changing something unasked: those never reached speccoder.
known: boolA recording of its version says whether it asks.
unasked: u32Calls it reported changing something (an edit, a command) that never reached speccoder as a request.
tally: PermissionTallyWhat speccoder decided of what it asked.
plan: Vec<AgentPlanStep>Its plan as it last sent it (a claim).
Trait Implementations§
Source§impl Clone for AgentAttempt
impl Clone for AgentAttempt
Source§impl Debug for AgentAttempt
impl Debug for AgentAttempt
impl Eq for AgentAttempt
Source§impl JsonSchema for AgentAttempt
impl JsonSchema for AgentAttempt
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AgentAttempt
impl PartialEq for AgentAttempt
Source§impl Serialize for AgentAttempt
impl Serialize for AgentAttempt
impl StructuralPartialEq for AgentAttempt
Auto Trait Implementations§
impl Freeze for AgentAttempt
impl RefUnwindSafe for AgentAttempt
impl Send for AgentAttempt
impl Sync for AgentAttempt
impl Unpin for AgentAttempt
impl UnsafeUnpin for AgentAttempt
impl UnwindSafe for AgentAttempt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more