pushary 1.9.185 → 1.9.186
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 +4 -0
- package/dist/{api-BRYBSBZK.js → api-JW7AA573.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 +27 -27
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +36 -36
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +19 -19
- package/dist/bin/pushary-opencode-hook.js +34 -34
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +118 -86
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +44 -44
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-N7R5I2FE.js → chunk-26LAHVWI.js} +18 -18
- package/dist/{chunk-EGFBATFH.js → chunk-2DNN7O7B.js} +3 -3
- package/dist/{chunk-O4IWURQP.js → chunk-3MKRWTLZ.js} +1 -1
- package/dist/{chunk-HME7GJ6U.js → chunk-4CPKJI4N.js} +3 -3
- package/dist/{chunk-ME4RYRDR.js → chunk-4WJDKZEJ.js} +2 -2
- package/dist/{chunk-FMU7EE4Z.js → chunk-5FDIOHNH.js} +2 -2
- package/dist/{chunk-NAWYRZE5.js → chunk-5JRRWACR.js} +1 -1
- package/dist/{chunk-ULF4UJR4.js → chunk-5SN2IITE.js} +5 -5
- package/dist/{chunk-VT4JY2AI.js → chunk-63HIRFYV.js} +1 -1
- package/dist/{chunk-NQXVL6LF.js → chunk-6PBNSFQG.js} +1 -1
- package/dist/{chunk-JF4RHZLF.js → chunk-6TVDGTWR.js} +2 -2
- package/dist/{chunk-S7MFDG4I.js → chunk-6WLQ7WOD.js} +4 -4
- package/dist/{chunk-B4K5OVOE.js → chunk-7KLNBFFD.js} +3 -3
- package/dist/{chunk-FUEREMLD.js → chunk-7OQZ5GL7.js} +1 -1
- package/dist/{chunk-J4LUUYXH.js → chunk-7Z2N3SVV.js} +2 -2
- package/dist/{chunk-SJRLILZR.js → chunk-A4CQJZ3K.js} +6 -6
- package/dist/{chunk-24F6XTB3.js → chunk-AWYR3KPA.js} +3 -3
- package/dist/{chunk-M7KHET4S.js → chunk-BLLDCO5A.js} +1 -1
- package/dist/{chunk-ZIFSPYWB.js → chunk-CBE5G6UP.js} +4 -4
- package/dist/{chunk-W5FLGEYD.js → chunk-CEWERXV4.js} +2 -2
- package/dist/{chunk-HMP72ZHV.js → chunk-CL7QR6FW.js} +7 -7
- package/dist/{chunk-NYHSZQ52.js → chunk-DDNFI2GA.js} +6 -6
- package/dist/{chunk-CVJ6H2VK.js → chunk-DGG75PIW.js} +1 -1
- package/dist/{chunk-TC5H6AI3.js → chunk-DUZ6V74X.js} +1 -1
- package/dist/{chunk-LH5MUJNB.js → chunk-EBSFVPHH.js} +6 -6
- package/dist/{chunk-VD3Q2A5J.js → chunk-ECBECMRW.js} +1 -1
- package/dist/{chunk-EJ6HBNXC.js → chunk-EEFNFZNQ.js} +4 -4
- package/dist/{chunk-LRA423VV.js → chunk-EMGKV2QC.js} +1 -1
- package/dist/{chunk-WSMOSC7V.js → chunk-EQGQPDCH.js} +4 -4
- package/dist/{chunk-QLJGGIIC.js → chunk-ERI4ISGN.js} +5 -5
- package/dist/{chunk-L6NERUNF.js → chunk-FVQASC2C.js} +3 -3
- package/dist/{chunk-2M5CQWRP.js → chunk-G2IFBGTY.js} +4 -4
- package/dist/{chunk-OLKEMRJS.js → chunk-G6V3D64U.js} +2 -2
- package/dist/{chunk-Q7PIFWTG.js → chunk-GL4EIL5Q.js} +1 -1
- package/dist/{chunk-65LJ5GGF.js → chunk-GP377Y34.js} +7 -7
- package/dist/{chunk-VAFNZO3R.js → chunk-GXR3JSXP.js} +6 -6
- package/dist/{chunk-JTNEB67J.js → chunk-H4ZHVSKE.js} +5 -5
- package/dist/{chunk-JDDP7JOT.js → chunk-H6NPQ336.js} +8 -8
- package/dist/{chunk-AQSGAKFY.js → chunk-HFDBV3ZJ.js} +9 -9
- package/dist/{chunk-5BCZSBRC.js → chunk-I7GUIT7E.js} +4 -4
- package/dist/{chunk-ZJG4C46N.js → chunk-IPVW4IUW.js} +5 -5
- package/dist/{chunk-ZZDJSFRO.js → chunk-JKF5I32P.js} +2 -2
- package/dist/{chunk-AFH5LR76.js → chunk-K4WBFMAT.js} +1 -1
- package/dist/{chunk-R4TTSINC.js → chunk-KKUUJQ7D.js} +1 -1
- package/dist/{chunk-LG4A3CWJ.js → chunk-KTKM7HS5.js} +3 -3
- package/dist/{chunk-TMXWZ523.js → chunk-LRLAIP75.js} +2 -2
- package/dist/{chunk-GU5FAWFF.js → chunk-LWWUA5DF.js} +1 -1
- package/dist/{chunk-Y5GMVVCF.js → chunk-MSUOS64O.js} +2 -2
- package/dist/{chunk-F6TCNSGN.js → chunk-N5YRPYPC.js} +11 -11
- package/dist/{chunk-SIGAIBOE.js → chunk-NDHS2ULF.js} +1 -1
- package/dist/{chunk-37XU75VG.js → chunk-NGDDNKOV.js} +4 -4
- package/dist/{chunk-PTV6A5SZ.js → chunk-NITOSXEV.js} +1 -1
- package/dist/{chunk-HIHKYDIN.js → chunk-NK3V3E6P.js} +10 -10
- package/dist/{chunk-756EI4Q3.js → chunk-NZTPGQT7.js} +4 -4
- package/dist/{chunk-HVX3JGGX.js → chunk-O67OY3RA.js} +5 -5
- package/dist/{chunk-4XQN44EO.js → chunk-OBTUMS5L.js} +1 -1
- package/dist/{chunk-3TXESHDA.js → chunk-OLED2XSM.js} +2 -2
- package/dist/{chunk-5JR6LPS2.js → chunk-OY5W64TR.js} +1 -1
- package/dist/{chunk-ULYZX6VZ.js → chunk-P5EVSOB6.js} +1 -1
- package/dist/{chunk-APQZ3KX2.js → chunk-PZBVUHRD.js} +5 -5
- package/dist/{chunk-FO5DHJSL.js → chunk-Q4FXPTPH.js} +2 -2
- package/dist/{chunk-OJ7YBDPF.js → chunk-R3ECFKO3.js} +5 -5
- package/dist/{chunk-IDWNJ4DV.js → chunk-RNN2XAF7.js} +6 -6
- package/dist/{chunk-2C5DS3GU.js → chunk-RS7CW5W7.js} +2 -2
- package/dist/{chunk-5LRVMXIZ.js → chunk-S67UAFW2.js} +3 -3
- package/dist/{chunk-BMANIZY7.js → chunk-SQA3ZPM4.js} +5 -5
- package/dist/{chunk-55JWYWJV.js → chunk-SRCQFOVZ.js} +4 -4
- package/dist/{chunk-FSIIKAGP.js → chunk-STJYAFMW.js} +3 -3
- package/dist/{chunk-WNWAEFXM.js → chunk-STWKEQRM.js} +3 -3
- package/dist/{chunk-BRFHSICQ.js → chunk-TXVRUVBB.js} +1 -1
- package/dist/{chunk-5AF6JBCS.js → chunk-V25PSICC.js} +12 -12
- package/dist/{chunk-ZL2RR6WP.js → chunk-W2WM5IXQ.js} +1 -1
- package/dist/{chunk-LSR6SAV7.js → chunk-W522XWAT.js} +1 -1
- package/dist/{chunk-RNVHH6AN.js → chunk-WMXQFOTJ.js} +1 -1
- package/dist/{chunk-VD5V6F7F.js → chunk-XL2PSZIU.js} +2 -2
- package/dist/{chunk-M5FGY54M.js → chunk-YXKQXKGV.js} +4 -4
- package/dist/{chunk-B4VU5JT6.js → chunk-ZIEZJXQY.js} +3 -3
- package/dist/{chunk-MM7DRYKU.js → chunk-ZK4E2VID.js} +2 -2
- package/dist/{chunk-BPZQVEPM.js → chunk-ZVGPDR37.js} +4 -4
- package/dist/{chunk-R5VJTCXK.js → chunk-ZXAWHBFW.js} +5 -5
- package/dist/{codex-app-cards-switch-NYYOAVLZ.js → codex-app-cards-switch-J4QYBE4B.js} +11 -11
- package/dist/{codex-card-routing-WS72OC7Y.js → codex-card-routing-TLQSULL6.js} +2 -2
- package/dist/{codex-desktop-launch-OGZO6ZJG.js → codex-desktop-launch-QS7RJIWL.js} +1 -1
- package/dist/{codex-session-launch-DOWFJZA4.js → codex-session-launch-IOALOU37.js} +20 -20
- package/dist/{config-4JVYJ27G.js → config-WHD32JOQ.js} +3 -3
- package/dist/{global-upgrade-T4R5NZLD.js → global-upgrade-SILVY22G.js} +9 -9
- package/dist/{identity-OJIHTE3W.js → identity-ZFMKTDMM.js} +4 -4
- package/dist/{live-capabilities-LRILVMMZ.js → live-capabilities-A5NUXYA3.js} +4 -4
- package/dist/{paths-KHADVAWP.js → paths-2Q5EPYCM.js} +3 -3
- package/dist/reapply-TXX2GU6T.js +70 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-UISWFQ3X.js → upgrade-lock-YNBGIRDF.js} +4 -4
- package/dist/{usage-SKO6G5XJ.js → usage-K74RCKF7.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-6EIHGVRL.js +0 -70
- /package/dist/{chunk-CXBOEYV6.js → chunk-X55NVFKJ.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
reapplyClaudeForVersion
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-N5YRPYPC.js";
|
|
5
|
+
import "../chunk-LRLAIP75.js";
|
|
6
|
+
import "../chunk-CBE5G6UP.js";
|
|
7
|
+
import "../chunk-2DNN7O7B.js";
|
|
8
|
+
import "../chunk-H4ZHVSKE.js";
|
|
9
|
+
import "../chunk-AWYR3KPA.js";
|
|
10
|
+
import "../chunk-STWKEQRM.js";
|
|
11
|
+
import "../chunk-CL7QR6FW.js";
|
|
12
|
+
import "../chunk-W522XWAT.js";
|
|
13
|
+
import "../chunk-63HIRFYV.js";
|
|
14
|
+
import "../chunk-5FDIOHNH.js";
|
|
15
15
|
import "../chunk-TCE3J44Z.js";
|
|
16
16
|
import {
|
|
17
17
|
triggerAutoUpdate
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-Q4FXPTPH.js";
|
|
19
19
|
import {
|
|
20
20
|
readHookInput
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-SQA3ZPM4.js";
|
|
22
|
+
import "../chunk-G2IFBGTY.js";
|
|
23
|
+
import "../chunk-NK3V3E6P.js";
|
|
24
24
|
import "../chunk-WHB622LP.js";
|
|
25
25
|
import {
|
|
26
26
|
activeHookSource,
|
|
27
27
|
activeIdentity
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-PZBVUHRD.js";
|
|
29
|
+
import "../chunk-GXR3JSXP.js";
|
|
30
|
+
import "../chunk-EQGQPDCH.js";
|
|
31
31
|
import {
|
|
32
32
|
CLAUDE_CODE_AGENT,
|
|
33
33
|
handleSessionStart
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-V25PSICC.js";
|
|
35
|
+
import "../chunk-EMGKV2QC.js";
|
|
36
|
+
import "../chunk-NITOSXEV.js";
|
|
37
|
+
import "../chunk-LWWUA5DF.js";
|
|
38
38
|
import "../chunk-BZIBNSQE.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-7KLNBFFD.js";
|
|
40
40
|
import "../chunk-55L4JSPA.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-DUZ6V74X.js";
|
|
42
42
|
import "../chunk-VRNGMRJA.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-A4CQJZ3K.js";
|
|
44
|
+
import "../chunk-KKUUJQ7D.js";
|
|
45
45
|
import "../chunk-POFBE6ZY.js";
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-ZXAWHBFW.js";
|
|
47
|
+
import "../chunk-TXVRUVBB.js";
|
|
48
|
+
import "../chunk-7OQZ5GL7.js";
|
|
49
|
+
import "../chunk-FVQASC2C.js";
|
|
50
|
+
import "../chunk-KTKM7HS5.js";
|
|
51
|
+
import "../chunk-5JRRWACR.js";
|
|
52
|
+
import "../chunk-S67UAFW2.js";
|
|
53
|
+
import "../chunk-RS7CW5W7.js";
|
|
54
|
+
import "../chunk-6TVDGTWR.js";
|
|
55
|
+
import "../chunk-I7GUIT7E.js";
|
|
56
|
+
import "../chunk-3MKRWTLZ.js";
|
|
57
57
|
import "../chunk-CINBAX5G.js";
|
|
58
58
|
import "../chunk-PM2NRK6Y.js";
|
|
59
59
|
import "../chunk-BG4HHB7E.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-GL4EIL5Q.js";
|
|
61
61
|
import "../chunk-UQTQ6HPO.js";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-X55NVFKJ.js";
|
|
63
63
|
import "../chunk-MLKGABMK.js";
|
|
64
64
|
|
|
65
65
|
// bin/pushary-session-start-hook.ts
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
import {
|
|
3
3
|
emitJson,
|
|
4
4
|
writeJsonError
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-6PBNSFQG.js";
|
|
6
6
|
import {
|
|
7
7
|
exitOnHelpFlag
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-OY5W64TR.js";
|
|
9
9
|
import {
|
|
10
10
|
parseFlags
|
|
11
11
|
} from "../chunk-BZIBNSQE.js";
|
|
12
12
|
import {
|
|
13
13
|
McpHttpError,
|
|
14
14
|
callMcpTool
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-ZXAWHBFW.js";
|
|
16
|
+
import "../chunk-TXVRUVBB.js";
|
|
17
|
+
import "../chunk-FVQASC2C.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_TIMEOUT_MS,
|
|
20
20
|
isNetworkFailure
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-KTKM7HS5.js";
|
|
22
22
|
import {
|
|
23
23
|
readExistingMachineId
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-5JRRWACR.js";
|
|
25
25
|
import {
|
|
26
26
|
readKeySource
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-S67UAFW2.js";
|
|
28
|
+
import "../chunk-RS7CW5W7.js";
|
|
29
|
+
import "../chunk-6TVDGTWR.js";
|
|
30
|
+
import "../chunk-I7GUIT7E.js";
|
|
31
|
+
import "../chunk-3MKRWTLZ.js";
|
|
32
32
|
import {
|
|
33
33
|
AuthError,
|
|
34
34
|
NetworkError,
|
|
@@ -39,13 +39,13 @@ import "../chunk-PM2NRK6Y.js";
|
|
|
39
39
|
import {
|
|
40
40
|
EXIT
|
|
41
41
|
} from "../chunk-BG4HHB7E.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-GL4EIL5Q.js";
|
|
43
43
|
import {
|
|
44
44
|
getPackageVersion
|
|
45
45
|
} from "../chunk-UQTQ6HPO.js";
|
|
46
46
|
import {
|
|
47
47
|
isRecord
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-X55NVFKJ.js";
|
|
49
49
|
import "../chunk-MLKGABMK.js";
|
|
50
50
|
|
|
51
51
|
// bin/pushary-sessions.ts
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
someoneIsAtTheTerminal,
|
|
24
24
|
switchBackToTheShellKeyLine,
|
|
25
25
|
wrongAccountHintPlacement
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-EEFNFZNQ.js";
|
|
27
27
|
import {
|
|
28
28
|
INSTALL_NODE_STEP,
|
|
29
29
|
NPM_FILE_IN_USE_STEP,
|
|
@@ -37,25 +37,25 @@ import {
|
|
|
37
37
|
renderCommandSurface,
|
|
38
38
|
teamOfferLines,
|
|
39
39
|
unverifiedKeyClosingReason
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-SRCQFOVZ.js";
|
|
41
41
|
import {
|
|
42
42
|
instructionsChannelFor,
|
|
43
43
|
pairingComputerOf,
|
|
44
44
|
planPhoneCheck
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-W2WM5IXQ.js";
|
|
46
46
|
import {
|
|
47
47
|
coworkOutput,
|
|
48
48
|
coworkSelection
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-STJYAFMW.js";
|
|
50
50
|
import "../chunk-PUZZELE6.js";
|
|
51
51
|
import {
|
|
52
52
|
readCodexHooksOnDisk
|
|
53
|
-
} from "../chunk-
|
|
54
|
-
import "../chunk-
|
|
53
|
+
} from "../chunk-HFDBV3ZJ.js";
|
|
54
|
+
import "../chunk-XL2PSZIU.js";
|
|
55
55
|
import {
|
|
56
56
|
clearDeclinedAgent,
|
|
57
57
|
declinedAgentForSetupChoice
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-G6V3D64U.js";
|
|
59
59
|
import {
|
|
60
60
|
OPENCLAW_RESTART_NOTE,
|
|
61
61
|
describeOpenClawInstallFailure,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
gateHermesShell,
|
|
64
64
|
readHermesShellGate,
|
|
65
65
|
saveSetupFailure
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-IPVW4IUW.js";
|
|
67
67
|
import {
|
|
68
68
|
CODEX_NEEDS_A_NEWER_VERSION,
|
|
69
69
|
CODEX_SETTINGS_STOP_A_HOOK,
|
|
@@ -77,14 +77,14 @@ import {
|
|
|
77
77
|
describeHermesState,
|
|
78
78
|
hermesGateShellCommand,
|
|
79
79
|
needsCodexTrustStep
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-NGDDNKOV.js";
|
|
81
81
|
import {
|
|
82
82
|
describeWaitLadder
|
|
83
83
|
} from "../chunk-CVWG2N3Y.js";
|
|
84
84
|
import {
|
|
85
85
|
writeJsonError,
|
|
86
86
|
writeStdoutFully
|
|
87
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-6PBNSFQG.js";
|
|
88
88
|
import {
|
|
89
89
|
canShowPairingQr,
|
|
90
90
|
confirmAppConnection,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
phoneAwaitsNotificationPermission,
|
|
97
97
|
printConnectInstructions,
|
|
98
98
|
waitForYourPhone
|
|
99
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-EBSFVPHH.js";
|
|
100
100
|
import "../chunk-3EGEA4KH.js";
|
|
101
101
|
import {
|
|
102
102
|
SETUP_AGENT_NAME,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
roundTripEvidence,
|
|
106
106
|
roundTripWasAnswered,
|
|
107
107
|
verifyRoundTrip
|
|
108
|
-
} from "../chunk-
|
|
108
|
+
} from "../chunk-DDNFI2GA.js";
|
|
109
109
|
import {
|
|
110
110
|
keepLinuxDaemonAfterLogout,
|
|
111
111
|
lingerReportOf
|
|
@@ -113,10 +113,10 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
readManagedControlEvidence,
|
|
115
115
|
waitForMachineReadiness
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-R3ECFKO3.js";
|
|
117
117
|
import {
|
|
118
118
|
ensureCodexTrustsPusharyHooks
|
|
119
|
-
} from "../chunk-
|
|
119
|
+
} from "../chunk-LRLAIP75.js";
|
|
120
120
|
import {
|
|
121
121
|
describeSetupSideEffects,
|
|
122
122
|
installAgentSkill,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
} from "../chunk-UOPOVQ2P.js";
|
|
125
125
|
import {
|
|
126
126
|
codexEngineBehindLauncher
|
|
127
|
-
} from "../chunk-
|
|
127
|
+
} from "../chunk-ZIEZJXQY.js";
|
|
128
128
|
import "../chunk-XCEN33UP.js";
|
|
129
129
|
import {
|
|
130
130
|
CODEX_ENGINE_DIRECTORY,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
soleGateFile,
|
|
141
141
|
soleGateReceipt,
|
|
142
142
|
soleGateReceiptFile
|
|
143
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-NZTPGQT7.js";
|
|
144
144
|
import {
|
|
145
145
|
describeDetection,
|
|
146
146
|
detectAllAgents,
|
|
@@ -150,12 +150,12 @@ import {
|
|
|
150
150
|
registerPluginLocation,
|
|
151
151
|
shortenHome,
|
|
152
152
|
vscodeSettingsTargets
|
|
153
|
-
} from "../chunk-
|
|
153
|
+
} from "../chunk-ERI4ISGN.js";
|
|
154
154
|
import "../chunk-OYIN77HO.js";
|
|
155
155
|
import {
|
|
156
156
|
mcpServerBearer,
|
|
157
157
|
readMacAppAgentKey
|
|
158
|
-
} from "../chunk-
|
|
158
|
+
} from "../chunk-6WLQ7WOD.js";
|
|
159
159
|
import {
|
|
160
160
|
HERMES_CONFIG_FILE,
|
|
161
161
|
HERMES_GATE_TOOLS_KEY,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
routesHermesQuestions,
|
|
175
175
|
runsAnOlderPlugin,
|
|
176
176
|
shippedHermesPlugin
|
|
177
|
-
} from "../chunk-
|
|
177
|
+
} from "../chunk-CBE5G6UP.js";
|
|
178
178
|
import {
|
|
179
179
|
setHumanStream
|
|
180
180
|
} from "../chunk-QCGNGEGE.js";
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
findOpenClawLauncher,
|
|
183
183
|
isOpenClawWired,
|
|
184
184
|
openClawPathsNow
|
|
185
|
-
} from "../chunk-
|
|
185
|
+
} from "../chunk-2DNN7O7B.js";
|
|
186
186
|
import {
|
|
187
187
|
FX_PICKS_UP_CONFIGURATION,
|
|
188
188
|
FX_PUSHARY_TOOLS_RULE,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
readFxProfileForSetup,
|
|
200
200
|
withFxPusharyServer,
|
|
201
201
|
writeFxProfile
|
|
202
|
-
} from "../chunk-
|
|
202
|
+
} from "../chunk-H4ZHVSKE.js";
|
|
203
203
|
import {
|
|
204
204
|
AgentConfigError,
|
|
205
205
|
afterAgentFailureNote,
|
|
@@ -212,10 +212,10 @@ import {
|
|
|
212
212
|
retryAgentCommand,
|
|
213
213
|
writeSetupConfigFile,
|
|
214
214
|
writeSetupConfigJson
|
|
215
|
-
} from "../chunk-
|
|
215
|
+
} from "../chunk-AWYR3KPA.js";
|
|
216
216
|
import {
|
|
217
217
|
MCP_BRIDGE_BINARY
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-STWKEQRM.js";
|
|
219
219
|
import {
|
|
220
220
|
OPENCODE_HOOK_BINARY,
|
|
221
221
|
addOpenCodeMcpServer,
|
|
@@ -234,12 +234,12 @@ import {
|
|
|
234
234
|
openCodePluginFile,
|
|
235
235
|
openCodeWired,
|
|
236
236
|
withOpenCodeAskRules
|
|
237
|
-
} from "../chunk-
|
|
238
|
-
import "../chunk-
|
|
239
|
-
import "../chunk-
|
|
237
|
+
} from "../chunk-CL7QR6FW.js";
|
|
238
|
+
import "../chunk-W522XWAT.js";
|
|
239
|
+
import "../chunk-63HIRFYV.js";
|
|
240
240
|
import {
|
|
241
241
|
keyScopeOf
|
|
242
|
-
} from "../chunk-
|
|
242
|
+
} from "../chunk-CEWERXV4.js";
|
|
243
243
|
import {
|
|
244
244
|
ansiPainter,
|
|
245
245
|
ciMarker,
|
|
@@ -248,7 +248,7 @@ import {
|
|
|
248
248
|
describeError,
|
|
249
249
|
isCI,
|
|
250
250
|
useColor
|
|
251
|
-
} from "../chunk-
|
|
251
|
+
} from "../chunk-DGG75PIW.js";
|
|
252
252
|
import {
|
|
253
253
|
checkCodexInstall,
|
|
254
254
|
describeMissingControlPrerequisite,
|
|
@@ -261,16 +261,16 @@ import {
|
|
|
261
261
|
nodeCodexInstallProbe,
|
|
262
262
|
phoneStartIsRequired,
|
|
263
263
|
resolveControlPolicy
|
|
264
|
-
} from "../chunk-
|
|
264
|
+
} from "../chunk-4CPKJI4N.js";
|
|
265
265
|
import {
|
|
266
266
|
detectClaudeVersion
|
|
267
|
-
} from "../chunk-
|
|
267
|
+
} from "../chunk-5FDIOHNH.js";
|
|
268
268
|
import "../chunk-TCE3J44Z.js";
|
|
269
269
|
import {
|
|
270
270
|
describeAutoUpdateAnnouncement,
|
|
271
271
|
takeAutoUpdateAnnouncement
|
|
272
|
-
} from "../chunk-
|
|
273
|
-
import "../chunk-
|
|
272
|
+
} from "../chunk-Q4FXPTPH.js";
|
|
273
|
+
import "../chunk-G2IFBGTY.js";
|
|
274
274
|
import "../chunk-WHB622LP.js";
|
|
275
275
|
import {
|
|
276
276
|
addCompatibleHooks,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
compatibleRecord,
|
|
286
286
|
compatibleTargetPaths,
|
|
287
287
|
hasCompatibleHooks
|
|
288
|
-
} from "../chunk-
|
|
288
|
+
} from "../chunk-PZBVUHRD.js";
|
|
289
289
|
import {
|
|
290
290
|
DAEMON_COLD_START_TIMEOUT_MS,
|
|
291
291
|
clearDaemonNeedsLogin,
|
|
@@ -304,7 +304,7 @@ import {
|
|
|
304
304
|
stopDaemonService,
|
|
305
305
|
versionManagerOf,
|
|
306
306
|
waitForDaemonRemoteProof
|
|
307
|
-
} from "../chunk-
|
|
307
|
+
} from "../chunk-GXR3JSXP.js";
|
|
308
308
|
import {
|
|
309
309
|
GEMINI_HOOK_BINARY,
|
|
310
310
|
GEMINI_HOOK_EVENTS,
|
|
@@ -320,38 +320,38 @@ import {
|
|
|
320
320
|
geminiWired,
|
|
321
321
|
planHooks,
|
|
322
322
|
pusharyHookExecutable
|
|
323
|
-
} from "../chunk-
|
|
323
|
+
} from "../chunk-EQGQPDCH.js";
|
|
324
324
|
import {
|
|
325
325
|
reportEvent
|
|
326
|
-
} from "../chunk-
|
|
327
|
-
import "../chunk-
|
|
326
|
+
} from "../chunk-V25PSICC.js";
|
|
327
|
+
import "../chunk-EMGKV2QC.js";
|
|
328
328
|
import {
|
|
329
329
|
AGENT_CHOICES,
|
|
330
330
|
effectiveAgentSelection,
|
|
331
331
|
effectiveControlMode,
|
|
332
332
|
effectiveVerify,
|
|
333
333
|
parseSetupOptions
|
|
334
|
-
} from "../chunk-
|
|
335
|
-
import "../chunk-
|
|
334
|
+
} from "../chunk-NITOSXEV.js";
|
|
335
|
+
import "../chunk-LWWUA5DF.js";
|
|
336
336
|
import "../chunk-BZIBNSQE.js";
|
|
337
337
|
import "../chunk-55L4JSPA.js";
|
|
338
338
|
import {
|
|
339
339
|
transcriptPreferenceForSetup
|
|
340
|
-
} from "../chunk-
|
|
340
|
+
} from "../chunk-DUZ6V74X.js";
|
|
341
341
|
import "../chunk-VRNGMRJA.js";
|
|
342
|
-
import "../chunk-
|
|
343
|
-
import "../chunk-
|
|
342
|
+
import "../chunk-A4CQJZ3K.js";
|
|
343
|
+
import "../chunk-KKUUJQ7D.js";
|
|
344
344
|
import "../chunk-POFBE6ZY.js";
|
|
345
|
-
import "../chunk-
|
|
346
|
-
import "../chunk-
|
|
347
|
-
import "../chunk-
|
|
345
|
+
import "../chunk-ZXAWHBFW.js";
|
|
346
|
+
import "../chunk-TXVRUVBB.js";
|
|
347
|
+
import "../chunk-7OQZ5GL7.js";
|
|
348
348
|
import {
|
|
349
349
|
checkApiKey,
|
|
350
350
|
describeKeyCheck,
|
|
351
351
|
samePusharyAccount
|
|
352
|
-
} from "../chunk-
|
|
353
|
-
import "../chunk-
|
|
354
|
-
import "../chunk-
|
|
352
|
+
} from "../chunk-FVQASC2C.js";
|
|
353
|
+
import "../chunk-KTKM7HS5.js";
|
|
354
|
+
import "../chunk-5JRRWACR.js";
|
|
355
355
|
import {
|
|
356
356
|
KEY_FILE_MODE,
|
|
357
357
|
installClaudeAlias,
|
|
@@ -367,8 +367,8 @@ import {
|
|
|
367
367
|
resolveShellRc,
|
|
368
368
|
shellKeyWasReplaced,
|
|
369
369
|
writeKey
|
|
370
|
-
} from "../chunk-
|
|
371
|
-
import "../chunk-
|
|
370
|
+
} from "../chunk-S67UAFW2.js";
|
|
371
|
+
import "../chunk-RS7CW5W7.js";
|
|
372
372
|
import {
|
|
373
373
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
374
374
|
CLINE_AUTO_APPROVE_STEP,
|
|
@@ -428,7 +428,7 @@ import {
|
|
|
428
428
|
vscodePluginDir,
|
|
429
429
|
vscodePluginMcp,
|
|
430
430
|
writeInstructionBlock
|
|
431
|
-
} from "../chunk-
|
|
431
|
+
} from "../chunk-6TVDGTWR.js";
|
|
432
432
|
import {
|
|
433
433
|
NpmMissingError,
|
|
434
434
|
compareVersion,
|
|
@@ -439,10 +439,10 @@ import {
|
|
|
439
439
|
plannedGlobalPackage,
|
|
440
440
|
resolveGlobalBinDir,
|
|
441
441
|
resolveGlobalBinary
|
|
442
|
-
} from "../chunk-
|
|
442
|
+
} from "../chunk-I7GUIT7E.js";
|
|
443
443
|
import {
|
|
444
444
|
getBaseUrl
|
|
445
|
-
} from "../chunk-
|
|
445
|
+
} from "../chunk-3MKRWTLZ.js";
|
|
446
446
|
import {
|
|
447
447
|
UsageError
|
|
448
448
|
} from "../chunk-CINBAX5G.js";
|
|
@@ -456,7 +456,7 @@ import {
|
|
|
456
456
|
import {
|
|
457
457
|
NPX_LATEST_COMMAND,
|
|
458
458
|
renderCommandHelp
|
|
459
|
-
} from "../chunk-
|
|
459
|
+
} from "../chunk-GL4EIL5Q.js";
|
|
460
460
|
import {
|
|
461
461
|
getPackageVersion,
|
|
462
462
|
isNewerVersion,
|
|
@@ -474,7 +474,7 @@ import {
|
|
|
474
474
|
isRecord,
|
|
475
475
|
isTimeoutAction,
|
|
476
476
|
isValidApiKey
|
|
477
|
-
} from "../chunk-
|
|
477
|
+
} from "../chunk-X55NVFKJ.js";
|
|
478
478
|
import "../chunk-MLKGABMK.js";
|
|
479
479
|
|
|
480
480
|
// bin/pushary-setup.ts
|
|
@@ -488,6 +488,7 @@ import { parse as parseTOML, stringify as stringifyTOML } from "smol-toml";
|
|
|
488
488
|
|
|
489
489
|
// src/cli/exit.ts
|
|
490
490
|
var isExitPromptError = (err) => err instanceof Error && (err.name === "ExitPromptError" || err.message.includes("User force closed") || /force closed the prompt/i.test(err.message));
|
|
491
|
+
var isAbortPromptError = (err) => err instanceof Error && err.name === "AbortPromptError";
|
|
491
492
|
|
|
492
493
|
// src/setup/agent-targets.ts
|
|
493
494
|
import { join } from "path";
|
|
@@ -2305,8 +2306,40 @@ var detectAgents = () => {
|
|
|
2305
2306
|
return map;
|
|
2306
2307
|
};
|
|
2307
2308
|
var canRunBrowserLogin = () => process.stdout.isTTY === true && !isCI();
|
|
2309
|
+
var AGENT_PICKER_IDLE_LIMIT_MS = 2e4;
|
|
2310
|
+
var answeredWith = (agents) => ({ agents, nobodyAnswered: false });
|
|
2311
|
+
var abortAfterTerminalIdle = (idleMs) => {
|
|
2312
|
+
const controller = new AbortController();
|
|
2313
|
+
const expire = () => controller.abort();
|
|
2314
|
+
let timer = setTimeout(expire, idleMs);
|
|
2315
|
+
timer.unref();
|
|
2316
|
+
const restart = () => {
|
|
2317
|
+
clearTimeout(timer);
|
|
2318
|
+
timer = setTimeout(expire, idleMs);
|
|
2319
|
+
timer.unref();
|
|
2320
|
+
};
|
|
2321
|
+
process.stdin.on("keypress", restart);
|
|
2322
|
+
return {
|
|
2323
|
+
signal: controller.signal,
|
|
2324
|
+
stop: () => {
|
|
2325
|
+
clearTimeout(timer);
|
|
2326
|
+
process.stdin.off("keypress", restart);
|
|
2327
|
+
}
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
var selectDetectedAgents = async (detected) => {
|
|
2331
|
+
const picked = Object.keys(detected).filter((agent) => detected[agent].found);
|
|
2332
|
+
if (picked.length === 0) {
|
|
2333
|
+
console.log(` ${yellow("!")} No agents detected, so nothing was configured. Your key is saved.`);
|
|
2334
|
+
console.log(` ${dim("Install an agent and re-run, name one with --agents <id>, or pass --agents none to accept this.")}`);
|
|
2335
|
+
console.log();
|
|
2336
|
+
process.exit(await abortWith("no-agents-detected", EXIT.PROBLEMS_FOUND));
|
|
2337
|
+
}
|
|
2338
|
+
console.log(` ${check} Selected automatically: ${picked.map((a) => AGENT_NAMES[a]).join(", ")} ${dim("(--agents to choose)")}`);
|
|
2339
|
+
return picked;
|
|
2340
|
+
};
|
|
2308
2341
|
var resolveAgents = async (options) => {
|
|
2309
|
-
if (options.agents.kind === "none") return [];
|
|
2342
|
+
if (options.agents.kind === "none") return answeredWith([]);
|
|
2310
2343
|
if (options.agents.kind === "explicit") {
|
|
2311
2344
|
const detected2 = detectAgents();
|
|
2312
2345
|
for (const agent of options.agents.agents) {
|
|
@@ -2315,38 +2348,37 @@ var resolveAgents = async (options) => {
|
|
|
2315
2348
|
console.log(` ${dim("Continuing anyway. The steps below say what was configured.")}`);
|
|
2316
2349
|
}
|
|
2317
2350
|
}
|
|
2318
|
-
return options.agents.agents;
|
|
2351
|
+
return answeredWith(options.agents.agents);
|
|
2319
2352
|
}
|
|
2320
2353
|
const detected = detectAgents();
|
|
2321
2354
|
const hasDetectedAgents = Object.values(detected).some((entry) => entry.found);
|
|
2322
2355
|
const selection = effectiveAgentSelection(options.agents, {
|
|
2323
2356
|
someoneCanAnswer: someoneIsAtTheTerminal({ stdoutIsTty: process.stdout.isTTY === true, nonInteractive: options.nonInteractive })
|
|
2324
2357
|
});
|
|
2325
|
-
if (selection.kind === "auto")
|
|
2326
|
-
const picked = Object.keys(detected).filter((agent) => detected[agent].found);
|
|
2327
|
-
if (picked.length === 0) {
|
|
2328
|
-
console.log(` ${yellow("!")} No agents detected, so nothing was configured. Your key is saved.`);
|
|
2329
|
-
console.log(` ${dim("Install an agent and re-run, name one with --agents <id>, or pass --agents none to accept this.")}`);
|
|
2330
|
-
console.log();
|
|
2331
|
-
process.exit(await abortWith("no-agents-detected", EXIT.PROBLEMS_FOUND));
|
|
2332
|
-
}
|
|
2333
|
-
console.log(` ${check} Selected automatically: ${picked.map((a) => AGENT_NAMES[a]).join(", ")} ${dim("(--agents to choose)")}`);
|
|
2334
|
-
return picked;
|
|
2335
|
-
}
|
|
2358
|
+
if (selection.kind === "auto") return answeredWith(await selectDetectedAgents(detected));
|
|
2336
2359
|
const hint = hasDetectedAgents ? "(detected agents pre-selected)" : "(space = toggle, enter = confirm)";
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2360
|
+
const deadline = abortAfterTerminalIdle(AGENT_PICKER_IDLE_LIMIT_MS);
|
|
2361
|
+
try {
|
|
2362
|
+
return answeredWith(await checkbox({
|
|
2363
|
+
message: "Which agents do you use? " + dim(hint),
|
|
2364
|
+
choices: Object.keys(AGENT_LABELS).map((agent) => ({
|
|
2365
|
+
// The evidence rides along so a detection the user disagrees with is
|
|
2366
|
+
// visible and correctable, rather than an unexplained pre-tick.
|
|
2367
|
+
name: detected[agent].evidence ? `${AGENT_LABELS[agent]} ${dim(`[${detected[agent].evidence}]`)}` : AGENT_LABELS[agent],
|
|
2368
|
+
value: agent,
|
|
2369
|
+
short: AGENT_NAMES[agent],
|
|
2370
|
+
checked: detected[agent].found
|
|
2371
|
+
})),
|
|
2372
|
+
// Today an empty selection skips the loop and still prints "Setup complete."
|
|
2373
|
+
validate: (picked) => picked.length > 0 || "Select at least one agent, or re-run with --agents none."
|
|
2374
|
+
}, { signal: deadline.signal }));
|
|
2375
|
+
} catch (err) {
|
|
2376
|
+
if (!isAbortPromptError(err)) throw err;
|
|
2377
|
+
console.log(` ${yellow("!")} Nothing was typed at the agent question for ${AGENT_PICKER_IDLE_LIMIT_MS / 1e3} seconds.`);
|
|
2378
|
+
return { agents: await selectDetectedAgents(detected), nobodyAnswered: true };
|
|
2379
|
+
} finally {
|
|
2380
|
+
deadline.stop();
|
|
2381
|
+
}
|
|
2350
2382
|
};
|
|
2351
2383
|
var AGENT_TARGETS = agentSetupTargets(existsSync);
|
|
2352
2384
|
var reportDryRun = (apiKey, agents, keyCheck, controlMode) => {
|
|
@@ -2493,7 +2525,7 @@ var main = async () => {
|
|
|
2493
2525
|
console.log(` ${dim("No key on this machine. A real run would connect one first.")}`);
|
|
2494
2526
|
console.log();
|
|
2495
2527
|
markStep("resolve-agents");
|
|
2496
|
-
const plannedAgents = await resolveAgents(options);
|
|
2528
|
+
const plannedAgents = (await resolveAgents(options)).agents;
|
|
2497
2529
|
reportDryRun(null, plannedAgents, null, controlMode);
|
|
2498
2530
|
await emitJson(options, { ok: true, dryRun: true, agents: plannedAgents, control: controlMode, keyCheck: "skipped", key: "none" });
|
|
2499
2531
|
return;
|
|
@@ -2593,7 +2625,7 @@ var main = async () => {
|
|
|
2593
2625
|
if (wrongAccountHint === "after-key-check") console.log(` ${dim(WRONG_ACCOUNT_HINT)}`);
|
|
2594
2626
|
if (options.dryRun) {
|
|
2595
2627
|
markStep("resolve-agents");
|
|
2596
|
-
const plannedAgents = await resolveAgents(options);
|
|
2628
|
+
const plannedAgents = (await resolveAgents(options)).agents;
|
|
2597
2629
|
reportDryRun(trimmedKey, plannedAgents, keyCheck, controlMode);
|
|
2598
2630
|
await emitJson(options, { ok: true, dryRun: true, agents: plannedAgents, control: controlMode, keyCheck: keyCheck?.kind ?? "skipped" });
|
|
2599
2631
|
return;
|
|
@@ -2608,12 +2640,12 @@ var main = async () => {
|
|
|
2608
2640
|
if (isKeyHeldByMacApp(trimmedKey, macAppHolder)) recordMacAppKeyPrefix(trimmedKey);
|
|
2609
2641
|
if (keyCheck.kind === "ok") clearDaemonNeedsLogin();
|
|
2610
2642
|
markStep("resolve-agents");
|
|
2611
|
-
const agents = await resolveAgents(options);
|
|
2643
|
+
const { agents, nobodyAnswered } = await resolveAgents(options);
|
|
2612
2644
|
const context = {
|
|
2613
2645
|
rc,
|
|
2614
2646
|
hermesShellGate: hermesShellGateChoice({
|
|
2615
2647
|
requested: options.hermesGateTerminal,
|
|
2616
|
-
canAsk: canAskAtTheTerminal({ stdoutIsTty: process.stdout.isTTY === true, nonInteractive: options.nonInteractive, dryRun: options.dryRun })
|
|
2648
|
+
canAsk: !nobodyAnswered && canAskAtTheTerminal({ stdoutIsTty: process.stdout.isTTY === true, nonInteractive: options.nonInteractive, dryRun: options.dryRun })
|
|
2617
2649
|
})
|
|
2618
2650
|
};
|
|
2619
2651
|
const accountChecks = /* @__PURE__ */ new Map();
|
|
@@ -2720,7 +2752,7 @@ var main = async () => {
|
|
|
2720
2752
|
console.log(` ${yellow("!")} Failed: ${failedAgentNames(failures).join(", ")}${configured ? ` ${dim(configured)}` : ""}`);
|
|
2721
2753
|
for (const followUp of agentFailureFollowUps(failures)) console.log(` ${agentFailureFollowUpLine(followUp)}`);
|
|
2722
2754
|
}
|
|
2723
|
-
if (!keyFromPairing) {
|
|
2755
|
+
if (!keyFromPairing && !nobodyAnswered) {
|
|
2724
2756
|
markStep("project-instructions");
|
|
2725
2757
|
await offerProjectInstructions(agents, options);
|
|
2726
2758
|
if (completed.includes("claude_code")) await offerClaudeAlias(options);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-OY5W64TR.js";
|
|
5
5
|
import {
|
|
6
6
|
readLedgerSummary
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ECBECMRW.js";
|
|
8
8
|
import {
|
|
9
9
|
getApiKey
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-3MKRWTLZ.js";
|
|
11
11
|
import "../chunk-BG4HHB7E.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-GL4EIL5Q.js";
|
|
13
13
|
import "../chunk-UQTQ6HPO.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-X55NVFKJ.js";
|
|
15
15
|
import "../chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// bin/pushary-stats.ts
|