gemini-cli/packages/server
Taylor Mullen 3281cbc835 Fix(test): Improve write-file and editCorrector test suites
- Enhanced  by:
  - Mocking  and  utilities (, ) to allow for more focused unit testing of .
  - Adding comprehensive tests for the private  method, covering new and existing file scenarios, as well as error handling.
  - Expanding tests for  and  to verify behavior with the new content correction logic, including diff generation and directory creation.
- Refined  by:
  - Introducing robust mocking for  and its methods (, , ) to simulate LLM interactions accurately.
  - Adding extensive test scenarios for , categorized by how  matches and how  is processed, including direct matches, unescaping, and LLM-based corrections.
  - Including tests for edge cases like no matches or multiple matches.
  - Adding a  utility for better test isolation.

Final fix for https://github.com/google-gemini/gemini-cli/issues/484
2025-05-25 15:02:08 -07:00
..
src Fix(test): Improve write-file and editCorrector test suites 2025-05-25 15:02:08 -07:00
README.md Fix typo in server README.md (#379) 2025-05-16 14:27:25 -07:00
index.ts refactor: clean up build output (#53) 2025-04-20 12:33:39 -07:00
package.json fix: add shell-quote to server deps (#492) 2025-05-22 20:44:51 +00:00
tsconfig.json Fix: Prevent hang in large directories by using BFS for getFolderStru… (#470) 2025-05-22 10:47:21 -07:00

README.md

Nested package template. Either fill this out with "backend" functionality or create similar packages that you want built separate from the CLI.

To use this package from another dependent package in this monorepo:

  1. Add "@gemini-code/server" to the dependent package's package.json
  2. Import a dependency by calling import { } from "@gemini-code/server"