Add tos and privacy links docs for clarity (#1571)

This commit is contained in:
anj-s
2025-06-25 12:32:25 -07:00
committed by GitHub
parent 452b82162b
commit 4b5ca6bc77
7 changed files with 119 additions and 9 deletions

View File

@@ -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>
);
}