mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:40:44 +00:00
fix(codex): mark approval event emission fire-and-forget
This commit is contained in:
@@ -585,7 +585,10 @@ function isSupportedAppServerApprovalMethod(method: string): boolean {
|
||||
}
|
||||
|
||||
function emitApprovalEvent(params: EmbeddedRunAttemptParams, data: AgentApprovalEventData): void {
|
||||
params.onAgentEvent?.({ stream: "approval", data: data as unknown as Record<string, unknown> });
|
||||
void params.onAgentEvent?.({
|
||||
stream: "approval",
|
||||
data: data as unknown as Record<string, unknown>,
|
||||
});
|
||||
}
|
||||
|
||||
function readDisplayCommandPreview(
|
||||
|
||||
Reference in New Issue
Block a user