pushary 1.9.214 → 1.9.215

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 (150) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/data/SKILL.md +3 -3
  3. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  4. package/data/cursor-plugin/CHANGELOG.md +4 -0
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +2 -2
  6. package/data/openclaw-plugin/dist/decision-reply.js +18 -0
  7. package/data/openclaw-plugin/dist/json-record.js +2 -0
  8. package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
  9. package/data/vscode-plugin/CHANGELOG.md +4 -0
  10. package/data/vscode-plugin/skills/pushary/SKILL.md +2 -2
  11. package/dist/{api-4PUPB24W.js → api-XWZBB6T3.js} +11 -11
  12. package/dist/bin/pushary-audit.js +3 -3
  13. package/dist/bin/pushary-bell-hook.js +30 -30
  14. package/dist/bin/pushary-bell.js +12 -12
  15. package/dist/bin/pushary-calls.js +15 -15
  16. package/dist/bin/pushary-claude.js +35 -35
  17. package/dist/bin/pushary-clean.js +46 -46
  18. package/dist/bin/pushary-codex-bridge.js +24 -24
  19. package/dist/bin/pushary-codex-hook.js +36 -36
  20. package/dist/bin/pushary-codex-session.js +8 -8
  21. package/dist/bin/pushary-codex.js +16 -16
  22. package/dist/bin/pushary-connect.js +36 -36
  23. package/dist/bin/pushary-cowork.js +5 -5
  24. package/dist/bin/pushary-daemon.js +70 -70
  25. package/dist/bin/pushary-disconnect.js +32 -32
  26. package/dist/bin/pushary-display-hook.js +100 -1
  27. package/dist/bin/pushary-doctor.js +77 -77
  28. package/dist/bin/pushary-elicitation-hook.js +27 -27
  29. package/dist/bin/pushary-gemini-bridge.js +19 -19
  30. package/dist/bin/pushary-gemini-hook.js +33 -33
  31. package/dist/bin/pushary-hook.js +36 -36
  32. package/dist/bin/pushary-login.js +23 -23
  33. package/dist/bin/pushary-logout.js +30 -30
  34. package/dist/bin/pushary-mcp.js +14 -14
  35. package/dist/bin/pushary-mode.js +16 -16
  36. package/dist/bin/pushary-notification-hook.js +27 -27
  37. package/dist/bin/pushary-opencode-bridge.js +26 -26
  38. package/dist/bin/pushary-opencode-hook.js +44 -44
  39. package/dist/bin/pushary-permission-denied-hook.js +36 -36
  40. package/dist/bin/pushary-permission-hook.js +36 -36
  41. package/dist/bin/pushary-post-hook.js +28 -28
  42. package/dist/bin/pushary-prompt-hook.js +27 -27
  43. package/dist/bin/pushary-session-end-hook.js +30 -30
  44. package/dist/bin/pushary-session-start-hook.js +40 -40
  45. package/dist/bin/pushary-sessions.js +14 -14
  46. package/dist/bin/pushary-setup.js +92 -92
  47. package/dist/bin/pushary-stats.js +7 -7
  48. package/dist/bin/pushary-status.js +37 -37
  49. package/dist/bin/pushary-stop-hook.js +27 -27
  50. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  51. package/dist/bin/pushary-suggestions.js +16 -16
  52. package/dist/bin/pushary-transcript-register.js +17 -17
  53. package/dist/bin/pushary-transcripts.js +27 -27
  54. package/dist/bin/pushary-upgrade.js +64 -64
  55. package/dist/bin/pushary-wait.js +16 -16
  56. package/dist/bin/pushary.js +7 -7
  57. package/dist/{chunk-GE6BQL5V.js → chunk-2KHIQPLJ.js} +3 -3
  58. package/dist/{chunk-GX7NST6J.js → chunk-2MUM3LU5.js} +1 -1
  59. package/dist/{chunk-ZMEZWQ7O.js → chunk-36CULUSD.js} +1 -1
  60. package/dist/{chunk-WAXSCVF3.js → chunk-3A3FS6PX.js} +5 -5
  61. package/dist/{chunk-OXTKCSQH.js → chunk-4CD4UBXQ.js} +1 -1
  62. package/dist/{chunk-P6BE3IE6.js → chunk-4FVTKKCF.js} +12 -12
  63. package/dist/{chunk-B7W3VGWO.js → chunk-4H3I7GRP.js} +3 -3
  64. package/dist/{chunk-CSY3KGUK.js → chunk-4KTJY32G.js} +7 -7
  65. package/dist/{chunk-V7BM5U5N.js → chunk-4L7J6BRJ.js} +2 -2
  66. package/dist/{chunk-HY2DPLMM.js → chunk-5645QNZN.js} +7 -7
  67. package/dist/{chunk-M6I2EQ7J.js → chunk-5BGBBJQG.js} +1 -1
  68. package/dist/{chunk-3RMKNFAK.js → chunk-5M6RPX7S.js} +3 -3
  69. package/dist/{chunk-MEONDMJP.js → chunk-5RDMY45N.js} +1 -1
  70. package/dist/{chunk-S33W45N6.js → chunk-AFH5KBDN.js} +1 -1
  71. package/dist/{chunk-4IASS2L5.js → chunk-AK5YSBXN.js} +1 -1
  72. package/dist/{chunk-PUNSO7UP.js → chunk-BJHNLQ6P.js} +10 -10
  73. package/dist/{chunk-FB5CFFNH.js → chunk-BJN5TOC4.js} +1 -1
  74. package/dist/{chunk-4TTCW5NU.js → chunk-BLXTU3OW.js} +4 -4
  75. package/dist/{chunk-ZKTFWYT4.js → chunk-C5Z7UG3R.js} +1 -1
  76. package/dist/{chunk-XTHQV6DP.js → chunk-DD2N34BA.js} +1 -1
  77. package/dist/{chunk-IAAARTZD.js → chunk-DS2ZCTHO.js} +3 -3
  78. package/dist/{chunk-DXGH7C47.js → chunk-FOGVWSQE.js} +2 -2
  79. package/dist/{chunk-SW3YNO4E.js → chunk-GHADQWO4.js} +1 -1
  80. package/dist/{chunk-7JG5HH7Z.js → chunk-GIFI5NK6.js} +2 -2
  81. package/dist/{chunk-IALNFQJX.js → chunk-GZZMUSE4.js} +2 -2
  82. package/dist/{chunk-KG6AOJOA.js → chunk-H4DPYO4Y.js} +4 -4
  83. package/dist/{chunk-D7IVASAJ.js → chunk-H5F4JGY4.js} +2 -2
  84. package/dist/{chunk-KMT24TVI.js → chunk-HB6IHK4C.js} +1 -1
  85. package/dist/{chunk-UCEHVBFY.js → chunk-HZUSRGMR.js} +3 -3
  86. package/dist/{chunk-ZPUSBUTT.js → chunk-IBYLEMUR.js} +4 -4
  87. package/dist/{chunk-ZSIVPFCH.js → chunk-IJ7NWEH3.js} +1 -1
  88. package/dist/{chunk-3NS3MQID.js → chunk-ILA555NU.js} +1 -1
  89. package/dist/{chunk-SQRYZMBT.js → chunk-IRD2A3U3.js} +1 -1
  90. package/dist/{chunk-MPP7EEJJ.js → chunk-J4NXKVFQ.js} +5 -5
  91. package/dist/{chunk-ACYVHNR2.js → chunk-J76JIJKV.js} +1 -1
  92. package/dist/{chunk-LD7QJLE6.js → chunk-JQRVFOGP.js} +5 -5
  93. package/dist/{chunk-OF6AUDV5.js → chunk-K2AQK4U7.js} +3 -3
  94. package/dist/{chunk-OIGBUSHM.js → chunk-KMEC7QT6.js} +5 -5
  95. package/dist/{chunk-BOAESLW5.js → chunk-KYELHNLG.js} +4 -4
  96. package/dist/{chunk-US2O2BCI.js → chunk-L3THP3F7.js} +4 -4
  97. package/dist/{chunk-L5EZLYKM.js → chunk-L4PP7PIC.js} +1 -1
  98. package/dist/{chunk-ZOT4PHSL.js → chunk-L6ULVSMG.js} +2 -2
  99. package/dist/{chunk-6PMNHW55.js → chunk-MBLV2JEW.js} +3 -3
  100. package/dist/{chunk-P2HYWAEX.js → chunk-MIGJBAAV.js} +2 -2
  101. package/dist/{chunk-FWCMADJS.js → chunk-MZRJIIJR.js} +10 -10
  102. package/dist/{chunk-R2ZVMZRM.js → chunk-NPQ3EM6V.js} +2 -2
  103. package/dist/{chunk-6CD5QFP6.js → chunk-NWQZUTYR.js} +6 -6
  104. package/dist/{chunk-A3PPXX6R.js → chunk-OIPCTKKW.js} +8 -8
  105. package/dist/{chunk-FFJKZYQA.js → chunk-P2YMJFUV.js} +4 -4
  106. package/dist/{chunk-TFN65TCT.js → chunk-PAYCSLF7.js} +6 -6
  107. package/dist/{chunk-FKREGRCQ.js → chunk-PKJSKMHN.js} +2 -2
  108. package/dist/{chunk-XATTYXWT.js → chunk-PREV3MB3.js} +3 -3
  109. package/dist/{chunk-E3XVIY5H.js → chunk-PSELB3S6.js} +5 -5
  110. package/dist/{chunk-Q2F7H5AO.js → chunk-PVUHWWOG.js} +19 -19
  111. package/dist/{chunk-DA2VDGD4.js → chunk-Q6BSCMTF.js} +3 -3
  112. package/dist/{chunk-BQTO3K5X.js → chunk-QAIZFFYW.js} +5 -5
  113. package/dist/{chunk-PIZ2VDOF.js → chunk-QV75JAWJ.js} +8 -8
  114. package/dist/{chunk-UXQADKBJ.js → chunk-R7AOWTC7.js} +5 -5
  115. package/dist/{chunk-JBP6KADX.js → chunk-RCSQUCPO.js} +2 -2
  116. package/dist/{chunk-LBN3RGJS.js → chunk-RFMCANSE.js} +4 -4
  117. package/dist/{chunk-HIYWW2EL.js → chunk-SAJIIJIQ.js} +1 -1
  118. package/dist/{chunk-YOOH4XZM.js → chunk-SAUDBECW.js} +7 -7
  119. package/dist/{chunk-VCZQZJIX.js → chunk-T6FFBHXL.js} +3 -3
  120. package/dist/{chunk-LUR57S72.js → chunk-TH76GW6V.js} +2 -2
  121. package/dist/{chunk-6UG6HV4Y.js → chunk-TMDVLDAQ.js} +13 -13
  122. package/dist/{chunk-3ZJWAE7Y.js → chunk-UG4OSDTI.js} +1 -1
  123. package/dist/{chunk-BW74KYAH.js → chunk-UQ7KNUGE.js} +4 -4
  124. package/dist/{chunk-AWDT7VQI.js → chunk-UQZSWS5N.js} +2 -2
  125. package/dist/{chunk-O5CC4CF6.js → chunk-VBYOWFFX.js} +6 -6
  126. package/dist/{chunk-QDW4H4BE.js → chunk-VDEQEOYR.js} +10 -10
  127. package/dist/{chunk-2WKMK3MA.js → chunk-VOZCKBDW.js} +1 -1
  128. package/dist/{chunk-GHMNWVIT.js → chunk-WRI7IC2H.js} +1 -1
  129. package/dist/{chunk-Q4CX35CK.js → chunk-WXSXY3KB.js} +94 -11
  130. package/dist/{chunk-T56AUJS3.js → chunk-X2S73KKK.js} +5 -5
  131. package/dist/{chunk-JZOKFZ27.js → chunk-XQ3WV2TN.js} +14 -14
  132. package/dist/{chunk-27AOD6AJ.js → chunk-Z5QAHZMW.js} +4 -4
  133. package/dist/{chunk-67DK2CIW.js → chunk-ZBU6BNSV.js} +3 -3
  134. package/dist/{chunk-MWMN5LUH.js → chunk-ZPHPLN57.js} +2 -2
  135. package/dist/{chunk-7OBWD2XH.js → chunk-ZTF4TU32.js} +1 -1
  136. package/dist/{codex-app-cards-switch-T7UULQ5T.js → codex-app-cards-switch-Q5KTCOEU.js} +11 -11
  137. package/dist/{codex-card-routing-TTRI27CG.js → codex-card-routing-LE6DRUVC.js} +2 -2
  138. package/dist/{codex-desktop-launch-W34FG52F.js → codex-desktop-launch-TSYLN5TA.js} +1 -1
  139. package/dist/{codex-session-launch-ZMWMRTP5.js → codex-session-launch-Z42Y4B5A.js} +21 -21
  140. package/dist/{config-5EIPFQTD.js → config-YCAHSHZ6.js} +3 -3
  141. package/dist/{global-upgrade-BW22HRDL.js → global-upgrade-PIZGC2OG.js} +9 -9
  142. package/dist/{identity-URZS4PNH.js → identity-FJRJQJG5.js} +4 -4
  143. package/dist/{live-capabilities-IPUVJWHV.js → live-capabilities-RDC5H7T5.js} +4 -4
  144. package/dist/{paths-M7UGQE4K.js → paths-2ZMXMHVL.js} +3 -3
  145. package/dist/reapply-VAYO3AMI.js +74 -0
  146. package/dist/src/index.js +33 -33
  147. package/dist/{upgrade-lock-GMEQWSHI.js → upgrade-lock-QBL77P6P.js} +4 -4
  148. package/dist/{usage-SHIUXLVP.js → usage-2WQFAZCW.js} +3 -3
  149. package/package.json +1 -1
  150. package/dist/reapply-423JE23N.js +0 -74
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.215
4
+
5
+ - The `pushary` skill setup installs is 0.13.6. It tells agents that the Pushary app approves a risky step, such as a recursive delete, a force-push or a deploy, from 1.0.66 after Face ID or the phone's passcode, where it said the phone offers only deny and "Handle on your machine". The lock screen, an older app and a workspace that requires the keyboard for risky steps still offer only those two. The hook and what an agent sends are unchanged.
6
+
3
7
  ## 1.9.214
