Feat/prompt queue#2155
Open
FrostyPhoenix2 wants to merge 3 commits intostackblitz-labs:mainfrom
Open
Conversation
- Add hasExpoConfig detection in zipImport.ts (checks app.json, app.config.js, and expo key in package.json dependencies) - Strip runnable scripts from package.json for Expo imports so bolt cannot attempt to boot a native project in WebContainer - Show code review prompt for Expo imports instead of install+start command
- New promptQueue nanotore tracking prompts, currentIndex, isRunning, pendingPrompt - PromptQueuePanel component with collapsible floating UI above chat input - Supports multi-line prompt formats: code blocks, --- separators, ## headings, one-per-line - Advances queue automatically via onFinish hook, stops on error - Collapsed bar shows live progress (Prompt X of Y) and completion state - Strikethroughs persist after queue finishes so run history stays visible - Tip copy sets expectations on practical queue length
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prompt Queue — automated multi-step runs
Adds a collapsible Prompt Queue panel below the chat input that lets you load a list of prompts and run them sequentially without babysitting bolt between responses.
How it works:
Paste prompts in any format: ``` code blocks, --- separated sections, ## headings, or one per line
Hit Load then Start — the queue fires each prompt automatically after the previous response finishes
Stops automatically on error so bolt doesn't spiral
UI details:
Floats above the input as an overlay — doesn't push the chat layout
Collapsed bar shows live progress ("Prompt 3 of 10") while running
Expanded view shows each prompt with pending / spinning / strikethrough-done states
All strikethroughs persist after completion so you can see what ran
Tip copy sets expectations on practical queue length