|
| 1 | + |
| 2 | + |
| 3 | + Getting started with Auggie by Augment Code |
| 4 | + 1. You can ask questions, edit files, or run commands |
| 5 | + 2. Your workspace is automatically indexed for best results |
| 6 | + 3. Commands will run automatically |
| 7 | + |
| 8 | + |
| 9 | + 💡 For automation, use 'auggie --print "your task"' |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── |
| 15 | + › Which file has this snippet |
| 16 | + func formatCodexMessage(message string, userInput string) string { |
| 17 | + message = RemoveUserInput(message, userInput, AgentTypeCodex) |
| 18 | + message = removeCodexInputBox(message) |
| 19 | + message = trimEmptyLines(message) |
| 20 | + return message |
| 21 | + } |
| 22 | + » I'll search for the file containing that specific function snippet. |
| 23 | + » Codebase search - context engine |
| 24 | + ⎿ Find the file that contains the function "formatCodexMessage" with the exact signature "func formatCodexMessage(message string, userInput string) string" and implementation that calls RemoveUserInput, |
| 25 | + removeCodexInputBox, and trimEmptyLines |
| 26 | + ⎿ Found 12 files |
| 27 | + lib/msgfmt/testdata/format/codex/multi-line-input/user.txt |
| 28 | + lib/msgfmt/testdata/format/codex/multi-line-input/msg.txt |
| 29 | + lib/msgfmt/msgfmt.go |
| 30 | + lib/msgfmt/testdata/format/auggie/multi-line-input/user.txt |
| 31 | + lib/msgfmt/testdata/format/cursor/multi-line-input/user.txt |
| 32 | + lib/msgfmt/message_box.go |
| 33 | + lib/msgfmt/testdata/format/cursor/multi-line-input/msg.txt |
| 34 | + lib/msgfmt/testdata/format/auggie/multi-line-input/msg.txt |
| 35 | + lib/msgfmt/testdata/format/codex/multi-line-input/expected.txt |
| 36 | + lib/msgfmt/testdata/format/cursor/multi-line-input/expected.txt |
| 37 | + +2 more lines |
| 38 | + |
| 39 | + » The function formatCodexMessage is located in the file `lib/msgfmt/msgfmt.go` at lines 247-252. |
| 40 | + » |
| 41 | + lib/msgfmt/msgfmt.go (EXCERPT) |
| 42 | + func formatCodexMessage(message string, userInput string) string { |
| 43 | + » message = RemoveUserInput(message, userInput, AgentTypeCodex) |
| 44 | + message = removeCodexInputBox(message) |
| 45 | + message = trimEmptyLines(message) |
| 46 | + return message |
| 47 | + } |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ |
| 53 | +│ › Try 'how do I log an error?' or type / for commands │ |
| 54 | +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ |
| 55 | + Type / for commands • ↑↓ for history • Esc/Ctrl+C to interrupt ~/Documents/work/agentapi |
0 commit comments