Skip to content

Feat/prompt queue#2155

Open
FrostyPhoenix2 wants to merge 3 commits intostackblitz-labs:mainfrom
FrostyPhoenix2:feat/prompt-queue
Open

Feat/prompt queue#2155
FrostyPhoenix2 wants to merge 3 commits intostackblitz-labs:mainfrom
FrostyPhoenix2:feat/prompt-queue

Conversation

@FrostyPhoenix2
Copy link
Copy Markdown

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

- 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
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.

2 participants