Commit c1d16e2
builder: honor the Build/Plan choice from the landing composer
The landing/dashboard composer wrote localStorage.initialMode ('build'|'plan')
but the builder's AskAI never read it — it always resumed the last composer-mode,
so choosing 'Plan' on the landing was silently dropped. AskAI now seeds its mode
from initialMode once on mount then clears it (mirrors the initialPrompt handoff).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2308e54 commit c1d16e2
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
142 | 156 | | |
143 | 157 | | |
144 | 158 | | |
| |||
0 commit comments