refactor(cli): Use excludeTools for non-interactive mode (#1072)

This commit is contained in:
N. Taylor Mullen
2025-06-15 16:05:40 -07:00
committed by GitHub
parent 101b6fe767
commit 4463671284
3 changed files with 14 additions and 29 deletions

View File

@@ -427,6 +427,9 @@ Add any other context about the problem here.
});
it('should use the custom bug command URL from config if available', async () => {
process.env.CLI_VERSION = '0.1.0';
process.env.SANDBOX = 'sandbox-exec';
process.env.SEATBELT_PROFILE = 'permissive-open';
const bugCommand = {
urlTemplate:
'https://custom-bug-tracker.com/new?title={title}&body={body}',
@@ -449,7 +452,7 @@ Add any other context about the problem here.
* **CLI Version:** 0.1.0
* **Git Commit:** ${GIT_COMMIT_INFO}
* **Operating System:** test-platform test-node-version
* **Sandbox Environment:** no sandbox
* **Sandbox Environment:** sandbox-exec (permissive-open)
* **Model Version:** test-model
* **Memory Usage:** 11.8 MB
`;