From 4354458cadc74fe85f885374506dbde0f1924bc9 Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 18 Apr 2025 17:44:24 -0700 Subject: Add apache2 SPDX headers to all source files (#48) --- packages/cli/src/core/gemini-client.ts | 6 ++++++ packages/cli/src/core/gemini-stream.ts | 6 ++++++ packages/cli/src/core/history-updater.ts | 6 ++++++ packages/cli/src/core/prompts.ts | 6 ++++++ 4 files changed, 24 insertions(+) (limited to 'packages/cli/src/core') diff --git a/packages/cli/src/core/gemini-client.ts b/packages/cli/src/core/gemini-client.ts index a488b982..be338754 100644 --- a/packages/cli/src/core/gemini-client.ts +++ b/packages/cli/src/core/gemini-client.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { GenerateContentConfig, GoogleGenAI, diff --git a/packages/cli/src/core/gemini-stream.ts b/packages/cli/src/core/gemini-stream.ts index 0e3ca025..182291f7 100644 --- a/packages/cli/src/core/gemini-stream.ts +++ b/packages/cli/src/core/gemini-stream.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { ToolCallEvent, HistoryItem } from '../ui/types.js'; import { Part } from '@google/genai'; import { diff --git a/packages/cli/src/core/history-updater.ts b/packages/cli/src/core/history-updater.ts index 465b7d49..5363bfce 100644 --- a/packages/cli/src/core/history-updater.ts +++ b/packages/cli/src/core/history-updater.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { Part } from '@google/genai'; import { toolRegistry } from '../tools/tool-registry.js'; import { diff --git a/packages/cli/src/core/prompts.ts b/packages/cli/src/core/prompts.ts index 8fc623ad..09df9f59 100644 --- a/packages/cli/src/core/prompts.ts +++ b/packages/cli/src/core/prompts.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + import { ReadFileTool } from '../tools/read-file.tool.js'; import { TerminalTool } from '../tools/terminal.tool.js'; -- cgit v1.2.3