Skip to content

feat: allow explanations in silent mode - #180

Open
huyua9 wants to merge 1 commit into
BuilderIO:mainfrom
huyua9:fix/explain-in-silent-mode
Open

feat: allow explanations in silent mode#180
huyua9 wants to merge 1 commit into
BuilderIO:mainfrom
huyua9:fix/explain-in-silent-mode

Conversation

@huyua9

@huyua9 huyua9 commented Aug 30, 2026

Copy link
Copy Markdown

Problem

Silent mode skips the initial explanation, but it gives users no way to request an explanation for the generated script without revising it. The persisted SILENT_MODE=true setting also was not propagated to the revision flow.

What changed

  • Add an Explanation action to the generated-script menu when silent mode is active.
  • Reuse the explanation renderer for the initial, on-demand, and post-revision paths.
  • Propagate the effective silent-mode setting from both -s and SILENT_MODE=true.
  • Add executable regression checks for the menu condition and callback.

Closes #137

Validation

  • ./node_modules/.bin/jiti tests/prompt-silent-mode.test.ts
  • npm run typecheck
  • npx prettier --check src/prompt.ts tests/prompt-silent-mode.test.ts
  • npx eslint src/prompt.ts tests/prompt-silent-mode.test.ts
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add explain action in silent mode

2 participants