File tree Expand file tree Collapse file tree
test/cli/help/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,8 +215,8 @@ export const RunCommand = effectCmd({
215215 } )
216216 . option ( "replay" , {
217217 type : "boolean" ,
218- default : false ,
219- describe : "replay interactive session history on resume and after resize" ,
218+ default : true ,
219+ describe : "replay interactive session history on resume and after resize (use --no-replay to disable) " ,
220220 } )
221221 . option ( "replay-limit" , {
222222 type : "number" ,
@@ -277,10 +277,6 @@ export const RunCommand = effectCmd({
277277 die ( "--interactive cannot be used with --format json" )
278278 }
279279
280- if ( args . replay && ! args . interactive ) {
281- die ( "--replay requires --interactive" )
282- }
283-
284280 if ( args [ "replay-limit" ] !== undefined && ! args . interactive ) {
285281 die ( "--replay-limit requires --interactive" )
286282 }
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ Options:
104104 max, minimal) [string]
105105 --thinking show thinking blocks [boolean]
106106 --replay replay interactive session history on resume and after resize
107- [boolean] [default: false ]
107+ (use --no-replay to disable) [boolean] [default: true ]
108108 --replay-limit cap visible interactive replay to the newest N messages
109109 [number]
110110 -i, --interactive run in direct interactive split-footer mode
You can’t perform that action at this time.
0 commit comments