4
8
 
5
9
  - More spellings of a destructive command are now recognised, so "Always allow" rules, a phone call and the phone's one-tap Approve no longer let them through as routine: `rm` with long or split flags (`rm --recursive --force`, `rm -f -r`, `rm dist -rf`), `rm` with flags from a variable (`rm $FLAGS path`), `find -delete` and `find -exec rm`, `aws s3 rm --recursive`, git's global options before a force push, `reset --hard` or `clean -f` (`git -C repo push --force`), `git branch -D`, and a push that deletes a branch (`git push origin :feature`, `--delete`, `-d`). A single-file `rm`, including `rm "$f"`, still runs as before.
package/data/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pushary
3
- version: 0.13.5
3
+ version: 0.13.6
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:
@@ -211,7 +211,7 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
211
211
 
212
212
  `timeoutMs` sets this call's wait, longer or shorter than the policy, up to 55000. Read `answered`; it is absent when you pass `wait: false`, which returns at once, normally with `status: "pending"`. When work that does not depend on the answer remains, pass `wait: false`, do that work, then poll with `wait_for_answer`.
213
213
 
214
- **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
214
+ **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the lock screen offers only deny, and the app approves it only after Face ID or the phone's passcode. Where the team requires the keyboard for risky steps, or the app is older than 1.0.66, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
215
215
 
