( projectName: string, manager: string )
| 31 | }; |
| 32 | |
| 33 | const getMastraProjectNextSteps = ( |
| 34 | projectName: string, |
| 35 | manager: string |
| 36 | ): string[] => { |
| 37 | return [ |
| 38 | `Navigate to your project: ${pc.cyan(`cd ${projectName}`)}`, |
| 39 | `Install dependencies: ${pc.cyan( |
| 40 | `${manager} install && cd src/backend && ${manager} install && cd ../..` |
| 41 | )}`, |
| 42 | `Create .env file: ${pc.cyan( |
| 43 | 'echo "OPENAI_API_KEY=your-api-key-here" > .env' |
| 44 | )}`, |
| 45 | `Start development: ${pc.cyan( |
| 46 | 'npm run dev' |
| 47 | )} (starts both Next.js and Mastra backend)`, |
| 48 | pc.green( |
| 49 | '\n🎉 Cedar chat should magically work! Try chatting with your AI assistant.' |
| 50 | ), |
| 51 | ]; |
| 52 | }; |
| 53 | |
| 54 | const getMastraReferenceNextSteps = ( |
| 55 | projectName: string, |
no outgoing calls
no test coverage detected