Download packages/core/src/config/constants.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/core/src/config/constants.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/core/src/config/constants.ts
-
curl -L -o constants.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/core/src/config/constants.ts
1.18 kB
| /** | |
| * @license | |
| * Copyright 2025 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| export interface FileFilteringOptions { | |
| respectGitIgnore: boolean; | |
| respectGeminiIgnore: boolean; | |
| enableFileWatcher?: boolean; | |
| maxFileCount?: number; | |
| searchTimeout?: number; | |
| customIgnoreFilePaths: string[]; | |
| } | |
| // For memory files | |
| export const DEFAULT_MEMORY_FILE_FILTERING_OPTIONS: FileFilteringOptions = { | |
| respectGitIgnore: false, | |
| respectGeminiIgnore: true, | |
| enableFileWatcher: false, | |
| maxFileCount: 20000, | |
| searchTimeout: 5000, | |
| customIgnoreFilePaths: [], | |
| }; | |
| // For all other files | |
| export const DEFAULT_FILE_FILTERING_OPTIONS: FileFilteringOptions = { | |
| respectGitIgnore: true, | |
| respectGeminiIgnore: true, | |
| enableFileWatcher: false, | |
| maxFileCount: 20000, | |
| searchTimeout: 5000, | |
| customIgnoreFilePaths: [], | |
| }; | |
| // Generic exclusion file name | |
| export const GEMINI_IGNORE_FILE_NAME = '.geminiignore'; | |
| // Extension integrity constants | |
| export const INTEGRITY_FILENAME = 'extension_integrity.json'; | |
| export const INTEGRITY_KEY_FILENAME = 'integrity.key'; | |
| export const KEYCHAIN_SERVICE_NAME = 'gemini-cli-extension-integrity'; | |
| export const SECRET_KEY_ACCOUNT = 'secret-key'; | |