fix(coding-agent): allow extra edit replacement fields
This commit is contained in:
@@ -38,7 +38,7 @@ const replaceEditSchema = Type.Object(
|
||||
}),
|
||||
newText: Type.String({ description: "Replacement text for this targeted edit." }),
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
{},
|
||||
);
|
||||
|
||||
const editSchema = Type.Object(
|
||||
@@ -49,7 +49,7 @@ const editSchema = Type.Object(
|
||||
"One or more targeted replacements. Each edit is matched against the original file, not incrementally. Do not include overlapping or nested edits. If two changes touch the same block or nearby lines, merge them into one edit instead.",
|
||||
}),
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
{},
|
||||
);
|
||||
|
||||
export type EditToolInput = Static<typeof editSchema>;
|
||||
|
||||
Reference in New Issue
Block a user