Skip to content

refactor: use terminal-native notifications - #53

Merged
Elliot-32 merged 41 commits into
masterfrom
refactor/terminal-native-notifications
Sep 15, 2026
Merged

Elliot-32 merged 41 commits into
masterfrom
refactor/terminal-native-notifications

Conversation

@Elliot-32

@Elliot-32 Elliot-32 commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the old WSL PowerShell toast path with Windows Terminal OSC 777 notifications
  • keep Ghostty on its native OSC 133 command-finish notifications
  • add Herdr terminal-delivery config
  • remove the Oh My Zsh bgnotify dependency and use a minimal Zsh preexec/precmd hook for Windows Terminal
  • simplify notification titles to Command finished · <duration> / Command failed · <duration>

Validation

  • Windows Terminal OSC 777 fragment is installed by the existing bootstrap
  • terminal notification tests cover success, failure, duration formatting, threshold behavior, and non-WT terminals
  • CI installs Zsh and runs the hk/static checks

Copy link
Copy Markdown
Owner Author

@codex review

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c4d0d4b562

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc52db2e3f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread home/.config/sheldon/plugins/terminal-notify.plugin.zsh

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 911840762b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread home/.config/sheldon/plugins/terminal-notify.plugin.zsh

Copy link
Copy Markdown
Owner Author

@codex review

Please review the latest head with the intended scope in mind: tmux notification passthrough is intentionally unsupported. When TMUX is set, the Windows Terminal command-completion notifier should install no hooks rather than attempting OSC 777 passthrough.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38db4a34cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated

Copy link
Copy Markdown
Owner Author

@codex review

Please review the latest head. The intended notification scope is Ghostty, Windows Terminal, and Herdr only. tmux command-completion notification passthrough is intentionally unsupported and is now explicitly documented in the README.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c017dca6cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread config/hk.pkl

Copy link
Copy Markdown
Owner Author

@codex review

Please review the latest head. The previous false-green hk issue is fixed: the terminal-notify check now uses set -e, so each notification assertion is gating. Intended notification scope remains Ghostty, Windows Terminal, and Herdr only; tmux passthrough is intentionally unsupported and documented.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 028e1c050c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Elliot-32
Elliot-32 merged commit b2b3d1e into master Sep 15, 2026
1 check passed
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