Add the admin messages, approval ids as numbers, and two turn events
Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
@@ -51,6 +51,8 @@ fn code_name(code: ErrorCode) -> &'static str {
|
||||
ErrorCode::NoSuchSession => "no such session",
|
||||
ErrorCode::SessionExists => "session exists",
|
||||
ErrorCode::Inference => "inference",
|
||||
ErrorCode::Forbidden => "forbidden",
|
||||
ErrorCode::NoSuchApproval => "no such approval",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,6 +195,8 @@ impl Printer {
|
||||
writeln!(out, "[cache loss: {got} of {expected}]")?;
|
||||
}
|
||||
TurnEvent::Queued { .. } | TurnEvent::Progress { .. } => {}
|
||||
// Printed from task 20 on; until then these events are not sent.
|
||||
TurnEvent::ApprovalPending { .. } | TurnEvent::ToolDenied { .. } => {}
|
||||
}
|
||||
out.flush()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user