pushary 1.9.177 → 1.9.179
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 +14 -0
- package/dist/{api-MOK62OPO.js → api-YH7WN4FA.js} +21 -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 +38 -38
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +108 -54
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +34 -34
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +102 -78
- package/dist/bin/pushary-disconnect.js +29 -29
- package/dist/bin/pushary-display-hook.js +22 -1
- package/dist/bin/pushary-doctor.js +62 -48
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +20 -33
- 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 +29 -29
- 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.d.ts +1 -0
- package/dist/bin/pushary-opencode-bridge.js +576 -0
- package/dist/bin/pushary-opencode-hook.js +33 -33
- 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 +38 -38
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +58 -58
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +35 -35
- 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 +45 -44
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-2SFXPVAE.js → chunk-2HMDWEER.js} +1 -1
- package/dist/{chunk-7ZDL4EOA.js → chunk-2JSTCD7L.js} +2 -2
- package/dist/{chunk-GOL7TCMO.js → chunk-32YARQJC.js} +5 -5
- package/dist/{chunk-2HREYLQL.js → chunk-3BZ7IGGW.js} +5 -5
- package/dist/{chunk-G2RTHSTU.js → chunk-3JXSIPLF.js} +1 -1
- package/dist/{chunk-N7GV4Y5B.js → chunk-3NTAU6DN.js} +2 -2
- package/dist/{chunk-BTOP6AHZ.js → chunk-65CSOPQW.js} +12 -25
- package/dist/{chunk-MNWUZ4JH.js → chunk-6BIC2SHE.js} +2 -2
- package/dist/{chunk-FLEDJCTE.js → chunk-6KF26UUL.js} +3 -3
- package/dist/{chunk-6FFXBHVF.js → chunk-6W7Q6VB6.js} +2 -2
- package/dist/{chunk-77PUYCLF.js → chunk-7VNTZY7V.js} +90 -21
- package/dist/{chunk-A4AG42X2.js → chunk-A7G6CFZU.js} +4 -4
- package/dist/{chunk-HCW3KFL3.js → chunk-AXPZZFBW.js} +2 -2
- package/dist/{chunk-AH6FRO37.js → chunk-AYMFOYOZ.js} +9 -9
- package/dist/{chunk-UC4DTMPM.js → chunk-AYP4GE3X.js} +24 -0
- package/dist/{chunk-SOWF5BU3.js → chunk-BKZZSXEQ.js} +4 -4
- package/dist/{chunk-2O6TO2YW.js → chunk-BNZYEIBB.js} +18 -18
- package/dist/{chunk-UYBCGHGQ.js → chunk-CTJRWP6Y.js} +3 -3
- package/dist/{chunk-3HGR5T4W.js → chunk-D7GUUTOT.js} +4 -4
- package/dist/{chunk-AIM5GLBI.js → chunk-E25IZ5S3.js} +4 -4
- package/dist/{chunk-5SNBTQOU.js → chunk-EEHTVBKI.js} +6 -6
- package/dist/{chunk-R2VQ4OKM.js → chunk-FHVGZ6AN.js} +1 -1
- package/dist/{chunk-MIHH354F.js → chunk-FWUF33U6.js} +2 -2
- package/dist/{chunk-XWG4PSQL.js → chunk-HGP2DDW3.js} +1 -1
- package/dist/{chunk-WVU5TTRU.js → chunk-HNQ2FIBA.js} +2 -2
- package/dist/{chunk-FUSZOEZK.js → chunk-HOVBZBAJ.js} +4 -4
- package/dist/{chunk-5OBLFHMG.js → chunk-I4XCADTT.js} +1 -1
- package/dist/{chunk-M7LXGZM6.js → chunk-I6AMLYXS.js} +4 -4
- package/dist/{chunk-NNWUE7PY.js → chunk-INUW2CXK.js} +6 -6
- package/dist/{chunk-2HK3KVEJ.js → chunk-IV4ZY2DS.js} +5 -5
- package/dist/{chunk-OU4FPSNZ.js → chunk-J5PTUQMF.js} +3 -3
- package/dist/{chunk-5YUBUJ6F.js → chunk-JDNQC5IG.js} +5 -5
- package/dist/{chunk-JH6IUXXS.js → chunk-JMPC7HL6.js} +6 -6
- package/dist/{chunk-JLOOLENK.js → chunk-JSSCR6M2.js} +2 -2
- package/dist/{chunk-KLPOTV4Q.js → chunk-KFLHGN4D.js} +3 -3
- package/dist/{chunk-KSRMVJ2V.js → chunk-KUB4OGLG.js} +5 -5
- package/dist/{chunk-3DFKZATL.js → chunk-M2P5KFP5.js} +3 -3
- package/dist/{chunk-AUVB3J6X.js → chunk-MIJ2P4FZ.js} +7 -7
- package/dist/{chunk-XJJ4KJF5.js → chunk-MKKRQBQF.js} +114 -15
- package/dist/{chunk-5F2GVH3H.js → chunk-MM5QO2ZY.js} +1 -1
- package/dist/{chunk-LAJ62ADY.js → chunk-MWKKUBHQ.js} +1 -1
- package/dist/{chunk-ZHVWYX5I.js → chunk-N24MKYZ2.js} +1 -1
- package/dist/{chunk-6HEYIMTE.js → chunk-N2L7E5NE.js} +5 -5
- package/dist/{chunk-IIIVVFHC.js → chunk-NEAJLLIG.js} +5 -5
- package/dist/{chunk-RQYNZJZ3.js → chunk-NX33EVEP.js} +1 -1
- package/dist/{chunk-GCAFTVYG.js → chunk-OD6JNTGZ.js} +2 -2
- package/dist/{chunk-QS4IPOAQ.js → chunk-OIFWZESQ.js} +14 -11
- package/dist/{chunk-4YBTCIIU.js → chunk-P3MYHWF5.js} +5 -5
- package/dist/{chunk-L3R3XAQC.js → chunk-PFH7XMHE.js} +1 -1
- package/dist/{chunk-HWBO3QVL.js → chunk-PJHYFHP4.js} +1 -1
- package/dist/{chunk-ZRMI7POM.js → chunk-POESL3CD.js} +1 -1
- package/dist/{chunk-2MMTYCCV.js → chunk-QMV7WS7D.js} +2 -2
- package/dist/{chunk-TIGCU3PF.js → chunk-QYGO5EKA.js} +2 -2
- package/dist/{chunk-3CWVK6BS.js → chunk-RM3F4V6A.js} +64 -15
- package/dist/{chunk-RSRWMXEM.js → chunk-RM3YENVK.js} +3 -3
- package/dist/{chunk-UOM2JOQZ.js → chunk-RVIYAQC7.js} +2 -2
- package/dist/{chunk-CUE6IPNE.js → chunk-S7X3PENP.js} +6 -6
- package/dist/{chunk-G2T7S5RU.js → chunk-SV6AMA7J.js} +10 -10
- package/dist/{chunk-DOCNSQOB.js → chunk-SYIAWMBA.js} +6 -6
- package/dist/{chunk-SV7PLR6Z.js → chunk-TVBND3VL.js} +2 -2
- package/dist/{chunk-CEMYK6BM.js → chunk-UJUXZCQS.js} +6 -6
- package/dist/{chunk-NWO4GVKC.js → chunk-VOWNWXVE.js} +38 -10
- package/dist/{chunk-4PRJDA3J.js → chunk-W27VNI6G.js} +1 -1
- package/dist/{chunk-IR5B5EQI.js → chunk-WDPIZXCZ.js} +3 -3
- package/dist/{chunk-KX2SWWSD.js → chunk-WII73NRE.js} +1 -1
- package/dist/{chunk-J3V4CBKZ.js → chunk-WIKPDEOR.js} +29 -8
- package/dist/{chunk-FDB2VMJM.js → chunk-WMHXZDUT.js} +2 -2
- package/dist/{chunk-NSR3ZTUJ.js → chunk-XJG7YRF7.js} +3 -3
- package/dist/{chunk-W7KAVPQP.js → chunk-XOVAERD7.js} +1 -1
- package/dist/{chunk-EXK47DWS.js → chunk-XQGU77H7.js} +4 -4
- package/dist/{chunk-DN5FNT3O.js → chunk-XWWD2KTY.js} +22 -1
- package/dist/{chunk-LGKFRWQL.js → chunk-Y5BRXPL6.js} +1 -1
- package/dist/{chunk-QBIALYLY.js → chunk-YRGDHBS5.js} +4 -4
- package/dist/{chunk-EHFUVDRM.js → chunk-YXLJTIGG.js} +4 -4
- package/dist/{chunk-MIRXACOR.js → chunk-Z2DAWG5U.js} +6 -1
- package/dist/{chunk-QES7CGHR.js → chunk-ZMJKA7CF.js} +5 -5
- package/dist/{chunk-VOPORKYP.js → chunk-ZMSQQVVY.js} +1 -1
- package/dist/{chunk-LEWVT2A2.js → chunk-ZNCRZNLJ.js} +1 -1
- package/dist/{chunk-JWMS3WIN.js → chunk-ZPHPNTGW.js} +1 -1
- package/dist/{chunk-L7MROSFJ.js → chunk-ZTNGM6NU.js} +3 -3
- package/dist/{codex-app-cards-switch-VUX7FUBE.js → codex-app-cards-switch-RDVTCDVO.js} +11 -11
- package/dist/{codex-card-routing-F6PBOHKA.js → codex-card-routing-XUYIRUB7.js} +2 -2
- package/dist/{codex-desktop-launch-DHE24VP2.js → codex-desktop-launch-EX3E3T3Q.js} +1 -1
- package/dist/{codex-session-launch-5QMO4UNL.js → codex-session-launch-TDEWJ3G6.js} +20 -20
- package/dist/{config-VEUG5WVO.js → config-XDZZTOHU.js} +3 -3
- package/dist/{global-upgrade-TE6N2LPD.js → global-upgrade-QVFP4F7D.js} +9 -9
- package/dist/{identity-RUUBB2GE.js → identity-Q5HWBCJY.js} +4 -4
- package/dist/{live-capabilities-CATPYBSX.js → live-capabilities-G5FB5VBL.js} +28 -4
- package/dist/{paths-LE4WLG45.js → paths-IVCUVJM6.js} +3 -3
- package/dist/{reapply-4BTKZGKT.js → reapply-MQTAPBPH.js} +31 -31
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-HU2F5X57.js → upgrade-lock-Y56NERM5.js} +4 -4
- package/dist/{usage-UMIDTEI3.js → usage-J7O2QQEQ.js} +3 -3
- package/package.json +2 -1
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runCodexBridge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-65CSOPQW.js";
|
|
5
|
+
import "../chunk-XWWD2KTY.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveProviderBinary
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-MKKRQBQF.js";
|
|
9
|
+
import "../chunk-2JSTCD7L.js";
|
|
10
|
+
import "../chunk-HGP2DDW3.js";
|
|
11
11
|
import {
|
|
12
12
|
withSpawnProcessOwnership
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-6W7Q6VB6.js";
|
|
14
14
|
import "../chunk-TCE3J44Z.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-M2P5KFP5.js";
|
|
16
16
|
import "../chunk-55L4JSPA.js";
|
|
17
17
|
import {
|
|
18
18
|
transcriptsEnabled
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-3JXSIPLF.js";
|
|
20
20
|
import "../chunk-VRNGMRJA.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-RM3F4V6A.js";
|
|
22
|
+
import "../chunk-XOVAERD7.js";
|
|
23
23
|
import "../chunk-POFBE6ZY.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-32YARQJC.js";
|
|
25
|
+
import "../chunk-PJHYFHP4.js";
|
|
26
|
+
import "../chunk-Y5BRXPL6.js";
|
|
27
|
+
import "../chunk-WDPIZXCZ.js";
|
|
28
|
+
import "../chunk-XJG7YRF7.js";
|
|
29
29
|
import {
|
|
30
30
|
getMachineId
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-PFH7XMHE.js";
|
|
32
|
+
import "../chunk-ZTNGM6NU.js";
|
|
33
|
+
import "../chunk-HNQ2FIBA.js";
|
|
34
|
+
import "../chunk-3NTAU6DN.js";
|
|
35
|
+
import "../chunk-BKZZSXEQ.js";
|
|
36
36
|
import {
|
|
37
37
|
getApiKey,
|
|
38
38
|
getBaseUrl
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ZPHPNTGW.js";
|
|
40
40
|
import "../chunk-CINBAX5G.js";
|
|
41
41
|
import "../chunk-PM2NRK6Y.js";
|
|
42
42
|
import "../chunk-BG4HHB7E.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-MWKKUBHQ.js";
|
|
44
44
|
import "../chunk-UQTQ6HPO.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-AYP4GE3X.js";
|
|
46
46
|
import "../chunk-MLKGABMK.js";
|
|
47
47
|
|
|
48
48
|
// bin/pushary-codex-bridge.ts
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
takeHookHoldBudget
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-N24MKYZ2.js";
|
|
5
5
|
import {
|
|
6
6
|
parseCodexHookInput,
|
|
7
7
|
pushQuestionAndWait,
|
|
8
8
|
scopeQuestionOf
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-VOWNWXVE.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-FHVGZ6AN.js";
|
|
13
13
|
import {
|
|
14
14
|
askAgentQuestions
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-JDNQC5IG.js";
|
|
16
16
|
import {
|
|
17
17
|
reportMachineDenial
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-A7G6CFZU.js";
|
|
19
19
|
import {
|
|
20
20
|
isGatingMoment,
|
|
21
21
|
recordKeylessMoment
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-MM5QO2ZY.js";
|
|
23
23
|
import {
|
|
24
24
|
triggerAutoUpdate
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-TVBND3VL.js";
|
|
26
26
|
import {
|
|
27
27
|
readHookInput
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-KUB4OGLG.js";
|
|
29
|
+
import "../chunk-XQGU77H7.js";
|
|
30
30
|
import {
|
|
31
31
|
announceSubscriptionRequired,
|
|
32
32
|
isDeferAnswer
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-ZMSQQVVY.js";
|
|
34
|
+
import "../chunk-SV6AMA7J.js";
|
|
35
35
|
import "../chunk-WHB622LP.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-N2L7E5NE.js";
|
|
37
|
+
import "../chunk-EEHTVBKI.js";
|
|
38
|
+
import "../chunk-YRGDHBS5.js";
|
|
39
39
|
import {
|
|
40
40
|
CODEX_AGENT,
|
|
41
41
|
DEFAULT_SESSION,
|
|
42
|
+
WAITING_ON_PHONE_REASON,
|
|
42
43
|
blockedActionFingerprint,
|
|
43
44
|
callDecisionStore,
|
|
44
45
|
codexAllow,
|
|
@@ -62,12 +63,15 @@ import {
|
|
|
62
63
|
policyRequestFor,
|
|
63
64
|
readLastPrompt,
|
|
64
65
|
recordBlockedActionHint,
|
|
66
|
+
removeLeftOpenQuestion,
|
|
65
67
|
reportEvent,
|
|
68
|
+
saveLeftOpenQuestion,
|
|
66
69
|
toCodexWire,
|
|
67
70
|
toPolicyLookup,
|
|
68
71
|
toPolicyLookups,
|
|
69
|
-
userScope
|
|
70
|
-
|
|
72
|
+
userScope,
|
|
73
|
+
withdrawLeftOpenQuestions
|
|
74
|
+
} from "../chunk-7VNTZY7V.js";
|
|
71
75
|
import {
|
|
72
76
|
codexReviewerDenialsSince,
|
|
73
77
|
deriveActionBody,
|
|
@@ -80,13 +84,13 @@ import {
|
|
|
80
84
|
scanCodexGuardianReviews,
|
|
81
85
|
scopePathFor,
|
|
82
86
|
sessionIdentityOf
|
|
83
|
-
} from "../chunk-
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
87
|
+
} from "../chunk-Z2DAWG5U.js";
|
|
88
|
+
import "../chunk-I4XCADTT.js";
|
|
89
|
+
import "../chunk-ZNCRZNLJ.js";
|
|
86
90
|
import "../chunk-BZIBNSQE.js";
|
|
87
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-M2P5KFP5.js";
|
|
88
92
|
import "../chunk-55L4JSPA.js";
|
|
89
|
-
import "../chunk-
|
|
93
|
+
import "../chunk-3JXSIPLF.js";
|
|
90
94
|
import "../chunk-VRNGMRJA.js";
|
|
91
95
|
import {
|
|
92
96
|
ABANDONED_WAIT,
|
|
@@ -95,41 +99,42 @@ import {
|
|
|
95
99
|
claimBlockedAction,
|
|
96
100
|
exitAfterClientReports,
|
|
97
101
|
isDecisionStopped,
|
|
102
|
+
isLeftOpen,
|
|
98
103
|
isQuestionLimitRefusal,
|
|
99
104
|
pollForAnswer,
|
|
100
105
|
requestGate,
|
|
101
106
|
sendNotification,
|
|
102
107
|
sleepUnlessAborted,
|
|
103
108
|
withdrawQuestion
|
|
104
|
-
} from "../chunk-
|
|
105
|
-
import "../chunk-
|
|
109
|
+
} from "../chunk-RM3F4V6A.js";
|
|
110
|
+
import "../chunk-XOVAERD7.js";
|
|
106
111
|
import "../chunk-POFBE6ZY.js";
|
|
107
112
|
import {
|
|
108
113
|
SubscriptionRequiredError
|
|
109
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-32YARQJC.js";
|
|
110
115
|
import {
|
|
111
116
|
fetchAsCredential
|
|
112
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-PJHYFHP4.js";
|
|
113
118
|
import {
|
|
114
119
|
projectNameFor,
|
|
115
120
|
repoKeyFor,
|
|
116
121
|
repositoryScopeFor
|
|
117
|
-
} from "../chunk-
|
|
118
|
-
import "../chunk-
|
|
119
|
-
import "../chunk-
|
|
122
|
+
} from "../chunk-Y5BRXPL6.js";
|
|
123
|
+
import "../chunk-WDPIZXCZ.js";
|
|
124
|
+
import "../chunk-XJG7YRF7.js";
|
|
120
125
|
import {
|
|
121
126
|
getMachineId
|
|
122
|
-
} from "../chunk-
|
|
123
|
-
import "../chunk-
|
|
124
|
-
import "../chunk-
|
|
127
|
+
} from "../chunk-PFH7XMHE.js";
|
|
128
|
+
import "../chunk-ZTNGM6NU.js";
|
|
129
|
+
import "../chunk-HNQ2FIBA.js";
|
|
125
130
|
import {
|
|
126
131
|
canonicalJson
|
|
127
|
-
} from "../chunk-
|
|
128
|
-
import "../chunk-
|
|
132
|
+
} from "../chunk-3NTAU6DN.js";
|
|
133
|
+
import "../chunk-BKZZSXEQ.js";
|
|
129
134
|
import {
|
|
130
135
|
getApiKey,
|
|
131
136
|
getBaseUrl
|
|
132
|
-
} from "../chunk-
|
|
137
|
+
} from "../chunk-ZPHPNTGW.js";
|
|
133
138
|
import "../chunk-CINBAX5G.js";
|
|
134
139
|
import {
|
|
135
140
|
writeFileAtomic
|
|
@@ -137,7 +142,7 @@ import {
|
|
|
137
142
|
import {
|
|
138
143
|
EXIT
|
|
139
144
|
} from "../chunk-BG4HHB7E.js";
|
|
140
|
-
import "../chunk-
|
|
145
|
+
import "../chunk-MWKKUBHQ.js";
|
|
141
146
|
import "../chunk-UQTQ6HPO.js";
|
|
142
147
|
import {
|
|
143
148
|
CALL_REFUSED_EVENT,
|
|
@@ -150,6 +155,7 @@ import {
|
|
|
150
155
|
KILL_REASON,
|
|
151
156
|
SCOPE_BATCH_REASON,
|
|
152
157
|
UNVERIFIABLE_APPROVAL_REASON,
|
|
158
|
+
blockedActionIdentity,
|
|
153
159
|
callRefusalReasonWhenUnanswered,
|
|
154
160
|
codexDeferredPreToolUse,
|
|
155
161
|
codexHasNoPromptOfItsOwn,
|
|
@@ -172,7 +178,7 @@ import {
|
|
|
172
178
|
refusesWhenUnanswered,
|
|
173
179
|
resolveGate,
|
|
174
180
|
unapprovedScopeReason
|
|
175
|
-
} from "../chunk-
|
|
181
|
+
} from "../chunk-AYP4GE3X.js";
|
|
176
182
|
import "../chunk-MLKGABMK.js";
|
|
177
183
|
|
|
178
184
|
// src/rule-watched-ask.ts
|
|
@@ -289,8 +295,17 @@ var askWatchingForARule = async (deps) => {
|
|
|
289
295
|
}
|
|
290
296
|
};
|
|
291
297
|
|
|
292
|
-
// src/
|
|
298
|
+
// src/call-fingerprint.ts
|
|
293
299
|
import { createHash } from "crypto";
|
|
300
|
+
var presentOrNull = (value) => value || null;
|
|
301
|
+
var codexCallFingerprint = ({ sessionId, turnId, agentId, cwd, toolName, toolInput }) => {
|
|
302
|
+
if (!sessionId || !turnId || !toolName || !toolInput) return null;
|
|
303
|
+
const callIdentity = blockedActionIdentity({ source: "codex", sessionId, toolName, toolInput });
|
|
304
|
+
return createHash("sha256").update(JSON.stringify([callIdentity, turnId, presentOrNull(cwd), presentOrNull(agentId)]), "utf8").digest("hex");
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
// src/codex-call-decision.ts
|
|
308
|
+
import { createHash as createHash2 } from "crypto";
|
|
294
309
|
var CODEX_DECISION_TTL_MS = 60 * 1e3;
|
|
295
310
|
var codexCallKey = (identity) => {
|
|
296
311
|
if (!identity.sessionId || !identity.turnId || !identity.toolName) return null;
|
|
@@ -300,17 +315,17 @@ var codexCallKey = (identity) => {
|
|
|
300
315
|
identity.toolName,
|
|
301
316
|
identifyingToolInput(identity.toolInput)
|
|
302
317
|
]);
|
|
303
|
-
return
|
|
318
|
+
return createHash2("sha256").update(material, "utf-8").digest("hex").slice(0, 32);
|
|
304
319
|
};
|
|
305
320
|
var codexDecisions = callDecisionStore("codex", CODEX_DECISION_TTL_MS);
|
|
306
321
|
var recordCodexCallDecision = codexDecisions.record;
|
|
307
322
|
var consumeCodexCallDecision = codexDecisions.consume;
|
|
308
323
|
|
|
309
324
|
// src/codex-reviewer.ts
|
|
310
|
-
import { createHash as
|
|
325
|
+
import { createHash as createHash4 } from "crypto";
|
|
311
326
|
|
|
312
327
|
// src/codex-rollout.ts
|
|
313
|
-
import { createHash as
|
|
328
|
+
import { createHash as createHash3 } from "crypto";
|
|
314
329
|
import { closeSync, existsSync, fstatSync, mkdirSync, openSync, readFileSync, readSync, readdirSync, rmSync, statSync } from "fs";
|
|
315
330
|
import { tmpdir } from "os";
|
|
316
331
|
import { dirname, isAbsolute, join, relative } from "path";
|
|
@@ -327,7 +342,7 @@ var NEWLINE = 10;
|
|
|
327
342
|
var TURN_CONTEXT_MARKER = '"turn_context"';
|
|
328
343
|
var ROLLOUT_FILE = /^rollout-.*\.jsonl$/;
|
|
329
344
|
var DATE_SEGMENTS = /^(\d{4})\/(\d{2})\/(\d{2})$/;
|
|
330
|
-
var cacheKey = (...parts) =>
|
|
345
|
+
var cacheKey = (...parts) => createHash3("sha256").update(parts.join("\n"), "utf-8").digest("hex").slice(0, 32);
|
|
331
346
|
var turnCacheDir = () => join(tmpdir(), `pushary-codex-turns-${userScope()}`);
|
|
332
347
|
var guardianCursorDir = () => join(tmpdir(), `pushary-codex-guardian-${userScope()}`);
|
|
333
348
|
var readJsonRecord = (path) => {
|
|
@@ -630,7 +645,7 @@ var claimCodexReviewerRetry = async (apiKey, call) => {
|
|
|
630
645
|
return granted === true;
|
|
631
646
|
};
|
|
632
647
|
var blockReasonOf = (rationale) => rationale?.trim().slice(0, GATE_BLOCK_REASON_MAX_LENGTH).trim() || void 0;
|
|
633
|
-
var reviewToolUseId = (guardianPath, denial) => `codex-review-${
|
|
648
|
+
var reviewToolUseId = (guardianPath, denial) => `codex-review-${createHash4("sha256").update(canonicalJson([guardianPath, denial.offset, denial.plannedAction]), "utf-8").digest("hex").slice(0, 40)}`;
|
|
634
649
|
var isRescueApproval = (output) => {
|
|
635
650
|
if (!output) return false;
|
|
636
651
|
try {
|
|
@@ -745,7 +760,8 @@ var START_MS2 = Date.now();
|
|
|
745
760
|
var REFUSAL_REPORT_DEADLINE_MS = START_MS2 + (HOOK_BUDGETS.codex.budgetSeconds - 1) * 1e3;
|
|
746
761
|
var agentNameFor = (input) => `Codex - ${projectNameFor(input.cwd)}`;
|
|
747
762
|
var describeFor = (input, lookup) => input.tool_name === "apply_patch" ? describeApplyPatch(input.tool_input?.command) ?? describeToolCall(lookup.tool, lookup.input, "hook") : describeToolCall(lookup.tool, lookup.input, "hook");
|
|
748
|
-
var
|
|
763
|
+
var AGENT_PROMPT_FOLLOWS_A_PRE_TOOL_USE_REFUSAL = false;
|
|
764
|
+
var pushQuestion = (apiKey, input, lookup, waitSeconds, mode, noLocalSurface, scope, watch, preToolUse) => {
|
|
749
765
|
const description = describeFor(input, lookup);
|
|
750
766
|
return pushQuestionAndWait(apiKey, {
|
|
751
767
|
description,
|
|
@@ -767,9 +783,10 @@ var pushQuestion = (apiKey, input, lookup, waitSeconds, mode, noLocalSurface, sc
|
|
|
767
783
|
// Codex has always sent this; it is what claimNotify and markApproved already
|
|
768
784
|
// key on locally. Passing it through lets the server collapse a retried create
|
|
769
785
|
// the same way, instead of putting the same approval on the phone twice.
|
|
770
|
-
toolUseId: input.tool_use_id
|
|
786
|
+
toolUseId: input.tool_use_id,
|
|
787
|
+
...preToolUse ? { agentPromptFollows: AGENT_PROMPT_FOLLOWS_A_PRE_TOOL_USE_REFUSAL } : {}
|
|
771
788
|
}
|
|
772
|
-
}, { agent: "codex", startMs: START_MS2, waitSeconds, askFailure: "wait_as_unavailable", signal: watch?.signal, onQuestionCreated: watch?.onQuestionCreated });
|
|
789
|
+
}, { agent: "codex", startMs: START_MS2, waitSeconds, askFailure: "wait_as_unavailable", signal: watch?.signal, onQuestionCreated: watch?.onQuestionCreated, rejoinable: preToolUse?.rejoinable });
|
|
773
790
|
};
|
|
774
791
|
var codexStepsAside = (error, input) => {
|
|
775
792
|
announceSubscriptionRequired(error.upgradeUrl, input.session_id);
|
|
@@ -813,10 +830,32 @@ var ruleWatchFor = (apiKey, input, scope, waitSeconds) => scope ? SCOPE_BREACH_A
|
|
|
813
830
|
readsRules: async (signal) => (await codexGate(apiKey, input, signal)).verdict,
|
|
814
831
|
lastSlotAttemptAtMs: lastSlotAttemptAt(START_MS2, waitSeconds, "codex")
|
|
815
832
|
};
|
|
816
|
-
var
|
|
833
|
+
var sessionKeyOf = (input) => input.session_id || DEFAULT_SESSION;
|
|
834
|
+
var fingerprintOf = (input) => codexCallFingerprint({
|
|
835
|
+
sessionId: input.session_id,
|
|
836
|
+
turnId: input.turn_id,
|
|
837
|
+
agentId: input.agent_id,
|
|
838
|
+
cwd: input.cwd,
|
|
839
|
+
toolName: input.tool_name,
|
|
840
|
+
toolInput: input.tool_input
|
|
841
|
+
});
|
|
842
|
+
var questionsARefusalWithdraws = (verdict, callFingerprint) => {
|
|
843
|
+
if (verdict.kind === "kill") return { kind: "of_session" };
|
|
844
|
+
return callFingerprint === null ? null : { kind: "of_a_refused_call", callFingerprint };
|
|
845
|
+
};
|
|
846
|
+
var questionsAPassWithdraws = (callFingerprint) => callFingerprint === null ? null : { kind: "of_a_call_that_runs", callFingerprint };
|
|
847
|
+
var withdrawQuestionsLeftOpen = async (input, which) => {
|
|
848
|
+
if (which !== null) await withdrawLeftOpenQuestions(sessionKeyOf(input), which);
|
|
849
|
+
};
|
|
850
|
+
var refusedByRule = async (input, lookup, verdict, callFingerprint) => {
|
|
817
851
|
await reportMachineDenial({ ...input, tool_name: lookup.tool, tool_input: lookup.input }, verdict, CODEX_AGENT);
|
|
852
|
+
await withdrawQuestionsLeftOpen(input, questionsARefusalWithdraws(verdict, callFingerprint));
|
|
818
853
|
return codexDeny(verdict.kind === "kill" ? KILL_REASON : verdict.reason);
|
|
819
854
|
};
|
|
855
|
+
var passedByRule = async (input, callFingerprint) => {
|
|
856
|
+
await withdrawQuestionsLeftOpen(input, questionsAPassWithdraws(callFingerprint));
|
|
857
|
+
return codexPass();
|
|
858
|
+
};
|
|
820
859
|
var callsPusharysOwnTool = (input) => input.tool_name !== void 0 && isPusharyOwnTool(input.tool_name);
|
|
821
860
|
var decidePermissionRequest = async (input) => {
|
|
822
861
|
if (callsPusharysOwnTool(input)) return codexPass();
|
|
@@ -898,6 +937,16 @@ var unansweredPreToolUse = (toolPolicy, fullWindowServed, paused) => codexDecisi
|
|
|
898
937
|
fullWindowServed,
|
|
899
938
|
paused
|
|
900
939
|
}));
|
|
940
|
+
var rejoinableCodexCall = (callFingerprint, toolPolicy, scope) => callFingerprint === null ? void 0 : { callFingerprint, rule: { mode: toolPolicy.mode, timeoutAction: toolPolicy.timeoutAction, scopeAsk: scope !== void 0 } };
|
|
941
|
+
var markedLeftOpen = (input, pushed, callFingerprint) => callFingerprint !== null && saveLeftOpenQuestion(sessionKeyOf(input), pushed.correlationId, callFingerprint);
|
|
942
|
+
var keepOpenOrWithdraw = async (apiKey, input, pushed, callFingerprint) => {
|
|
943
|
+
if (!isLeftOpen(pushed.answer)) {
|
|
944
|
+
removeLeftOpenQuestion(sessionKeyOf(input), pushed.correlationId);
|
|
945
|
+
return pushed;
|
|
946
|
+
}
|
|
947
|
+
if (markedLeftOpen(input, pushed, callFingerprint)) return pushed;
|
|
948
|
+
return { ...pushed, answer: await withdrawQuestion(apiKey, pushed.correlationId) };
|
|
949
|
+
};
|
|
901
950
|
var keyboardOutcome = (deliveryMode, scope, toolPolicy) => deliveryMode === "push_first" ? codexPass() : unansweredOutcome(scope, unansweredPreToolUse(toolPolicy, false, false));
|
|
902
951
|
var codexQuestionDeadline = () => hookWaitDeadline(START_MS2, effectiveWaitSeconds("wait", 0, "codex"), "codex", Date.now());
|
|
903
952
|
var answerCodexQuestion = async (apiKey, input, verdict, modeState) => {
|
|
@@ -938,9 +987,10 @@ var decidePreToolUse = async (input) => {
|
|
|
938
987
|
return codexPass();
|
|
939
988
|
}
|
|
940
989
|
try {
|
|
990
|
+
const callFingerprint = fingerprintOf(input);
|
|
941
991
|
const { verdict, lookup, gateInput } = await codexGate(apiKey, input);
|
|
942
|
-
if (isGateRefusal(verdict)) return await refusedByRule(input, lookup, verdict);
|
|
943
|
-
if (verdict.kind === "allow") return
|
|
992
|
+
if (isGateRefusal(verdict)) return await refusedByRule(input, lookup, verdict, callFingerprint);
|
|
993
|
+
if (verdict.kind === "allow") return await passedByRule(input, callFingerprint);
|
|
944
994
|
if (isCodexQuestionTool(input.tool_name)) return await answerCodexQuestion(apiKey, input, verdict, gateInput.modeState);
|
|
945
995
|
const scope = scopeQuestionOf(verdict);
|
|
946
996
|
if (!scope && codexApprovalsReviewer(input) === "auto_review") return codexPass();
|
|
@@ -959,10 +1009,13 @@ var decidePreToolUse = async (input) => {
|
|
|
959
1009
|
if (deliveryMode === "push_only" || deliveryMode === "push_first") {
|
|
960
1010
|
const waitSeconds = effectiveWaitSeconds(toolPolicy.timeoutAction, toolPolicy.timeoutSeconds, "codex");
|
|
961
1011
|
const noLocalSurface = codexHasNoPromptOfItsOwn(scope?.reason, input.permission_mode);
|
|
1012
|
+
const preToolUse = {
|
|
1013
|
+
rejoinable: rejoinableCodexCall(callFingerprint, toolPolicy, scope)
|
|
1014
|
+
};
|
|
962
1015
|
let asked;
|
|
963
1016
|
try {
|
|
964
1017
|
asked = await askWatchingForARule({
|
|
965
|
-
push: (watch) => pushQuestion(apiKey, input, lookup, waitSeconds, deliveryMode, noLocalSurface, scope, watch),
|
|
1018
|
+
push: (watch) => pushQuestion(apiKey, input, lookup, waitSeconds, deliveryMode, noLocalSurface, scope, watch, preToolUse),
|
|
966
1019
|
withdraw: (correlationId) => withdrawQuestion(apiKey, correlationId),
|
|
967
1020
|
sleep: sleepUnlessAborted,
|
|
968
1021
|
now: Date.now,
|
|
@@ -972,12 +1025,12 @@ var decidePreToolUse = async (input) => {
|
|
|
972
1025
|
if (error instanceof SubscriptionRequiredError) return recordPreToolUse(callKey, codexStepsAside(error, input));
|
|
973
1026
|
return recordPreToolUse(callKey, codexDeny(UNVERIFIABLE_APPROVAL_REASON));
|
|
974
1027
|
}
|
|
975
|
-
if (asked.kind === "covered_by_rule") return
|
|
976
|
-
if (asked.kind === "refused_by_rule") return await refusedByRule(input, lookup, asked.verdict);
|
|
1028
|
+
if (asked.kind === "covered_by_rule") return await passedByRule(input, callFingerprint);
|
|
1029
|
+
if (asked.kind === "refused_by_rule") return await refusedByRule(input, lookup, asked.verdict, callFingerprint);
|
|
977
1030
|
if (asked.kind === "no_free_slot") {
|
|
978
|
-
return reportIfRefused(apiKey, input, lookup, deliveryMode, "no_free_slot", recordPreToolUse(callKey, unansweredOutcome(scope, codexQuestionLimitDecision({ refusesUnanswered: refusesWhenUnanswered(delivery.policy), agentPromptFollows:
|
|
1031
|
+
return reportIfRefused(apiKey, input, lookup, deliveryMode, "no_free_slot", recordPreToolUse(callKey, unansweredOutcome(scope, codexQuestionLimitDecision({ refusesUnanswered: refusesWhenUnanswered(delivery.policy), agentPromptFollows: AGENT_PROMPT_FOLLOWS_A_PRE_TOOL_USE_REFUSAL }))));
|
|
979
1032
|
}
|
|
980
|
-
const { answer, localHandoff, clampCut, paused } = asked.pushed;
|
|
1033
|
+
const { answer, localHandoff, clampCut, paused } = await keepOpenOrWithdraw(apiKey, input, asked.pushed, callFingerprint);
|
|
981
1034
|
if (isDecisionStopped(answer)) return codexDeny(DECISION_STOP_REASON);
|
|
982
1035
|
if (localHandoff) return reportIfRefused(apiKey, input, lookup, deliveryMode, "not_delivered", recordPreToolUse(callKey, keyboardOutcome(deliveryMode, scope, toolPolicy)));
|
|
983
1036
|
if (answer.answered) {
|
|
@@ -985,6 +1038,7 @@ var decidePreToolUse = async (input) => {
|
|
|
985
1038
|
if (answer.value === "yes") return recordApproval(callKey, input);
|
|
986
1039
|
return recordPreToolUse(callKey, codexDeny(denyReasonFrom(answer.value, answer.note)));
|
|
987
1040
|
}
|
|
1041
|
+
if (isLeftOpen(answer)) return reportIfRefused(apiKey, input, lookup, deliveryMode, "unanswered", recordPreToolUse(callKey, codexDeny(WAITING_ON_PHONE_REASON)));
|
|
988
1042
|
return reportIfRefused(apiKey, input, lookup, deliveryMode, callRefusalReasonWhenUnanswered(paused), recordPreToolUse(callKey, unansweredOutcome(scope, unansweredPreToolUse(toolPolicy, !clampCut, paused))));
|
|
989
1043
|
}
|
|
990
1044
|
if (deliveryMode === "notify_only") {
|
|
@@ -999,7 +1053,7 @@ var decidePreToolUse = async (input) => {
|
|
|
999
1053
|
};
|
|
1000
1054
|
var repairCodexHoldsQuietly = async () => {
|
|
1001
1055
|
try {
|
|
1002
|
-
const { repairCodexHolds } = await import("../reapply-
|
|
1056
|
+
const { repairCodexHolds } = await import("../reapply-MQTAPBPH.js");
|
|
1003
1057
|
repairCodexHolds();
|
|
1004
1058
|
} catch {
|
|
1005
1059
|
return;
|
|
@@ -8,8 +8,8 @@ import "../chunk-MLKGABMK.js";
|
|
|
8
8
|
var args = process.argv.slice(2);
|
|
9
9
|
if (args[0] === "codex") args.shift();
|
|
10
10
|
var appBehindTheProxy = args[0] === "--desktop-proxy" && args[2] === "--" ? args[1] : void 0;
|
|
11
|
-
if (args[0] !== "--desktop-proxy") (await import("../usage-
|
|
12
|
-
var loadWhatReadsTheAccount = () => Promise.all([import("../config-
|
|
11
|
+
if (args[0] !== "--desktop-proxy") (await import("../usage-J7O2QQEQ.js")).exitOnHelpFlag("codex");
|
|
12
|
+
var loadWhatReadsTheAccount = () => Promise.all([import("../config-XDZZTOHU.js"), import("../identity-Q5HWBCJY.js")]);
|
|
13
13
|
var loadedWhenThePassThroughStarted = appBehindTheProxy === void 0 ? null : loadWhatReadsTheAccount().catch(() => null);
|
|
14
14
|
var desktopAccount = async () => {
|
|
15
15
|
try {
|
|
@@ -19,7 +19,7 @@ var desktopAccount = async () => {
|
|
|
19
19
|
return null;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
var desktopLaunch = await import("../codex-desktop-launch-
|
|
22
|
+
var desktopLaunch = await import("../codex-desktop-launch-EX3E3T3Q.js").catch(() => null);
|
|
23
23
|
if (desktopLaunch === null && appBehindTheProxy !== void 0) {
|
|
24
24
|
process.exitCode = await letCodexRunWithoutPushary(appBehindTheProxy, args.slice(3));
|
|
25
25
|
} else {
|
|
@@ -27,15 +27,15 @@ if (desktopLaunch === null && appBehindTheProxy !== void 0) {
|
|
|
27
27
|
const stop = () => abort.abort();
|
|
28
28
|
if (!args[0]?.startsWith("--desktop")) for (const signal of ["SIGINT", "SIGTERM", "SIGHUP"]) process.on(signal, stop);
|
|
29
29
|
try {
|
|
30
|
-
const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-
|
|
30
|
+
const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-EX3E3T3Q.js");
|
|
31
31
|
const desktop = await codexDesktopCommand(args, [process.execPath, ...process.execArgv, process.argv[1], "codex"], desktopAccount);
|
|
32
32
|
if (desktop !== null) process.exitCode = desktop;
|
|
33
33
|
else {
|
|
34
34
|
const [{ getApiKey, getBaseUrl }, { getMachineId }, { resolveProviderBinary }, { codexSessionDirectory, launchCodexSession }] = await Promise.all([
|
|
35
|
-
import("../config-
|
|
36
|
-
import("../identity-
|
|
37
|
-
import("../live-capabilities-
|
|
38
|
-
import("../codex-session-launch-
|
|
35
|
+
import("../config-XDZZTOHU.js"),
|
|
36
|
+
import("../identity-Q5HWBCJY.js"),
|
|
37
|
+
import("../live-capabilities-G5FB5VBL.js"),
|
|
38
|
+
import("../codex-session-launch-TDEWJ3G6.js")
|
|
39
39
|
]);
|
|
40
40
|
const binary = resolveProviderBinary("codex");
|
|
41
41
|
if (!binary) throw new Error("Install Codex first, then run pushary codex");
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
reportEvent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7VNTZY7V.js";
|
|
5
|
+
import "../chunk-Z2DAWG5U.js";
|
|
6
6
|
import {
|
|
7
7
|
askUser,
|
|
8
8
|
isDecisionStopped,
|
|
9
9
|
waitForAnswer
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-RM3F4V6A.js";
|
|
11
|
+
import "../chunk-XOVAERD7.js";
|
|
12
12
|
import "../chunk-POFBE6ZY.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-32YARQJC.js";
|
|
14
|
+
import "../chunk-PJHYFHP4.js";
|
|
15
15
|
import {
|
|
16
16
|
projectNameFor
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-Y5BRXPL6.js";
|
|
18
|
+
import "../chunk-WDPIZXCZ.js";
|
|
19
|
+
import "../chunk-XJG7YRF7.js";
|
|
20
20
|
import {
|
|
21
21
|
getMachineId
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-PFH7XMHE.js";
|
|
23
|
+
import "../chunk-HNQ2FIBA.js";
|
|
24
|
+
import "../chunk-3NTAU6DN.js";
|
|
25
|
+
import "../chunk-BKZZSXEQ.js";
|
|
26
26
|
import {
|
|
27
27
|
getApiKey
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-ZPHPNTGW.js";
|
|
29
29
|
import "../chunk-CINBAX5G.js";
|
|
30
30
|
import "../chunk-PM2NRK6Y.js";
|
|
31
31
|
import "../chunk-BG4HHB7E.js";
|
|
32
32
|
import {
|
|
33
33
|
NPX_LATEST_COMMAND
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-MWKKUBHQ.js";
|
|
35
35
|
import "../chunk-UQTQ6HPO.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-AYP4GE3X.js";
|
|
37
37
|
import "../chunk-MLKGABMK.js";
|
|
38
38
|
|
|
39
39
|
// bin/pushary-codex.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
pairingComputerOf,
|
|
4
4
|
planPairCommand
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-WII73NRE.js";
|
|
6
6
|
import {
|
|
7
7
|
canShowPairingQr,
|
|
8
8
|
checkPhoneWithoutPairing,
|
|
@@ -12,64 +12,64 @@ import {
|
|
|
12
12
|
pairAppWithThisComputer,
|
|
13
13
|
pairingAgainHelps,
|
|
14
14
|
printConnectInstructions
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-UJUXZCQS.js";
|
|
16
16
|
import "../chunk-3EGEA4KH.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-INUW2CXK.js";
|
|
18
18
|
import {
|
|
19
19
|
printKeyCheck
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-MIJ2P4FZ.js";
|
|
21
|
+
import "../chunk-OD6JNTGZ.js";
|
|
22
22
|
import {
|
|
23
23
|
detectedAgentChoices
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-ZMJKA7CF.js";
|
|
25
25
|
import "../chunk-OYIN77HO.js";
|
|
26
26
|
import {
|
|
27
27
|
CONNECTED_THROUGH_MAC_APP,
|
|
28
28
|
PAIR_FROM_MAC_APP,
|
|
29
29
|
readMacAppConnection
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-E25IZ5S3.js";
|
|
31
31
|
import "../chunk-QCGNGEGE.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-6KF26UUL.js";
|
|
33
|
+
import "../chunk-SYIAWMBA.js";
|
|
34
|
+
import "../chunk-WIKPDEOR.js";
|
|
35
|
+
import "../chunk-RVIYAQC7.js";
|
|
36
36
|
import {
|
|
37
37
|
ciMarker,
|
|
38
38
|
createIo,
|
|
39
39
|
describeCiReason
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-W27VNI6G.js";
|
|
41
41
|
import {
|
|
42
42
|
exitOnHelpFlag
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-POESL3CD.js";
|
|
44
44
|
import "../chunk-TCE3J44Z.js";
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-N2L7E5NE.js";
|
|
46
|
+
import "../chunk-YRGDHBS5.js";
|
|
47
|
+
import "../chunk-7VNTZY7V.js";
|
|
48
|
+
import "../chunk-Z2DAWG5U.js";
|
|
49
|
+
import "../chunk-I4XCADTT.js";
|
|
50
|
+
import "../chunk-ZNCRZNLJ.js";
|
|
51
51
|
import {
|
|
52
52
|
parseFlags
|
|
53
53
|
} from "../chunk-BZIBNSQE.js";
|
|
54
54
|
import "../chunk-VRNGMRJA.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-RM3F4V6A.js";
|
|
56
|
+
import "../chunk-XOVAERD7.js";
|
|
57
57
|
import "../chunk-POFBE6ZY.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-32YARQJC.js";
|
|
59
|
+
import "../chunk-PJHYFHP4.js";
|
|
60
|
+
import "../chunk-Y5BRXPL6.js";
|
|
61
61
|
import {
|
|
62
62
|
checkApiKey
|
|
63
|
-
} from "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
63
|
+
} from "../chunk-WDPIZXCZ.js";
|
|
64
|
+
import "../chunk-XJG7YRF7.js";
|
|
65
|
+
import "../chunk-PFH7XMHE.js";
|
|
66
66
|
import {
|
|
67
67
|
readKeySource
|
|
68
|
-
} from "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
68
|
+
} from "../chunk-ZTNGM6NU.js";
|
|
69
|
+
import "../chunk-HNQ2FIBA.js";
|
|
70
|
+
import "../chunk-3NTAU6DN.js";
|
|
71
|
+
import "../chunk-BKZZSXEQ.js";
|
|
72
|
+
import "../chunk-ZPHPNTGW.js";
|
|
73
73
|
import {
|
|
74
74
|
UsageError
|
|
75
75
|
} from "../chunk-CINBAX5G.js";
|
|
@@ -79,9 +79,9 @@ import {
|
|
|
79
79
|
} from "../chunk-BG4HHB7E.js";
|
|
80
80
|
import {
|
|
81
81
|
isInvocationOf
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-MWKKUBHQ.js";
|
|
83
83
|
import "../chunk-UQTQ6HPO.js";
|
|
84
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-AYP4GE3X.js";
|
|
85
85
|
import "../chunk-MLKGABMK.js";
|
|
86
86
|
|
|
87
87
|
// bin/pushary-connect.ts
|