gemini-cli/packages/core/src/utils
2026-01-20 04:07:28 +00:00
..
__fixtures__ test: add readWasmBinaryFromDisk unit test (#11546) 2025-10-21 02:42:16 +00:00
filesearch feat(settings): rename negative settings to positive naming (disable* -> enable*) (#14142) 2026-01-16 22:33:49 +00:00
apiConversionUtils.test.ts feat(cli): add /chat debug command for nightly builds (#16339) 2026-01-11 19:11:06 +00:00
apiConversionUtils.ts feat(cli): add /chat debug command for nightly builds (#16339) 2026-01-11 19:11:06 +00:00
bfsFileSearch.test.ts Limit search depth in path corrector (#14869) 2025-12-10 04:08:39 +00:00
bfsFileSearch.ts Limit search depth in path corrector (#14869) 2025-12-10 04:08:39 +00:00
browser.ts chore(compiler): Enable strict property access TS compiler flag. (#6255) 2025-08-17 16:43:21 +00:00
channel.test.ts feat(core): Add support for listing experiments (#12495) 2025-11-03 21:51:22 +00:00
channel.ts feat(core): Add support for listing experiments (#12495) 2025-11-03 21:51:22 +00:00
checkpointUtils.test.ts refactor(core): extract static concerns from CoreToolScheduler (#15589) 2025-12-26 20:51:39 +00:00
checkpointUtils.ts refactor(core): extract static concerns from CoreToolScheduler (#15589) 2025-12-26 20:51:39 +00:00
customHeaderUtils.test.ts Add Databricks auth support and custom header option to gemini cli (#11893) 2025-11-26 00:22:47 +00:00
customHeaderUtils.ts Add Databricks auth support and custom header option to gemini cli (#11893) 2025-11-26 00:22:47 +00:00
debugLogger.test.ts Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247) 2025-11-20 10:44:02 -08:00
debugLogger.ts Migrate console to coreEvents.emitFeedback or debugLogger (#15219) 2025-12-29 20:46:10 +00:00
delay.test.ts chore: do not retry the model request if the user has aborted the request (#11224) 2025-10-20 15:21:49 +00:00
delay.ts chore: do not retry the model request if the user has aborted the request (#11224) 2025-10-20 15:21:49 +00:00
editCorrector.test.ts feat(core): add disableLLMCorrection setting to skip auto-correction in edit tools (#16000) 2026-01-13 01:26:53 +00:00
editCorrector.ts Remove LRUCache class migrating to mnemoist (#16872) 2026-01-16 21:17:31 +00:00
editor.test.ts refactor(core): extract ToolModificationHandler from scheduler (#16118) 2026-01-08 19:52:56 +00:00
editor.ts Fix: make ctrl+x use preferred editor (#16556) 2026-01-14 00:55:07 +00:00
environmentContext.test.ts feat(core): Implement JIT context memory loading and UI sync (#14469) 2025-12-19 17:04:03 +00:00
environmentContext.ts feat(core): Implement JIT context memory loading and UI sync (#14469) 2025-12-19 17:04:03 +00:00
errorParsing.test.ts fix: handle request retries and model fallback correctly (#11624) 2025-10-24 18:09:06 +00:00
errorParsing.ts fix: handle request retries and model fallback correctly (#11624) 2025-10-24 18:09:06 +00:00
errorReporting.test.ts Migrate console to coreEvents.emitFeedback or debugLogger (#15219) 2025-12-29 20:46:10 +00:00
errorReporting.ts Migrate console to coreEvents.emitFeedback or debugLogger (#15219) 2025-12-29 20:46:10 +00:00
errors.test.ts Fixes [API Error: Cannot read properties of undefined (reading 'error')] (#14553) 2025-12-05 01:18:37 +00:00
errors.ts Fixes [API Error: Cannot read properties of undefined (reading 'error')] (#14553) 2025-12-05 01:18:37 +00:00
events.test.ts feat(ui): add visual indicators for hook execution (#15408) 2026-01-06 20:52:12 +00:00
events.ts feat(admin): implement admin controls polling and restart prompt (#16627) 2026-01-16 20:24:53 +00:00
exitCodes.ts Update error codes when process exiting the gemini cli (#13728) 2025-11-26 02:43:21 +00:00
extensionLoader.test.ts Refresh hooks when refreshing extensions. (#14918) 2025-12-12 16:43:46 -08:00
extensionLoader.ts Refresh hooks when refreshing extensions. (#14918) 2025-12-12 16:43:46 -08:00
fetch.ts fix(core): improve API response error handling and retry logic (#14563) 2025-12-05 17:49:08 +00:00
fileDiffUtils.test.ts feat: implement file system reversion utilities for rewind (#15715) 2026-01-08 22:21:15 +00:00
fileDiffUtils.ts feat: implement file system reversion utilities for rewind (#15715) 2026-01-08 22:21:15 +00:00
fileUtils.test.ts fix(core): attempt compression before context overflow check (#16914) 2026-01-19 06:40:07 +00:00
fileUtils.ts fix(core): attempt compression before context overflow check (#16914) 2026-01-19 06:40:07 +00:00
flashFallback.test.ts feat: launch Gemini 3 Flash in Gemini CLI ️ (#15196) 2025-12-17 09:43:21 -08:00
formatters.test.ts [Part 4/6] feat(telemetry): add memory monitor with activity-aware recording and tests (#8122) 2025-10-07 23:23:17 +00:00
formatters.ts [Part 4/6] feat(telemetry): add memory monitor with activity-aware recording and tests (#8122) 2025-10-07 23:23:17 +00:00
geminiIgnoreParser.test.ts fix(core): Add .geminiignore support to SearchText tool (#13763) 2025-12-22 04:25:26 +00:00
geminiIgnoreParser.ts fix(core): Add .geminiignore support to SearchText tool (#13763) 2025-12-22 04:25:26 +00:00
generateContentResponseUtilities.test.ts refactor(core): extract static concerns from CoreToolScheduler (#15589) 2025-12-26 20:51:39 +00:00
generateContentResponseUtilities.ts refactor(core): extract static concerns from CoreToolScheduler (#15589) 2025-12-26 20:51:39 +00:00
getFolderStructure.test.ts chore: Extract '.gemini' to GEMINI_DIR constant (#10540) 2025-10-13 17:31:39 +00:00
getFolderStructure.ts Agent Skills: Implement Autonomous Activation Tool & Context Injection (#15725) 2026-01-02 19:15:06 +00:00
getPty.ts feat(core): refactor shell execution to use node-pty (#6491) 2025-08-19 23:03:51 +00:00
gitIgnoreParser.test.ts fix(core): combine .gitignore and .geminiignore logic for correct precedence (#11587) 2025-11-01 17:06:34 +00:00
gitIgnoreParser.ts feat(core): Cache ignore instances for performance (#16185) 2026-01-09 21:22:53 +00:00
gitUtils.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
googleErrors.test.ts feat: attempt more error parsing (#14899) 2025-12-10 19:14:07 +00:00
googleErrors.ts feat: attempt more error parsing (#14899) 2025-12-10 19:14:07 +00:00
googleQuotaErrors.test.ts Exponential back-off retries for retryable error without a specified … (#15684) 2025-12-29 22:23:23 +00:00
googleQuotaErrors.ts Exponential back-off retries for retryable error without a specified … (#15684) 2025-12-29 22:23:23 +00:00
httpErrors.ts feat: launch Gemini 3 in Gemini CLI 🚀🚀🚀 (in main) (#13287) 2025-11-18 09:01:16 -08:00
ignorePatterns.test.ts Adding Parameterised tests (#11930) 2025-10-24 13:45:36 +00:00
ignorePatterns.ts Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
installationManager.test.ts Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
installationManager.ts migrating console.error to debugger for installationManager, oauth-provider, modifiable-tool (#12279) 2025-10-31 18:17:51 +00:00
language-detection.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
llm-edit-fixer.test.ts Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247) 2025-11-20 10:44:02 -08:00
llm-edit-fixer.ts Remove LRUCache class migrating to mnemoist (#16872) 2026-01-16 21:17:31 +00:00
memoryDiscovery.test.ts Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
memoryDiscovery.ts Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
memoryImportProcessor.test.ts Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247) 2025-11-20 10:44:02 -08:00
memoryImportProcessor.ts Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247) 2025-11-20 10:44:02 -08:00
messageInspectors.ts Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
nextSpeakerChecker.test.ts Allow telemetry exporters to GCP to utilize user's login credentials, if requested (#13778) 2025-12-03 05:27:37 +00:00
nextSpeakerChecker.ts feat(core): Migrate generateJson to resolved model configs. (#12626) 2025-11-07 22:18:45 +00:00
package.ts fix: (some minor improvements to configs and getPackageJson return behaviour) (#12510) 2025-11-24 21:20:23 +00:00
partUtils.test.ts feat(commands): Enable @file processing in TOML commands (#6716) 2025-08-28 03:22:21 +00:00
partUtils.ts Fix: Process all parts in response chunks when thought is first (#13539) 2026-01-19 21:04:45 +00:00
pathCorrector.test.ts Limit search depth in path corrector (#14869) 2025-12-10 04:08:39 +00:00
pathCorrector.ts Limit search depth in path corrector (#14869) 2025-12-10 04:08:39 +00:00
pathReader.test.ts fix(core) Path reader method readPathFromWorkspace does not respect git/gemini ignore config. (#10073) 2025-11-05 21:40:54 +00:00
pathReader.ts fix(core) Path reader method readPathFromWorkspace does not respect git/gemini ignore config. (#10073) 2025-11-05 21:40:54 +00:00
paths.test.ts Fix the shortenPath function to correctly insert ellipsis. (#12004) 2025-10-25 04:10:00 +00:00
paths.ts Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
promptIdContext.ts refactor(core): Introduce LlmUtilityService and promptIdContext (#7952) 2025-09-09 05:14:15 +00:00
quotaErrorDetection.ts fix: handle request retries and model fallback correctly (#11624) 2025-10-24 18:09:06 +00:00
retry.test.ts feat(core/ui): enhance retry mechanism and UX (#16489) 2026-01-14 04:03:19 +00:00
retry.ts feat(core/ui): enhance retry mechanism and UX (#16489) 2026-01-14 04:03:19 +00:00
safeJsonStringify.test.ts Fix circular reference JSON serialization in telemetry logging (#4150) 2025-07-14 20:20:06 +00:00
safeJsonStringify.ts Log all user settings to enable measurement of experiment impacts (#11354) 2025-10-17 20:54:35 +00:00
schemaValidator.test.ts relax JSON schema validation (#9332) 2025-09-24 16:55:32 +00:00
schemaValidator.ts docs: fix typos in source code and documentation (#13577) 2025-11-21 14:59:42 +00:00
secure-browser-launcher.test.ts New browser launcher for MCP OAuth. (#5261) 2025-08-01 05:47:22 +00:00
secure-browser-launcher.ts chore(compiler): Enable strict property access TS compiler flag. (#6255) 2025-08-17 16:43:21 +00:00
session.ts chore: consistently import node modules with prefix (#3013) 2025-08-25 20:11:27 +00:00
shell-utils.test.ts feat(core): improve shell redirection transparency and security (#16486) 2026-01-20 04:07:28 +00:00
shell-utils.ts feat(core): improve shell redirection transparency and security (#16486) 2026-01-20 04:07:28 +00:00
stdio.test.ts refactor(stdio): always patch stdout and use createWorkingStdio for clean output (#14159) 2025-12-02 23:08:25 +00:00
stdio.ts refactor(stdio): always patch stdout and use createWorkingStdio for clean output (#14159) 2025-12-02 23:08:25 +00:00
summarizer.test.ts Migrate console to coreEvents.emitFeedback or debugLogger (#15219) 2025-12-29 20:46:10 +00:00
summarizer.ts feat(core): Migrate generateContent to model configs. (#12834) 2025-11-11 16:10:50 +00:00
systemEncoding.test.ts Protect stdout and stderr so JavaScript code can't accidentally write to stdout corrupting ink rendering (#13247) 2025-11-20 10:44:02 -08:00
systemEncoding.ts refactor(logging): Centralize console logging with debugLogger (#11590) 2025-10-21 20:35:22 +00:00
terminal.ts fix(cli): resolve paste issue on Windows terminals. (#15932) 2026-01-05 22:46:23 +00:00
terminalSerializer.test.ts fix(shell): cursor visibility when using interactive mode (#14095) 2025-12-04 16:58:03 +00:00
terminalSerializer.ts fix(shell): improve shell output presentation and usability (#8837) 2025-09-30 20:44:58 +00:00
testUtils.ts [JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors (#1376) 2025-06-24 22:48:55 +00:00
textUtils.test.ts fix(core): truncate large telemetry log entries (#16769) 2026-01-16 19:30:48 +00:00
textUtils.ts fix(core): truncate large telemetry log entries (#16769) 2026-01-16 19:30:48 +00:00
thoughtUtils.test.ts refactor(core): Extract thought parsing logic into a dedicated utility (#9503) 2025-09-24 19:38:36 +00:00
thoughtUtils.ts refactor(core): Extract thought parsing logic into a dedicated utility (#9503) 2025-09-24 19:38:36 +00:00
tokenCalculation.test.ts fix: PDF token estimation (#16494) (#16527) 2026-01-14 13:32:36 +00:00
tokenCalculation.ts refactor(core): foundational truncation refactoring and token estimation optimization (#16824) 2026-01-16 23:57:47 +00:00
tool-utils.test.ts feat(core): restore MessageBus optionality for soft migration (Phase 1) (#15774) 2026-01-04 19:59:35 +00:00
tool-utils.ts refactor(core): extract static concerns from CoreToolScheduler (#15589) 2025-12-26 20:51:39 +00:00
userAccountManager.test.ts Introduce GEMINI_CLI_HOME for strict test isolation (#15907) 2026-01-07 04:09:39 +00:00
userAccountManager.ts refactor(logging): Centralize console logging with debugLogger (#11590) 2025-10-21 20:35:22 +00:00
version.test.ts Send the model and CLI version with the user agent (#14865) 2025-12-10 00:38:33 +00:00
version.ts Send the model and CLI version with the user agent (#14865) 2025-12-10 00:38:33 +00:00
workspaceContext.test.ts feat(admin): support admin-enforced settings for Agent Skills (#16406) 2026-01-14 07:40:23 +00:00
workspaceContext.ts Use consistent param names (#12517) 2025-11-06 23:03:52 +00:00