The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(aui): handle missing approval data in ApprovalCardAdapter
Steven Enamakel70707bf64388
diff --git a/app/src/features/conversations/aui/ApprovalCardAdapter.tsx b/app/src/features/conversations/aui/ApprovalCardAdapter.tsxindex d5fff09124..9c645ed0bc 100644--- a/app/src/features/conversations/aui/ApprovalCardAdapter.tsx+++ b/app/src/features/conversations/aui/ApprovalCardAdapter.tsx@@ -59,6 +59,14 @@ export interface ApprovalCardAdapterProps<D = ApprovalDecision> {*/alwaysDecision?: D;alwaysHint?: string;+ /**+ * Local UI action for "Always allow" instead of an `onDecide` dispatch —+ * e.g. `PlanReviewPart`'s "Revise" button, which opens a feedback textarea+ * rather than sending a decision immediately. Takes precedence over+ * `alwaysDecision` when both are given; does not enter the `deciding`+ * state (there is nothing pending to show "deciding" for).+ */+ onAlwaysAllowClick?: () => void;/** Decision to send for "Deny". Defaults to the approval-gate `'deny'`. */denyDecision?: D;/** Decision to send for "Allow once". Defaults to the approval-gate `'approve_once'`. */