pushary 1.9.224 → 1.9.225
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 +5 -0
- package/dist/{api-ONC3NYEU.js → api-XGUBV6TG.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 +33 -32
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +37 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +56 -51
- 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 +42 -13
- package/dist/bin/pushary-doctor.js +59 -51
- 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 +34 -32
- package/dist/bin/pushary-hook.js +34 -34
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- package/dist/bin/pushary-mcp.js +15 -22
- 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 +37 -34
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +34 -34
- 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 +18 -18
- package/dist/bin/pushary-setup.js +57 -57
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +60 -40
- 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 +46 -46
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-NQXJ3HP7.js → chunk-2GQWSBX2.js} +8 -8
- package/dist/{chunk-7RWQULME.js → chunk-2HHQA42H.js} +3 -3
- package/dist/{chunk-35MX2DYY.js → chunk-2MAPVRYT.js} +4 -4
- package/dist/{chunk-TUL6ESJL.js → chunk-2RKHIDZJ.js} +3 -3
- package/dist/{chunk-IRTDVRPP.js → chunk-3BGYVYXJ.js} +5 -5
- package/dist/{chunk-GMIIYOOD.js → chunk-3LNGHZ2A.js} +1 -1
- package/dist/{chunk-BDFS2KC3.js → chunk-3P2VKDFP.js} +2 -2
- package/dist/{chunk-7Z6FW2FX.js → chunk-3ZF74CHU.js} +6 -6
- package/dist/{chunk-F4ZWZ3NF.js → chunk-4DP54WUK.js} +1 -1
- package/dist/chunk-5C55SFEG.js +90 -0
- package/dist/{chunk-WWWJHD5W.js → chunk-5DLPB6VD.js} +1 -1
- package/dist/{chunk-MDOLCJRZ.js → chunk-5HGY2GS7.js} +1 -1
- package/dist/{chunk-TZTPY2QF.js → chunk-5IGIQ6FR.js} +2 -2
- package/dist/{chunk-QGA57PZ2.js → chunk-66JT67XZ.js} +29 -22
- package/dist/{chunk-ZMFR6APZ.js → chunk-67NX2ZEC.js} +5 -5
- package/dist/{chunk-XP6EIQDC.js → chunk-6LNEYLGC.js} +5 -5
- package/dist/{chunk-BHQ2USGM.js → chunk-6W25WVDD.js} +1 -1
- package/dist/{chunk-LTNWYLVK.js → chunk-7D2FYVBW.js} +3 -3
- package/dist/{chunk-V3GMYPTF.js → chunk-ABUIWYET.js} +6 -6
- package/dist/{chunk-QJT5ZEQ7.js → chunk-BBDFTX3K.js} +1 -1
- package/dist/{chunk-37O3TEYR.js → chunk-BMQMT2LQ.js} +12 -12
- package/dist/{chunk-ZVDJNBYV.js → chunk-BTFQLHZ2.js} +4 -4
- package/dist/{chunk-Q7OEKDFK.js → chunk-DKI5QA46.js} +4 -4
- package/dist/{chunk-Z3GKJWBV.js → chunk-DUUE36M5.js} +3 -3
- package/dist/{chunk-SSBYRK22.js → chunk-EPJQPPBU.js} +4 -4
- package/dist/{chunk-SNQODYMM.js → chunk-F4G22HS4.js} +1 -1
- package/dist/{chunk-XANXXZVC.js → chunk-FGEPXL5K.js} +3 -3
- package/dist/{chunk-QVGXCFGJ.js → chunk-FOABNWRY.js} +3 -3
- package/dist/{chunk-NR6K7SFA.js → chunk-GPLEY6JL.js} +5 -5
- package/dist/{chunk-TO5T2D5C.js → chunk-H4QSDEVU.js} +4 -4
- package/dist/{chunk-FMX56I6G.js → chunk-HZH5X3D6.js} +5 -5
- package/dist/{chunk-P4FAWEDR.js → chunk-I3F2RT6H.js} +3 -3
- package/dist/{chunk-FNIGFFVQ.js → chunk-I5K4M6RO.js} +1 -1
- package/dist/{chunk-ENXYENW3.js → chunk-IPGEDXFD.js} +5 -5
- package/dist/{chunk-XLGNI7ZM.js → chunk-IZHCLPRX.js} +6 -6
- package/dist/{chunk-JJECC5TS.js → chunk-JDWRKP73.js} +4 -4
- package/dist/{chunk-SZOG3UW3.js → chunk-JOR5C5EN.js} +5 -5
- package/dist/{chunk-TKWS6E7B.js → chunk-JTWSDHDB.js} +19 -8
- package/dist/{chunk-6AQOULFH.js → chunk-JYNIBOW6.js} +1 -1
- package/dist/{chunk-FND4HRMJ.js → chunk-K6JUQVL6.js} +2 -2
- package/dist/{chunk-OQP2SBVG.js → chunk-KMBUWYIF.js} +27 -13
- package/dist/{chunk-GV42N5QE.js → chunk-L3OZKXAH.js} +1 -1
- package/dist/{chunk-6EGV3GON.js → chunk-LMP5K32O.js} +6 -6
- package/dist/{chunk-QKMBCZYI.js → chunk-LOJ7U6VW.js} +2 -2
- package/dist/{chunk-ZBIDKPCA.js → chunk-LVB2UNTX.js} +5 -5
- package/dist/{chunk-ZJKWVWVW.js → chunk-MSAFTQ5S.js} +7 -7
- package/dist/{chunk-OCGOLDIU.js → chunk-NUPW3G4F.js} +5 -5
- package/dist/{chunk-7FSB46RG.js → chunk-OA4BOYDG.js} +1 -1
- package/dist/{chunk-73QU5HGK.js → chunk-OOHHMEYX.js} +2 -2
- package/dist/{chunk-4SW5ILAY.js → chunk-PCWVQ6PT.js} +9 -9
- package/dist/{chunk-3SQBFADX.js → chunk-PPIPBJR2.js} +1 -1
- package/dist/{chunk-VWHZS7CZ.js → chunk-QCZEPAHW.js} +1 -1
- package/dist/{chunk-S5GJILJ7.js → chunk-QYNBB5OO.js} +2 -2
- package/dist/{chunk-WBM5QRLH.js → chunk-SP5YAAFD.js} +1 -1
- package/dist/{chunk-HSHHV7KX.js → chunk-THE2SPHY.js} +3 -3
- package/dist/{chunk-J4KRS6U6.js → chunk-TKAHYLOH.js} +2 -2
- package/dist/{chunk-J6TV66B5.js → chunk-TUACBIHO.js} +2 -2
- package/dist/{chunk-2CY3RVXV.js → chunk-TYD3HCOZ.js} +1 -1
- package/dist/{chunk-KXWFB5C3.js → chunk-UC3CPRDS.js} +2 -2
- package/dist/{chunk-PJQFIGIH.js → chunk-UC5LKWWC.js} +2 -2
- package/dist/{chunk-YSASHNPA.js → chunk-UNHODOXL.js} +2 -2
- package/dist/{chunk-NSVXD77O.js → chunk-V2BCZ2HN.js} +4 -4
- package/dist/{chunk-PPCDXEKQ.js → chunk-V5JRLAHZ.js} +1 -1
- package/dist/{chunk-HQQLBTLR.js → chunk-VQKDSIJ6.js} +7 -7
- package/dist/{chunk-LTGOBKBE.js → chunk-VYPGDTD5.js} +1 -1
- package/dist/{chunk-3I5OH3BQ.js → chunk-W456LKRF.js} +1 -1
- package/dist/{chunk-H7OAPHT6.js → chunk-W5SKLM2R.js} +12 -4
- package/dist/{chunk-7322XHFA.js → chunk-WA737SQM.js} +4 -4
- package/dist/{chunk-QODLGTAJ.js → chunk-WKTGDK5J.js} +2 -2
- package/dist/{chunk-7YBP6JUZ.js → chunk-WUOJXMOM.js} +4 -4
- package/dist/{chunk-KAE2B7B3.js → chunk-XOMANR2K.js} +1 -1
- package/dist/{chunk-ROJXEYYY.js → chunk-XRF2QECS.js} +1 -1
- package/dist/{chunk-T2X5A6ON.js → chunk-YCDBEW2Q.js} +10 -10
- package/dist/{chunk-YIWQPPNE.js → chunk-YIMMMBLU.js} +3 -3
- package/dist/{chunk-CXYGVLWY.js → chunk-YMMRJK2S.js} +5 -5
- package/dist/{chunk-TRTD7K6F.js → chunk-Z2WM6DAC.js} +2 -2
- package/dist/{chunk-45FJXU6L.js → chunk-ZK3GC5X6.js} +6 -6
- package/dist/{chunk-YWJW3GBN.js → chunk-ZOJCQT65.js} +1 -1
- package/dist/{codex-app-cards-switch-LXPMFON2.js → codex-app-cards-switch-R5F7XIWI.js} +11 -11
- package/dist/{codex-card-routing-D5YIOCO4.js → codex-card-routing-JODZRLQ6.js} +2 -2
- package/dist/{codex-desktop-launch-QPPHABQW.js → codex-desktop-launch-7DSOU5NE.js} +1 -1
- package/dist/{codex-session-launch-BXQPUMWB.js → codex-session-launch-SZ5TQPGZ.js} +20 -20
- package/dist/config-ZH3LNGIR.js +28 -0
- package/dist/{global-upgrade-NTZCGPYN.js → global-upgrade-PE7BP5QH.js} +9 -9
- package/dist/{identity-F6D3HRMJ.js → identity-2EITAH3V.js} +4 -4
- package/dist/{live-capabilities-YSGKGSP4.js → live-capabilities-CMWLJFZO.js} +4 -4
- package/dist/{paths-Q3PUCZZQ.js → paths-YDAYO6TG.js} +3 -3
- package/dist/reapply-MCB2MIQN.js +74 -0
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-FH6YYKRD.js → upgrade-lock-46BLXPXN.js} +4 -4
- package/dist/{usage-RUBRRQDK.js → usage-GEWJJOAD.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-KK75BMI5.js +0 -53
- package/dist/config-74YKDTUD.js +0 -16
- package/dist/reapply-RSNZA5DQ.js +0 -74
- /package/dist/{chunk-4E3NSM4E.js → chunk-4DKVCK2C.js} +0 -0
|
@@ -2,33 +2,34 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QYNBB5OO.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K6JUQVL6.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6W25WVDD.js";
|
|
13
13
|
import {
|
|
14
14
|
reportMachineDenial
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JDWRKP73.js";
|
|
16
16
|
import {
|
|
17
17
|
isGatingMoment,
|
|
18
18
|
recordKeylessMoment
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QCZEPAHW.js";
|
|
20
20
|
import {
|
|
21
21
|
isAdmitted,
|
|
22
22
|
readAdmissionRules
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IPGEDXFD.js";
|
|
24
24
|
import {
|
|
25
25
|
activeHookSource,
|
|
26
26
|
activeIdentity,
|
|
27
27
|
namedSource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LVB2UNTX.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_SESSION,
|
|
31
31
|
allow,
|
|
32
|
+
announceMalformedApiKey,
|
|
32
33
|
approvalAwaitingRetry,
|
|
33
34
|
approvingTimeoutOutput,
|
|
34
35
|
ask,
|
|
@@ -65,7 +66,7 @@ import {
|
|
|
65
66
|
storedWaitDeadline,
|
|
66
67
|
sweepFilesOlderThan,
|
|
67
68
|
userScope
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-KMBUWYIF.js";
|
|
69
70
|
import {
|
|
70
71
|
UNNAMED_ACTION,
|
|
71
72
|
deriveAction,
|
|
@@ -76,7 +77,7 @@ import {
|
|
|
76
77
|
patchDeletesFiles,
|
|
77
78
|
permissionDeniedAction,
|
|
78
79
|
scopePathFor
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-XRF2QECS.js";
|
|
80
81
|
import {
|
|
81
82
|
askUser,
|
|
82
83
|
cancelQuestion,
|
|
@@ -91,29 +92,30 @@ import {
|
|
|
91
92
|
sendNotification,
|
|
92
93
|
waitForQuestion,
|
|
93
94
|
withdrawQuestion
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-3ZF74CHU.js";
|
|
95
96
|
import {
|
|
96
97
|
branchFor,
|
|
97
98
|
projectNameFor,
|
|
98
99
|
repoKeyFor,
|
|
99
100
|
repositoryScopeFor
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-PPIPBJR2.js";
|
|
101
102
|
import {
|
|
102
103
|
getMachineId
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-W456LKRF.js";
|
|
104
105
|
import {
|
|
105
106
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-UC3CPRDS.js";
|
|
107
108
|
import {
|
|
108
109
|
getApiKey,
|
|
109
|
-
getBaseUrl
|
|
110
|
-
|
|
110
|
+
getBaseUrl,
|
|
111
|
+
isMalformedApiKeyError
|
|
112
|
+
} from "./chunk-5C55SFEG.js";
|
|
111
113
|
import {
|
|
112
114
|
writeFileAtomic
|
|
113
115
|
} from "./chunk-PM2NRK6Y.js";
|
|
114
116
|
import {
|
|
115
117
|
NPX_LATEST_COMMAND
|
|
116
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-4DP54WUK.js";
|
|
117
119
|
import {
|
|
118
120
|
AGENT_QUESTION_STRATEGY,
|
|
119
121
|
AGENT_QUESTION_TOOL,
|
|
@@ -181,7 +183,7 @@ import {
|
|
|
181
183
|
terminalStaysLiveForTheCall,
|
|
182
184
|
timeoutActionWithoutLocalPrompt,
|
|
183
185
|
unapprovedScopeReason
|
|
184
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-4DKVCK2C.js";
|
|
185
187
|
|
|
186
188
|
// src/terminal-answer-watch.ts
|
|
187
189
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -568,6 +570,10 @@ var keylessNoticeOnce = (sessionId) => {
|
|
|
568
570
|
} catch {
|
|
569
571
|
}
|
|
570
572
|
};
|
|
573
|
+
var announceWhyThereIsNoKey = (keyError, sessionId) => {
|
|
574
|
+
if (isMalformedApiKeyError(keyError)) announceMalformedApiKey(keyError, sessionId);
|
|
575
|
+
else keylessNoticeOnce(sessionId);
|
|
576
|
+
};
|
|
571
577
|
var shouldDeferToNativeMode = defersToNativeMode;
|
|
572
578
|
var terminalLiveFactsOf = (input) => ({
|
|
573
579
|
source: ACTIVE_SOURCE,
|
|
@@ -660,7 +666,7 @@ var handleExitPlanMode = async (apiKey, input) => {
|
|
|
660
666
|
const plan = await askThePlanQuestion(apiKey, input);
|
|
661
667
|
return preToolUsePlanOutput(plan.kind === "settled" ? plan.answer : await planAnswerOf(apiKey, plan.question, plan.deadline));
|
|
662
668
|
};
|
|
663
|
-
var handleKeyless = (input) => {
|
|
669
|
+
var handleKeyless = (input, keyError) => {
|
|
664
670
|
try {
|
|
665
671
|
if (isGatingMoment(input.tool_name, input.tool_input ?? {})) {
|
|
666
672
|
recordKeylessMoment({
|
|
@@ -670,7 +676,7 @@ var handleKeyless = (input) => {
|
|
|
670
676
|
sessionId: input.session_id
|
|
671
677
|
});
|
|
672
678
|
}
|
|
673
|
-
|
|
679
|
+
announceWhyThereIsNoKey(keyError, input.session_id);
|
|
674
680
|
} catch {
|
|
675
681
|
}
|
|
676
682
|
return void 0;
|
|
@@ -784,7 +790,8 @@ var standingRefusalOf = async (input, canonical) => {
|
|
|
784
790
|
let apiKey;
|
|
785
791
|
try {
|
|
786
792
|
apiKey = getApiKey();
|
|
787
|
-
} catch {
|
|
793
|
+
} catch (keyError) {
|
|
794
|
+
announceMalformedApiKey(keyError, input.session_id);
|
|
788
795
|
return settledWithoutAKey(void 0);
|
|
789
796
|
}
|
|
790
797
|
try {
|
|
@@ -817,8 +824,8 @@ var decidePreToolUse = async (input, canonical) => {
|
|
|
817
824
|
let apiKey;
|
|
818
825
|
try {
|
|
819
826
|
apiKey = getApiKey();
|
|
820
|
-
} catch {
|
|
821
|
-
handleKeyless(input);
|
|
827
|
+
} catch (keyError) {
|
|
828
|
+
handleKeyless(input, keyError);
|
|
822
829
|
return settledWithoutAKey(undecidedCall(SOLE_GATE_SIGNED_OUT_REASON));
|
|
823
830
|
}
|
|
824
831
|
try {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I3F2RT6H.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W5SKLM2R.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JTWSDHDB.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-UC3CPRDS.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-H4QSDEVU.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EPJQPPBU.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCLAW_MIN_VERSION,
|
|
24
24
|
OPENCLAW_PLUGIN_ID,
|
|
25
25
|
OPENCLAW_PLUGIN_PACKAGE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-THE2SPHY.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-I3F2RT6H.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5C55SFEG.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonSafe,
|
|
35
35
|
writeJsonAtomic
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readSetupOutcomeProperties,
|
|
39
39
|
redactSecretsFromContent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4DKVCK2C.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceNodeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ABUIWYET.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-UC3CPRDS.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-H4QSDEVU.js";
|
|
25
25
|
import {
|
|
26
26
|
getPackageVersion,
|
|
27
27
|
globalTranscriptRegisterEntry
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-3PSNUHC5.js";
|
|
5
5
|
import {
|
|
6
6
|
getMachineId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W456LKRF.js";
|
|
8
8
|
import {
|
|
9
9
|
readControlMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JTWSDHDB.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UC3CPRDS.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveGlobalBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-H4QSDEVU.js";
|
|
17
17
|
import {
|
|
18
18
|
getApiKey
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5C55SFEG.js";
|
|
20
20
|
import {
|
|
21
21
|
readJsonSafe,
|
|
22
22
|
writeFileAtomic,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-CXQWDQCJ.js";
|
|
33
33
|
import {
|
|
34
34
|
isRecord
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4DKVCK2C.js";
|
|
36
36
|
|
|
37
37
|
// src/daemon-entry-guard.ts
|
|
38
38
|
import { mkdirSync, readFileSync } from "fs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7D2FYVBW.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-EPJQPPBU.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-67NX2ZEC.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-MSAFTQ5S.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WKTGDK5J.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LVB2UNTX.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-DKI5QA46.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-SP5YAAFD.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JTWSDHDB.js";
|
|
67
67
|
import {
|
|
68
68
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
69
69
|
CLAUDE_HOOK_BINARY,
|
|
@@ -110,13 +110,13 @@ import {
|
|
|
110
110
|
renderAgentInstructions,
|
|
111
111
|
supportedClaudeEvents,
|
|
112
112
|
vscodePluginMcp
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-UC3CPRDS.js";
|
|
114
114
|
import {
|
|
115
115
|
formatVersion,
|
|
116
116
|
hookCommandsUseBareNames,
|
|
117
117
|
resolveGlobalBinDir,
|
|
118
118
|
resolveGlobalBinary
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-H4QSDEVU.js";
|
|
120
120
|
import {
|
|
121
121
|
readJsonSafe,
|
|
122
122
|
writeFileAtomic,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
HOOK_COMPATIBLE_PROFILES,
|
|
127
127
|
isCompatibleAgentType,
|
|
128
128
|
isRecord
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-4DKVCK2C.js";
|
|
130
130
|
|
|
131
131
|
// src/reapply.ts
|
|
132
132
|
import { dirname, join } from "path";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MSAFTQ5S.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JTWSDHDB.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UC3CPRDS.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-PM2NRK6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4DKVCK2C.js";
|
|
17
17
|
|
|
18
18
|
// src/shared-mcp-key.ts
|
|
19
19
|
var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5JRLAHZ.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZOJCQT65.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-UC3CPRDS.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-4DKVCK2C.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -536,8 +536,8 @@ var loadedOnce = (load) => {
|
|
|
536
536
|
};
|
|
537
537
|
|
|
538
538
|
// src/codex-desktop-proxy.ts
|
|
539
|
-
var loadThePhone = () => import("./api-
|
|
540
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
539
|
+
var loadThePhone = () => import("./api-XGUBV6TG.js");
|
|
540
|
+
var loadTheCardRouting = () => import("./codex-card-routing-JODZRLQ6.js");
|
|
541
541
|
var theFirstCardLoadsAgain = () => {
|
|
542
542
|
};
|
|
543
543
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1097
1097
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1098
1098
|
}
|
|
1099
1099
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1100
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1100
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-R5F7XIWI.js");
|
|
1101
1101
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
uninstallOpenClawPlugin,
|
|
14
14
|
unsetOpenClawEntry,
|
|
15
15
|
writeOpenClawEntry
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-THE2SPHY.js";
|
|
17
17
|
import {
|
|
18
18
|
needsShell
|
|
19
19
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
openClawDirectoriesToLookIn,
|
|
26
26
|
openClawPluginFolder,
|
|
27
27
|
openClawSetupReceiptDirectory
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UC3CPRDS.js";
|
|
29
29
|
import {
|
|
30
30
|
resolvePathBinary
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-H4QSDEVU.js";
|
|
32
32
|
import {
|
|
33
33
|
readJsonSafe,
|
|
34
34
|
writeJsonAtomic
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-CXQWDQCJ.js";
|
|
40
40
|
import {
|
|
41
41
|
isRecord
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4DKVCK2C.js";
|
|
43
43
|
|
|
44
44
|
// src/hermes/plugin-payload.ts
|
|
45
45
|
import { createHash } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETUP_FLAGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5JRLAHZ.js";
|
|
4
4
|
import {
|
|
5
5
|
parseFlags
|
|
6
6
|
} from "./chunk-BZIBNSQE.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4DP54WUK.js";
|
|
13
13
|
import {
|
|
14
14
|
CLAUDE_CONNECTOR_GUIDE,
|
|
15
15
|
CLAUDE_CONNECTOR_STEPS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
CLAUDE_CONNECTOR_URL,
|
|
18
18
|
COWORK_CONNECTOR_LIMIT,
|
|
19
19
|
COWORK_STANDING_INSTRUCTIONS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4DKVCK2C.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/cowork.ts
|
|
23
23
|
import { readFileSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2HHQA42H.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5C55SFEG.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-4DKVCK2C.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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionWindowOf
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KMBUWYIF.js";
|
|
4
4
|
import {
|
|
5
5
|
UNNAMED_ACTION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XRF2QECS.js";
|
|
7
7
|
import {
|
|
8
8
|
ASK_USER_TIMEOUT_MS,
|
|
9
9
|
WAIT_END_TIMEOUT_MS,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
isLocalQuestionHandoff,
|
|
13
13
|
unavailableQuestionUnlessRefused,
|
|
14
14
|
waitForQuestion
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3ZF74CHU.js";
|
|
16
16
|
import {
|
|
17
17
|
getMachineId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W456LKRF.js";
|
|
19
19
|
import {
|
|
20
20
|
hookMaxWaitSeconds,
|
|
21
21
|
hookWaitClamped,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
refusesWhenUnanswered,
|
|
25
25
|
ruleApprovesAfterItsFullWindow,
|
|
26
26
|
scopeBreachReasonOf
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4DKVCK2C.js";
|
|
28
28
|
|
|
29
29
|
// src/pushed-question.ts
|
|
30
30
|
var scopeQuestionOf = (verdict) => {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4DKVCK2C.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
|
|
|
600
600
|
}
|
|
601
601
|
const started = (async () => {
|
|
602
602
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
603
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
604
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
605
|
-
const { autoUpdateLock } = await import("./paths-
|
|
603
|
+
const { withUpgradeLock } = await import("./global-upgrade-PE7BP5QH.js");
|
|
604
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-46BLXPXN.js");
|
|
605
|
+
const { autoUpdateLock } = await import("./paths-YDAYO6TG.js");
|
|
606
606
|
let result = "skipped";
|
|
607
607
|
const install = async () => {
|
|
608
608
|
const planned = readPlannedSetupInstall(process.platform);
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2RKHIDZJ.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ABUIWYET.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W456LKRF.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JTWSDHDB.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5C55SFEG.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
NpmMissingError,
|
|
4
4
|
NpmPermissionError,
|
|
5
5
|
NpmReleaseAgeError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H4QSDEVU.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-4DP54WUK.js";
|
|
13
13
|
import {
|
|
14
14
|
readSetupAgentFailures
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4DKVCK2C.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/config-write.ts
|
|
18
18
|
var AgentConfigWriteError = class extends Error {
|