( projectId: string, projectPath: string, initialPrompt: string, model: string = CODEX_DEFAULT_MODEL, requestId?: string, )
| 1009 | } |
| 1010 | |
| 1011 | export async function initializeNextJsProject( |
| 1012 | projectId: string, |
| 1013 | projectPath: string, |
| 1014 | initialPrompt: string, |
| 1015 | model: string = CODEX_DEFAULT_MODEL, |
| 1016 | requestId?: string, |
| 1017 | ): Promise<void> { |
| 1018 | const fullPrompt = ` |
| 1019 | Create a new Next.js 15 application with the following requirements: |
| 1020 | ${initialPrompt} |
| 1021 | |
| 1022 | Use App Router, TypeScript, and Tailwind CSS. |
| 1023 | Set up the basic project structure and implement the requested features. |
| 1024 | `.trim(); |
| 1025 | |
| 1026 | await executeCodex(projectId, projectPath, fullPrompt, model ?? getDefaultModelForCli('codex'), requestId, true); |
| 1027 | } |
| 1028 | |
| 1029 | export async function applyChanges( |
| 1030 | projectId: string, |
nothing calls this directly
no test coverage detected