telemetry: track interactive session state (#12856)

Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
This commit is contained in:
N. Taylor Mullen
2025-11-11 02:03:32 -08:00
committed by GitHub
parent e79f62694a
commit 7bb13d1c41
24 changed files with 132 additions and 25 deletions

View File

@@ -52,6 +52,7 @@ const renderComponent = (
getUseSmartEdit: vi.fn(() => false),
getUseModelRouter: vi.fn(() => false),
getProxy: vi.fn(() => undefined),
isInteractive: vi.fn(() => false),
// --- Spread test-specific overrides ---
...contextValue,

View File

@@ -219,6 +219,7 @@ describe('useGeminiStream', () => {
.mockReturnValue(contentGeneratorConfig),
getUseSmartEdit: () => false,
getUseModelRouter: () => false,
isInteractive: () => false,
} as unknown as Config;
mockOnDebugMessage = vi.fn();
mockHandleSlashCommand = vi.fn().mockResolvedValue(false);

View File

@@ -80,6 +80,7 @@ const mockConfig = {
getEnableMessageBusIntegration: () => false,
getMessageBus: () => null,
getPolicyEngine: () => null,
isInteractive: () => false,
} as unknown as Config;
const mockTool = new MockTool({