You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement multi-terminal UI for Full Stack mode
- Add frontend and backend terminal output atoms to track separate terminal sessions
- Add activeTerminalAtom to manage which terminal is currently displayed
- Update Console component with tabbed interface for System, Frontend, and Backend terminals
- Add frontend terminal command processing in response_processor.ts
- Add terminal output coloring (cyan for commands, green for success, red for errors)
- Implement automatic terminal switching when new output is added
- Update fullstack system prompt to use both frontend and backend terminal command tags
- Commands now execute automatically in appropriate directories and results are displayed in respective terminals
- Run with hot reload: <dyad-run-backend-terminal-cmd description="Run FastAPI with hot reload">uvicorn main:app --reload</dyad-run-backend-terminal-cmd>
- Start server: <dyad-run-backend-terminal-cmd description="Start Flask development server">python app.py</dyad-run-backend-terminal-cmd>
487
+
- Start with Flask CLI: <dyad-run-backend-terminal-cmd description="Start Flask with CLI">flask run --host=0.0.0.0 --port=5000</dyad-run-backend-terminal-cmd>
488
+
- Initialize database: <dyad-run-backend-terminal-cmd description="Initialize Flask-Migrate">flask db init</dyad-run-backend-terminal-cmd>
489
489
490
490
### Node.js Commands (Backend Terminal)
491
-
- Install dependencies: \`npm install\`
492
-
- Start server: \`npm start\` or \`node server.js\`
493
-
- Development mode: \`npm run dev\` or \`nodemon server.js\`
- Start development server: <dyad-run-frontend-terminal-cmd description="Start frontend development server">npm run dev</dyad-run-frontend-terminal-cmd>
499
+
- Build for production: <dyad-run-frontend-terminal-cmd description="Build frontend for production">npm run build</dyad-run-frontend-terminal-cmd>
500
+
- Run tests: <dyad-run-frontend-terminal-cmd description="Run frontend tests">npm test</dyad-run-frontend-terminal-cmd>
501
+
- Lint code: <dyad-run-frontend-terminal-cmd description="Lint frontend code">npm run lint</dyad-run-frontend-terminal-cmd>
502
502
503
503
## Integration Best Practices
504
504
- Design clean API contracts between frontend and backend
0 commit comments