feat: support toast notifications via pruneNotificationType#340
Merged
Tarquinen merged 3 commits intoOpencode-DCP:devfrom Feb 1, 2026
Merged
feat: support toast notifications via pruneNotificationType#340Tarquinen merged 3 commits intoOpencode-DCP:devfrom
Tarquinen merged 3 commits intoOpencode-DCP:devfrom
Conversation
Collaborator
|
Hell yea this looks awesome! Sorry again about the git mess I made earlier. Let me know if you have any more cool ideas like this. Think you just need to run a format and we're good to go |
Contributor
Author
|
Forgot to run prettier before pushing this, should be good now. |
Collaborator
|
Might be a few days before dev is merged into master and released, there's a lot of other changes that i'm still testing and that are still being worked on. I'll probably push a beta version tonight though that will have this in it. Thanks for your help! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #319
This PR introduces
pruneNotificationTypeas a new configuration option, allowing users to choose betweenchatandtoastfor prune notifications.Changes
dcp.schema.json/lib/config,tspruneNotificationTypeconfig option with "chat" (default) or "toast"lib/ui/notifications.tsshowDistillation,showCompressionsummary & line length)sendUnifiedNotificationandsendCompressNotificationto display toasts when configured to do soReopened from #321. Reimplementing this from dev gave me enough headache (my own fault!) to realize I'd over-engineered this the first time around. This is a much simpler approach and provides the same functionality. Also renamed the config option to fit with the others, thought it was a little out of place as just notificationType.
Let me know what you think.
Screenshots
Detailed:

Minimal:

Truncating:
