enum TypedSystemRepr {
Show 17 variants
TaskStarted {
task_id: String,
description: String,
uuid: String,
session_id: String,
tool_use_id: Option<String>,
task_type: Option<String>,
extras: Extras,
},
TaskUpdated {
task_id: String,
patch: TaskUpdatePatch,
uuid: String,
session_id: String,
extras: Extras,
},
TaskProgress {
task_id: String,
description: String,
usage: TaskUsage,
uuid: String,
session_id: String,
tool_use_id: Option<String>,
last_tool_name: Option<String>,
workflow_progress: Vec<WorkflowProgressEvent>,
extras: Extras,
},
TaskNotification {
task_id: String,
status: TaskNotificationStatus,
output_file: String,
summary: String,
uuid: String,
session_id: String,
tool_use_id: Option<String>,
usage: Option<TaskUsage>,
extras: Extras,
},
ThinkingTokens {
estimated_tokens: u64,
estimated_tokens_delta: i64,
uuid: String,
session_id: String,
extras: Extras,
},
TurnDuration {
ms: u64,
message_count: Option<u64>,
parent_tool_use_id: Option<String>,
session_id: String,
uuid: String,
extras: Extras,
},
StopHookSummary {
actions: u32,
hook_infos: Vec<StopHookInfo>,
hook_errors: Vec<String>,
has_output: bool,
level: String,
prevented_continuation: bool,
stop_reason: String,
tool_use_id: String,
parent_tool_use_id: Option<String>,
session_id: String,
uuid: String,
extras: Extras,
},
BackgroundTasksChanged {
tasks: Vec<Value>,
uuid: String,
session_id: String,
extras: Extras,
},
CommandsChanged {
commands: Vec<Value>,
uuid: String,
session_id: String,
extras: Extras,
},
HookStarted {
hook_id: String,
hook_name: String,
hook_event: String,
uuid: String,
session_id: String,
extras: Extras,
},
HookResponse {
hook_id: String,
hook_name: String,
hook_event: String,
outcome: String,
exit_code: i64,
output: String,
stdout: String,
stderr: String,
uuid: String,
session_id: String,
extras: Extras,
},
HookProgress {
hook_id: String,
hook_name: String,
hook_event: String,
stdout: String,
stderr: String,
output: String,
uuid: String,
session_id: String,
extras: Extras,
},
Notification {
key: Option<String>,
text: String,
priority: Option<String>,
uuid: String,
session_id: String,
extras: Extras,
},
PermissionDenied {
tool_name: String,
tool_use_id: String,
decision_reason_type: Option<String>,
decision_reason: Option<String>,
message: String,
uuid: String,
session_id: String,
extras: Extras,
},
CompactBoundary {
compact_metadata: CompactMetadataRepr,
uuid: String,
session_id: String,
extras: Extras,
},
VcsStateChanged {
kind: String,
branch: Option<String>,
cwd: String,
uuid: String,
session_id: String,
extras: Extras,
},
CodeChangePublished {
provider: String,
url: String,
repo: String,
identifier: String,
action: Option<String>,
branch: Option<String>,
uuid: String,
session_id: String,
extras: Extras,
},
}Variants§
TaskStarted
Fields
TaskUpdated
TaskProgress
Fields
§
workflow_progress: Vec<WorkflowProgressEvent>Workflow tool’s per-event snapshot of the
workflow’s phase + agent state. Present only when the
originating tool is Workflow; otherwise omitted. Each
event is the FULL snapshot (not a delta) of every phase
- agent currently known to the workflow.
TaskNotification
Fields
§
status: TaskNotificationStatusThinkingTokens
Fields
TurnDuration
Fields
StopHookSummary
Fields
§
hook_infos: Vec<StopHookInfo>BackgroundTasksChanged
CommandsChanged
HookStarted
Fields
HookResponse
Fields
HookProgress
Fields
Notification
Fields
PermissionDenied
Fields
CompactBoundary
VcsStateChanged
Fields
CodeChangePublished
Trait Implementations§
Source§impl Clone for TypedSystemRepr
impl Clone for TypedSystemRepr
Source§impl Debug for TypedSystemRepr
impl Debug for TypedSystemRepr
Source§impl<'de> Deserialize<'de> for TypedSystemRepr
impl<'de> Deserialize<'de> for TypedSystemRepr
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
Auto Trait Implementations§
impl Freeze for TypedSystemRepr
impl RefUnwindSafe for TypedSystemRepr
impl Send for TypedSystemRepr
impl Sync for TypedSystemRepr
impl Unpin for TypedSystemRepr
impl UnsafeUnpin for TypedSystemRepr
impl UnwindSafe for TypedSystemRepr
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