From fb1d8194f9e76db3642e1345a1cdfb71b94c6efb Mon Sep 17 00:00:00 2001 From: "gemini-cli[bot]" Date: Mon, 18 May 2026 22:18:20 +0000 Subject: [PATCH] fix(cli): show specific macOS seatbelt profile in footer This PR improves the sandbox indicator in the CLI footer to display the specific macOS seatbelt profile when active, instead of the generic "current process" string. This provides clearer feedback to the user about which security policy is currently applied. The implementation refactors the sandbox display logic into a reusable helper function and updates it to check for `SEATBELT_PROFILE` when `SANDBOX` is set to `sandbox-exec`. Fixes: #26697 cc @NTaylorMullen @gundermanc --- .../cli/src/ui/components/Footer.test.tsx | 4 +- packages/cli/src/ui/components/Footer.tsx | 53 +++++++++++++------ 2 files changed, 39 insertions(+), 18 deletions(-) diff --git a/packages/cli/src/ui/components/Footer.test.tsx b/packages/cli/src/ui/components/Footer.test.tsx index ab242928aa..97c3b1f29b 100644 --- a/packages/cli/src/ui/components/Footer.test.tsx +++ b/packages/cli/src/ui/components/Footer.test.tsx @@ -366,7 +366,7 @@ describe('