Skip to content

Commit 62ea6f9

Browse files
[Doc]: fixing typos in various files (#271)
1 parent 7c047f9 commit 62ea6f9

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

.agents/base2/scout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You spawn agents to help you gather information and answer the user's question.
2828
2929
Then answer the question to the best of your ability.
3030
31-
You cannot use any other tools beyond the ones provided to you. (No abiltity to read files, write files, or run terminal commands, etc.)
31+
You cannot use any other tools beyond the ones provided to you. (No ability to read files, write files, or run terminal commands, etc.)
3232
3333
Note: No need to spawn multiple file-explorer agents, but you can spawn multiple web-researcher or docs-researcher agents.
3434

.agents/types/agent-definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export interface AgentDefinition {
9595

9696
/** How the agent should output a response to its parent (defaults to 'last_message')
9797
*
98-
* last_message: The last message from the agent, typcically after using tools.
98+
* last_message: The last message from the agent, typically after using tools.
9999
*
100100
* all_messages: All messages from the agent, including tool calls and results.
101101
*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ You can write agent definition files that give you maximum control over agent be
6060

6161
Implement your workflows by specifying tools, which agents can be spawned, and prompts. We even have TypeScript generators for more programmatic control.
6262

63-
For example, here's a `git-committer` agent that creates git commits based on the current git state. Notice that it runs `git diff` and `git log` to analyze changes, but then hands control over to the LLM to craft a meaningful commit messagea and perform the actual commit.
63+
For example, here's a `git-committer` agent that creates git commits based on the current git state. Notice that it runs `git diff` and `git log` to analyze changes, but then hands control over to the LLM to craft a meaningful commit message and perform the actual commit.
6464

6565
```typescript
6666
export default {

backend/src/system-prompt/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ If the user sends you the url to a page that is helpful now or could be helpful
8585
const initPrompt = `
8686
User has typed "init". Trigger initialization flow:
8787
88-
First, read knowldge.md and ${codebuffConfigFile} top level directory.
88+
First, read knowledge.md and ${codebuffConfigFile} top level directory.
8989
9090
Knowledge file:
9191
- If it does not exist, create a new one with updated information.

backend/src/system-prompt/truncate-file-tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function pruneFileTokenScores(
274274
}
275275
}
276276

277-
// Note: The below function can take a while, so we optmized to have few loop iterations.
277+
// Note: The below function can take a while, so we optimized to have few loop iterations.
278278
printedTree = printFileTreeWithTokens(fileTree, pruned)
279279
totalTokens = countTokensJson(printedTree)
280280
index += batchSize

backend/src/tools/definitions/tool/create-plan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For a technical plan, act as an expert architect engineer and provide direction
2222
- Just show the changes needed.
2323
2424
What to include in the plan:
25-
- Include key snippets of code -- not full files of it. Use psuedo code. For example, include interfaces between modules, function signatures, and other code that is not immediately obvious should be written out explicitly. Function and method bodies could be written out in psuedo code.
25+
- Include key snippets of code -- not full files of it. Use pseudo code. For example, include interfaces between modules, function signatures, and other code that is not immediately obvious should be written out explicitly. Function and method bodies could be written out in psuedo code.
2626
- Do not waste time on much background information, focus on the exact steps of the implementation.
2727
- Do not wrap the path content in markdown code blocks, e.g. \`\`\`.
2828

backend/src/tools/definitions/tool/write-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Notes for editing a file:
5454
- If you don't use any placeholder comments, the entire file will be replaced. E.g. don't write out a single function without using placeholder comments unless you want to replace the entire file with that function.
5555
- When editing a file, try not to change any user code that doesn't need to be changed. In particular, you must preserve pre-existing user comments exactly as they are.
5656
- You can also use this tool to create new files.
57-
- After you have written out a write_file block, the changes will be applied immediately. You can assume that the changes went through as intended. However, note that there are sometimes mistakes in the processs of applying the edits you described in the write_file block, e.g. sometimes large portions of the file are deleted. If you notice that the changes did not go through as intended, based on further updates to the file, you can write out a new write_file block to fix the mistake.
57+
- After you have written out a write_file block, the changes will be applied immediately. You can assume that the changes went through as intended. However, note that there are sometimes mistakes in the process of applying the edits you described in the write_file block, e.g. sometimes large portions of the file are deleted. If you notice that the changes did not go through as intended, based on further updates to the file, you can write out a new write_file block to fix the mistake.
5858
5959
Examples:
6060
${getToolCallString(toolName, {

common/src/templates/initial-agents-dir/types/agent-definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export interface AgentDefinition {
9595

9696
/** How the agent should output a response to its parent (defaults to 'last_message')
9797
*
98-
* last_message: The last message from the agent, typcically after using tools.
98+
* last_message: The last message from the agent, typically after using tools.
9999
*
100100
* all_messages: All messages from the agent, including tool calls and results.
101101
*

common/src/util/agent-id-parsing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function parseAgentId(fullAgentId: string): {
8080
}
8181

8282
/**
83-
* Parse publishded agent ID to extract publisher, agent name, and optionally version
83+
* Parse published agent ID to extract publisher, agent name, and optionally version
8484
*
8585
* If the agent ID is not in the publisher/agent format, return null
8686
*/

knowledge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ mock.module('../services/api-client', () => ({
194194

195195
- Easier to restore original functionality with `mock.restore()`
196196
- Clearer test isolation
197-
- Doesn't interfere with global state (mock.module carrries over from test file to test file, which is super bad and unintutitve.)
197+
- Doesn't interfere with global state (mock.module carries over from test file to test file, which is super bad and unintuitive.)
198198
- Simpler debugging when mocks fail
199199

200200
### Test Setup Patterns

0 commit comments

Comments
 (0)