diff --git a/core/tools/definitions/createNewFile.ts b/core/tools/definitions/createNewFile.ts index 8f651a601..4d52cd665 100644 --- a/core/tools/definitions/createNewFile.ts +++ b/core/tools/definitions/createNewFile.ts @@ -4,9 +4,9 @@ import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn"; export const createNewFileTool: Tool = { type: "function", displayTitle: "Create New File", - wouldLikeTo: "create a new file at {{{ filepath }}}", - isCurrently: "creating a new file at {{{ filepath }}}", - hasAlready: "created a new file at {{{ filepath }}}", + wouldLikeTo: "create {{{ filepath }}}", + isCurrently: "creating {{{ filepath }}}", + hasAlready: "created {{{ filepath }}}", group: BUILT_IN_GROUP_NAME, readonly: false, isInstant: true, diff --git a/core/tools/definitions/fetchUrlContent.ts b/core/tools/definitions/fetchUrlContent.ts index 07a76a991..6927b60bf 100644 --- a/core/tools/definitions/fetchUrlContent.ts +++ b/core/tools/definitions/fetchUrlContent.ts @@ -6,7 +6,7 @@ export const fetchUrlContentTool: Tool = { displayTitle: "Read URL", wouldLikeTo: "fetch {{{ url }}}", isCurrently: "fetching {{{ url }}}", - hasAlready: "viewed {{{ url }}}", + hasAlready: "fetched {{{ url }}}", readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/globSearch.ts b/core/tools/definitions/globSearch.ts index 5e710c04b..6e11f84dd 100644 --- a/core/tools/definitions/globSearch.ts +++ b/core/tools/definitions/globSearch.ts @@ -4,9 +4,9 @@ import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn"; export const globSearchTool: Tool = { type: "function", displayTitle: "Glob File Search", - wouldLikeTo: 'find file matches for "{{{ pattern }}}"', - isCurrently: 'finding file matches for "{{{ pattern }}}"', - hasAlready: 'retrieved file matches for "{{{ pattern }}}"', + wouldLikeTo: 'search for files like "{{{ pattern }}}"', + isCurrently: 'searching for files like "{{{ pattern }}}"', + hasAlready: 'searched for files like "{{{ pattern }}}"', readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/grepSearch.ts b/core/tools/definitions/grepSearch.ts index cc4f9c49c..75107d90b 100644 --- a/core/tools/definitions/grepSearch.ts +++ b/core/tools/definitions/grepSearch.ts @@ -4,9 +4,9 @@ import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn"; export const grepSearchTool: Tool = { type: "function", displayTitle: "Grep Search", - wouldLikeTo: 'search for "{{{ query }}}" in the repository', - isCurrently: 'getting search results for "{{{ query }}}"', - hasAlready: 'retrieved search results for "{{{ query }}}"', + wouldLikeTo: 'search for "{{{ query }}}"', + isCurrently: 'searching for "{{{ query }}}"', + hasAlready: 'searched for "{{{ query }}}"', readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/ls.ts b/core/tools/definitions/ls.ts index 86d9581af..aefe16302 100644 --- a/core/tools/definitions/ls.ts +++ b/core/tools/definitions/ls.ts @@ -5,9 +5,9 @@ import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn"; export const lsTool: Tool = { type: "function", displayTitle: "ls", - wouldLikeTo: "list files and folders in {{{ dirPath }}}", - isCurrently: "listing files and folders in {{{ dirPath }}}", - hasAlready: "listed files and folders in {{{ dirPath }}}", + wouldLikeTo: "list files in {{{ dirPath }}}", + isCurrently: "listing files in {{{ dirPath }}}", + hasAlready: "listed files in {{{ dirPath }}}", readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/readCurrentlyOpenFile.ts b/core/tools/definitions/readCurrentlyOpenFile.ts index da1cb129b..5afab5ae4 100644 --- a/core/tools/definitions/readCurrentlyOpenFile.ts +++ b/core/tools/definitions/readCurrentlyOpenFile.ts @@ -6,7 +6,7 @@ export const readCurrentlyOpenFileTool: Tool = { displayTitle: "Read Currently Open File", wouldLikeTo: "read the current file", isCurrently: "reading the current file", - hasAlready: "viewed the current file", + hasAlready: "read the current file", readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/readFile.ts b/core/tools/definitions/readFile.ts index 2fc606883..d63b59b16 100644 --- a/core/tools/definitions/readFile.ts +++ b/core/tools/definitions/readFile.ts @@ -6,7 +6,7 @@ export const readFileTool: Tool = { displayTitle: "Read File", wouldLikeTo: "read {{{ filepath }}}", isCurrently: "reading {{{ filepath }}}", - hasAlready: "viewed {{{ filepath }}}", + hasAlready: "read {{{ filepath }}}", readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/readFileRange.ts b/core/tools/definitions/readFileRange.ts index 91e94d574..672b9f431 100644 --- a/core/tools/definitions/readFileRange.ts +++ b/core/tools/definitions/readFileRange.ts @@ -9,7 +9,7 @@ export const readFileRangeTool: Tool = { isCurrently: "reading lines {{{ startLine }}}-{{{ endLine }}} of {{{ filepath }}}", hasAlready: - "viewed lines {{{ startLine }}}-{{{ endLine }}} of {{{ filepath }}}", + "read lines {{{ startLine }}}-{{{ endLine }}} of {{{ filepath }}}", readonly: true, isInstant: true, group: BUILT_IN_GROUP_NAME, diff --git a/core/tools/definitions/singleFindAndReplace.ts b/core/tools/definitions/singleFindAndReplace.ts index 3cbbee3cf..653fba584 100644 --- a/core/tools/definitions/singleFindAndReplace.ts +++ b/core/tools/definitions/singleFindAndReplace.ts @@ -12,9 +12,9 @@ export interface SingleFindAndReplaceArgs { export const singleFindAndReplaceTool: Tool = { type: "function", displayTitle: "Find and Replace", - wouldLikeTo: "find and replace in {{{ filepath }}}", - isCurrently: "finding and replacing in {{{ filepath }}}", - hasAlready: "found and replaced in {{{ filepath }}}", + wouldLikeTo: "edit {{{ filepath }}}", + isCurrently: "editing {{{ filepath }}}", + hasAlready: "edited {{{ filepath }}}", group: BUILT_IN_GROUP_NAME, readonly: false, isInstant: false,