Skip to content

Commit 5a355fe

Browse files
authored
docs: fix typos in source code and documentation (#13577)
1 parent 8d082a9 commit 5a355fe

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

docs/get-started/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ To avoid setting environment variables in every terminal session, you can:
256256
257257
## Non-interactive mode / headless environments
258258
259-
Non-interative mode / headless environments will use your existing
259+
Non-interactive mode / headless environments will use your existing
260260
authentication method, if an existing authentication credential is cached.
261261
262262
If you have not already logged in with an authentication credential (such as a

packages/a2a-server/development-extension-rfc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ syntax = "proto3";
153153
154154
import "google/protobuf/struct.proto";
155155
156-
// ToolCall is the central message represeting a tool's execution lifecycle.
156+
// ToolCall is the central message representing a tool's execution lifecycle.
157157
// The entire object is sent from the agent to client on every update.
158158
message ToolCall {
159159
// A unique identifier, assigned by the agent
@@ -197,7 +197,7 @@ enum ToolCallStatus {
197197
CANCELLED = 5;
198198
}
199199
200-
// ToolOuput represents the final, successful, output of a tool
200+
// ToolOutput represents the final, successful, output of a tool
201201
message ToolOutput {
202202
oneof result {
203203
string text = 1;

packages/a2a-server/src/agent/task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export class Task {
460460
): Message {
461461
const messageParts: Part[] = [];
462462

463-
// Create a serializable version of the ToolCall (pick necesssary
463+
// Create a serializable version of the ToolCall (pick necessary
464464
// properties/avoid methods causing circular reference errors)
465465
const serializableToolCall: Partial<ToolCall> = this._pickFields(
466466
tc,

packages/cli/src/test-utils/mockCommandContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const createMockCommandContext = (
8888
const targetValue = output[key];
8989

9090
if (
91-
// We only want to recursivlty merge plain objects
91+
// We only want to recursively merge plain objects
9292
Object.prototype.toString.call(sourceValue) === '[object Object]' &&
9393
Object.prototype.toString.call(targetValue) === '[object Object]'
9494
) {

packages/cli/src/ui/components/DebugProfiler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const DebugProfiler = () => {
185185
return;
186186
}
187187
// Only update the UX infrequently as updating the UX itself will cause
188-
// frames to run so can disturb what we are measuing.
188+
// frames to run so can disturb what we are measuring.
189189
const forceRefreshInterval = setInterval(() => {
190190
setForceRefresh((f) => f + 1);
191191
profiler.reportAction();

packages/cli/src/ui/components/InputPrompt.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
708708
// newline that was part of the paste.
709709
// This has the added benefit that in the worst case at least users
710710
// get some feedback that their keypress was handled rather than
711-
// wondering why it was completey ignored.
711+
// wondering why it was completely ignored.
712712
buffer.newline();
713713
return;
714714
}

packages/cli/src/ui/hooks/useSlashCompletion.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ describe('useSlashCompletion', () => {
293293
const hook = renderHook(() =>
294294
useTestHarnessForSlashCompletion(
295295
true,
296-
'/usag',
296+
'/usage',
297297
slashCommands,
298298
mockCommandContext,
299299
),

packages/cli/src/ui/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { type ReactNode } from 'react';
1919
export type { ThoughtSummary };
2020

2121
export enum AuthState {
22-
// Attemtping to authenticate or re-authenticate
22+
// Attempting to authenticate or re-authenticate
2323
Unauthenticated = 'unauthenticated',
2424
// Auth dialog is open for user to select auth method
2525
Updating = 'updating',

packages/core/src/agents/codebase-investigator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ You are a sub-agent in a larger system. Your only responsibility is to provide d
9696
- **DO:** Find the key modules, classes, and functions that are part of the problem and its solution.
9797
- **DO:** Understand *why* the code is written the way it is. Question everything.
9898
- **DO:** Foresee the ripple effects of a change. If \`function A\` is modified, you must check its callers. If a data structure is altered, you must identify where its type definitions need to be updated.
99-
- **DO:** provide a conclusion and insights to the main agent that invoked you. If the agent is trying to solve a bug, you should provide the root cause of the bug, its impacts, how to fix it etc. If it's a new feature, you should provide insights on where to implement it, what chagnes are necessary etc.
99+
- **DO:** provide a conclusion and insights to the main agent that invoked you. If the agent is trying to solve a bug, you should provide the root cause of the bug, its impacts, how to fix it etc. If it's a new feature, you should provide insights on where to implement it, what changes are necessary etc.
100100
- **DO NOT:** Write the final implementation code yourself.
101101
- **DO NOT:** Stop at the first relevant file. Your goal is a comprehensive understanding of the entire relevant subsystem.
102102
You operate in a non-interactive loop and must reason based on the information provided and the output of your tools.

packages/core/src/telemetry/semantic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function toFinishReasons(candidates?: Candidate[]): OTelFinishReason[] {
109109

110110
export function toOutputType(requested_mime?: string): string | undefined {
111111
switch (requested_mime) {
112-
// explictly support the known good values of responseMimeType
112+
// explicitly support the known good values of responseMimeType
113113
case 'text/plain':
114114
return OTelOutputType.TEXT;
115115
case 'application/json':

0 commit comments

Comments
 (0)