Skip to content

Add one-time commands, scripts directory, and native notifications#4

Merged
vim-zz merged 4 commits intovim-zz:mainfrom
MishaKav:feature/one-time-commands
Mar 4, 2026
Merged

Add one-time commands, scripts directory, and native notifications#4
vim-zz merged 4 commits intovim-zz:mainfrom
MishaKav:feature/one-time-commands

Conversation

@MishaKav
Copy link
Contributor

@MishaKav MishaKav commented Mar 4, 2026

Summary

  • Add [commands] config section for fire-and-forget one-time commands with three output modes: silent, notify, terminal
  • Add scripts_dir / scripts_output config options to auto-discover .sh scripts from a directory
  • Replace osascript notifications with native NSUserNotificationCenter on macOS (shows app icon, supports click-to-view-history)
  • Add command execution history logging with elapsed time tracking
  • Bump version to 1.8.0

🤖 Generated with Claude Code

Screenshot Screenshot
the menu image
notification image
the scripts structure image

…ommand history

- Add [commands] config section for fire-and-forget one-time commands with three output modes: silent, notify, terminal
- Add scripts_dir config option to auto-discover .sh scripts with configurable default output mode (scripts_output)
- Add CommandRunner in core with structured NotifyEvent callback for cross-platform dispatch
- Replace osascript notifications with native NSUserNotificationCenter on macOS (shows app icon, supports click-to-view-history)
- Add command execution history logging to command_history.log with timestamps, exit codes, and full output
- Show elapsed time in notifications for long-running commands (>2s), with delayed "Running..." indicator
- Add "View Command History" menu item (shown only when commands are configured)
- Bump version to 1.8.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MishaKav
Copy link
Contributor Author

MishaKav commented Mar 4, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

MishaKav and others added 3 commits March 4, 2026 15:05
Resolve conflicts in README.md and Cargo.lock.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes CI build failure on ubuntu-latest.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vim-zz vim-zz merged commit 904d4c8 into vim-zz:main Mar 4, 2026
3 checks 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.

2 participants