pushary 1.9.63 → 1.9.64
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/README.md +1 -1
- package/dist/{api-UHUUAONF.js → api-HDLTZTVR.js} +10 -11
- package/dist/bin/pushary-bell-hook.js +27 -30
- package/dist/bin/pushary-bell.js +12 -13
- package/dist/bin/pushary-claude.js +28 -31
- package/dist/bin/pushary-clean.js +63 -43
- package/dist/bin/pushary-codex-bridge.js +22 -24
- package/dist/bin/pushary-codex-hook.js +34 -37
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +13 -15
- package/dist/bin/pushary-connect.js +26 -29
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +39 -42
- package/dist/bin/pushary-disconnect.js +62 -43
- package/dist/bin/pushary-doctor.js +85 -44
- package/dist/bin/pushary-elicitation-hook.js +27 -30
- package/dist/bin/pushary-gemini-bridge.js +16 -18
- package/dist/bin/pushary-gemini-hook.js +29 -32
- package/dist/bin/pushary-hook.js +31 -34
- package/dist/bin/pushary-login.js +19 -20
- package/dist/bin/pushary-logout.js +26 -29
- package/dist/bin/pushary-mcp.js +11 -12
- package/dist/bin/pushary-mode.js +14 -15
- package/dist/bin/pushary-notification-hook.js +26 -29
- package/dist/bin/pushary-opencode-hook.js +28 -31
- package/dist/bin/pushary-permission-denied-hook.js +31 -34
- package/dist/bin/pushary-permission-hook.js +30 -33
- package/dist/bin/pushary-post-hook.js +26 -29
- package/dist/bin/pushary-prompt-hook.js +26 -29
- package/dist/bin/pushary-session-end-hook.js +28 -31
- package/dist/bin/pushary-session-start-hook.js +35 -38
- package/dist/bin/pushary-setup.js +108 -69
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +31 -34
- package/dist/bin/pushary-stop-hook.js +26 -29
- package/dist/bin/pushary-stopfailure-hook.js +26 -29
- package/dist/bin/pushary-suggestions.js +14 -15
- package/dist/bin/pushary-transcript-register.js +18 -21
- package/dist/bin/pushary-transcripts.js +17 -18
- package/dist/bin/pushary-upgrade.js +40 -44
- package/dist/bin/pushary-wait.js +14 -15
- package/dist/bin/pushary.js +7 -8
- package/dist/{chunk-OU3BYBJ3.js → chunk-2CEVEMJE.js} +3 -3
- package/dist/{chunk-HAIXS4OX.js → chunk-2EY4HGLG.js} +3 -3
- package/dist/{chunk-ELAK46NR.js → chunk-2KID4FK4.js} +4 -4
- package/dist/{chunk-WUOOZE5S.js → chunk-2PKHGHMA.js} +2 -2
- package/dist/{chunk-V5W3CK7F.js → chunk-2VADJ6JH.js} +2 -2
- package/dist/{chunk-KUCL7ETL.js → chunk-2YXBCZ3Z.js} +1 -1
- package/dist/{chunk-3GVV7XVT.js → chunk-2Z7I7DHT.js} +1 -1
- package/dist/{chunk-7GRQGXF4.js → chunk-3KXBRSL3.js} +1 -1
- package/dist/{chunk-T3GHXR6N.js → chunk-42PD2MQH.js} +5 -5
- package/dist/{chunk-T6XQNOZV.js → chunk-57PU5OBL.js} +12 -12
- package/dist/{chunk-4WFAP6QN.js → chunk-5NP3OJ5P.js} +9 -11
- package/dist/{chunk-5JK3DQGZ.js → chunk-5TNGBDIE.js} +2 -2
- package/dist/{chunk-OJEIS5L2.js → chunk-5TUDGSDC.js} +1 -1
- package/dist/{chunk-TMGJAFSD.js → chunk-66FRMK7V.js} +3 -3
- package/dist/{chunk-GNUARBRZ.js → chunk-6HPLEGUP.js} +4 -4
- package/dist/{chunk-BQFL2ECS.js → chunk-6QPDBD7Q.js} +3 -57
- package/dist/{chunk-GZS72NCF.js → chunk-7UBDBJTG.js} +4 -4
- package/dist/{chunk-CLABCSZC.js → chunk-A5KQXZR7.js} +5 -5
- package/dist/{chunk-L5CDGXPO.js → chunk-ADRPW7KU.js} +4 -4
- package/dist/{chunk-75ODMNOM.js → chunk-AN7C3CHH.js} +1 -1
- package/dist/{chunk-XBTWG2VL.js → chunk-AQAPPSDV.js} +5 -5
- package/dist/{chunk-6Z2VR3BA.js → chunk-BAGBCSXA.js} +1 -1
- package/dist/{chunk-IOH2T3CB.js → chunk-BLAIETMP.js} +4 -4
- package/dist/{chunk-5LOP4AVD.js → chunk-BSZIPIFA.js} +128 -26
- package/dist/{chunk-QC2W42DE.js → chunk-CCNH4PJ2.js} +12 -12
- package/dist/{chunk-FAF5AW3P.js → chunk-CJADXAJU.js} +4 -4
- package/dist/{chunk-HOIO66DU.js → chunk-DCMRNIDM.js} +4 -4
- package/dist/{chunk-QW3FRUFB.js → chunk-DVYVGBPB.js} +1 -1
- package/dist/{chunk-TBKHQWIH.js → chunk-E23RKH3T.js} +5 -5
- package/dist/{chunk-EQ26IKZM.js → chunk-E2LB6JNV.js} +6 -6
- package/dist/{chunk-VFJSVPNL.js → chunk-EEM65CGJ.js} +3 -3
- package/dist/chunk-H4BKC2GN.js +1201 -0
- package/dist/{chunk-RAJ3QEIL.js → chunk-HVOQUPSO.js} +1 -1
- package/dist/{chunk-OY6Z4IKB.js → chunk-IZTDX2MX.js} +3 -3
- package/dist/{chunk-VHZAJ6IB.js → chunk-JTOBQUIL.js} +3 -3
- package/dist/{chunk-OW6VBXXI.js → chunk-JX3DHGZX.js} +46 -34
- package/dist/{chunk-SKUSGWFK.js → chunk-KA7JIMTG.js} +6 -6
- package/dist/{chunk-LGZ545TA.js → chunk-KX3RMF6T.js} +12 -6
- package/dist/{chunk-VN7XH6TU.js → chunk-LA7CKRZN.js} +2 -2
- package/dist/{chunk-FEAGK25K.js → chunk-LMC5UPL7.js} +1 -1
- package/dist/{chunk-YK6GR4GU.js → chunk-LV6DX4P6.js} +2 -2
- package/dist/{chunk-PXAOEFJZ.js → chunk-MIPJ2VXP.js} +14 -16
- package/dist/{chunk-3QLFB2EY.js → chunk-ML2Q6WWE.js} +37 -214
- package/dist/{chunk-7NCLUA65.js → chunk-MNKIR2ZB.js} +11 -0
- package/dist/{chunk-DMNLFWGY.js → chunk-MPPTIZ2G.js} +210 -151
- package/dist/{chunk-VUFHYMSP.js → chunk-MXPOLQZH.js} +1 -1
- package/dist/{chunk-SARPHHTT.js → chunk-NOH3EJFH.js} +1 -1
- package/dist/{chunk-OP5IBEV7.js → chunk-NUEPJ5W6.js} +2 -2
- package/dist/{chunk-S2Z6VWHH.js → chunk-NYV45Q25.js} +6 -7
- package/dist/{chunk-HZ72EMJE.js → chunk-O7PCNYEY.js} +2 -2
- package/dist/{chunk-PIQ4HHA2.js → chunk-OQKSF5ST.js} +4 -6
- package/dist/{chunk-PJ34FOIV.js → chunk-PLMX3IHG.js} +5 -5
- package/dist/{chunk-KLZZI5TU.js → chunk-PMLQRB3D.js} +1 -1
- package/dist/{chunk-P6RF4RQN.js → chunk-Q6ID23SU.js} +6 -6
- package/dist/{chunk-EHHTQURL.js → chunk-QECRQWLV.js} +5 -5
- package/dist/{chunk-AB3VAQ25.js → chunk-QNATBOUH.js} +3 -3
- package/dist/{chunk-VDBXSUXP.js → chunk-QPPBH5NY.js} +7 -7
- package/dist/{chunk-BCVCUDFI.js → chunk-QSW3HAKI.js} +1 -1
- package/dist/{chunk-FVERRWDP.js → chunk-RY4EPMZX.js} +2 -2
- package/dist/{chunk-XE5N352V.js → chunk-SROWUG5W.js} +1 -1
- package/dist/{chunk-V7N5NOZV.js → chunk-TJUJAK5L.js} +1 -1
- package/dist/{chunk-KL76XWZ7.js → chunk-TR3GP5MH.js} +1 -1
- package/dist/{chunk-MRCVYYPW.js → chunk-VHKK3US3.js} +3 -3
- package/dist/{chunk-LTT54NOU.js → chunk-VNRWQCGU.js} +8 -8
- package/dist/{chunk-2MZ6ROWZ.js → chunk-XF3AWNMO.js} +6 -6
- package/dist/{chunk-XO3KAH7K.js → chunk-XJIIU36L.js} +1 -1
- package/dist/{chunk-BUQU3OPX.js → chunk-Y64JGYTB.js} +1 -1
- package/dist/{chunk-YMZOM6BD.js → chunk-YUDZCJYC.js} +10 -10
- package/dist/{codex-app-cards-switch-LXMAIOFB.js → codex-app-cards-switch-JQ6356VX.js} +11 -12
- package/dist/{codex-desktop-launch-VE5RLFUU.js → codex-desktop-launch-YUB2LOAG.js} +1 -1
- package/dist/{codex-session-launch-XZZWXCPK.js → codex-session-launch-UKMAORXS.js} +19 -21
- package/dist/{config-PPX25AV5.js → config-YY54G3CC.js} +3 -3
- package/dist/{global-upgrade-NRMHNLNU.js → global-upgrade-Y4USGPS2.js} +10 -12
- package/dist/{identity-ZFQR7JNW.js → identity-W5CYL5RC.js} +4 -5
- package/dist/{live-capabilities-SJRYRKNB.js → live-capabilities-JRNNA5EP.js} +5 -7
- package/dist/{paths-7VTVOQXJ.js → paths-4MEBINV3.js} +7 -3
- package/dist/reapply-ZN7C3CB3.js +63 -0
- package/dist/src/index.js +20 -23
- package/dist/{upgrade-lock-VAYJZVTB.js → upgrade-lock-QAWUV2DO.js} +4 -5
- package/dist/{usage-C4DIYUR6.js → usage-43C2DHDU.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6ICPEJY5.js +0 -20
- package/dist/chunk-MK4USZYQ.js +0 -615
- package/dist/chunk-QENTGE75.js +0 -86
- package/dist/chunk-VC3HFFMQ.js +0 -41
- package/dist/reapply-WOANOIRZ.js +0 -64
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-KEPESIIR.js";
|
|
5
5
|
import {
|
|
6
6
|
runBrowserLogin
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-NOH3EJFH.js";
|
|
8
8
|
import {
|
|
9
9
|
INSTALL_NODE_STEP,
|
|
10
10
|
NPM_FILE_IN_USE_STEP,
|
|
@@ -17,33 +17,33 @@ import {
|
|
|
17
17
|
phoneStartServiceState,
|
|
18
18
|
renderCommandSurface,
|
|
19
19
|
unverifiedKeyClosingReason
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-66FRMK7V.js";
|
|
21
21
|
import {
|
|
22
22
|
coworkOutput,
|
|
23
23
|
coworkSelection
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-VHKK3US3.js";
|
|
25
25
|
import "../chunk-PUZZELE6.js";
|
|
26
26
|
import {
|
|
27
27
|
clearDeclinedAgent,
|
|
28
28
|
declinedAgentForSetupChoice
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-AQAPPSDV.js";
|
|
30
30
|
import {
|
|
31
31
|
describeVersionManagerPin,
|
|
32
32
|
saveSetupFailure,
|
|
33
33
|
versionManagerOf
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-2EY4HGLG.js";
|
|
35
35
|
import {
|
|
36
36
|
codexTrustOutcome,
|
|
37
37
|
describeCodexTrustConfirmation,
|
|
38
38
|
needsCodexTrustStep
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-LA7CKRZN.js";
|
|
40
40
|
import {
|
|
41
41
|
describeWaitLadder
|
|
42
42
|
} from "../chunk-CVWG2N3Y.js";
|
|
43
43
|
import {
|
|
44
44
|
writeJsonError,
|
|
45
45
|
writeStdoutFully
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-2Z7I7DHT.js";
|
|
47
47
|
import {
|
|
48
48
|
BROWSER_CONNECT_COMMAND,
|
|
49
49
|
confirmAppConnection,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
pairingEscapeApplies,
|
|
53
53
|
printConnectInstructions,
|
|
54
54
|
waitForYourPhone
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-CJADXAJU.js";
|
|
56
56
|
import "../chunk-3EGEA4KH.js";
|
|
57
57
|
import {
|
|
58
58
|
SETUP_AGENT_NAME,
|
|
@@ -60,14 +60,14 @@ import {
|
|
|
60
60
|
describeRoundTripOutcome,
|
|
61
61
|
roundTripEvidence,
|
|
62
62
|
verifyRoundTrip
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-JTOBQUIL.js";
|
|
64
64
|
import {
|
|
65
65
|
readManagedControlEvidence,
|
|
66
66
|
waitForMachineReadiness
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-QECRQWLV.js";
|
|
68
68
|
import {
|
|
69
69
|
ensureCodexTrustsPusharyHooks
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-LV6DX4P6.js";
|
|
71
71
|
import {
|
|
72
72
|
describeSetupSideEffects,
|
|
73
73
|
installAgentSkill,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "../chunk-EUW7JL2K.js";
|
|
76
76
|
import {
|
|
77
77
|
codexEngineBehindLauncher
|
|
78
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-5TNGBDIE.js";
|
|
79
79
|
import "../chunk-XCEN33UP.js";
|
|
80
80
|
import {
|
|
81
81
|
CURSOR_PLUGIN_BACKUP_INFIX,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
soleGateFile,
|
|
86
86
|
soleGateReceipt,
|
|
87
87
|
soleGateReceiptFile
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-6HPLEGUP.js";
|
|
89
89
|
import {
|
|
90
90
|
HERMES_PIP_PACKAGE,
|
|
91
91
|
describeDetection,
|
|
@@ -98,33 +98,28 @@ import {
|
|
|
98
98
|
runHermesConfigScript,
|
|
99
99
|
shortenHome,
|
|
100
100
|
vscodeSettingsTargets
|
|
101
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-KX3RMF6T.js";
|
|
102
102
|
import {
|
|
103
103
|
mcpServerBearer,
|
|
104
104
|
readMacAppAgentKey
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-QPPBH5NY.js";
|
|
106
106
|
import {
|
|
107
107
|
setHumanStream
|
|
108
108
|
} from "../chunk-QCGNGEGE.js";
|
|
109
109
|
import {
|
|
110
|
-
CODEX_INSTRUCTIONS_LABEL,
|
|
111
110
|
FX_PUSHARY_TOOLS_RULE,
|
|
112
111
|
FX_QUESTION_TOOL,
|
|
113
|
-
|
|
114
|
-
OPENCODE_INSTRUCTIONS_LABEL,
|
|
115
|
-
SHARED_AGENTS_MD_LABEL,
|
|
112
|
+
configureClineServer,
|
|
116
113
|
configureFxSettings,
|
|
117
114
|
fxIgnoresInstructionsFile,
|
|
118
115
|
fxInstructionsBody,
|
|
119
116
|
fxPusharyEntry,
|
|
117
|
+
inspectClineInstallation,
|
|
120
118
|
inspectFxInstallation,
|
|
121
119
|
readFxProfileForSetup,
|
|
122
|
-
renderAgentInstructions,
|
|
123
|
-
renderProjectAgentInstructions,
|
|
124
120
|
withFxPusharyServer,
|
|
125
|
-
writeFxProfile
|
|
126
|
-
|
|
127
|
-
} from "../chunk-DMNLFWGY.js";
|
|
121
|
+
writeFxProfile
|
|
122
|
+
} from "../chunk-MPPTIZ2G.js";
|
|
128
123
|
import {
|
|
129
124
|
AgentConfigError,
|
|
130
125
|
afterAgentFailureNote,
|
|
@@ -137,10 +132,10 @@ import {
|
|
|
137
132
|
retryAgentCommand,
|
|
138
133
|
writeSetupConfigFile,
|
|
139
134
|
writeSetupConfigJson
|
|
140
|
-
} from "../chunk-
|
|
135
|
+
} from "../chunk-NYV45Q25.js";
|
|
141
136
|
import {
|
|
142
137
|
MCP_BRIDGE_BINARY
|
|
143
|
-
} from "../chunk-
|
|
138
|
+
} from "../chunk-2PKHGHMA.js";
|
|
144
139
|
import {
|
|
145
140
|
OPENCODE_HOOK_BINARY,
|
|
146
141
|
addOpenCodeMcpServer,
|
|
@@ -156,7 +151,7 @@ import {
|
|
|
156
151
|
openCodePluginDir,
|
|
157
152
|
openCodePluginFile,
|
|
158
153
|
openCodeWired
|
|
159
|
-
} from "../chunk-
|
|
154
|
+
} from "../chunk-VNRWQCGU.js";
|
|
160
155
|
import {
|
|
161
156
|
ansiPainter,
|
|
162
157
|
createIo,
|
|
@@ -172,23 +167,19 @@ import {
|
|
|
172
167
|
nodeCodexInstallProbe,
|
|
173
168
|
phoneStartIsRequired,
|
|
174
169
|
resolveControlPolicy
|
|
175
|
-
} from "../chunk-
|
|
170
|
+
} from "../chunk-DCMRNIDM.js";
|
|
176
171
|
import {
|
|
177
172
|
detectClaudeVersion
|
|
178
|
-
} from "../chunk-
|
|
179
|
-
import "../chunk-
|
|
173
|
+
} from "../chunk-IZTDX2MX.js";
|
|
174
|
+
import "../chunk-MXPOLQZH.js";
|
|
180
175
|
import {
|
|
181
176
|
describeAutoUpdateAnnouncement,
|
|
182
177
|
takeAutoUpdateAnnouncement
|
|
183
|
-
} from "../chunk-
|
|
178
|
+
} from "../chunk-PLMX3IHG.js";
|
|
184
179
|
import {
|
|
185
|
-
addClaudeMcpServer,
|
|
186
180
|
addCompatibleHooks,
|
|
187
181
|
addCompatibleMcpServer,
|
|
188
182
|
addCompatibleToolPermissions,
|
|
189
|
-
addPusharyHooks,
|
|
190
|
-
addPusharyToolPermissions,
|
|
191
|
-
captureClaudeMcpServer,
|
|
192
183
|
compatibleConfigFile,
|
|
193
184
|
compatibleFilePath,
|
|
194
185
|
compatibleHookEvents,
|
|
@@ -197,10 +188,8 @@ import {
|
|
|
197
188
|
compatiblePermissionRuleFile,
|
|
198
189
|
compatibleRecord,
|
|
199
190
|
compatibleTargetPaths,
|
|
200
|
-
hasCompatibleHooks
|
|
201
|
-
|
|
202
|
-
updateClaudeMcpSnapshot
|
|
203
|
-
} from "../chunk-3QLFB2EY.js";
|
|
191
|
+
hasCompatibleHooks
|
|
192
|
+
} from "../chunk-ML2Q6WWE.js";
|
|
204
193
|
import {
|
|
205
194
|
DAEMON_COLD_START_TIMEOUT_MS,
|
|
206
195
|
clearDaemonNeedsLogin,
|
|
@@ -215,7 +204,7 @@ import {
|
|
|
215
204
|
replaceDaemonService,
|
|
216
205
|
stopDaemonService,
|
|
217
206
|
waitForDaemonRemoteProof
|
|
218
|
-
} from "../chunk-
|
|
207
|
+
} from "../chunk-5NP3OJ5P.js";
|
|
219
208
|
import {
|
|
220
209
|
KEEP_HINT,
|
|
221
210
|
captureHookTakeover,
|
|
@@ -227,29 +216,25 @@ import {
|
|
|
227
216
|
geminiWired,
|
|
228
217
|
planHooks,
|
|
229
218
|
pusharyHookExecutable
|
|
230
|
-
} from "../chunk-
|
|
219
|
+
} from "../chunk-KA7JIMTG.js";
|
|
231
220
|
import {
|
|
232
221
|
GEMINI_HOOK_BINARY,
|
|
233
222
|
GEMINI_HOOK_EVENTS,
|
|
234
223
|
addGeminiHooks,
|
|
235
224
|
addGeminiMcpServer
|
|
236
|
-
} from "../chunk-
|
|
225
|
+
} from "../chunk-6QPDBD7Q.js";
|
|
237
226
|
import {
|
|
238
227
|
AGENT_CHOICES,
|
|
239
228
|
effectiveControlMode,
|
|
240
229
|
effectiveVerify,
|
|
241
230
|
parseSetupOptions
|
|
242
|
-
} from "../chunk-
|
|
243
|
-
import "../chunk-
|
|
231
|
+
} from "../chunk-SROWUG5W.js";
|
|
232
|
+
import "../chunk-PMLQRB3D.js";
|
|
244
233
|
import "../chunk-NMUI3ZWG.js";
|
|
245
234
|
import {
|
|
246
235
|
transcriptPreferenceForSetup
|
|
247
|
-
} from "../chunk-
|
|
236
|
+
} from "../chunk-5TUDGSDC.js";
|
|
248
237
|
import "../chunk-XHKBHWLX.js";
|
|
249
|
-
import {
|
|
250
|
-
compareVersion,
|
|
251
|
-
parseVersion
|
|
252
|
-
} from "../chunk-6ICPEJY5.js";
|
|
253
238
|
import {
|
|
254
239
|
KEY_FILE_MODE,
|
|
255
240
|
exportLine,
|
|
@@ -262,7 +247,7 @@ import {
|
|
|
262
247
|
recordMacAppKeyPrefix,
|
|
263
248
|
resolveShellRc,
|
|
264
249
|
writeKey
|
|
265
|
-
} from "../chunk-
|
|
250
|
+
} from "../chunk-BLAIETMP.js";
|
|
266
251
|
import {
|
|
267
252
|
CODEX_ENGINE_DIRECTORY,
|
|
268
253
|
CODEX_ENGINE_ENTRYPOINT,
|
|
@@ -271,41 +256,49 @@ import {
|
|
|
271
256
|
} from "../chunk-E46NE7FB.js";
|
|
272
257
|
import {
|
|
273
258
|
reportEvent
|
|
274
|
-
} from "../chunk-
|
|
275
|
-
import "../chunk-
|
|
276
|
-
import "../chunk-
|
|
277
|
-
import "../chunk-TBKHQWIH.js";
|
|
259
|
+
} from "../chunk-MIPJ2VXP.js";
|
|
260
|
+
import "../chunk-3KXBRSL3.js";
|
|
261
|
+
import "../chunk-E23RKH3T.js";
|
|
278
262
|
import "../chunk-POFBE6ZY.js";
|
|
279
|
-
import "../chunk-
|
|
263
|
+
import "../chunk-2KID4FK4.js";
|
|
280
264
|
import {
|
|
281
265
|
checkApiKey,
|
|
282
266
|
describeKeyCheck,
|
|
283
267
|
samePusharyAccount
|
|
284
|
-
} from "../chunk-
|
|
285
|
-
import "../chunk-
|
|
286
|
-
import "../chunk-
|
|
268
|
+
} from "../chunk-QNATBOUH.js";
|
|
269
|
+
import "../chunk-EEM65CGJ.js";
|
|
270
|
+
import "../chunk-ADRPW7KU.js";
|
|
287
271
|
import {
|
|
288
272
|
UsageError
|
|
289
273
|
} from "../chunk-PPY5N2E6.js";
|
|
290
274
|
import {
|
|
291
275
|
EXIT
|
|
292
276
|
} from "../chunk-KZERVKTD.js";
|
|
293
|
-
import "../chunk-
|
|
294
|
-
import {
|
|
295
|
-
backupFile,
|
|
296
|
-
readJsonSafe
|
|
297
|
-
} from "../chunk-QENTGE75.js";
|
|
277
|
+
import "../chunk-2VADJ6JH.js";
|
|
298
278
|
import {
|
|
279
|
+
CLINE_AUTO_APPROVE_STEP,
|
|
280
|
+
CLINE_RELOAD_STEP,
|
|
281
|
+
CODEX_INSTRUCTIONS_LABEL,
|
|
299
282
|
CODEX_RESTART_AFTER_TRANSPORT_CHANGE,
|
|
283
|
+
GEMINI_INSTRUCTIONS_LABEL,
|
|
284
|
+
OPENCODE_INSTRUCTIONS_LABEL,
|
|
285
|
+
SHARED_AGENTS_MD_LABEL,
|
|
286
|
+
addClaudeMcpServer,
|
|
300
287
|
addCodexHookTrust,
|
|
301
288
|
addCodexHooks,
|
|
302
289
|
addCodexMcpServer,
|
|
290
|
+
addPusharyHooks,
|
|
291
|
+
addPusharyToolPermissions,
|
|
303
292
|
autoUpdateState,
|
|
293
|
+
captureClaudeMcpServer,
|
|
304
294
|
captureCodexHookTrust,
|
|
305
295
|
claudeJson,
|
|
306
296
|
claudeMcpReceipt,
|
|
307
297
|
claudeSettings,
|
|
308
298
|
claudeSkillDir,
|
|
299
|
+
clineInstructionsBody,
|
|
300
|
+
clineMcpSettings,
|
|
301
|
+
clineRules,
|
|
309
302
|
codexAgentsMd2 as codexAgentsMd,
|
|
310
303
|
codexConfigToml,
|
|
311
304
|
codexHome,
|
|
@@ -331,27 +324,36 @@ import {
|
|
|
331
324
|
guardedArgv,
|
|
332
325
|
hermesConfigReceipt,
|
|
333
326
|
hookTakeoverReceipt,
|
|
327
|
+
isClaudeMcpSnapshot,
|
|
334
328
|
pusharyConfigFile,
|
|
335
329
|
readCodexMcpAuth,
|
|
330
|
+
renderAgentInstructions,
|
|
331
|
+
renderProjectAgentInstructions,
|
|
332
|
+
updateClaudeMcpSnapshot,
|
|
336
333
|
vscodePluginDir,
|
|
337
|
-
vscodePluginMcp
|
|
338
|
-
|
|
334
|
+
vscodePluginMcp,
|
|
335
|
+
writeInstructionBlock
|
|
336
|
+
} from "../chunk-H4BKC2GN.js";
|
|
339
337
|
import {
|
|
340
338
|
NpmMissingError,
|
|
339
|
+
backupFile,
|
|
340
|
+
compareVersion,
|
|
341
341
|
fetchLatestPublishedVersion,
|
|
342
342
|
installGlobally,
|
|
343
343
|
npmInstallFailure,
|
|
344
|
+
parseVersion,
|
|
344
345
|
plannedGlobalPackage,
|
|
346
|
+
readJsonSafe,
|
|
345
347
|
resolveGlobalBinDir,
|
|
346
348
|
resolveGlobalBinary
|
|
347
|
-
} from "../chunk-
|
|
349
|
+
} from "../chunk-BSZIPIFA.js";
|
|
348
350
|
import {
|
|
349
351
|
getBaseUrl
|
|
350
|
-
} from "../chunk-
|
|
352
|
+
} from "../chunk-Y64JGYTB.js";
|
|
351
353
|
import {
|
|
352
354
|
NPX_LATEST_COMMAND,
|
|
353
355
|
renderCommandHelp
|
|
354
|
-
} from "../chunk-
|
|
356
|
+
} from "../chunk-BAGBCSXA.js";
|
|
355
357
|
import {
|
|
356
358
|
getPackageVersion,
|
|
357
359
|
isNewerVersion,
|
|
@@ -370,7 +372,7 @@ import {
|
|
|
370
372
|
isRecord,
|
|
371
373
|
isTimeoutAction,
|
|
372
374
|
isValidApiKey
|
|
373
|
-
} from "../chunk-
|
|
375
|
+
} from "../chunk-MNKIR2ZB.js";
|
|
374
376
|
import "../chunk-MLKGABMK.js";
|
|
375
377
|
|
|
376
378
|
// bin/pushary-setup.ts
|
|
@@ -401,6 +403,7 @@ var agentSetupTargets = (exists) => ({
|
|
|
401
403
|
openCodeInstructionsFile()
|
|
402
404
|
],
|
|
403
405
|
fx: [fxMcpProfile(), fxSettings(), fxAgentsMd()],
|
|
406
|
+
cline: [clineMcpSettings(), clineRules()],
|
|
404
407
|
...compatibleRecord((profile) => compatibleTargetPaths(profile)),
|
|
405
408
|
custom: ["nothing (prints connection details only)"]
|
|
406
409
|
});
|
|
@@ -1858,6 +1861,37 @@ var setupFx = async () => {
|
|
|
1858
1861
|
noteManual("Restart fx, or run /mcp reload in a running session.");
|
|
1859
1862
|
return "configured";
|
|
1860
1863
|
};
|
|
1864
|
+
var clineWired = () => inspectClineInstallation(clineMcpSettings(), void 0).configured;
|
|
1865
|
+
var quotedServerNames = (names) => names.map((name) => `"${name}"`).join(", ");
|
|
1866
|
+
var reportOtherClinePusharyServers = (names) => {
|
|
1867
|
+
if (names.length === 0) return;
|
|
1868
|
+
const listed = quotedServerNames(names);
|
|
1869
|
+
console.log(` ${yellow("!")} Cline also has ${listed} pointing at Pushary, so it would see Pushary's tools twice.`);
|
|
1870
|
+
noteManual(`Remove ${listed} from Cline's MCP settings (${shortenHome(clineMcpSettings())}); setup added "pushary" with your key.`);
|
|
1871
|
+
};
|
|
1872
|
+
var setupCline = async (apiKey) => {
|
|
1873
|
+
console.log(`
|
|
1874
|
+
${bold("Setting up Cline")}
|
|
1875
|
+
`);
|
|
1876
|
+
let configured = { otherServers: [] };
|
|
1877
|
+
await spinner(`Adding the Pushary MCP server (${shortenHome(clineMcpSettings())})`, async () => {
|
|
1878
|
+
configured = configureClineServer(clineMcpSettings(), apiKey);
|
|
1879
|
+
});
|
|
1880
|
+
await spinner(`Teaching Cline to ask via push (${shortenHome(clineRules())})`, async () => {
|
|
1881
|
+
writeInstructionBlock(clineRules(), clineInstructionsBody());
|
|
1882
|
+
});
|
|
1883
|
+
reportOtherClinePusharyServers(configured.otherServers);
|
|
1884
|
+
console.log();
|
|
1885
|
+
console.log(` ${dim("What this configured:")}`);
|
|
1886
|
+
console.log(` ${dim("\u2022")} MCP server ${bold("pushary")} in Cline's shared settings, signed in with your key, for the VS Code extension and the Cline CLI`);
|
|
1887
|
+
console.log(` ${dim("\u2022")} Global rule: Cline asks through Pushary when you may be away and tells you when a task finishes`);
|
|
1888
|
+
console.log(` ${dim("\u2022")} Cline's own approval prompts stay in VS Code; Pushary cannot answer them`);
|
|
1889
|
+
console.log(` ${dim(CLINE_AUTO_APPROVE_STEP)}`);
|
|
1890
|
+
console.log(` ${dim(CLINE_RELOAD_STEP)}`);
|
|
1891
|
+
noteManual(CLINE_AUTO_APPROVE_STEP);
|
|
1892
|
+
noteManual(CLINE_RELOAD_STEP);
|
|
1893
|
+
return "configured";
|
|
1894
|
+
};
|
|
1861
1895
|
var setupCustom = async (apiKey, context) => {
|
|
1862
1896
|
console.log(`
|
|
1863
1897
|
${bold("Connect any other agent (MCP or HTTP)")}
|
|
@@ -2042,6 +2076,8 @@ var agentIsWired = (agent) => {
|
|
|
2042
2076
|
return openCodeWired();
|
|
2043
2077
|
case "fx":
|
|
2044
2078
|
return fxWired();
|
|
2079
|
+
case "cline":
|
|
2080
|
+
return clineWired();
|
|
2045
2081
|
default: {
|
|
2046
2082
|
const profile = hookCompatibleProfile(agent);
|
|
2047
2083
|
if (!profile) return true;
|
|
@@ -2168,6 +2204,7 @@ var AGENT_SETUP = {
|
|
|
2168
2204
|
vscode: setupVsCode,
|
|
2169
2205
|
opencode: setupOpenCode,
|
|
2170
2206
|
fx: setupFx,
|
|
2207
|
+
cline: setupCline,
|
|
2171
2208
|
...COMPATIBLE_SETUP,
|
|
2172
2209
|
custom: setupCustom
|
|
2173
2210
|
};
|
|
@@ -2280,6 +2317,7 @@ var AGENT_NAMES = {
|
|
|
2280
2317
|
vscode: "VS Code",
|
|
2281
2318
|
opencode: "OpenCode",
|
|
2282
2319
|
fx: "fx",
|
|
2320
|
+
cline: "Cline",
|
|
2283
2321
|
...compatibleRecord((profile) => profile.label),
|
|
2284
2322
|
custom: "Other"
|
|
2285
2323
|
};
|
|
@@ -2292,6 +2330,7 @@ var AGENT_CAPABILITIES = {
|
|
|
2292
2330
|
vscode: "agent plugin + permission gate",
|
|
2293
2331
|
opencode: "generated plugin + permission gate",
|
|
2294
2332
|
fx: "MCP through a local bridge + questions via push",
|
|
2333
|
+
cline: "MCP with your key + global rule",
|
|
2295
2334
|
...compatibleRecord((profile) => profile.mcp ? "MCP + native hooks" : "native hooks"),
|
|
2296
2335
|
custom: "any MCP or HTTP agent (Windsurf, n8n, custom)"
|
|
2297
2336
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AN7C3CHH.js";
|
|
5
5
|
import {
|
|
6
6
|
readLedgerSummary
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XJIIU36L.js";
|
|
8
8
|
import "../chunk-KZERVKTD.js";
|
|
9
9
|
import {
|
|
10
10
|
getApiKey
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-Y64JGYTB.js";
|
|
12
|
+
import "../chunk-BAGBCSXA.js";
|
|
13
13
|
import "../chunk-QTOLNRET.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-MNKIR2ZB.js";
|
|
15
15
|
import "../chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// bin/pushary-stats.ts
|
|
@@ -1,80 +1,77 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
writeJsonError
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2Z7I7DHT.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchChannels
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-CJADXAJU.js";
|
|
8
8
|
import "../chunk-3EGEA4KH.js";
|
|
9
9
|
import {
|
|
10
10
|
describeReach,
|
|
11
11
|
reachVerdict
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-JTOBQUIL.js";
|
|
13
13
|
import {
|
|
14
14
|
describeLastSeen,
|
|
15
15
|
listMachines
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-QECRQWLV.js";
|
|
17
17
|
import {
|
|
18
18
|
CONNECTED_THROUGH_MAC_APP,
|
|
19
19
|
readMacAppConnectionWhenKeyless
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-QPPBH5NY.js";
|
|
21
21
|
import "../chunk-QCGNGEGE.js";
|
|
22
22
|
import {
|
|
23
23
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
24
24
|
activeKeyVerdictOf,
|
|
25
25
|
describeSignedOutKey,
|
|
26
26
|
readSignedOutDiagnosis
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-O7PCNYEY.js";
|
|
28
|
+
import "../chunk-VNRWQCGU.js";
|
|
29
29
|
import {
|
|
30
30
|
createIo
|
|
31
31
|
} from "../chunk-FO3MDD26.js";
|
|
32
32
|
import {
|
|
33
33
|
exitOnHelpFlag
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-AN7C3CHH.js";
|
|
35
|
+
import "../chunk-DCMRNIDM.js";
|
|
36
|
+
import "../chunk-IZTDX2MX.js";
|
|
37
|
+
import "../chunk-MXPOLQZH.js";
|
|
38
|
+
import "../chunk-ML2Q6WWE.js";
|
|
39
|
+
import "../chunk-5NP3OJ5P.js";
|
|
40
|
+
import "../chunk-KA7JIMTG.js";
|
|
41
|
+
import "../chunk-6QPDBD7Q.js";
|
|
42
|
+
import "../chunk-SROWUG5W.js";
|
|
43
|
+
import "../chunk-PMLQRB3D.js";
|
|
44
44
|
import {
|
|
45
45
|
rejectUnknownFlags
|
|
46
46
|
} from "../chunk-NMUI3ZWG.js";
|
|
47
47
|
import "../chunk-XHKBHWLX.js";
|
|
48
|
-
import "../chunk-6ICPEJY5.js";
|
|
49
48
|
import {
|
|
50
49
|
readKeySource
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-TBKHQWIH.js";
|
|
50
|
+
} from "../chunk-BLAIETMP.js";
|
|
51
|
+
import "../chunk-MIPJ2VXP.js";
|
|
52
|
+
import "../chunk-3KXBRSL3.js";
|
|
53
|
+
import "../chunk-E23RKH3T.js";
|
|
56
54
|
import "../chunk-POFBE6ZY.js";
|
|
57
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-2KID4FK4.js";
|
|
58
56
|
import {
|
|
59
57
|
checkApiKey,
|
|
60
58
|
describeKeyCheck
|
|
61
|
-
} from "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-QNATBOUH.js";
|
|
60
|
+
import "../chunk-EEM65CGJ.js";
|
|
61
|
+
import "../chunk-ADRPW7KU.js";
|
|
64
62
|
import {
|
|
65
63
|
UsageError
|
|
66
64
|
} from "../chunk-PPY5N2E6.js";
|
|
67
65
|
import {
|
|
68
66
|
EXIT
|
|
69
67
|
} from "../chunk-KZERVKTD.js";
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
74
|
-
import "../chunk-
|
|
75
|
-
import "../chunk-6Z2VR3BA.js";
|
|
68
|
+
import "../chunk-2VADJ6JH.js";
|
|
69
|
+
import "../chunk-H4BKC2GN.js";
|
|
70
|
+
import "../chunk-BSZIPIFA.js";
|
|
71
|
+
import "../chunk-Y64JGYTB.js";
|
|
72
|
+
import "../chunk-BAGBCSXA.js";
|
|
76
73
|
import "../chunk-QTOLNRET.js";
|
|
77
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-MNKIR2ZB.js";
|
|
78
75
|
import "../chunk-MLKGABMK.js";
|
|
79
76
|
|
|
80
77
|
// src/status.ts
|
|
@@ -1,48 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readHookInput
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-YUDZCJYC.js";
|
|
5
|
+
import "../chunk-57PU5OBL.js";
|
|
6
|
+
import "../chunk-DVYVGBPB.js";
|
|
7
7
|
import {
|
|
8
8
|
activeHookSource,
|
|
9
9
|
activeIdentity
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-ML2Q6WWE.js";
|
|
11
|
+
import "../chunk-5NP3OJ5P.js";
|
|
12
|
+
import "../chunk-KA7JIMTG.js";
|
|
13
|
+
import "../chunk-6QPDBD7Q.js";
|
|
14
|
+
import "../chunk-SROWUG5W.js";
|
|
15
|
+
import "../chunk-PMLQRB3D.js";
|
|
16
16
|
import "../chunk-NMUI3ZWG.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-QSW3HAKI.js";
|
|
18
|
+
import "../chunk-TJUJAK5L.js";
|
|
19
|
+
import "../chunk-5TUDGSDC.js";
|
|
20
20
|
import "../chunk-XHKBHWLX.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-IOH2T3CB.js";
|
|
21
|
+
import "../chunk-BLAIETMP.js";
|
|
23
22
|
import {
|
|
24
23
|
handleStop,
|
|
25
24
|
handleSubagentStop,
|
|
26
25
|
isSubagentStop
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-TBKHQWIH.js";
|
|
26
|
+
} from "../chunk-MIPJ2VXP.js";
|
|
27
|
+
import "../chunk-3KXBRSL3.js";
|
|
28
|
+
import "../chunk-E23RKH3T.js";
|
|
31
29
|
import "../chunk-POFBE6ZY.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-2KID4FK4.js";
|
|
31
|
+
import "../chunk-QNATBOUH.js";
|
|
32
|
+
import "../chunk-EEM65CGJ.js";
|
|
33
|
+
import "../chunk-ADRPW7KU.js";
|
|
36
34
|
import "../chunk-PPY5N2E6.js";
|
|
37
35
|
import "../chunk-KZERVKTD.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-6Z2VR3BA.js";
|
|
36
|
+
import "../chunk-2VADJ6JH.js";
|
|
37
|
+
import "../chunk-H4BKC2GN.js";
|
|
38
|
+
import "../chunk-BSZIPIFA.js";
|
|
39
|
+
import "../chunk-Y64JGYTB.js";
|
|
40
|
+
import "../chunk-BAGBCSXA.js";
|
|
44
41
|
import "../chunk-QTOLNRET.js";
|
|
45
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-MNKIR2ZB.js";
|
|
46
43
|
import "../chunk-MLKGABMK.js";
|
|
47
44
|
|
|
48
45
|
// bin/pushary-stop-hook.ts
|