216
216
  **Answers.** `value` is "yes" or "no" for confirm, the chosen option for select (or the user's own text when you passed `allowOther`), and the typed text for input. Read `note` too: a denial with a note carries the reason or a condition. A select or input value containing "yes" is answer data, not approval of a separate action.
217
217
 
@@ -304,7 +304,7 @@ Read-only. Shows your live agent sessions and any questions still waiting. If an
304
304
 
305
305
  | Surface | What the user can do |
306
306
  | --- | --- |
307
- | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands. Choices and text open the app. |
307
+ | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands, which the app approves after Face ID or the passcode. Choices and text open the app. |
308
308
  | Mac notch | Answer confirm, select, input and question-set questions, including keyboard controls. |
309
309
  | Slack | Answer through buttons, menus or text modals when the integration and recipient are configured. |
310
310
  | Browser | Open the decision page as a fallback; browser notifications need permission. |
@@ -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.14",
5
+ "version": "0.2.15",
6
6
  "minClientVersions": {
7
7
  "grokbot": "never",
8
8
  "sand": "never"
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.15
4
+
5
+ - `pushary` skill 0.13.6, from 0.13.5: a risky step, such as a recursive delete, a force-push or a deploy, is no longer described as deny-only on the phone. The Pushary app approves one from 1.0.66 after Face ID or the phone's passcode. The lock screen, an older app and a workspace that requires the keyboard for risky steps still offer only deny and `defer` ("Handle on your machine"). What an agent passes and how it reads `defer` are unchanged.
6
+
3
7
  ## 0.2.14
4
8
 
5
9
  - `pushary` skill 0.13.5, from 0.13.4: on a `select` question, agents pass `allowOther: true` unless their options cover every answer, so you can type your own reply instead of picking the closest option. The Other box shows on the pushary.com decision page and in the Android app from 1.0.64; the iOS app gets it with 1.0.65. Other places you answer show the options as before.
@@ -204,7 +204,7 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
204
204
 
205
205
  `timeoutMs` sets this call's wait, longer or shorter than the policy, up to 55000. Read `answered`; it is absent when you pass `wait: false`, which returns at once, normally with `status: "pending"`. When work that does not depend on the answer remains, pass `wait: false`, do that work, then poll with `wait_for_answer`.
206
206
 
207
- **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
207
+ **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the lock screen offers only deny, and the app approves it only after Face ID or the phone's passcode. Where the team requires the keyboard for risky steps, or the app is older than 1.0.66, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
208
208
 
209
209
  **Answers.** `value` is "yes" or "no" for confirm, the chosen option for select (or the user's own text when you passed `allowOther`), and the typed text for input. Read `note` too: a denial with a note carries the reason or a condition. A select or input value containing "yes" is answer data, not approval of a separate action.
210
210
 
@@ -297,7 +297,7 @@ Read-only. Shows your live agent sessions and any questions still waiting. If an
297
297
 
298
298
  | Surface | What the user can do |
299
299
  | --- | --- |
300
- | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands. Choices and text open the app. |
300
+ | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands, which the app approves after Face ID or the passcode. Choices and text open the app. |
301
301
  | Mac notch | Answer confirm, select, input and question-set questions, including keyboard controls. |
302
302
  | Slack | Answer through buttons, menus or text modals when the integration and recipient are configured. |
303
303
  | Browser | Open the decision page as a fallback; browser notifications need permission. |
@@ -1,6 +1,24 @@
1
1
  // Generated by scripts/generate-editor-redaction.mjs.
2
+ import { isRecord } from './json-record.js';
2
3
  export const APPROVE_ANSWER = 'yes';
3
4
  export const STOP_HANDOFF_ACTION = 'stop';
4
5
  export const DECISION_STOP_STATUSES = ['cancelled', 'unavailable', 'stopped', 'missing'];
5
6
  export const isDecisionStoppedReply = (reply) => reply.handoffAction === STOP_HANDOFF_ACTION || (typeof reply.status === 'string' && DECISION_STOP_STATUSES.includes(reply.status));
6
7
  export const isApprovingAnswer = (answer) => answer === APPROVE_ANSWER;
8
+ const isAbsentOrString = (value) => value === undefined || typeof value === 'string';
9
+ const isAbsentOrBoolean = (value) => value === undefined || typeof value === 'boolean';
10
+ const isAbsentOrTrue = (value) => value === undefined || value === true;
11
+ export const isAskUserReply = (value) => isRecord(value)
12
+ && typeof value.correlationId === 'string'
13
+ && typeof value.status === 'string'
14
+ && isAbsentOrString(value.handoffAction)
15
+ && isAbsentOrTrue(value.typedAnswer)
16
+ && isAbsentOrBoolean(value.answered)
17
+ && isAbsentOrString(value.value)
18
+ && isAbsentOrString(value.note)
19
+ && isAbsentOrString(value.waitEndsAt)
20
+ && isAbsentOrString(value.answerUrl)
21
+ && isAbsentOrBoolean(value.suppressed)
22
+ && isAbsentOrBoolean(value.noDevices)
23
+ && isAbsentOrBoolean(value.paused)
24
+ && isAbsentOrBoolean(value.overflow);
@@ -0,0 +1,2 @@
1
+ // Generated by scripts/generate-editor-redaction.mjs.
2
+ export const isRecord = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
@@ -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.9",
4
+ "version": "0.2.10",
5
5
  "author": {
6
6
  "name": "Pushary",
7
7
  "email": "business@pushary.com",
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.10
4
+
5
+ - `pushary` skill 0.13.6, from 0.13.5: a risky step, such as a recursive delete, a force-push or a deploy, is no longer described as deny-only on the phone. The Pushary app approves one from 1.0.66 after Face ID or the phone's passcode. The lock screen, an older app and a workspace that requires the keyboard for risky steps still offer only deny and `defer` ("Handle on your machine"). What an agent passes and how it reads `defer` are unchanged.
6
+
3
7
  ## 0.2.9
4
8
 
5
9
  - `pushary` skill 0.13.5, from 0.13.4: on a `select` question, agents pass `allowOther: true` unless their options cover every answer, so you can type your own reply instead of picking the closest option. The Other box shows on the pushary.com decision page and in the Android app from 1.0.64; the iOS app gets it with 1.0.65. Other places you answer show the options as before.
@@ -204,7 +204,7 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
204
204
 
205
205
  `timeoutMs` sets this call's wait, longer or shorter than the policy, up to 55000. Read `answered`; it is absent when you pass `wait: false`, which returns at once, normally with `status: "pending"`. When work that does not depend on the answer remains, pass `wait: false`, do that work, then poll with `wait_for_answer`.
206
206
 
207
- **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
207
+ **Approvals.** Pass `toolName`, `toolTarget` (the command head) and the full command in `actionBody` whenever the question approves a tool call, and never leave them out to make a question approvable. When the command is destructive or ships something, such as a recursive delete, a force-push, a hard reset, a dropped or truncated table, `sudo`, or any deploy, publish or release, the lock screen offers only deny, and the app approves it only after Face ID or the phone's passcode. Where the team requires the keyboard for risky steps, or the app is older than 1.0.66, the phone offers only deny and `defer` ("Handle on your machine"). `defer` on any question means the user will decide at the computer: treat it as no answer and ask in the current client.
208
208
 
209
209
  **Answers.** `value` is "yes" or "no" for confirm, the chosen option for select (or the user's own text when you passed `allowOther`), and the typed text for input. Read `note` too: a denial with a note carries the reason or a condition. A select or input value containing "yes" is answer data, not approval of a separate action.
210
210
 
@@ -297,7 +297,7 @@ Read-only. Shows your live agent sessions and any questions still waiting. If an
297
297
 
298
298
  | Surface | What the user can do |
299
299
  | --- | --- |
300
- | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands. Choices and text open the app. |
300
+ | Mobile app | Answer confirm, select and input questions. Confirm notifications offer approve and deny on the lock screen, except for risky commands, which the app approves after Face ID or the passcode. Choices and text open the app. |
301
301
  | Mac notch | Answer confirm, select, input and question-set questions, including keyboard controls. |
302
302
  | Slack | Answer through buttons, menus or text modals when the integration and recipient are configured. |
303
303
  | Browser | Open the decision page as a fallback; browser notifications need permission. |
@@ -30,25 +30,25 @@ import {
30
30
  waitRetryPauseMs,
31
31
  waitsForThePhone,
32
32
  withdrawQuestion
33
- } from "./chunk-PUNSO7UP.js";
33
+ } from "./chunk-BJHNLQ6P.js";
34
34
  import "./chunk-POFBE6ZY.js";
35
- import "./chunk-MPP7EEJJ.js";
36
- import "./chunk-ZKTFWYT4.js";
37
- import "./chunk-DA2VDGD4.js";
38
- import "./chunk-GE6BQL5V.js";
39
- import "./chunk-HIYWW2EL.js";
40
- import "./chunk-FKREGRCQ.js";
41
- import "./chunk-4TTCW5NU.js";
42
- import "./chunk-ZMEZWQ7O.js";
35
+ import "./chunk-J4NXKVFQ.js";
36
+ import "./chunk-C5Z7UG3R.js";
37
+ import "./chunk-Q6BSCMTF.js";
38
+ import "./chunk-2KHIQPLJ.js";
39
+ import "./chunk-SAJIIJIQ.js";
40
+ import "./chunk-PKJSKMHN.js";
41
+ import "./chunk-BLXTU3OW.js";
42
+ import "./chunk-36CULUSD.js";
43
43
  import "./chunk-CINBAX5G.js";
44
44
  import "./chunk-PM2NRK6Y.js";
45
- import "./chunk-2WKMK3MA.js";
45
+ import "./chunk-VOZCKBDW.js";
46
46
  import "./chunk-BG4HHB7E.js";
47
47
  import "./chunk-CXQWDQCJ.js";
48
48
  import {
49
49
  DECISION_STOP_REASON,
50
50
  UNVERIFIABLE_APPROVAL_REASON
51
- } from "./chunk-Q4CX35CK.js";
51
+ } from "./chunk-WXSXY3KB.js";
52
52
  import "./chunk-MLKGABMK.js";
53
53
  export {
54
54
  ABANDONED_WAIT,
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  exitOnHelpFlag
4
- } from "../chunk-KMT24TVI.js";
4
+ } from "../chunk-HB6IHK4C.js";
5
5
  import {
6
6
  readJsonSafe,
7
7
  writeJsonAtomic
8
8
  } from "../chunk-PM2NRK6Y.js";
9
- import "../chunk-2WKMK3MA.js";
9
+ import "../chunk-VOZCKBDW.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-Q4CX35CK.js";
25
+ } from "../chunk-WXSXY3KB.js";
26
26
  import "../chunk-MLKGABMK.js";
27
27
 
28
28
  // src/audit-verify.ts
@@ -1,45 +1,45 @@
1
1
  #!/usr/bin/env node
2
- import {
3
- handleBell
4
- } from "../chunk-7JG5HH7Z.js";
5
2
  import {
6
3
  readHookInput
7
- } from "../chunk-E3XVIY5H.js";
8
- import "../chunk-FFJKZYQA.js";
9
- import "../chunk-QDW4H4BE.js";
4
+ } from "../chunk-PSELB3S6.js";
5
+ import "../chunk-P2YMJFUV.js";
6
+ import {
7
+ handleBell
8
+ } from "../chunk-GIFI5NK6.js";
9
+ import "../chunk-VDEQEOYR.js";
10
10
  import "../chunk-WHB622LP.js";
