feat(chat): broker Codex approvals and complete typed tool interactions
This commit is contained in:
+2
-1
@@ -2311,7 +2311,8 @@ export function approvalCard(permission, answer) {
|
||||
actionable: state === APPROVAL_PENDING,
|
||||
showRisk:
|
||||
state === APPROVAL_PENDING || (state === APPROVAL_ANSWERED && decision === DECISION_REJECT),
|
||||
headline: approvalHeadline(state, decision, str(permission.action)),
|
||||
headline: decision === DECISION_ALWAYS && permission.always_label === "Allow for session"
|
||||
? "Allowed for session" : approvalHeadline(state, decision, str(permission.action)),
|
||||
statusLine: approvalStatusLine(state, note),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user