@pushary/agent-hooks 1.9.162 → 1.9.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/{api-7NPCSUGY.js → api-D4SZ2E5J.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 +11 -11
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +38 -38
- 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 +34 -34
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +45 -45
- package/dist/bin/pushary-disconnect.js +29 -29
- package/dist/bin/pushary-display-hook.js +6 -1
- package/dist/bin/pushary-doctor.js +46 -46
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +17 -17
- 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 +29 -29
- 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-hook.js +124 -75
- 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 +38 -38
- package/dist/bin/pushary-setup.js +54 -54
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +35 -35
- 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 +43 -43
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-QKNHNDOY.js → chunk-2FLJZICI.js} +2 -2
- package/dist/{chunk-GJOHGES6.js → chunk-2J3IIFS3.js} +2 -2
- package/dist/{chunk-PIIKLAFY.js → chunk-2KZZZ4JK.js} +3 -3
- package/dist/{chunk-L44II2WD.js → chunk-3CLLJJJ2.js} +5 -5
- package/dist/{chunk-UBY7NJCU.js → chunk-3GWMSKFY.js} +18 -18
- package/dist/{chunk-4IBUBMMP.js → chunk-3I5IFXHF.js} +1 -1
- package/dist/{chunk-NX3Y36VY.js → chunk-5I34FSSW.js} +6 -6
- package/dist/{chunk-L6BMVCQQ.js → chunk-635I27L4.js} +3 -3
- package/dist/{chunk-VGLIGBAJ.js → chunk-67CGCPI4.js} +2 -2
- package/dist/{chunk-YPG3RXWO.js → chunk-6OBGKICP.js} +3 -3
- package/dist/{chunk-LGR7WXI5.js → chunk-6QLOTNO2.js} +2 -2
- package/dist/{chunk-RUAGEPUJ.js → chunk-6ZGXNEBA.js} +5 -5
- package/dist/{chunk-WCWWO5QL.js → chunk-7HXO72HS.js} +1 -1
- package/dist/{chunk-44DRCGP2.js → chunk-7JO3NNIQ.js} +2 -2
- package/dist/{chunk-AP26EU5H.js → chunk-7PMCRTPW.js} +3 -3
- package/dist/{chunk-ZWNFP4HZ.js → chunk-7TQXWAOZ.js} +1 -1
- package/dist/{chunk-V3TWYF32.js → chunk-7WHUMPWM.js} +1 -1
- package/dist/{chunk-LVRFOGQY.js → chunk-7X7ZTLIN.js} +11 -11
- package/dist/{chunk-72SYV43F.js → chunk-7YUKURRZ.js} +1 -1
- package/dist/{chunk-YUF3AYAP.js → chunk-A4IK6JTC.js} +4 -4
- package/dist/{chunk-X5QSIMXA.js → chunk-ANMVHKNK.js} +3 -3
- package/dist/{chunk-L3LFCZ5D.js → chunk-BFMILGSX.js} +3 -3
- package/dist/{chunk-I5ANEYUK.js → chunk-BOJWXETW.js} +1 -1
- package/dist/{chunk-FIR2MGSB.js → chunk-C2PGBMTH.js} +1 -1
- package/dist/{chunk-H7OY4AAT.js → chunk-D3KD7K3N.js} +4 -4
- package/dist/{chunk-SFYX32FX.js → chunk-DFGHHYS5.js} +4 -4
- package/dist/{chunk-UPCIKGWA.js → chunk-EANTIGY7.js} +1 -1
- package/dist/{chunk-4U3GYVIW.js → chunk-GNCFKXQS.js} +2 -2
- package/dist/{chunk-Z23SHFIC.js → chunk-I2FH4E6H.js} +2 -2
- package/dist/{chunk-I35XT5YY.js → chunk-I4BIOADS.js} +4 -4
- package/dist/{chunk-CWH4LBUW.js → chunk-IEENAYGT.js} +1 -1
- package/dist/{chunk-DSWUG4NV.js → chunk-IGBKHRCZ.js} +1 -1
- package/dist/{chunk-6QQUGYH6.js → chunk-ILBNQX44.js} +5 -5
- package/dist/{chunk-LQDIOUVU.js → chunk-ILGAR7DW.js} +134 -8
- package/dist/{chunk-BMOGTNLK.js → chunk-ITGM5QW4.js} +6 -6
- package/dist/{chunk-ZC42UG7B.js → chunk-JAE5ULC6.js} +5 -5
- package/dist/{chunk-5ZS73ZLX.js → chunk-JARCCL3M.js} +2 -2
- package/dist/{chunk-644AKJMN.js → chunk-JLGZGITL.js} +2 -2
- package/dist/{chunk-M74WT5NA.js → chunk-KYBVLSMT.js} +3 -3
- package/dist/{chunk-WWSR5LMP.js → chunk-L2NGVERQ.js} +1 -1
- package/dist/{chunk-CSDB5VTI.js → chunk-L4HJSUP7.js} +1 -1
- package/dist/{chunk-EKELMI3A.js → chunk-L54D5IIR.js} +24 -14
- package/dist/{chunk-XOSSXRIR.js → chunk-LDEZYH7Y.js} +10 -10
- package/dist/{chunk-RKURAOFK.js → chunk-LFS3PX7S.js} +4 -4
- package/dist/{chunk-JCTS7COD.js → chunk-LJSRMA5C.js} +5 -5
- package/dist/{chunk-TUXX7TKR.js → chunk-MN2FFBYE.js} +2 -2
- package/dist/{chunk-YEVRMDG7.js → chunk-MTB52RSH.js} +2 -2
- package/dist/{chunk-5TU26542.js → chunk-MYN6FNBS.js} +3 -3
- package/dist/{chunk-SKA3U7QI.js → chunk-NCZ7MLNW.js} +9 -9
- package/dist/{chunk-EPQTCF6A.js → chunk-NEGPZ3DO.js} +2 -2
- package/dist/{chunk-VUGF2OC7.js → chunk-NN2RZ2UB.js} +3 -3
- package/dist/{chunk-J6KDUXJF.js → chunk-NUHIGW7H.js} +1 -1
- package/dist/{chunk-AQKMKVAD.js → chunk-NXTAXFQS.js} +8 -8
- package/dist/{chunk-W3FE7GTH.js → chunk-NYCN3CCK.js} +1 -1
- package/dist/{chunk-IUXXEM4Q.js → chunk-OJRX6UVD.js} +7 -7
- package/dist/{chunk-U4LHE5DH.js → chunk-OPN6FWMG.js} +1 -1
- package/dist/{chunk-Y3ELKLNH.js → chunk-QV5HMBT4.js} +12 -12
- package/dist/{chunk-SVVZFXDX.js → chunk-R23ZNBJU.js} +6 -6
- package/dist/{chunk-ZT55PJSW.js → chunk-RN4Z5BQJ.js} +3 -3
- package/dist/{chunk-YH6EHCKQ.js → chunk-RZRBXDGN.js} +6 -6
- package/dist/{chunk-BHT76IIB.js → chunk-SIZBYHXW.js} +4 -4
- package/dist/{chunk-G5IL6C6S.js → chunk-TBDSTEO3.js} +3 -3
- package/dist/{chunk-SRSXZINE.js → chunk-TVXGBUOL.js} +1 -1
- package/dist/{chunk-A5DXHJVS.js → chunk-U6NNLBWJ.js} +5 -5
- package/dist/{chunk-OH2WAG47.js → chunk-UM4RAZPH.js} +1 -1
- package/dist/{chunk-I5HCOOAA.js → chunk-VDNKX5OF.js} +5 -5
- package/dist/{chunk-53IBMDX2.js → chunk-WIVLMIJ6.js} +4 -4
- package/dist/{chunk-SVWCMYR7.js → chunk-WTUQEQ54.js} +27 -13
- package/dist/{chunk-L6NG6EZS.js → chunk-X4YQCI5T.js} +1 -1
- package/dist/{chunk-G6M6YJK4.js → chunk-X6YYQZW7.js} +1 -1
- package/dist/{chunk-XIICM4TX.js → chunk-X7IIWYAG.js} +1 -1
- package/dist/{chunk-TMDCIVZ2.js → chunk-XRAUQWLP.js} +5 -5
- package/dist/{chunk-DAMTDSAE.js → chunk-Y3QV3VYX.js} +1 -1
- package/dist/{chunk-WIFMTEQI.js → chunk-YENSTBQI.js} +1 -1
- package/dist/{chunk-EFKJCBWA.js → chunk-YLR6QHCH.js} +6 -6
- package/dist/{chunk-SQ4RPZ6O.js → chunk-YORHQJ5M.js} +4 -4
- package/dist/{chunk-P4KAYIMX.js → chunk-YQ67XWMM.js} +4 -4
- package/dist/{chunk-2H7SDIM7.js → chunk-ZB5O3LKY.js} +1 -1
- package/dist/{chunk-M2ZGNZRS.js → chunk-ZEPOIQ4H.js} +9 -0
- package/dist/{chunk-HAOYL5JP.js → chunk-ZPFENH7C.js} +39 -9
- package/dist/{codex-app-cards-switch-PJEY3EU5.js → codex-app-cards-switch-BOIE5IZL.js} +11 -11
- package/dist/{codex-card-routing-MNAMCRPO.js → codex-card-routing-B2ZI4WRI.js} +2 -2
- package/dist/{codex-desktop-launch-AUNDRYOL.js → codex-desktop-launch-LBL2LPS7.js} +1 -1
- package/dist/{codex-session-launch-IZNSTT7N.js → codex-session-launch-7WVCWASC.js} +20 -20
- package/dist/{config-LG2RJO37.js → config-S53I5YNR.js} +3 -3
- package/dist/{global-upgrade-QE5Q3BYW.js → global-upgrade-ND726NHJ.js} +9 -9
- package/dist/{identity-3BT6LWOP.js → identity-3G66JTAR.js} +4 -4
- package/dist/{live-capabilities-IKTQBLVH.js → live-capabilities-76C2DKTY.js} +4 -4
- package/dist/{paths-VEUTZJOY.js → paths-O3CZR2BV.js} +3 -3
- package/dist/{reapply-BC2AF55M.js → reapply-TEATBGFG.js} +31 -31
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-NUGEPR75.js → upgrade-lock-PDCUHFRW.js} +6 -4
- package/dist/{usage-TEB5CX2Y.js → usage-DFCL7TQU.js} +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.164
|
|
4
|
+
|
|
5
|
+
- On macOS and Linux, setup and `pushary upgrade`, and automatic updates on macOS, clear an install lock left marked "installation pending" once the process that started that installation has exited, the lock is more than an hour old, and the process list shows no npm install of Pushary still running. Before, nothing cleared it, so every setup, upgrade and daily update failed with "An earlier installation did not finish safely" until you deleted `~/.pushary/auto-update.lock` yourself. Pushary reads the process list with `ps` and keeps the lock while any npm `install` or `update` naming `pushary` or `@pushary/agent-hooks` is running, global or not, or a process runs from a dependency folder inside the installed package. The process doing the check and the shells that started it do not count, so `npm i -g pushary@latest && pushary setup` does not block its own setup. It also keeps the lock while the starting process is running, within the hour, for a lock dated in the future, and when `ps` cannot be read. Each refusal says which of these is holding it and how to retry sooner. The check reads command lines, so it still misses an installer that does not look like an npm install of Pushary, such as a renamed process, an install from a tarball path, or another package manager. On Windows the lock still stays until you remove it. This reverses part of 1.9.154 (#2828), which kept such a lock for good because elapsed time and an exited process do not prove npm stopped; the process list is the evidence Pushary now uses. A machine that 1.9.154 to 1.9.161 already left stuck clears the first time this release or a later one runs setup or upgrade there, for example `npx pushary@latest setup`; until then its daily update runs the older release and still fails.
|
|
6
|
+
- When npm's dry run before an install fails, from a dropped connection, a rejected token, a missing release or a timeout, Pushary reports npm's error and neither starts the install nor marks the lock. Before, it went on to the real install, which failed the same way and left the lock stuck. The dry run now gets the install's own time limit, 120 seconds, instead of 30, and an automatic update whose dry run fails records npm's error after that one dry run instead of trying a second. The install still goes ahead when the dry run could not start, or finished without naming a release.
|
|
7
|
+
- On npm 11.17.0, 11.18.0, 12.0.0 and 12.0.1, `npm pack` ignores `min-release-age-exclude` while `npm install -g` honors it. When that list names the package exactly, or as `@pushary/*` for `@pushary/agent-hooks` (a scope pattern does not cover the unscoped `pushary`), setup and `pushary upgrade` now install it instead of reporting a release-age refusal, and automatic updates install the newest published release instead of the newest one old enough for `min-release-age`. Pushary reads the list with `npm config get min-release-age-exclude --global`, only after npm held a release back.
|
|
8
|
+
|
|
9
|
+
## 1.9.163
|
|
10
|
+
|
|
11
|
+
- OpenCode: more of OpenCode's questions reach your phone. Before, only a single question with two to four options, a free answer or a yes/no did, and every other question stayed in OpenCode with nothing on your phone. Now a question with five or six options shows on the phone as a plain list to pick from, without the option descriptions or an Other box, and your pick fills in OpenCode's prompt. A call with two to four questions is asked on the phone one question at a time; once you have answered them all, the answers fill in OpenCode's prompt together, and answering in OpenCode first withdraws the question still open on the phone and asks no more. A question the phone still cannot show, such as one with a single option, seven or more options, or a multi-select with more than four, now sends one notification, `OpenCode is asking: ... Answer it in OpenCode.`, or `OpenCode is asking 3 questions, starting with: ... Answer them in OpenCode.` for a call with several. These questions follow the kill switch, a standing deny and Terminal mode like any other OpenCode question; before, the kill switch did not dismiss them.
|
|
12
|
+
- A question with five or six options to pick one from goes to the phone as the plain list when the rich question card cannot show it, instead of failing to reach the phone. Besides OpenCode, this covers Qoder, CodeBuddy and Droid when they send Claude Code's question format with more than four options. A multi-select with more than four options still does not reach the phone, as before. Claude Code and Codex questions, which have at most four options, are unchanged.
|
|
13
|
+
|
|
3
14
|
## 1.9.162
|
|
4
15
|
|
|
5
16
|
- Codex: a batch of parallel calls no longer gets calls turned away unasked. Codex can send many calls at once, and Pushary allows eight open questions per session. Before, every call past the eighth was refused at once, and Codex was told nobody was asked and the call did not run. Now such a call waits for a free place: 5 seconds after each refusal it checks your rules and asks again, for at most 30 seconds and at most one phone window, and only while a whole phone window still fits in the time Codex gives the hook. A place frees as soon as someone answers one of the open questions, or when one of them runs out of time. Once the call is asked, it follows your rule like any other question, including a rule that approves when nobody answers. If no place frees in time, the call is refused as before, and never approved.
|
|
@@ -21,25 +21,25 @@ import {
|
|
|
21
21
|
waitRetryPauseMs,
|
|
22
22
|
waitsForThePhone,
|
|
23
23
|
withdrawQuestion
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RZRBXDGN.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-
|
|
26
|
+
import "./chunk-ILBNQX44.js";
|
|
27
|
+
import "./chunk-YENSTBQI.js";
|
|
28
|
+
import "./chunk-635I27L4.js";
|
|
29
|
+
import "./chunk-NN2RZ2UB.js";
|
|
30
|
+
import "./chunk-IGBKHRCZ.js";
|
|
31
|
+
import "./chunk-MN2FFBYE.js";
|
|
32
|
+
import "./chunk-ZPFENH7C.js";
|
|
33
|
+
import "./chunk-Y3QV3VYX.js";
|
|
34
34
|
import "./chunk-YU2EUD7O.js";
|
|
35
35
|
import "./chunk-TODDEIYG.js";
|
|
36
36
|
import "./chunk-BG4HHB7E.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-BOJWXETW.js";
|
|
38
38
|
import "./chunk-UQTQ6HPO.js";
|
|
39
39
|
import {
|
|
40
40
|
DECISION_STOP_REASON,
|
|
41
41
|
UNVERIFIABLE_APPROVAL_REASON
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZEPOIQ4H.js";
|
|
43
43
|
import "./chunk-MLKGABMK.js";
|
|
44
44
|
export {
|
|
45
45
|
ABANDONED_WAIT,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-X7IIWYAG.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-
|
|
12
|
+
import "../chunk-BOJWXETW.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-
|
|
25
|
+
} from "../chunk-ZEPOIQ4H.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-EANTIGY7.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-3CLLJJJ2.js";
|
|
8
|
+
import "../chunk-YQ67XWMM.js";
|
|
9
|
+
import "../chunk-LDEZYH7Y.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-XRAUQWLP.js";
|
|
12
|
+
import "../chunk-YLR6QHCH.js";
|
|
13
|
+
import "../chunk-D3KD7K3N.js";
|
|
14
|
+
import "../chunk-QV5HMBT4.js";
|
|
15
|
+
import "../chunk-X6YYQZW7.js";
|
|
16
|
+
import "../chunk-NUHIGW7H.js";
|
|
17
|
+
import "../chunk-7WHUMPWM.js";
|
|
18
18
|
import "../chunk-YPY4YCIZ.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-2KZZZ4JK.js";
|
|
20
20
|
import "../chunk-352FIVVH.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-NYCN3CCK.js";
|
|
22
22
|
import "../chunk-Y6ILCLKE.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-C2PGBMTH.js";
|
|
24
|
+
import "../chunk-RZRBXDGN.js";
|
|
25
|
+
import "../chunk-UM4RAZPH.js";
|
|
26
26
|
import "../chunk-POFBE6ZY.js";
|
|
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-
|
|
27
|
+
import "../chunk-ILBNQX44.js";
|
|
28
|
+
import "../chunk-YENSTBQI.js";
|
|
29
|
+
import "../chunk-635I27L4.js";
|
|
30
|
+
import "../chunk-NN2RZ2UB.js";
|
|
31
|
+
import "../chunk-IGBKHRCZ.js";
|
|
32
|
+
import "../chunk-KYBVLSMT.js";
|
|
33
|
+
import "../chunk-MTB52RSH.js";
|
|
34
|
+
import "../chunk-MN2FFBYE.js";
|
|
35
|
+
import "../chunk-ZPFENH7C.js";
|
|
36
|
+
import "../chunk-Y3QV3VYX.js";
|
|
37
37
|
import "../chunk-YU2EUD7O.js";
|
|
38
38
|
import "../chunk-TODDEIYG.js";
|
|
39
39
|
import "../chunk-BG4HHB7E.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-BOJWXETW.js";
|
|
41
41
|
import "../chunk-UQTQ6HPO.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-ZEPOIQ4H.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// bin/pushary-bell-hook.ts
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EANTIGY7.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-7HXO72HS.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-X7IIWYAG.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-7WHUMPWM.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-YPY4YCIZ.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-KYBVLSMT.js";
|
|
24
|
+
import "../chunk-MTB52RSH.js";
|
|
25
25
|
import {
|
|
26
26
|
claudeSettings
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-MN2FFBYE.js";
|
|
28
|
+
import "../chunk-ZPFENH7C.js";
|
|
29
|
+
import "../chunk-Y3QV3VYX.js";
|
|
30
30
|
import "../chunk-YU2EUD7O.js";
|
|
31
31
|
import {
|
|
32
32
|
readJsonSafe,
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
import {
|
|
36
36
|
EXIT
|
|
37
37
|
} from "../chunk-BG4HHB7E.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-BOJWXETW.js";
|
|
39
39
|
import "../chunk-UQTQ6HPO.js";
|
|
40
40
|
import {
|
|
41
41
|
isRecord
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-ZEPOIQ4H.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// 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-OJRX6UVD.js";
|
|
5
|
+
import "../chunk-7JO3NNIQ.js";
|
|
6
|
+
import "../chunk-2J3IIFS3.js";
|
|
7
7
|
import {
|
|
8
8
|
createIo
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7HXO72HS.js";
|
|
10
10
|
import {
|
|
11
11
|
exitOnHelpFlag
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-X7IIWYAG.js";
|
|
13
13
|
import {
|
|
14
14
|
parseFlags
|
|
15
15
|
} from "../chunk-YPY4YCIZ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-635I27L4.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-NN2RZ2UB.js";
|
|
20
|
+
import "../chunk-IGBKHRCZ.js";
|
|
21
|
+
import "../chunk-KYBVLSMT.js";
|
|
22
|
+
import "../chunk-MTB52RSH.js";
|
|
23
|
+
import "../chunk-MN2FFBYE.js";
|
|
24
|
+
import "../chunk-ZPFENH7C.js";
|
|
25
25
|
import {
|
|
26
26
|
getApiKey,
|
|
27
27
|
getBaseUrl
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-Y3QV3VYX.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-
|
|
39
|
+
} from "../chunk-BOJWXETW.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-
|
|
46
|
+
} from "../chunk-ZEPOIQ4H.js";
|
|
47
47
|
import "../chunk-MLKGABMK.js";
|
|
48
48
|
|
|
49
49
|
// bin/pushary-calls.ts
|
|
@@ -6,30 +6,30 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CommandReceipts,
|
|
8
8
|
controllerCommandSchema
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7TQXWAOZ.js";
|
|
10
10
|
import {
|
|
11
11
|
SESSION_IDLE_TIMEOUT_MS,
|
|
12
12
|
describeIdleWindow,
|
|
13
13
|
startProcessOwnership,
|
|
14
14
|
withSpawnProcessOwnership
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-6QLOTNO2.js";
|
|
16
16
|
import "../chunk-CYTPQDQY.js";
|
|
17
17
|
import {
|
|
18
18
|
announceSubscriptionRequired,
|
|
19
19
|
isDeferAnswer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-IEENAYGT.js";
|
|
21
21
|
import {
|
|
22
22
|
claudeTranscriptPath,
|
|
23
23
|
redactDraft,
|
|
24
24
|
registerTranscript,
|
|
25
25
|
registeredTranscriptEnabled,
|
|
26
26
|
startDraftPublisher
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-LDEZYH7Y.js";
|
|
28
28
|
import "../chunk-WHB622LP.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureDaemonRunning
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-YLR6QHCH.js";
|
|
32
|
+
import "../chunk-D3KD7K3N.js";
|
|
33
33
|
import {
|
|
34
34
|
DEFAULT_SESSION,
|
|
35
35
|
PHONE_DRIVER,
|
|
@@ -44,24 +44,24 @@ import {
|
|
|
44
44
|
removePendingCommand,
|
|
45
45
|
reportEvent,
|
|
46
46
|
savePendingCommand
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-QV5HMBT4.js";
|
|
48
48
|
import {
|
|
49
49
|
UNNAMED_ACTION,
|
|
50
50
|
deriveToolTarget,
|
|
51
51
|
describeStopFailure,
|
|
52
52
|
describeToolCall,
|
|
53
53
|
scopePathFor
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-X6YYQZW7.js";
|
|
55
|
+
import "../chunk-NUHIGW7H.js";
|
|
56
|
+
import "../chunk-7WHUMPWM.js";
|
|
57
57
|
import "../chunk-YPY4YCIZ.js";
|
|
58
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-2KZZZ4JK.js";
|
|
59
59
|
import {
|
|
60
60
|
external_exports
|
|
61
61
|
} from "../chunk-352FIVVH.js";
|
|
62
62
|
import {
|
|
63
63
|
transcriptsEnabled
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-NYCN3CCK.js";
|
|
65
65
|
import {
|
|
66
66
|
needsShell,
|
|
67
67
|
spawnClaude
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
repoKeyFor,
|
|
71
71
|
repositoryScopeFor
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-C2PGBMTH.js";
|
|
73
73
|
import {
|
|
74
74
|
askUser,
|
|
75
75
|
cancelQuestion,
|
|
@@ -83,39 +83,39 @@ import {
|
|
|
83
83
|
waitRetryPauseMs,
|
|
84
84
|
waitsForThePhone,
|
|
85
85
|
withdrawQuestion
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-RZRBXDGN.js";
|
|
87
87
|
import {
|
|
88
88
|
RETRY_ACK,
|
|
89
89
|
commandAckIsFinal,
|
|
90
90
|
readCommandAck,
|
|
91
91
|
refusedReceiptMessage
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-UM4RAZPH.js";
|
|
93
93
|
import "../chunk-POFBE6ZY.js";
|
|
94
94
|
import {
|
|
95
95
|
SubscriptionRequiredError
|
|
96
|
-
} from "../chunk-
|
|
97
|
-
import "../chunk-
|
|
98
|
-
import "../chunk-
|
|
99
|
-
import "../chunk-
|
|
96
|
+
} from "../chunk-ILBNQX44.js";
|
|
97
|
+
import "../chunk-YENSTBQI.js";
|
|
98
|
+
import "../chunk-635I27L4.js";
|
|
99
|
+
import "../chunk-NN2RZ2UB.js";
|
|
100
100
|
import {
|
|
101
101
|
getMachineId
|
|
102
|
-
} from "../chunk-
|
|
103
|
-
import "../chunk-
|
|
104
|
-
import "../chunk-
|
|
102
|
+
} from "../chunk-IGBKHRCZ.js";
|
|
103
|
+
import "../chunk-KYBVLSMT.js";
|
|
104
|
+
import "../chunk-MTB52RSH.js";
|
|
105
105
|
import {
|
|
106
106
|
claudeConfigDir
|
|
107
|
-
} from "../chunk-
|
|
108
|
-
import "../chunk-
|
|
107
|
+
} from "../chunk-MN2FFBYE.js";
|
|
108
|
+
import "../chunk-ZPFENH7C.js";
|
|
109
109
|
import {
|
|
110
110
|
getApiKey,
|
|
111
111
|
getBaseUrl
|
|
112
|
-
} from "../chunk-
|
|
112
|
+
} from "../chunk-Y3QV3VYX.js";
|
|
113
113
|
import "../chunk-YU2EUD7O.js";
|
|
114
114
|
import "../chunk-TODDEIYG.js";
|
|
115
115
|
import "../chunk-BG4HHB7E.js";
|
|
116
116
|
import {
|
|
117
117
|
NPX_LATEST_COMMAND
|
|
118
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-BOJWXETW.js";
|
|
119
119
|
import "../chunk-UQTQ6HPO.js";
|
|
120
120
|
import {
|
|
121
121
|
DECISION_STOP_REASON,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
refusesWhenUnanswered,
|
|
130
130
|
resolveGate,
|
|
131
131
|
timeoutActionWithoutLocalPrompt
|
|
132
|
-
} from "../chunk-
|
|
132
|
+
} from "../chunk-ZEPOIQ4H.js";
|
|
133
133
|
import "../chunk-MLKGABMK.js";
|
|
134
134
|
|
|
135
135
|
// src/wrapper/localPassthrough.ts
|
|
@@ -15,31 +15,31 @@ import {
|
|
|
15
15
|
storedMacAppState,
|
|
16
16
|
storedPusharyKeychainServices,
|
|
17
17
|
waitForMacAppExit
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-67CGCPI4.js";
|
|
19
19
|
import {
|
|
20
20
|
PUSHARY_SKILL_NAME,
|
|
21
21
|
PUSHARY_SKILL_SOURCE,
|
|
22
22
|
createGuards
|
|
23
23
|
} from "../chunk-XR27HPYC.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-TBDSTEO3.js";
|
|
25
25
|
import "../chunk-XCEN33UP.js";
|
|
26
26
|
import {
|
|
27
27
|
describeCliKeyRevocation,
|
|
28
28
|
planCliKeyRevocations,
|
|
29
29
|
readCliHeldKeys,
|
|
30
30
|
revokeCliKeys
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-LJSRMA5C.js";
|
|
32
32
|
import "../chunk-U4P4NDVB.js";
|
|
33
33
|
import {
|
|
34
34
|
isCursorPluginLeftover,
|
|
35
35
|
releaseSoleGate,
|
|
36
36
|
withoutPusharyCursorHooks
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-SIZBYHXW.js";
|
|
38
38
|
import {
|
|
39
39
|
shortenHome,
|
|
40
40
|
unregisterPluginLocation,
|
|
41
41
|
vscodeSettingsTargets
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-JAE5ULC6.js";
|
|
43
43
|
import "../chunk-OYIN77HO.js";
|
|
44
44
|
import {
|
|
45
45
|
configFileHoldsMacAppKey,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
pusharyKey,
|
|
49
49
|
readMacAppAgentKey,
|
|
50
50
|
setupReceiptKey
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-YORHQJ5M.js";
|
|
52
52
|
import {
|
|
53
53
|
HERMES_CONFIG_FILE,
|
|
54
54
|
defaultHermesHome,
|
|
@@ -57,18 +57,18 @@ import {
|
|
|
57
57
|
openClawRemovalLeavesThePluginInstalled,
|
|
58
58
|
removeHermesWiring,
|
|
59
59
|
removeOpenClawPlugin
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-I4BIOADS.js";
|
|
61
61
|
import "../chunk-QCGNGEGE.js";
|
|
62
62
|
import {
|
|
63
63
|
OPENCLAW_PLUGIN_PACKAGE
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-ANMVHKNK.js";
|
|
65
65
|
import {
|
|
66
66
|
planClineRemoval,
|
|
67
67
|
planFxRemoval,
|
|
68
68
|
removeClineServer
|
|
69
|
-
} from "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
69
|
+
} from "../chunk-VDNKX5OF.js";
|
|
70
|
+
import "../chunk-6OBGKICP.js";
|
|
71
|
+
import "../chunk-7PMCRTPW.js";
|
|
72
72
|
import {
|
|
73
73
|
OPENCODE_ASKED_PERMISSIONS,
|
|
74
74
|
hasForeignPlugins,
|
|
@@ -79,20 +79,20 @@ import {
|
|
|
79
79
|
openCodePluginDir,
|
|
80
80
|
openCodePluginFile,
|
|
81
81
|
removeOpenCodeMcpServer
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-5I34FSSW.js";
|
|
83
83
|
import {
|
|
84
84
|
OPENCODE_PLUGIN_SIBLING,
|
|
85
85
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
86
86
|
isOpenCodePluginOurs
|
|
87
|
-
} from "../chunk-
|
|
88
|
-
import "../chunk-
|
|
87
|
+
} from "../chunk-3I5IFXHF.js";
|
|
88
|
+
import "../chunk-2J3IIFS3.js";
|
|
89
89
|
import {
|
|
90
90
|
ansiPainter,
|
|
91
91
|
useColor
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-7HXO72HS.js";
|
|
93
93
|
import {
|
|
94
94
|
exitOnHelpFlag
|
|
95
|
-
} from "../chunk-
|
|
95
|
+
} from "../chunk-X7IIWYAG.js";
|
|
96
96
|
import "../chunk-CYTPQDQY.js";
|
|
97
97
|
import {
|
|
98
98
|
compatibleConfigFile,
|
|
@@ -105,41 +105,41 @@ import {
|
|
|
105
105
|
removeCompatibleHooks,
|
|
106
106
|
removeCompatibleMcpServer,
|
|
107
107
|
serializeConfigDocument
|
|
108
|
-
} from "../chunk-
|
|
108
|
+
} from "../chunk-XRAUQWLP.js";
|
|
109
109
|
import {
|
|
110
110
|
disableDaemonService
|
|
111
|
-
} from "../chunk-
|
|
111
|
+
} from "../chunk-YLR6QHCH.js";
|
|
112
112
|
import {
|
|
113
113
|
hookOwnerOf,
|
|
114
114
|
isHookTakeoverReceipt,
|
|
115
115
|
removeGeminiSettings,
|
|
116
116
|
restoreHookTakeover,
|
|
117
117
|
restoreMcpServer
|
|
118
|
-
} from "../chunk-
|
|
119
|
-
import "../chunk-
|
|
120
|
-
import "../chunk-
|
|
121
|
-
import "../chunk-
|
|
122
|
-
import "../chunk-
|
|
118
|
+
} from "../chunk-D3KD7K3N.js";
|
|
119
|
+
import "../chunk-QV5HMBT4.js";
|
|
120
|
+
import "../chunk-X6YYQZW7.js";
|
|
121
|
+
import "../chunk-NUHIGW7H.js";
|
|
122
|
+
import "../chunk-7WHUMPWM.js";
|
|
123
123
|
import {
|
|
124
124
|
parseFlags
|
|
125
125
|
} from "../chunk-YPY4YCIZ.js";
|
|
126
126
|
import "../chunk-Y6ILCLKE.js";
|
|
127
|
-
import "../chunk-
|
|
128
|
-
import "../chunk-
|
|
129
|
-
import "../chunk-
|
|
127
|
+
import "../chunk-C2PGBMTH.js";
|
|
128
|
+
import "../chunk-RZRBXDGN.js";
|
|
129
|
+
import "../chunk-UM4RAZPH.js";
|
|
130
130
|
import "../chunk-POFBE6ZY.js";
|
|
131
|
-
import "../chunk-
|
|
132
|
-
import "../chunk-
|
|
133
|
-
import "../chunk-
|
|
134
|
-
import "../chunk-
|
|
135
|
-
import "../chunk-
|
|
131
|
+
import "../chunk-ILBNQX44.js";
|
|
132
|
+
import "../chunk-YENSTBQI.js";
|
|
133
|
+
import "../chunk-635I27L4.js";
|
|
134
|
+
import "../chunk-NN2RZ2UB.js";
|
|
135
|
+
import "../chunk-IGBKHRCZ.js";
|
|
136
136
|
import {
|
|
137
137
|
CANDIDATE_RCS,
|
|
138
138
|
isDisabledExport,
|
|
139
139
|
removeClaudeAlias,
|
|
140
140
|
shellProfileCandidates
|
|
141
|
-
} from "../chunk-
|
|
142
|
-
import "../chunk-
|
|
141
|
+
} from "../chunk-KYBVLSMT.js";
|
|
142
|
+
import "../chunk-MTB52RSH.js";
|
|
143
143
|
import {
|
|
144
144
|
claudeConfigDir,
|
|
145
145
|
claudeJson,
|
|
@@ -184,17 +184,17 @@ import {
|
|
|
184
184
|
restoreCodexHookTrust,
|
|
185
185
|
vscodePluginDir,
|
|
186
186
|
vscodePluginMcp
|
|
187
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-MN2FFBYE.js";
|
|
188
188
|
import {
|
|
189
189
|
cleanNpmEnv,
|
|
190
190
|
globalPackageState,
|
|
191
191
|
npmIsOnPath,
|
|
192
192
|
readGlobalFolder,
|
|
193
193
|
readGlobalPrefix
|
|
194
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-ZPFENH7C.js";
|
|
195
195
|
import {
|
|
196
196
|
getBaseUrl
|
|
197
|
-
} from "../chunk-
|
|
197
|
+
} from "../chunk-Y3QV3VYX.js";
|
|
198
198
|
import "../chunk-YU2EUD7O.js";
|
|
199
199
|
import "../chunk-TODDEIYG.js";
|
|
200
200
|
import {
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
} from "../chunk-BG4HHB7E.js";
|
|
203
203
|
import {
|
|
204
204
|
NPX_LATEST_COMMAND
|
|
205
|
-
} from "../chunk-
|
|
205
|
+
} from "../chunk-BOJWXETW.js";
|
|
206
206
|
import {
|
|
207
207
|
CLI_PACKAGE_NAMES,
|
|
208
208
|
globalPackageFolder,
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
SUPPORT_EMAIL,
|
|
217
217
|
isValidApiKey,
|
|
218
218
|
redactSecrets
|
|
219
|
-
} from "../chunk-
|
|
219
|
+
} from "../chunk-ZEPOIQ4H.js";
|
|
220
220
|
import "../chunk-MLKGABMK.js";
|
|
221
221
|
|
|
222
222
|
// bin/pushary-clean.ts
|