11
- import "../chunk-BQTO3K5X.js";
12
- import "../chunk-6CD5QFP6.js";
13
- import "../chunk-27AOD6AJ.js";
14
- import "../chunk-P6BE3IE6.js";
15
- import "../chunk-L5EZLYKM.js";
16
- import "../chunk-MEONDMJP.js";
17
- import "../chunk-SW3YNO4E.js";
11
+ import "../chunk-QAIZFFYW.js";
12
+ import "../chunk-NWQZUTYR.js";
13
+ import "../chunk-Z5QAHZMW.js";
14
+ import "../chunk-4FVTKKCF.js";
15
+ import "../chunk-L4PP7PIC.js";
16
+ import "../chunk-5RDMY45N.js";
17
+ import "../chunk-GHADQWO4.js";
18
18
  import "../chunk-BZIBNSQE.js";
19
- import "../chunk-67DK2CIW.js";
20
- import "../chunk-GX7NST6J.js";
19
+ import "../chunk-ZBU6BNSV.js";
20
+ import "../chunk-2MUM3LU5.js";
21
21
  import "../chunk-P6DUWKAO.js";
22
22
  import "../chunk-3PSNUHC5.js";
23
- import "../chunk-PUNSO7UP.js";
24
- import "../chunk-3ZJWAE7Y.js";
23
+ import "../chunk-BJHNLQ6P.js";
24
+ import "../chunk-UG4OSDTI.js";
25
25
  import "../chunk-POFBE6ZY.js";
