diff --git a/packages/cli/src/config/sandboxConfig.ts b/packages/cli/src/config/sandboxConfig.ts index d31bfc7f..5334c64b 100644 --- a/packages/cli/src/config/sandboxConfig.ts +++ b/packages/cli/src/config/sandboxConfig.ts @@ -58,7 +58,7 @@ function getSandboxCommand( ); process.exit(1); } - // confirm that specfied command exists + // confirm that specified command exists if (commandExists.sync(sandbox)) { return sandbox; } diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 44c8e6eb..95c8d4f2 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -102,7 +102,7 @@ export async function main() { const config = await loadCliConfig(settings.merged, extensions, sessionId); // set default fallback to gemini api key - // this has to go after load cli becuase thats where the env is set + // this has to go after load cli because thats where the env is set if (!settings.merged.selectedAuthType && process.env.GEMINI_API_KEY) { settings.setValue( SettingScope.User, diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx index ba7ec1bb..179e1ba4 100644 --- a/packages/cli/src/ui/components/ThemeDialog.tsx +++ b/packages/cli/src/ui/components/ThemeDialog.tsx @@ -133,7 +133,7 @@ export function ThemeDialog({ let showScopeSelection = true; let includePadding = true; - // Remove content from the LHS that can be ommitted if it exceeds the available height. + // Remove content from the LHS that can be omitted if it exceeds the available height. if (totalLeftHandSideHeight > availableTerminalHeight) { includePadding = false; totalLeftHandSideHeight -= DAILOG_PADDING; diff --git a/packages/cli/src/ui/components/messages/ToolMessage.tsx b/packages/cli/src/ui/components/messages/ToolMessage.tsx index e96d185d..e1eb75b8 100644 --- a/packages/cli/src/ui/components/messages/ToolMessage.tsx +++ b/packages/cli/src/ui/components/messages/ToolMessage.tsx @@ -47,7 +47,7 @@ export const ToolMessage: React.FC = ({ ) : undefined; - // Long tool call response in MarkdownDisplay doesn't repect availableTerminalHeight properly, + // Long tool call response in MarkdownDisplay doesn't respect availableTerminalHeight properly, // we're forcing it to not render as markdown when the response is too long, it will fallback // to render as plain text, which is contained within the terminal using MaxSizedBox if (availableHeight) { diff --git a/packages/cli/src/ui/utils/CodeColorizer.tsx b/packages/cli/src/ui/utils/CodeColorizer.tsx index 9bb7c362..aaa183ab 100644 --- a/packages/cli/src/ui/utils/CodeColorizer.tsx +++ b/packages/cli/src/ui/utils/CodeColorizer.tsx @@ -21,7 +21,7 @@ import { MINIMUM_MAX_HEIGHT, } from '../components/shared/MaxSizedBox.js'; -// Configure themeing and parsing utilities. +// Configure theming and parsing utilities. const lowlight = createLowlight(common); function renderHastNode( diff --git a/packages/core/src/code_assist/types.ts b/packages/core/src/code_assist/types.ts index 0bcc2b79..67257a50 100644 --- a/packages/core/src/code_assist/types.ts +++ b/packages/core/src/code_assist/types.ts @@ -150,7 +150,7 @@ export interface OnboardUserResponse { /** * Status code of user license status - * it does not stricly correspond to the proto + * it does not strictly correspond to the proto * Error value is an additional value assigned to error responses from OnboardUser */ export enum OnboardUserStatusCode { diff --git a/packages/core/src/core/geminiChat.ts b/packages/core/src/core/geminiChat.ts index 7a3f088e..19b87805 100644 --- a/packages/core/src/core/geminiChat.ts +++ b/packages/core/src/core/geminiChat.ts @@ -87,7 +87,7 @@ function validateHistory(history: Content[]) { * Extracts the curated (valid) history from a comprehensive history. * * @remarks - * The model may sometimes generate invalid or empty contents(e.g., due to safty + * The model may sometimes generate invalid or empty contents(e.g., due to safety * filters or recitation). Extracting valid turns from the history * ensures that subsequent requests could be accepted by the model. */ diff --git a/packages/core/src/tools/read-many-files.ts b/packages/core/src/tools/read-many-files.ts index 62430c10..4f8cb8fa 100644 --- a/packages/core/src/tools/read-many-files.ts +++ b/packages/core/src/tools/read-many-files.ts @@ -70,7 +70,7 @@ export interface ReadManyFilesParams { /** * Default exclusion patterns for commonly ignored directories and binary file types. * These are compatible with glob ignore patterns. - * TODO(adh): Consider making this configurable or extendable through a command line arguement. + * TODO(adh): Consider making this configurable or extendable through a command line argument. * TODO(adh): Look into sharing this list with the glob tool. */ const DEFAULT_EXCLUDES: string[] = [