pushary 1.9.234 → 1.9.235
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-M67GCEPF.js → api-UVFEVNJD.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +34 -34
- 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-display-hook.js +1 -0
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +31 -31
- 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 +22 -22
- package/dist/bin/pushary-opencode-hook.js +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- 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 +12 -12
- package/dist/bin/pushary-setup.js +367 -109
- 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 +26 -26
- package/dist/bin/pushary-upgrade.js +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-WOH6BCX7.js → chunk-2QUYUFYQ.js} +4 -4
- package/dist/{chunk-T6KURDWS.js → chunk-3B5FQ542.js} +2 -2
- package/dist/{chunk-TZDZ3QGG.js → chunk-3C2XMGXE.js} +3 -3
- package/dist/{chunk-YUBMSPWE.js → chunk-3K2S4OW7.js} +10 -33
- package/dist/{chunk-U6HLDWKF.js → chunk-3QQY5USW.js} +4 -4
- package/dist/{chunk-JD67C7KL.js → chunk-4CEGJAEB.js} +1 -1
- package/dist/{chunk-RGJ6YCGT.js → chunk-4QQ3HXGR.js} +3 -3
- package/dist/{chunk-IAUCVHGV.js → chunk-4UIVOCDT.js} +1 -1
- package/dist/{chunk-VTCM3LRD.js → chunk-52PIW2SN.js} +3 -3
- package/dist/{chunk-V7DKNNN3.js → chunk-5DRTR5FC.js} +5 -5
- package/dist/{chunk-3JIMXIO5.js → chunk-5QLIXOVT.js} +1 -1
- package/dist/{chunk-ADMVVNW2.js → chunk-6H3RBEHP.js} +1 -1
- package/dist/{chunk-OI5PIRYC.js → chunk-7B2DHU32.js} +16 -16
- package/dist/{chunk-HXYZSB4U.js → chunk-7MRK2WXT.js} +2 -1
- package/dist/{chunk-256X3DP6.js → chunk-7XCL66ON.js} +2 -2
- package/dist/{chunk-EA6DCQMW.js → chunk-A2GO3G2I.js} +6 -6
- package/dist/{chunk-A3V2JCN3.js → chunk-AA54OZM2.js} +5 -5
- package/dist/{chunk-BBPSHOSK.js → chunk-BBZ3BBZC.js} +4 -4
- package/dist/{chunk-JCRH5R45.js → chunk-BJRPBKE7.js} +12 -4
- package/dist/{chunk-6XKHPCFW.js → chunk-CSXA4HMV.js} +2 -2
- package/dist/{chunk-IPVZPZBT.js → chunk-DN6HPGCI.js} +5 -5
- package/dist/{chunk-2BSSRM5U.js → chunk-DW7ZQX7L.js} +1 -1
- package/dist/{chunk-BM4WXLS6.js → chunk-E6IFBGZF.js} +2 -2
- package/dist/{chunk-G6Y63AZ2.js → chunk-EINN22XV.js} +2 -2
- package/dist/{chunk-5ZTBYRTQ.js → chunk-ELP65DFC.js} +1 -1
- package/dist/{chunk-VNEKDZRS.js → chunk-FCQ52N4E.js} +8 -8
- package/dist/{chunk-ZGQCZKNY.js → chunk-FEVQDABQ.js} +2 -2
- package/dist/{chunk-KNM3GFV5.js → chunk-FKX7SWNT.js} +7 -7
- package/dist/{chunk-HEOH4JH3.js → chunk-FMWG4X3D.js} +5 -5
- package/dist/{chunk-E4XS75YY.js → chunk-FUJZW3R5.js} +1 -1
- package/dist/{chunk-VWELQENE.js → chunk-FZN7TKSM.js} +1 -1
- package/dist/{chunk-FHMZFJJI.js → chunk-G5EKU4RB.js} +3 -3
- package/dist/{chunk-LT2X6GMR.js → chunk-G5OTSL26.js} +3 -3
- package/dist/{chunk-7O766ACL.js → chunk-GPD4BB76.js} +1 -1
- package/dist/{chunk-6RMGY4KP.js → chunk-GSB62GNT.js} +4 -4
- package/dist/{chunk-KKVTBTX5.js → chunk-H4364HR3.js} +5 -5
- package/dist/{chunk-EKCCDM3D.js → chunk-H5TBR4BB.js} +5 -5
- package/dist/{chunk-3FW2QYX2.js → chunk-HDD23XYP.js} +11 -11
- package/dist/{chunk-AS326WXH.js → chunk-HI3LOBT5.js} +9 -7
- package/dist/{chunk-BEEJ3QJP.js → chunk-HJSW3MH2.js} +2 -2
- package/dist/{chunk-PIEQTKMS.js → chunk-HPFGXE6Y.js} +6 -6
- package/dist/{chunk-JO7YECNL.js → chunk-ICLT2KA5.js} +1 -1
- package/dist/{chunk-KAHKKD4R.js → chunk-JF3ONE4H.js} +2 -2
- package/dist/{chunk-DXB3WZQH.js → chunk-JF4VX754.js} +1 -1
- package/dist/{chunk-R3VB6IWK.js → chunk-JFXYGMV5.js} +4 -4
- package/dist/{chunk-DECR2ASU.js → chunk-JM6EAV42.js} +5 -5
- package/dist/{chunk-PIEQVLWA.js → chunk-JPKOYDQJ.js} +6 -6
- package/dist/{chunk-N5FLIE3B.js → chunk-JYFMVOML.js} +1 -1
- package/dist/{chunk-DXLNLE7C.js → chunk-K6PBTBLO.js} +4 -4
- package/dist/{chunk-WMELBTKZ.js → chunk-KTJHZVCD.js} +3 -3
- package/dist/{chunk-MNVPOPER.js → chunk-LDX3KQMJ.js} +2 -2
- package/dist/{chunk-WXSWR2FG.js → chunk-LIYQSMYK.js} +4 -4
- package/dist/{chunk-3ABPJTSC.js → chunk-M64A2Z2F.js} +1 -1
- package/dist/{chunk-GRWWQNKA.js → chunk-MHZSIN5K.js} +3 -3
- package/dist/{chunk-XW7UUCSM.js → chunk-MN6DXDJR.js} +6 -6
- package/dist/{chunk-ZATM23SV.js → chunk-MQSO2S3H.js} +1 -1
- package/dist/{chunk-Q3LFQVDS.js → chunk-NDXTGRZG.js} +1 -1
- package/dist/{chunk-746XV434.js → chunk-OSDIFFSP.js} +3 -3
- package/dist/{chunk-J3LMHXHV.js → chunk-OV2XD2UY.js} +1 -1
- package/dist/{chunk-WC4WLJ6L.js → chunk-Q5SVRCFU.js} +1 -1
- package/dist/{chunk-E43Q5IZQ.js → chunk-RV5LIW3K.js} +12 -12
- package/dist/{chunk-NDPIHRLT.js → chunk-SFIYMKWT.js} +5 -5
- package/dist/{chunk-FQNL4HE7.js → chunk-TAXOI6AK.js} +4 -4
- package/dist/{chunk-IX2DIIR5.js → chunk-TGM2WHUG.js} +2 -2
- package/dist/{chunk-4JJDUPF5.js → chunk-TMN7LKDC.js} +7 -7
- package/dist/{chunk-AJCFOXEE.js → chunk-TWACA7ER.js} +9 -9
- package/dist/{chunk-JMHS55ZS.js → chunk-UIBQDALO.js} +3 -3
- package/dist/{chunk-QU6OSEUV.js → chunk-ULDUDSTW.js} +2 -0
- package/dist/{chunk-MCJGCJUQ.js → chunk-URDT623B.js} +1 -1
- package/dist/{chunk-7KIEBY2I.js → chunk-V4ZQBKI6.js} +1 -1
- package/dist/{chunk-J6CSPMZF.js → chunk-V7ULGI7U.js} +4 -4
- package/dist/{chunk-BWGJWF7M.js → chunk-VPG6QENY.js} +10 -10
- package/dist/{chunk-2X7O2QE3.js → chunk-WMCF6PR5.js} +3 -3
- package/dist/{chunk-NHKJDBKZ.js → chunk-WVJFHP75.js} +1 -1
- package/dist/{chunk-6MKKNXW6.js → chunk-WY2UKKLD.js} +1 -1
- package/dist/{chunk-ZHPK2JGH.js → chunk-X4G5G2ZN.js} +2 -2
- package/dist/{chunk-A4QB2DOJ.js → chunk-XGW4PJPO.js} +2 -2
- package/dist/{chunk-2JM3H72Y.js → chunk-XYRXKL3V.js} +1 -1
- package/dist/{chunk-Z6VYPLVI.js → chunk-Z5EWWGD2.js} +5 -5
- package/dist/{chunk-OVM54QWV.js → chunk-Z7LAWFZ7.js} +4 -3
- package/dist/{chunk-E7QTBSY2.js → chunk-ZPQPTIIY.js} +2 -2
- package/dist/{codex-app-cards-switch-FCF22YK6.js → codex-app-cards-switch-DBFQJU3Y.js} +11 -11
- package/dist/{codex-card-routing-33FTWY2U.js → codex-card-routing-TKG7LOP4.js} +2 -2
- package/dist/{codex-desktop-launch-CMMBCQDF.js → codex-desktop-launch-UXMYKS5C.js} +3 -3
- package/dist/{codex-session-launch-VW4737L5.js → codex-session-launch-5NOJKDWN.js} +20 -20
- package/dist/{config-GPO476YL.js → config-HHUSXJZE.js} +3 -3
- package/dist/{global-upgrade-6DOQCXZJ.js → global-upgrade-J2NB62DV.js} +9 -9
- package/dist/{identity-4OD6GQPB.js → identity-7O3ZBVUY.js} +4 -4
- package/dist/{live-capabilities-X6O5HJCK.js → live-capabilities-773SVQWH.js} +4 -4
- package/dist/{paths-LYVFVRQM.js → paths-VZXMX35O.js} +3 -3
- package/dist/{reapply-GKXG74LO.js → reapply-7MIBK2WB.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-LZIWY4Q6.js → upgrade-lock-WWTTPOIZ.js} +4 -4
- package/dist/{usage-RN5ED6TT.js → usage-PHTLHFL2.js} +3 -3
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toolResultErrorText,
|
|
30
30
|
transcriptTokensIn,
|
|
31
31
|
transcriptUsageRequest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WVJFHP75.js";
|
|
33
33
|
import {
|
|
34
34
|
askUser,
|
|
35
35
|
cancelQuestion,
|
|
@@ -48,37 +48,37 @@ import {
|
|
|
48
48
|
waitForQuestion,
|
|
49
49
|
waitsForThePhone,
|
|
50
50
|
writeDegraded
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-A2GO3G2I.js";
|
|
52
52
|
import {
|
|
53
53
|
RETRY_ACK,
|
|
54
54
|
readCommandAck,
|
|
55
55
|
refusedReceiptMessage
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-M64A2Z2F.js";
|
|
57
57
|
import {
|
|
58
58
|
SubscriptionRequiredError,
|
|
59
59
|
isRetryable,
|
|
60
60
|
withRetry
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-H4364HR3.js";
|
|
62
62
|
import {
|
|
63
63
|
fetchAsCredential
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-NDXTGRZG.js";
|
|
65
65
|
import {
|
|
66
66
|
branchFor,
|
|
67
67
|
projectNameFor,
|
|
68
68
|
repoKeyFor
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-4UIVOCDT.js";
|
|
70
70
|
import {
|
|
71
71
|
getMachineId
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-OV2XD2UY.js";
|
|
73
73
|
import {
|
|
74
74
|
reportedInstallSource
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-X4G5G2ZN.js";
|
|
76
76
|
import {
|
|
77
77
|
IDLE_PROMPT_NOTIFICATION,
|
|
78
78
|
NOTIFICATION_PUSH_TYPES,
|
|
79
79
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
80
80
|
claudeConfigDir
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-FEVQDABQ.js";
|
|
82
82
|
import {
|
|
83
83
|
compareVersion,
|
|
84
84
|
parseVersion
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
getApiKey,
|
|
88
88
|
getBaseUrl,
|
|
89
89
|
isMalformedApiKeyError
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XGW4PJPO.js";
|
|
91
91
|
import {
|
|
92
92
|
writeFileAtomic,
|
|
93
93
|
writeJsonAtomicDurable
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
resolveAutoResolveOrigin,
|
|
146
146
|
resolvePolicy,
|
|
147
147
|
unansweredRefusalReason
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-ULDUDSTW.js";
|
|
149
149
|
|
|
150
150
|
// src/pending.ts
|
|
151
151
|
import { join } from "path";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MN6DXDJR.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-FZN7TKSM.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-G5OTSL26.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-X4G5G2ZN.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7MRK2WXT.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ULDUDSTW.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -704,7 +704,8 @@ var connectViaAppPairing = async (options) => {
|
|
|
704
704
|
}
|
|
705
705
|
};
|
|
706
706
|
var PHONE_WAIT_TIMEOUT_MS = 10 * 6e4;
|
|
707
|
-
var
|
|
707
|
+
var PHONE_WAIT_SKIP_KEY = "s";
|
|
708
|
+
var PHONE_WAIT_SKIP_LINE = `Press S to skip. You can connect a phone later with ${NPX_LATEST_COMMAND} setup.`;
|
|
708
709
|
var describePhoneWait = (skipOffered) => [
|
|
709
710
|
bold("Connect your phone"),
|
|
710
711
|
"Open the Pushary app on your phone and allow notifications.",
|
|
@@ -867,6 +868,7 @@ export {
|
|
|
867
868
|
describeCancelledPairing,
|
|
868
869
|
pairingEscapeApplies,
|
|
869
870
|
connectViaAppPairing,
|
|
871
|
+
PHONE_WAIT_SKIP_KEY,
|
|
870
872
|
waitForYourPhone,
|
|
871
873
|
pairAppWithThisComputer
|
|
872
874
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HDD23XYP.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FEVQDABQ.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E6IFBGZF.js";
|
|
7
7
|
import {
|
|
8
8
|
phoneStartIsRequired
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G5EKU4RB.js";
|
|
10
10
|
import {
|
|
11
11
|
describeAutoUpdateCheck,
|
|
12
12
|
globalInstallLocation,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
readAutoUpdateState,
|
|
19
19
|
updateAutoUpdateState,
|
|
20
20
|
upgradeEntryFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JF3ONE4H.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FEVQDABQ.js";
|
|
27
27
|
import {
|
|
28
28
|
describeReleaseNpmHolds,
|
|
29
29
|
execNpm,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
npmExitedOnReleaseAge,
|
|
34
34
|
readGlobalCliInstallAt,
|
|
35
35
|
readGlobalPrefix
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JFXYGMV5.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7MRK2WXT.js";
|
|
40
40
|
import {
|
|
41
41
|
EXIT
|
|
42
42
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-52PIW2SN.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FEVQDABQ.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-ULDUDSTW.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ULDUDSTW.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -599,9 +599,9 @@ var installGlobally = (options) => {
|
|
|
599
599
|
}
|
|
600
600
|
const started = (async () => {
|
|
601
601
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
602
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
603
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
604
|
-
const { autoUpdateLock } = await import("./paths-
|
|
602
|
+
const { withUpgradeLock } = await import("./global-upgrade-J2NB62DV.js");
|
|
603
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-WWTTPOIZ.js");
|
|
604
|
+
const { autoUpdateLock } = await import("./paths-VZXMX35O.js");
|
|
605
605
|
let result = "skipped";
|
|
606
606
|
const install = async () => {
|
|
607
607
|
const planned = readPlannedSetupInstall(process.platform);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4QQ3HXGR.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FKX7SWNT.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeClaudeInstallPath
|
|
9
9
|
} from "./chunk-TCE3J44Z.js";
|
|
10
10
|
import {
|
|
11
11
|
grokHome
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FMWG4X3D.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FEVQDABQ.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ULDUDSTW.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./chunk-3PSNUHC5.js";
|
|
5
5
|
import {
|
|
6
6
|
getMachineId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OV2XD2UY.js";
|
|
8
8
|
import {
|
|
9
9
|
readControlMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WMCF6PR5.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FEVQDABQ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveGlobalBinary,
|
|
16
16
|
withoutNpmInstallConsent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JFXYGMV5.js";
|
|
18
18
|
import {
|
|
19
19
|
getApiKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XGW4PJPO.js";
|
|
21
21
|
import {
|
|
22
22
|
readJsonSafe,
|
|
23
23
|
writeFileAtomic,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-CXQWDQCJ.js";
|
|
34
34
|
import {
|
|
35
35
|
isRecord
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ULDUDSTW.js";
|
|
37
37
|
|
|
38
38
|
// src/daemon-entry-guard.ts
|
|
39
39
|
import { mkdirSync, readFileSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z7LAWFZ7.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5QLIXOVT.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-FEVQDABQ.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-ULDUDSTW.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceNodeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JPKOYDQJ.js";
|
|
4
4
|
import {
|
|
5
5
|
OWNER_ONLY_FILE_MODE,
|
|
6
6
|
readOwnerOnlyJson
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
codexHome,
|
|
15
15
|
codexHooksJsonIn,
|
|
16
16
|
isPusharyCodexCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FEVQDABQ.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_WINDOWS_PATHEXT,
|
|
20
20
|
DIRECTLY_STARTABLE_EXTENSIONS,
|
|
21
21
|
plannedGlobalPackage,
|
|
22
22
|
readGlobalPrefix,
|
|
23
23
|
resolvePathBinary
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JFXYGMV5.js";
|
|
25
25
|
import {
|
|
26
26
|
getPackageVersion,
|
|
27
27
|
globalTranscriptRegisterEntry
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeConfigDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FEVQDABQ.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePermissionRulesFromSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ULDUDSTW.js";
|
|
7
7
|
|
|
8
8
|
// src/claude-permission-rules.ts
|
|
9
9
|
import { readFileSync, statSync } from "fs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-U4P4NDVB.js";
|
|
17
17
|
import {
|
|
18
18
|
withoutNpmInstallConsent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JFXYGMV5.js";
|
|
20
20
|
|
|
21
21
|
// src/codex-desktop-launch.ts
|
|
22
22
|
import { spawn as spawn2, execFileSync as execFileSync2 } from "child_process";
|
|
@@ -539,8 +539,8 @@ var loadedOnce = (load) => {
|
|
|
539
539
|
};
|
|
540
540
|
|
|
541
541
|
// src/codex-desktop-proxy.ts
|
|
542
|
-
var loadThePhone = () => import("./api-
|
|
543
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
542
|
+
var loadThePhone = () => import("./api-UVFEVNJD.js");
|
|
543
|
+
var loadTheCardRouting = () => import("./codex-card-routing-TKG7LOP4.js");
|
|
544
544
|
var theFirstCardLoadsAgain = () => {
|
|
545
545
|
};
|
|
546
546
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1101,7 +1101,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1101
1101
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1104
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1104
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-DBFQJU3Y.js");
|
|
1105
1105
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1106
1106
|
}
|
|
1107
1107
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
NpmMissingError,
|
|
4
4
|
NpmPermissionError,
|
|
5
5
|
NpmReleaseAgeError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JFXYGMV5.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-PM2NRK6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7MRK2WXT.js";
|
|
13
13
|
import {
|
|
14
14
|
readSetupAgentFailures
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ULDUDSTW.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/config-write.ts
|
|
18
18
|
var AgentConfigWriteError = class extends Error {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPQPTIIY.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H4364HR3.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G5OTSL26.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XGW4PJPO.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7MRK2WXT.js";
|
|
17
17
|
import {
|
|
18
18
|
AGENT_STOP_DEFAULT_SECONDS,
|
|
19
19
|
APPROVAL_MODE_META,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
classifyConfirmResponse,
|
|
22
22
|
isAnswerSource,
|
|
23
23
|
roundTripAsk
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ULDUDSTW.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OV2XD2UY.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XGW4PJPO.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-ULDUDSTW.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KTJHZVCD.js";
|
|
9
9
|
import {
|
|
10
10
|
hermesReceiptPaths,
|
|
11
11
|
hermesSetupPredatesThePluginFolder,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
refreshHermesPluginFiles,
|
|
15
15
|
refreshOpenClawPlugin,
|
|
16
16
|
shippedHermesPlugin
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2QUYUFYQ.js";
|
|
18
18
|
import {
|
|
19
19
|
fxIgnoresInstructionsFile,
|
|
20
20
|
fxInstructionsBody,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
macAppFxBridge,
|
|
24
24
|
refreshClineKey,
|
|
25
25
|
switchFxHttpEntryToBridge
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SFIYMKWT.js";
|
|
27
27
|
import {
|
|
28
28
|
OPENCODE_HOOK_BINARY,
|
|
29
29
|
agentHookOwner,
|
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
openCodePluginDir,
|
|
37
37
|
openCodeWired,
|
|
38
38
|
withOpenCodeAskRules
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FKX7SWNT.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Q5SVRCFU.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FMWG4X3D.js";
|
|
49
49
|
import {
|
|
50
50
|
GEMINI_HOOK_BINARY,
|
|
51
51
|
addGeminiHooks,
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
geminiWired,
|
|
58
58
|
hasGeminiHooks,
|
|
59
59
|
planHooks
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-K6PBTBLO.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XYRXKL3V.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WMCF6PR5.js";
|
|
67
67
|
import {
|
|
68
68
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
69
69
|
CLAUDE_HOOK_BINARY,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
renderAgentInstructions,
|
|
111
111
|
supportedClaudeEvents,
|
|
112
112
|
vscodePluginMcp
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-FEVQDABQ.js";
|
|
114
114
|
import {
|
|
115
115
|
formatVersion
|
|
116
116
|
} from "./chunk-6ICPEJY5.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
hookCommandsUseBareNames,
|
|
119
119
|
resolveGlobalBinDir,
|
|
120
120
|
resolveGlobalBinary
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-JFXYGMV5.js";
|
|
122
122
|
import {
|
|
123
123
|
readJsonSafe,
|
|
124
124
|
writeFileAtomic,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
HOOK_COMPATIBLE_PROFILES,
|
|
129
129
|
isCompatibleAgentType,
|
|
130
130
|
isRecord
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ULDUDSTW.js";
|
|
132
132
|
|
|
133
133
|
// src/reapply.ts
|
|
134
134
|
import { dirname, join } from "path";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MHZSIN5K.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GSB62GNT.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WMCF6PR5.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-FEVQDABQ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JFXYGMV5.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|