pushary 1.9.187 → 1.9.192

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 (154) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  3. package/data/cursor-plugin/CHANGELOG.md +4 -0
  4. package/data/cursor-plugin/scripts/pushary-gate.mjs +34 -6
  5. package/data/openclaw-plugin/README.md +2 -2
  6. package/data/openclaw-plugin/dist/protected-writes.js +3 -2
  7. package/data/openclaw-plugin/package.json +1 -1
  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/scripts/pushary-gate.mjs +34 -6
  11. package/dist/{api-6U7B4OY7.js → api-XPS2NPJH.js} +11 -11
  12. package/dist/bin/pushary-audit.js +3 -3
  13. package/dist/bin/pushary-bell-hook.js +28 -28
  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 +27 -27
  17. package/dist/bin/pushary-clean.js +39 -39
  18. package/dist/bin/pushary-codex-bridge.js +23 -23
  19. package/dist/bin/pushary-codex-hook.js +50 -50
  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 +35 -35
  23. package/dist/bin/pushary-cowork.js +5 -5
  24. package/dist/bin/pushary-daemon.js +46 -46
  25. package/dist/bin/pushary-disconnect.js +30 -30
  26. package/dist/bin/pushary-display-hook.js +8 -0
  27. package/dist/bin/pushary-doctor.js +75 -53
  28. package/dist/bin/pushary-elicitation-hook.js +28 -28
  29. package/dist/bin/pushary-gemini-bridge.js +18 -18
  30. package/dist/bin/pushary-gemini-hook.js +32 -32
  31. package/dist/bin/pushary-hook.js +36 -36
  32. package/dist/bin/pushary-login.js +22 -22
  33. package/dist/bin/pushary-logout.js +30 -30
  34. package/dist/bin/pushary-mcp.js +12 -12
  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 +61 -24
  38. package/dist/bin/pushary-opencode-hook.js +45 -40
  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 +27 -27
  44. package/dist/bin/pushary-session-start-hook.js +39 -39
  45. package/dist/bin/pushary-sessions.js +14 -14
  46. package/dist/bin/pushary-setup.js +55 -55
  47. package/dist/bin/pushary-stats.js +5 -5
  48. package/dist/bin/pushary-status.js +36 -36
  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 +25 -25
  54. package/dist/bin/pushary-upgrade.js +44 -44
  55. package/dist/bin/pushary-wait.js +16 -16
  56. package/dist/bin/pushary.js +7 -7
  57. package/dist/{chunk-5O4MW5YS.js → chunk-23WKGMTI.js} +4 -2
  58. package/dist/{chunk-BWOQACK7.js → chunk-2HOKEC2I.js} +2 -2
  59. package/dist/{chunk-L7BHOFTF.js → chunk-3APYAOZF.js} +3 -3
  60. package/dist/{chunk-3JNBZF4G.js → chunk-3ULFLONL.js} +1 -1
  61. package/dist/{chunk-5X7XEJTI.js → chunk-4FVKGWWZ.js} +2 -2
  62. package/dist/{chunk-NNHD7KVL.js → chunk-4TIZJD3Q.js} +5 -5
  63. package/dist/{chunk-OLU5L3VB.js → chunk-5IPXL33D.js} +1 -1
  64. package/dist/{chunk-RYBTDSQF.js → chunk-5QP7DVQF.js} +1 -1
  65. package/dist/{chunk-QNOXMVIX.js → chunk-5WC6N3HA.js} +5 -5
  66. package/dist/{chunk-ZL3UDLTC.js → chunk-5WT6DLL2.js} +5 -5
  67. package/dist/{chunk-4OSTVMM5.js → chunk-6C7DT36Z.js} +18 -18
  68. package/dist/{chunk-WA5RGLKV.js → chunk-6CJSVFAD.js} +2 -2
  69. package/dist/{chunk-PS4AKK26.js → chunk-6EZY7IXB.js} +1 -1
  70. package/dist/{chunk-AKAZRQLA.js → chunk-6TNKY3DC.js} +2 -2
  71. package/dist/{chunk-6ZSOD7VY.js → chunk-7K5AYNDY.js} +5 -5
  72. package/dist/chunk-7QUPTDT2.js +92 -0
  73. package/dist/{chunk-6OJ7XVBR.js → chunk-A4QFVUEY.js} +2 -2
  74. package/dist/{chunk-URZAPVR6.js → chunk-AD7R7TNQ.js} +4 -4
  75. package/dist/{chunk-J3JG5EKP.js → chunk-AQLIBG2P.js} +1 -1
  76. package/dist/{chunk-UFAIL7YE.js → chunk-C2B4LPJU.js} +2 -2
  77. package/dist/{chunk-Z7OTSKAT.js → chunk-CDEJHIYQ.js} +4 -4
  78. package/dist/{chunk-TYGNPI7L.js → chunk-CDXD6W4N.js} +1 -1
  79. package/dist/{chunk-I5C35DE5.js → chunk-DAHGMBRE.js} +3 -3
  80. package/dist/{chunk-GYIISS2S.js → chunk-DHD54IIT.js} +7 -7
  81. package/dist/{chunk-GBKMTVG6.js → chunk-DP6YHOKF.js} +2 -2
  82. package/dist/{chunk-O7N2FQBH.js → chunk-DQI4647T.js} +4 -4
  83. package/dist/{chunk-BW6WGBJC.js → chunk-E65O7RMA.js} +4 -4
  84. package/dist/{chunk-AO5BRDKS.js → chunk-EBIPQ3ZE.js} +20 -4
  85. package/dist/{chunk-HYZAL77U.js → chunk-EJ56NJQ4.js} +7 -7
  86. package/dist/{chunk-ZKZL4EFA.js → chunk-EJJBM4OB.js} +1 -1
  87. package/dist/{chunk-ZUU4I2RK.js → chunk-EPNYDS4H.js} +1 -1
  88. package/dist/{chunk-L3BX56Y4.js → chunk-ETT24EIH.js} +3 -3
  89. package/dist/{chunk-NXHIWGOL.js → chunk-F326QJEJ.js} +8 -8
  90. package/dist/{chunk-LXZ6APGN.js → chunk-FY7WHRDJ.js} +3 -3
  91. package/dist/{chunk-LTB54XBS.js → chunk-FZWUUGC2.js} +4 -4
  92. package/dist/{chunk-YUG7PCPJ.js → chunk-GAAPUS5J.js} +1 -1
  93. package/dist/{chunk-VECF23YI.js → chunk-GGKGVCUN.js} +4 -4
  94. package/dist/{chunk-QJF5I7NR.js → chunk-GR46QR45.js} +6 -6
  95. package/dist/{chunk-GTEL6ZIH.js → chunk-GUBY4KIU.js} +8 -6
  96. package/dist/{chunk-E2CY63WZ.js → chunk-GUZLBFER.js} +5 -5
  97. package/dist/{chunk-KOJJ2LPJ.js → chunk-H6CBRJKT.js} +5 -5
  98. package/dist/{chunk-3JU27SD5.js → chunk-HMMVGDL3.js} +10 -4
  99. package/dist/{chunk-O5IRXMPV.js → chunk-ITPAUHJ4.js} +1 -1
  100. package/dist/{chunk-FYBS4VRT.js → chunk-IYOA3NWO.js} +1 -1
  101. package/dist/{chunk-JFZPMVEC.js → chunk-JJBM5FYH.js} +2 -2
  102. package/dist/{chunk-YMJCE2TD.js → chunk-JXZQ4XFL.js} +2 -2
  103. package/dist/{chunk-IYY7KRNS.js → chunk-KERLAXHG.js} +3 -3
  104. package/dist/{chunk-JLVVFGYN.js → chunk-LWUDOZHE.js} +4 -4
  105. package/dist/{chunk-Z2RVYQON.js → chunk-NCN7ANYA.js} +6 -6
  106. package/dist/{chunk-XO66RJJC.js → chunk-NFK2QF74.js} +5 -5
  107. package/dist/{chunk-2IBCLVJK.js → chunk-O7ZCWGYA.js} +2 -2
  108. package/dist/{chunk-2NHK4PUR.js → chunk-OTJEIINV.js} +6 -6
  109. package/dist/{chunk-PDVGAU7A.js → chunk-OYZUPSD7.js} +6 -6
  110. package/dist/{chunk-HKL7HXFD.js → chunk-P4JYK7WB.js} +3 -3
  111. package/dist/{chunk-BDJNHQFA.js → chunk-P6NACIBR.js} +4 -4
  112. package/dist/{chunk-TBQT2TA6.js → chunk-PUVD22DY.js} +12 -12
  113. package/dist/{chunk-EXM3ZEUU.js → chunk-R2NYUOTC.js} +9 -9
  114. package/dist/{chunk-DRY5YWUK.js → chunk-RNPEOAPC.js} +2 -2
  115. package/dist/{chunk-OESNI7XN.js → chunk-SHAHZQTQ.js} +4 -4
  116. package/dist/{chunk-6NUEY2FT.js → chunk-T4GV5MOC.js} +3 -3
  117. package/dist/{chunk-5DSFBND4.js → chunk-TP47JHGJ.js} +1 -1
  118. package/dist/{chunk-LXHH33MX.js → chunk-UF6RZBTL.js} +3 -3
  119. package/dist/{chunk-FZQHKRQF.js → chunk-URVW3D2J.js} +11 -11
  120. package/dist/{chunk-2ACPOE77.js → chunk-UV5ROHY2.js} +1 -1
  121. package/dist/{chunk-OCHXKVIN.js → chunk-UVNH4UGJ.js} +1 -1
  122. package/dist/{chunk-7P7ZKS2G.js → chunk-UXQVXB7Q.js} +1 -1
  123. package/dist/{chunk-XF25RJEV.js → chunk-VDJMYP54.js} +3 -3
  124. package/dist/{chunk-6D35FDXC.js → chunk-VEE2MRUN.js} +1 -1
  125. package/dist/{chunk-7IG54T3H.js → chunk-VH5DPURH.js} +1 -1
  126. package/dist/{chunk-TKGCDWPF.js → chunk-VNCN3Z4T.js} +2 -2
  127. package/dist/{chunk-QUXD5OW3.js → chunk-WB5DD232.js} +3 -3
  128. package/dist/{chunk-FWYOB3LW.js → chunk-WNCTMTMG.js} +1 -1
  129. package/dist/{chunk-EU6NQQNG.js → chunk-X4ENTDFT.js} +2 -2
  130. package/dist/{chunk-2PQY4TMQ.js → chunk-X7FIYMHC.js} +2 -2
  131. package/dist/{chunk-52CIHAC2.js → chunk-XMNETXQ4.js} +6 -6
  132. package/dist/{chunk-SIT46O4V.js → chunk-XONHTLMX.js} +10 -10
  133. package/dist/{chunk-AYM7IBC5.js → chunk-XSJON4TV.js} +1 -1
  134. package/dist/{chunk-KZFNXNFH.js → chunk-Y2H5TF7T.js} +1 -1
  135. package/dist/{chunk-6UICFJRW.js → chunk-YLZRG4U5.js} +1 -1
  136. package/dist/{chunk-QBPBNFDI.js → chunk-YMULPOSH.js} +5 -5
  137. package/dist/{chunk-D35DKI3E.js → chunk-ZCR5VTOC.js} +5 -5
  138. package/dist/{codex-app-cards-switch-5B67TNLS.js → codex-app-cards-switch-UEN23QFT.js} +11 -11
  139. package/dist/{codex-card-routing-3HSUBI6U.js → codex-card-routing-CJZT26VA.js} +2 -2
  140. package/dist/{codex-desktop-launch-GG5K77QD.js → codex-desktop-launch-DKOOCOTD.js} +1 -1
  141. package/dist/{codex-session-launch-XR46HRYK.js → codex-session-launch-UHNV5Z3D.js} +20 -20
  142. package/dist/{config-K7JUY27J.js → config-EVDZ6OAI.js} +3 -3
  143. package/dist/{global-upgrade-R24VOCK7.js → global-upgrade-KZQWNABB.js} +9 -9
  144. package/dist/{identity-IMSNZJZL.js → identity-A2BK7P2A.js} +4 -4
  145. package/dist/{live-capabilities-BBUGAZJV.js → live-capabilities-43YRGYAR.js} +4 -4
  146. package/dist/{paths-HGLMPFAG.js → paths-67D2435E.js} +3 -3
  147. package/dist/reapply-APVASEGC.js +70 -0
  148. package/dist/src/index.d.ts +1 -0
  149. package/dist/src/index.js +35 -35
  150. package/dist/{upgrade-lock-FML33CIQ.js → upgrade-lock-TG4UOPN7.js} +4 -4
  151. package/dist/{usage-QMQZCRF2.js → usage-FVDJIMCB.js} +3 -3
  152. package/package.json +1 -1
  153. package/dist/chunk-LV575VQE.js +0 -62
  154. package/dist/reapply-SYNZ2IZY.js +0 -70
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.192
4
+
5
+ - A single-choice question with five or six options keeps its write-in on your phone. These questions do not fit the question card, so they go out as a plain list of options, and the list used to drop the Other box. On OpenCode every question takes a typed answer by default, so each of these questions lost it. Now the list asks your phone for an Other box whenever the question takes a typed answer, and your typed answer reaches the agent as your answer. A question that takes only its options still shows only its options. The Other box appears in the next Pushary phone app release and on the pushary.com decision page; until your phone app has it, the list looks as before.
6
+
7
+ ## 1.9.191
8
+
9
+ - `pushary doctor`: on a machine whose npm holds back new releases (`min-release-age` or `before` in your npm config), the "Global package up to date" check now passes when npm allows nothing newer than the release you have, and names the release that is waiting. Before, it failed and told you to run `pushary upgrade`, which then said there was nothing newer to install. When npm allows a newer release than yours, the check still fails, offers that release and names any newer one that is waiting. Doctor asks npm with the same `npm pack --global --dry-run` that `pushary upgrade` uses, only when a newer release is published, and gives npm at most 10 seconds in all. If npm takes longer, the check reports the published release as before.
10
+ - OpenCode 2: a question whose form has a field without a key reaches Pushary again. Your rules apply to it, so the kill switch or a standing deny dismisses it, and your phone is told to answer it in OpenCode. Since 1.9.180 such a question stayed in OpenCode with no rule and no notice.
11
+ - OpenCode, sessions started from your phone: when no OpenCode service was running and Pushary started one, your phone is told once, as soon as the service is up, even if the session then fails to start or you stop it. The notice says the service may not see API keys you export in your shell profile, that the OpenCode app and terminal will use it too, and that `opencode service restart` in a terminal starts it again with your shell's settings. A session that finds OpenCode already running sends nothing new.
12
+ - OpenCode question notices no longer repeat themselves. A question you need to answer in OpenCode reads "OpenCode is asking" with the question below it, and several read "3 questions. The first: ...". In updates-only mode the notice is titled "OpenCode has a question", or "OpenCode has 3 questions" for several, where it said "Agent has a question". A phone answer OpenCode did not take, for several questions, now reads "3 questions. The first: ... OpenCode did not take your answers from your phone."
13
+
14
+ ## 1.9.190
15
+
16
+ - Codex: when a rule lets a call run while it waits for your phone, for example "Allow Bash for this session" tapped on another card from the same burst, the Decisions page now lists that call as approved "By policy". Before, it listed only the withdrawn question as cancelled, with nothing saying the call then ran. The same entry appears when a rule covers a call that was still waiting for a free place. It names the tool and its target, not which rule. If the entry cannot be sent, the call still runs.
17
+
18
+ ## 1.9.189
19
+
20
+ - Cursor and VS Code gates (Cursor plugin 0.2.13, VS Code plugin 0.2.8, installed by `pushary setup`): when Pushary already has as many open questions in the session as it allows, the gate asks once instead of three times and does what the CLI hooks do. A shell command or MCP call in Cursor goes to Cursor's own prompt and the agent is told why; any call in VS Code goes to VS Code's own confirmation with the reason. A Cursor file edit, which has no prompt of its own, or a call under a rule that refuses when nobody answers, is refused, and the agent is told it did not run. Before, the gates asked three times and refused every call with "Pushary could not create a verifiable approval".
21
+
22
+ ## 1.9.188
23
+
24
+ - This CLI carries the OpenClaw plugin 0.1.8. A `write`, `edit` or `apply_patch` to a path with `#` in it, or a `%` that is not followed by two hex digits, such as `src/C#/Program.cs`, `notes#1.md` or `100%.md`, is now judged by where it lands, like any other path, so ordinary edits in a C# project run without asking. Before, every such path asked, and unanswered, it was blocked. OpenClaw reads `#` and `%` as ordinary characters in every path that is not a `file://` URL, and a URL still asks. Writes into OpenClaw's own files still ask with these characters in the path, such as `hooks/C#/handler.js` or `../C#/../openclaw.json`. A path with a percent escape such as `%2F` still asks, in case a later OpenClaw decodes it, and so does a path with `? * < > |`, a double quote or a control character. The preview sent to your phone now shows the change for these paths too, and a `.env` file is still left out.
25
+
3
26
  ## 1.9.187
