pushary 1.9.198 → 1.9.200
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 +9 -0
- package/data/SKILL.md +4 -4
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/skills/pushary/SKILL.md +3 -3
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +4 -0
- package/data/vscode-plugin/skills/pushary/SKILL.md +3 -3
- package/dist/{api-JB2YWCFT.js → api-OUFAFWVY.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +30 -32
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +36 -36
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -47
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +34 -34
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +40 -40
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +197 -92
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-B6S622H7.js → chunk-23W7FAZL.js} +5 -5
- package/dist/{chunk-QILIXLIP.js → chunk-247LVLEC.js} +3 -3
- package/dist/{chunk-SS62EXPR.js → chunk-2BVH7JC7.js} +13 -13
- package/dist/{chunk-KRNRLNUK.js → chunk-2SHEWMGU.js} +2 -2
- package/dist/{chunk-X6EXXBII.js → chunk-3RUQKPHU.js} +7 -7
- package/dist/{chunk-GSYXA26X.js → chunk-3XSDSKAX.js} +1 -1
- package/dist/{chunk-3ULFLONL.js → chunk-4DTKZQKO.js} +1 -1
- package/dist/{chunk-KJBXYZEZ.js → chunk-4SHFFJTL.js} +7 -7
- package/dist/{chunk-MA3UM44V.js → chunk-57E7NOZO.js} +4 -4
- package/dist/{chunk-TBHC4AJ3.js → chunk-5STI67CK.js} +5 -5
- package/dist/{chunk-4CJ7PQL7.js → chunk-6KMMY7DI.js} +24 -6
- package/dist/{chunk-MWF4L55C.js → chunk-6ZYUYRR2.js} +3 -3
- package/dist/{chunk-53X7ESKH.js → chunk-72EKTJ2U.js} +5 -5
- package/dist/{chunk-YOD3EXM2.js → chunk-7SCBP4U7.js} +9 -9
- package/dist/{chunk-JTROZAZT.js → chunk-A6TVXDTE.js} +2 -2
- package/dist/{chunk-2SJ5EAIM.js → chunk-AQB2LUX5.js} +5 -5
- package/dist/chunk-AVFPHV4N.js +10 -0
- package/dist/{chunk-KINS3YH7.js → chunk-AXJCUWLD.js} +6 -6
- package/dist/{chunk-XYGNLWWA.js → chunk-B3STTU5D.js} +4 -4
- package/dist/{chunk-5IPXL33D.js → chunk-BYYU5QS3.js} +1 -1
- package/dist/{chunk-VFAK5JLU.js → chunk-CDWR23BU.js} +8 -8
- package/dist/{chunk-TC65PME7.js → chunk-CFWOZBUQ.js} +6 -6
- package/dist/{chunk-I7HXYNZL.js → chunk-DFA42X45.js} +4 -4
- package/dist/{chunk-375XMDXC.js → chunk-DGZYM676.js} +1 -1
- package/dist/{chunk-6ORKZ2XF.js → chunk-DQGTFUXX.js} +5 -5
- package/dist/{chunk-RSVVUJT4.js → chunk-ECG372D5.js} +1 -1
- package/dist/{chunk-HMMVGDL3.js → chunk-F75727GN.js} +2 -0
- package/dist/{chunk-RHCC3WET.js → chunk-FR7XIHSN.js} +10 -10
- package/dist/{chunk-EJJBM4OB.js → chunk-FUY7TPTQ.js} +1 -1
- package/dist/{chunk-QVG6M24J.js → chunk-FWPN4AHK.js} +4 -4
- package/dist/{chunk-H6SVMUCS.js → chunk-HIPEE6RH.js} +4 -4
- package/dist/{chunk-A355NHU4.js → chunk-HN6ABA2B.js} +4 -4
- package/dist/{chunk-5L7DFTHX.js → chunk-HQUYQOWZ.js} +2 -2
- package/dist/{chunk-MXD4XEHV.js → chunk-I3ZOD5I4.js} +3 -3
- package/dist/{chunk-UVNH4UGJ.js → chunk-I4EHOHYH.js} +1 -1
- package/dist/{chunk-LVMWDCLN.js → chunk-JFUTFHB6.js} +6 -6
- package/dist/{chunk-F7J5DE66.js → chunk-JKD642VE.js} +3 -3
- package/dist/{chunk-WNCTMTMG.js → chunk-JTZMPMXH.js} +1 -1
- package/dist/{chunk-5QP7DVQF.js → chunk-KCSTT6KQ.js} +1 -1
- package/dist/{chunk-MGIZ2XRJ.js → chunk-LECDW27E.js} +1 -1
- package/dist/{chunk-IOCJDGAQ.js → chunk-LEUQ37WR.js} +2 -2
- package/dist/{chunk-VEE2MRUN.js → chunk-LGV3U2KK.js} +1 -1
- package/dist/{chunk-IDZ2KKTJ.js → chunk-LS2VJJFJ.js} +6 -6
- package/dist/{chunk-XCPED5AY.js → chunk-LXWHMYOS.js} +3 -3
- package/dist/{chunk-EEI3UGYX.js → chunk-M2S6BBSR.js} +6 -6
- package/dist/{chunk-IYOA3NWO.js → chunk-MOCDN7B3.js} +1 -1
- package/dist/{chunk-VH5DPURH.js → chunk-MRG7AEJA.js} +1 -1
- package/dist/{chunk-JGLVWR2K.js → chunk-O4E4ISTO.js} +2 -2
- package/dist/{chunk-OEUO6C6O.js → chunk-OK3GVZNU.js} +2 -2
- package/dist/{chunk-3ET6SSBR.js → chunk-OMJ6ISJW.js} +2 -2
- package/dist/{chunk-EPNYDS4H.js → chunk-OPBYHXZP.js} +1 -1
- package/dist/{chunk-YLZRG4U5.js → chunk-P4VF3DZW.js} +1 -1
- package/dist/{chunk-4T2UCDTT.js → chunk-PHFQV5MO.js} +12 -12
- package/dist/{chunk-UXQVXB7Q.js → chunk-PWJ2YNLB.js} +1 -1
- package/dist/{chunk-KZODVCLP.js → chunk-Q7W4TEWC.js} +3 -3
- package/dist/{chunk-FVWDT7EJ.js → chunk-QM3YURHW.js} +3 -3
- package/dist/{chunk-NJZ3U2XM.js → chunk-QOV5MVKT.js} +4 -4
- package/dist/{chunk-SVJRFO2D.js → chunk-RDECWGBJ.js} +1 -1
- package/dist/{chunk-KSSVKU7Y.js → chunk-RHQ5FDU4.js} +4 -4
- package/dist/{chunk-FWP5KQJR.js → chunk-RMWPSYJG.js} +2 -2
- package/dist/{chunk-TP47JHGJ.js → chunk-RXNQ3GJM.js} +1 -1
- package/dist/{chunk-CY7POKS3.js → chunk-SJUE6CFP.js} +4 -4
- package/dist/{chunk-247FA7KI.js → chunk-SUUATETY.js} +1 -1
- package/dist/{chunk-IZYAD6FA.js → chunk-SYO4XLTG.js} +2 -2
- package/dist/{chunk-ZAI54UZ6.js → chunk-TQDTYV27.js} +1 -1
- package/dist/{chunk-5V2NNWPV.js → chunk-TZD42VJP.js} +5 -5
- package/dist/{chunk-H74WROTN.js → chunk-UJERPPET.js} +2 -2
- package/dist/{chunk-VAUSK462.js → chunk-UQOEZQ6G.js} +2 -2
- package/dist/{chunk-CKIHZUS4.js → chunk-UUMBN6AU.js} +2 -2
- package/dist/{chunk-JJD2E7UW.js → chunk-VCTMCQCU.js} +2 -2
- package/dist/{chunk-HOFT6RAL.js → chunk-VEOVR6Z2.js} +1 -1
- package/dist/{chunk-MDO4BGRM.js → chunk-VU7LK6KI.js} +18 -18
- package/dist/{chunk-IX7DFY4W.js → chunk-WFE2YHWQ.js} +2 -2
- package/dist/{chunk-3SLTSIVQ.js → chunk-WGGEF3XC.js} +5 -5
- package/dist/{chunk-HPWOVFQV.js → chunk-WHDNAGFI.js} +5 -5
- package/dist/{chunk-MHQDLVQX.js → chunk-WRZFEG6A.js} +3 -3
- package/dist/{chunk-F76ZUFUW.js → chunk-X3TBNXPX.js} +3 -3
- package/dist/{chunk-4TIZJD3Q.js → chunk-XKFL7XBP.js} +1 -1
- package/dist/{chunk-PAHL3VTG.js → chunk-XQNSJWFD.js} +5 -5
- package/dist/{chunk-OBDHGAEE.js → chunk-XTFN2YTA.js} +3 -3
- package/dist/{chunk-UGGXQKVC.js → chunk-YB64X4IQ.js} +1 -1
- package/dist/{chunk-HX4NDLO7.js → chunk-YGRPTTER.js} +2 -2
- package/dist/{chunk-WGODS5EB.js → chunk-ZEVNSFFV.js} +4 -4
- package/dist/{codex-app-cards-switch-NL4F2GTH.js → codex-app-cards-switch-WV7RKIVN.js} +11 -11
- package/dist/{codex-card-routing-CJZT26VA.js → codex-card-routing-HQRJF2NY.js} +2 -2
- package/dist/{codex-desktop-launch-YKRZ474G.js → codex-desktop-launch-LDA7CWEX.js} +1 -1
- package/dist/{codex-session-launch-TDDMSWX3.js → codex-session-launch-LS75CYUV.js} +20 -20
- package/dist/{config-EARKOD24.js → config-WFIMGEI5.js} +3 -3
- package/dist/{global-upgrade-E2LPCPTA.js → global-upgrade-XMQVRK7X.js} +9 -9
- package/dist/{identity-RMCGMU2G.js → identity-J5O4WLQQ.js} +4 -4
- package/dist/{live-capabilities-MFOTOB2Q.js → live-capabilities-JMVAIHR3.js} +4 -4
- package/dist/{paths-LMXYUYFK.js → paths-OFQDG25M.js} +3 -3
- package/dist/reapply-JTMPSOEG.js +75 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-THQ5BOFX.js → upgrade-lock-77W22ICV.js} +4 -4
- package/dist/{usage-CRVWVD5D.js → usage-MQWUFNYJ.js} +3 -3
- package/package.json +4 -1
- package/dist/reapply-FMKSUMPS.js +0 -75
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.200
|
|
4
|
+
|
|
5
|
+
- Setup's agent question no longer sets up an agent you unticked. Since 1.9.186, when no key was pressed there for 20 seconds, setup used the agents it detected, even if you had changed the ticks first. An agent you unticked was set up anyway, and an agent you ticked by hand was left out. Now, if you pressed any key, setup uses exactly what is ticked on screen when the 20 seconds run out, and says so. Each key still restarts the 20 seconds. If nothing is ticked, setup configures no agents, keeps your key, says how to finish, and exits with code 5; when no agent was detected either, it says so, as before. If no key was pressed at all, setup uses the detected agents as before, so an agent running setup in a terminal still never waits forever. `--agents`, `--yes`, `--json` and runs with nobody at the terminal are unchanged.
|
|
6
|
+
|
|
7
|
+
## 1.9.199
|
|
8
|
+
|
|
9
|
+
- When setup finishes and has reached your phone, it gives you one thing to try: a line to paste into a new agent session that has the agent ask you a multiple-choice question through Pushary and wait for your answer. It appears only when nothing still needs fixing and at least one agent with a Pushary question tool was set up.
|
|
10
|
+
- The bundled Pushary skill now tells agents to let you type your own answer to a choice question (`allowOther: true`) unless their options cover every answer. 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.
|
|
11
|
+
|
|
3
12
|
## 1.9.198
|
|
4
13
|
|
|
5
14
|
- Hermes session history now works without the Pushary Mac app, in Hermes Desktop, the `hermes` CLI and the gateway service. Setup for Hermes used to skip the global install, so the history helper was missing, and a Hermes gateway started by systemd could not find it on `PATH` anyway. With session history on, `npx pushary@latest setup --agents hermes` now installs the CLI globally and records the Node runtime and the helper's absolute path in `~/.pushary/hermes-history-helper.json`, which the bundled Hermes plugin (1.0.5) reads before `PATH`. A Homebrew Node is recorded by its stable path, so `brew upgrade node` does not break it.
|
package/data/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pushary
|
|
3
|
-
version: 0.13.
|
|
3
|
+
version: 0.13.5
|
|
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:
|
|
@@ -200,7 +200,7 @@ Your client already holds each tool's schema, with every parameter and returned
|
|
|
200
200
|
|
|
201
201
|
### ask_user
|
|
202
202
|
|
|
203
|
-
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
203
|
+
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. On a `select`, pass `allowOther: true` unless your options cover every answer you could act on, so the user can type their own instead of picking the closest one. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
204
204
|
|
|
205
205
|
| Mode | The phone | The call |
|
|
206
206
|
|---|---|---|
|
|
@@ -213,13 +213,13 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
|
|
|
213
213
|
|
|
214
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.
|
|
215
215
|
|
|
216
|
-
**Answers.** `value` is "yes" or "no" for confirm, the chosen option for select, 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.
|
|
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
|
|
|
218
218
|
**Phone calls.** When the user says "call me", "phone me" or "ring me if you get stuck", ask with `ask_user`; there is no separate call tool. Pushary may phone only when the reply includes `phoneCall`; without it no call is planned, so do not promise one. With it, Pushary phones the person who can answer if the question is still unanswered, and records what they say as the answer: an approval, a choice or free text. For a call to the user, `ringsAtLocal` says when it rings in their own time (tell them that, not the UTC `ringsAt`), and `waiting_for_calling_hours` means it rings when their calling hours start. While the reply is pending and has no `handoffAction`, keep waiting with `wait_for_answer` and the same `correlationId`: the spoken answer arrives there like any other. Do not cancel the question, ask it again or give up because a call is coming.
|
|
219
219
|
|
|
220
220
|
```json
|
|
221
221
|
{ "question": "Delete the 3 unused migration files in db/migrate/?", "type": "confirm", "context": "Cleaning up old migrations before the schema change", "toolName": "Bash", "toolTarget": "rm", "actionBody": "rm db/migrate/0003_*.sql", "agentName": "Claude Code - myproject" }
|
|
222
|
-
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
222
|
+
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "allowOther": true, "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
223
223
|
{ "question": "What path should the new endpoint use?", "type": "input", "placeholder": "/api/v2/...", "context": "Adding a REST endpoint for user preferences", "agentName": "Cursor - frontend" }
|
|
224
224
|
```
|
|
225
225
|
|
|
@@ -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.14",
|
|
6
6
|
"minClientVersions": {
|
|
7
7
|
"grokbot": "never",
|
|
8
8
|
"sand": "never"
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.14
|
|
4
|
+
|
|
5
|
+
- `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.
|
|
6
|
+
|
|
3
7
|
## 0.2.13
|
|
4
8
|
|
|
5
9
|
- 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".
|
|
@@ -193,7 +193,7 @@ Your client already holds each tool's schema, with every parameter and returned
|
|
|
193
193
|
|
|
194
194
|
### ask_user
|
|
195
195
|
|
|
196
|
-
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
196
|
+
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. On a `select`, pass `allowOther: true` unless your options cover every answer you could act on, so the user can type their own instead of picking the closest one. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
197
197
|
|
|
198
198
|
| Mode | The phone | The call |
|
|
199
199
|
|---|---|---|
|
|
@@ -206,13 +206,13 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
|
|
|
206
206
|
|
|
207
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.
|
|
208
208
|
|
|
209
|
-
**Answers.** `value` is "yes" or "no" for confirm, the chosen option for select, 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.
|
|
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
|
|
|
211
211
|
**Phone calls.** When the user says "call me", "phone me" or "ring me if you get stuck", ask with `ask_user`; there is no separate call tool. Pushary may phone only when the reply includes `phoneCall`; without it no call is planned, so do not promise one. With it, Pushary phones the person who can answer if the question is still unanswered, and records what they say as the answer: an approval, a choice or free text. For a call to the user, `ringsAtLocal` says when it rings in their own time (tell them that, not the UTC `ringsAt`), and `waiting_for_calling_hours` means it rings when their calling hours start. While the reply is pending and has no `handoffAction`, keep waiting with `wait_for_answer` and the same `correlationId`: the spoken answer arrives there like any other. Do not cancel the question, ask it again or give up because a call is coming.
|
|
212
212
|
|
|
213
213
|
```json
|
|
214
214
|
{ "question": "Delete the 3 unused migration files in db/migrate/?", "type": "confirm", "context": "Cleaning up old migrations before the schema change", "toolName": "Bash", "toolTarget": "rm", "actionBody": "rm db/migrate/0003_*.sql", "agentName": "Claude Code - myproject" }
|
|
215
|
-
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
215
|
+
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "allowOther": true, "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
216
216
|
{ "question": "What path should the new endpoint use?", "type": "input", "placeholder": "/api/v2/...", "context": "Adding a REST endpoint for user preferences", "agentName": "Cursor - frontend" }
|
|
217
217
|
```
|
|
218
218
|
|
|
@@ -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.9",
|
|
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.9
|
|
4
|
+
|
|
5
|
+
- `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.
|
|
6
|
+
|
|
3
7
|
## 0.2.8
|
|
4
8
|
|
|
5
9
|
- 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".
|
|
@@ -193,7 +193,7 @@ Your client already holds each tool's schema, with every parameter and returned
|
|
|
193
193
|
|
|
194
194
|
### ask_user
|
|
195
195
|
|
|
196
|
-
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
196
|
+
Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 known options, and `input` when the options cannot be listed. On a `select`, pass `allowOther: true` unless your options cover every answer you could act on, so the user can type their own instead of picking the closest one. A question stays open until it is answered or cancelled, except one asked through a connector, by signing in or with a connector key, which closes 10 minutes after it is sent: Claude.ai, Claude Desktop, Cowork, ChatGPT, Grok Bot, signed-in Cline, and the Pushary for Claude and Pushary for Cowork plugins. One call waits at most 48 seconds and may return at once. The user's delivery mode decides how long:
|
|
197
197
|
|
|
198
198
|
| Mode | The phone | The call |
|
|
199
199
|
|---|---|---|
|
|
@@ -206,13 +206,13 @@ Asks a question and waits. Use `confirm` for yes or no, `select` for 2 to 6 know
|
|
|
206
206
|
|
|
207
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.
|
|
208
208
|
|
|
209
|
-
**Answers.** `value` is "yes" or "no" for confirm, the chosen option for select, 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.
|
|
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
|
|
|
211
211
|
**Phone calls.** When the user says "call me", "phone me" or "ring me if you get stuck", ask with `ask_user`; there is no separate call tool. Pushary may phone only when the reply includes `phoneCall`; without it no call is planned, so do not promise one. With it, Pushary phones the person who can answer if the question is still unanswered, and records what they say as the answer: an approval, a choice or free text. For a call to the user, `ringsAtLocal` says when it rings in their own time (tell them that, not the UTC `ringsAt`), and `waiting_for_calling_hours` means it rings when their calling hours start. While the reply is pending and has no `handoffAction`, keep waiting with `wait_for_answer` and the same `correlationId`: the spoken answer arrives there like any other. Do not cancel the question, ask it again or give up because a call is coming.
|
|
212
212
|
|
|
213
213
|
```json
|
|
214
214
|
{ "question": "Delete the 3 unused migration files in db/migrate/?", "type": "confirm", "context": "Cleaning up old migrations before the schema change", "toolName": "Bash", "toolTarget": "rm", "actionBody": "rm db/migrate/0003_*.sql", "agentName": "Claude Code - myproject" }
|
|
215
|
-
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
215
|
+
{ "question": "Which auth strategy for the new API?", "type": "select", "options": ["JWT tokens", "Session cookies", "OAuth2 + PKCE"], "allowOther": true, "context": "Setting up auth for the new endpoints", "agentName": "Claude Code - api-server" }
|
|
216
216
|
{ "question": "What path should the new endpoint use?", "type": "input", "placeholder": "/api/v2/...", "context": "Adding a REST endpoint for user preferences", "agentName": "Cursor - frontend" }
|
|
217
217
|
```
|
|
218
218
|
|
|
@@ -29,25 +29,25 @@ import {
|
|
|
29
29
|
waitRetryPauseMs,
|
|
30
30
|
waitsForThePhone,
|
|
31
31
|
withdrawQuestion
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LS2VJJFJ.js";
|
|
33
33
|
import "./chunk-POFBE6ZY.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-DQGTFUXX.js";
|
|
35
|
+
import "./chunk-LGV3U2KK.js";
|
|
36
|
+
import "./chunk-QM3YURHW.js";
|
|
37
|
+
import "./chunk-Q7W4TEWC.js";
|
|
38
|
+
import "./chunk-DGZYM676.js";
|
|
39
|
+
import "./chunk-A6TVXDTE.js";
|
|
40
|
+
import "./chunk-B3STTU5D.js";
|
|
41
|
+
import "./chunk-YB64X4IQ.js";
|
|
42
42
|
import "./chunk-CINBAX5G.js";
|
|
43
43
|
import "./chunk-PM2NRK6Y.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-RDECWGBJ.js";
|
|
45
45
|
import "./chunk-BG4HHB7E.js";
|
|
46
46
|
import "./chunk-CXQWDQCJ.js";
|
|
47
47
|
import {
|
|
48
48
|
DECISION_STOP_REASON,
|
|
49
49
|
UNVERIFIABLE_APPROVAL_REASON
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-F75727GN.js";
|
|
51
51
|
import "./chunk-MLKGABMK.js";
|
|
52
52
|
export {
|
|
53
53
|
ABANDONED_WAIT,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3XSDSKAX.js";
|
|
5
5
|
import {
|
|
6
6
|
readJsonSafe,
|
|
7
7
|
writeJsonAtomic
|
|
8
8
|
} from "../chunk-PM2NRK6Y.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-RDECWGBJ.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-F75727GN.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-
|
|
4
|
+
} from "../chunk-O4E4ISTO.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-WGGEF3XC.js";
|
|
8
|
+
import "../chunk-FWPN4AHK.js";
|
|
9
|
+
import "../chunk-FR7XIHSN.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-5STI67CK.js";
|
|
12
|
+
import "../chunk-JFUTFHB6.js";
|
|
13
|
+
import "../chunk-ZEVNSFFV.js";
|
|
14
|
+
import "../chunk-PHFQV5MO.js";
|
|
15
|
+
import "../chunk-4DTKZQKO.js";
|
|
16
|
+
import "../chunk-FUY7TPTQ.js";
|
|
17
|
+
import "../chunk-LECDW27E.js";
|
|
18
18
|
import "../chunk-BZIBNSQE.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-X3TBNXPX.js";
|
|
20
20
|
import "../chunk-P6DUWKAO.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-SUUATETY.js";
|
|
22
22
|
import "../chunk-3PSNUHC5.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-LS2VJJFJ.js";
|
|
24
|
+
import "../chunk-BYYU5QS3.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-DQGTFUXX.js";
|
|
27
|
+
import "../chunk-LGV3U2KK.js";
|
|
28
|
+
import "../chunk-MRG7AEJA.js";
|
|
29
|
+
import "../chunk-QM3YURHW.js";
|
|
30
|
+
import "../chunk-Q7W4TEWC.js";
|
|
31
|
+
import "../chunk-DGZYM676.js";
|
|
32
|
+
import "../chunk-LXWHMYOS.js";
|
|
33
|
+
import "../chunk-UUMBN6AU.js";
|
|
34
|
+
import "../chunk-A6TVXDTE.js";
|
|
35
|
+
import "../chunk-B3STTU5D.js";
|
|
36
|
+
import "../chunk-YB64X4IQ.js";
|
|
37
37
|
import "../chunk-CINBAX5G.js";
|
|
38
38
|
import "../chunk-PM2NRK6Y.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-RDECWGBJ.js";
|
|
40
40
|
import "../chunk-BG4HHB7E.js";
|
|
41
41
|
import "../chunk-CXQWDQCJ.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-F75727GN.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// bin/pushary-bell-hook.ts
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,42 +5,42 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-O4E4ISTO.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-KCSTT6KQ.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-3XSDSKAX.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-LECDW27E.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-BZIBNSQE.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-MRG7AEJA.js";
|
|
24
|
+
import "../chunk-LXWHMYOS.js";
|
|
25
|
+
import "../chunk-UUMBN6AU.js";
|
|
26
26
|
import {
|
|
27
27
|
claudeSettings
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-A6TVXDTE.js";
|
|
29
|
+
import "../chunk-B3STTU5D.js";
|
|
30
|
+
import "../chunk-YB64X4IQ.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-
|
|
36
|
+
import "../chunk-RDECWGBJ.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-
|
|
43
|
+
} from "../chunk-F75727GN.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-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4SHFFJTL.js";
|
|
5
|
+
import "../chunk-RMWPSYJG.js";
|
|
6
|
+
import "../chunk-WFE2YHWQ.js";
|
|
7
7
|
import {
|
|
8
8
|
createIo
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-KCSTT6KQ.js";
|
|
10
10
|
import {
|
|
11
11
|
exitOnHelpFlag
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-3XSDSKAX.js";
|
|
13
13
|
import {
|
|
14
14
|
parseFlags
|
|
15
15
|
} from "../chunk-BZIBNSQE.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-QM3YURHW.js";
|
|
17
17
|
import {
|
|
18
18
|
pusharyFetch
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-Q7W4TEWC.js";
|
|
20
|
+
import "../chunk-DGZYM676.js";
|
|
21
|
+
import "../chunk-LXWHMYOS.js";
|
|
22
|
+
import "../chunk-UUMBN6AU.js";
|
|
23
|
+
import "../chunk-A6TVXDTE.js";
|
|
24
|
+
import "../chunk-B3STTU5D.js";
|
|
25
25
|
import {
|
|
26
26
|
getApiKey,
|
|
27
27
|
getBaseUrl
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-YB64X4IQ.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-
|
|
36
|
+
} from "../chunk-RDECWGBJ.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-
|
|
46
|
+
} from "../chunk-F75727GN.js";
|
|
47
47
|
import "../chunk-MLKGABMK.js";
|
|
48
48
|
|
|
49
49
|
// bin/pushary-calls.ts
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
scheduleWithTimer
|
|
4
|
+
} from "../chunk-AVFPHV4N.js";
|
|
2
5
|
import {
|
|
3
6
|
WRAPPER_ACTIVE_ENV,
|
|
4
7
|
findClaudeBinary
|
|
@@ -6,30 +9,30 @@ import {
|
|
|
6
9
|
import {
|
|
7
10
|
CommandReceipts,
|
|
8
11
|
controllerCommandSchema
|
|
9
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-VEOVR6Z2.js";
|
|
10
13
|
import {
|
|
11
14
|
SESSION_IDLE_TIMEOUT_MS,
|
|
12
15
|
describeIdleWindow,
|
|
13
16
|
startProcessOwnership,
|
|
14
17
|
withSpawnProcessOwnership
|
|
15
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-2SHEWMGU.js";
|
|
16
19
|
import "../chunk-TCE3J44Z.js";
|
|
17
20
|
import {
|
|
18
21
|
announceSubscriptionRequired,
|
|
19
22
|
isDeferAnswer
|
|
20
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-ECG372D5.js";
|
|
21
24
|
import {
|
|
22
25
|
claudeTranscriptPath,
|
|
23
26
|
redactDraft,
|
|
24
27
|
registerTranscript,
|
|
25
28
|
registeredTranscriptEnabled,
|
|
26
29
|
startDraftPublisher
|
|
27
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-FR7XIHSN.js";
|
|
28
31
|
import "../chunk-WHB622LP.js";
|
|
29
32
|
import {
|
|
30
33
|
ensureDaemonRunning
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-JFUTFHB6.js";
|
|
35
|
+
import "../chunk-ZEVNSFFV.js";
|
|
33
36
|
import {
|
|
34
37
|
DEFAULT_SESSION,
|
|
35
38
|
PHONE_DRIVER,
|
|
@@ -44,24 +47,24 @@ import {
|
|
|
44
47
|
removePendingCommand,
|
|
45
48
|
reportEvent,
|
|
46
49
|
savePendingCommand
|
|
47
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-PHFQV5MO.js";
|
|
48
51
|
import {
|
|
49
52
|
UNNAMED_ACTION,
|
|
50
53
|
deriveToolTarget,
|
|
51
54
|
describeStopFailure,
|
|
52
55
|
describeToolCall,
|
|
53
56
|
scopePathFor
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
+
} from "../chunk-4DTKZQKO.js";
|
|
58
|
+
import "../chunk-FUY7TPTQ.js";
|
|
59
|
+
import "../chunk-LECDW27E.js";
|
|
57
60
|
import "../chunk-BZIBNSQE.js";
|
|
58
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-X3TBNXPX.js";
|
|
59
62
|
import {
|
|
60
63
|
external_exports
|
|
61
64
|
} from "../chunk-P6DUWKAO.js";
|
|
62
65
|
import {
|
|
63
66
|
transcriptsEnabled
|
|
64
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-SUUATETY.js";
|
|
65
68
|
import {
|
|
66
69
|
needsShell,
|
|
67
70
|
spawnClaude
|
|
@@ -79,43 +82,43 @@ import {
|
|
|
79
82
|
waitRetryPauseMs,
|
|
80
83
|
waitsForThePhone,
|
|
81
84
|
withdrawQuestion
|
|
82
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-LS2VJJFJ.js";
|
|
83
86
|
import {
|
|
84
87
|
RETRY_ACK,
|
|
85
88
|
commandAckIsFinal,
|
|
86
89
|
readCommandAck,
|
|
87
90
|
refusedReceiptMessage
|
|
88
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-BYYU5QS3.js";
|
|
89
92
|
import "../chunk-POFBE6ZY.js";
|
|
90
93
|
import {
|
|
91
94
|
SubscriptionRequiredError
|
|
92
|
-
} from "../chunk-
|
|
93
|
-
import "../chunk-
|
|
95
|
+
} from "../chunk-DQGTFUXX.js";
|
|
96
|
+
import "../chunk-LGV3U2KK.js";
|
|
94
97
|
import {
|
|
95
98
|
projectNameFor,
|
|
96
99
|
repoKeyFor,
|
|
97
100
|
repositoryScopeFor
|
|
98
|
-
} from "../chunk-
|
|
99
|
-
import "../chunk-
|
|
100
|
-
import "../chunk-
|
|
101
|
+
} from "../chunk-MRG7AEJA.js";
|
|
102
|
+
import "../chunk-QM3YURHW.js";
|
|
103
|
+
import "../chunk-Q7W4TEWC.js";
|
|
101
104
|
import {
|
|
102
105
|
getMachineId
|
|
103
|
-
} from "../chunk-
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-
|
|
106
|
+
} from "../chunk-DGZYM676.js";
|
|
107
|
+
import "../chunk-LXWHMYOS.js";
|
|
108
|
+
import "../chunk-UUMBN6AU.js";
|
|
106
109
|
import {
|
|
107
110
|
claudeConfigDir
|
|
108
|
-
} from "../chunk-
|
|
109
|
-
import "../chunk-
|
|
111
|
+
} from "../chunk-A6TVXDTE.js";
|
|
112
|
+
import "../chunk-B3STTU5D.js";
|
|
110
113
|
import {
|
|
111
114
|
getApiKey,
|
|
112
115
|
getBaseUrl
|
|
113
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-YB64X4IQ.js";
|
|
114
117
|
import "../chunk-CINBAX5G.js";
|
|
115
118
|
import "../chunk-PM2NRK6Y.js";
|
|
116
119
|
import {
|
|
117
120
|
NPX_LATEST_COMMAND
|
|
118
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-RDECWGBJ.js";
|
|
119
122
|
import "../chunk-BG4HHB7E.js";
|
|
120
123
|
import "../chunk-CXQWDQCJ.js";
|
|
121
124
|
import {
|
|
@@ -130,7 +133,7 @@ import {
|
|
|
130
133
|
refusesWhenUnanswered,
|
|
131
134
|
resolveGate,
|
|
132
135
|
timeoutActionWithoutLocalPrompt
|
|
133
|
-
} from "../chunk-
|
|
136
|
+
} from "../chunk-F75727GN.js";
|
|
134
137
|
import "../chunk-MLKGABMK.js";
|
|
135
138
|
|
|
136
139
|
// src/wrapper/localPassthrough.ts
|
|
@@ -1439,11 +1442,6 @@ var runLocalLeg = (session, deps = {}) => {
|
|
|
1439
1442
|
|
|
1440
1443
|
// src/wrapper/remoteLoop.ts
|
|
1441
1444
|
var errMsg = (err) => err instanceof Error ? err.message : String(err);
|
|
1442
|
-
var scheduleWithTimer = (fire, delayMs) => {
|
|
1443
|
-
const timer = setTimeout(fire, delayMs);
|
|
1444
|
-
timer.unref?.();
|
|
1445
|
-
return () => clearTimeout(timer);
|
|
1446
|
-
};
|
|
1447
1445
|
var isTurnActivity = (message) => message.type !== "system" && message.type !== "result";
|
|
1448
1446
|
var isInit = (message) => message.type === "system" && message.subtype === "init";
|
|
1449
1447
|
var DEFAULT_MAX_RESTARTS = 5;
|