@@ -41,6 +41,7 @@ Assistant: Sure thing! Let's update that file!
4141
4242<write_file >
4343<path >path/to/example/file.ts</path >
44+ <instructions >Update the console logs</instructions >
4445<content >console.log('Hello from Buffy!');</content >
4546</write_file >
4647
@@ -391,6 +392,7 @@ Assistant: Sure thing! Let's update that file!
391392
392393<write_file >
393394<path >path/to/example/file.ts</path >
395+ <instructions >Update the console logs</instructions >
394396<content >console.log('Hello from Buffy!');</content >
395397</write_file >
396398
@@ -484,6 +486,7 @@ Create or edit a file with the given content.
484486
485487Params:
486488- \`path\`: (required) Path to the file relative to the **project root**
489+ - \`instructions\`: (required) What the change is intended to do in only one sentence.
487490- \`content\`: (required) Edit snippet to apply to the file.
488491
489492#### **IMPORTANT** Edit Snippet
@@ -539,18 +542,21 @@ Notes for editing a file:
539542Examples:
540543<write_file >
541544<path >path/to/file</path >
545+ <instructions >How the file is being updated</instructions >
542546<content >Your file content here</content >
543547</write_file >
544548
545549Example 1 - Simple file creation:
546550<write_file >
547551<path >new-file.ts</path >
552+ <instructions >Prints Hello, world</instructions >
548553<content >console.log("Hello, world!");</content >
549554</write_file >
550555
551556Example 2 - Editing with placeholder comments:
552557<write_file >
553558<path >foo.ts</path >
559+ <instructions >Update foo and remove console.log</instructions >
554560<content >// ... existing code ...
555561
556562function foo() {
@@ -945,6 +951,7 @@ Assistant: Sure thing! Let's update that file!
945951
946952<write_file >
947953<path >path/to/example/file.ts</path >
954+ <instructions >Update the console logs</instructions >
948955<content >console.log('Hello from Buffy!');</content >
949956</write_file >
950957
@@ -1038,6 +1045,7 @@ Create or edit a file with the given content.
10381045
10391046Params:
10401047- \`path\`: (required) Path to the file relative to the **project root**
1048+ - \`instructions\`: (required) What the change is intended to do in only one sentence.
10411049- \`content\`: (required) Edit snippet to apply to the file.
10421050
10431051#### **IMPORTANT** Edit Snippet
@@ -1093,18 +1101,21 @@ Notes for editing a file:
10931101Examples:
10941102<write_file >
10951103<path >path/to/file</path >
1104+ <instructions >How the file is being updated</instructions >
10961105<content >Your file content here</content >
10971106</write_file >
10981107
10991108Example 1 - Simple file creation:
11001109<write_file >
11011110<path >new-file.ts</path >
1111+ <instructions >Prints Hello, world</instructions >
11021112<content >console.log("Hello, world!");</content >
11031113</write_file >
11041114
11051115Example 2 - Editing with placeholder comments:
11061116<write_file >
11071117<path >foo.ts</path >
1118+ <instructions >Update foo and remove console.log</instructions >
11081119<content >// ... existing code ...
11091120
11101121function foo() {
@@ -1499,6 +1510,7 @@ Assistant: Sure thing! Let's update that file!
14991510
15001511<write_file >
15011512<path >path/to/example/file.ts</path >
1513+ <instructions >Update the console logs</instructions >
15021514<content >console.log('Hello from Buffy!');</content >
15031515</write_file >
15041516
@@ -1592,6 +1604,7 @@ Create or edit a file with the given content.
15921604
15931605Params:
15941606- \`path\`: (required) Path to the file relative to the **project root**
1607+ - \`instructions\`: (required) What the change is intended to do in only one sentence.
15951608- \`content\`: (required) Edit snippet to apply to the file.
15961609
15971610#### **IMPORTANT** Edit Snippet
@@ -1647,18 +1660,21 @@ Notes for editing a file:
16471660Examples:
16481661<write_file >
16491662<path >path/to/file</path >
1663+ <instructions >How the file is being updated</instructions >
16501664<content >Your file content here</content >
16511665</write_file >
16521666
16531667Example 1 - Simple file creation:
16541668<write_file >
16551669<path >new-file.ts</path >
1670+ <instructions >Prints Hello, world</instructions >
16561671<content >console.log("Hello, world!");</content >
16571672</write_file >
16581673
16591674Example 2 - Editing with placeholder comments:
16601675<write_file >
16611676<path >foo.ts</path >
1677+ <instructions >Update foo and remove console.log</instructions >
16621678<content >// ... existing code ...
16631679
16641680function foo() {
@@ -2053,6 +2069,7 @@ Assistant: Sure thing! Let's update that file!
20532069
20542070<write_file >
20552071<path >path/to/example/file.ts</path >
2072+ <instructions >Update the console logs</instructions >
20562073<content >console.log('Hello from Buffy!');</content >
20572074</write_file >
20582075
@@ -2146,6 +2163,7 @@ Create or edit a file with the given content.
21462163
21472164Params:
21482165- \`path\`: (required) Path to the file relative to the **project root**
2166+ - \`instructions\`: (required) What the change is intended to do in only one sentence.
21492167- \`content\`: (required) Edit snippet to apply to the file.
21502168
21512169#### **IMPORTANT** Edit Snippet
@@ -2201,18 +2219,21 @@ Notes for editing a file:
22012219Examples:
22022220<write_file >
22032221<path >path/to/file</path >
2222+ <instructions >How the file is being updated</instructions >
22042223<content >Your file content here</content >
22052224</write_file >
22062225
22072226Example 1 - Simple file creation:
22082227<write_file >
22092228<path >new-file.ts</path >
2229+ <instructions >Prints Hello, world</instructions >
22102230<content >console.log("Hello, world!");</content >
22112231</write_file >
22122232
22132233Example 2 - Editing with placeholder comments:
22142234<write_file >
22152235<path >foo.ts</path >
2236+ <instructions >Update foo and remove console.log</instructions >
22162237<content >// ... existing code ...
22172238
22182239function foo() {
0 commit comments