Merge pull request 'fix(kugetsu): set GIT_EDITOR=cat for non-interactive git operations (fixes #70)' (#72) from fix/issue-70-git-editor into main

This commit was merged in pull request #72.
This commit is contained in:
2026-04-01 10:54:59 +02:00

View File

@@ -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" pm_prompt="You are a PM (Project Manager) agent. Your role is to coordinate task delegation and review PRs. $pm_context"
fi 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 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) local after_sessions=$(opencode session list 2>/dev/null | grep -oP '^ses_\w+' | sort)