Skip to main content

Module gemini

Module gemini 

Source
Expand description

Gemini CLI detector.

Gemini CLI keeps a tiny footprint — ~/.gemini/ ~50KB total. There is no per-session events file we can count meaningfully. Best heuristics:

  • install marker: ~/.gemini/ exists OR gemini in PATH.
  • sessions: count of subdirectories under ~/.gemini/history/ (one per project the user touched with Gemini); upper bound, not per-session.
  • last_used: max of state.json / settings.json mtimes.

Antigravity (Google’s IDE-agent) shares ~/.gemini/antigravity/ and is a separate detector (agents::antigravity).

Structs§

GeminiDetector