26
- import "../chunk-MPP7EEJJ.js";
27
- import "../chunk-ZKTFWYT4.js";
28
- import "../chunk-OXTKCSQH.js";
29
- import "../chunk-DA2VDGD4.js";
30
- import "../chunk-GE6BQL5V.js";
31
- import "../chunk-HIYWW2EL.js";
32
- import "../chunk-UCEHVBFY.js";
33
- import "../chunk-AWDT7VQI.js";
34
- import "../chunk-FKREGRCQ.js";
35
- import "../chunk-4TTCW5NU.js";
36
- import "../chunk-ZMEZWQ7O.js";
26
+ import "../chunk-J4NXKVFQ.js";
27
+ import "../chunk-C5Z7UG3R.js";
28
+ import "../chunk-4CD4UBXQ.js";
29
+ import "../chunk-Q6BSCMTF.js";
30
+ import "../chunk-2KHIQPLJ.js";
31
+ import "../chunk-SAJIIJIQ.js";
32
+ import "../chunk-HZUSRGMR.js";
33
+ import "../chunk-UQZSWS5N.js";
34
+ import "../chunk-PKJSKMHN.js";
35
+ import "../chunk-BLXTU3OW.js";
36
+ import "../chunk-36CULUSD.js";
37
37
  import "../chunk-CINBAX5G.js";
