Skip to content

feat: plan mode#2116

Open
embire2 wants to merge 1 commit intostackblitz-labs:mainfrom
embire2:feat/plan-mode
Open

feat: plan mode#2116
embire2 wants to merge 1 commit intostackblitz-labs:mainfrom
embire2:feat/plan-mode

Conversation

@embire2
Copy link

@embire2 embire2 commented Feb 6, 2026

Summary

  • add a per‑chat Plan Mode toggle and persist it per chat
  • include planMode in /api/chat payloads so the server can enforce plan‑first responses
  • prevent settings overwrite on chat switch via a save‑skip guard
  • clean up plan mode entries when chats are deleted or imports reset

Testing

  • pnpm run typecheck
  • pnpm run lint
  • e2e: Playwright smoke (toggle Plan mode, send chat, assert /api/chat payload includes planMode: true)

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