feat(plan): refactor TestRig and eval helper to support configurable approval modes (#17171)

This commit is contained in:
Jerop Kipruto
2026-01-21 10:43:48 -05:00
committed by GitHub
parent 0605e6e3e9
commit c21c297133
4 changed files with 26 additions and 22 deletions

View File

@@ -626,7 +626,7 @@ console.log(JSON.stringify({
},
});
const run = await rig.runInteractive({ yolo: false });
const run = await rig.runInteractive({ approvalMode: 'default' });
// Send prompt that will trigger a permission request
await run.type('Run the command "echo test"');