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 88// ───────────────
99// >
1010// ───────────────
11- // Used by Goose, and Aider.
11+ // Used by Claude Code, Goose, and Aider.
1212func findGreaterThanMessageBox (lines []string ) int {
1313 for i := len (lines ) - 1 ; i >= max (len (lines )- 6 , 0 ); i -- {
1414 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-
191⚡ Ran command grep -R formatCodexMessage -n .
202 ⎿ ./lib/msgfmt/testdata/format/codex/multi-line-input/user.txt:3:func formatCodexMessage(message string, userInput string) string {}
213 ./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-
101user
112Which file has this snippet
123func 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-
131⚡ Ran command git status --porcelain
142 ⎿ M cmd/server/server.go
153 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-
111user
122How many untracked files are there?
133
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-
131▌ • 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-
101user
112Think for a very long time and tell me all about Theory of Relativity.
123
You can’t perform that action at this time.
0 commit comments