Skip to content

fix(cli): show specific macOS seatbelt profile in footer#27237

Draft
gemini-cli[bot] wants to merge 1 commit into
mainfrom
bot/productivity-updates-20260518221820-26063084542
Draft

fix(cli): show specific macOS seatbelt profile in footer#27237
gemini-cli[bot] wants to merge 1 commit into
mainfrom
bot/productivity-updates-20260518221820-26063084542

Conversation

@gemini-cli
Copy link
Copy Markdown
Contributor

@gemini-cli gemini-cli Bot commented May 18, 2026

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

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
@gemini-cli gemini-cli Bot added the bot-fix Indicates that this fix was autonomously submitted by a coding agent. label May 18, 2026
@github-actions
Copy link
Copy Markdown

Size Change: +57 B (0%)

Total Size: 33.8 MB

Filename Size Change
./bundle/chunk-5X54PR37.js 0 B -2.78 MB (removed) 🏆
./bundle/chunk-75IXRPFL.js 0 B -16.5 MB (removed) 🏆
./bundle/chunk-AYT2RPJX.js 0 B -659 kB (removed) 🏆
./bundle/chunk-ELFXU7GT.js 0 B -3.43 kB (removed) 🏆
./bundle/chunk-N3P3DBLX.js 0 B -3.77 kB (removed) 🏆
./bundle/chunk-T23BP7OH.js 0 B -12.5 kB (removed) 🏆
./bundle/chunk-VMBVGMS3.js 0 B -19.5 kB (removed) 🏆
./bundle/chunk-ZO2FYLZU.js 0 B -49.2 kB (removed) 🏆
./bundle/core-QXUJWTI3.js 0 B -49.1 kB (removed) 🏆
./bundle/devtoolsService-CEAIX37I.js 0 B -28 kB (removed) 🏆
./bundle/gemini-E6T3A4KO.js 0 B -585 kB (removed) 🏆
./bundle/interactiveCli-GORC5YSN.js 0 B -1.3 MB (removed) 🏆
./bundle/liteRtServerManager-6QUMNSVH.js 0 B -2.08 kB (removed) 🏆
./bundle/oauth2-provider-A2LHVBAM.js 0 B -9.12 kB (removed) 🏆
./bundle/chunk-7DAUKUU6.js 19.5 kB +19.5 kB (new file) 🆕
./bundle/chunk-CVZ5I2RZ.js 16.5 MB +16.5 MB (new file) 🆕
./bundle/chunk-EJ2R6A5K.js 3.43 kB +3.43 kB (new file) 🆕
./bundle/chunk-HDONO56B.js 49.2 kB +49.2 kB (new file) 🆕
./bundle/chunk-MDOZF5YO.js 2.78 MB +2.78 MB (new file) 🆕
./bundle/chunk-MTS3VIUP.js 3.77 kB +3.77 kB (new file) 🆕
./bundle/chunk-TGHQX66V.js 659 kB +659 kB (new file) 🆕
./bundle/chunk-VKDX2V63.js 12.5 kB +12.5 kB (new file) 🆕
./bundle/core-WU33WK7R.js 49.1 kB +49.1 kB (new file) 🆕
./bundle/devtoolsService-GCJNKVL4.js 28 kB +28 kB (new file) 🆕
./bundle/gemini-3WVWNIRB.js 585 kB +585 kB (new file) 🆕
./bundle/interactiveCli-CQEKVKZ3.js 1.3 MB +1.3 MB (new file) 🆕
./bundle/liteRtServerManager-AEEHOP5H.js 2.08 kB +2.08 kB (new file) 🆕
./bundle/oauth2-provider-F7JLNA2S.js 9.12 kB +9.12 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/bundled/third_party/index.js 8 MB 0 B
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-5PS3AYFU.js 1.18 kB 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-CTHYVDCX.js 39.8 kB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/cleanup-Y5ZMHIGV.js 0 B -902 B (removed) 🏆
./bundle/devtools-36NN55EP.js 696 kB 0 B
./bundle/dist-JYLQM7LS.js 373 B 0 B
./bundle/events-XB7DADIJ.js 418 B 0 B
./bundle/examples/hooks/scripts/on-start.js 188 B 0 B
./bundle/examples/mcp-server/example.js 1.43 kB 0 B
./bundle/gemini.js 5.07 kB 0 B
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 222 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 229 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 13.4 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B
./bundle/src-QVCVGIUX.js 47 kB 0 B
./bundle/start-25V5LLP4.js 0 B -622 B (removed) 🏆
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/cleanup-5FJ5ARW5.js 902 B +902 B (new file) 🆕
./bundle/start-UPNOZBOK.js 622 B +622 B (new file) 🆕

compressed-size-action

@gemini-cli gemini-cli Bot added priority/p2 Important but can be addressed in a future release. area/core Issues related to User Interface, OS Support, Core Functionality labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Issues related to User Interface, OS Support, Core Functionality bot-fix Indicates that this fix was autonomously submitted by a coding agent. priority/p2 Important but can be addressed in a future release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[0.41.2] MacOS sandbox mode not displayed in footer

0 participants