google-gemini / google-gemini/gemini-cli

Hooks - SessionEnd Logout Matcher

Open
#14,722 2 comments 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/enhancement priority/p3 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

The `SessionEndReason.Logout` enum value exists but is never triggered because Gemini CLI has no logout concept. This was included for potential future enterprise scenarios where authentication changes during a session.

**Code Location:**
- [packages/core/src/hooks/types.ts:487-494](packages/core/src/hooks/types.ts#L487-L494) - `SessionEndReason` enum

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.