Changes
PR #2328 by tanishqbaweja and ksylvan: fix(core): stop --dry-run from applying file changes and saving the session
- Fix
--dry-run -p create_coding_featureoverwritingREADME.mdand creatingsrc/main.cfrom the example in the pattern; the dry run now prints the full request and changes no files. - Fix
--dry-run --sessionsaving the fake reply to the session, where the next real request sent it to the model; a dry run no longer creates or changes a session file. - New helper function
captureStdout(t, fn) []byteto refactor common test pattern.