38
38
  import "../chunk-PM2NRK6Y.js";
39
- import "../chunk-2WKMK3MA.js";
39
+ import "../chunk-VOZCKBDW.js";
40
40
  import "../chunk-BG4HHB7E.js";
41
41
  import "../chunk-CXQWDQCJ.js";
42
- import "../chunk-Q4CX35CK.js";
42
+ import "../chunk-WXSXY3KB.js";
43
43
  import "../chunk-MLKGABMK.js";
44
44
 
45
45
  // bin/pushary-bell-hook.ts
@@ -5,42 +5,42 @@ import {
5
5
  liveAgentCount,
6
6
  ring,
7
7
  upgradeThreshold
8
- } from "../chunk-7JG5HH7Z.js";
8
+ } from "../chunk-GIFI5NK6.js";
9
9
  import {
10
10
  createIo
11
- } from "../chunk-GHMNWVIT.js";
11
+ } from "../chunk-WRI7IC2H.js";
12
12
  import {
13
13
  exitOnHelpFlag
14
- } from "../chunk-KMT24TVI.js";
14
+ } from "../chunk-HB6IHK4C.js";
15
15
  import {
16
16
  addBellHooks,
17
17
  bellInstalled,
18
18
  removeBellHooks
19
- } from "../chunk-SW3YNO4E.js";
19
+ } from "../chunk-GHADQWO4.js";
20
20
  import {
21
21
  parseFlags
22
22
  } from "../chunk-BZIBNSQE.js";
