mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
tasks: use tmux windows (tabs) instead of splits for multi-task mode
This commit is contained in:
@@ -58,11 +58,10 @@ if [ "$tmux_mode" = true ]; then
|
||||
first="${task_inputs[0]}"
|
||||
pane_cmd="$cmd${agent_mode:+ -a} $first"
|
||||
tmux new-session -d -s "$session" "$pane_cmd"
|
||||
# Split for remaining tasks
|
||||
# Open each additional task in its own tmux window
|
||||
for task in "${task_inputs[@]:1}"; do
|
||||
tmux split-window -v "$cmd${agent_mode:+ -a} $task"
|
||||
tmux new-window -t "$session" "$cmd${agent_mode:+ -a} $task"
|
||||
done
|
||||
tmux select-layout tiled
|
||||
tmux attach -t "$session"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# review-unmerged-task-branches.sh
|
||||
#
|
||||
# Launch a Codex agent to review all task branches not yet merged and facilitate merging completed tasks.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
codex "Your task is to review all branches matching 'agentydragon/[0-9][0-9]-*' that are not merged into the 'agentydragon' branch.\
|
||||
For each branch: determine its slug and run 'create-task-worktree.sh --agent <slug>' in agentydragon/tasks/. Work in the generated worktree.\
|
||||
Review the task's Markdown and any code changes to ensure the task is complete, documented, and Status/Implementation sections are accurate.\
|
||||
After reviewing each branch, ask me if I should merge it into 'agentydragon'; if I approve, perform the merge and clean up the worktree and branch.\
|
||||
At the end, present a summary of any branches still needing further work."
|
||||
Reference in New Issue
Block a user