pub struct BashCompletedFrame {Show 21 fields
pub launching_identity: Option<TaskIdentity>,
pub changed_files: Option<Report>,
pub frame_type: &'static str,
pub task_id: String,
pub session_id: String,
pub status: BgTaskStatus,
pub exit_code: Option<i64>,
pub command: String,
pub output_preview: String,
pub bash_output_list_envelope: Option<ListEnvelope>,
pub output_truncated: bool,
pub original_tokens: Option<u32>,
pub compressed_tokens: Option<u32>,
pub tokens_skipped: bool,
pub status_reason: Option<String>,
pub remote_oom_kill: Option<RemoteOomKill>,
pub output_incomplete: bool,
pub live_descendants: Option<Vec<LiveDescendant>>,
pub live_descendants_omitted: usize,
pub live_descendants_unavailable: Option<LiveDescendantsUnavailable>,
pub live_descendants_summary: Option<String>,
}Fields§
§launching_identity: Option<TaskIdentity>§changed_files: Option<Report>§frame_type: &'static str§task_id: String§session_id: String§status: BgTaskStatus§exit_code: Option<i64>§command: String§output_preview: StringTail of stdout+stderr (≤300 bytes), already decoded as lossy UTF-8.
Empty string when no output was captured. Used by plugins to inline
short results in the system-reminder so agents don’t need a follow-up
bash_status round-trip for typical short commands.
bash_output_list_envelope: Option<ListEnvelope>§output_truncated: boolTrue when the task produced more output than output_preview shows
(rotated buffer, file > 300 bytes, etc). Plugins use this to render a
… prefix and signal that bash_status would return more.
original_tokens: Option<u32>Token count of raw stdout+stderr before compression. Omitted when the payload exceeded the 128 KiB per-stream tokenization cap.
compressed_tokens: Option<u32>Token count of the compressed completion payload. Omitted when raw tokenization was skipped due to the cap.
tokens_skipped: boolTrue when output exceeded the tokenization cap and was not measured.
status_reason: Option<String>§remote_oom_kill: Option<RemoteOomKill>The build server’s memory-kill cause and measurements, when reported.
output_incomplete: boolTrue when capture was incomplete; status still reflects the child exit.
live_descendants: Option<Vec<LiveDescendant>>§live_descendants_omitted: usizeFor a finished task, why live_descendants is null, or, with
listing_incomplete, why the list may be only part of the group.
live_descendants_summary: Option<String>Implementations§
Source§impl BashCompletedFrame
impl BashCompletedFrame
pub fn new( task_id: impl Into<String>, session_id: impl Into<String>, status: BgTaskStatus, exit_code: Option<i64>, command: impl Into<String>, output_preview: impl Into<String>, output_truncated: bool, original_tokens: Option<u32>, compressed_tokens: Option<u32>, tokens_skipped: bool, ) -> Self
Trait Implementations§
Source§impl Clone for BashCompletedFrame
impl Clone for BashCompletedFrame
Source§impl Debug for BashCompletedFrame
impl Debug for BashCompletedFrame
Auto Trait Implementations§
impl Forget for BashCompletedFrame
impl Freeze for BashCompletedFrame
impl Move for BashCompletedFrame
impl RefUnwindSafe for BashCompletedFrame
impl Send for BashCompletedFrame
impl Sync for BashCompletedFrame
impl Unpin for BashCompletedFrame
impl UnsafeUnpin for BashCompletedFrame
impl UnwindSafe for BashCompletedFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more