pushary 1.9.67 → 1.9.69
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 +13 -0
- package/dist/{api-3WIPD5GC.js → api-KUJYE5YZ.js} +7 -7
- package/dist/bin/pushary-bell-hook.js +18 -18
- package/dist/bin/pushary-bell.js +5 -5
- package/dist/bin/pushary-claude.js +19 -19
- package/dist/bin/pushary-clean.js +26 -26
- package/dist/bin/pushary-codex-bridge.js +14 -14
- package/dist/bin/pushary-codex-hook.js +21 -21
- package/dist/bin/pushary-codex-session.js +6 -6
- package/dist/bin/pushary-codex.js +8 -8
- package/dist/bin/pushary-connect.js +19 -19
- package/dist/bin/pushary-daemon.js +30 -30
- package/dist/bin/pushary-disconnect.js +18 -18
- package/dist/bin/pushary-doctor.js +43 -33
- package/dist/bin/pushary-elicitation-hook.js +18 -18
- package/dist/bin/pushary-gemini-bridge.js +9 -9
- package/dist/bin/pushary-gemini-hook.js +19 -19
- package/dist/bin/pushary-hook.js +20 -20
- package/dist/bin/pushary-login.js +13 -13
- package/dist/bin/pushary-logout.js +16 -16
- package/dist/bin/pushary-mcp.js +8 -8
- package/dist/bin/pushary-mode.js +9 -9
- package/dist/bin/pushary-notification-hook.js +17 -17
- package/dist/bin/pushary-opencode-hook.js +18 -18
- package/dist/bin/pushary-permission-denied-hook.js +20 -20
- package/dist/bin/pushary-permission-hook.js +20 -20
- package/dist/bin/pushary-post-hook.js +17 -17
- package/dist/bin/pushary-prompt-hook.js +17 -17
- package/dist/bin/pushary-session-end-hook.js +19 -19
- package/dist/bin/pushary-session-start-hook.js +27 -27
- package/dist/bin/pushary-setup.js +44 -41
- package/dist/bin/pushary-status.js +23 -23
- package/dist/bin/pushary-stop-hook.js +17 -17
- package/dist/bin/pushary-stopfailure-hook.js +17 -17
- package/dist/bin/pushary-suggestions.js +9 -9
- package/dist/bin/pushary-transcript-register.js +10 -10
- package/dist/bin/pushary-transcripts.js +13 -13
- package/dist/bin/pushary-upgrade.js +52 -32
- package/dist/bin/pushary-wait.js +9 -9
- package/dist/bin/pushary.js +4 -4
- package/dist/{chunk-TI4JYPGQ.js → chunk-274CV7IW.js} +22 -12
- package/dist/{chunk-ZPIYJLQ3.js → chunk-2LI3DF7Q.js} +2 -2
- package/dist/{chunk-DP6LU6BB.js → chunk-2REVIFLS.js} +2 -2
- package/dist/{chunk-B3V2WOJX.js → chunk-3HWDWR42.js} +8 -8
- package/dist/{chunk-IXTVUINH.js → chunk-4BXI6WJI.js} +2 -2
- package/dist/{chunk-Y4MRHAE5.js → chunk-54O76CMR.js} +2 -2
- package/dist/{chunk-PO2P3XDC.js → chunk-5LQCADHK.js} +4 -4
- package/dist/{chunk-VEYFXRZ6.js → chunk-5UIA5GLL.js} +6 -5
- package/dist/{chunk-NSS2AIGI.js → chunk-72ILLFCY.js} +4 -4
- package/dist/{chunk-IRV2MNMA.js → chunk-7CW63ZK3.js} +2 -2
- package/dist/{chunk-6H4E5UBA.js → chunk-7FWZNWIO.js} +5 -5
- package/dist/{chunk-KTLE7NIK.js → chunk-7XS44DQX.js} +3 -3
- package/dist/{chunk-3THDNNVL.js → chunk-AQA63ZWO.js} +1 -1
- package/dist/{chunk-JHB5SR5B.js → chunk-AUYMNTUX.js} +3 -3
- package/dist/{chunk-76SWHCAR.js → chunk-AVKD5QS4.js} +4 -4
- package/dist/{chunk-D7Z4USSB.js → chunk-BRWU4NT4.js} +3 -3
- package/dist/{chunk-FONWVVDD.js → chunk-CJ3W7XRU.js} +1 -1
- package/dist/{chunk-KIXRHNCW.js → chunk-CPYVVEJP.js} +3 -3
- package/dist/{chunk-JBRMIADM.js → chunk-D5G2HSQ6.js} +1 -1
- package/dist/{chunk-ICQCQAUO.js → chunk-DJPNVVJQ.js} +3 -3
- package/dist/{chunk-YSD4SMHE.js → chunk-DTENGECG.js} +1 -1
- package/dist/{chunk-KE4TSJUD.js → chunk-EAJUFO7Q.js} +3 -3
- package/dist/{chunk-D3U6CN7T.js → chunk-FD6KOIT2.js} +3 -3
- package/dist/{chunk-564IPPBL.js → chunk-FULXDMAP.js} +3 -3
- package/dist/{chunk-PIBWX3EF.js → chunk-FZ2SHXUE.js} +2 -2
- package/dist/{chunk-JOBSKQ2Z.js → chunk-GZHQQP7J.js} +1 -1
- package/dist/{chunk-R2BZH2NK.js → chunk-HGXWC4WT.js} +1 -1
- package/dist/{chunk-XFDWLDHG.js → chunk-HZNZJTGH.js} +5 -5
- package/dist/{chunk-IPG3RS23.js → chunk-JQMERLQS.js} +2 -2
- package/dist/{chunk-XNUWKKGS.js → chunk-JWRDCANS.js} +2 -2
- package/dist/{chunk-P4RXSZDT.js → chunk-KHOWMC57.js} +1 -1
- package/dist/{chunk-CJZLIAJF.js → chunk-KVXX5M5A.js} +4 -4
- package/dist/{chunk-RO2B4YBF.js → chunk-LWFSXSRG.js} +1 -1
- package/dist/{chunk-JOD2325S.js → chunk-N2FDORN6.js} +1 -1
- package/dist/{chunk-SB6TYV4M.js → chunk-N2WAXSJY.js} +7 -7
- package/dist/{chunk-BFF3ABFV.js → chunk-NFWZVY25.js} +2 -2
- package/dist/{chunk-JSPCGPSH.js → chunk-NSR6IFA6.js} +1 -1
- package/dist/{chunk-WJLHZ6E6.js → chunk-OXOYS3UG.js} +3 -3
- package/dist/{chunk-UQIPWXBL.js → chunk-OYFGZARB.js} +2 -2
- package/dist/{chunk-DXCHIKAN.js → chunk-PIGBU7D3.js} +4 -4
- package/dist/{chunk-LS42NV6E.js → chunk-PK6WI4HH.js} +4 -4
- package/dist/{chunk-CHYBOTQN.js → chunk-QE22XDUK.js} +1 -1
- package/dist/{chunk-Y6ZN454E.js → chunk-QZPRCMPV.js} +1 -1
- package/dist/{chunk-6LXXKMV6.js → chunk-SCKZVTFV.js} +32 -12
- package/dist/{chunk-CPLQ5OHX.js → chunk-SKTZKAGH.js} +1 -1
- package/dist/{chunk-LYTWK5TF.js → chunk-SSJDAX4E.js} +90 -7
- package/dist/{chunk-LJHDUKBB.js → chunk-TXRV7AOA.js} +4 -4
- package/dist/{chunk-KNUYUQBP.js → chunk-VIQ5OS5E.js} +2 -2
- package/dist/{chunk-EQR6JSFE.js → chunk-WOJW23ZD.js} +6 -6
- package/dist/{chunk-5MOJCOCF.js → chunk-XLKO2XEG.js} +1 -1
- package/dist/{chunk-IVB5O6NY.js → chunk-YAA6MT6O.js} +2 -2
- package/dist/{chunk-BBFGDYYI.js → chunk-YSOZVBFW.js} +1 -1
- package/dist/{chunk-VVIQWGS7.js → chunk-Z3FMJ567.js} +2 -2
- package/dist/{codex-app-cards-switch-25TDTMUZ.js → codex-app-cards-switch-GBTS3OQW.js} +7 -7
- package/dist/{codex-desktop-launch-JDKUCD2Y.js → codex-desktop-launch-S6OULJDZ.js} +1 -1
- package/dist/{codex-session-launch-6N35AAEO.js → codex-session-launch-K2KE3AD5.js} +12 -12
- package/dist/{global-upgrade-2QNQD5OM.js → global-upgrade-ZMWRPO5G.js} +8 -8
- package/dist/{identity-CUPX2U7Q.js → identity-OLRKDYFR.js} +3 -3
- package/dist/{live-capabilities-CUEIWMSM.js → live-capabilities-LZECCGFQ.js} +4 -4
- package/dist/{paths-BHLBZ6FY.js → paths-YUF2TFTA.js} +2 -2
- package/dist/{reapply-4GXLWZ5M.js → reapply-5SZSMZJJ.js} +21 -21
- package/dist/src/index.js +20 -20
- package/dist/{upgrade-lock-RDKTAHWR.js → upgrade-lock-MSBKXUKM.js} +3 -3
- package/package.json +1 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readHookInput
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WOJW23ZD.js";
|
|
5
|
+
import "../chunk-N2WAXSJY.js";
|
|
6
|
+
import "../chunk-QZPRCMPV.js";
|
|
7
7
|
import {
|
|
8
8
|
activeHookSource,
|
|
9
9
|
activeIdentity
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-DJPNVVJQ.js";
|
|
11
|
+
import "../chunk-TXRV7AOA.js";
|
|
12
|
+
import "../chunk-NFWZVY25.js";
|
|
13
13
|
import "../chunk-ZK5WYAMI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-CJ3W7XRU.js";
|
|
15
15
|
import "../chunk-NMUI3ZWG.js";
|
|
16
16
|
import "../chunk-NWN6GGJL.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-DTENGECG.js";
|
|
18
18
|
import "../chunk-XHKBHWLX.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-GZHQQP7J.js";
|
|
20
20
|
import {
|
|
21
21
|
handleStop,
|
|
22
22
|
handleSubagentStop,
|
|
23
23
|
isSubagentStop
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-HZNZJTGH.js";
|
|
25
25
|
import "../chunk-GMHQYX3D.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-FD6KOIT2.js";
|
|
27
27
|
import "../chunk-POFBE6ZY.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-VIQ5OS5E.js";
|
|
29
|
+
import "../chunk-AQA63ZWO.js";
|
|
30
|
+
import "../chunk-KHOWMC57.js";
|
|
31
|
+
import "../chunk-FZ2SHXUE.js";
|
|
32
32
|
import "../chunk-PPY5N2E6.js";
|
|
33
33
|
import "../chunk-KZERVKTD.js";
|
|
34
34
|
import "../chunk-METUT7V4.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-274CV7IW.js";
|
|
36
|
+
import "../chunk-OXOYS3UG.js";
|
|
37
37
|
import "../chunk-32OSSYGZ.js";
|
|
38
38
|
import "../chunk-X2MTVD4W.js";
|
|
39
39
|
import "../chunk-QTOLNRET.js";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readHookInput
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WOJW23ZD.js";
|
|
5
|
+
import "../chunk-N2WAXSJY.js";
|
|
6
|
+
import "../chunk-QZPRCMPV.js";
|
|
7
7
|
import {
|
|
8
8
|
activeHookSource,
|
|
9
9
|
activeIdentity
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-DJPNVVJQ.js";
|
|
11
|
+
import "../chunk-TXRV7AOA.js";
|
|
12
|
+
import "../chunk-NFWZVY25.js";
|
|
13
13
|
import "../chunk-ZK5WYAMI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-CJ3W7XRU.js";
|
|
15
15
|
import "../chunk-NMUI3ZWG.js";
|
|
16
16
|
import "../chunk-NWN6GGJL.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-DTENGECG.js";
|
|
18
18
|
import "../chunk-XHKBHWLX.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-GZHQQP7J.js";
|
|
20
20
|
import {
|
|
21
21
|
handleStopFailure
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-HZNZJTGH.js";
|
|
23
23
|
import "../chunk-GMHQYX3D.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-FD6KOIT2.js";
|
|
25
25
|
import "../chunk-POFBE6ZY.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-VIQ5OS5E.js";
|
|
27
|
+
import "../chunk-AQA63ZWO.js";
|
|
28
|
+
import "../chunk-KHOWMC57.js";
|
|
29
|
+
import "../chunk-FZ2SHXUE.js";
|
|
30
30
|
import "../chunk-PPY5N2E6.js";
|
|
31
31
|
import "../chunk-KZERVKTD.js";
|
|
32
32
|
import "../chunk-METUT7V4.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-274CV7IW.js";
|
|
34
|
+
import "../chunk-OXOYS3UG.js";
|
|
35
35
|
import "../chunk-32OSSYGZ.js";
|
|
36
36
|
import "../chunk-X2MTVD4W.js";
|
|
37
37
|
import "../chunk-QTOLNRET.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
} from "../chunk-VKZ3RJ5U.js";
|
|
5
5
|
import {
|
|
6
6
|
exitOnFailedSettingsRequest
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KVXX5M5A.js";
|
|
8
|
+
import "../chunk-QE22XDUK.js";
|
|
9
|
+
import "../chunk-XLKO2XEG.js";
|
|
10
10
|
import {
|
|
11
11
|
createIo
|
|
12
12
|
} from "../chunk-FO3MDD26.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
parseFlags
|
|
18
18
|
} from "../chunk-NMUI3ZWG.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-GZHQQP7J.js";
|
|
20
|
+
import "../chunk-AQA63ZWO.js";
|
|
21
21
|
import {
|
|
22
22
|
pusharyFetch
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-KHOWMC57.js";
|
|
24
|
+
import "../chunk-FZ2SHXUE.js";
|
|
25
25
|
import {
|
|
26
26
|
UsageError,
|
|
27
27
|
exitCodeFor
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
EXIT
|
|
31
31
|
} from "../chunk-KZERVKTD.js";
|
|
32
32
|
import "../chunk-METUT7V4.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-274CV7IW.js";
|
|
34
|
+
import "../chunk-OXOYS3UG.js";
|
|
35
35
|
import {
|
|
36
36
|
getApiKey,
|
|
37
37
|
getBaseUrl
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerTranscript
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-N2WAXSJY.js";
|
|
5
|
+
import "../chunk-QZPRCMPV.js";
|
|
6
|
+
import "../chunk-TXRV7AOA.js";
|
|
7
|
+
import "../chunk-NFWZVY25.js";
|
|
8
8
|
import "../chunk-ZK5WYAMI.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-CJ3W7XRU.js";
|
|
10
10
|
import "../chunk-NMUI3ZWG.js";
|
|
11
11
|
import "../chunk-NWN6GGJL.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-DTENGECG.js";
|
|
13
13
|
import "../chunk-XHKBHWLX.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-GZHQQP7J.js";
|
|
15
|
+
import "../chunk-FZ2SHXUE.js";
|
|
16
16
|
import "../chunk-PPY5N2E6.js";
|
|
17
17
|
import "../chunk-KZERVKTD.js";
|
|
18
18
|
import "../chunk-METUT7V4.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-274CV7IW.js";
|
|
20
|
+
import "../chunk-OXOYS3UG.js";
|
|
21
21
|
import "../chunk-32OSSYGZ.js";
|
|
22
22
|
import "../chunk-X2MTVD4W.js";
|
|
23
23
|
import "../chunk-QTOLNRET.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-KEPESIIR.js";
|
|
5
5
|
import {
|
|
6
6
|
TRANSCRIPT_SYNC_NOTICE
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-7XS44DQX.js";
|
|
8
|
+
import "../chunk-BRWU4NT4.js";
|
|
9
|
+
import "../chunk-XLKO2XEG.js";
|
|
10
|
+
import "../chunk-N2FDORN6.js";
|
|
11
11
|
import {
|
|
12
12
|
exitOnHelpFlag
|
|
13
13
|
} from "../chunk-77L2TNJW.js";
|
|
@@ -15,29 +15,29 @@ import {
|
|
|
15
15
|
clearPin,
|
|
16
16
|
fingerprint,
|
|
17
17
|
loadPin
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-QZPRCMPV.js";
|
|
19
19
|
import {
|
|
20
20
|
parseFlags
|
|
21
21
|
} from "../chunk-NMUI3ZWG.js";
|
|
22
22
|
import {
|
|
23
23
|
transcriptEnvironmentPreference,
|
|
24
24
|
transcriptsEnabled
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-DTENGECG.js";
|
|
26
26
|
import {
|
|
27
27
|
writeTranscriptPreference
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-GZHQQP7J.js";
|
|
29
|
+
import "../chunk-VIQ5OS5E.js";
|
|
30
|
+
import "../chunk-AQA63ZWO.js";
|
|
31
|
+
import "../chunk-KHOWMC57.js";
|
|
32
|
+
import "../chunk-FZ2SHXUE.js";
|
|
33
33
|
import {
|
|
34
34
|
UsageError,
|
|
35
35
|
exitCodeFor
|
|
36
36
|
} from "../chunk-PPY5N2E6.js";
|
|
37
37
|
import "../chunk-KZERVKTD.js";
|
|
38
38
|
import "../chunk-METUT7V4.js";
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-274CV7IW.js";
|
|
40
|
+
import "../chunk-OXOYS3UG.js";
|
|
41
41
|
import "../chunk-32OSSYGZ.js";
|
|
42
42
|
import {
|
|
43
43
|
isInvocationOf
|
|
@@ -18,40 +18,44 @@ import {
|
|
|
18
18
|
upgradeInstalledPackage,
|
|
19
19
|
wasRefreshed,
|
|
20
20
|
withUpgradeLock
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-5UIA5GLL.js";
|
|
22
22
|
import {
|
|
23
23
|
installWithUpgradeLock
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-2REVIFLS.js";
|
|
25
25
|
import {
|
|
26
26
|
phoneStartFellShortLine
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-7XS44DQX.js";
|
|
28
28
|
import {
|
|
29
29
|
ensureCodexTrustAfterReapply,
|
|
30
30
|
reapplyAllAgents
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-SCKZVTFV.js";
|
|
32
32
|
import {
|
|
33
33
|
HERMES_RESTART_COMMAND,
|
|
34
34
|
describeCodexTrustConfirmation
|
|
35
|
-
} from "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
} from "../chunk-7CW63ZK3.js";
|
|
36
|
+
import "../chunk-BRWU4NT4.js";
|
|
37
37
|
import {
|
|
38
38
|
waitForMachineReadiness
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
} from "../chunk-5LQCADHK.js";
|
|
40
|
+
import "../chunk-54O76CMR.js";
|
|
41
41
|
import {
|
|
42
42
|
readMacAppAgentKey
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
43
|
+
} from "../chunk-PK6WI4HH.js";
|
|
44
|
+
import "../chunk-XLKO2XEG.js";
|
|
45
|
+
import "../chunk-Z3FMJ567.js";
|
|
46
46
|
import {
|
|
47
|
+
FX_RELOAD_AFTER_BRIDGE,
|
|
48
|
+
fxHttpEntryKeptNote,
|
|
49
|
+
fxOtherHttpServersNote,
|
|
47
50
|
fxServerHolder,
|
|
51
|
+
inspectFxPusharyHttpWiring,
|
|
48
52
|
macAppFxBridge
|
|
49
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-SSJDAX4E.js";
|
|
50
54
|
import {
|
|
51
55
|
retryAgentCommand
|
|
52
|
-
} from "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
56
|
+
} from "../chunk-N2FDORN6.js";
|
|
57
|
+
import "../chunk-D5G2HSQ6.js";
|
|
58
|
+
import "../chunk-72ILLFCY.js";
|
|
55
59
|
import {
|
|
56
60
|
exitOnHelpFlag
|
|
57
61
|
} from "../chunk-77L2TNJW.js";
|
|
@@ -60,9 +64,9 @@ import {
|
|
|
60
64
|
expectedLaunchCapabilities,
|
|
61
65
|
hasSpawnProvider,
|
|
62
66
|
resolveControlPolicy
|
|
63
|
-
} from "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
67
|
+
} from "../chunk-EAJUFO7Q.js";
|
|
68
|
+
import "../chunk-YAA6MT6O.js";
|
|
69
|
+
import "../chunk-YSOZVBFW.js";
|
|
66
70
|
import {
|
|
67
71
|
AUTO_UPDATE_DISABLE_ENV,
|
|
68
72
|
AUTO_UPDATE_FLAG,
|
|
@@ -72,8 +76,8 @@ import {
|
|
|
72
76
|
isUnfinishedAutoUpdate,
|
|
73
77
|
readAutoUpdateState,
|
|
74
78
|
updateAutoUpdateState
|
|
75
|
-
} from "../chunk-
|
|
76
|
-
import "../chunk-
|
|
79
|
+
} from "../chunk-4BXI6WJI.js";
|
|
80
|
+
import "../chunk-DJPNVVJQ.js";
|
|
77
81
|
import {
|
|
78
82
|
DAEMON_COLD_START_TIMEOUT_MS,
|
|
79
83
|
daemonHasRemoteProof,
|
|
@@ -86,24 +90,24 @@ import {
|
|
|
86
90
|
replaceDaemonService,
|
|
87
91
|
stopDaemonService,
|
|
88
92
|
waitForDaemonRemoteProof
|
|
89
|
-
} from "../chunk-
|
|
90
|
-
import "../chunk-
|
|
93
|
+
} from "../chunk-TXRV7AOA.js";
|
|
94
|
+
import "../chunk-NFWZVY25.js";
|
|
91
95
|
import "../chunk-ZK5WYAMI.js";
|
|
92
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-CJ3W7XRU.js";
|
|
93
97
|
import "../chunk-NMUI3ZWG.js";
|
|
94
98
|
import "../chunk-XHKBHWLX.js";
|
|
95
99
|
import {
|
|
96
100
|
readControlMode,
|
|
97
101
|
recordMacAppKeyPrefix
|
|
98
|
-
} from "../chunk-
|
|
99
|
-
import "../chunk-
|
|
102
|
+
} from "../chunk-GZHQQP7J.js";
|
|
103
|
+
import "../chunk-HZNZJTGH.js";
|
|
100
104
|
import "../chunk-GMHQYX3D.js";
|
|
101
|
-
import "../chunk-
|
|
105
|
+
import "../chunk-FD6KOIT2.js";
|
|
102
106
|
import "../chunk-POFBE6ZY.js";
|
|
103
|
-
import "../chunk-
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-
|
|
106
|
-
import "../chunk-
|
|
107
|
+
import "../chunk-VIQ5OS5E.js";
|
|
108
|
+
import "../chunk-AQA63ZWO.js";
|
|
109
|
+
import "../chunk-KHOWMC57.js";
|
|
110
|
+
import "../chunk-FZ2SHXUE.js";
|
|
107
111
|
import {
|
|
108
112
|
UsageError
|
|
109
113
|
} from "../chunk-PPY5N2E6.js";
|
|
@@ -122,12 +126,12 @@ import {
|
|
|
122
126
|
pusharyDir,
|
|
123
127
|
serviceOwedBackMark,
|
|
124
128
|
vscodePluginDir
|
|
125
|
-
} from "../chunk-
|
|
129
|
+
} from "../chunk-274CV7IW.js";
|
|
126
130
|
import {
|
|
127
131
|
LATEST_TAG,
|
|
128
132
|
fetchLatestPublishedVersion,
|
|
129
133
|
writeFileAtomic
|
|
130
|
-
} from "../chunk-
|
|
134
|
+
} from "../chunk-OXOYS3UG.js";
|
|
131
135
|
import {
|
|
132
136
|
getApiKey
|
|
133
137
|
} from "../chunk-32OSSYGZ.js";
|
|
@@ -180,6 +184,14 @@ var recordWhetherTheServiceIsOwedBack = (markPath, owed) => {
|
|
|
180
184
|
// bin/pushary-upgrade.ts
|
|
181
185
|
exitOnHelpFlag("upgrade");
|
|
182
186
|
var fxWiredByCli = () => fxServerHolder(fxMcpProfile(), macAppFxBridge(pusharyDir())) === "cli";
|
|
187
|
+
var fxHttpNotes = (kept) => {
|
|
188
|
+
const otherHttpServers = inspectFxPusharyHttpWiring(fxMcpProfile()).otherHttpServers;
|
|
189
|
+
const retry = retryAgentCommand("fx");
|
|
190
|
+
return [
|
|
191
|
+
...kept ? [fxHttpEntryKeptNote(kept, fxMcpProfile(), retry)] : [],
|
|
192
|
+
...otherHttpServers.length > 0 ? [fxOtherHttpServersNote(otherHttpServers, fxMcpProfile(), retry)] : []
|
|
193
|
+
];
|
|
194
|
+
};
|
|
183
195
|
var detectInstallModes = () => {
|
|
184
196
|
const candidates = [
|
|
185
197
|
{
|
|
@@ -300,6 +312,14 @@ var finishUpgrade = async () => {
|
|
|
300
312
|
console.log();
|
|
301
313
|
console.log(`Restart Hermes so it loads the new plugin: ${HERMES_RESTART_COMMAND}`);
|
|
302
314
|
}
|
|
315
|
+
if (inspectedAgents.some((agent) => agent.result.fxBridge)) {
|
|
316
|
+
console.log();
|
|
317
|
+
console.log(FX_RELOAD_AFTER_BRIDGE);
|
|
318
|
+
}
|
|
319
|
+
for (const note of fxHttpNotes(inspectedAgents.find((agent) => agent.id === "fx")?.result.fxHttpKept)) {
|
|
320
|
+
console.log();
|
|
321
|
+
console.log(note);
|
|
322
|
+
}
|
|
303
323
|
if (codexTrust) {
|
|
304
324
|
console.log();
|
|
305
325
|
console.log(describeCodexTrustConfirmation(codexTrust));
|
package/dist/bin/pushary-wait.js
CHANGED
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
} from "../chunk-VKZ3RJ5U.js";
|
|
6
6
|
import {
|
|
7
7
|
exitOnFailedSettingsRequest
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-KVXX5M5A.js";
|
|
9
9
|
import {
|
|
10
10
|
describeWaitLadder
|
|
11
11
|
} from "../chunk-CVWG2N3Y.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-QE22XDUK.js";
|
|
13
13
|
import {
|
|
14
14
|
APPROVAL_RULES_PATH,
|
|
15
15
|
PUSH_WINDOW_COMMAND,
|
|
16
16
|
PUSH_WINDOW_RESET_COMMAND
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-XLKO2XEG.js";
|
|
18
18
|
import {
|
|
19
19
|
createIo
|
|
20
20
|
} from "../chunk-FO3MDD26.js";
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
parseFlags
|
|
26
26
|
} from "../chunk-NMUI3ZWG.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-GZHQQP7J.js";
|
|
28
28
|
import {
|
|
29
29
|
absoluteUrl
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-AQA63ZWO.js";
|
|
31
31
|
import {
|
|
32
32
|
pusharyFetch
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-KHOWMC57.js";
|
|
34
|
+
import "../chunk-FZ2SHXUE.js";
|
|
35
35
|
import {
|
|
36
36
|
UsageError,
|
|
37
37
|
exitCodeFor
|
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
EXIT
|
|
41
41
|
} from "../chunk-KZERVKTD.js";
|
|
42
42
|
import "../chunk-METUT7V4.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-274CV7IW.js";
|
|
44
|
+
import "../chunk-OXOYS3UG.js";
|
|
45
45
|
import {
|
|
46
46
|
getApiKey,
|
|
47
47
|
getBaseUrl
|
package/dist/bin/pushary.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installNetworkDefaults
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-KHOWMC57.js";
|
|
5
|
+
import "../chunk-FZ2SHXUE.js";
|
|
6
6
|
import "../chunk-PPY5N2E6.js";
|
|
7
7
|
import {
|
|
8
8
|
EXIT
|
|
9
9
|
} from "../chunk-KZERVKTD.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-274CV7IW.js";
|
|
11
|
+
import "../chunk-OXOYS3UG.js";
|
|
12
12
|
import "../chunk-32OSSYGZ.js";
|
|
13
13
|
import {
|
|
14
14
|
LISTED_COMMANDS,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OXOYS3UG.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_PRETOOLUSE_MATCHER,
|
|
10
10
|
CODEX_QUESTION_TOOLS,
|
|
@@ -873,6 +873,26 @@ var hasInstructionBlock = (filePath) => {
|
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
|
|
876
|
+
// src/pushary-mcp-url.ts
|
|
877
|
+
var PUSHARY_MCP_HOSTS = /* @__PURE__ */ new Set(["pushary.com", "www.pushary.com"]);
|
|
878
|
+
var PUSHARY_MCP_PATH_PREFIX = "/api/mcp";
|
|
879
|
+
var isPusharyMcpPath = (pathname) => pathname === PUSHARY_MCP_PATH_PREFIX || pathname.startsWith(`${PUSHARY_MCP_PATH_PREFIX}/`);
|
|
880
|
+
var PUSHARY_FULL_ACCESS_MCP_PATHS = /* @__PURE__ */ new Set(["/api/mcp/mcp", "/api/mcp/sse"]);
|
|
881
|
+
var pusharyMcpPathOf = (value) => {
|
|
882
|
+
if (typeof value !== "string") return void 0;
|
|
883
|
+
try {
|
|
884
|
+
const url = new URL(value);
|
|
885
|
+
return PUSHARY_MCP_HOSTS.has(url.hostname) && isPusharyMcpPath(url.pathname) ? url.pathname : void 0;
|
|
886
|
+
} catch {
|
|
887
|
+
return void 0;
|
|
888
|
+
}
|
|
889
|
+
};
|
|
890
|
+
var isPusharyMcpUrl = (value) => pusharyMcpPathOf(value) !== void 0;
|
|
891
|
+
var isPusharyFullAccessMcpUrl = (value) => {
|
|
892
|
+
const path = pusharyMcpPathOf(value);
|
|
893
|
+
return path !== void 0 && PUSHARY_FULL_ACCESS_MCP_PATHS.has(path.replace(/\/$/, ""));
|
|
894
|
+
};
|
|
895
|
+
|
|
876
896
|
// src/cline-config.ts
|
|
877
897
|
var CLINE_LABEL = "Cline";
|
|
878
898
|
var CLINE_SERVER_NAME = "pushary";
|
|
@@ -892,8 +912,6 @@ var AUTHORIZATION_HEADER = "Authorization";
|
|
|
892
912
|
var PUSHARY_KEY_BEARER_PREFIX = "Bearer pk_";
|
|
893
913
|
var TRANSPORT_FIELDS = /* @__PURE__ */ new Set(["transport", "type", "transportType", "url", "headers", "command", "args", "cwd", "env"]);
|
|
894
914
|
var CONNECTION_SWITCH_FIELD = "disabled";
|
|
895
|
-
var PUSHARY_MCP_HOSTS = /* @__PURE__ */ new Set(["pushary.com", "www.pushary.com"]);
|
|
896
|
-
var PUSHARY_MCP_PATH_PREFIX = "/api/mcp";
|
|
897
915
|
var CLINE_AUTO_APPROVE_STEP = 'In Cline, open Auto-approve under the chat box and tick "Use MCP servers", so Pushary calls run without waiting for a click in VS Code. That setting covers every MCP server in Cline, not only Pushary.';
|
|
898
916
|
var CLINE_RELOAD_STEP = "Reload VS Code (Developer: Reload Window) or restart the Cline CLI so Cline loads the Pushary server.";
|
|
899
917
|
var CLINE_TOOL_NOTE = `In Cline, these tools come from the MCP server named "${CLINE_SERVER_NAME}". Cline's own question tool waits in VS Code and never reaches the user's phone, so when the user may be away, ask through Pushary's \`ask_user\` instead. Cline cannot tell whether the user is watching VS Code; Pushary's delivery mode decides where a notification lands, so call \`send_notification\` with context type "task_complete" when a task of several steps finishes.`;
|
|
@@ -936,15 +954,6 @@ var transportOf = (entry2) => {
|
|
|
936
954
|
const record = asRecord4(entry2);
|
|
937
955
|
return asRecord4(record?.transport) ?? record;
|
|
938
956
|
};
|
|
939
|
-
var isPusharyMcpUrl = (value) => {
|
|
940
|
-
if (typeof value !== "string") return false;
|
|
941
|
-
try {
|
|
942
|
-
const url = new URL(value);
|
|
943
|
-
return PUSHARY_MCP_HOSTS.has(url.hostname) && (url.pathname === PUSHARY_MCP_PATH_PREFIX || url.pathname.startsWith(`${PUSHARY_MCP_PATH_PREFIX}/`));
|
|
944
|
-
} catch {
|
|
945
|
-
return false;
|
|
946
|
-
}
|
|
947
|
-
};
|
|
948
957
|
var authorizationBearer = (apiKey) => `Bearer ${apiKey}`;
|
|
949
958
|
var clinePusharyEntry = (apiKey) => ({
|
|
950
959
|
transport: {
|
|
@@ -1142,6 +1151,7 @@ export {
|
|
|
1142
1151
|
refreshInstructionBlock,
|
|
1143
1152
|
removeInstructionBlock,
|
|
1144
1153
|
hasInstructionBlock,
|
|
1154
|
+
isPusharyFullAccessMcpUrl,
|
|
1145
1155
|
CLINE_LABEL,
|
|
1146
1156
|
CLINE_AUTO_APPROVE_STEP,
|
|
1147
1157
|
CLINE_RELOAD_STEP,
|
|
@@ -294,7 +294,7 @@ var loadedOnce = (load) => {
|
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
// src/codex-desktop-proxy.ts
|
|
297
|
-
var loadThePhone = () => import("./api-
|
|
297
|
+
var loadThePhone = () => import("./api-KUJYE5YZ.js");
|
|
298
298
|
var theFirstCardLoadsAgain = () => {
|
|
299
299
|
};
|
|
300
300
|
var APP_SERVER_COMMAND = "app-server";
|
|
@@ -827,7 +827,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
827
827
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
828
828
|
}
|
|
829
829
|
if (args[0] === APP_CARDS_FLAG) {
|
|
830
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
830
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-GBTS3OQW.js");
|
|
831
831
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
832
832
|
}
|
|
833
833
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-274CV7IW.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
writeJsonAtomic
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OXOYS3UG.js";
|
|
9
9
|
|
|
10
10
|
// src/upgrade-lock.ts
|
|
11
11
|
import { fork } from "child_process";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outcomeOfFailedAsk,
|
|
5
5
|
reportMachineDenial,
|
|
6
6
|
storedWaitDeadline
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7FWZNWIO.js";
|
|
8
8
|
import {
|
|
9
9
|
isGatingMoment,
|
|
10
10
|
recordKeylessMoment
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
isAdmitted,
|
|
14
14
|
readAdmissionRules
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WOJW23ZD.js";
|
|
16
16
|
import {
|
|
17
17
|
isDeferAnswer,
|
|
18
18
|
oncePerSession
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SKTZKAGH.js";
|
|
20
20
|
import {
|
|
21
21
|
activeHookSource,
|
|
22
22
|
activeIdentity,
|
|
23
23
|
namedSource
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DJPNVVJQ.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_SESSION,
|
|
27
27
|
UNNAMED_ACTION,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
reportEvent,
|
|
46
46
|
scopePathFor,
|
|
47
47
|
settleQuestionsForToolUse
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HZNZJTGH.js";
|
|
49
49
|
import {
|
|
50
50
|
repoKeyFor
|
|
51
51
|
} from "./chunk-GMHQYX3D.js";
|
|
@@ -65,13 +65,13 @@ import {
|
|
|
65
65
|
waitForQuestion,
|
|
66
66
|
waitsForThePhone,
|
|
67
67
|
withdrawQuestion
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FD6KOIT2.js";
|
|
69
69
|
import {
|
|
70
70
|
getMachineId
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FZ2SHXUE.js";
|
|
72
72
|
import {
|
|
73
73
|
claudeConfigDir
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-274CV7IW.js";
|
|
75
75
|
import {
|
|
76
76
|
getApiKey,
|
|
77
77
|
getBaseUrl
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-274CV7IW.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OXOYS3UG.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_PACKAGE_NAMES,
|
|
13
13
|
POSIX_GLOBAL_ROOT_SEGMENTS,
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
codexHome,
|
|
8
8
|
codexHooksJsonIn,
|
|
9
9
|
isPusharyCodexCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-274CV7IW.js";
|
|
11
11
|
import {
|
|
12
12
|
resolvePathBinary
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OXOYS3UG.js";
|
|
14
14
|
import {
|
|
15
15
|
getPackageVersion
|
|
16
16
|
} from "./chunk-QTOLNRET.js";
|