@pushary/agent-hooks 0.79.0 → 0.80.1

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +52 -0
  3. package/data/SKILL.md +66 -115
  4. package/data/cursor-plugin/skills/pushary/SKILL.md +65 -114
  5. package/data/vscode-plugin/skills/pushary/SKILL.md +65 -114
  6. package/dist/bin/pushary-bell-hook.d.ts +1 -0
  7. package/dist/bin/pushary-bell-hook.js +22 -0
  8. package/dist/bin/pushary-bell.d.ts +1 -0
  9. package/dist/bin/pushary-bell.js +203 -0
  10. package/dist/bin/pushary-claude.js +8 -7
  11. package/dist/bin/pushary-clean.js +14 -14
  12. package/dist/bin/pushary-codex-hook.js +8 -7
  13. package/dist/bin/pushary-codex.js +3 -2
  14. package/dist/bin/pushary-connect.js +15 -14
  15. package/dist/bin/pushary-daemon.js +5 -5
  16. package/dist/bin/pushary-doctor.js +34 -64
  17. package/dist/bin/pushary-gemini-hook.js +8 -7
  18. package/dist/bin/pushary-hook.js +11 -10
  19. package/dist/bin/pushary-login.js +15 -14
  20. package/dist/bin/pushary-logout.js +12 -11
  21. package/dist/bin/pushary-mode.js +7 -7
  22. package/dist/bin/pushary-notification-hook.js +3 -2
  23. package/dist/bin/pushary-permission-denied-hook.js +7 -6
  24. package/dist/bin/pushary-permission-hook.js +7 -6
  25. package/dist/bin/pushary-post-hook.js +3 -2
  26. package/dist/bin/pushary-prompt-hook.js +3 -2
  27. package/dist/bin/pushary-session-end-hook.js +3 -2
  28. package/dist/bin/pushary-session-start-hook.js +3 -2
  29. package/dist/bin/pushary-setup.js +131 -41
  30. package/dist/bin/pushary-stats.js +6 -6
  31. package/dist/bin/pushary-status.js +17 -16
  32. package/dist/bin/pushary-stop-hook.js +3 -2
  33. package/dist/bin/pushary-stopfailure-hook.js +3 -2
  34. package/dist/bin/pushary-suggestions.js +4 -4
  35. package/dist/bin/pushary-upgrade.js +10 -10
  36. package/dist/bin/pushary-wait.js +9 -9
  37. package/dist/bin/pushary.js +6 -5
  38. package/dist/{chunk-PXE6HXRP.js → chunk-7DYFAM32.js} +1 -1
  39. package/dist/{chunk-QVOJF23R.js → chunk-A5DAEWBZ.js} +2 -2
  40. package/dist/{chunk-MGFZXUUR.js → chunk-BOMF4C2Q.js} +114 -14
  41. package/dist/chunk-DNFYUBRP.js +231 -0
  42. package/dist/{chunk-MDPSJR45.js → chunk-DUYM5SHH.js} +10 -1
  43. package/dist/{chunk-NHKWU7MN.js → chunk-E6I3DBJW.js} +8 -1
  44. package/dist/{chunk-NH7RW736.js → chunk-EBP4YG75.js} +1 -1
  45. package/dist/{chunk-NQTRA7H5.js → chunk-GQLB2GBJ.js} +3 -3
  46. package/dist/{chunk-HAP7UTZS.js → chunk-MHA2WB7S.js} +1 -1
  47. package/dist/chunk-PPD3HHNJ.js +44 -0
  48. package/dist/{chunk-TNG3EWFN.js → chunk-Q4QULGAV.js} +1 -1
  49. package/dist/{chunk-FCB6J5YC.js → chunk-R6AYBATA.js} +1 -1
  50. package/dist/{chunk-BBK3TTU2.js → chunk-RRZZ7TFJ.js} +1 -1
  51. package/dist/{chunk-KJFKEKTC.js → chunk-T6BNEQ2A.js} +23 -0
  52. package/dist/{chunk-VDHV6KAS.js → chunk-U2PZKYZM.js} +1 -1
  53. package/dist/{chunk-5Q64QDCR.js → chunk-UBUPETEQ.js} +2 -2
  54. package/dist/{chunk-IXZMT6IS.js → chunk-ULITFWLG.js} +8 -8
  55. package/dist/{chunk-EQJZS2LE.js → chunk-WYVKPLVT.js} +1 -1
  56. package/dist/{chunk-7OYGFJYZ.js → chunk-ZUKH2NPJ.js} +18 -0
  57. package/dist/src/index.js +7 -6
  58. package/package.json +4 -2
