fix(setup): disclose manual connector steps before approval

Fixes #7692
Supersedes #7792

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
Avocadoandgensokyo-dev authored and Ysopwnable committed 2026-11-14 14:16:39 +01:00
1 parent 4e8e1f5346
commit 4d02bc82b3
6 files changed
+123 -6

No files matched your search

+4
View File
@@ -59,6 +59,10 @@ export const confirmInteractiveSetup = async (
}
if (actions.length === 0) return { approved: true, selectedActionIds: [] };
renderPreflight(actions);
if (context?.remediation !== undefined) {
writeLine("│");
writeLine(`│ ${context.remediation}`);
}
const approved = await confirm({
...promptStreams,
...(signal === undefined ? {} : { signal }),