23
- import "../chunk-OXTKCSQH.js";
24
- import "../chunk-UCEHVBFY.js";
25
- import "../chunk-AWDT7VQI.js";
23
+ import "../chunk-4CD4UBXQ.js";
24
+ import "../chunk-HZUSRGMR.js";
25
+ import "../chunk-UQZSWS5N.js";
26
26
  import {
27
27
  claudeSettings
28
- } from "../chunk-FKREGRCQ.js";
29
- import "../chunk-4TTCW5NU.js";
30
- import "../chunk-ZMEZWQ7O.js";
28
+ } from "../chunk-PKJSKMHN.js";
29
+ import "../chunk-BLXTU3OW.js";
30
+ import "../chunk-36CULUSD.js";
31
31
  import "../chunk-CINBAX5G.js";
32
32
  import {
33
33
  readJsonSafe,
34
34
  writeJsonAtomic
35
35
  } from "../chunk-PM2NRK6Y.js";
36
- import "../chunk-2WKMK3MA.js";
36
+ import "../chunk-VOZCKBDW.js";
37
37
  import {
38
38
  EXIT
39
39
  } from "../chunk-BG4HHB7E.js";
40
40
  import "../chunk-CXQWDQCJ.js";
41
41
  import {
42
42
  isRecord
43
- } from "../chunk-Q4CX35CK.js";
43
+ } from "../chunk-WXSXY3KB.js";
44
44
  import "../chunk-MLKGABMK.js";
45
45
 
46
46
  // bin/pushary-bell.ts
@@ -1,31 +1,31 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  exitOnFailedResponse
4
- } from "../chunk-YOOH4XZM.js";
5
- import "../chunk-LUR57S72.js";
6
- import "../chunk-R2ZVMZRM.js";
4
+ } from "../chunk-SAUDBECW.js";
5
+ import "../chunk-TH76GW6V.js";
6
+ import "../chunk-NPQ3EM6V.js";
7
7
  import {
8
8
  createIo
9
- } from "../chunk-GHMNWVIT.js";
9
+ } from "../chunk-WRI7IC2H.js";
10
10
  import {
11
11
  exitOnHelpFlag
12
- } from "../chunk-KMT24TVI.js";
12
+ } from "../chunk-HB6IHK4C.js";
13
13
  import {
14
14
  parseFlags
15
15
  } from "../chunk-BZIBNSQE.js";
16
- import "../chunk-DA2VDGD4.js";
16
+ import "../chunk-Q6BSCMTF.js";
17
17
  import {
18
18
  pusharyFetch
19
- } from "../chunk-GE6BQL5V.js";
20
- import "../chunk-HIYWW2EL.js";
21
- import "../chunk-UCEHVBFY.js";
22
- import "../chunk-AWDT7VQI.js";
23
- import "../chunk-FKREGRCQ.js";
24
- import "../chunk-4TTCW5NU.js";
19
+ } from "../chunk-2KHIQPLJ.js";
20
+ import "../chunk-SAJIIJIQ.js";
21
+ import "../chunk-HZUSRGMR.js";
22
+ import "../chunk-UQZSWS5N.js";
23
+ import "../chunk-PKJSKMHN.js";
24
+ import "../chunk-BLXTU3OW.js";
25
25
  import {
26
26
  getApiKey,
27
27
  getBaseUrl
28
- } from "../chunk-ZMEZWQ7O.js";
28
+ } from "../chunk-36CULUSD.js";
29
29
  import {
30
30
  UsageError,
31
31
  exitCodeFor
@@ -33,7 +33,7 @@ import {
33
33
  import "../chunk-PM2NRK6Y.js";
34
34
  import {
35
35
  isInvocationOf
36
- } from "../chunk-2WKMK3MA.js";
36
+ } from "../chunk-VOZCKBDW.js";
37
37
  import {
38
38
  EXIT
39
39
  } from "../chunk-BG4HHB7E.js";
@@ -43,7 +43,7 @@ import {
43
43
  PHONE_CALL_SETUP_TEST_CALL_PARAM,
44
44
  parsePhoneCallSetupReply,
45
45
  parseTestCallReply
46
- } from "../chunk-Q4CX35CK.js";
46
+ } from "../chunk-WXSXY3KB.js";
47
47
  import "../chunk-MLKGABMK.js";
48
48
 
49
49
  // bin/pushary-calls.ts
@@ -6,29 +6,18 @@ import {
6
6
  WRAPPER_ACTIVE_ENV,
7
7
  findClaudeBinary
8
8
  } from "../chunk-A3JTWB74.js";
9
- import {
10
- CommandReceipts,
11
- controllerCommandSchema
12
- } from "../chunk-S33W45N6.js";
13
- import {
14
- SESSION_IDLE_TIMEOUT_MS,
15
- describeIdleWindow,
16
- startProcessOwnership,
17
- withSpawnProcessOwnership
18
- } from "../chunk-IALNFQJX.js";
19
- import "../chunk-TCE3J44Z.js";
20
9
  import {
21
10
  claudeTranscriptPath,
22
11
  redactDraft,
23
12
  registerTranscript,
24
13
  registeredTranscriptEnabled,
25
14
  startDraftPublisher
26
- } from "../chunk-QDW4H4BE.js";
15
+ } from "../chunk-VDEQEOYR.js";
27
16
  import "../chunk-WHB622LP.js";
