summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/fileUtils.ts
AgeCommit message (Collapse)Author
14 daysfeat: add support for .proto filesCastor Regex
2025-08-20Remove unnecessary FileErrorType. (#6697)Tommaso Sciortino
2025-08-18Read and write files through Zed (#6169)Conrad Irwin
Co-authored-by: Agus Zubiaga <[email protected]>
2025-08-08fix: properly report tool errors in telemetry (#5688)Akhil Appana
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-06bug(core): Prompt engineering for truncated read_file. (#5161)joshualitt
2025-08-06fix(core): Treat .mts files as TypeScript modules instead of video files (#5492)Yash Velagapudi
Co-authored-by: Jacob Richman <[email protected]>
2025-08-05bug(core): fix `contentRangeTruncated` calculation. (#5329)joshualitt
Co-authored-by: Jacob Richman <[email protected]>
2025-07-31bug(core): UI reporting for truncated read_file. (#5155)joshualitt
Co-authored-by: Jacob Richman <[email protected]>
2025-07-21Various spelling improvements (#3497)Josh Soref
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
2025-07-20feat: Make file type detection and binary checks asynchronous (#3286) (#3288)sangwook
2025-07-15Pure refactor: Consolidate isWithinRoot() function calling. (#4163)Tommaso Sciortino
2025-07-07feat: add .svg support (#3229)Pugazhendhi
2025-07-01Special case mime type for ts file. (#2902)Tommaso Sciortino
2025-07-01feat: add audio and video support to read_file (#2556)Santhosh Kumar
2025-06-15Add file operation telemetry (#1068)Jerop Kipruto
Introduces telemetry for file create, read, and update operations. This change adds the `gemini_cli.file.operation.count` metric, recorded by the `read-file`, `read-many-files`, and `write-file` tools. The metric includes the following attributes: - `operation` (string: `create`, `read`, `update`): The type of file operation. - `lines` (optional, Int): Number of lines in the file. - `mimetype` (optional, string): Mimetype of the file. - `extension` (optional, string): File extension of the file. Here is a stacked bar chart of file operations by extension (`js`, `ts`, `md`): ![image](https://github.com/user-attachments/assets/3e8f8ea9-6155-4186-863c-075cc47647c5) Here is a stacked bar chart of file operations by type (`create`, `read`, `update`): ![image](https://github.com/user-attachments/assets/3fcf491d-31d0-4ba8-80e6-7fd2bd9c7c27) #750 cc @allenhutchison as discussed
2025-05-30Rename server->core (#638)Tommaso Sciortino