@@ -316,21 +316,19 @@ const TOOL_CALL_SCENARIOS = {
316316 kind : 'tool-calls' ,
317317 toolCalls : [
318318 {
319- toolNamePattern : / r e p l a c e .? s t r i n g | a p p l y .? p a t c h | i n s e r t . ? e d i t / i,
319+ toolNamePattern : / i n s e r t . ? e d i t | r e p l a c e .? s t r i n g | a p p l y .? p a t c h / i,
320320 arguments : {
321321 filePath : path . join ( FIXTURES_DIR , 'lifecycle.ts' ) ,
322- oldString : '// perf-benchmark-marker' ,
323- newString : '// perf-benchmark-marker (updated)' ,
324322 explanation : 'Update the benchmark marker comment in lifecycle.ts' ,
323+ code : '// perf-benchmark-marker (updated)' ,
325324 } ,
326325 } ,
327326 {
328- toolNamePattern : / r e p l a c e .? s t r i n g | a p p l y .? p a t c h | i n s e r t . ? e d i t / i,
327+ toolNamePattern : / i n s e r t . ? e d i t | r e p l a c e .? s t r i n g | a p p l y .? p a t c h / i,
329328 arguments : {
330329 filePath : path . join ( FIXTURES_DIR , 'event.ts' ) ,
331- oldString : '// perf-benchmark-marker' ,
332- newString : '// perf-benchmark-marker (updated)' ,
333330 explanation : 'Update the benchmark marker comment in event.ts' ,
331+ code : '// perf-benchmark-marker (updated)' ,
334332 } ,
335333 } ,
336334 ] ,
@@ -411,12 +409,11 @@ const TOOL_CALL_SCENARIOS = {
411409 kind : 'tool-calls' ,
412410 toolCalls : [
413411 {
414- toolNamePattern : / r e p l a c e .? s t r i n g | a p p l y .? p a t c h | i n s e r t . ? e d i t / i,
412+ toolNamePattern : / i n s e r t . ? e d i t | r e p l a c e .? s t r i n g | a p p l y .? p a t c h / i,
415413 arguments : {
416414 filePath : path . join ( FIXTURES_DIR , 'lifecycle.ts' ) ,
417- oldString : '// perf-benchmark-marker' ,
418- newString : '// perf-benchmark-marker (fixed)' ,
419415 explanation : 'Fix the dispose call in the test' ,
416+ code : '// perf-benchmark-marker (fixed)' ,
420417 } ,
421418 } ,
422419 ] ,
0 commit comments