pushary 1.9.252 → 1.9.254
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 +12 -0
- package/dist/{api-B3CCB7XF.js → api-QY6VQJFI.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -29
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +40 -40
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +35 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +36 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -47
- package/dist/bin/pushary-disconnect.js +33 -32
- package/dist/bin/pushary-doctor.js +48 -48
- 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 +23 -23
- package/dist/bin/pushary-logout.js +32 -32
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +28 -28
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +35 -35
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +29 -29
- package/dist/bin/pushary-prompt-hook.js +28 -28
- package/dist/bin/pushary-session-end-hook.js +28 -28
- package/dist/bin/pushary-session-start-hook.js +40 -40
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +131 -75
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +37 -37
- package/dist/bin/pushary-stop-hook.js +28 -28
- package/dist/bin/pushary-stopfailure-hook.js +28 -28
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +48 -48
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-Q3YKGLZ6.js → chunk-2NBKOBF4.js} +2 -2
- package/dist/{chunk-M4ZP7SGR.js → chunk-3BN74JWK.js} +1 -1
- package/dist/{chunk-2XVTJAYB.js → chunk-3J6A7KQX.js} +5 -5
- package/dist/{chunk-XY24PHAC.js → chunk-3L2W4LLI.js} +6 -6
- package/dist/{chunk-3HGWR547.js → chunk-4FY7R645.js} +4 -4
- package/dist/{chunk-LI7OGANI.js → chunk-4KLGPKC2.js} +2 -2
- package/dist/{chunk-MNUJYXAH.js → chunk-4XTUCLYD.js} +1 -1
- package/dist/{chunk-ZA4AJIOD.js → chunk-5BSRXXGB.js} +3 -3
- package/dist/{chunk-L4ANPJUH.js → chunk-5HHU6D5A.js} +3 -3
- package/dist/{chunk-2ODXKLNT.js → chunk-642JCWTI.js} +4 -4
- package/dist/{chunk-GM4CMN4A.js → chunk-67IFG5NZ.js} +1 -1
- package/dist/{chunk-7D25WOPT.js → chunk-7BV26BFH.js} +1 -1
- package/dist/{chunk-XCGE5N3Z.js → chunk-7DJLYHXC.js} +25 -10
- package/dist/{chunk-5LK3UY46.js → chunk-7OWKHNU3.js} +1 -1
- package/dist/{chunk-E5CTDUSW.js → chunk-7WE4KEVO.js} +12 -6
- package/dist/{chunk-VMUXNGA7.js → chunk-ABSMY77L.js} +11 -11
- package/dist/{chunk-M773UCGU.js → chunk-AC5AJSGU.js} +1 -1
- package/dist/{chunk-6S6ASGR3.js → chunk-AVYEY7Q5.js} +3 -3
- package/dist/{chunk-VA573E2C.js → chunk-BCYNGMS5.js} +1 -1
- package/dist/{chunk-VAAODK2Q.js → chunk-BRSXM66U.js} +4 -4
- package/dist/{chunk-XKF5SCK3.js → chunk-CG5W5LPA.js} +3 -3
- package/dist/{chunk-76NDZYJU.js → chunk-CIPK5AF5.js} +10 -10
- package/dist/{chunk-2U735XOK.js → chunk-DRDHWOOW.js} +5 -5
- package/dist/{chunk-SZXRQXXN.js → chunk-E3CRPS7D.js} +3 -3
- package/dist/{chunk-UKQ5MEOA.js → chunk-EHEA7IA7.js} +1 -1
- package/dist/{chunk-GKT2SRRG.js → chunk-G2GOAQHZ.js} +4 -4
- package/dist/{chunk-CIJG74KZ.js → chunk-GEPZJS32.js} +1 -1
- package/dist/{chunk-AKHCR2EY.js → chunk-GMN6X7FV.js} +3 -3
- package/dist/{chunk-LM7GN5SQ.js → chunk-GSAHQCDT.js} +1 -1
- package/dist/{chunk-6HGAY3R6.js → chunk-H2VFPD2R.js} +6 -6
- package/dist/{chunk-24MGJAU6.js → chunk-H52M2TRV.js} +1 -1
- package/dist/{chunk-6DQOFD25.js → chunk-HRZACRZZ.js} +1 -1
- package/dist/{chunk-EIZXYIOM.js → chunk-I5N5WXGX.js} +2 -2
- package/dist/{chunk-C75GX2HY.js → chunk-ICQYKYWS.js} +5 -5
- package/dist/{chunk-5SRTZJ2A.js → chunk-IMV3OTCO.js} +8 -8
- package/dist/{chunk-DYTDYNKC.js → chunk-JLQHY75G.js} +6 -6
- package/dist/{chunk-GFFNJ3DO.js → chunk-JQCTVTIB.js} +2 -2
- package/dist/{chunk-SJ2UBLL7.js → chunk-KLDAKOVH.js} +2 -2
- package/dist/{chunk-NXKCIKW6.js → chunk-KX46VMRW.js} +16 -16
- package/dist/{chunk-4LTASS5P.js → chunk-L6Z3VDAS.js} +1 -1
- package/dist/{chunk-ERYXHBTE.js → chunk-LLHESE5J.js} +5 -5
- package/dist/{chunk-CVVHT4KY.js → chunk-LQN5YB2V.js} +3 -3
- package/dist/{chunk-BWDQ4WOH.js → chunk-M3JY4QP2.js} +2 -2
- package/dist/{chunk-NMADZVTC.js → chunk-MKBPHFPR.js} +1 -1
- package/dist/{chunk-WSROHGWN.js → chunk-MY7M5H5A.js} +12 -12
- package/dist/{chunk-G5DP6O5R.js → chunk-MYHEISKF.js} +5 -5
- package/dist/{chunk-MWYQVXAS.js → chunk-NBIAPFRB.js} +4 -4
- package/dist/{chunk-AOPSJHTB.js → chunk-NCWKTSRI.js} +4 -4
- package/dist/{chunk-7OF777EU.js → chunk-NOIBGLBE.js} +19 -8
- package/dist/{chunk-6OSGECAY.js → chunk-O4J5GVKF.js} +6 -6
- package/dist/{chunk-DD5EW5IL.js → chunk-ODLPEMVY.js} +3 -3
- package/dist/{chunk-3REBHADE.js → chunk-OETPIQ4R.js} +6 -6
- package/dist/{chunk-EQDLUHZJ.js → chunk-OP2ZMO4X.js} +3 -3
- package/dist/{chunk-JPHYKF6V.js → chunk-OWJFWFE6.js} +5 -5
- package/dist/{chunk-6LB7PZLK.js → chunk-OYGL6J2D.js} +3 -3
- package/dist/{chunk-6JVSKDBD.js → chunk-PM4ER2NJ.js} +2 -2
- package/dist/{chunk-EQ6VOXZU.js → chunk-QBA6GMAT.js} +5 -5
- package/dist/{chunk-ECXLAR6D.js → chunk-QLY2U3EX.js} +2 -2
- package/dist/{chunk-VFZEUKWI.js → chunk-QOKK74EW.js} +1 -1
- package/dist/{chunk-IXLXPPSD.js → chunk-QYR7VUU4.js} +1 -1
- package/dist/{chunk-JIZNXYN5.js → chunk-R46QOMKS.js} +2 -2
- package/dist/{chunk-GK2EYDF2.js → chunk-RVPDHRMO.js} +4 -4
- package/dist/{chunk-XB4GIETP.js → chunk-RVS6JPBJ.js} +1 -1
- package/dist/{chunk-SJWGQ5LF.js → chunk-SSLV3YRY.js} +3 -3
- package/dist/{chunk-RDRUCPFL.js → chunk-SUOHEXOJ.js} +7 -7
- package/dist/{chunk-5IHGO436.js → chunk-SVCNDCTR.js} +4 -4
- package/dist/{chunk-K3VUIJLP.js → chunk-U3AXTMV7.js} +4 -4
- package/dist/{chunk-FM4ULVPT.js → chunk-U3JBGAVX.js} +1 -1
- package/dist/{chunk-R4JAJBHJ.js → chunk-U62LMG5F.js} +1 -1
- package/dist/{chunk-N7RKXLJR.js → chunk-UYJNAYBK.js} +1 -1
- package/dist/{chunk-5UXIPTWM.js → chunk-VLKTJDUJ.js} +2 -2
- package/dist/{chunk-O5BD64JZ.js → chunk-VX5BPPHN.js} +1 -1
- package/dist/{chunk-GQLHV36Q.js → chunk-WJQJUKGE.js} +1 -1
- package/dist/{chunk-IFQROMKD.js → chunk-WTFSVKNI.js} +2 -2
- package/dist/{chunk-QZESFXVG.js → chunk-Y3IWISL4.js} +15 -5
- package/dist/{chunk-V2FIT7FQ.js → chunk-YG3TBL4J.js} +5 -5
- package/dist/{chunk-P2CXRTW4.js → chunk-YXIGD5EM.js} +7 -7
- package/dist/{chunk-AYVW4G3V.js → chunk-ZDP2L7ZA.js} +1 -1
- package/dist/{chunk-CZ4EG35M.js → chunk-ZFS7EORW.js} +1 -1
- package/dist/{chunk-5KYAO2GI.js → chunk-ZJ2TFSPR.js} +6 -6
- package/dist/{chunk-SZMGZ3C5.js → chunk-ZLNUJLNE.js} +3 -0
- package/dist/{chunk-XU4SUZX3.js → chunk-ZMXCW2N7.js} +10 -10
- package/dist/{codex-app-cards-switch-FBXQXZ4I.js → codex-app-cards-switch-CFBQWFPT.js} +12 -12
- package/dist/{codex-card-routing-5CT7DOHG.js → codex-card-routing-GQTCHTH5.js} +2 -2
- package/dist/{codex-desktop-launch-AYVX5Y6L.js → codex-desktop-launch-IKO5DFQH.js} +3 -3
- package/dist/{codex-session-launch-UM3D3IX4.js → codex-session-launch-LBAI42YT.js} +20 -20
- package/dist/{config-SZ2H3UZ3.js → config-ZLV45K4O.js} +3 -3
- package/dist/{global-upgrade-26NPVCAL.js → global-upgrade-OIYQREDI.js} +9 -9
- package/dist/{identity-5A6DVNBA.js → identity-3Q7SYQSF.js} +4 -4
- package/dist/{live-capabilities-3MRTSUZ4.js → live-capabilities-NKJTOXAA.js} +4 -4
- package/dist/{paths-ZLR4ZVF4.js → paths-ZMSRGIIE.js} +3 -3
- package/dist/reapply-WKPRZZSZ.js +76 -0
- package/dist/src/index.js +34 -34
- package/dist/{upgrade-lock-27EWUBDP.js → upgrade-lock-OW5SDV7B.js} +4 -4
- package/dist/{usage-ZZMBG3QZ.js → usage-DNGUMZZM.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-T37X6H55.js +0 -76
|
@@ -18,44 +18,44 @@ import {
|
|
|
18
18
|
upgradeInstalledPackage,
|
|
19
19
|
wasRefreshed,
|
|
20
20
|
withUpgradeLock
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-ZJ2TFSPR.js";
|
|
22
22
|
import {
|
|
23
23
|
installWithUpgradeLock
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-I5N5WXGX.js";
|
|
25
25
|
import {
|
|
26
26
|
phoneStartFellShortLine
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-7WE4KEVO.js";
|
|
28
|
+
import "../chunk-Y3IWISL4.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureCodexTrustAfterReapply,
|
|
31
31
|
reapplyAllAgents
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-MY7M5H5A.js";
|
|
33
33
|
import "../chunk-TWWOQKXK.js";
|
|
34
34
|
import {
|
|
35
35
|
HERMES_RESTART_COMMAND,
|
|
36
36
|
describeCodexTrustConfirmation,
|
|
37
37
|
describeHermesHistoryHelperRecord
|
|
38
|
-
} from "../chunk-
|
|
39
|
-
import "../chunk-
|
|
38
|
+
} from "../chunk-SVCNDCTR.js";
|
|
39
|
+
import "../chunk-O4J5GVKF.js";
|
|
40
40
|
import {
|
|
41
41
|
keepLinuxDaemonAfterLogout,
|
|
42
42
|
lingerReportOf
|
|
43
43
|
} from "../chunk-AIZYJJGD.js";
|
|
44
44
|
import {
|
|
45
45
|
waitForMachineReadiness
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-QBA6GMAT.js";
|
|
47
47
|
import {
|
|
48
48
|
hermesHistoryHelperRecordFailed,
|
|
49
49
|
hermesHistoryHelperRecordPath
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-CG5W5LPA.js";
|
|
51
51
|
import {
|
|
52
52
|
shortenHome
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-MYHEISKF.js";
|
|
54
54
|
import {
|
|
55
55
|
readMacAppAgentKey
|
|
56
|
-
} from "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
56
|
+
} from "../chunk-RVPDHRMO.js";
|
|
57
|
+
import "../chunk-4FY7R645.js";
|
|
58
|
+
import "../chunk-ODLPEMVY.js";
|
|
59
59
|
import {
|
|
60
60
|
FX_RELOAD_AFTER_BRIDGE,
|
|
61
61
|
fxHttpEntryKeptNote,
|
|
@@ -63,26 +63,26 @@ import {
|
|
|
63
63
|
fxServerHolder,
|
|
64
64
|
inspectFxPusharyHttpWiring,
|
|
65
65
|
macAppFxBridge
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-LLHESE5J.js";
|
|
67
67
|
import {
|
|
68
68
|
retryAgentCommand
|
|
69
|
-
} from "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
74
|
-
import "../chunk-
|
|
69
|
+
} from "../chunk-OYGL6J2D.js";
|
|
70
|
+
import "../chunk-NCWKTSRI.js";
|
|
71
|
+
import "../chunk-YXIGD5EM.js";
|
|
72
|
+
import "../chunk-GEPZJS32.js";
|
|
73
|
+
import "../chunk-GSAHQCDT.js";
|
|
74
|
+
import "../chunk-KLDAKOVH.js";
|
|
75
75
|
import {
|
|
76
76
|
exitOnHelpFlag
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-L6Z3VDAS.js";
|
|
78
78
|
import {
|
|
79
79
|
detectProviderLiveCapabilities,
|
|
80
80
|
expectedLaunchCapabilities,
|
|
81
81
|
hasSpawnProvider,
|
|
82
82
|
isManagedProvider,
|
|
83
83
|
resolveControlPolicy
|
|
84
|
-
} from "../chunk-
|
|
85
|
-
import "../chunk-
|
|
84
|
+
} from "../chunk-5HHU6D5A.js";
|
|
85
|
+
import "../chunk-H52M2TRV.js";
|
|
86
86
|
import "../chunk-TCE3J44Z.js";
|
|
87
87
|
import {
|
|
88
88
|
AUTO_UPDATE_DISABLE_ENV,
|
|
@@ -93,10 +93,10 @@ import {
|
|
|
93
93
|
isUnfinishedAutoUpdate,
|
|
94
94
|
readAutoUpdateState,
|
|
95
95
|
updateAutoUpdateState
|
|
96
|
-
} from "../chunk-
|
|
96
|
+
} from "../chunk-2NBKOBF4.js";
|
|
97
97
|
import "../chunk-WHB622LP.js";
|
|
98
|
-
import "../chunk-
|
|
99
|
-
import "../chunk-
|
|
98
|
+
import "../chunk-H2VFPD2R.js";
|
|
99
|
+
import "../chunk-7OWKHNU3.js";
|
|
100
100
|
import {
|
|
101
101
|
DAEMON_COLD_START_TIMEOUT_MS,
|
|
102
102
|
daemonHasRemoteProof,
|
|
@@ -109,30 +109,30 @@ import {
|
|
|
109
109
|
replaceDaemonService,
|
|
110
110
|
stopDaemonService,
|
|
111
111
|
waitForDaemonRemoteProof
|
|
112
|
-
} from "../chunk-
|
|
113
|
-
import "../chunk-
|
|
114
|
-
import "../chunk-
|
|
115
|
-
import "../chunk-
|
|
116
|
-
import "../chunk-
|
|
117
|
-
import "../chunk-
|
|
112
|
+
} from "../chunk-JLQHY75G.js";
|
|
113
|
+
import "../chunk-642JCWTI.js";
|
|
114
|
+
import "../chunk-ABSMY77L.js";
|
|
115
|
+
import "../chunk-QYR7VUU4.js";
|
|
116
|
+
import "../chunk-U3JBGAVX.js";
|
|
117
|
+
import "../chunk-HRZACRZZ.js";
|
|
118
118
|
import "../chunk-BZIBNSQE.js";
|
|
119
|
-
import "../chunk-
|
|
119
|
+
import "../chunk-ZFS7EORW.js";
|
|
120
120
|
import "../chunk-P6DUWKAO.js";
|
|
121
121
|
import "../chunk-3PSNUHC5.js";
|
|
122
|
-
import "../chunk-
|
|
123
|
-
import "../chunk-
|
|
122
|
+
import "../chunk-OETPIQ4R.js";
|
|
123
|
+
import "../chunk-RVS6JPBJ.js";
|
|
124
124
|
import "../chunk-POFBE6ZY.js";
|
|
125
|
-
import "../chunk-
|
|
126
|
-
import "../chunk-
|
|
127
|
-
import "../chunk-
|
|
128
|
-
import "../chunk-
|
|
129
|
-
import "../chunk-
|
|
130
|
-
import "../chunk-
|
|
125
|
+
import "../chunk-DRDHWOOW.js";
|
|
126
|
+
import "../chunk-AC5AJSGU.js";
|
|
127
|
+
import "../chunk-U62LMG5F.js";
|
|
128
|
+
import "../chunk-5BSRXXGB.js";
|
|
129
|
+
import "../chunk-GMN6X7FV.js";
|
|
130
|
+
import "../chunk-4XTUCLYD.js";
|
|
131
131
|
import {
|
|
132
132
|
readControlMode,
|
|
133
133
|
recordMacAppKeyPrefix
|
|
134
|
-
} from "../chunk-
|
|
135
|
-
import "../chunk-
|
|
134
|
+
} from "../chunk-AVYEY7Q5.js";
|
|
135
|
+
import "../chunk-PM4ER2NJ.js";
|
|
136
136
|
import {
|
|
137
137
|
CODEX_RESTART_AFTER_TRANSPORT_CHANGE,
|
|
138
138
|
autoUpdateState,
|
|
@@ -144,16 +144,16 @@ import {
|
|
|
144
144
|
pusharyDir,
|
|
145
145
|
serviceOwedBackMark,
|
|
146
146
|
vscodePluginDir
|
|
147
|
-
} from "../chunk-
|
|
147
|
+
} from "../chunk-7DJLYHXC.js";
|
|
148
148
|
import "../chunk-6ICPEJY5.js";
|
|
149
149
|
import {
|
|
150
150
|
fetchLatestPublishedVersion,
|
|
151
151
|
newestReleaseNpmAllows,
|
|
152
152
|
plannedGlobalPackage
|
|
153
|
-
} from "../chunk-
|
|
153
|
+
} from "../chunk-NBIAPFRB.js";
|
|
154
154
|
import {
|
|
155
155
|
getApiKey
|
|
156
|
-
} from "../chunk-
|
|
156
|
+
} from "../chunk-VLKTJDUJ.js";
|
|
157
157
|
import {
|
|
158
158
|
UsageError
|
|
159
159
|
} from "../chunk-CINBAX5G.js";
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
} from "../chunk-PM2NRK6Y.js";
|
|
163
163
|
import {
|
|
164
164
|
NPX_LATEST_COMMAND
|
|
165
|
-
} from "../chunk-
|
|
165
|
+
} from "../chunk-BCYNGMS5.js";
|
|
166
166
|
import {
|
|
167
167
|
EXIT
|
|
168
168
|
} from "../chunk-BG4HHB7E.js";
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
LEGACY_PACKAGE,
|
|
172
172
|
getPackageVersion
|
|
173
173
|
} from "../chunk-CXQWDQCJ.js";
|
|
174
|
-
import "../chunk-
|
|
174
|
+
import "../chunk-ZLNUJLNE.js";
|
|
175
175
|
import "../chunk-MLKGABMK.js";
|
|
176
176
|
|
|
177
177
|
// bin/pushary-upgrade.ts
|
package/dist/bin/pushary-wait.js
CHANGED
|
@@ -2,55 +2,55 @@
|
|
|
2
2
|
import {
|
|
3
3
|
waitResponse,
|
|
4
4
|
waitWindowResponse
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-UYJNAYBK.js";
|
|
6
6
|
import {
|
|
7
7
|
describeWaitLadder
|
|
8
8
|
} from "../chunk-CVWG2N3Y.js";
|
|
9
9
|
import {
|
|
10
10
|
exitOnFailedSettingsRequest
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-SUOHEXOJ.js";
|
|
12
|
+
import "../chunk-WTFSVKNI.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-KLDAKOVH.js";
|
|
18
18
|
import {
|
|
19
19
|
createIo
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-3BN74JWK.js";
|
|
21
21
|
import {
|
|
22
22
|
exitOnHelpFlag
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-L6Z3VDAS.js";
|
|
24
24
|
import {
|
|
25
25
|
parseFlags
|
|
26
26
|
} from "../chunk-BZIBNSQE.js";
|
|
27
27
|
import {
|
|
28
28
|
absoluteUrl
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-5BSRXXGB.js";
|
|
30
30
|
import {
|
|
31
31
|
pusharyFetch
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
32
|
+
} from "../chunk-GMN6X7FV.js";
|
|
33
|
+
import "../chunk-4XTUCLYD.js";
|
|
34
|
+
import "../chunk-AVYEY7Q5.js";
|
|
35
|
+
import "../chunk-PM4ER2NJ.js";
|
|
36
|
+
import "../chunk-7DJLYHXC.js";
|
|
37
37
|
import "../chunk-6ICPEJY5.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-NBIAPFRB.js";
|
|
39
39
|
import {
|
|
40
40
|
getApiKey,
|
|
41
41
|
getBaseUrl
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-VLKTJDUJ.js";
|
|
43
43
|
import {
|
|
44
44
|
UsageError,
|
|
45
45
|
exitCodeFor
|
|
46
46
|
} from "../chunk-CINBAX5G.js";
|
|
47
47
|
import "../chunk-PM2NRK6Y.js";
|
|
48
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-BCYNGMS5.js";
|
|
49
49
|
import {
|
|
50
50
|
EXIT
|
|
51
51
|
} from "../chunk-BG4HHB7E.js";
|
|
52
52
|
import "../chunk-CXQWDQCJ.js";
|
|
53
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-ZLNUJLNE.js";
|
|
54
54
|
import "../chunk-MLKGABMK.js";
|
|
55
55
|
|
|
56
56
|
// bin/pushary-wait.ts
|
package/dist/bin/pushary.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installNetworkDefaults
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-GMN6X7FV.js";
|
|
5
|
+
import "../chunk-4XTUCLYD.js";
|
|
6
|
+
import "../chunk-7DJLYHXC.js";
|
|
7
7
|
import "../chunk-6ICPEJY5.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-NBIAPFRB.js";
|
|
9
|
+
import "../chunk-VLKTJDUJ.js";
|
|
10
10
|
import "../chunk-CINBAX5G.js";
|
|
11
11
|
import "../chunk-PM2NRK6Y.js";
|
|
12
12
|
import {
|
|
13
13
|
LISTED_COMMANDS,
|
|
14
14
|
renderHelp,
|
|
15
15
|
resolveCommandName
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-BCYNGMS5.js";
|
|
17
17
|
import {
|
|
18
18
|
EXIT
|
|
19
19
|
} from "../chunk-BG4HHB7E.js";
|
|
20
20
|
import {
|
|
21
21
|
getPackageVersion
|
|
22
22
|
} from "../chunk-CXQWDQCJ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-ZLNUJLNE.js";
|
|
24
24
|
import "../chunk-MLKGABMK.js";
|
|
25
25
|
|
|
26
26
|
// src/cli/runtime.ts
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7DJLYHXC.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-CXQWDQCJ.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RVPDHRMO.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KLDAKOVH.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5BSRXXGB.js";
|
|
15
15
|
import {
|
|
16
16
|
findExportedKeyLines,
|
|
17
17
|
isAdoptedMacAppKey,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AVYEY7Q5.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O4J5GVKF.js";
|
|
18
18
|
import {
|
|
19
19
|
describeRevokeAttempt,
|
|
20
20
|
keyNoLongerAccepted,
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
isCI,
|
|
30
30
|
terminalColumns,
|
|
31
31
|
useColor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3BN74JWK.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5BSRXXGB.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PM4ER2NJ.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BCYNGMS5.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
uninstallOpenClawPlugin,
|
|
17
17
|
unsetOpenClawEntry,
|
|
18
18
|
writeOpenClawEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ODLPEMVY.js";
|
|
20
20
|
import {
|
|
21
21
|
needsShell
|
|
22
22
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
openClawDirectoriesToLookIn,
|
|
29
29
|
openClawPluginFolder,
|
|
30
30
|
openClawSetupReceiptDirectory
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7DJLYHXC.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePathBinary
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NBIAPFRB.js";
|
|
35
35
|
import {
|
|
36
36
|
readJsonSafe,
|
|
37
37
|
writeJsonAtomic
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-CXQWDQCJ.js";
|
|
43
43
|
import {
|
|
44
44
|
isRecord
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
46
46
|
|
|
47
47
|
// src/hermes/plugin-payload.ts
|
|
48
48
|
import { createHash } from "crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7DJLYHXC.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GMN6X7FV.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VLKTJDUJ.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H52M2TRV.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
6
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolvePackageVersionFromBinary,
|
|
13
13
|
resolvePathBinary,
|
|
14
14
|
resolvePathBinaryAsync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NBIAPFRB.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENTS,
|
|
18
18
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
OPENCODE_BRIDGE_CAPABILITY,
|
|
26
26
|
SPAWN_CAPABILITY,
|
|
27
27
|
sessionProvidersAdvertisedBy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
29
29
|
|
|
30
30
|
// src/live-capabilities.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U3JBGAVX.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HRZACRZZ.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
isBridgeLocator,
|
|
17
17
|
isProtectedByScope,
|
|
18
18
|
registerHookEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7DJLYHXC.js";
|
|
20
20
|
import {
|
|
21
21
|
CURSOR_GATE_EVENTS,
|
|
22
22
|
HOOK_BUDGETS,
|
|
23
23
|
HOOK_LOCATOR_BINARY,
|
|
24
24
|
hookCommandHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LQN5YB2V.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NBIAPFRB.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
PUSHARY_HOSTS,
|
|
25
25
|
PUSHARY_TOOL_PREFIX,
|
|
26
26
|
withHookHoldBudget
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZLNUJLNE.js";
|
|
28
28
|
|
|
29
29
|
// src/setup/paths.ts
|
|
30
30
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -680,7 +680,7 @@ var liveBridgeProbe = () => ({
|
|
|
680
680
|
import { join as join5 } from "path";
|
|
681
681
|
|
|
682
682
|
// src/claude-config.ts
|
|
683
|
-
import { join as join4 } from "path";
|
|
683
|
+
import { join as join4, win32 as win322 } from "path";
|
|
684
684
|
|
|
685
685
|
// src/claude-tools.ts
|
|
686
686
|
var POSTTOOLUSE_MIRROR_ONLY_TOOLS = ["TodoWrite", "Task", "WebFetch", "WebSearch"];
|
|
@@ -853,7 +853,22 @@ var updateClaudeMcpSnapshot = (snapshot, apiKey) => ({
|
|
|
853
853
|
...snapshot,
|
|
854
854
|
installedPushary: pusharyMcpServer(apiKey)
|
|
855
855
|
});
|
|
856
|
-
var
|
|
856
|
+
var MCP_REMOTE_BRIDGE = "mcp-remote";
|
|
857
|
+
var bridgesToPushary = (entry2) => {
|
|
858
|
+
if (typeof entry2.command !== "string" || !Array.isArray(entry2.args)) return false;
|
|
859
|
+
const command = win322.basename(entry2.command).replace(/\.cmd$/i, "");
|
|
860
|
+
if (command === MCP_REMOTE_BRIDGE) return isPusharyMcpUrl(entry2.args[0]);
|
|
861
|
+
if (command !== "npx") return false;
|
|
862
|
+
const packageIndex = entry2.args[0] === "-y" || entry2.args[0] === "--yes" ? 1 : 0;
|
|
863
|
+
const bridge = entry2.args[packageIndex];
|
|
864
|
+
if (typeof bridge !== "string") return false;
|
|
865
|
+
const [packageName, version, ...extra] = bridge.split("@");
|
|
866
|
+
return packageName === MCP_REMOTE_BRIDGE && extra.length === 0 && (version === void 0 || /^[a-z0-9][a-z0-9.-]*$/i.test(version)) && isPusharyMcpUrl(entry2.args[packageIndex + 1]);
|
|
867
|
+
};
|
|
868
|
+
var isPusharyMcpServer = (entry2) => {
|
|
869
|
+
const server = asRecord3(entry2);
|
|
870
|
+
return server !== void 0 && (isPusharyMcpUrl(server.url) || bridgesToPushary(server));
|
|
871
|
+
};
|
|
857
872
|
var restoreClaudeMcpServer = (config, snapshot) => {
|
|
858
873
|
const mcpServers = asRecord3(config.mcpServers);
|
|
859
874
|
const current = asRecord3(mcpServers?.pushary);
|
|
@@ -897,25 +912,24 @@ var removeMcpServersNamedPushary = (config, isOurs) => {
|
|
|
897
912
|
return changed;
|
|
898
913
|
};
|
|
899
914
|
var removeClaudeMcpServers = (config) => removeMcpServersNamedPushary(config, () => true);
|
|
915
|
+
var removeOwnedClaudeMcpServers = (config) => removeMcpServersNamedPushary(config, isPusharyMcpServer);
|
|
900
916
|
var claudeMcpRemovalChanged = (outcome) => outcome === "removed" || outcome === "restored";
|
|
901
917
|
var theirOwnEntryBeforeSetup = (receipt) => receipt.hadPushary && !isPusharyMcpServer(receipt.pushary) ? receipt.pushary : void 0;
|
|
902
918
|
var putTheirOwnEntryBack = (config, theirs) => {
|
|
903
919
|
ensureRecord2(config, "mcpServers").pushary = structuredClone(theirs);
|
|
904
920
|
};
|
|
905
|
-
var isOursBesides = (theirs) => (entry2) => theirs === void 0 || isPusharyMcpServer(entry2) && !isDeepStrictEqual(entry2, theirs);
|
|
906
921
|
var removeEveryEntryOfOurs = (config, receipt) => {
|
|
907
922
|
const restored = restoreClaudeMcpServer(config, receipt);
|
|
908
923
|
const theirs = theirOwnEntryBeforeSetup(receipt);
|
|
909
|
-
const isOurs = isOursBesides(theirs);
|
|
910
924
|
const rootEntry = asRecord3(config.mcpServers)?.pushary;
|
|
911
|
-
const ourEntryTookTheirPlace = theirs !== void 0 &&
|
|
912
|
-
const removed =
|
|
925
|
+
const ourEntryTookTheirPlace = theirs !== void 0 && isPusharyMcpServer(rootEntry);
|
|
926
|
+
const removed = removeOwnedClaudeMcpServers(config);
|
|
913
927
|
if (ourEntryTookTheirPlace) putTheirOwnEntryBack(config, theirs);
|
|
914
928
|
if (theirs !== void 0 && (restored || ourEntryTookTheirPlace)) return "restored";
|
|
915
929
|
return removed || restored ? "removed" : "none";
|
|
916
930
|
};
|
|
917
931
|
var claudeMcpRemoval = (receipt, everything) => (config) => {
|
|
918
|
-
if (receipt === null) return
|
|
932
|
+
if (receipt === null) return removeOwnedClaudeMcpServers(config) ? "removed" : "none";
|
|
919
933
|
if (everything) return removeEveryEntryOfOurs(config, receipt);
|
|
920
934
|
return restoreClaudeMcpServer(config, receipt) ? "restored" : "kept_changed_after_setup";
|
|
921
935
|
};
|
|
@@ -971,7 +985,7 @@ var entry = (definition, resolve3) => ({
|
|
|
971
985
|
}]
|
|
972
986
|
});
|
|
973
987
|
var removePusharySettings = (settings, scope) => {
|
|
974
|
-
let changed = scope?.keepMcpServer === true ? false :
|
|
988
|
+
let changed = scope?.keepMcpServer === true ? false : removeOwnedClaudeMcpServers(settings);
|
|
975
989
|
if (scope?.keepMcpServer !== true && removePusharyToolPermissions(settings)) changed = true;
|
|
976
990
|
const hooks = asRecord3(settings.hooks);
|
|
977
991
|
if (hooks) {
|
|
@@ -1430,6 +1444,7 @@ export {
|
|
|
1430
1444
|
updateClaudeMcpSnapshot,
|
|
1431
1445
|
restoreClaudeMcpServer,
|
|
1432
1446
|
removeClaudeMcpServers,
|
|
1447
|
+
removeOwnedClaudeMcpServers,
|
|
1433
1448
|
claudeMcpRemovalChanged,
|
|
1434
1449
|
claudeMcpRemoval,
|
|
1435
1450
|
removePusharyToolPermissions,
|