Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

small updates

Dane Schneider45255b530d35
diff --git a/app/cli/cmd/debug.go b/app/cli/cmd/debug.go
index f9da7912..1677cfb2 100644
--- a/app/cli/cmd/debug.go
+++ b/app/cli/cmd/debug.go
@@ -179,7 +179,7 @@ func doDebug(cmd *cobra.Command, args []string) {
if interrupted.Load() {
fmt.Println()
- color.New(term.ColorHiYellow, color.Bold).Println("⚠️ Execution interrupted")
+ color.New(term.ColorHiYellow, color.Bold).Println("👉 Execution interrupted")
res, canceled, err := term.ConfirmYesNoCancel("Did the command succeed?")
diff --git a/app/cli/lib/apply.go b/app/cli/lib/apply.go
index b90f3c91..8207f1ee 100644
--- a/app/cli/lib/apply.go
+++ b/app/cli/lib/apply.go
@@ -485,7 +485,7 @@ func execApplyScript(
os.Remove(dstPath)
fmt.Println()
- color.New(term.ColorHiYellow, color.Bold).Println("⚠️ Execution interrupted")
+ color.New(term.ColorHiYellow, color.Bold).Println("👉 Execution interrupted")
didSucceed, canceled, err := term.ConfirmYesNoCancel("Did the commands succeed?")
diff --git a/app/server/model/prompts/user_prompt.go b/app/server/model/prompts/user_prompt.go
index c4ba1583..9fb6f711 100644
--- a/app/server/model/prompts/user_prompt.go
+++ b/app/server/model/prompts/user_prompt.go
@@ -223,6 +223,8 @@ Definitions in the original file that are outside of the section that is changin
This is why it's critical for you to ALWAYS include enough immediately surrounding code to unambiguously locate ALL the new code you write. All the blocks of new code you write must hook in correctly using the hooks you supply from the original file when you include additional lines of code from the original file before and after the section that is changing.
+Even though you should include the definitions before and after the section, don't reproduce large sections of the original file. Use '... existing code ...' reference comments to 'collapse' large sections of the original file that are not changing.
+
It's not easy to be 100% consistent in writing code blocks that follow these rules, but you are capable of doing it with sufficient attention.
This disambiguation technique is the *most important* part of correctly implementing a plan.