gemini-cli/packages/server
Taylor Mullen f2f2ecf9d8 feat: Allow cancellation of in-progress Gemini requests and pre-execution checks
- Implements cancellation for Gemini requests while they are actively being processed by the model.
- Extends cancellation support to the  logic within tools. This allows users to cancel operations during the phase where the system is determining if a tool execution requires user confirmation, which can include potentially long-running pre-flight checks or LLM-based corrections.
- Underlying LLM calls for edit corrections (within  and ) and next speaker checks can now also be cancelled.
- Previously, cancellation of the main request was not possible until text started streaming, and pre-execution checks were not cancellable.
- This change leverages the updated SDK's ability to accept an abort token and threads s throughout the request, tool execution, and pre-execution check lifecycle.

Fixes https://github.com/google-gemini/gemini-cli/issues/531
2025-05-27 23:46:37 -07:00
..
src feat: Allow cancellation of in-progress Gemini requests and pre-execution checks 2025-05-27 23:46:37 -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 feat: Publish test coverage summaries to PRs (#513) 2025-05-27 12:45:28 -07:00
tsconfig.json Fix: Prevent hang in large directories by using BFS for getFolderStru… (#470) 2025-05-22 10:47:21 -07:00
vitest.config.ts feat: Publish test coverage summaries to PRs (#513) 2025-05-27 12:45:28 -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"