summaryrefslogtreecommitdiff
path: root/packages/cli
diff options
context:
space:
mode:
authorNoritaka Kobayashi <[email protected]>2025-06-26 13:34:53 +0900
committerGitHub <[email protected]>2025-06-26 04:34:53 +0000
commitdbe217828d71794e85e7b03592639be0b81463cb (patch)
tree257be9fe797e8ab2faaf4d8bf91faa05caaad503 /packages/cli
parentb8ae12a109b2d85b925502f5afea02c624e418d6 (diff)
chore: fix typos in comment-out (#1540)
Co-authored-by: Scott Densmore <[email protected]>
Diffstat (limited to 'packages/cli')
-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(