4
27
 
5
28
  - Codex, Always, with a rule that approves a call nobody answers: a burst of parallel calls larger than the eight questions a session can have open can now run the calls past the eighth, up to about 32 with a 30 second window. Before, those calls waited at most one phone window for a free place, gave up a few seconds before the first eight windows closed, and Codex was told they did not run. Now each one keeps waiting until a place frees, for as long as its own whole window still fits in the hook's time, about 130 seconds with a 30 second window. It then asks your phone, waits its window and runs as your rule says. If you change the rule to refuse or to wait while calls are still waiting for a place, those calls are refused rather than run under the old rule. A call that has already reached your phone keeps the rule it started with. A window above about 80 seconds leaves no room for this, and a rule that refuses or keeps waiting when nobody answers is unchanged.
@@ -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.12",
5
+ "version": "0.2.13",
6
6
  "minClientVersions": {
7
7
  "grokbot": "never",
8
8
  "sand": "never"
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.13
4
+
5
+ - When Pushary already has as many open questions in the session as it allows, the gate asks once instead of three times. A shell command or MCP call then goes to Cursor's own prompt, and the agent is told why ("Pushary has too many open questions in this session, so this was not sent to the phone. Approve it here."). A file edit, which has no prompt of its own, or a call under a rule that refuses when nobody answers, is refused, and the agent is told it did not run. Before, the gate asked three times and refused every call with "Pushary could not create a verifiable approval".
6
+
3
7
  ## 0.2.12
4
8
 
5
9
  - The bundled Pushary skill is 0.13.4, from 0.13.2. When you ask the agent to call, phone or ring you if it gets stuck, it asks with `ask_user`. Pushary phones only when the reply includes `phoneCall`, and the agent does not promise a call otherwise. It tells you when the call rings in your own time (`ringsAtLocal`), not the UTC `ringsAt`. While the question is pending it keeps waiting with the same `correlationId`, so a spoken answer arrives like any other.
@@ -53,13 +53,14 @@ const respond = (decision) => {
53
53
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
54
54
  const clamp = (n, lo, hi) => Math.min(Math.max(n, lo), hi)
55
55
 
56
- const withRetry = async (fn, attempts) => {
56
+ const withRetry = async (fn, attempts, shouldRetry) => {
57
57
  let lastError
58
58
  for (let i = 0; i < attempts; i += 1) {
59
59
  try {
60
60
  return await fn()
61
61
  } catch (error) {
62
62
  lastError = error
63
+ if (!shouldRetry(error)) break
63
64
  if (i < attempts - 1) await sleep(300 * (i + 1))
64
65
  }
65
66
  }
@@ -235,6 +236,23 @@ const parseMcpBody = (body, contentType) => {
235
236
  return JSON.parse(body)
236
237
  }
237
238
 
239
+ const TOOL_FAILURE_META_KEY = 'pushary/failure'
240
+ const QUESTION_LIMIT_FAILURE = 'question_limit'
241
+ const QUESTION_LIMIT_REASON = 'Pushary already has as many open questions in this session as it allows, so nobody was asked about this and it did not run. Wait until the person answers or cancels one before trying it again.'
242
+ const QUESTION_LIMIT_PROMPT_REASON = 'Pushary has too many open questions in this session, so this was not sent to the phone. Approve it here.'
243
+
244
+ const toolFailureCodeOf = (result) => {
245
+ const code = result?._meta?.[TOOL_FAILURE_META_KEY]
246
+ return typeof code === 'string' ? code : null
247
+ }
248
+
249
+ const toolFailureOf = (name, result) =>
250
+ Object.assign(new Error(result?.content?.[0]?.text || `Pushary ${name} failed`), { failure: toolFailureCodeOf(result) })
251
+
252
+ const isQuestionLimitRefusal = (error) => error?.failure === QUESTION_LIMIT_FAILURE
253
+
254
+ const retriesUnlessTheQuestionLimitRefused = (error) => !isQuestionLimitRefusal(error)
255
+
238
256
  const callTool = async (apiKey, name, args, timeoutMs = NET_TIMEOUT_MS) => {
239
257
  const response = await fetch(MCP_URL, {
240
258
  method: 'POST',
@@ -250,6 +268,7 @@ const callTool = async (apiKey, name, args, timeoutMs = NET_TIMEOUT_MS) => {
250
268
  if (!response.ok) throw new Error(`Pushary MCP ${response.status}`)
251
269
  const rpc = parseMcpBody(text, response.headers.get('content-type'))
252
270
  if (rpc.error) throw new Error(rpc.error.message || 'Pushary MCP error')
271
+ if (rpc.result?.isError === true) throw toolFailureOf(name, rpc.result)
253
272
  const payload = rpc.result?.content?.[0]?.text
254
273
  if (!payload) throw new Error('empty Pushary response')
255
274
  return JSON.parse(payload)
@@ -385,7 +404,7 @@ const canonicalQuestion = (context) => ({
385
404
  // ask_user caps scopePath at SCOPE_PATH_MAX_LENGTH and blocker at
386
405
  // DECISION_LINE_MAX. The server derives a cwd-relative scope path that can be
387
406
  // longer than 200, so an over-length value must be DROPPED rather than sent:
388
- // ask_user rejects the whole call, this gate cannot parse the error, and the
407
+ // ask_user rejects the whole call, the gate refuses it, and the
389
408
  // action fails closed. Dropping costs only the widening on approval.
390
409
  const SCOPE_PATH_MAX = 200
391
410
  const BLOCKER_MAX = 500
@@ -551,13 +570,21 @@ const describeRequest = (input) => {
551
570
  }
552
571
  }
553
572
 
573
+ const refusesWhenUnanswered = ({ mode, timeoutAction }) => mode === 'push_only' && timeoutAction === 'deny'
574
+
575
+ const askUser = (apiKey, args) => withRetry(() => callTool(apiKey, 'ask_user', args), 3, retriesUnlessTheQuestionLimitRefused)
576
+
577
+ const questionLimitOutcome = (refusesUnanswered) =>
578
+ refusesUnanswered || genericToolHook ? deny(QUESTION_LIMIT_REASON) : ask(QUESTION_LIMIT_PROMPT_REASON)
579
+
554
580
  // push_only: wait up to the policy timeout, then apply the timeout action.
555
581
  const handlePushOnly = async (apiKey, request, project, ident, timeoutSeconds, timeoutAction) => {
556
582
  let asked
557
583
  const args = { ...askArgs(request, project, ident), requestId: randomUUID() }
558
584
  try {
559
- asked = await withRetry(() => callTool(apiKey, 'ask_user', args), 3)
560
- } catch {
585
+ asked = await askUser(apiKey, args)
586
+ } catch (error) {
587
+ if (isQuestionLimitRefusal(error)) return questionLimitOutcome(refusesWhenUnanswered({ mode: 'push_only', timeoutAction }))
561
588
  return deny('Pushary could not create a verifiable approval. Retry the action.')
562
589
  }
563
590
  if (stopped(asked)) return deny(STOP_REASON)
@@ -605,8 +632,9 @@ const handlePushFirst = async (apiKey, request, project, ident, pushFirstSeconds
605
632
  let asked
606
633
  const args = { ...askArgs(request, project, ident), requestId: randomUUID() }
607
634
  try {
608
- asked = await withRetry(() => callTool(apiKey, 'ask_user', args), 3)
609
- } catch {
635
+ asked = await askUser(apiKey, args)
636
+ } catch (error) {
637
+ if (isQuestionLimitRefusal(error)) return questionLimitOutcome(refusesWhenUnanswered({ mode: 'push_first' }))
610
638
  return deny('Pushary could not create a verifiable approval. Retry the action.')
611
639
  }
612
640
  if (stopped(asked)) return deny(STOP_REASON)
@@ -57,7 +57,7 @@ Running `pushary setup` later installs the CLI's own copy over a ClawHub or npm
57
57
  - Every `nodes` action except the reads: `status`, `describe`, `pending`, `notify`, `camera_list`, `notifications_list` and the `device_*` reads. `nodes run` runs a command on a paired machine, `approve` pairs a new one, and the camera, screen and location actions take data from it.
58
58
  - Every `sessions_spawn` with `runtime: "acp"`. An ACP session runs Codex, Claude Code or another harness, whose own tool calls never reach this plugin, so starting one asks.
59
59
  - A `sessions_spawn` with a `cwd` outside the agent's workspace or in its `hooks` or `.openclaw` folder, or with a `projectId`, `projectGitUrl` or `worktree`, in camelCase or snake_case. The question names the folder. OpenClaw resolves a relative `cwd` from the gateway's working folder and expands `~`, `~/` or `~\` with `OPENCLAW_HOME` when it is set, so the plugin checks those readings as well as the workspace one.
60
- - Every `write`, `edit` or `apply_patch` into OpenClaw's own files: anything inside an OpenClaw state directory, `~/.config/openclaw` (where Linux keeps `gateway.env`), `~/.pushary`, the `.env` in the gateway's working folder, the config file set by `OPENCLAW_CONFIG_PATH`, and the launchd and systemd files OpenClaw installs for its gateway. The one exception is the agent's own workspace when it lives inside the state directory, which is OpenClaw's default (`~/.openclaw/workspace`). The workspace `hooks` and `.openclaw` folders always ask, wherever the workspace is, because OpenClaw loads code from them: hooks from `hooks`, and plugins from `.openclaw/extensions`, which it finds before the installed ones. The plugin resolves `~`, `@` references and symlinks before it decides, and lands a relative path in the agent's workspace both as OpenClaw names it and where its links lead. A path it cannot resolve asks, including one through a symbolic link whose target does not exist yet, and on macOS one under `/System/Volumes/Data`, `/.vol` or `/.nofollow`, which reach the same files by another name. A file with more than one name, a hard link, asks too, because a write changes it under every name; deleting or moving one asks as well. So does any path that is not plain: one with surrounding whitespace, a URL scheme such as `file://`, a `:` other than in a drive prefix, any of `% ? # < > | * "` or an ASCII control character, because OpenClaw resolves those differently in its default, workspace-only and sandbox setups. On macOS and Windows, a path asks when it, or a folder the plugin compares it with, has a character Node cannot compare the way macOS does, such as one newer than Node's Unicode tables. In a sandbox it does not map an absolute path inside the container, such as `/workspace/hooks/x.js`, to the host folder OpenClaw writes, so such a write does not ask. Writes anywhere else run without asking.
60
+ - Every `write`, `edit` or `apply_patch` into OpenClaw's own files: anything inside an OpenClaw state directory, `~/.config/openclaw` (where Linux keeps `gateway.env`), `~/.pushary`, the `.env` in the gateway's working folder, the config file set by `OPENCLAW_CONFIG_PATH`, and the launchd and systemd files OpenClaw installs for its gateway. The one exception is the agent's own workspace when it lives inside the state directory, which is OpenClaw's default (`~/.openclaw/workspace`). The workspace `hooks` and `.openclaw` folders always ask, wherever the workspace is, because OpenClaw loads code from them: hooks from `hooks`, and plugins from `.openclaw/extensions`, which it finds before the installed ones. The plugin resolves `~`, `@` references and symlinks before it decides, and lands a relative path in the agent's workspace both as OpenClaw names it and where its links lead. A path it cannot resolve asks, including one through a symbolic link whose target does not exist yet, and on macOS one under `/System/Volumes/Data`, `/.vol` or `/.nofollow`, which reach the same files by another name. A file with more than one name, a hard link, asks too, because a write changes it under every name; deleting or moving one asks as well. So does any path that is not plain: one with surrounding whitespace, a URL scheme such as `file://`, a `:` other than in a drive prefix, any of `? < > | * "`, a percent escape such as `%2F`, or an ASCII control character. OpenClaw resolves a URL differently in its default, workspace-only and sandbox setups and strips a trailing `</arg_value>>`, the other characters are not valid in a Windows file name, and a percent escape would change meaning if OpenClaw ever decoded it. A `#`, or a `%` not followed by two hex digits, is an ordinary character to OpenClaw in any path that is not a URL, so a path such as `src/C#/Program.cs` or `100%.md` is judged by where it lands, like any other. On macOS and Windows, a path asks when it, or a folder the plugin compares it with, has a character Node cannot compare the way macOS does, such as one newer than Node's Unicode tables. In a sandbox it does not map an absolute path inside the container, such as `/workspace/hooks/x.js`, to the host folder OpenClaw writes, so such a write does not ask. Writes anywhere else run without asking.
61
61
 
62
62
  To gate more tools, list their OpenClaw tool ids. The list adds to the defaults above; it never replaces them:
63
63
 
@@ -104,7 +104,7 @@ Before anything is sent, the plugin removes what it can recognise as a secret:
104
104
 
105
105
  - Key and token formats it knows: Pushary keys, `sk-` keys (OpenAI, Anthropic), Stripe, GitHub, GitLab, Slack, Google, AWS access key ids, npm, xAI and JWTs, plus private key blocks and long base64-like strings of 40 or more characters.
106
106
  - Passwords in URLs, `Bearer` and `Authorization` values, and the value of anything named like a password, token, secret, API key, access key, client secret or private key. In JSON this holds at any depth, whatever the value.
107
- - For a complete write to a `.env` file (`.env`, `.env.*` or a name ending in `.env`, such as `gateway.env`), Pushary receives the variable names when every line is a comment, blank, or a plain assignment: an uppercase `NAME`, and a value that is unquoted, or quoted on one line with no backslash or inner quote. A file with any other line, such as a value spread over several lines, sends neither names nor values. For an edit or patch, Pushary receives the paths and omits the dotenv change contents because a fragment can start inside a value. A patch that moves a file into or out of a `.env` file omits the contents of every file in it. A path that is not plain, with surrounding whitespace, a URL scheme, a `:` anywhere but in a drive prefix such as `C:\` at the start, or any of `% ? # < > | * "` or an ASCII control character, is treated as a `.env` file, because OpenClaw can resolve it to one. This check decides from the path as written and does not follow symbolic or hard links, so a write through a link to a `.env` file is sent as a write to the link. A file change the plugin cannot read is withheld too: a `write` or `edit` whose `path` is a `.env` file, and, when any parameter name or value mentions `.env`, a `write` or `edit` without a `path` or an `apply_patch` whose patch it cannot read. Pushary then receives the path, the names in patch headers that start a line, or `[dotenv file name not sent]`, plus where the call comes from, as listed above, and no other parameter.
107
+ - For a complete write to a `.env` file (`.env`, `.env.*` or a name ending in `.env`, such as `gateway.env`), Pushary receives the variable names when every line is a comment, blank, or a plain assignment: an uppercase `NAME`, and a value that is unquoted, or quoted on one line with no backslash or inner quote. A file with any other line, such as a value spread over several lines, sends neither names nor values. For an edit or patch, Pushary receives the paths and omits the dotenv change contents because a fragment can start inside a value. A patch that moves a file into or out of a `.env` file omits the contents of every file in it. A path that is not plain, with surrounding whitespace, a URL scheme, a `:` anywhere but in a drive prefix such as `C:\` at the start, or any of `? < > | * "`, a percent escape such as `%2E`, or an ASCII control character, is treated as a `.env` file, because OpenClaw can resolve it to one. This check decides from the path as written and does not follow symbolic or hard links, so a write through a link to a `.env` file is sent as a write to the link. A file change the plugin cannot read is withheld too: a `write` or `edit` whose `path` is a `.env` file, and, when any parameter name or value mentions `.env`, a `write` or `edit` without a `path` or an `apply_patch` whose patch it cannot read. Pushary then receives the path, the names in patch headers that start a line, or `[dotenv file name not sent]`, plus where the call comes from, as listed above, and no other parameter.
108
108
 
109
109
  Redaction works from these patterns. A secret in a command that matches none of them, such as a password with spaces passed to a flag of its own, is sent as written. The plugin leaves the rest of a command as it is so you can see what will run.
110
110
 
@@ -11,7 +11,8 @@ const PATCH_PARAMETER = 'input';
11
11
  const PATCH_TARGET_MARKERS = [...PATCH_FILE_MARKERS, PATCH_MOVE_MARKER];
12
12
  const FILE_URL_PREFIX = 'file://';
13
13
  const HOST_PATH_ARGUMENT_TAILS = /(?:<\/arg_value>>+\s*)+$/;
14
- const NOT_PLAIN_PATH_CHARACTER = /[\u0000-\u001f\u007f%?#<>|*"]/;
14
+ const NOT_PLAIN_PATH_CHARACTER = /[\u0000-\u001f\u007f?<>|*"]/;
15
+ const PERCENT_ESCAPE = /%[0-9A-Fa-f]{2}/;
15
16
  const WINDOWS_DRIVE_PREFIX = /^[A-Za-z]:[\\/]/;
16
17
  const PATH_SCHEME_SEPARATOR = ':';
17
18
  const FILE_REFERENCE_PREFIX = '@';
@@ -184,7 +185,7 @@ export const isPlainPath = (path) => {
184
185
  if (path !== path.trim())
185
186
  return false;
186
187
  const rest = path.replace(WINDOWS_DRIVE_PREFIX, '');
187
- return !NOT_PLAIN_PATH_CHARACTER.test(rest) && !rest.includes(PATH_SCHEME_SEPARATOR);
188
+ return !NOT_PLAIN_PATH_CHARACTER.test(rest) && !PERCENT_ESCAPE.test(rest) && !rest.includes(PATH_SCHEME_SEPARATOR);
188
189
  };
189
190
  const verdictForSpelling = (spelling, paths, system) => {
190
191
  const path = expandedHome(spelling, system.osHome);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/openclaw",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Phone approvals for OpenClaw. Pushary asks you before your AI agent runs a gated tool call, and blocks the call unless you approve it.",
5
5
  "author": "Pushary <business@pushary.com>",
6
6
  "homepage": "https://pushary.com/human-in-the-loop-openclaw",
@@ -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.7",
4
+ "version": "0.2.8",
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.8
4
+
5
+ - When Pushary already has as many open questions in the session as it allows, the gate asks once instead of three times. The call then goes to VS Code's own confirmation with the reason ("Pushary has too many open questions in this session, so this was not sent to the phone. Approve it here."), or, under a rule that refuses when nobody answers, is refused with the reason. Before, the gate asked three times and refused every call with "Pushary could not create a verifiable approval".
6
+
3
7
  ## 0.2.7
4
8
 
5
9
  - The bundled Pushary skill is 0.13.4, from 0.13.1. One `ask_user` or `wait_for_answer` call waits at most 48 seconds, the server's real limit; it said 55. A question still pending keeps waiting with the same `correlationId`.
@@ -83,13 +83,14 @@ const diag = (message) => {
83
83
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
84
84
  const clamp = (n, lo, hi) => Math.min(Math.max(n, lo), hi)
85
85
 
86
- const withRetry = async (fn, attempts) => {
86
+ const withRetry = async (fn, attempts, shouldRetry) => {
87
87
  let lastError
88
88
  for (let i = 0; i < attempts; i += 1) {
89
89
  try {
90
90
  return await fn()
91
91
  } catch (error) {
92
92
  lastError = error
93
+ if (!shouldRetry(error)) break
93
94
  if (i < attempts - 1) await sleep(300 * (i + 1))
94
95
  }
95
96
  }
@@ -179,6 +180,23 @@ const parseMcpBody = (body, contentType) => {
179
180
  return JSON.parse(body)
180
181
  }
181
182
 
183
+ const TOOL_FAILURE_META_KEY = 'pushary/failure'
184
+ const QUESTION_LIMIT_FAILURE = 'question_limit'
185
+ const QUESTION_LIMIT_REASON = 'Pushary already has as many open questions in this session as it allows, so nobody was asked about this and it did not run. Wait until the person answers or cancels one before trying it again.'
186
+ const QUESTION_LIMIT_PROMPT_REASON = 'Pushary has too many open questions in this session, so this was not sent to the phone. Approve it here.'
187
+
188
+ const toolFailureCodeOf = (result) => {
189
+ const code = result?._meta?.[TOOL_FAILURE_META_KEY]
190
+ return typeof code === 'string' ? code : null
191
+ }
192
+
193
+ const toolFailureOf = (name, result) =>
194
+ Object.assign(new Error(result?.content?.[0]?.text || `Pushary ${name} failed`), { failure: toolFailureCodeOf(result) })
195
+
196
+ const isQuestionLimitRefusal = (error) => error?.failure === QUESTION_LIMIT_FAILURE
197
+
198
+ const retriesUnlessTheQuestionLimitRefused = (error) => !isQuestionLimitRefusal(error)
199
+
182
200
  const callTool = async (apiKey, name, args, timeoutMs = NET_TIMEOUT_MS) => {
183
201
  const response = await fetch(MCP_URL, {
184
202
  method: 'POST',
@@ -194,6 +212,7 @@ const callTool = async (apiKey, name, args, timeoutMs = NET_TIMEOUT_MS) => {
194
212
  if (!response.ok) throw new Error(`Pushary MCP ${response.status}`)
195
213
  const rpc = parseMcpBody(text, response.headers.get('content-type'))
196
214
  if (rpc.error) throw new Error(rpc.error.message || 'Pushary MCP error')
215
+ if (rpc.result?.isError === true) throw toolFailureOf(name, rpc.result)
197
216
  const payload = rpc.result?.content?.[0]?.text
198
217
  if (!payload) throw new Error('empty Pushary response')
199
218
  return JSON.parse(payload)
@@ -470,7 +489,7 @@ const canonicalQuestion = (context) => ({
470
489
  // ask_user caps scopePath at SCOPE_PATH_MAX_LENGTH and blocker at
471
490
  // DECISION_LINE_MAX. The server derives a cwd-relative scope path that can be
472
491
  // longer than 200, so an over-length value must be DROPPED rather than sent:
473
- // ask_user rejects the whole call, this gate cannot parse the error, and the
492
+ // ask_user rejects the whole call, the gate refuses it, and the
474
493
  // action fails closed. Dropping costs only the widening on approval.
475
494
  const SCOPE_PATH_MAX = 200
476
495
  const BLOCKER_MAX = 500
@@ -568,13 +587,21 @@ const handedOff = (asked) => asked.suppressed || asked.status === 'terminal' ||
568
587
  const handoffMessage = (asked) =>
569
588
  asked.suppressed ? 'You are at the keyboard, continue with the agent’s permissions.' : 'Continue with the agent’s permissions.'
570
589
 
590
+ const refusesWhenUnanswered = ({ mode, timeoutAction }) => mode === 'push_only' && timeoutAction === 'deny'
591
+
592
+ const askUser = (apiKey, args) => withRetry(() => callTool(apiKey, 'ask_user', args), 3, retriesUnlessTheQuestionLimitRefused)
593
+
594
+ const questionLimitOutcome = (refusesUnanswered) =>
595
+ refusesUnanswered ? deny(QUESTION_LIMIT_REASON) : ask(QUESTION_LIMIT_PROMPT_REASON)
596
+
571
597
  // push_only: wait up to the policy timeout, then apply the timeout action.
572
598
  const handlePushOnly = async (apiKey, command, project, ident, timeoutSeconds, timeoutAction) => {
573
599
  let asked
574
600
  const args = { ...askArgs(command, project, ident), requestId: randomUUID() }
575
601
  try {
576
- asked = await withRetry(() => callTool(apiKey, 'ask_user', args), 3)
577
- } catch {
602
+ asked = await askUser(apiKey, args)
603
+ } catch (error) {
604
+ if (isQuestionLimitRefusal(error)) return questionLimitOutcome(refusesWhenUnanswered({ mode: 'push_only', timeoutAction }))
578
605
  return deny('Pushary could not create a verifiable approval. Retry the action.')
579
606
  }
580
607
  if (stopped(asked)) return deny(STOP_REASON)
@@ -624,8 +651,9 @@ const handlePushFirst = async (apiKey, command, project, ident, pushFirstSeconds
624
651
  let asked
625
652
  const args = { ...askArgs(command, project, ident), requestId: randomUUID() }
626
653
  try {
627
- asked = await withRetry(() => callTool(apiKey, 'ask_user', args), 3)
628
- } catch {
654
+ asked = await askUser(apiKey, args)
655
+ } catch (error) {
656
+ if (isQuestionLimitRefusal(error)) return questionLimitOutcome(refusesWhenUnanswered({ mode: 'push_first' }))
629
657
  return deny('Pushary could not create a verifiable approval. Retry the action.')
630
658
  }
631
659
  if (stopped(asked)) return deny(STOP_REASON)
@@ -29,25 +29,25 @@ import {
29
29
  waitRetryPauseMs,
30
30
  waitsForThePhone,
31
31
  withdrawQuestion
32
- } from "./chunk-2NHK4PUR.js";
32
+ } from "./chunk-OTJEIINV.js";
33
33
  import "./chunk-POFBE6ZY.js";
34
- import "./chunk-KOJJ2LPJ.js";
35
- import "./chunk-6D35FDXC.js";
36
- import "./chunk-L7BHOFTF.js";
37
- import "./chunk-6NUEY2FT.js";
38
- import "./chunk-AYM7IBC5.js";
39
- import "./chunk-BWOQACK7.js";
40
- import "./chunk-AO5BRDKS.js";
41
- import "./chunk-KZFNXNFH.js";
34
+ import "./chunk-H6CBRJKT.js";
35
+ import "./chunk-VEE2MRUN.js";
36
+ import "./chunk-3APYAOZF.js";
37
+ import "./chunk-T4GV5MOC.js";
38
+ import "./chunk-XSJON4TV.js";
39
+ import "./chunk-2HOKEC2I.js";
40
+ import "./chunk-EBIPQ3ZE.js";
41
+ import "./chunk-Y2H5TF7T.js";
42
42
  import "./chunk-CINBAX5G.js";
43
43
  import "./chunk-PM2NRK6Y.js";
44
44
  import "./chunk-BG4HHB7E.js";
45
- import "./chunk-YUG7PCPJ.js";
45
+ import "./chunk-GAAPUS5J.js";
46
46
  import "./chunk-UQTQ6HPO.js";
47
47
  import {
48
48
  DECISION_STOP_REASON,
49
49
  UNVERIFIABLE_APPROVAL_REASON
50
- } from "./chunk-3JU27SD5.js";
50
+ } from "./chunk-HMMVGDL3.js";
51
51
  import "./chunk-MLKGABMK.js";
52
52
  export {
53
53
  ABANDONED_WAIT,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  exitOnHelpFlag
4
- } from "../chunk-J3JG5EKP.js";
4
+ } from "../chunk-AQLIBG2P.js";
5
5
  import {
6
6
  readJsonSafe,
7
7
  writeJsonAtomic
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  EXIT
11
11
  } from "../chunk-BG4HHB7E.js";
12
- import "../chunk-YUG7PCPJ.js";
12
+ import "../chunk-GAAPUS5J.js";
13
13
  import "../chunk-UQTQ6HPO.js";
14
14
  import {
15
15
  AUDIT_CHAIN_FINDING_SEVERITY,
@@ -22,7 +22,7 @@ import {
22
22
  parseAuditChainExport,
23
23
  parseAuditKnownHead,
24
24
  verifyAuditChainSite
25
- } from "../chunk-3JU27SD5.js";
25
+ } from "../chunk-HMMVGDL3.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
2
  import {
3
3
  handleBell
4
- } from "../chunk-JFZPMVEC.js";
4
+ } from "../chunk-JJBM5FYH.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-6ZSOD7VY.js";
8
- import "../chunk-JLVVFGYN.js";
9
- import "../chunk-SIT46O4V.js";
7
+ } from "../chunk-7K5AYNDY.js";
8
+ import "../chunk-LWUDOZHE.js";
9
+ import "../chunk-XONHTLMX.js";
10
10
  import "../chunk-WHB622LP.js";
11
- import "../chunk-D35DKI3E.js";
12
- import "../chunk-PDVGAU7A.js";
13
- import "../chunk-O7N2FQBH.js";
14
- import "../chunk-TBQT2TA6.js";
15
- import "../chunk-3JNBZF4G.js";
16
- import "../chunk-ZKZL4EFA.js";
17
- import "../chunk-O5IRXMPV.js";
11
+ import "../chunk-ZCR5VTOC.js";
12
+ import "../chunk-OYZUPSD7.js";
13
+ import "../chunk-DQI4647T.js";
14
+ import "../chunk-PUVD22DY.js";
15
+ import "../chunk-3ULFLONL.js";
16
+ import "../chunk-EJJBM4OB.js";
17
+ import "../chunk-ITPAUHJ4.js";
18
18
  import "../chunk-BZIBNSQE.js";
19
- import "../chunk-QUXD5OW3.js";
19
+ import "../chunk-WB5DD232.js";
20
20
  import "../chunk-55L4JSPA.js";
21
- import "../chunk-TYGNPI7L.js";
21
+ import "../chunk-CDXD6W4N.js";
22
22
  import "../chunk-VRNGMRJA.js";
23
- import "../chunk-2NHK4PUR.js";
24
- import "../chunk-OLU5L3VB.js";
23
+ import "../chunk-OTJEIINV.js";
24
+ import "../chunk-5IPXL33D.js";
25
25
  import "../chunk-POFBE6ZY.js";
26
- import "../chunk-KOJJ2LPJ.js";
27
- import "../chunk-6D35FDXC.js";
28
- import "../chunk-7IG54T3H.js";
29
- import "../chunk-L7BHOFTF.js";
30
- import "../chunk-6NUEY2FT.js";
31
- import "../chunk-AYM7IBC5.js";
32
- import "../chunk-LXZ6APGN.js";
33
- import "../chunk-GBKMTVG6.js";
34
- import "../chunk-BWOQACK7.js";
35
- import "../chunk-AO5BRDKS.js";
36
- import "../chunk-KZFNXNFH.js";
26
+ import "../chunk-H6CBRJKT.js";
27
+ import "../chunk-VEE2MRUN.js";
28
+ import "../chunk-VH5DPURH.js";
29
+ import "../chunk-3APYAOZF.js";
30
+ import "../chunk-T4GV5MOC.js";
31
+ import "../chunk-XSJON4TV.js";
32
+ import "../chunk-FY7WHRDJ.js";
33
+ import "../chunk-DP6YHOKF.js";
34
+ import "../chunk-2HOKEC2I.js";
35
+ import "../chunk-EBIPQ3ZE.js";
36
+ import "../chunk-Y2H5TF7T.js";
37
37
  import "../chunk-CINBAX5G.js";
38
38
  import "../chunk-PM2NRK6Y.js";
39
39
  import "../chunk-BG4HHB7E.js";
40
- import "../chunk-YUG7PCPJ.js";
40
+ import "../chunk-GAAPUS5J.js";
41
41
  import "../chunk-UQTQ6HPO.js";
42
- import "../chunk-3JU27SD5.js";
42
+ import "../chunk-HMMVGDL3.js";
43
43
  import "../chunk-MLKGABMK.js";
44
44
 
45
45
  // bin/pushary-bell-hook.ts
@@ -5,29 +5,29 @@ import {
5
5
  liveAgentCount,
6
6
  ring,
7
7
  upgradeThreshold
8
- } from "../chunk-JFZPMVEC.js";
8
+ } from "../chunk-JJBM5FYH.js";
9
9
  import {
10
10
  createIo
11
- } from "../chunk-RYBTDSQF.js";
11
+ } from "../chunk-5QP7DVQF.js";
12
12
  import {
13
13
  exitOnHelpFlag
14
- } from "../chunk-J3JG5EKP.js";
14
+ } from "../chunk-AQLIBG2P.js";
15
15
  import {
16
16
  addBellHooks,
17
17
  bellInstalled,
18
18
  removeBellHooks
19
- } from "../chunk-O5IRXMPV.js";
19
+ } from "../chunk-ITPAUHJ4.js";
20
20
  import {
21
21
  parseFlags
22
22
  } from "../chunk-BZIBNSQE.js";
23
- import "../chunk-7IG54T3H.js";
24
- import "../chunk-LXZ6APGN.js";
25
- import "../chunk-GBKMTVG6.js";
23
+ import "../chunk-VH5DPURH.js";
24
+ import "../chunk-FY7WHRDJ.js";
25
+ import "../chunk-DP6YHOKF.js";
26
26
  import {
27
27
  claudeSettings
28
- } from "../chunk-BWOQACK7.js";
29
- import "../chunk-AO5BRDKS.js";
30
- import "../chunk-KZFNXNFH.js";
28
+ } from "../chunk-2HOKEC2I.js";
29
+ import "../chunk-EBIPQ3ZE.js";
30
+ import "../chunk-Y2H5TF7T.js";
31
31
  import "../chunk-CINBAX5G.js";
32
32
  import {
33
33
  readJsonSafe,
@@ -36,11 +36,11 @@ import {
36
36
  import {
37
37
  EXIT
38
38
  } from "../chunk-BG4HHB7E.js";
39
- import "../chunk-YUG7PCPJ.js";
39
+ import "../chunk-GAAPUS5J.js";
40
40
  import "../chunk-UQTQ6HPO.js";
41
41
  import {
42
42
  isRecord
43
- } from "../chunk-3JU27SD5.js";
43
+ } from "../chunk-HMMVGDL3.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-HYZAL77U.js";
5
- import "../chunk-UFAIL7YE.js";
6
- import "../chunk-WA5RGLKV.js";
4
+ } from "../chunk-EJ56NJQ4.js";
5
+ import "../chunk-C2B4LPJU.js";
6
+ import "../chunk-6CJSVFAD.js";
7
7
  import {
8
8
  createIo
9
- } from "../chunk-RYBTDSQF.js";
9
+ } from "../chunk-5QP7DVQF.js";
10
10
  import {
11
11
  exitOnHelpFlag
12
- } from "../chunk-J3JG5EKP.js";
12
+ } from "../chunk-AQLIBG2P.js";
13
13
  import {
14
14
  parseFlags
15
15
  } from "../chunk-BZIBNSQE.js";
16
- import "../chunk-L7BHOFTF.js";
16
+ import "../chunk-3APYAOZF.js";
17
17
  import {
18
18
  pusharyFetch
19
- } from "../chunk-6NUEY2FT.js";
20
- import "../chunk-AYM7IBC5.js";
21
- import "../chunk-LXZ6APGN.js";
22
- import "../chunk-GBKMTVG6.js";
23
- import "../chunk-BWOQACK7.js";
24
- import "../chunk-AO5BRDKS.js";
19
+ } from "../chunk-T4GV5MOC.js";
20
+ import "../chunk-XSJON4TV.js";
21
+ import "../chunk-FY7WHRDJ.js";
22
+ import "../chunk-DP6YHOKF.js";
23
+ import "../chunk-2HOKEC2I.js";
24
+ import "../chunk-EBIPQ3ZE.js";
25
25
  import {
26
26
  getApiKey,
27
27
  getBaseUrl
28
- } from "../chunk-KZFNXNFH.js";
28
+ } from "../chunk-Y2H5TF7T.js";
29
29
  import {
30
30
  UsageError,
31
31
  exitCodeFor
@@ -36,14 +36,14 @@ import {
36
36
  } from "../chunk-BG4HHB7E.js";
37
37
  import {
38
38
  isInvocationOf
39
- } from "../chunk-YUG7PCPJ.js";
39
+ } from "../chunk-GAAPUS5J.js";
40
40
  import "../chunk-UQTQ6HPO.js";
41
41
  import {
42
42
  PHONE_CALL_SETUP_PATH,
43
43
  PHONE_CALL_SETUP_TEST_CALL_PARAM,
44
44
  parsePhoneCallSetupReply,
45
45
  parseTestCallReply
46
- } from "../chunk-3JU27SD5.js";
46
+ } from "../chunk-HMMVGDL3.js";
47
47
  import "../chunk-MLKGABMK.js";
48
48
 
49
49
  // bin/pushary-calls.ts