diff options
| author | Bryan Morgan <[email protected]> | 2025-06-07 15:06:18 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-07 15:06:18 -0400 |
| commit | 28ff62e7b1b2191c5f5193314523f848a0f3dea5 (patch) | |
| tree | 6285889f556c2840031fde0180c4cd5a2817d135 /packages/core/src/tools/edit.ts | |
| parent | 6ea4479064a4275390ef96216f5d68bd27f65ae7 (diff) | |
Added /mcp command support and cleaned up broken tests (#817)
Diffstat (limited to 'packages/core/src/tools/edit.ts')
| -rw-r--r-- | packages/core/src/tools/edit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/tools/edit.ts b/packages/core/src/tools/edit.ts index bdaa805c..eb22d0ac 100644 --- a/packages/core/src/tools/edit.ts +++ b/packages/core/src/tools/edit.ts @@ -91,7 +91,7 @@ Expectation for required parameters: 2. \`old_string\` MUST be the exact literal text to replace (including all whitespace, indentation, newlines, and surrounding code etc.). 3. \`new_string\` MUST be the exact literal text to replace \`old_string\` with (also including all whitespace, indentation, newlines, and surrounding code etc.). Ensure the resulting code is correct and idiomatic. 4. NEVER escape \`old_string\` or \`new_string\`, that would break the exact literal text requirement. -**Important:** If ANY of the above are not satisfied, the tool will fail. CRITICAL for \`old_string\`: Must uniquely identify the single instance to change. Include at least 3 lines of context BEFORE and AFTER the target text, matching whitespace and indentation precisely. If this string matches multiple locations, or does not match exactly, the tool will fail., +**Important:** If ANY of the above are not satisfied, the tool will fail. CRITICAL for \`old_string\`: Must uniquely identify the single instance to change. Include at least 3 lines of context BEFORE and AFTER the target text, matching whitespace and indentation precisely. If this string matches multiple locations, or does not match exactly, the tool will fail. **Multiple replacements:** Set \`expected_replacements\` to the number of occurrences you want to replace. The tool will replace ALL occurrences that match \`old_string\` exactly. Ensure the number of replacements matches your expectation.`, { properties: { |
