Skip to content

fix: sync and honor OpenCode category config#498

Merged
garysheng merged 1 commit intoPeonPing:mainfrom
pandego:fix/458-opencode-category-sync
Apr 28, 2026
Merged

fix: sync and honor OpenCode category config#498
garysheng merged 1 commit intoPeonPing:mainfrom
pandego:fix/458-opencode-category-sync

Conversation

@pandego
Copy link
Copy Markdown
Contributor

@pandego pandego commented Apr 27, 2026

Fixes #458

Summary

  • sync categories from the canonical peon config into the OpenCode adapter config
  • map annoyed_threshold and annoyed_window_seconds onto OpenCode's spam_* settings during adapter sync
  • when events come from OpenCode, let peon.sh honor the OpenCode config overrides for categories and spam settings

Validation

  • bash -n peon.sh
  • focused manual reproduction using tests/setup.bash to verify adapter sync updates categories and spam_* while preserving adapter-only keys
  • focused manual reproduction using tests/setup.bash to verify source=opencode honors OpenCode category disables at runtime

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 27, 2026

@pandego is attempting to deploy a commit to the Gary Sheng's projects Team on Vercel.

A member of the Team first needs to authorize it.

@garysheng garysheng merged commit 4ef8575 into PeonPing:main Apr 28, 2026
2 of 3 checks passed
garysheng added a commit that referenced this pull request Apr 28, 2026
Notable changes:
- Added: terminal_tab_title flag to opt out of tab title overrides (#497, closes #406)
- Added: notification_title_ide flag for IDE-aware notification titles (#495)
- Added: idle_prompt repeat dedupe via suppress_idle_prompt_repeats / idle_prompt_suppress_window_seconds (#493, closes #486)
- Changed: exclude_dirs now fully silences sounds and notifications when cwd matches (#494)
- Fixed: Windows msys2/git-bash silent failure due to ~32 KB CreateProcess argv overflow (#492, closes #488)
- Fixed: OpenCode adapter category and spam-setting sync now actually flows through to runtime gating (#498, closes #458)
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.

[OpenCode] suppressing some categories do not work.

2 participants