From 651a5434036f1906f19523f1265686c168305060 Mon Sep 17 00:00:00 2001 From: Jaana Dogan Date: Mon, 21 Apr 2025 11:49:46 -0700 Subject: Remove gemini-stream.ts (#84) This module is no longer needed and the types can be provided from types. --- packages/cli/src/core/gemini-stream.ts | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 packages/cli/src/core/gemini-stream.ts (limited to 'packages/cli/src/core') diff --git a/packages/cli/src/core/gemini-stream.ts b/packages/cli/src/core/gemini-stream.ts deleted file mode 100644 index d41c50d7..00000000 --- a/packages/cli/src/core/gemini-stream.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @license - * Copyright 2025 Google LLC - * SPDX-License-Identifier: Apache-2.0 - */ - -// Only defining the state enum needed by the UI -export enum StreamingState { - Idle = 'idle', - Responding = 'responding', - WaitingForConfirmation = 'waiting_for_confirmation', -} - -// Copied from server/src/core/turn.ts for CLI usage -export enum GeminiEventType { - Content = 'content', - ToolCallRequest = 'tool_call_request', - // Add other event types if the UI hook needs to handle them -} -- cgit v1.2.3