Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/get-started/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ To avoid setting environment variables in every terminal session, you can:

## Non-interactive mode / headless environments

Non-interative mode / headless environments will use your existing
Non-interactive mode / headless environments will use your existing
authentication method, if an existing authentication credential is cached.

If you have not already logged in with an authentication credential (such as a
Expand Down
4 changes: 2 additions & 2 deletions packages/a2a-server/development-extension-rfc.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ syntax = "proto3";

import "google/protobuf/struct.proto";

// ToolCall is the central message represeting a tool's execution lifecycle.
// ToolCall is the central message representing a tool's execution lifecycle.
// The entire object is sent from the agent to client on every update.
message ToolCall {
// A unique identifier, assigned by the agent
Expand Down Expand Up @@ -197,7 +197,7 @@ enum ToolCallStatus {
CANCELLED = 5;
}

// ToolOuput represents the final, successful, output of a tool
// ToolOutput represents the final, successful, output of a tool
message ToolOutput {
oneof result {
string text = 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/a2a-server/src/agent/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ export class Task {
): Message {
const messageParts: Part[] = [];

// Create a serializable version of the ToolCall (pick necesssary
// Create a serializable version of the ToolCall (pick necessary
// properties/avoid methods causing circular reference errors)
const serializableToolCall: Partial<ToolCall> = this._pickFields(
tc,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/test-utils/mockCommandContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const createMockCommandContext = (
const targetValue = output[key];

if (
// We only want to recursivlty merge plain objects
// We only want to recursively merge plain objects
Object.prototype.toString.call(sourceValue) === '[object Object]' &&
Object.prototype.toString.call(targetValue) === '[object Object]'
) {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui/components/DebugProfiler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const DebugProfiler = () => {
return;
}
// Only update the UX infrequently as updating the UX itself will cause
// frames to run so can disturb what we are measuing.
// frames to run so can disturb what we are measuring.
const forceRefreshInterval = setInterval(() => {
setForceRefresh((f) => f + 1);
profiler.reportAction();
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui/components/InputPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
// newline that was part of the paste.
// This has the added benefit that in the worst case at least users
// get some feedback that their keypress was handled rather than
// wondering why it was completey ignored.
// wondering why it was completely ignored.
buffer.newline();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui/hooks/useSlashCompletion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ describe('useSlashCompletion', () => {
const hook = renderHook(() =>
useTestHarnessForSlashCompletion(
true,
'/usag',
'/usage',
slashCommands,
mockCommandContext,
),
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/agents/codebase-investigator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ You are a sub-agent in a larger system. Your only responsibility is to provide d
- **DO:** Find the key modules, classes, and functions that are part of the problem and its solution.
- **DO:** Understand *why* the code is written the way it is. Question everything.
- **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.
- **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.
- **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.
- **DO NOT:** Write the final implementation code yourself.
- **DO NOT:** Stop at the first relevant file. Your goal is a comprehensive understanding of the entire relevant subsystem.
You operate in a non-interactive loop and must reason based on the information provided and the output of your tools.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/telemetry/semantic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function toFinishReasons(candidates?: Candidate[]): OTelFinishReason[] {

export function toOutputType(requested_mime?: string): string | undefined {
switch (requested_mime) {
// explictly support the known good values of responseMimeType
// explicitly support the known good values of responseMimeType
case 'text/plain':
return OTelOutputType.TEXT;
case 'application/json':
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/test-utils/mock-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class MockModifiableTool
extends BaseDeclarativeTool<Record<string, unknown>, ToolResult>
implements ModifiableDeclarativeTool<Record<string, unknown>>
{
// 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<string, unknown>) => ToolResult | undefined = () =>
undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/schemaValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ addFormatsFunc(ajValidator);
*/
export class SchemaValidator {
/**
* Returns null if the data confroms to the schema described by schema (or if schema
* Returns null if the data conforms to the schema described by schema (or if schema
* is null). Otherwise, returns a string describing the error.
*/
static validate(schema: unknown | undefined, data: unknown): string | null {
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-ide-companion/src/ide-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ const createMcpServer = (
'openDiff',
{
description:
'(IDE Tool) Open a diff view to create or modify a file. Returns a notification once the diff has been accepted or rejcted.',
'(IDE Tool) Open a diff view to create or modify a file. Returns a notification once the diff has been accepted or rejected.',
inputSchema: OpenDiffRequestSchema.shape,
},
async ({ filePath, newContent }: z.infer<typeof OpenDiffRequestSchema>) => {
Expand Down