pushary 1.9.230 → 1.9.232
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/CHANGELOG.md +11 -0
- package/README.md +20 -18
- package/data/SKILL.md +8 -8
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/README.md +1 -1
- package/data/cursor-plugin/skills/pushary/SKILL.md +7 -7
- package/data/openclaw-plugin/README.md +3 -3
- package/data/openclaw-plugin/dist/gate-result.js +1 -1
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +5 -0
- package/data/vscode-plugin/README.md +3 -3
- package/data/vscode-plugin/scripts/pushary-gate.mjs +2 -2
- package/data/vscode-plugin/skills/pushary/SKILL.md +7 -7
- package/dist/{api-VFQNIMMQ.js → api-OGSNXX5I.js} +12 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +31 -30
- package/dist/bin/pushary-bell.js +13 -12
- package/dist/bin/pushary-calls.js +21 -19
- package/dist/bin/pushary-claude.js +36 -35
- package/dist/bin/pushary-clean.js +47 -46
- package/dist/bin/pushary-codex-bridge.js +25 -24
- package/dist/bin/pushary-codex-hook.js +37 -36
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +17 -16
- package/dist/bin/pushary-connect.js +37 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +71 -70
- package/dist/bin/pushary-disconnect.js +33 -32
- package/dist/bin/pushary-display-hook.js +20 -3
- package/dist/bin/pushary-doctor.js +78 -77
- package/dist/bin/pushary-elicitation-hook.js +28 -27
- package/dist/bin/pushary-gemini-bridge.js +20 -19
- package/dist/bin/pushary-gemini-hook.js +34 -33
- package/dist/bin/pushary-hook.js +38 -37
- package/dist/bin/pushary-login.js +24 -23
- package/dist/bin/pushary-logout.js +31 -30
- package/dist/bin/pushary-mcp.js +15 -14
- package/dist/bin/pushary-mode.js +17 -16
- package/dist/bin/pushary-notification-hook.js +28 -27
- package/dist/bin/pushary-opencode-bridge.js +27 -26
- package/dist/bin/pushary-opencode-hook.js +45 -44
- package/dist/bin/pushary-permission-denied-hook.js +37 -36
- package/dist/bin/pushary-permission-hook.js +38 -37
- package/dist/bin/pushary-post-hook.js +29 -28
- package/dist/bin/pushary-prompt-hook.js +28 -27
- package/dist/bin/pushary-session-end-hook.js +31 -30
- package/dist/bin/pushary-session-start-hook.js +41 -40
- package/dist/bin/pushary-sessions.js +13 -12
- package/dist/bin/pushary-setup.js +96 -94
- package/dist/bin/pushary-stats.js +7 -7
- package/dist/bin/pushary-status.js +38 -37
- package/dist/bin/pushary-stop-hook.js +28 -27
- package/dist/bin/pushary-stopfailure-hook.js +28 -27
- package/dist/bin/pushary-suggestions.js +17 -16
- package/dist/bin/pushary-transcript-register.js +18 -17
- package/dist/bin/pushary-transcripts.js +28 -27
- package/dist/bin/pushary-upgrade.js +65 -64
- package/dist/bin/pushary-wait.js +17 -16
- package/dist/bin/pushary.js +8 -7
- package/dist/{chunk-AHFVMYLC.js → chunk-22N3UUS4.js} +3 -3
- package/dist/{chunk-SYBYJBIC.js → chunk-2R5HU7EL.js} +13 -13
- package/dist/{chunk-NTXYJQMD.js → chunk-2SHF7DI5.js} +5 -3
- package/dist/{chunk-BQAAS4P4.js → chunk-2UUCN62T.js} +3 -3
- package/dist/{chunk-BVLYIGHM.js → chunk-32ZIGQNS.js} +1 -1
- package/dist/{chunk-45YY6DBO.js → chunk-3DME4GIN.js} +8 -8
- package/dist/{chunk-ZPHONVJD.js → chunk-3ZDGQGBL.js} +8 -8
- package/dist/{chunk-YQMZ4VE7.js → chunk-4PWUPWPY.js} +2 -2
- package/dist/{chunk-PL2EJ55K.js → chunk-4UKOA6F5.js} +3 -3
- package/dist/{chunk-TJYUSDL5.js → chunk-546OR2Y5.js} +4 -4
- package/dist/{chunk-NNBCKQC6.js → chunk-5F2FKQQ6.js} +2 -2
- package/dist/{chunk-J3GMEUVP.js → chunk-5JB4JJF5.js} +1 -1
- package/dist/chunk-6ICPEJY5.js +20 -0
- package/dist/{chunk-2ZLMVIB5.js → chunk-A54UFNGF.js} +1 -1
- package/dist/{chunk-NPCYWBY5.js → chunk-AAP2HENZ.js} +1 -1
- package/dist/{chunk-I3MD3R2D.js → chunk-ARBMPOYR.js} +3 -3
- package/dist/{chunk-7W6GRR6B.js → chunk-AX6S5V22.js} +1 -1
- package/dist/{chunk-MJIMTNKY.js → chunk-C4PGW3PU.js} +2 -2
- package/dist/{chunk-YEBUFSBO.js → chunk-C4SPXQAE.js} +2 -2
- package/dist/{chunk-QTJWBUA4.js → chunk-CIT3XX7B.js} +12 -12
- package/dist/{chunk-5GEKKXQK.js → chunk-DOC3PQTD.js} +1 -1
- package/dist/{chunk-ASAT72UO.js → chunk-E6XGP76X.js} +1 -1
- package/dist/{chunk-B2TX7FE7.js → chunk-ETIAYTAI.js} +1 -1
- package/dist/{chunk-B7NX5VK4.js → chunk-EVGZE3TK.js} +2 -2
- package/dist/{chunk-WKSI54F2.js → chunk-FFMM7VZH.js} +3 -3
- package/dist/{chunk-E4HPZ6G5.js → chunk-FG2EF7PP.js} +12 -30
- package/dist/{chunk-X7YGD2Y6.js → chunk-FZMLD3MF.js} +9 -4
- package/dist/{chunk-TCYIDR7T.js → chunk-G6ZSGVZL.js} +3 -3
- package/dist/{chunk-VLPIMIYD.js → chunk-GA4IZMXT.js} +3 -3
- package/dist/{chunk-YRV2GA2V.js → chunk-GIF3SFYU.js} +4 -4
- package/dist/{chunk-NTMFDJKD.js → chunk-GKWFLK7K.js} +7 -7
- package/dist/{chunk-YY2EAK3H.js → chunk-HCKJEXJJ.js} +1 -1
- package/dist/{chunk-XFWZ3WAD.js → chunk-HU5IFHHG.js} +3 -3
- package/dist/{chunk-MVIQ4BNA.js → chunk-HWQFHEHX.js} +2 -2
- package/dist/{chunk-7LP4B5KW.js → chunk-J2GQIBMK.js} +14 -2
- package/dist/{chunk-UCWQPCIX.js → chunk-J4X5T5DO.js} +25 -17
- package/dist/{chunk-TYOPOA3Q.js → chunk-JGEIHCPR.js} +6 -6
- package/dist/{chunk-VKYZ4YUV.js → chunk-JGVXURHK.js} +17 -15
- package/dist/{chunk-OUTUSZGR.js → chunk-JZZ62IV5.js} +4 -4
- package/dist/{chunk-JIQIHE3T.js → chunk-KABI55PA.js} +3 -3
- package/dist/{chunk-CA6V2O4P.js → chunk-KAO2GIZQ.js} +1 -1
- package/dist/{chunk-URDLHUQI.js → chunk-KBZJUOJJ.js} +8 -8
- package/dist/{chunk-ENOOKJOY.js → chunk-KGMSC4Y4.js} +10 -10
- package/dist/{chunk-XUT7PHS4.js → chunk-KHL6NLZN.js} +2 -2
- package/dist/{chunk-JTLRN6MU.js → chunk-KJMIFUE2.js} +4 -4
- package/dist/{chunk-E5T75JWL.js → chunk-KVLYD2EE.js} +1 -1
- package/dist/{chunk-WD7Q3TT5.js → chunk-LFJOCVHG.js} +2 -2
- package/dist/{chunk-TTJA2HH2.js → chunk-LW4AG6EP.js} +6 -6
- package/dist/{chunk-5QKFTPXC.js → chunk-LYO34MJ4.js} +7 -2
- package/dist/{chunk-3CM4LQEB.js → chunk-MBYHALGD.js} +1 -1
- package/dist/{chunk-M7QDLSPI.js → chunk-MHGXV2UI.js} +1 -1
- package/dist/{chunk-KMGLYAGI.js → chunk-ML6AWSKK.js} +5 -5
- package/dist/{chunk-COODHOGD.js → chunk-O2MMXX6P.js} +5 -5
- package/dist/{chunk-5W5R5XEI.js → chunk-OC5SCORI.js} +7 -7
- package/dist/{chunk-FR5PATBB.js → chunk-PKENJCUM.js} +2 -2
- package/dist/{chunk-3MRMHSJM.js → chunk-Q473YQNT.js} +4 -4
- package/dist/{chunk-WTOOX47X.js → chunk-QHR2T5EW.js} +10 -10
- package/dist/{chunk-W2J5RMI4.js → chunk-R24OYTI5.js} +4 -4
- package/dist/{chunk-DKH755WW.js → chunk-RXLKOYN3.js} +1 -1
- package/dist/{chunk-E3YL3XXV.js → chunk-RXXHQXMO.js} +1 -1
- package/dist/{chunk-33HUKRXZ.js → chunk-SHAZ6DT6.js} +5 -3
- package/dist/{chunk-LSBIDOLC.js → chunk-SOIG3VQU.js} +5 -5
- package/dist/{chunk-XDYSADIA.js → chunk-TAW3Z5NA.js} +4 -4
- package/dist/{chunk-77UIFRGZ.js → chunk-TJYY2ZNV.js} +2 -2
- package/dist/{chunk-BHOENP7P.js → chunk-TM5LRIUB.js} +5 -5
- package/dist/{chunk-EL4TJTOU.js → chunk-UDPXFSUQ.js} +2 -2
- package/dist/{chunk-Q7L4H2A3.js → chunk-UKBHJNN4.js} +5 -5
- package/dist/{chunk-P4P6M45X.js → chunk-URMAZGQN.js} +2 -2
- package/dist/{chunk-XFFPBUYX.js → chunk-V6YWRP4V.js} +10 -8
- package/dist/{chunk-UP6UNLLL.js → chunk-W6N2MU2G.js} +1 -1
- package/dist/{chunk-363PPP66.js → chunk-W7HK5KMH.js} +1 -1
- package/dist/{chunk-MMDZKAM2.js → chunk-WHMZT7EG.js} +2 -2
- package/dist/{chunk-AT65NHK5.js → chunk-WNSBSSTB.js} +1 -1
- package/dist/{chunk-5PPXE3SI.js → chunk-WNWN4U2V.js} +1 -1
- package/dist/{chunk-CW6LDFLM.js → chunk-WNZR4KFV.js} +10 -10
- package/dist/{chunk-RPPSP7JL.js → chunk-X275KIXO.js} +5 -5
- package/dist/{chunk-HKOJCK27.js → chunk-X2BMTMY2.js} +5 -5
- package/dist/{chunk-5IFPQWQS.js → chunk-X5M3LLDZ.js} +5 -5
- package/dist/{chunk-SLY7LXA7.js → chunk-X6GHL4KM.js} +25 -20
- package/dist/{chunk-ZVTROPFZ.js → chunk-XO64RMVL.js} +4 -4
- package/dist/{chunk-NNLYSNO2.js → chunk-XT7RG6WO.js} +7 -7
- package/dist/{codex-app-cards-switch-T7BFX3RY.js → codex-app-cards-switch-MBJFUQBT.js} +12 -11
- package/dist/{codex-card-routing-IU2IEJIJ.js → codex-card-routing-LAM2ADY2.js} +2 -2
- package/dist/{codex-desktop-launch-HHMQ66PO.js → codex-desktop-launch-LB4RWOSI.js} +7 -1
- package/dist/{codex-session-launch-6552APX5.js → codex-session-launch-PRWQGIGE.js} +22 -21
- package/dist/{config-SXJJPTEN.js → config-BBTWVECF.js} +3 -3
- package/dist/{global-upgrade-YTCJ6ASA.js → global-upgrade-C6HNF5OW.js} +10 -9
- package/dist/{identity-7SBDT3ZC.js → identity-7PUBPQNU.js} +5 -4
- package/dist/{live-capabilities-7CVCKDTW.js → live-capabilities-ZAQZQQR4.js} +5 -4
- package/dist/{paths-EHAWEAVV.js → paths-ZALQKETP.js} +4 -3
- package/dist/reapply-JWQ5H3RL.js +75 -0
- package/dist/src/index.d.ts +9 -10
- package/dist/src/index.js +34 -33
- package/dist/{upgrade-lock-GKQRE565.js → upgrade-lock-UWYE4CPX.js} +5 -4
- package/dist/{usage-5NEPL3OS.js → usage-BR4DQNAS.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-VF3F42SI.js +0 -74
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.232
|
|
4
|
+
|
|
5
|
+
- Every Pushary command the CLI prints, such as setup, doctor, upgrade, pair and the retry line for one agent, is now written `npx -y pushary@latest …`, and `npx.cmd -y pushary@latest …` on Windows, so npm installs the CLI without stopping to ask "Ok to proceed? (y)". The `-y` is npm's own flag and comes before the package, so setup never reads it as its own `--yes`. `pushary --help` and the README say so.
|
|
6
|
+
- The Codex app that `pushary codex --desktop` opens, and the background process `pushary claude` starts, no longer inherit `npm_config_yes`, which npm sets for anything run with `npx -y`. An `npx` command typed later in that Codex window still asks before it installs a package. The service setup leaves running never had it, because launchd, systemd and Task Scheduler start it.
|
|
7
|
+
- The `pushary` skill setup installs is 0.13.7, the Hermes plugin is 1.0.10, the Cursor plugin is 0.2.17 and the VS Code plugin is 0.2.12. All give the `npx -y` form.
|
|
8
|
+
|
|
9
|
+
## 1.9.231
|
|
10
|
+
|
|
11
|
+
- A Grok Build patch that deletes a file now asks under "Stop me for risky steps" with permissions off even when the call also carries another patch field. Pushary read only the first patch field it found, so `apply_patch` with `command: "…"` beside a `patch` that deletes `src/old.ts` ran without a question. A delete in any of the fields now counts, here and wherever else Pushary checks whether a patch deletes a file, Codex included. Pushary for Mac gets the same fix once Pushary's servers update.
|
|
12
|
+
- A patch line with a very long run of spaces no longer slows the check. 40,000 spaces took about two seconds and now take about a millisecond. Ordinary patches name the same files as before. A few malformed header lines now read as naming a file where they named none before: a path that holds a carriage return or a Unicode line separator, or one made only of spaces or carriage returns. A deletion written that way now counts, which only makes Pushary ask more.
|
|
13
|
+
|
|
3
14
|
## 1.9.230
|
|
4
15
|
|
|
5
16
|
- Codex no longer runs a destructive step with nobody asked while you are at the keyboard under When I am out: `rm -rf`, `git reset --hard`, `git clean -fdx`, a force push, `npm publish` or a patch that deletes a file now asks your phone, and with no device to answer the call is refused. Phone 1.0.66 and later approve it behind Face ID or the passcode.
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Push notifications, questions, and permission approvals for AI agents. Get a pus
|
|
|
9
9
|
Your agent froze waiting for a yes. This is how it reaches you.
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx pushary@latest setup
|
|
12
|
+
npx -y pushary@latest setup
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
One command connects the MCP server, permission hooks, and agent instructions. Keep the computer running and take the agent’s question on your phone when you step away.
|
|
@@ -30,7 +30,7 @@ If your agent runs in front of you and you only need to know when it finishes,
|
|
|
30
30
|
you do not need any of the above and you should not pay for it:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
npx pushary@latest bell
|
|
33
|
+
npx -y pushary@latest bell
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
That is the whole thing. It makes a noise in your terminal and raises a desktop
|
|
@@ -93,7 +93,7 @@ Answer from your paired phone. The agent should repeat your choice in the origin
|
|
|
93
93
|
Run setup:
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
|
-
npx pushary@latest setup
|
|
96
|
+
npx -y pushary@latest setup
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
It shows a QR code and short link. Open either in the Pushary app, check that the
|
|
@@ -104,13 +104,13 @@ pairing.
|
|
|
104
104
|
For CI or another non-interactive install, pass an existing key explicitly:
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
npx pushary@latest setup --key pk_xxx.xxx --skip-phone
|
|
107
|
+
npx -y pushary@latest setup --key pk_xxx.xxx --skip-phone
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
Verify it worked:
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
npx pushary@latest doctor
|
|
113
|
+
npx -y pushary@latest doctor
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
Setup installs this package globally with npm, at the version you ran, because the
|
|
@@ -119,7 +119,7 @@ hooks run from that install. You never install it by hand.
|
|
|
119
119
|
## Remove it
|
|
120
120
|
|
|
121
121
|
```bash
|
|
122
|
-
npx pushary@latest clean
|
|
122
|
+
npx -y pushary@latest clean
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
It removes the hooks, the MCP entries, the stored key and the background service.
|
|
@@ -128,8 +128,8 @@ Add `--dry-run` to see what it would remove first.
|
|
|
128
128
|
## One package, two names
|
|
129
129
|
|
|
130
130
|
`pushary` and `@pushary/agent-hooks` are the same build, published at the same
|
|
131
|
-
version. Every older command keeps working: `npx @pushary/agent-hooks@latest setup`
|
|
132
|
-
does exactly what `npx pushary@latest setup` does.
|
|
131
|
+
version. Every older command keeps working: `npx -y @pushary/agent-hooks@latest setup`
|
|
132
|
+
does exactly what `npx -y pushary@latest setup` does.
|
|
133
133
|
|
|
134
134
|
`pip install pushary` is a different package: the Pushary Python SDK.
|
|
135
135
|
|
|
@@ -266,21 +266,23 @@ nothing: it configures the agents it detects and takes every default. Pass
|
|
|
266
266
|
|
|
267
267
|
```bash
|
|
268
268
|
# Everything detected on this machine, no prompts
|
|
269
|
-
npx pushary@latest setup --key-stdin --yes --skip-phone < key.txt
|
|
269
|
+
npx -y pushary@latest setup --key-stdin --yes --skip-phone < key.txt
|
|
270
270
|
|
|
271
271
|
# Named agents only
|
|
272
|
-
npx pushary@latest setup --agents claude_code,codex --yes --skip-phone
|
|
272
|
+
npx -y pushary@latest setup --agents claude_code,codex --yes --skip-phone
|
|
273
273
|
|
|
274
274
|
# Store the key and configure nothing
|
|
275
|
-
npx pushary@latest setup --agents none --yes
|
|
275
|
+
npx -y pushary@latest setup --agents none --yes
|
|
276
276
|
|
|
277
277
|
# Show what would be written, change nothing
|
|
278
|
-
npx pushary@latest setup --agents auto --dry-run
|
|
278
|
+
npx -y pushary@latest setup --agents auto --dry-run
|
|
279
279
|
|
|
280
280
|
# One machine-readable object on stdout; every human line goes to stderr
|
|
281
|
-
npx pushary@latest setup --agents auto --yes --json
|
|
281
|
+
npx -y pushary@latest setup --agents auto --yes --json
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
+
The `-y` before `pushary@latest` is npm's own flag: it only skips npm's install question ("Ok to proceed?"), and the Pushary command never sees it.
|
|
285
|
+
|
|
284
286
|
Prefer `--key-stdin` over `--key` in CI: `--key` puts the secret in argv, where
|
|
285
287
|
any other user on the box can read it out of `ps`.
|
|
286
288
|
|
|
@@ -291,9 +293,9 @@ that failed), `130` cancelled with Ctrl-C.
|
|
|
291
293
|
Examples:
|
|
292
294
|
|
|
293
295
|
```bash
|
|
294
|
-
npx pushary@latest mode push_only --for 30m
|
|
295
|
-
npx pushary@latest wait 45
|
|
296
|
-
npx pushary@latest clean
|
|
296
|
+
npx -y pushary@latest mode push_only --for 30m
|
|
297
|
+
npx -y pushary@latest wait 45
|
|
298
|
+
npx -y pushary@latest clean
|
|
297
299
|
```
|
|
298
300
|
|
|
299
301
|
## Updates
|
|
@@ -314,7 +316,7 @@ entry and permission rules, and the server entry of the other agents are written
|
|
|
314
316
|
Pushary markers that do not form exactly one block is left as it is and named.
|
|
315
317
|
|
|
316
318
|
- It stays within the same major version. A new major shows in `pushary doctor`, and
|
|
317
|
-
you move to it with `npx pushary@latest upgrade`.
|
|
319
|
+
you move to it with `npx -y pushary@latest upgrade`.
|
|
318
320
|
- It only updates a global npm install. A copy run through `npx`, a plugin, or the Mac
|
|
319
321
|
app updates by its own route.
|
|
320
322
|
- It never uses `sudo`. If npm cannot write to the global folder, the attempt is
|
|
@@ -371,7 +373,7 @@ MIT
|
|
|
371
373
|
|
|
372
374
|
## Claude Desktop and Cowork
|
|
373
375
|
|
|
374
|
-
Run `pushary cowork` (or `npx pushary@latest cowork`) for connector setup. `pushary setup --agents cowork` opens the same setup path without storing a CLI key or writing hooks. Add the OAuth URL in Claude and sign in with the account used by your Pushary phone/Mac app.
|
|
376
|
+
Run `pushary cowork` (or `npx -y pushary@latest cowork`) for connector setup. `pushary setup --agents cowork` opens the same setup path without storing a CLI key or writing hooks. Add the OAuth URL in Claude and sign in with the account used by your Pushary phone/Mac app.
|
|
375
377
|
|
|
376
378
|
Use `pushary cowork --instructions` for standing instructions or `pushary cowork --skill > SKILL.md` to export the bundled skill for upload. `--json` reports `manual_setup_required`; printing a link does not prove a connection. Ask a test question in Claude, answer it in Pushary, and verify Claude receives it.
|
|
377
379
|
|
package/data/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pushary
|
|
3
|
-
version: 0.13.
|
|
3
|
+
version: 0.13.7
|
|
4
4
|
description: Push notifications and human-in-the-loop for AI agents. Use it whenever a running agent needs a person who may not be at the terminal, such as before an irreversible or destructive action, spending money, deploying, force-pushing or deleting, when blocked on a decision outside your authority, on a genuine ambiguity while unattended, when another skill says to confirm with the user, and when a long task finishes or fails with nobody watching. Also use it when the user says keep going and ping me on my phone if you need anything, call me if you get stuck, notify me when my agent needs me, approve from my phone, ask me while I am away, run this overnight, I am stepping away, or do not wait for me. Ask yes/no, choice or free-text questions on their phone and send updates. Use these tools proactively. Works with Claude Code, Codex, Cursor, VS Code, Gemini CLI, Windsurf, Hermes, Lovable or any MCP client. Pushary is a hosted, paid service; web and native store checkout have different price and trial terms.
|
|
5
5
|
metadata:
|
|
6
6
|
hermes:
|
|
@@ -128,7 +128,7 @@ The stored-key test says a key is stored **and is not empty**. A logout removes
|
|
|
128
128
|
|
|
129
129
|
Pushary is installed. Offer no new install. Check it before reporting success.
|
|
130
130
|
|
|
131
|
-
When Node and npm are available, run `npx pushary@latest status --json`. The exit code is the answer:
|
|
131
|
+
When Node and npm are available, run `npx -y pushary@latest status --json`. The exit code is the answer:
|
|
132
132
|
|
|
133
133
|
| Code | Meaning |
|
|
134
134
|
| --- | --- |
|
|
@@ -141,17 +141,17 @@ When Node and npm are available, run `npx pushary@latest status --json`. The exi
|
|
|
141
141
|
| 6 | Nothing proves a question reaches this user: no phone of theirs is paired, or only a teammate's devices are. |
|
|
142
142
|
| 8 | Pushary could not be reached. Check again later; do not run setup. |
|
|
143
143
|
|
|
144
|
-
For any code but 0 or 8, run `npx pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
144
|
+
For any code but 0 or 8, run `npx -y pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
145
145
|
|
|
146
|
-
- Run a printed `pushary …` command as `npx pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
146
|
+
- Run a printed `pushary …` command as `npx -y pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
147
147
|
- **`mac-app` printed and the code is 3:** have the user sign in to the Pushary Mac app, then check again.
|
|
148
148
|
- **Status says the key was signed out on this Mac:** have the user sign in again to the Pushary Mac app, open Settings > Agents and press Repair on every agent that offers it (if none does yet, have them close Settings, wait a minute and open it again), then run setup as in "Running setup yourself". It reuses the key the app wrote into the agents' settings; if the first one it finds does not work, it pairs instead. If status then shows the old key `from $PUSHARY_API_KEY`, have the user restart this agent from a new terminal.
|
|
149
149
|
- **The Key line says `from $PUSHARY_API_KEY`, the code is 2 or 4, and status does not say signed out on this Mac:** this shell exports a bad key, and it wins over any key setup saves. Run setup at most once. If status still fails or shows `Key drift`, have the user delete every `export PUSHARY_API_KEY` line that still sets the old key from their shell startup files, such as ~/.zshrc, ~/.zprofile, ~/.bashrc and ~/.bash_profile, including any setup said it could not update, then restart this agent from a new terminal.
|
|
150
|
-
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
150
|
+
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx -y pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
151
151
|
|
|
152
152
|
For `mac-app` without Node or npm, or with a Node version the CLI refuses, open the Pushary Mac app. Check the account, the plan and the Agents connection there, and connect or repair agents in the app. Do not install Node to inspect a native setup, and do not claim an exit code when no CLI ran.
|
|
153
153
|
|
|
154
|
-
To add an agent to a working install, run `npx pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
154
|
+
To add an agent to a working install, run `npx -y pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
155
155
|
|
|
156
156
|
### Branch 2. `Darwin`, no key, no `mac-app`
|
|
157
157
|
|
|
@@ -168,7 +168,7 @@ Or download it from https://pushary.com/download. It needs macOS 14 or later. It
|
|
|
168
168
|
There is no Mac app for these machines. Use the command line:
|
|
169
169
|
|
|
170
170
|
```bash
|
|
171
|
-
npx pushary@latest setup --agents <id>
|
|
171
|
+
npx -y pushary@latest setup --agents <id>
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
In PowerShell, type `npx.cmd` instead of `npx`. Node 20.17+, 22.13+ or 23.5+ is required. The phone app is at https://apps.apple.com/us/app/pushary/id6785677563 (iOS) and https://play.google.com/store/apps/details?id=com.pushary.app (Android).
|
|
@@ -186,7 +186,7 @@ Never ask the user for an API key, and never send them to a signup page first. I
|
|
|
186
186
|
|
|
187
187
|
Manual MCP configuration also works, but it needs a key from https://pushary.com/sign-up?utm_source=skill&utm_medium=setup. Prefer setup.
|
|
188
188
|
|
|
189
|
-
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
189
|
+
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx -y pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
190
190
|
|
|
191
191
|
## Pricing and Free Alternatives
|
|
192
192
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "pushary",
|
|
3
3
|
"displayName": "Pushary — Control Panel for AI Agents",
|
|
4
4
|
"description": "Push notifications, human-in-the-loop questions, and permission gating for your AI coding agent. Get a push when a task finishes, answer the agent from your phone, and approve risky commands before they run.",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.17",
|
|
6
6
|
"minClientVersions": {
|
|
7
7
|
"grokbot": "never",
|
|
8
8
|
"sand": "never"
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.17
|
|
4
|
+
|
|
5
|
+
- `pushary` skill 0.13.7, from 0.13.6: every Pushary command it gives is written `npx -y pushary@latest …`, and `npx.cmd -y pushary@latest …` in PowerShell, so npm installs the CLI without stopping to ask "Ok to proceed? (y)".
|
|
6
|
+
|
|
3
7
|
## 0.2.16
|
|
4
8
|
|
|
5
9
|
- The gate no longer sends a `PUSHARY_API_KEY` that is not a Pushary key. A Pushary key is `pk_`, letters and digits, a dot, and more letters and digits. Any other value is ignored, as if `PUSHARY_API_KEY` were not set: the gate uses the key `pushary setup` wrote into the plugin's `mcp.json`, and with no key there it answers as it does when Pushary is not configured ("Pushary is not configured: ...") and makes no request, for approvals and for the session events it reports. A valid `PUSHARY_API_KEY` still wins over the key in `mcp.json`.
|
|
@@ -121,7 +121,7 @@ The stored-key test says a key is stored **and is not empty**. A logout removes
|
|
|
121
121
|
|
|
122
122
|
Pushary is installed. Offer no new install. Check it before reporting success.
|
|
123
123
|
|
|
124
|
-
When Node and npm are available, run `npx pushary@latest status --json`. The exit code is the answer:
|
|
124
|
+
When Node and npm are available, run `npx -y pushary@latest status --json`. The exit code is the answer:
|
|
125
125
|
|
|
126
126
|
| Code | Meaning |
|
|
127
127
|
| --- | --- |
|
|
@@ -134,17 +134,17 @@ When Node and npm are available, run `npx pushary@latest status --json`. The exi
|
|
|
134
134
|
| 6 | Nothing proves a question reaches this user: no phone of theirs is paired, or only a teammate's devices are. |
|
|
135
135
|
| 8 | Pushary could not be reached. Check again later; do not run setup. |
|
|
136
136
|
|
|
137
|
-
For any code but 0 or 8, run `npx pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
137
|
+
For any code but 0 or 8, run `npx -y pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
138
138
|
|
|
139
|
-
- Run a printed `pushary …` command as `npx pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
139
|
+
- Run a printed `pushary …` command as `npx -y pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
140
140
|
- **`mac-app` printed and the code is 3:** have the user sign in to the Pushary Mac app, then check again.
|
|
141
141
|
- **Status says the key was signed out on this Mac:** have the user sign in again to the Pushary Mac app, open Settings > Agents and press Repair on every agent that offers it (if none does yet, have them close Settings, wait a minute and open it again), then run setup as in "Running setup yourself". It reuses the key the app wrote into the agents' settings; if the first one it finds does not work, it pairs instead. If status then shows the old key `from $PUSHARY_API_KEY`, have the user restart this agent from a new terminal.
|
|
142
142
|
- **The Key line says `from $PUSHARY_API_KEY`, the code is 2 or 4, and status does not say signed out on this Mac:** this shell exports a bad key, and it wins over any key setup saves. Run setup at most once. If status still fails or shows `Key drift`, have the user delete every `export PUSHARY_API_KEY` line that still sets the old key from their shell startup files, such as ~/.zshrc, ~/.zprofile, ~/.bashrc and ~/.bash_profile, including any setup said it could not update, then restart this agent from a new terminal.
|
|
143
|
-
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
143
|
+
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx -y pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
144
144
|
|
|
145
145
|
For `mac-app` without Node or npm, or with a Node version the CLI refuses, open the Pushary Mac app. Check the account, the plan and the Agents connection there, and connect or repair agents in the app. Do not install Node to inspect a native setup, and do not claim an exit code when no CLI ran.
|
|
146
146
|
|
|
147
|
-
To add an agent to a working install, run `npx pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
147
|
+
To add an agent to a working install, run `npx -y pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
148
148
|
|
|
149
149
|
### Branch 2. `Darwin`, no key, no `mac-app`
|
|
150
150
|
|
|
@@ -161,7 +161,7 @@ Or download it from https://pushary.com/download. It needs macOS 14 or later. It
|
|
|
161
161
|
There is no Mac app for these machines. Use the command line:
|
|
162
162
|
|
|
163
163
|
```bash
|
|
164
|
-
npx pushary@latest setup --agents <id>
|
|
164
|
+
npx -y pushary@latest setup --agents <id>
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
In PowerShell, type `npx.cmd` instead of `npx`. Node 20.17+, 22.13+ or 23.5+ is required. The phone app is at https://apps.apple.com/us/app/pushary/id6785677563 (iOS) and https://play.google.com/store/apps/details?id=com.pushary.app (Android).
|
|
@@ -179,7 +179,7 @@ Never ask the user for an API key, and never send them to a signup page first. I
|
|
|
179
179
|
|
|
180
180
|
Manual MCP configuration also works, but it needs a key from https://pushary.com/sign-up?utm_source=skill&utm_medium=setup. Prefer setup.
|
|
181
181
|
|
|
182
|
-
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
182
|
+
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx -y pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
183
183
|
|
|
184
184
|
## Pricing and Free Alternatives
|
|
185
185
|
|
|
@@ -11,7 +11,7 @@ It is built for an OpenClaw that runs for you alone, often always on, on a small
|
|
|
11
11
|
Run the Pushary CLI on the machine that runs OpenClaw, as the user the gateway runs as:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npx pushary@latest setup --agents openclaw
|
|
14
|
+
npx -y pushary@latest setup --agents openclaw
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Setup signs you in, saves your key in `~/.pushary/config.json`, writes this plugin to `~/.pushary/openclaw-plugin`, and runs:
|
|
@@ -21,7 +21,7 @@ openclaw plugins install ~/.pushary/openclaw-plugin --force --accept-capabilitie
|
|
|
21
21
|
openclaw plugins enable pushary --accept-capabilities
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
The CLI carries the plugin itself, so `npx pushary@latest upgrade`, or running setup again, installs the newer copy. A running gateway picks up the plugin when the install finishes; a stopped one loads it at its next start. Check it with:
|
|
24
|
+
The CLI carries the plugin itself, so `npx -y pushary@latest upgrade`, or running setup again, installs the newer copy. A running gateway picks up the plugin when the install finishes; a stopped one loads it at its next start. Check it with:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
openclaw plugins inspect pushary --runtime --json
|
|
@@ -126,7 +126,7 @@ With no key, every gated call is blocked and the reason says how to fix it.
|
|
|
126
126
|
## Removing it
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
npx pushary@latest clean
|
|
129
|
+
npx -y pushary@latest clean
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
Clean uninstalls the plugin and puts back the `plugins.entries.pushary` settings you had before setup. Without the plugin, OpenClaw's own exec approvals still apply, and nothing reaches your phone.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ACTION_BODY_MAX, APPROVAL_DESCRIPTION_MAX, APPROVAL_TITLE_MAX, characterCount, truncated } from './approval-question.js';
|
|
2
2
|
import { API_KEY_VARIABLE, BASE_URL_VARIABLE } from './connection.js';
|
|
3
3
|
import { MIN_HOST_VERSION } from './host-version.js';
|
|
4
|
-
export const SETUP_COMMAND = 'npx pushary@latest setup --agents openclaw';
|
|
4
|
+
export const SETUP_COMMAND = 'npx -y pushary@latest setup --agents openclaw';
|
|
5
5
|
export const DEVICES_URL = 'https://pushary.com/dashboard/agent/settings';
|
|
6
6
|
export const HAND_BACK_DECISIONS = ['allow-once', 'deny'];
|
|
7
7
|
const SECONDS_PER_MINUTE = 60;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
3
|
"description": "Push notifications, human-in-the-loop questions, and permission gating for your AI agent. Get a push when a task finishes, answer the agent from your phone, and approve risky commands before they run.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.12",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Pushary",
|
|
7
7
|
"email": "business@pushary.com",
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.12
|
|
4
|
+
|
|
5
|
+
- `pushary` skill 0.13.7, from 0.13.6: every Pushary command it gives is written `npx -y pushary@latest …`, and `npx.cmd -y pushary@latest …` in PowerShell, so npm installs the CLI without stopping to ask "Ok to proceed? (y)".
|
|
6
|
+
- With no Pushary key, the gate tells you to run `npx -y pushary@latest setup`.
|
|
7
|
+
|
|
3
8
|
## 0.2.11
|
|
4
9
|
|
|
5
10
|
- The gate no longer sends a `PUSHARY_API_KEY`, or a key in `~/.pushary/config.json`, that is not a Pushary key. A Pushary key is `pk_`, letters and digits, a dot, and more letters and digits. Any other value is ignored, as if it were not there: the gate reads the next place it looks for a key, the plugin's `.mcp.json` and then `~/.pushary/config.json`. With no Pushary key in any of them it treats Pushary as not configured, as before: reads still run, other gated tools go to VS Code's own confirmation, and it makes no request. A valid `PUSHARY_API_KEY` still wins.
|
|
@@ -35,13 +35,13 @@ There are three things.
|
|
|
35
35
|
This installs the plugin, registers it with VS Code, and links your API key. It also sets up Claude Code, Codex, Cursor, and Hermes if you use them.
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npx pushary@latest setup
|
|
38
|
+
npx -y pushary@latest setup
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
To configure only VS Code:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
npx pushary@latest setup --agents vscode
|
|
44
|
+
npx -y pushary@latest setup --agents vscode
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### Option 2: Install from source
|
|
@@ -108,7 +108,7 @@ This repository uses the `.claude-plugin/plugin.json` layout, which VS Code, Git
|
|
|
108
108
|
|
|
109
109
|
The layout is portable; this plugin is not meant to be. `hooks/hooks.json` uses VS Code's flat hook form, and the gate speaks VS Code's tool names, so treat this as a VS Code plugin that happens to sit in a portable folder shape.
|
|
110
110
|
|
|
111
|
-
Claude Code users are served by `npx pushary@latest setup --agents claude_code`, which installs a hook built for Claude Code's own tool names and matcher format. Do not install this directory as a Claude Code plugin as well: at best it duplicates the MCP server, and the two installs would fight over the same approvals.
|
|
111
|
+
Claude Code users are served by `npx -y pushary@latest setup --agents claude_code`, which installs a hook built for Claude Code's own tool names and matcher format. Do not install this directory as a Claude Code plugin as well: at best it duplicates the MCP server, and the two installs would fight over the same approvals.
|
|
112
112
|
|
|
113
113
|
## Development
|
|
114
114
|
|
|
@@ -769,9 +769,9 @@ const main = async () => {
|
|
|
769
769
|
|
|
770
770
|
const apiKey = resolveApiKey()
|
|
771
771
|
if (!apiKey) {
|
|
772
|
-
diag('no API key found (PUSHARY_API_KEY, the plugin .mcp.json, or ~/.pushary/config.json). Run: npx pushary@latest setup')
|
|
772
|
+
diag('no API key found (PUSHARY_API_KEY, the plugin .mcp.json, or ~/.pushary/config.json). Run: npx -y pushary@latest setup')
|
|
773
773
|
return respond(
|
|
774
|
-
unresolved(input.tool_name, 'Pushary is not configured: run `npx pushary@latest setup` (get a key at https://pushary.com) to route this approval to your phone.')
|
|
774
|
+
unresolved(input.tool_name, 'Pushary is not configured: run `npx -y pushary@latest setup` (get a key at https://pushary.com) to route this approval to your phone.')
|
|
775
775
|
)
|
|
776
776
|
}
|
|
777
777
|
|
|
@@ -121,7 +121,7 @@ The stored-key test says a key is stored **and is not empty**. A logout removes
|
|
|
121
121
|
|
|
122
122
|
Pushary is installed. Offer no new install. Check it before reporting success.
|
|
123
123
|
|
|
124
|
-
When Node and npm are available, run `npx pushary@latest status --json`. The exit code is the answer:
|
|
124
|
+
When Node and npm are available, run `npx -y pushary@latest status --json`. The exit code is the answer:
|
|
125
125
|
|
|
126
126
|
| Code | Meaning |
|
|
127
127
|
| --- | --- |
|
|
@@ -134,17 +134,17 @@ When Node and npm are available, run `npx pushary@latest status --json`. The exi
|
|
|
134
134
|
| 6 | Nothing proves a question reaches this user: no phone of theirs is paired, or only a teammate's devices are. |
|
|
135
135
|
| 8 | Pushary could not be reached. Check again later; do not run setup. |
|
|
136
136
|
|
|
137
|
-
For any code but 0 or 8, run `npx pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
137
|
+
For any code but 0 or 8, run `npx -y pushary@latest status` without `--json` and follow the steps it prints, with these changes:
|
|
138
138
|
|
|
139
|
-
- Run a printed `pushary …` command as `npx pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
139
|
+
- Run a printed `pushary …` command as `npx -y pushary@latest …`, and a printed setup as in "Running setup yourself". Where it says to get or copy a key, run setup instead. Never ask the user for one.
|
|
140
140
|
- **`mac-app` printed and the code is 3:** have the user sign in to the Pushary Mac app, then check again.
|
|
141
141
|
- **Status says the key was signed out on this Mac:** have the user sign in again to the Pushary Mac app, open Settings > Agents and press Repair on every agent that offers it (if none does yet, have them close Settings, wait a minute and open it again), then run setup as in "Running setup yourself". It reuses the key the app wrote into the agents' settings; if the first one it finds does not work, it pairs instead. If status then shows the old key `from $PUSHARY_API_KEY`, have the user restart this agent from a new terminal.
|
|
142
142
|
- **The Key line says `from $PUSHARY_API_KEY`, the code is 2 or 4, and status does not say signed out on this Mac:** this shell exports a bad key, and it wins over any key setup saves. Run setup at most once. If status still fails or shows `Key drift`, have the user delete every `export PUSHARY_API_KEY` line that still sets the old key from their shell startup files, such as ~/.zshrc, ~/.zprofile, ~/.bashrc and ~/.bash_profile, including any setup said it could not update, then restart this agent from a new terminal.
|
|
143
|
-
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
143
|
+
- **Code 6, instead of the steps status prints:** have them install the Pushary app from https://pushary.com/download, sign in to the account this machine uses and allow notifications, then check again. A user who does not use a phone always gets 6: say so and stop. If it still says 6, offer to pair the phone: in the Pushary Mac app under Settings > Phone > Pair when `mac-app` printed, otherwise with `npx -y pushary@latest pair`, which keeps this machine's key. Run it like setup: in the background with its output going to a log, kept running until it exits, showing the user the link, the QR and the fingerprint as they print. It waits up to 15 minutes for the phone, and a foreground command that times out cancels the pairing code.
|
|
144
144
|
|
|
145
145
|
For `mac-app` without Node or npm, or with a Node version the CLI refuses, open the Pushary Mac app. Check the account, the plan and the Agents connection there, and connect or repair agents in the app. Do not install Node to inspect a native setup, and do not claim an exit code when no CLI ran.
|
|
146
146
|
|
|
147
|
-
To add an agent to a working install, run `npx pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
147
|
+
To add an agent to a working install, run `npx -y pushary@latest setup --agents <id>`; it reuses the key and does not pair again. When status reported `connectedThroughMacApp: true`, connect the agent in the Pushary Mac app instead, except Cline. Setup keeps hooks the Mac app owns; pass `--take-over-hooks` only when the user wants the command line to own them.
|
|
148
148
|
|
|
149
149
|
### Branch 2. `Darwin`, no key, no `mac-app`
|
|
150
150
|
|
|
@@ -161,7 +161,7 @@ Or download it from https://pushary.com/download. It needs macOS 14 or later. It
|
|
|
161
161
|
There is no Mac app for these machines. Use the command line:
|
|
162
162
|
|
|
163
163
|
```bash
|
|
164
|
-
npx pushary@latest setup --agents <id>
|
|
164
|
+
npx -y pushary@latest setup --agents <id>
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
In PowerShell, type `npx.cmd` instead of `npx`. Node 20.17+, 22.13+ or 23.5+ is required. The phone app is at https://apps.apple.com/us/app/pushary/id6785677563 (iOS) and https://play.google.com/store/apps/details?id=com.pushary.app (Android).
|
|
@@ -179,7 +179,7 @@ Never ask the user for an API key, and never send them to a signup page first. I
|
|
|
179
179
|
|
|
180
180
|
Manual MCP configuration also works, but it needs a key from https://pushary.com/sign-up?utm_source=skill&utm_medium=setup. Prefer setup.
|
|
181
181
|
|
|
182
|
-
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
182
|
+
Setup itself sends only a test notification, because it cannot tell whether the user is there to answer. Right after it finishes, while the user still has their phone in hand, test a question and answer: for a CLI setup, run `npx -y pushary@latest doctor --roundtrip`. It needs a CLI key, sends a test push and one question, and waits about a minute for the answer. Its exit code also covers unrelated checks, so read the Synthetic answer test line. A returned answer proves the question path, not hook enforcement. Restart the agent and follow its approval check at https://pushary.com/docs/agents/supported-agents. For a Mac app setup, use the app's connection tests and ask one harmless question from the current agent.
|
|
183
183
|
|
|
184
184
|
## Pricing and Free Alternatives
|
|
185
185
|
|
|
@@ -30,25 +30,26 @@ import {
|
|
|
30
30
|
waitRetryPauseMs,
|
|
31
31
|
waitsForThePhone,
|
|
32
32
|
withdrawQuestion
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WNZR4KFV.js";
|
|
34
34
|
import "./chunk-POFBE6ZY.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-X5M3LLDZ.js";
|
|
36
|
+
import "./chunk-A54UFNGF.js";
|
|
37
|
+
import "./chunk-4UKOA6F5.js";
|
|
38
|
+
import "./chunk-KABI55PA.js";
|
|
39
|
+
import "./chunk-32ZIGQNS.js";
|
|
40
|
+
import "./chunk-SHAZ6DT6.js";
|
|
41
|
+
import "./chunk-6ICPEJY5.js";
|
|
42
|
+
import "./chunk-FG2EF7PP.js";
|
|
43
|
+
import "./chunk-TJYY2ZNV.js";
|
|
43
44
|
import "./chunk-CINBAX5G.js";
|
|
44
45
|
import "./chunk-PM2NRK6Y.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-LYO34MJ4.js";
|
|
46
47
|
import "./chunk-BG4HHB7E.js";
|
|
47
48
|
import "./chunk-CXQWDQCJ.js";
|
|
48
49
|
import {
|
|
49
50
|
DECISION_STOP_REASON,
|
|
50
51
|
UNVERIFIABLE_APPROVAL_REASON
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-J2GQIBMK.js";
|
|
52
53
|
import "./chunk-MLKGABMK.js";
|
|
53
54
|
export {
|
|
54
55
|
ABANDONED_WAIT,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MHGXV2UI.js";
|
|
5
5
|
import {
|
|
6
6
|
readJsonSafe,
|
|
7
7
|
writeJsonAtomic
|
|
8
8
|
} from "../chunk-PM2NRK6Y.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-LYO34MJ4.js";
|
|
10
10
|
import {
|
|
11
11
|
EXIT
|
|
12
12
|
} from "../chunk-BG4HHB7E.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
parseAuditChainExport,
|
|
23
23
|
parseAuditKnownHead,
|
|
24
24
|
verifyAuditChainSite
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-J2GQIBMK.js";
|
|
26
26
|
import "../chunk-MLKGABMK.js";
|
|
27
27
|
|
|
28
28
|
// src/audit-verify.ts
|
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
readHookInput
|
|
4
|
-
} from "../chunk-LSBIDOLC.js";
|
|
5
|
-
import "../chunk-XDYSADIA.js";
|
|
6
2
|
import {
|
|
7
3
|
handleBell
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import
|
|
4
|
+
} from "../chunk-WHMZT7EG.js";
|
|
5
|
+
import {
|
|
6
|
+
readHookInput
|
|
7
|
+
} from "../chunk-SOIG3VQU.js";
|
|
8
|
+
import "../chunk-TAW3Z5NA.js";
|
|
9
|
+
import "../chunk-QHR2T5EW.js";
|
|
10
10
|
import "../chunk-WHB622LP.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-TM5LRIUB.js";
|
|
12
|
+
import "../chunk-V6YWRP4V.js";
|
|
13
|
+
import "../chunk-JZZ62IV5.js";
|
|
14
|
+
import "../chunk-CIT3XX7B.js";
|
|
15
|
+
import "../chunk-J4X5T5DO.js";
|
|
16
|
+
import "../chunk-AAP2HENZ.js";
|
|
17
|
+
import "../chunk-DOC3PQTD.js";
|
|
18
18
|
import "../chunk-BZIBNSQE.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-FFMM7VZH.js";
|
|
20
|
+
import "../chunk-W6N2MU2G.js";
|
|
21
21
|
import "../chunk-P6DUWKAO.js";
|
|
22
22
|
import "../chunk-3PSNUHC5.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-WNZR4KFV.js";
|
|
24
|
+
import "../chunk-ETIAYTAI.js";
|
|
25
25
|
import "../chunk-POFBE6ZY.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-X5M3LLDZ.js";
|
|
27
|
+
import "../chunk-A54UFNGF.js";
|
|
28
|
+
import "../chunk-KVLYD2EE.js";
|
|
29
|
+
import "../chunk-4UKOA6F5.js";
|
|
30
|
+
import "../chunk-KABI55PA.js";
|
|
31
|
+
import "../chunk-32ZIGQNS.js";
|
|
32
|
+
import "../chunk-HU5IFHHG.js";
|
|
33
|
+
import "../chunk-C4SPXQAE.js";
|
|
34
|
+
import "../chunk-SHAZ6DT6.js";
|
|
35
|
+
import "../chunk-6ICPEJY5.js";
|
|
36
|
+
import "../chunk-FG2EF7PP.js";
|
|
37
|
+
import "../chunk-TJYY2ZNV.js";
|
|
37
38
|
import "../chunk-CINBAX5G.js";
|
|
38
39
|
import "../chunk-PM2NRK6Y.js";
|
|
39
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-LYO34MJ4.js";
|
|
40
41
|
import "../chunk-BG4HHB7E.js";
|
|
41
42
|
import "../chunk-CXQWDQCJ.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-J2GQIBMK.js";
|
|
43
44
|
import "../chunk-MLKGABMK.js";
|
|
44
45
|
|
|
45
46
|
// bin/pushary-bell-hook.ts
|