28
17
  import {
29
18
  ensureDaemonRunning
30
- } from "../chunk-6CD5QFP6.js";
31
- import "../chunk-27AOD6AJ.js";
19
+ } from "../chunk-NWQZUTYR.js";
20
+ import "../chunk-Z5QAHZMW.js";
32
21
  import {
33
22
  DEFAULT_SESSION,
34
23
  PHONE_DRIVER,
@@ -47,24 +36,35 @@ import {
47
36
  removePendingCommand,
48
37
  reportEvent,
49
38
  savePendingCommand
50
- } from "../chunk-P6BE3IE6.js";
39
+ } from "../chunk-4FVTKKCF.js";
51
40
  import {
52
41
  UNNAMED_ACTION,
53
42
  deriveToolTarget,
54
43
  describeStopFailure,
55
44
  describeToolCall,
56
45
  scopePathFor
57
- } from "../chunk-L5EZLYKM.js";
58
- import "../chunk-MEONDMJP.js";
59
- import "../chunk-SW3YNO4E.js";
46
+ } from "../chunk-L4PP7PIC.js";
47
+ import "../chunk-5RDMY45N.js";
48
+ import "../chunk-GHADQWO4.js";
60
49
  import "../chunk-BZIBNSQE.js";
61
- import "../chunk-67DK2CIW.js";
50
+ import {
51
+ CommandReceipts,
52
+ controllerCommandSchema
53
+ } from "../chunk-AFH5KBDN.js";
54
+ import {
55
+ SESSION_IDLE_TIMEOUT_MS,
56
+ describeIdleWindow,
57
+ startProcessOwnership,
58
+ withSpawnProcessOwnership
59
+ } from "../chunk-GZZMUSE4.js";
60
+ import "../chunk-ZBU6BNSV.js";
62
61
  import {
63
62
  transcriptsEnabled
64
- } from "../chunk-GX7NST6J.js";
63
+ } from "../chunk-2MUM3LU5.js";
65
64
  import {
66
65
  external_exports
67
66
  } from "../chunk-P6DUWKAO.js";
67
+ import "../chunk-TCE3J44Z.js";
68
68
  import {
69
69
  needsShell,
70
70
  spawnClaude
@@ -81,43 +81,43 @@ import {
81
81
  waitRetryPauseMs,
82
82
  waitsForThePhone,
83
83
  withdrawQuestion
84
- } from "../chunk-PUNSO7UP.js";
84
+ } from "../chunk-BJHNLQ6P.js";
85
85
  import {
86
86
  RETRY_ACK,
87
87
  commandAckIsFinal,
88
88
  readCommandAck,
89
89
  refusedReceiptMessage
90
- } from "../chunk-3ZJWAE7Y.js";
90
+ } from "../chunk-UG4OSDTI.js";
91
91
  import "../chunk-POFBE6ZY.js";
92
92
  import {
93
93
  SubscriptionRequiredError
94
- } from "../chunk-MPP7EEJJ.js";
95
- import "../chunk-ZKTFWYT4.js";
94
+ } from "../chunk-J4NXKVFQ.js";
95
+ import "../chunk-C5Z7UG3R.js";
96
96
  import {
97
97
  projectNameFor,
98
98
  repoKeyFor,
99
99
  repositoryScopeFor
100
- } from "../chunk-OXTKCSQH.js";
101
- import "../chunk-DA2VDGD4.js";
102
- import "../chunk-GE6BQL5V.js";
100
+ } from "../chunk-4CD4UBXQ.js";
101
+ import "../chunk-Q6BSCMTF.js";
102
+ import "../chunk-2KHIQPLJ.js";
103
103
  import {
104
104
  getMachineId
105
- } from "../chunk-HIYWW2EL.js";
106
- import "../chunk-UCEHVBFY.js";
107
- import "../chunk-AWDT7VQI.js";
105
+ } from "../chunk-SAJIIJIQ.js";
106
+ import "../chunk-HZUSRGMR.js";
107
+ import "../chunk-UQZSWS5N.js";
108
108
  import {
109
109
  claudeConfigDir
110
- } from "../chunk-FKREGRCQ.js";
111
- import "../chunk-4TTCW5NU.js";
110
+ } from "../chunk-PKJSKMHN.js";
111
+ import "../chunk-BLXTU3OW.js";
112
112
  import {
113
113
  getApiKey,
114
114
  getBaseUrl
115
- } from "../chunk-ZMEZWQ7O.js";
115
+ } from "../chunk-36CULUSD.js";
116
116
  import "../chunk-CINBAX5G.js";
117
117
  import "../chunk-PM2NRK6Y.js";
118
118
  import {
119
119
  NPX_LATEST_COMMAND
120
- } from "../chunk-2WKMK3MA.js";
120
+ } from "../chunk-VOZCKBDW.js";
121
121
  import "../chunk-BG4HHB7E.js";
122
122
  import "../chunk-CXQWDQCJ.js";
123
123
  import {
@@ -133,7 +133,7 @@ import {
133
133
  refusesWhenUnanswered,
134
134
  resolveGate,
135
135
  timeoutActionWithoutLocalPrompt
136
- } from "../chunk-Q4CX35CK.js";
136
+ } from "../chunk-WXSXY3KB.js";
137
137
  import "../chunk-MLKGABMK.js";
138
138
 
139
139
  // src/wrapper/localPassthrough.ts