@workscribe/cli 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workscribe/cli",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Passive developer work journal — automatic terminal activity summaries",
5
5
  "type": "commonjs",
6
6
  "bin": {
package/shell/hook.bash CHANGED
@@ -26,6 +26,9 @@ _workscribe_precmd() {
26
26
  _workscribe_last_cmd=""
27
27
  _workscribe_git_before=""
28
28
  fi
29
+ if [[ -f "$HOME/.workscribe/alerts.pending" ]]; then
30
+ command workscribe alerts --check
31
+ fi
29
32
  }
30
33
 
31
34
  trap '_workscribe_preexec' DEBUG
package/shell/hook.fish CHANGED
@@ -30,5 +30,8 @@ function _workscribe_postexec --on-event fish_postexec
30
30
  set -e _workscribe_cmd
31
31
  set -e _workscribe_git_before
32
32
  end
33
+ if test -f "$HOME/.workscribe/alerts.pending"
34
+ command workscribe alerts --check
35
+ end
33
36
  end
34
37
  # workscribe:hook:end
package/shell/hook.zsh CHANGED
@@ -23,6 +23,9 @@ _workscribe_precmd() {
23
23
  _workscribe_cmd=""
24
24
  _workscribe_git_before=""
25
25
  fi
26
+ if [[ -f "$HOME/.workscribe/alerts.pending" ]]; then
27
+ command workscribe alerts --check
28
+ fi
26
29
  }
27
30
 
28
31
  autoload -Uz add-zsh-hook