From ddbe65e8c32cef67f7562b7f02aaf6e9fefb6968 Mon Sep 17 00:00:00 2001
From: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
Date: Fri, 15 Aug 2025 10:15:54 -0500
Subject: Add session id to session summary and /bug template (#6313)

Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
---
 packages/cli/src/ui/contexts/SessionContext.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'packages/cli/src/ui/contexts/SessionContext.tsx')

diff --git a/packages/cli/src/ui/contexts/SessionContext.tsx b/packages/cli/src/ui/contexts/SessionContext.tsx
index 942af8b5..80c2454c 100644
--- a/packages/cli/src/ui/contexts/SessionContext.tsx
+++ b/packages/cli/src/ui/contexts/SessionContext.tsx
@@ -17,6 +17,7 @@ import {
   uiTelemetryService,
   SessionMetrics,
   ModelMetrics,
+  sessionId,
 } from '@google/gemini-cli-core';
 
 // --- Interface Definitions ---
@@ -24,6 +25,7 @@ import {
 export type { SessionMetrics, ModelMetrics };
 
 export interface SessionStatsState {
+  sessionId: string;
   sessionStartTime: Date;
   metrics: SessionMetrics;
   lastPromptTokenCount: number;
@@ -64,6 +66,7 @@ export const SessionStatsProvider: React.FC<{ children: React.ReactNode }> = ({
   children,
 }) => {
   const [stats, setStats] = useState<SessionStatsState>({
+    sessionId,
     sessionStartTime: new Date(),
     metrics: uiTelemetryService.getMetrics(),
     lastPromptTokenCount: 0,
-- 
cgit v1.2.3

