repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/read-file.ts | packages/core/src/tools/read-file.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import path from 'node:path';
import { makeRelative, shortenPath } from '../utils/paths.js';
import type { ToolInvocation, ToolLocation, ToolResult } from './too... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/message-bus-integration.test.ts | packages/core/src/tools/message-bus-integration.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
describe,
it,
expect,
beforeEach,
afterEach,
vi,
type Mock,
} from 'vitest';
import {
BaseToolInvocation,
BaseDeclarativeTool,
Kind,
type ToolResult,
} from './tools.js';
import { MessageBus } from '.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/ls.test.ts | packages/core/src/tools/ls.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import fs from 'node:fs/promises';
import path from 'node:path';
import os from 'node:os';
import { LSTool } from './ls.js';
import type { Config } from '../... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/mcp-client.test.ts | packages/core/src/tools/mcp-client.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as ClientLib from '@modelcontextprotocol/sdk/client/index.js';
import { SSEClientTransport } from '@modelcontextprotocol/sdk/client/sse.js';
import * as SdkClientStdioLib from '@modelcontextprotocol/sdk/client/stdio.js';
i... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/tool-names.ts | packages/core/src/tools/tool-names.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Centralized constants for tool names.
// This prevents circular dependencies that can occur when other modules (like agents)
// need to reference a tool's name without importing the tool's implementation.
export const GLOB_TOOL... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/web-fetch.ts | packages/core/src/tools/web-fetch.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type {
ToolCallConfirmationDetails,
ToolInvocation,
ToolResult,
} from './tools.js';
import {
BaseDeclarativeTool,
BaseToolInvocation,
Kind,
ToolConfirmationOutcome,
} from './tools.js';
import type { MessageBu... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/ripGrep.test.ts | packages/core/src/tools/ripGrep.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
describe,
it,
expect,
beforeEach,
afterEach,
afterAll,
vi,
} from 'vitest';
import type { RipGrepToolParams } from './ripGrep.js';
import { canUseRipgrep, RipGrepTool, ensureRgPath } from './ripGrep.js';
impo... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/ripGrep.ts | packages/core/src/tools/ripGrep.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import fs from 'node:fs';
import path from 'node:path';
import { spawn } from 'node:child_process';
import { downloadRipGrep } from '@joshua.litt/get-ripgrep';
i... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/edit.test.ts | packages/core/src/tools/edit.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/* eslint-disable @typescript-eslint/no-explicit-any */
const mockEnsureCorrectEdit = vi.hoisted(() => vi.fn());
const mockGenerateJson = vi.hoisted(() => vi.fn());
const mockOpenDiff = vi.hoisted(() => vi.fn());
import { IdeClie... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/write-file.ts | packages/core/src/tools/write-file.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import fs from 'node:fs';
import path from 'node:path';
import * as Diff from 'diff';
import { WRITE_FILE_TOOL_NAME } from './tool-names.js';
import type { Config } from '../config/config.js';
import { ApprovalMode } from '../polic... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/grep.ts | packages/core/src/tools/grep.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import fs from 'node:fs';
import fsPromises from 'node:fs/promises';
import path from 'node:path';
import { EOL } from 'node:os';
import { spawn } from 'node:chi... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/get-internal-docs.ts | packages/core/src/tools/get-internal-docs.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
BaseDeclarativeTool,
BaseToolInvocation,
Kind,
type ToolInvocation,
type ToolResult,
type ToolCallConfirmationDetails,
} from './tools.js';
import { GET_INTERNAL_DOCS_TOOL_NAME } from './tool-names.js';
import ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/mcp-client-manager.test.ts | packages/core/src/tools/mcp-client-manager.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
afterEach,
beforeEach,
describe,
expect,
it,
vi,
type MockedObject,
} from 'vitest';
import { McpClientManager } from './mcp-client-manager.js';
import { McpClient } from './mcp-client.js';
import type { Tool... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/tools.test.ts | packages/core/src/tools/tools.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi } from 'vitest';
import type { ToolInvocation, ToolResult } from './tools.js';
import { DeclarativeTool, hasCycleInSchema, Kind } from './tools.js';
import { ToolErrorType } from './tool-error.js';... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/ls.ts | packages/core/src/tools/ls.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import fs from 'node:fs/promises';
import path from 'node:path';
import type { ToolInvocation, ToolResult } from './tools.js';
import { BaseDeclarativeTool, Base... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/web-fetch.test.ts | packages/core/src/tools/web-fetch.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest';
import { WebFetchTool, parsePrompt } from './web-fetch.js';
import type { Config } from '../config/config.js';
import { ApprovalMode } from '../policy/types.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/memoryTool.test.ts | packages/core/src/tools/memoryTool.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Mock } from 'vitest';
import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest';
import {
MemoryTool,
setGeminiMdFilename,
getCurrentGeminiMdFilename,
getAllGeminiMdFilenames,
DEFAULT_CONTEXT_... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/mcp-client.ts | packages/core/src/tools/mcp-client.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { AjvJsonSchemaValidator } from '@modelcontextprotocol/sdk/validation/ajv';
import type {
jsonSchemaValidator,
JsonSchemaType,
JsonSchemaValidator,
} ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/smart-edit.test.ts | packages/core/src/tools/smart-edit.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/* eslint-disable @typescript-eslint/no-explicit-any */
const mockFixLLMEditWithInstruction = vi.hoisted(() => vi.fn());
const mockGenerateJson = vi.hoisted(() => vi.fn());
const mockOpenDiff = vi.hoisted(() => vi.fn());
import {... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/grep.test.ts | packages/core/src/tools/grep.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import type { GrepToolParams } from './grep.js';
import { GrepTool } from './grep.js';
import path from 'node:path';
import fs from 'node:fs/promises';
impor... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/write-todos.ts | packages/core/src/tools/write-todos.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { ToolInvocation } from './tools.js';
import {
BaseDeclarativeTool,
BaseToolInvocation,
Kind,
type Todo,
type ToolResult,
} from './tools.js';
import type { MessageBus } from '../confirmation-bus/message-bus.j... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/get-internal-docs.test.ts | packages/core/src/tools/get-internal-docs.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach } from 'vitest';
import { GetInternalDocsTool } from './get-internal-docs.js';
import { ToolErrorType } from './tool-error.js';
import fs from 'node:fs/promises';
import path from 'node:pat... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/web-search.test.ts | packages/core/src/tools/web-search.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Mock } from 'vitest';
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import type { WebSearchToolParams } from './web-search.js';
import { WebSearchTool } from './web-search.js';
import type ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/activate-skill.ts | packages/core/src/tools/activate-skill.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { z } from 'zod';
import { zodToJsonSchema } from 'zod-to-json-schema';
import * as path from 'node:path';
import { getFolderStructure } from '../utils/getFolderStructure.js';
import type { MessageBus } from '../confirmation... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/diffOptions.test.ts | packages/core/src/tools/diffOptions.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, expect, it } from 'vitest';
import { getDiffStat } from './diffOptions.js';
describe('getDiffStat', () => {
const fileName = 'test.txt';
it('should return 0 for all stats when there are no changes', () => {... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/base-tool-invocation.test.ts | packages/core/src/tools/base-tool-invocation.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { BaseToolInvocation, type ToolResult } from './tools.js';
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import {
type Message,
Messa... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/modifiable-tool.ts | packages/core/src/tools/modifiable-tool.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { EditorType } from '../utils/editor.js';
import { openDiff } from '../utils/editor.js';
import os from 'node:os';
import path from 'node:path';
import fs from 'node:fs';
import * as Diff from 'diff';
import { DEFAULT_D... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/tool-registry.ts | packages/core/src/tools/tool-registry.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { FunctionDeclaration } from '@google/genai';
import type {
AnyDeclarativeTool,
ToolResult,
ToolInvocation,
} from './tools.js';
import { Kind, BaseDeclarativeTool, BaseToolInvocation } from './tools.js';
import t... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/glob.ts | packages/core/src/tools/glob.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { MessageBus } from '../confirmation-bus/message-bus.js';
import fs from 'node:fs';
import path from 'node:path';
import { glob, escape } from 'glob';
import type { ToolInvocation, ToolResult } from './tools.js';
import... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/read-file.test.ts | packages/core/src/tools/read-file.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import type { ReadFileToolParams } from './read-file.js';
import { ReadFileTool } from './read-file.js';
import { ToolErrorType } from './tool-error.js';
imp... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/write-file.test.ts | packages/core/src/tools/write-file.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
describe,
it,
expect,
beforeEach,
afterEach,
vi,
type Mocked,
} from 'vitest';
import type { WriteFileToolParams } from './write-file.js';
import { getCorrectedFileContent, WriteFileTool } from './write-file.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/shell.test.ts | packages/core/src/tools/shell.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
vi,
describe,
it,
expect,
beforeAll,
beforeEach,
afterEach,
type Mock,
} from 'vitest';
const mockPlatform = vi.hoisted(() => vi.fn());
const mockShellExecutionService = vi.hoisted(() => vi.fn());
vi.mock... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/mcp-client-manager.ts | packages/core/src/tools/mcp-client-manager.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type {
Config,
GeminiCLIExtension,
MCPServerConfig,
} from '../config/config.js';
import type { ToolRegistry } from './tool-registry.js';
import {
McpClient,
MCPDiscoveryState,
populateMcpServerCommand,
} from '.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/diffOptions.ts | packages/core/src/tools/diffOptions.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as Diff from 'diff';
import type { DiffStat } from './tools.js';
export const DEFAULT_DIFF_OPTIONS: Diff.PatchOptions = {
context: 3,
ignoreWhitespace: true,
};
export function getDiffStat(
fileName: string,
oldS... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/tools/modifiable-tool.test.ts | packages/core/src/tools/modifiable-tool.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest';
import type {
ModifyContext,
ModifiableDeclarativeTool,
} from './modifiable-tool.js';
import {
modifyWithEditor,
isModifiableDeclarativeTool,
} from... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/modelRouterService.test.ts | packages/core/src/routing/modelRouterService.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { ModelRouterService } from './modelRouterService.js';
import { Config } from '../config/config.js';
import type { BaseLlmClient } from '../core/baseLlmClient.j... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/modelRouterService.ts | packages/core/src/routing/modelRouterService.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../config/config.js';
import type {
RoutingContext,
RoutingDecision,
TerminalStrategy,
} from './routingStrategy.js';
import { DefaultStrategy } from './strategies/defaultStrategy.js';
import { Cl... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/routingStrategy.ts | packages/core/src/routing/routingStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Content, PartListUnion } from '@google/genai';
import type { BaseLlmClient } from '../core/baseLlmClient.js';
import type { Config } from '../config/config.js';
/**
* The output of a routing decision. It specifies w... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/classifierStrategy.test.ts | packages/core/src/routing/strategies/classifierStrategy.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { ClassifierStrategy } from './classifierStrategy.js';
import type { RoutingContext } from '../routingStrategy.js';
import type { Config } from '../../config/con... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/compositeStrategy.ts | packages/core/src/routing/strategies/compositeStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../../config/config.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';
import { debugLogger } from '../../utils/debugLogger.js';
import { coreEvents } from '../../utils/events.js';
i... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/defaultStrategy.test.ts | packages/core/src/routing/strategies/defaultStrategy.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { DefaultStrategy } from './defaultStrategy.js';
import type { RoutingContext } from '../routingStrategy.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';
i... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/overrideStrategy.test.ts | packages/core/src/routing/strategies/overrideStrategy.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { OverrideStrategy } from './overrideStrategy.js';
import type { RoutingContext } from '../routingStrategy.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/fallbackStrategy.ts | packages/core/src/routing/strategies/fallbackStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { selectModelForAvailability } from '../../availability/policyHelpers.js';
import type { Config } from '../../config/config.js';
import { resolveModel } from '../../config/models.js';
import type { BaseLlmClient } from '../.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/defaultStrategy.ts | packages/core/src/routing/strategies/defaultStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../../config/config.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';
import type {
RoutingContext,
RoutingDecision,
TerminalStrategy,
} from '../routingStrategy.js';
import {... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/classifierStrategy.ts | packages/core/src/routing/strategies/classifierStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { z } from 'zod';
import type { BaseLlmClient } from '../../core/baseLlmClient.js';
import { promptIdContext } from '../../utils/promptIdContext.js';
import type {
RoutingContext,
RoutingDecision,
RoutingStrategy,
} fr... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/compositeStrategy.test.ts | packages/core/src/routing/strategies/compositeStrategy.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { CompositeStrategy } from './compositeStrategy.js';
import type {
RoutingContext,
RoutingDecision,
RoutingStrategy,
TerminalStrategy,
} from '../routing... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/fallbackStrategy.test.ts | packages/core/src/routing/strategies/fallbackStrategy.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { FallbackStrategy } from './fallbackStrategy.js';
import type { RoutingContext } from '../routingStrategy.js';
import type { BaseLlmClient } from '../../core/ba... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/routing/strategies/overrideStrategy.ts | packages/core/src/routing/strategies/overrideStrategy.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../../config/config.js';
import {
DEFAULT_GEMINI_MODEL_AUTO,
PREVIEW_GEMINI_MODEL_AUTO,
resolveModel,
} from '../../config/models.js';
import type { BaseLlmClient } from '../../core/baseLlmClient.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/mocks/msw.ts | packages/core/src/mocks/msw.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { setupServer } from 'msw/node';
export const server = setupServer();
| typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/subagent-tool-wrapper.ts | packages/core/src/agents/subagent-tool-wrapper.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
BaseDeclarativeTool,
Kind,
type ToolInvocation,
type ToolResult,
} from '../tools/tools.js';
import type { Config } from '../config/config.js';
import type { AgentDefinition, AgentInputs } from './types.js';
import... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/a2a-client-manager.ts | packages/core/src/agents/a2a-client-manager.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { AgentCard, Message, MessageSendParams, Task } from '@a2a-js/sdk';
import {
type Client,
ClientFactory,
ClientFactoryOptions,
DefaultAgentCardResolver,
RestTransportFactory,
JsonRpcTransportFactory,
type ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/remote-invocation.test.ts | packages/core/src/agents/remote-invocation.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import type { ToolCallConfirmationDetails } from '../tools/tools.js';
import { RemoteAgentInvocation } from './remote-invocation.js';
import type { RemoteAgentDefinition } from './type... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/local-invocation.test.ts | packages/core/src/agents/local-invocation.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, type Mocked } from 'vitest';
import type { LocalAgentDefinition } from './types.js';
import { LocalSubagentInvocation } from './local-invocation.js';
import { LocalAgentExecutor } from... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/local-invocation.ts | packages/core/src/agents/local-invocation.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../config/config.js';
import { LocalAgentExecutor } from './local-executor.js';
import type { AnsiOutput } from '../utils/terminalSerializer.js';
import { BaseToolInvocation, type ToolResult } from '../... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/schema-utils.ts | packages/core/src/agents/schema-utils.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { InputConfig } from './types.js';
/**
* Defines the structure for a JSON Schema object, used for tool function
* declarations.
*/
interface JsonSchemaObject {
type: 'object';
properties: Record<string, JsonSche... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/codebase-investigator.test.ts | packages/core/src/agents/codebase-investigator.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { CodebaseInvestigatorAgent } from './codebase-investigator.js';
import {
GLOB_TOOL_NAME,
GREP_TOOL_NAME,
LS_TOOL_NAME,
READ_FILE_TOOL_NAME,
} from '../tools/tool-names.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/codebase-investigator.ts | packages/core/src/agents/codebase-investigator.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { LocalAgentDefinition } from './types.js';
import {
GLOB_TOOL_NAME,
GREP_TOOL_NAME,
LS_TOOL_NAME,
READ_FILE_TOOL_NAME,
} from '../tools/tool-names.js';
import { DEFAULT_GEMINI_MODEL } from '../config/models.js'... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/utils.ts | packages/core/src/agents/utils.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { AgentInputs } from './types.js';
/**
* Replaces `${...}` placeholders in a template string with values from AgentInputs.
*
* @param template The template string containing placeholders.
* @param inputs The AgentI... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/toml-loader.test.ts | packages/core/src/agents/toml-loader.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach } from 'vitest';
import * as fs from 'node:fs/promises';
import * as path from 'node:path';
import * as os from 'node:os';
import {
parseAgentToml,
tomlToAgentDefinition,
l... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/delegate-to-agent-tool.test.ts | packages/core/src/agents/delegate-to-agent-tool.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { DelegateToAgentTool } from './delegate-to-agent-tool.js';
import { AgentRegistry } from './registry.js';
import type { Config } from '../config/config.js';
imp... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/introspection-agent.test.ts | packages/core/src/agents/introspection-agent.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { IntrospectionAgent } from './introspection-agent.js';
import { GetInternalDocsTool } from '../tools/get-internal-docs.js';
import { GEMINI_MODEL_ALIAS_FLASH } from '../config/... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/utils.test.ts | packages/core/src/agents/utils.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { templateString } from './utils.js';
import type { AgentInputs } from './types.js';
describe('templateString', () => {
it('should replace a single placeholder with a string ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/local-executor.ts | packages/core/src/agents/local-executor.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../config/config.js';
import { reportError } from '../utils/errorReporting.js';
import { GeminiChat, StreamEventType } from '../core/geminiChat.js';
import { Type } from '@google/genai';
import type {
... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/registry.ts | packages/core/src/agents/registry.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { Storage } from '../config/storage.js';
import { coreEvents, CoreEvent } from '../utils/events.js';
import type { Config } from '../config/config.js';
import type { AgentDefinition } from './types.js';
import { loadAgentsFr... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/delegate-to-agent-tool.ts | packages/core/src/agents/delegate-to-agent-tool.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { z } from 'zod';
import { zodToJsonSchema } from 'zod-to-json-schema';
import {
BaseDeclarativeTool,
Kind,
type ToolInvocation,
type ToolResult,
BaseToolInvocation,
} from '../tools/tools.js';
import type { AnsiOu... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/introspection-agent.ts | packages/core/src/agents/introspection-agent.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { AgentDefinition } from './types.js';
import { GetInternalDocsTool } from '../tools/get-internal-docs.js';
import { GEMINI_MODEL_ALIAS_FLASH } from '../config/models.js';
import { z } from 'zod';
const IntrospectionRe... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/remote-invocation.ts | packages/core/src/agents/remote-invocation.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
BaseToolInvocation,
type ToolResult,
type ToolCallConfirmationDetails,
} from '../tools/tools.js';
import type { AgentInputs, RemoteAgentDefinition } from './types.js';
import type { MessageBus } from '../confirmatio... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/types.ts | packages/core/src/agents/types.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Defines the core configuration interfaces and types for the agent architecture.
*/
import type { Content, FunctionDeclaration } from '@google/genai';
import type { AnyDeclarativeTool } from '../tools/tools.js... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/local-executor.test.ts | packages/core/src/agents/local-executor.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
describe,
it,
expect,
vi,
beforeEach,
afterEach,
type Mock,
} from 'vitest';
import { debugLogger } from '../utils/debugLogger.js';
import { LocalAgentExecutor, type ActivityCallback } from './local-executor.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | true |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/toml-loader.ts | packages/core/src/agents/toml-loader.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import TOML from '@iarna/toml';
import * as fs from 'node:fs/promises';
import { type Dirent } from 'node:fs';
import * as path from 'node:path';
import { z } from 'zod';
import type { AgentDefinition } from './types.js';
import {
... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/a2a-client-manager.test.ts | packages/core/src/agents/a2a-client-manager.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest';
import {
A2AClientManager,
type SendMessageResult,
} from './a2a-client-manager.js';
import type { AgentCard, Task } from '@a2a-js/sdk';
import type { Au... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/subagent-tool-wrapper.test.ts | packages/core/src/agents/subagent-tool-wrapper.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { SubagentToolWrapper } from './subagent-tool-wrapper.js';
import { LocalSubagentInvocation } from './local-invocation.js';
import { convertInputConfigToJsonSche... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/schema-utils.test.ts | packages/core/src/agents/schema-utils.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { convertInputConfigToJsonSchema } from './schema-utils.js';
import type { InputConfig } from './types.js';
const PRIMITIVE_TYPES_CONFIG: InputConfig = {
inputs: {
goal: ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/agents/registry.test.ts | packages/core/src/agents/registry.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { AgentRegistry, getModelConfigAlias } from './registry.js';
import { makeFakeConfig } from '../test-utils/config.js';
import type { AgentDefinition, ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/init.test.ts | packages/core/src/commands/init.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { expect, describe, it } from 'vitest';
import { performInit } from './init.js';
describe('performInit', () => {
it('returns info if GEMINI.md already exists', () => {
const result = performInit(true);
expect(res... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/init.ts | packages/core/src/commands/init.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { CommandActionReturn } from './types.js';
export function performInit(doesGeminiMdExist: boolean): CommandActionReturn {
if (doesGeminiMdExist) {
return {
type: 'message',
messageType: 'info',
... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/extensions.ts | packages/core/src/commands/extensions.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../config/config.js';
export function listExtensions(config: Config) {
return config.getExtensions();
}
| typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/restore.ts | packages/core/src/commands/restore.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { GitService } from '../services/gitService.js';
import type { CommandActionReturn } from './types.js';
import { type ToolCallData } from '../utils/checkpointUtils.js';
export async function* performRestore<
HistoryT... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/extensions.test.ts | packages/core/src/commands/extensions.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi } from 'vitest';
import { listExtensions } from './extensions.js';
import type { Config } from '../config/config.js';
describe('listExtensions', () => {
it('should call config.getExtensions and ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/types.ts | packages/core/src/commands/types.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Content, PartListUnion } from '@google/genai';
/**
* The return type for a command action that results in scheduling a tool call.
*/
export interface ToolActionReturn {
type: 'tool';
toolName: string;
toolArgs... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/commands/restore.test.ts | packages/core/src/commands/restore.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { performRestore } from './restore.js';
import { type ToolCallData } from '../utils/checkpointUtils.js';
import type { GitService } from '../services/gitService.... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/skills/skillLoader.test.ts | packages/core/src/skills/skillLoader.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import * as fs from 'node:fs/promises';
import * as os from 'node:os';
import * as path from 'node:path';
import { loadSkillsFromDir } from './skillLoader.js... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/skills/skillManager.test.ts | packages/core/src/skills/skillManager.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import * as fs from 'node:fs/promises';
import * as os from 'node:os';
import * as path from 'node:path';
import { SkillManager } from './skillManager.js';
i... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/skills/skillLoader.ts | packages/core/src/skills/skillLoader.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as fs from 'node:fs/promises';
import * as path from 'node:path';
import { glob } from 'glob';
import yaml from 'js-yaml';
import { debugLogger } from '../utils/debugLogger.js';
/**
* Represents the definition of an Agen... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/skills/skillManager.ts | packages/core/src/skills/skillManager.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { Storage } from '../config/storage.js';
import { type SkillDefinition, loadSkillsFromDir } from './skillLoader.js';
export class SkillManager {
private skills: SkillDefinition[] = [];
private activeSkillNames: Set<stri... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookEventHandler.ts | packages/core/src/hooks/hookEventHandler.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Logger } from '@opentelemetry/api-logs';
import type { Config } from '../config/config.js';
import type { HookPlanner, HookEventContext } from './hookPlanner.js';
import type { HookRunner } from './hookRunner.js';
imp... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookTranslator.ts | packages/core/src/hooks/hookTranslator.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type {
GenerateContentResponse,
GenerateContentParameters,
ToolConfig,
FinishReason,
FunctionCallingConfig,
} from '@google/genai';
import { DEFAULT_GEMINI_FLASH_MODEL } from '../config/models.js';
/**
* Decouple... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookEventHandler.test.ts | packages/core/src/hooks/hookEventHandler.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { HookEventHandler } from './hookEventHandler.js';
import type { Config } from '../config/config.js';
import type { HookConfig } from './types.js';
import type {... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookAggregator.test.ts | packages/core/src/hooks/hookAggregator.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach } from 'vitest';
import { HookAggregator } from './hookAggregator.js';
import type {
HookExecutionResult,
BeforeToolSelectionOutput,
BeforeModelOutput,
HookOutput,
} from './types.j... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookRegistry.ts | packages/core/src/hooks/hookRegistry.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Config } from '../config/config.js';
import type { HookDefinition, HookConfig } from './types.js';
import { HookEventName, ConfigSource } from './types.js';
import { debugLogger } from '../utils/debugLogger.js';
impor... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookSystem.test.ts | packages/core/src/hooks/hookSystem.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { HookSystem } from './hookSystem.js';
import { Config } from '../config/config.js';
import { HookType } from './types.js';
import { spawn } from 'nod... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/types.test.ts | packages/core/src/hooks/types.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi } from 'vitest';
import {
createHookOutput,
DefaultHookOutput,
BeforeModelHookOutput,
BeforeToolSelectionHookOutput,
AfterModelHookOutput,
HookEventName,
HookType,
BeforeToolHookOut... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookAggregator.ts | packages/core/src/hooks/hookAggregator.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { FunctionCallingConfigMode } from '@google/genai';
import type {
HookOutput,
HookExecutionResult,
BeforeToolSelectionOutput,
} from './types.js';
import {
DefaultHookOutput,
BeforeToolHookOutput,
BeforeModelHook... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookRunner.test.ts | packages/core/src/hooks/hookRunner.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { spawn, type ChildProcessWithoutNullStreams } from 'node:child_process';
import { HookRunner } from './hookRunner.js';
import { HookEventName, HookTy... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/trustedHooks.ts | packages/core/src/hooks/trustedHooks.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as fs from 'node:fs';
import * as path from 'node:path';
import { Storage } from '../config/storage.js';
import {
getHookKey,
type HookDefinition,
type HookEventName,
} from './types.js';
import { debugLogger } from ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/types.ts | packages/core/src/hooks/types.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type {
GenerateContentResponse,
GenerateContentParameters,
ToolConfig as GenAIToolConfig,
ToolListUnion,
} from '@google/genai';
import type {
LLMRequest,
LLMResponse,
HookToolConfig,
} from './hookTranslator.j... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookRegistry.test.ts | packages/core/src/hooks/hookRegistry.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import * as fs from 'node:fs';
import { HookRegistry } from './hookRegistry.js';
import type { Storage } from '../config/storage.js';
import { ConfigSource, ... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/index.ts | packages/core/src/hooks/index.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Export types
export * from './types.js';
// Export core components
export { HookSystem } from './hookSystem.js';
export { HookRegistry } from './hookRegistry.js';
export { HookRunner } from './hookRunner.js';
export { HookAggre... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/hookTranslator.test.ts | packages/core/src/hooks/hookTranslator.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, beforeEach } from 'vitest';
import {
HookTranslatorGenAIv1,
defaultHookTranslator,
type LLMRequest,
type LLMResponse,
type HookToolConfig,
} from './hookTranslator.js';
import type {
Gener... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
google-gemini/gemini-cli | https://github.com/google-gemini/gemini-cli/blob/d3c206c6770d320953dff80c01d555ad64df5b8b/packages/core/src/hooks/trustedHooks.test.ts | packages/core/src/hooks/trustedHooks.test.ts | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach } from 'vitest';
import * as fs from 'node:fs';
import { TrustedHooksManager } from './trustedHooks.js';
import { Storage } from '../config/storage.js';
import { HookEventName, HookType... | typescript | Apache-2.0 | d3c206c6770d320953dff80c01d555ad64df5b8b | 2026-01-04T15:25:31.833747Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.