gemini-cli/packages/core
Jerop Kipruto b20c8389f3
Handle telemetry in non-interactive mode (#1002)
Changes:
- Ensure proper shutdown in non-interactive mode
- Ensures the initial user prompt is logged in non-interactive mode
- Improve telemetry for streaming - handle chunks and input token count is now alongside other token counts in response

To test:
- Follow instructions in https://github.com/google-gemini/gemini-cli/blob/main/docs/core/telemetry.md#google-cloud
- Run CLI in non-interactive mode and observe logs/metrics in GCP Logs Explorer and Metrics Explorer

#750
2025-06-13 03:44:17 -04:00
..
src Handle telemetry in non-interactive mode (#1002) 2025-06-13 03:44:17 -04:00
README.md refactor: rename gemini-code to gemini-cli (#822) 2025-06-07 14:27:22 -07:00
index.ts Rename server->core (#638) 2025-05-30 18:25:47 -07:00
package.json Improve some tools to support abortSignal (#997) 2025-06-12 19:46:00 -07:00
tsconfig.json Rename server->core (#638) 2025-05-30 18:25:47 -07:00
vitest.config.ts Reduce coupling between core and cli packages (#961) 2025-06-12 17:17:29 -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-cli/core" to the dependent package's package.json
  2. Import a dependency by calling import { } from "@gemini-cli/core"