Skip to content

Fix: OpenCode post-commit hook uses console.error instead of console.log#178

Merged
notactuallytreyanastasio merged 1 commit intomainfrom
fix-stdout-to-stderr-opencode
Mar 2, 2026
Merged

Fix: OpenCode post-commit hook uses console.error instead of console.log#178
notactuallytreyanastasio merged 1 commit intomainfrom
fix-stdout-to-stderr-opencode

Conversation

@notactuallytreyanastasio
Copy link
Copy Markdown
Owner

Summary

  • Fix OpenCode post-commit reminder plugin using console.log (stdout) instead of console.error (stderr)
  • OpenCode TUI captures stdout, causing the deciduous reminder banner to render inline in the display panel
  • The pre-edit hook was already fixed in v0.13.7; this catches the post-commit hook that was missed

Files changed

  • src/opencode.rs - embedded template (affects future deciduous init/deciduous update)
  • .opencode/plugin/post-commit-reminder.ts - already-installed plugin in this repo

🤖 Generated with Claude Code

@notactuallytreyanastasio notactuallytreyanastasio merged commit 6698439 into main Mar 2, 2026
1 check passed
@notactuallytreyanastasio notactuallytreyanastasio deleted the fix-stdout-to-stderr-opencode branch March 2, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant