pub struct CodeCell {Show 16 fields
pub code_cell_id: CodeCellId,
pub model_visible_call_id: ModelVisibleCallId,
pub thread_id: AgentThreadId,
pub codex_turn_id: CodexTurnId,
pub source_item_id: ConversationItemId,
pub output_item_ids: Vec<ConversationItemId>,
pub runtime_cell_id: Option<String>,
pub execution: ExecutionWindow,
pub runtime_status: CodeCellRuntimeStatus,
pub initial_response_at_unix_ms: Option<i64>,
pub initial_response_seq: Option<RawEventSeq>,
pub yielded_at_unix_ms: Option<i64>,
pub yielded_seq: Option<RawEventSeq>,
pub source_js: String,
pub nested_tool_call_ids: Vec<ToolCallId>,
pub wait_tool_call_ids: Vec<ToolCallId>,
}Expand description
Public reduced trace model returned by replay.
Runtime/debug object for one model-authored exec cell.
The JavaScript source and custom-tool outputs are still conversation items; this object tracks the code-mode runtime boundary and nested runtime work.
Fields§
§code_cell_id: CodeCellIdReducer-owned graph id derived from the model-visible exec call id.
Runtime cell ids are stored separately because they are only handles for
later waits and nested code-mode tools.
model_visible_call_id: ModelVisibleCallId§thread_id: AgentThreadId§codex_turn_id: CodexTurnId§source_item_id: ConversationItemIdConversation item containing the model-authored JavaScript.
output_item_ids: Vec<ConversationItemId>§runtime_cell_id: Option<String>Raw code-mode runtime/session id, useful when matching runtime payloads.
execution: ExecutionWindowFull JS-cell runtime window; yielded cells can outlive the initial custom call.
runtime_status: CodeCellRuntimeStatus§initial_response_at_unix_ms: Option<i64>§initial_response_seq: Option<RawEventSeq>§yielded_at_unix_ms: Option<i64>§yielded_seq: Option<RawEventSeq>§source_js: String§nested_tool_call_ids: Vec<ToolCallId>§wait_tool_call_ids: Vec<ToolCallId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeCell
impl<'de> Deserialize<'de> for CodeCell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CodeCell
Auto Trait Implementations§
impl Freeze for CodeCell
impl RefUnwindSafe for CodeCell
impl Send for CodeCell
impl Sync for CodeCell
impl Unpin for CodeCell
impl UnsafeUnpin for CodeCell
impl UnwindSafe for CodeCell
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
Converts
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>
Converts
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