@@ -331,10 +331,14 @@ func (s *splashCmp) initializeProject() tea.Cmd {
332 cmds = append(cmds, util.CmdHandler(OnboardingCompleteMsg{}))
332 cmds = append(cmds, util.CmdHandler(OnboardingCompleteMsg{}))
333 if !s.selectedNo {
333 if !s.selectedNo {
334+ initPrompt, err := agent.InitializePrompt(*config.Get())
336+ return util.ReportError(err)
334 cmds = append(cmds,
338 cmds = append(cmds,
335 util.CmdHandler(chat.SessionClearedMsg{}),
339 util.CmdHandler(chat.SessionClearedMsg{}),
336 util.CmdHandler(chat.SendMsg{
340 util.CmdHandler(chat.SendMsg{
337− Text: agent.InitializePrompt(),
341+ Text: initPrompt,
@@ -458,6 +462,7 @@ func (s *splashCmp) View() string {
458 bodyStyle := t.S().Base.Foreground(t.FgMuted)
462 bodyStyle := t.S().Base.Foreground(t.FgMuted)
459 shortcutStyle := t.S().Base.Foreground(t.Success)
463 shortcutStyle := t.S().Base.Foreground(t.Success)
465+ initFile := config.Get().Options.InitializeAs
461 initText := lipgloss.JoinVertical(
466 initText := lipgloss.JoinVertical(
462 lipgloss.Left,
467 lipgloss.Left,
463 titleStyle.Render("Would you like to initialize this project?"),
468 titleStyle.Render("Would you like to initialize this project?"),
@@ -465,7 +470,7 @@ func (s *splashCmp) View() string {
465 pathStyle.Render(s.cwd()),
470 pathStyle.Render(s.cwd()),
467 bodyStyle.Render("When I initialize your codebase I examine the project and put the"),
472 bodyStyle.Render("When I initialize your codebase I examine the project and put the"),
468− bodyStyle.Render("result into a CRUSH.md file which serves as general context."),
473+ bodyStyle.Render(fmt.Sprintf("result into an %s file which serves as general context.", initFile)),
470 bodyStyle.Render("You can also initialize anytime via ")+shortcutStyle.Render("ctrl+p")+bodyStyle.Render("."),
475 bodyStyle.Render("You can also initialize anytime via ")+shortcutStyle.Render("ctrl+p")+bodyStyle.Render("."),