diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 24a6f0086ba..b640f53adb8 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -385,7 +385,7 @@ export async function main() { ), ); } - // We intentially omit the list of extensions here because extensions + // We intentionally omit the list of extensions here because extensions // should not impact auth or setting up the sandbox. // TODO(jacobr): refactor loadCliConfig so there is a minimal version // that only initializes enough config to enable refreshAuth or find diff --git a/packages/cli/src/ui/types.ts b/packages/cli/src/ui/types.ts index ef88bd09826..c4793ba809a 100644 --- a/packages/cli/src/ui/types.ts +++ b/packages/cli/src/ui/types.ts @@ -21,7 +21,7 @@ import { type ReactNode } from 'react'; export type { ThoughtSummary }; export enum AuthState { - // Attemtping to authenticate or re-authenticate + // Attempting to authenticate or re-authenticate Unauthenticated = 'unauthenticated', // Auth dialog is open for user to select auth method Updating = 'updating', diff --git a/packages/core/src/test-utils/mock-tool.ts b/packages/core/src/test-utils/mock-tool.ts index f8ec340d46a..268d644b853 100644 --- a/packages/core/src/test-utils/mock-tool.ts +++ b/packages/core/src/test-utils/mock-tool.ts @@ -226,7 +226,7 @@ export class MockModifiableTool extends BaseDeclarativeTool, ToolResult> implements ModifiableDeclarativeTool> { - // Should be overrided in test file. Functionality will be updated in follow + // Should be overridden in test file. Functionality will be updated in follow // up PR which has MockModifiableTool expect MockTool executeFn: (params: Record) => ToolResult | undefined = () => undefined; diff --git a/packages/sdk-java/qwencode/src/test/java/com/alibaba/qwen/code/cli/example/SessionExample.java b/packages/sdk-java/qwencode/src/test/java/com/alibaba/qwen/code/cli/example/SessionExample.java index 4e5fbc14c0b..dba726d7720 100644 --- a/packages/sdk-java/qwencode/src/test/java/com/alibaba/qwen/code/cli/example/SessionExample.java +++ b/packages/sdk-java/qwencode/src/test/java/com/alibaba/qwen/code/cli/example/SessionExample.java @@ -163,7 +163,7 @@ public static void runSetPermissionModeExample(Session session) { public static void runPromptUseLowLevelEventExample(Session session) { try { session.setPermissionMode(PermissionMode.YOLO); - session.sendPrompt("devlop Fibonacci function by python", new SessionEventSimpleConsumers() { + session.sendPrompt("develop Fibonacci function by python", new SessionEventSimpleConsumers() { @Override public void onAssistantMessage(Session session, SDKAssistantMessage assistantMessage) { logger.info("Received assistantMessage {}", JSON.toJSONString(assistantMessage)); @@ -212,7 +212,7 @@ public void onSystemMessage(Session session, SDKSystemMessage systemMessage) { public static void runPromptUseHighLevelEventExample(Session session) { try { - session.sendPrompt("devlop Fibonacci function by python", new SessionEventSimpleConsumers().setAssistantContentConsumer(new AssistantContentSimpleConsumers(){ + session.sendPrompt("develop Fibonacci function by python", new SessionEventSimpleConsumers().setAssistantContentConsumer(new AssistantContentSimpleConsumers(){ @Override public void onText(Session session, TextAssistantContent textAssistantContent) { logger.info("Received textAssistantContent {}", textAssistantContent.getText());