mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
wip
This commit is contained in:
@@ -11,3 +11,6 @@ When you run, **output exactly** the desired commit message (with no extra comme
|
||||
- Concisely summarize the work performed as described in the task’s **Implementation** section.
|
||||
|
||||
Stop immediately after emitting the commit message. An external orchestrator will stage, run hooks, and commit using this message.
|
||||
|
||||
Below, you will get the task description the agent got. But still verify that the agent actually did what it was supposed to, and adjust the commit message according to what is actually implemented, DO NOT just copy what's in the task file.
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ set -euo pipefail
|
||||
agent_mode=false
|
||||
tmux_mode=false
|
||||
interactive_mode=false
|
||||
shell_mode=false
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
-a|--agent)
|
||||
@@ -34,6 +35,12 @@ while [[ $# -gt 0 ]]; do
|
||||
agent_mode=true
|
||||
shift
|
||||
;;
|
||||
-s|--shell)
|
||||
# Launch agent in an interactive shell (no prompt injection, no auto-commit)
|
||||
shell_mode=true
|
||||
agent_mode=true
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user