diff options
Diffstat (limited to 'packages/cli')
| -rw-r--r-- | packages/cli/package.json | 1 | ||||
| -rw-r--r-- | packages/cli/src/ui/components/AuthDialog.tsx | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/packages/cli/package.json b/packages/cli/package.json index d6ddbf24..40ea7306 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -40,6 +40,7 @@ "ink-gradient": "^3.0.0", "ink-select-input": "^6.0.0", "ink-spinner": "^5.0.0", + "ink-link": "^4.0.0", "ink-text-input": "^6.0.0", "lowlight": "^3.3.0", "mime-types": "^2.1.4", diff --git a/packages/cli/src/ui/components/AuthDialog.tsx b/packages/cli/src/ui/components/AuthDialog.tsx index 6ff9268e..747a83bd 100644 --- a/packages/cli/src/ui/components/AuthDialog.tsx +++ b/packages/cli/src/ui/components/AuthDialog.tsx @@ -6,6 +6,7 @@ import React, { useState } from 'react'; import { Box, Text, useInput } from 'ink'; +import Link from 'ink-link'; import { Colors } from '../colors.js'; import { RadioButtonSelect } from './shared/RadioButtonSelect.js'; import { LoadedSettings, SettingScope } from '../../config/settings.js'; @@ -113,6 +114,11 @@ export function AuthDialog({ <Box marginTop={1}> <Text color={Colors.Gray}>(Use Enter to select)</Text> </Box> + <Box marginTop={1}> + <Link url="https://github.com/google/gemini-cli/blob/main/docs/tos-privacy.md"> + <Text>Terms of Services and Privacy Notice for Gemini CLI</Text> + </Link> + </Box> </Box> ); } |
