summaryrefslogtreecommitdiff
path: root/packages/cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src')
-rw-r--r--packages/cli/src/config/sandboxConfig.ts2
-rw-r--r--packages/cli/src/gemini.tsx2
-rw-r--r--packages/cli/src/ui/components/ThemeDialog.tsx2
-rw-r--r--packages/cli/src/ui/components/messages/ToolMessage.tsx2
-rw-r--r--packages/cli/src/ui/utils/CodeColorizer.tsx2
5 files changed, 5 insertions, 5 deletions
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<ToolMessageProps> = ({
)
: 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(