File tree Expand file tree Collapse file tree 7 files changed +1
-71
lines changed Expand file tree Collapse file tree 7 files changed +1
-71
lines changed Original file line number Diff line number Diff line change 8
8
// ───────────────
9
9
// >
10
10
// ───────────────
11
- // Used by Goose, and Aider.
11
+ // Used by Claude Code, Goose, and Aider.
12
12
func findGreaterThanMessageBox (lines []string ) int {
13
13
for i := len (lines ) - 1 ; i >= max (len (lines )- 6 , 0 ); i -- {
14
14
if strings .Contains (lines [i ], ">" ) {
Original file line number Diff line number Diff line change 1
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
2
-
3
- To get started, describe a task or try one of these commands:
4
-
5
- /init - create an AGENTS.md file with instructions for Codex
6
- /status - show current session configuration and token usage
7
- /diff - show git diff (including untracked files)
8
- /prompts - show example prompts
9
-
10
- user
11
- Which file has this snippet
12
- func formatCodexMessage(message string, userInput string) string {
13
- message = RemoveUserInput(message, userInput)
14
- message = removeCodexInputBox(message)
15
- message = trimEmptyLines(message)
16
- return message
17
- }
18
-
19
1
⚡ Ran command grep -R formatCodexMessage -n .
20
2
⎿ ./lib/msgfmt/testdata/format/codex/multi-line-input/user.txt:3:func formatCodexMessage(message string, userInput string) string {}
21
3
./lib/msgfmt/testdata/format/codex/multi-line-input/msg.txt:2:│$ bash -lc 'rg -n "func formatCodexMessage"' │
Original file line number Diff line number Diff line change 1
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
2
-
3
- To get started, describe a task or try one of these commands:
4
-
5
- /init - create an AGENTS.md file with instructions for Codex
6
- /status - show current session configuration and token usage
7
- /diff - show git diff (including untracked files)
8
- /prompts - show example prompts
9
-
10
1
user
11
2
Which file has this snippet
12
3
func formatCodexMessage(message string, userInput string) string {
Original file line number Diff line number Diff line change 1
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
2
-
3
- To get started, describe a task or try one of these commands:
4
-
5
- /init - create an AGENTS.md file with instructions for Codex
6
- /status - show current session configuration and token usage
7
- /diff - show git diff (including untracked files)
8
- /prompts - show example prompts
9
-
10
- user
11
- How many untracked files are there?
12
-
13
1
⚡ Ran command git status --porcelain
14
2
⎿ M cmd/server/server.go
15
3
M lib/msgfmt/message_box.go
Original file line number Diff line number Diff line change 1
-
2
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
3
-
4
- To get started, describe a task or try one of these commands:
5
-
6
- /init - create an AGENTS.md file with instructions for Codex
7
- /status - show current session configuration and token usage
8
- /diff - show git diff (including untracked files)
9
- /prompts - show example prompts
10
-
11
1
user
12
2
How many untracked files are there?
13
3
Original file line number Diff line number Diff line change 1
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
2
-
3
- To get started, describe a task or try one of these commands:
4
-
5
- /init - create an AGENTS.md file with instructions for Codex
6
- /status - show current session configuration and token usage
7
- /diff - show git diff (including untracked files)
8
- /prompts - show example prompts
9
-
10
- user
11
- Think for a very long time and tell me all about Theory of Relativity.
12
-
13
1
▌ • Working (3s • Ctrl C to interrupt)
Original file line number Diff line number Diff line change 1
- >_ You are using OpenAI Codex in ~/Documents/work/agentapi
2
-
3
- To get started, describe a task or try one of these commands:
4
-
5
- /init - create an AGENTS.md file with instructions for Codex
6
- /status - show current session configuration and token usage
7
- /diff - show git diff (including untracked files)
8
- /prompts - show example prompts
9
-
10
1
user
11
2
Think for a very long time and tell me all about Theory of Relativity.
12
3
You can’t perform that action at this time.
0 commit comments