mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 15:10:59 -07:00
improve sandboxing status message, update README, remove dead code from a previous change to build_sandbox.sh (#346)
This commit is contained in:
@@ -46,13 +46,15 @@ export const Footer: React.FC<FooterProps> = ({
|
||||
display="flex"
|
||||
>
|
||||
{process.env.SANDBOX && process.env.SANDBOX !== 'sandbox-exec' ? (
|
||||
<Text color="green"> {process.env.SANDBOX} </Text>
|
||||
<Text color="green">
|
||||
{process.env.SANDBOX.replace(/^gemini-(?:code-)?/, '')}
|
||||
</Text>
|
||||
) : process.env.SANDBOX === 'sandbox-exec' ? (
|
||||
<Text color={Colors.AccentYellow}>
|
||||
using macos seatbelt ({process.env.SEATBELT_PROFILE})
|
||||
sandbox-exec ({process.env.SEATBELT_PROFILE})
|
||||
</Text>
|
||||
) : (
|
||||
<Text color={Colors.AccentRed}> WARNING: OUTSIDE SANDBOX </Text>
|
||||
<Text color={Colors.AccentRed}>no sandbox (see README)</Text>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user