fix(core): update system prompt snapshots for non-interactive scaffolding

This commit is contained in:
Taylor Mullen
2026-02-11 10:56:10 -08:00
parent 8d27a29053
commit 49eeb523ca
3 changed files with 21 additions and 20 deletions
+4 -2
View File
@@ -67,8 +67,10 @@ describe('interactive_commands', () => {
).toBeDefined();
expect(
scaffoldCall?.toolRequest.args,
'Agent should have passed a non-interactive flag (-y, --yes, or a specific --template)',
).toMatch(/(?:^|\s)(--yes|-y|--template\s+\S+)(?:\s|$|\\|")/);
'Agent should have passed a non-interactive flag (-y, --yes, --no-interactive, or a specific --template)',
).toMatch(
/(?:^|\s)(--yes|-y|--no-interactive|--template\s+\S+)(?:\s|$|\\|")/,
);
},
});
});