summaryrefslogtreecommitdiff
path: root/packages/cli/src/core
diff options
context:
space:
mode:
authorTyler <[email protected]>2025-04-18 17:44:24 -0700
committerGitHub <[email protected]>2025-04-18 17:44:24 -0700
commit4354458cadc74fe85f885374506dbde0f1924bc9 (patch)
treecae97488fc2674e283f0435a81c803fe20a4b200 /packages/cli/src/core
parente75f0722e7cc780659951baee058095ed2916a9e (diff)
Add apache2 SPDX headers to all source files (#48)
Diffstat (limited to 'packages/cli/src/core')
-rw-r--r--packages/cli/src/core/gemini-client.ts6
-rw-r--r--packages/cli/src/core/gemini-stream.ts6
-rw-r--r--packages/cli/src/core/history-updater.ts6
-rw-r--r--packages/cli/src/core/prompts.ts6
4 files changed, 24 insertions, 0 deletions
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';