Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Sync agent tool replacement types
  • Loading branch information
jahooma committed May 5, 2026
commit e7f1c593d6da42685cafad66cb8ca865d00a7992
16 changes: 8 additions & 8 deletions agents/types/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ export interface ProposeStrReplaceParams {
/** Array of replacements to make. */
replacements: {
/** The string to replace. This must be an *exact match* of the string you want to replace, including whitespace and punctuation. */
old: string
/** The string to replace the corresponding old string with. Can be empty to delete. */
new: string
/** Whether to allow multiple replacements of old string. */
oldString: string
/** The string to replace the corresponding oldString with. Can be empty to delete. */
newString: string
/** Whether to allow multiple replacements of oldString. */
allowMultiple?: boolean
}[]
}
Expand Down Expand Up @@ -358,10 +358,10 @@ export interface StrReplaceParams {
/** Array of replacements to make. */
replacements: {
/** The string to replace. This must be an *exact match* of the string you want to replace, including whitespace and punctuation. */
old: string
/** The string to replace the corresponding old string with. Can be empty to delete. */
new: string
/** Whether to allow multiple replacements of old string. */
oldString: string
/** The string to replace the corresponding oldString with. Can be empty to delete. */
newString: string
/** Whether to allow multiple replacements of oldString. */
allowMultiple?: boolean
}[]
}
Expand Down
Loading