diff options
Diffstat (limited to 'internal/tui')
| -rw-r--r-- | internal/tui/components/dialog/init.go | 2 | ||||
| -rw-r--r-- | internal/tui/tui.go | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/tui/components/dialog/init.go b/internal/tui/components/dialog/init.go index 77c76584d..16fb070e6 100644 --- a/internal/tui/components/dialog/init.go +++ b/internal/tui/components/dialog/init.go @@ -110,7 +110,7 @@ func (m InitDialogCmp) View() string { Foreground(t.Text()). Width(maxWidth). Padding(0, 1). - Render("Initialization generates a new OpenCode.md file that contains information about your codebase, this file serves as memory for each project, you can freely add to it to help the agents be better at their job.") + Render("Initialization generates a new CONTEXT.md file that contains information about your codebase, this file serves as memory for each project, you can freely add to it to help the agents be better at their job.") question := baseStyle. Foreground(t.Text()). diff --git a/internal/tui/tui.go b/internal/tui/tui.go index 28f94add7..0db21f380 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -707,14 +707,14 @@ func New(app *app.App) tea.Model { model.RegisterCommand(dialog.Command{ ID: "init", Title: "Initialize Project", - Description: "Create/Update the OpenCode.md memory file", + Description: "Create/Update the CONTEXT.md memory file", Handler: func(cmd dialog.Command) tea.Cmd { - prompt := `Please analyze this codebase and create a OpenCode.md file containing: + prompt := `Please analyze this codebase and create a CONTEXT.md file containing: 1. Build/lint/test commands - especially for running a single test 2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc. The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long. -If there's already a opencode.md, improve it. +If there's already a CONTEXT.md, improve it. If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.` return tea.Batch( util.CmdHandler(chat.SendMsg{ |
