You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update agent to automatically use cross-platform commit helper
- Modified system prompts to instruct agent to use commit-helper.js
- Updated git utilities to call commit helper as primary method
- Resolves automatic heredoc issue handling for agent commits
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
- Uses temporary files to avoid shell escaping issues
289
+
290
+
For simple commits with just Codebuff attribution:
295
291
\`\`\`
296
-
git commit -m "Your commit message here.
297
-
298
-
🤖 Generated with Codebuff
299
-
Co-Authored-By: Codebuff <noreply@codebuff.com>"
292
+
node scripts/commit-helper.js "Your commit message here 🤖 Generated with Codebuff"
300
293
\`\`\`
301
294
302
-
Always detect the platform and use the appropriate syntax. HEREDOC syntax (\`<<'EOF'\`) only works in bash/Unix shells and will fail on Windows Command Prompt.
295
+
**NEVER use heredoc syntax** (\`<<'EOF'\`) or direct \`git commit -m\` with complex messages as they fail on Windows Command Prompt.
0 commit comments