pushary 1.9.185 → 1.9.187
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 +24 -0
- package/dist/{api-BRYBSBZK.js → api-6U7B4OY7.js} +13 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +77 -50
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +19 -19
- package/dist/bin/pushary-opencode-hook.js +34 -34
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +118 -86
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +44 -44
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-SIGAIBOE.js → chunk-2ACPOE77.js} +1 -1
- package/dist/{chunk-MM7DRYKU.js → chunk-2IBCLVJK.js} +2 -2
- package/dist/{chunk-SJRLILZR.js → chunk-2NHK4PUR.js} +10 -8
- package/dist/{chunk-FO5DHJSL.js → chunk-2PQY4TMQ.js} +2 -2
- package/dist/{chunk-LRA423VV.js → chunk-3JNBZF4G.js} +1 -1
- package/dist/{chunk-CXBOEYV6.js → chunk-3JU27SD5.js} +1 -0
- package/dist/{chunk-N7R5I2FE.js → chunk-4OSTVMM5.js} +18 -18
- package/dist/{chunk-LH5MUJNB.js → chunk-52CIHAC2.js} +6 -6
- package/dist/{chunk-M7KHET4S.js → chunk-5DSFBND4.js} +1 -1
- package/dist/{chunk-ULYZX6VZ.js → chunk-5O4MW5YS.js} +1 -1
- package/dist/{chunk-OLKEMRJS.js → chunk-5X7XEJTI.js} +2 -2
- package/dist/{chunk-BRFHSICQ.js → chunk-6D35FDXC.js} +1 -1
- package/dist/{chunk-LG4A3CWJ.js → chunk-6NUEY2FT.js} +3 -3
- package/dist/{chunk-ZZDJSFRO.js → chunk-6OJ7XVBR.js} +2 -2
- package/dist/{chunk-RNVHH6AN.js → chunk-6UICFJRW.js} +1 -1
- package/dist/{chunk-BMANIZY7.js → chunk-6ZSOD7VY.js} +5 -5
- package/dist/{chunk-FUEREMLD.js → chunk-7IG54T3H.js} +1 -1
- package/dist/{chunk-4XQN44EO.js → chunk-7P7ZKS2G.js} +1 -1
- package/dist/{chunk-TMXWZ523.js → chunk-AKAZRQLA.js} +2 -2
- package/dist/{chunk-5BCZSBRC.js → chunk-AO5BRDKS.js} +4 -4
- package/dist/{chunk-NAWYRZE5.js → chunk-AYM7IBC5.js} +1 -1
- package/dist/{chunk-EJ6HBNXC.js → chunk-BDJNHQFA.js} +4 -4
- package/dist/{chunk-756EI4Q3.js → chunk-BW6WGBJC.js} +4 -4
- package/dist/{chunk-JF4RHZLF.js → chunk-BWOQACK7.js} +2 -2
- package/dist/{chunk-APQZ3KX2.js → chunk-D35DKI3E.js} +5 -5
- package/dist/{chunk-FMU7EE4Z.js → chunk-DRY5YWUK.js} +2 -2
- package/dist/{chunk-JTNEB67J.js → chunk-E2CY63WZ.js} +5 -5
- package/dist/{chunk-3TXESHDA.js → chunk-EU6NQQNG.js} +2 -2
- package/dist/{chunk-AQSGAKFY.js → chunk-EXM3ZEUU.js} +9 -9
- package/dist/{chunk-VT4JY2AI.js → chunk-FWYOB3LW.js} +1 -1
- package/dist/{chunk-VD3Q2A5J.js → chunk-FYBS4VRT.js} +1 -1
- package/dist/{chunk-F6TCNSGN.js → chunk-FZQHKRQF.js} +11 -11
- package/dist/{chunk-2C5DS3GU.js → chunk-GBKMTVG6.js} +2 -2
- package/dist/{chunk-ULF4UJR4.js → chunk-GTEL6ZIH.js} +5 -5
- package/dist/{chunk-HMP72ZHV.js → chunk-GYIISS2S.js} +7 -7
- package/dist/{chunk-24F6XTB3.js → chunk-HKL7HXFD.js} +3 -3
- package/dist/{chunk-65LJ5GGF.js → chunk-HYZAL77U.js} +7 -7
- package/dist/{chunk-WNWAEFXM.js → chunk-I5C35DE5.js} +3 -3
- package/dist/{chunk-EGFBATFH.js → chunk-IYY7KRNS.js} +3 -3
- package/dist/{chunk-5JR6LPS2.js → chunk-J3JG5EKP.js} +1 -1
- package/dist/{chunk-J4LUUYXH.js → chunk-JFZPMVEC.js} +2 -2
- package/dist/{chunk-2M5CQWRP.js → chunk-JLVVFGYN.js} +4 -4
- package/dist/{chunk-R5VJTCXK.js → chunk-KOJJ2LPJ.js} +7 -6
- package/dist/{chunk-O4IWURQP.js → chunk-KZFNXNFH.js} +1 -1
- package/dist/{chunk-B4VU5JT6.js → chunk-L3BX56Y4.js} +3 -3
- package/dist/{chunk-L6NERUNF.js → chunk-L7BHOFTF.js} +3 -3
- package/dist/{chunk-S7MFDG4I.js → chunk-LTB54XBS.js} +4 -4
- package/dist/{chunk-BPZQVEPM.js → chunk-LV575VQE.js} +4 -4
- package/dist/{chunk-HME7GJ6U.js → chunk-LXHH33MX.js} +3 -3
- package/dist/{chunk-5LRVMXIZ.js → chunk-LXZ6APGN.js} +3 -3
- package/dist/{chunk-LSR6SAV7.js → chunk-NNHD7KVL.js} +1 -1
- package/dist/{chunk-JDDP7JOT.js → chunk-NXHIWGOL.js} +8 -8
- package/dist/{chunk-GU5FAWFF.js → chunk-O5IRXMPV.js} +1 -1
- package/dist/{chunk-WSMOSC7V.js → chunk-O7N2FQBH.js} +4 -4
- package/dist/{chunk-ZL2RR6WP.js → chunk-OCHXKVIN.js} +1 -1
- package/dist/{chunk-37XU75VG.js → chunk-OESNI7XN.js} +4 -4
- package/dist/{chunk-R4TTSINC.js → chunk-OLU5L3VB.js} +1 -1
- package/dist/{chunk-VAFNZO3R.js → chunk-PDVGAU7A.js} +6 -6
- package/dist/{chunk-AFH5LR76.js → chunk-PS4AKK26.js} +1 -1
- package/dist/{chunk-QLJGGIIC.js → chunk-QBPBNFDI.js} +5 -5
- package/dist/{chunk-NYHSZQ52.js → chunk-QJF5I7NR.js} +6 -6
- package/dist/{chunk-OJ7YBDPF.js → chunk-QNOXMVIX.js} +5 -5
- package/dist/{chunk-B4K5OVOE.js → chunk-QUXD5OW3.js} +3 -3
- package/dist/{chunk-CVJ6H2VK.js → chunk-RYBTDSQF.js} +1 -1
- package/dist/{chunk-HIHKYDIN.js → chunk-SIT46O4V.js} +10 -10
- package/dist/{chunk-5AF6JBCS.js → chunk-TBQT2TA6.js} +12 -12
- package/dist/{chunk-VD5V6F7F.js → chunk-TKGCDWPF.js} +2 -2
- package/dist/{chunk-TC5H6AI3.js → chunk-TYGNPI7L.js} +1 -1
- package/dist/{chunk-ME4RYRDR.js → chunk-UFAIL7YE.js} +2 -2
- package/dist/{chunk-55JWYWJV.js → chunk-URZAPVR6.js} +4 -4
- package/dist/{chunk-M5FGY54M.js → chunk-VECF23YI.js} +6 -5
- package/dist/{chunk-W5FLGEYD.js → chunk-WA5RGLKV.js} +2 -2
- package/dist/{chunk-FSIIKAGP.js → chunk-XF25RJEV.js} +3 -3
- package/dist/{chunk-HVX3JGGX.js → chunk-XO66RJJC.js} +5 -5
- package/dist/{chunk-Y5GMVVCF.js → chunk-YMJCE2TD.js} +2 -2
- package/dist/{chunk-Q7PIFWTG.js → chunk-YUG7PCPJ.js} +1 -1
- package/dist/{chunk-IDWNJ4DV.js → chunk-Z2RVYQON.js} +6 -6
- package/dist/{chunk-ZIFSPYWB.js → chunk-Z7OTSKAT.js} +4 -4
- package/dist/{chunk-PTV6A5SZ.js → chunk-ZKZL4EFA.js} +1 -1
- package/dist/{chunk-ZJG4C46N.js → chunk-ZL3UDLTC.js} +5 -5
- package/dist/{chunk-NQXVL6LF.js → chunk-ZUU4I2RK.js} +1 -1
- package/dist/{codex-app-cards-switch-NYYOAVLZ.js → codex-app-cards-switch-5B67TNLS.js} +11 -11
- package/dist/{codex-card-routing-WS72OC7Y.js → codex-card-routing-3HSUBI6U.js} +2 -2
- package/dist/{codex-desktop-launch-OGZO6ZJG.js → codex-desktop-launch-GG5K77QD.js} +1 -1
- package/dist/{codex-session-launch-DOWFJZA4.js → codex-session-launch-XR46HRYK.js} +20 -20
- package/dist/{config-4JVYJ27G.js → config-K7JUY27J.js} +3 -3
- package/dist/{global-upgrade-T4R5NZLD.js → global-upgrade-R24VOCK7.js} +9 -9
- package/dist/{identity-OJIHTE3W.js → identity-IMSNZJZL.js} +4 -4
- package/dist/{live-capabilities-LRILVMMZ.js → live-capabilities-BBUGAZJV.js} +4 -4
- package/dist/{paths-KHADVAWP.js → paths-HGLMPFAG.js} +3 -3
- package/dist/reapply-SYNZ2IZY.js +70 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-UISWFQ3X.js → upgrade-lock-FML33CIQ.js} +4 -4
- package/dist/{usage-SKO6G5XJ.js → usage-QMQZCRF2.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-6EIHGVRL.js +0 -70
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
SubscriptionRequiredError,
|
|
9
9
|
callMcpTool,
|
|
10
10
|
isRetryable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KOJJ2LPJ.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchAsCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6D35FDXC.js";
|
|
15
15
|
import {
|
|
16
16
|
installNetworkDefaults,
|
|
17
17
|
isNetworkFailure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6NUEY2FT.js";
|
|
19
19
|
import {
|
|
20
20
|
clientReportClaims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BWOQACK7.js";
|
|
22
22
|
import {
|
|
23
23
|
getApiKey,
|
|
24
24
|
getBaseUrl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KZFNXNFH.js";
|
|
26
26
|
import {
|
|
27
27
|
ASK_AGENT_NAME_MAX,
|
|
28
28
|
CLIENT_REPORT_PATH,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
isRecord,
|
|
38
38
|
truncateLine,
|
|
39
39
|
waitEndAnswered
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3JU27SD5.js";
|
|
41
41
|
|
|
42
42
|
// src/api.ts
|
|
43
43
|
import { randomUUID } from "crypto";
|
|
@@ -266,9 +266,10 @@ var withinAskUserLimits = (params) => ({
|
|
|
266
266
|
blocker: truncateOptional(params.blocker, DECISION_LINE_MAX),
|
|
267
267
|
permissionMode: boundedPermissionMode(params.permissionMode)
|
|
268
268
|
});
|
|
269
|
-
var
|
|
269
|
+
var ASK_USER_TIMEOUT_MS = 15e3;
|
|
270
|
+
var askUser = async (apiKey, params, timeoutMs = ASK_USER_TIMEOUT_MS, baseUrl, signal) => {
|
|
270
271
|
const identified = params.toolUseId || params.requestId ? params : { ...params, requestId: randomUUID() };
|
|
271
|
-
const result = await callMcpTool(apiKey, "ask_user", { ...withinAskUserLimits(identified), pausedAware: true, wait: false }, { maxRetries: 3, timeoutMs, baseUrl });
|
|
272
|
+
const result = await callMcpTool(apiKey, "ask_user", { ...withinAskUserLimits(identified), pausedAware: true, wait: false }, { maxRetries: 3, timeoutMs, baseUrl, signal });
|
|
272
273
|
if (!isAskUserResponse(result)) throw new Error("Invalid ask_user response");
|
|
273
274
|
return result;
|
|
274
275
|
};
|
|
@@ -510,6 +511,7 @@ export {
|
|
|
510
511
|
waitsForThePhone,
|
|
511
512
|
isQuestionLimitRefusal,
|
|
512
513
|
unavailableQuestionUnlessRefused,
|
|
514
|
+
ASK_USER_TIMEOUT_MS,
|
|
513
515
|
askUser,
|
|
514
516
|
waitForAnswer,
|
|
515
517
|
WAIT_RESPONSE_GRACE_MS,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BWOQACK7.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-UQTQ6HPO.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3JU27SD5.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -10624,6 +10624,7 @@ export {
|
|
|
10624
10624
|
claudeStoppedPermissionRequestOutput,
|
|
10625
10625
|
SESSION_PAUSED_REASON,
|
|
10626
10626
|
unansweredRefusalReason,
|
|
10627
|
+
approvesWhenUnanswered,
|
|
10627
10628
|
ELICITATION_ANSWERABLE_MODE,
|
|
10628
10629
|
readElicitationFields,
|
|
10629
10630
|
planElicitationAsk,
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YMJCE2TD.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TKGCDWPF.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7P7ZKS2G.js";
|
|
13
13
|
import {
|
|
14
14
|
askAgentQuestions,
|
|
15
15
|
outcomeOfFailedAsk,
|
|
16
16
|
storedWaitDeadline
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GTEL6ZIH.js";
|
|
18
18
|
import {
|
|
19
19
|
reportMachineDenial
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LV575VQE.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FYBS4VRT.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6ZSOD7VY.js";
|
|
29
29
|
import {
|
|
30
30
|
isDeferAnswer,
|
|
31
31
|
oncePerSession
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2ACPOE77.js";
|
|
33
33
|
import {
|
|
34
34
|
activeHookSource,
|
|
35
35
|
activeIdentity,
|
|
36
36
|
namedSource
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-D35DKI3E.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_SESSION,
|
|
40
40
|
approvalAwaitingRetry,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
settleQuestionsForToolUse,
|
|
58
58
|
sweepFilesOlderThan,
|
|
59
59
|
userScope
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-TBQT2TA6.js";
|
|
61
61
|
import {
|
|
62
62
|
UNNAMED_ACTION,
|
|
63
63
|
deriveAction,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
patchDeletesFiles,
|
|
69
69
|
permissionDeniedAction,
|
|
70
70
|
scopePathFor
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-3JNBZF4G.js";
|
|
72
72
|
import {
|
|
73
73
|
askUser,
|
|
74
74
|
cancelQuestion,
|
|
@@ -85,29 +85,29 @@ import {
|
|
|
85
85
|
waitForQuestion,
|
|
86
86
|
waitsForThePhone,
|
|
87
87
|
withdrawQuestion
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-2NHK4PUR.js";
|
|
89
89
|
import {
|
|
90
90
|
branchFor,
|
|
91
91
|
projectNameFor,
|
|
92
92
|
repoKeyFor,
|
|
93
93
|
repositoryScopeFor
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-7IG54T3H.js";
|
|
95
95
|
import {
|
|
96
96
|
getMachineId
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-AYM7IBC5.js";
|
|
98
98
|
import {
|
|
99
99
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-BWOQACK7.js";
|
|
101
101
|
import {
|
|
102
102
|
getApiKey,
|
|
103
103
|
getBaseUrl
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-KZFNXNFH.js";
|
|
105
105
|
import {
|
|
106
106
|
writeFileAtomic
|
|
107
107
|
} from "./chunk-PM2NRK6Y.js";
|
|
108
108
|
import {
|
|
109
109
|
NPX_LATEST_COMMAND
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-YUG7PCPJ.js";
|
|
111
111
|
import {
|
|
112
112
|
AGENT_QUESTION_STRATEGY,
|
|
113
113
|
AGENT_QUESTION_TOOL,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
timeoutActionWithoutLocalPrompt,
|
|
182
182
|
unansweredRefusalReason,
|
|
183
183
|
unapprovedScopeReason
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-3JU27SD5.js";
|
|
185
185
|
|
|
186
186
|
// src/terminal-answer-watch.ts
|
|
187
187
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QJF5I7NR.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-RYBTDSQF.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L7BHOFTF.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GBKMTVG6.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YUG7PCPJ.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3JU27SD5.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QUXD5OW3.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BWOQACK7.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3JU27SD5.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AYM7IBC5.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KZFNXNFH.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3JU27SD5.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BWOQACK7.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AO5BRDKS.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cursorGateOwnsClaudeCall,
|
|
3
3
|
readCursorGateRegistration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JLVVFGYN.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SIT46O4V.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D35DKI3E.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2NHK4PUR.js";
|
|
14
14
|
import {
|
|
15
15
|
claudeShapedHookInput,
|
|
16
16
|
hookCompatibleProfileBySource,
|
|
17
17
|
isGrokHookPayload,
|
|
18
18
|
isGrokSessionEndStop
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3JU27SD5.js";
|
|
20
20
|
|
|
21
21
|
// src/tool-hook-input.ts
|
|
22
22
|
var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
codexHome,
|
|
8
8
|
codexHooksJsonIn,
|
|
9
9
|
isPusharyCodexCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BWOQACK7.js";
|
|
11
11
|
import {
|
|
12
12
|
resolvePathBinary
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AO5BRDKS.js";
|
|
14
14
|
import {
|
|
15
15
|
getPackageVersion
|
|
16
16
|
} from "./chunk-UQTQ6HPO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-UQTQ6HPO.js";
|
|
16
16
|
import {
|
|
17
17
|
redactSecretsFromContent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3JU27SD5.js";
|
|
19
19
|
|
|
20
20
|
// src/shell-quote.ts
|
|
21
21
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -502,9 +502,9 @@ var installGlobally = (options) => {
|
|
|
502
502
|
}
|
|
503
503
|
const started = (async () => {
|
|
504
504
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
505
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
506
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
507
|
-
const { autoUpdateLock } = await import("./paths-
|
|
505
|
+
const { withUpgradeLock } = await import("./global-upgrade-R24VOCK7.js");
|
|
506
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-FML33CIQ.js");
|
|
507
|
+
const { autoUpdateLock } = await import("./paths-HGLMPFAG.js");
|
|
508
508
|
let result = "skipped";
|
|
509
509
|
const install = async () => {
|
|
510
510
|
const platform = process.platform;
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
} from "./chunk-WHB622LP.js";
|
|
14
14
|
import {
|
|
15
15
|
keyPrefix
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LXZ6APGN.js";
|
|
17
17
|
import {
|
|
18
18
|
getBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KZFNXNFH.js";
|
|
20
20
|
import {
|
|
21
21
|
NPX_LATEST_COMMAND
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YUG7PCPJ.js";
|
|
23
23
|
import {
|
|
24
24
|
isValidApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3JU27SD5.js";
|
|
26
26
|
|
|
27
27
|
// src/cli/login-ui.ts
|
|
28
28
|
import { hostname } from "os";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D35DKI3E.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O7N2FQBH.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BWOQACK7.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3JU27SD5.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatVersion,
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AO5BRDKS.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
PUSHARY_HOSTS,
|
|
23
23
|
PUSHARY_TOOL_PREFIX,
|
|
24
24
|
withHookHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3JU27SD5.js";
|
|
26
26
|
|
|
27
27
|
// src/setup/paths.ts
|
|
28
28
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O7N2FQBH.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TBQT2TA6.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3JNBZF4G.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BWOQACK7.js";
|
|
23
23
|
import {
|
|
24
24
|
HOOK_COMPATIBLE_PROFILES,
|
|
25
25
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
pusharyMissingReason,
|
|
31
31
|
refusalOutput,
|
|
32
32
|
withHookHoldBudget
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3JU27SD5.js";
|
|
34
34
|
|
|
35
35
|
// src/config-document.ts
|
|
36
36
|
import { parse, stringify } from "smol-toml";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-TCE3J44Z.js";
|
|
4
4
|
import {
|
|
5
5
|
parseVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AO5BRDKS.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3JU27SD5.js";
|
|
10
10
|
|
|
11
11
|
// src/setup/agent-probe.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HKL7HXFD.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I5C35DE5.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LXZ6APGN.js";
|
|
14
14
|
import {
|
|
15
15
|
CLINE_SERVER_NAME_TAKEN,
|
|
16
16
|
CLINE_SETTINGS_REFUSALS,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BWOQACK7.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AO5BRDKS.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BWOQACK7.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-3JU27SD5.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TKGCDWPF.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5X7XEJTI.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GYIISS2S.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NNHD7KVL.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JLVVFGYN.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-D35DKI3E.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O7N2FQBH.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseHookArgv,
|
|
56
56
|
parseHookCommand,
|
|
57
57
|
supportedClaudeEvents
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-BWOQACK7.js";
|
|
59
59
|
import {
|
|
60
60
|
readRegularJsonFile,
|
|
61
61
|
readRegularTextFile
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
OPENCODE_APPROVAL_EVENT,
|
|
70
70
|
isRecord,
|
|
71
71
|
matcherMatchesEveryCall
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-3JU27SD5.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|