@@ -43,6 +43,15 @@ var COMMAND_LIST = [
43
43
  module: "pushary-connect",
44
44
  summary: "Connect a phone without re-running setup (--app for the Pushary app)"
45
45
  },
46
+ {
47
+ name: "bell",
48
+ module: "pushary-bell",
49
+ summary: "Free local bell when an agent finishes or needs you. No account, no key, no network",
50
+ detail: [
51
+ "A different, smaller product: it makes a noise on this machine and nothing else.",
52
+ "It cannot tell you which of several agents is asking, and it cannot reach your phone."
53
+ ]
54
+ },
46
55
  { name: "doctor", module: "pushary-doctor", summary: "Verify your Pushary installation is working" },
47
56
  { name: "clean", module: "pushary-clean", summary: "Remove all Pushary configuration (--yes for non-interactive)" },
48
57
  { name: "mode", module: "pushary-mode", summary: "Switch approval mode (push_only, push_first, terminal_only)" },
@@ -95,6 +104,12 @@ var COMMAND_OPTIONS = {
95
104
  ["--bundle", "Write a redacted diagnostics file you can attach to a support thread"]
96
105
  ],
97
106
  suggestions: [["accept <id>", "Turn a mined suggestion into an always-allow rule"]],
107
+ bell: [
108
+ ["(no flags)", "Turn the bell on for Claude Code"],
109
+ ["--test", "Ring once, now, so you can hear what it does"],
110
+ ["--status", "Say whether the bell is on and how many agents are running"],
111
+ ["--off", "Remove it. Touches nothing else"]
112
+ ],
98
113
  claude: [
99
114
  ["--remote", "Start headless and drive it entirely from your phone"],
100
115
  ["-p <prompt>", "Initial prompt"]
@@ -110,6 +125,9 @@ var SETUP_OPTIONS = [
110
125
  ["--connect web", "Legacy browser subscribe page"],
111
126
  ["--connect none", "Skip the phone connect step, same as --skip-phone"],
112
127
  ["--skip-phone", "Skip the phone connect step"],
128
+ ["--verify roundtrip", "Send a real question and wait for you to answer it (default when a human is present)"],
129
+ ["--verify push", "Only prove a notification was delivered. Automatic when nobody is at the terminal"],
130
+ ["--verify none", "Skip the final check entirely"],
113
131
  ["--dry-run", "Print what would be written and change nothing"],
114
132
  ["--json", "Emit one machine-readable object instead of the human report"]
115
133
  ];
package/dist/src/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  handlePreToolUse
3
- } from "../chunk-IXZMT6IS.js";
4
- import "../chunk-FCB6J5YC.js";
5
- import "../chunk-QVOJF23R.js";
3
+ } from "../chunk-ULITFWLG.js";
4
+ import "../chunk-R6AYBATA.js";
5
+ import "../chunk-MHA2WB7S.js";
6
+ import "../chunk-A5DAEWBZ.js";
6
7
  import {
7
8
  askUser,
8
9
  cancelQuestion,
@@ -15,12 +16,12 @@ import {
15
16
  reportEvent,
16
17
  resolvePolicy,
17
18
  waitForAnswer
18
- } from "../chunk-MDPSJR45.js";
19
- import "../chunk-HAP7UTZS.js";
19
+ } from "../chunk-DUYM5SHH.js";
20
20
  import "../chunk-BSZYIAZL.js";
21
21
  import "../chunk-SAF6HGAA.js";
22
+ import "../chunk-PPD3HHNJ.js";
22
23
  import "../chunk-7QLSKOSU.js";
23
- import "../chunk-KJFKEKTC.js";
24
+ import "../chunk-T6BNEQ2A.js";
24
25
  import "../chunk-RN3NOEJF.js";
25
26
  import {
26
27
  getApiKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/agent-hooks",
3
- "version": "0.79.0",
3
+ "version": "0.80.1",
4
4
  "description": "Permission hooks for AI coding agents: route tool approvals through Pushary push notifications",
5
5
  "keywords": [
6
6
  "pushary",
@@ -64,7 +64,9 @@
64
64
  "pushary-wait": "./dist/bin/pushary-wait.js",
65
65
  "pushary-stats": "./dist/bin/pushary-stats.js",
66
66
  "pushary-suggestions": "./dist/bin/pushary-suggestions.js",
67
- "pushary-upgrade": "./dist/bin/pushary-upgrade.js"
67
+ "pushary-upgrade": "./dist/bin/pushary-upgrade.js",
68
+ "pushary-bell": "./dist/bin/pushary-bell.js",
69
+ "pushary-bell-hook": "./dist/bin/pushary-bell-hook.js"
68
70
  },
69
71
  "files": [
70
72
  "dist",