fix(kugetsu): set GIT_EDITOR=cat for non-interactive git operations (fixes #70) #72
@@ -734,6 +734,10 @@ cmd_init() {
|
||||
pm_prompt="You are a PM (Project Manager) agent. Your role is to coordinate task delegation and review PRs. $pm_context"
|
||||
fi
|
||||
|
||||
# Set GIT_EDITOR to cat for non-interactive git operations (rebase, etc.)
|
||||
export GIT_EDITOR=cat
|
||||
export EDITOR=cat
|
||||
|
||||
opencode run "$pm_prompt" --fork --session "$new_session_id" 2>&1 || true
|
||||
|
||||
local after_sessions=$(opencode session list 2>/dev/null | grep -oP '^ses_\w+' | sort)
|
||||
|
||||
Reference in New Issue
Block a user