pushary 1.9.235 → 1.9.236

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.
Files changed (149) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  3. package/data/cursor-plugin/CHANGELOG.md +4 -0
  4. package/data/cursor-plugin/scripts/redaction.mjs +2 -0
  5. package/data/openclaw-plugin/dist/redaction.js +2 -0
  6. package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
  7. package/data/vscode-plugin/CHANGELOG.md +4 -0
  8. package/data/vscode-plugin/scripts/redaction.mjs +2 -0
  9. package/dist/{api-UVFEVNJD.js → api-ZRAS6XVR.js} +11 -11
  10. package/dist/bin/pushary-audit.js +3 -3
  11. package/dist/bin/pushary-bell-hook.js +28 -28
  12. package/dist/bin/pushary-bell.js +12 -12
  13. package/dist/bin/pushary-calls.js +15 -15
  14. package/dist/bin/pushary-claude.js +26 -26
  15. package/dist/bin/pushary-clean.js +39 -39
  16. package/dist/bin/pushary-codex-bridge.js +23 -23
  17. package/dist/bin/pushary-codex-hook.js +34 -34
  18. package/dist/bin/pushary-codex-session.js +8 -8
  19. package/dist/bin/pushary-codex.js +16 -16
  20. package/dist/bin/pushary-connect.js +35 -35
  21. package/dist/bin/pushary-cowork.js +5 -5
  22. package/dist/bin/pushary-daemon.js +46 -46
  23. package/dist/bin/pushary-disconnect.js +30 -30
  24. package/dist/bin/pushary-display-hook.js +8 -0
  25. package/dist/bin/pushary-doctor.js +47 -47
  26. package/dist/bin/pushary-elicitation-hook.js +27 -27
  27. package/dist/bin/pushary-gemini-bridge.js +18 -18
  28. package/dist/bin/pushary-gemini-hook.js +31 -31
  29. package/dist/bin/pushary-hook.js +35 -35
  30. package/dist/bin/pushary-login.js +23 -23
  31. package/dist/bin/pushary-logout.js +31 -31
  32. package/dist/bin/pushary-mcp.js +12 -12
  33. package/dist/bin/pushary-mode.js +16 -16
  34. package/dist/bin/pushary-notification-hook.js +27 -27
  35. package/dist/bin/pushary-opencode-bridge.js +22 -22
  36. package/dist/bin/pushary-opencode-hook.js +32 -32
  37. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  38. package/dist/bin/pushary-permission-hook.js +35 -35
  39. package/dist/bin/pushary-post-hook.js +28 -28
  40. package/dist/bin/pushary-prompt-hook.js +27 -27
  41. package/dist/bin/pushary-session-end-hook.js +27 -27
  42. package/dist/bin/pushary-session-start-hook.js +39 -39
  43. package/dist/bin/pushary-sessions.js +12 -12
  44. package/dist/bin/pushary-setup.js +325 -67
  45. package/dist/bin/pushary-stats.js +5 -5
  46. package/dist/bin/pushary-status.js +36 -36
  47. package/dist/bin/pushary-stop-hook.js +27 -27
  48. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  49. package/dist/bin/pushary-suggestions.js +16 -16
  50. package/dist/bin/pushary-transcript-register.js +17 -17
  51. package/dist/bin/pushary-transcripts.js +26 -26
  52. package/dist/bin/pushary-upgrade.js +47 -47
  53. package/dist/bin/pushary-wait.js +16 -16
  54. package/dist/bin/pushary.js +7 -7
  55. package/dist/{chunk-FCQ52N4E.js → chunk-2H63TCPL.js} +8 -8
  56. package/dist/{chunk-3B5FQ542.js → chunk-2MB3FZAJ.js} +2 -2
  57. package/dist/{chunk-KTJHZVCD.js → chunk-35IY2SPK.js} +3 -3
  58. package/dist/{chunk-6H3RBEHP.js → chunk-37RAJAPB.js} +1 -1
  59. package/dist/{chunk-MN6DXDJR.js → chunk-3SEH5JU3.js} +6 -6
  60. package/dist/{chunk-3QQY5USW.js → chunk-3W7UZY2B.js} +4 -4
  61. package/dist/{chunk-4QQ3HXGR.js → chunk-4CUOYT5O.js} +3 -3
  62. package/dist/{chunk-SFIYMKWT.js → chunk-4OHGEWKF.js} +5 -5
  63. package/dist/{chunk-XYRXKL3V.js → chunk-4OLECRWP.js} +1 -1
  64. package/dist/{chunk-3C2XMGXE.js → chunk-5JRALQKT.js} +3 -3
  65. package/dist/{chunk-HI3LOBT5.js → chunk-5PWGMOHP.js} +112 -48
  66. package/dist/{chunk-TMN7LKDC.js → chunk-6LF7EQIZ.js} +7 -7
  67. package/dist/{chunk-FEVQDABQ.js → chunk-74MBT2PL.js} +2 -2
  68. package/dist/{chunk-CSXA4HMV.js → chunk-7HKBGKLY.js} +2 -2
  69. package/dist/{chunk-H4364HR3.js → chunk-7TGJ6FPW.js} +5 -5
  70. package/dist/{chunk-3K2S4OW7.js → chunk-ABQRDSE5.js} +7 -6
  71. package/dist/{chunk-ELP65DFC.js → chunk-B6GCLODI.js} +1 -1
  72. package/dist/{chunk-MHZSIN5K.js → chunk-BX3VDXXW.js} +3 -3
  73. package/dist/{chunk-JF4VX754.js → chunk-CFIZWE37.js} +1 -1
  74. package/dist/{chunk-GPD4BB76.js → chunk-CG2YLNCB.js} +1 -1
  75. package/dist/{chunk-JF3ONE4H.js → chunk-D6O4XDS5.js} +2 -2
  76. package/dist/{chunk-BBZ3BBZC.js → chunk-DEZKBMHO.js} +4 -4
  77. package/dist/{chunk-GSB62GNT.js → chunk-DKFM2NSF.js} +4 -4
  78. package/dist/{chunk-H5TBR4BB.js → chunk-EZ4QXQNX.js} +5 -5
  79. package/dist/{chunk-OSDIFFSP.js → chunk-FIIRS53K.js} +3 -3
  80. package/dist/{chunk-Z7LAWFZ7.js → chunk-GNCOGELX.js} +1 -1
  81. package/dist/{chunk-ZPQPTIIY.js → chunk-GQGV7H6W.js} +2 -2
  82. package/dist/{chunk-WMCF6PR5.js → chunk-GS2SPPBB.js} +3 -3
  83. package/dist/{chunk-7B2DHU32.js → chunk-HAZ72WZD.js} +16 -16
  84. package/dist/{chunk-A2GO3G2I.js → chunk-HB4BB66C.js} +6 -6
  85. package/dist/{chunk-LDX3KQMJ.js → chunk-HR7UASHX.js} +2 -2
  86. package/dist/{chunk-2QUYUFYQ.js → chunk-HTDRJMP5.js} +4 -4
  87. package/dist/{chunk-OV2XD2UY.js → chunk-HY27YNME.js} +1 -1
  88. package/dist/{chunk-JYFMVOML.js → chunk-J2JGO6SS.js} +1 -1
  89. package/dist/{chunk-NDXTGRZG.js → chunk-J65WHWPK.js} +1 -1
  90. package/dist/{chunk-FUJZW3R5.js → chunk-JZ272QIY.js} +1 -1
  91. package/dist/{chunk-7XCL66ON.js → chunk-KVGQYML5.js} +2 -2
  92. package/dist/{chunk-VPG6QENY.js → chunk-LZYSSSF3.js} +10 -10
  93. package/dist/{chunk-TAXOI6AK.js → chunk-M45REXUU.js} +4 -4
  94. package/dist/{chunk-XGW4PJPO.js → chunk-NEQMXQZQ.js} +2 -2
  95. package/dist/{chunk-WY2UKKLD.js → chunk-NH4HBX7J.js} +1 -1
  96. package/dist/{chunk-WVJFHP75.js → chunk-NSUIUOE7.js} +1 -1
  97. package/dist/{chunk-TWACA7ER.js → chunk-NVJQHRM3.js} +9 -9
  98. package/dist/{chunk-JM6EAV42.js → chunk-O3UOI6ML.js} +5 -5
  99. package/dist/{chunk-M64A2Z2F.js → chunk-OGFKB66L.js} +1 -1
  100. package/dist/{chunk-JFXYGMV5.js → chunk-OHMC3ZFE.js} +4 -4
  101. package/dist/{chunk-FZN7TKSM.js → chunk-OSRHNYI6.js} +1 -1
  102. package/dist/{chunk-G5EKU4RB.js → chunk-P3JLLHOO.js} +3 -3
  103. package/dist/{chunk-5QLIXOVT.js → chunk-P4ZXHSJX.js} +1 -1
  104. package/dist/{chunk-HPFGXE6Y.js → chunk-PDIDI2JS.js} +6 -6
  105. package/dist/{chunk-Q5SVRCFU.js → chunk-QFP4D7BE.js} +1 -1
  106. package/dist/{chunk-JPKOYDQJ.js → chunk-QKX4J66I.js} +6 -6
  107. package/dist/{chunk-5DRTR5FC.js → chunk-QNM5EW76.js} +5 -5
  108. package/dist/{chunk-AA54OZM2.js → chunk-RHML34U3.js} +5 -5
  109. package/dist/{chunk-7MRK2WXT.js → chunk-RXFLVAIV.js} +2 -2
  110. package/dist/{chunk-HJSW3MH2.js → chunk-SPGDOHHJ.js} +2 -2
  111. package/dist/{chunk-HDD23XYP.js → chunk-SU3M242B.js} +11 -11
  112. package/dist/{chunk-FMWG4X3D.js → chunk-T5OA2WR7.js} +5 -5
  113. package/dist/{chunk-G5OTSL26.js → chunk-TBHZAZPR.js} +3 -3
  114. package/dist/{chunk-K6PBTBLO.js → chunk-TJJEYS3S.js} +4 -4
  115. package/dist/{chunk-Z5EWWGD2.js → chunk-TKTZBQIL.js} +5 -5
  116. package/dist/{chunk-ULDUDSTW.js → chunk-U33VHYHK.js} +24 -0
  117. package/dist/{chunk-URDT623B.js → chunk-UBPTE3MH.js} +1 -1
  118. package/dist/{chunk-X4G5G2ZN.js → chunk-UKHFRW5M.js} +2 -2
  119. package/dist/{chunk-UIBQDALO.js → chunk-UODLZ2D6.js} +3 -3
  120. package/dist/{chunk-4CEGJAEB.js → chunk-UY6AOWQU.js} +162 -21
  121. package/dist/{chunk-DW7ZQX7L.js → chunk-VQXWLHLD.js} +1 -1
  122. package/dist/{chunk-V4ZQBKI6.js → chunk-VRV7MD3W.js} +1 -1
  123. package/dist/{chunk-52PIW2SN.js → chunk-VSNFCUGH.js} +3 -3
  124. package/dist/{chunk-DN6HPGCI.js → chunk-W4F6RVN5.js} +5 -5
  125. package/dist/{chunk-E6IFBGZF.js → chunk-WFUWUWCT.js} +2 -2
  126. package/dist/{chunk-FKX7SWNT.js → chunk-X3SEEC4X.js} +7 -7
  127. package/dist/{chunk-MQSO2S3H.js → chunk-XEXFRZS7.js} +1 -1
  128. package/dist/{chunk-4UIVOCDT.js → chunk-XX3Z4KQL.js} +1 -1
  129. package/dist/{chunk-V7ULGI7U.js → chunk-XYOB4W72.js} +4 -4
  130. package/dist/{chunk-RV5LIW3K.js → chunk-Y4GEE5VA.js} +12 -12
  131. package/dist/{chunk-EINN22XV.js → chunk-YKTCIWKY.js} +2 -2
  132. package/dist/{chunk-LIYQSMYK.js → chunk-Z3XPHDVP.js} +4 -4
  133. package/dist/{chunk-BJRPBKE7.js → chunk-ZAKG5GGJ.js} +4 -4
  134. package/dist/{chunk-ICLT2KA5.js → chunk-ZQ5NCJVO.js} +1 -1
  135. package/dist/{chunk-TGM2WHUG.js → chunk-ZT4PSGTB.js} +2 -2
  136. package/dist/{codex-app-cards-switch-DBFQJU3Y.js → codex-app-cards-switch-CEWQAZD2.js} +11 -11
  137. package/dist/{codex-card-routing-TKG7LOP4.js → codex-card-routing-VRLWXQ4Z.js} +2 -2
  138. package/dist/{codex-desktop-launch-UXMYKS5C.js → codex-desktop-launch-EU5BXQFP.js} +3 -3
  139. package/dist/{codex-session-launch-5NOJKDWN.js → codex-session-launch-7PSWFAOC.js} +20 -20
  140. package/dist/{config-HHUSXJZE.js → config-UQOFNS26.js} +3 -3
  141. package/dist/{global-upgrade-J2NB62DV.js → global-upgrade-WO2MIUOJ.js} +9 -9
  142. package/dist/{identity-7O3ZBVUY.js → identity-7UK4G6K7.js} +4 -4
  143. package/dist/{live-capabilities-773SVQWH.js → live-capabilities-HRJBL4FO.js} +4 -4
  144. package/dist/{paths-VZXMX35O.js → paths-2FPNRZAX.js} +3 -3
  145. package/dist/{reapply-7MIBK2WB.js → reapply-GH4LWS25.js} +34 -34
  146. package/dist/src/index.js +33 -33
  147. package/dist/{upgrade-lock-WWTTPOIZ.js → upgrade-lock-CA25EHHB.js} +4 -4
  148. package/dist/{usage-PHTLHFL2.js → usage-23UD3UL7.js} +3 -3
  149. package/package.json +1 -1
@@ -1,11 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  withUpgradeLock
4
- } from "../chunk-HPFGXE6Y.js";
5
- import "../chunk-E6IFBGZF.js";
4
+ } from "../chunk-PDIDI2JS.js";
5
+ import "../chunk-WFUWUWCT.js";
6
6
  import {
7
- runBrowserLogin
8
- } from "../chunk-4CEGJAEB.js";
7
+ browserEntryUrl,
8
+ cancelLogin,
9
+ listenForThisTerminal,
10
+ localConfirmStateHash,
11
+ newLocalConfirmState,
12
+ pollOnce,
13
+ printLoginNotice,
14
+ runBrowserLogin,
15
+ startLogin,
16
+ waitForLogin
17
+ } from "../chunk-UY6AOWQU.js";
9
18
  import {
10
19
  INSTALL_NODE_STEP,
11
20
  NPM_FILE_IN_USE_STEP,
@@ -19,7 +28,7 @@ import {
19
28
  renderCommandSurface,
20
29
  teamOfferLines,
21
30
  unverifiedKeyClosingReason
22
- } from "../chunk-3K2S4OW7.js";
31
+ } from "../chunk-ABQRDSE5.js";
23
32
  import {
24
33
  WRONG_ACCOUNT_HINT,
25
34
  canAskAtTheTerminal,
@@ -42,29 +51,32 @@ import {
42
51
  someoneIsAtTheTerminal,
43
52
  switchBackToTheShellKeyLine,
44
53
  wrongAccountHintPlacement
45
- } from "../chunk-TAXOI6AK.js";
54
+ } from "../chunk-M45REXUU.js";
46
55
  import {
47
56
  instructionsChannelFor,
48
57
  pairingComputerOf,
49
58
  planPhoneCheck
50
- } from "../chunk-WY2UKKLD.js";
59
+ } from "../chunk-NH4HBX7J.js";
51
60
  import {
52
61
  coworkOutput,
53
62
  coworkSelection
54
- } from "../chunk-3C2XMGXE.js";
55
- import "../chunk-PUZZELE6.js";
63
+ } from "../chunk-5JRALQKT.js";
64
+ import {
65
+ canOpenBrowser,
66
+ openInBrowser
67
+ } from "../chunk-PUZZELE6.js";
56
68
  import {
57
69
  readCodexHooksOnDisk
58
- } from "../chunk-TWACA7ER.js";
70
+ } from "../chunk-NVJQHRM3.js";
59
71
  import {
60
72
  macAppHistoryDecision,
61
73
  nativeBridgeAccount
62
74
  } from "../chunk-TWWOQKXK.js";
63
- import "../chunk-LDX3KQMJ.js";
75
+ import "../chunk-HR7UASHX.js";
64
76
  import {
65
77
  clearDeclinedAgent,
66
78
  declinedAgentForSetupChoice
67
- } from "../chunk-EINN22XV.js";
79
+ } from "../chunk-YKTCIWKY.js";
68
80
  import {
69
81
  OPENCLAW_RESTART_NOTE,
70
82
  describeOpenClawInstallFailure,
@@ -72,7 +84,7 @@ import {
72
84
  gateHermesShell,
73
85
  readHermesShellGate,
74
86
  saveSetupFailure
75
- } from "../chunk-Z5EWWGD2.js";
87
+ } from "../chunk-TKTZBQIL.js";
76
88
  import {
77
89
  CODEX_NEEDS_A_NEWER_VERSION,
78
90
  CODEX_SETTINGS_STOP_A_HOOK,
@@ -88,28 +100,46 @@ import {
88
100
  describeHermesState,
89
101
  hermesGateShellCommand,
90
102
  needsCodexTrustStep
91
- } from "../chunk-3QQY5USW.js";
103
+ } from "../chunk-3W7UZY2B.js";
92
104
  import {
93
105
  describeWaitLadder
94
106
  } from "../chunk-CVWG2N3Y.js";
95
107
  import {
96
108
  writeJsonError,
97
109
  writeStdoutFully
98
- } from "../chunk-MQSO2S3H.js";
110
+ } from "../chunk-XEXFRZS7.js";
99
111
  import {
112
+ EXIT_ABORTED,
113
+ EXIT_TERMINATED,
114
+ PAIR_TIMEOUT_MS,
100
115
  PHONE_WAIT_SKIP_KEY,
116
+ SYSTEM_PAIR_CLOCK,
117
+ buildPairLinks,
101
118
  canShowPairingQr,
119
+ cancelPairing,
102
120
  confirmAppConnection,
103
121
  connectDevice,
104
122
  connectViaAppPairing,
105
123
  describeCancelledPairing,
124
+ describeCancelledSignIn,
125
+ describePairFailure,
106
126
  describePairingEscape,
127
+ describeSignInEscape,
128
+ heldUntilTheSignalExits,
129
+ keyLeftInPairing,
107
130
  pairingEscapeApplies,
108
131
  phoneAwaitsNotificationPermission,
132
+ phoneWaitWasSkipped,
133
+ pollAppPairing,
109
134
  printConnectInstructions,
135
+ printQr,
136
+ startPairing,
110
137
  waitForYourPhone
111
- } from "../chunk-HI3LOBT5.js";
112
- import "../chunk-3EGEA4KH.js";
138
+ } from "../chunk-5PWGMOHP.js";
139
+ import {
140
+ generateKeypair,
141
+ publicKeyFingerprint
142
+ } from "../chunk-3EGEA4KH.js";
113
143
  import {
114
144
  SETUP_AGENT_NAME,
115
145
  describeAnswerTestPrompt,
@@ -117,7 +147,7 @@ import {
117
147
  roundTripEvidence,
118
148
  roundTripWasAnswered,
119
149
  verifyRoundTrip
120
- } from "../chunk-MN6DXDJR.js";
150
+ } from "../chunk-3SEH5JU3.js";
121
151
  import {
122
152
  keepLinuxDaemonAfterLogout,
123
153
  lingerReportOf
@@ -125,13 +155,13 @@ import {
125
155
  import {
126
156
  readManagedControlEvidence,
127
157
  waitForMachineReadiness
128
- } from "../chunk-5DRTR5FC.js";
158
+ } from "../chunk-QNM5EW76.js";
129
159
  import {
130
160
  ensureCodexTrustsPusharyHooks,
131
161
  hermesHistoryHelperRecordPath,
132
162
  hermesHistoryNeedsTheCliHelper,
133
163
  recordInstalledHermesHistoryHelper
134
- } from "../chunk-KTJHZVCD.js";
164
+ } from "../chunk-35IY2SPK.js";
135
165
  import {
136
166
  scheduleWithTimer
137
167
  } from "../chunk-AVFPHV4N.js";
@@ -142,7 +172,7 @@ import {
142
172
  } from "../chunk-UOPOVQ2P.js";
143
173
  import {
144
174
  codexEngineBehindLauncher
145
- } from "../chunk-LIYQSMYK.js";
175
+ } from "../chunk-Z3XPHDVP.js";
146
176
  import "../chunk-XCEN33UP.js";
147
177
  import {
148
178
  CODEX_ENGINE_DIRECTORY,
@@ -159,7 +189,7 @@ import {
159
189
  soleGateLeftAloneFor,
160
190
  soleGateReceipt,
161
191
  soleGateReceiptFile
162
- } from "../chunk-BJRPBKE7.js";
192
+ } from "../chunk-ZAKG5GGJ.js";
163
193
  import {
164
194
  describeDetection,
165
195
  detectAllAgents,
@@ -169,12 +199,14 @@ import {
169
199
  registerPluginLocation,
170
200
  shortenHome,
171
201
  vscodeSettingsTargets
172
- } from "../chunk-JM6EAV42.js";
173
- import "../chunk-OYIN77HO.js";
202
+ } from "../chunk-O3UOI6ML.js";
203
+ import {
204
+ revokeOwnKey
205
+ } from "../chunk-OYIN77HO.js";
174
206
  import {
175
207
  mcpServerBearer,
176
208
  readMacAppAgentKey
177
- } from "../chunk-BBZ3BBZC.js";
209
+ } from "../chunk-DEZKBMHO.js";
178
210
  import {
179
211
  HERMES_CONFIG_FILE,
180
212
  HERMES_GATE_TOOLS_KEY,
@@ -193,7 +225,7 @@ import {
193
225
  routesHermesQuestions,
194
226
  runsAnOlderPlugin,
195
227
  shippedHermesPlugin
196
- } from "../chunk-2QUYUFYQ.js";
228
+ } from "../chunk-HTDRJMP5.js";
197
229
  import {
198
230
  setHumanStream
199
231
  } from "../chunk-QCGNGEGE.js";
@@ -201,7 +233,7 @@ import {
201
233
  findOpenClawLauncher,
202
234
  isOpenClawWired,
203
235
  openClawPathsNow
204
- } from "../chunk-4QQ3HXGR.js";
236
+ } from "../chunk-4CUOYT5O.js";
205
237
  import {
206
238
  FX_PICKS_UP_CONFIGURATION,
207
239
  FX_PUSHARY_TOOLS_RULE,
@@ -218,7 +250,7 @@ import {
218
250
  readFxProfileForSetup,
219
251
  withFxPusharyServer,
220
252
  writeFxProfile
221
- } from "../chunk-SFIYMKWT.js";
253
+ } from "../chunk-4OHGEWKF.js";
222
254
  import {
223
255
  AgentConfigError,
224
256
  afterAgentFailureNote,
@@ -231,10 +263,10 @@ import {
231
263
  retryAgentCommand,
232
264
  writeSetupConfigFile,
233
265
  writeSetupConfigJson
234
- } from "../chunk-MHZSIN5K.js";
266
+ } from "../chunk-BX3VDXXW.js";
235
267
  import {
236
268
  MCP_BRIDGE_BINARY
237
- } from "../chunk-GSB62GNT.js";
269
+ } from "../chunk-DKFM2NSF.js";
238
270
  import {
239
271
  OPENCODE_HOOK_BINARY,
240
272
  addOpenCodeMcpServer,
@@ -253,12 +285,12 @@ import {
253
285
  openCodePluginFile,
254
286
  openCodeWired,
255
287
  withOpenCodeAskRules
256
- } from "../chunk-FKX7SWNT.js";
257
- import "../chunk-GPD4BB76.js";
258
- import "../chunk-JYFMVOML.js";
288
+ } from "../chunk-X3SEEC4X.js";
289
+ import "../chunk-CG2YLNCB.js";
290
+ import "../chunk-J2JGO6SS.js";
259
291
  import {
260
292
  keyScopeOf
261
- } from "../chunk-ZPQPTIIY.js";
293
+ } from "../chunk-GQGV7H6W.js";
262
294
  import {
263
295
  ansiPainter,
264
296
  ciMarker,
@@ -267,7 +299,7 @@ import {
267
299
  describeError,
268
300
  isCI,
269
301
  useColor
270
- } from "../chunk-FZN7TKSM.js";
302
+ } from "../chunk-OSRHNYI6.js";
271
303
  import {
272
304
  checkCodexInstall,
273
305
  describeMissingControlPrerequisite,
@@ -280,16 +312,16 @@ import {
280
312
  nodeCodexInstallProbe,
281
313
  phoneStartIsRequired,
282
314
  resolveControlPolicy
283
- } from "../chunk-G5EKU4RB.js";
315
+ } from "../chunk-P3JLLHOO.js";
284
316
  import {
285
317
  detectClaudeVersion
286
- } from "../chunk-Q5SVRCFU.js";
318
+ } from "../chunk-QFP4D7BE.js";
287
319
  import "../chunk-TCE3J44Z.js";
288
320
  import {
289
321
  describeAutoUpdateAnnouncement,
290
322
  takeAutoUpdateAnnouncement
291
- } from "../chunk-JF3ONE4H.js";
292
- import "../chunk-UIBQDALO.js";
323
+ } from "../chunk-D6O4XDS5.js";
324
+ import "../chunk-UODLZ2D6.js";
293
325
  import "../chunk-WHB622LP.js";
294
326
  import {
295
327
  addCompatibleHooks,
@@ -304,7 +336,7 @@ import {
304
336
  compatibleRecord,
305
337
  compatibleTargetPaths,
306
338
  hasCompatibleHooks
307
- } from "../chunk-FMWG4X3D.js";
339
+ } from "../chunk-T5OA2WR7.js";
308
340
  import {
309
341
  DAEMON_COLD_START_TIMEOUT_MS,
310
342
  clearDaemonNeedsLogin,
@@ -323,7 +355,7 @@ import {
323
355
  stopDaemonService,
324
356
  versionManagerOf,
325
357
  waitForDaemonRemoteProof
326
- } from "../chunk-JPKOYDQJ.js";
358
+ } from "../chunk-QKX4J66I.js";
327
359
  import {
328
360
  GEMINI_HOOK_BINARY,
329
361
  GEMINI_HOOK_EVENTS,
@@ -339,38 +371,38 @@ import {
339
371
  geminiWired,
340
372
  planHooks,
341
373
  pusharyHookExecutable
342
- } from "../chunk-K6PBTBLO.js";
374
+ } from "../chunk-TJJEYS3S.js";
343
375
  import {
344
376
  reportEvent
345
- } from "../chunk-HDD23XYP.js";
346
- import "../chunk-WVJFHP75.js";
377
+ } from "../chunk-SU3M242B.js";
378
+ import "../chunk-NSUIUOE7.js";
347
379
  import {
348
380
  AGENT_CHOICES,
349
381
  effectiveAgentSelection,
350
382
  effectiveControlMode,
351
383
  effectiveVerify,
352
384
  parseSetupOptions
353
- } from "../chunk-Z7LAWFZ7.js";
354
- import "../chunk-5QLIXOVT.js";
385
+ } from "../chunk-GNCOGELX.js";
386
+ import "../chunk-P4ZXHSJX.js";
355
387
  import "../chunk-BZIBNSQE.js";
356
388
  import {
357
389
  transcriptPreferenceForSetup
358
- } from "../chunk-XYRXKL3V.js";
390
+ } from "../chunk-4OLECRWP.js";
359
391
  import "../chunk-P6DUWKAO.js";
360
392
  import "../chunk-3PSNUHC5.js";
361
- import "../chunk-A2GO3G2I.js";
362
- import "../chunk-M64A2Z2F.js";
393
+ import "../chunk-HB4BB66C.js";
394
+ import "../chunk-OGFKB66L.js";
363
395
  import "../chunk-POFBE6ZY.js";
364
- import "../chunk-H4364HR3.js";
365
- import "../chunk-NDXTGRZG.js";
366
- import "../chunk-4UIVOCDT.js";
396
+ import "../chunk-7TGJ6FPW.js";
397
+ import "../chunk-J65WHWPK.js";
398
+ import "../chunk-XX3Z4KQL.js";
367
399
  import {
368
400
  checkApiKey,
369
401
  describeKeyCheck,
370
402
  samePusharyAccount
371
- } from "../chunk-G5OTSL26.js";
372
- import "../chunk-OSDIFFSP.js";
373
- import "../chunk-OV2XD2UY.js";
403
+ } from "../chunk-TBHZAZPR.js";
404
+ import "../chunk-FIIRS53K.js";
405
+ import "../chunk-HY27YNME.js";
374
406
  import {
375
407
  KEY_FILE_MODE,
376
408
  installClaudeAlias,
@@ -385,8 +417,8 @@ import {
385
417
  resolveShellRc,
386
418
  shellKeyWasReplaced,
387
419
  writeKey
388
- } from "../chunk-WMCF6PR5.js";
389
- import "../chunk-X4G5G2ZN.js";
420
+ } from "../chunk-GS2SPPBB.js";
421
+ import "../chunk-UKHFRW5M.js";
390
422
  import {
391
423
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
392
424
  CLINE_AUTO_APPROVE_STEP,
@@ -448,7 +480,7 @@ import {
448
480
  vscodePluginDir,
449
481
  vscodePluginMcp,
450
482
  writeInstructionBlock
451
- } from "../chunk-FEVQDABQ.js";
483
+ } from "../chunk-74MBT2PL.js";
452
484
  import {
453
485
  compareVersion,
454
486
  parseVersion
@@ -470,11 +502,11 @@ import {
470
502
  runNpmInTerminal,
471
503
  setupNeedsGlobalInstall,
472
504
  setupWouldDowngrade
473
- } from "../chunk-JFXYGMV5.js";
505
+ } from "../chunk-OHMC3ZFE.js";
474
506
  import {
475
507
  getBaseUrl,
476
508
  readApiKey
477
- } from "../chunk-XGW4PJPO.js";
509
+ } from "../chunk-NEQMXQZQ.js";
478
510
  import {
479
511
  UsageError
480
512
  } from "../chunk-CINBAX5G.js";
@@ -486,7 +518,7 @@ import {
486
518
  NPX_LATEST_COMMAND,
487
519
  isInvocationOf,
488
520
  renderCommandHelp
489
- } from "../chunk-7MRK2WXT.js";
521
+ } from "../chunk-RXFLVAIV.js";
490
522
  import {
491
523
  EXIT
492
524
  } from "../chunk-BG4HHB7E.js";
@@ -509,13 +541,13 @@ import {
509
541
  isRecord,
510
542
  isTimeoutAction,
511
543
  isValidApiKey
512
- } from "../chunk-ULDUDSTW.js";
544
+ } from "../chunk-U33VHYHK.js";
513
545
  import "../chunk-MLKGABMK.js";
514
546
 
515
547
  // bin/pushary-setup.ts
516
548
  import { existsSync as existsSync2, readFileSync, writeFileSync, mkdirSync, cpSync, rmSync, renameSync, realpathSync, statSync, openSync, readSync, closeSync } from "fs";
517
549
  import { join as join5, dirname as dirname3, basename } from "path";
518
- import { homedir, hostname } from "os";
550
+ import { homedir, hostname as hostname2 } from "os";
519
551
  import { execSync } from "child_process";
520
552
  import { input, confirm } from "@inquirer/prompts";
521
553
  import { fileURLToPath } from "url";
@@ -895,6 +927,184 @@ var parseCodexEngineManifestVersion = (contents) => {
895
927
  };
896
928
  var parseEmbeddedCodexVersion = (haystack) => haystack.match(/cli_version(\d+\.\d+\.\d+)/)?.[1] ?? null;
897
929
 
930
+ // src/setup/sign-in.ts
931
+ import { hostname } from "os";
932
+ var SIGN_IN_ENTER_KEY = "\r";
933
+ var SIGN_IN_TIMEOUT_MINUTES = Math.ceil(PAIR_TIMEOUT_MS / 6e4);
934
+ var SIGN_IN_CANCELLED_LINE = "Cancelled. Nothing was written.";
935
+ var SIGN_IN_STOPPED_LINE = "Stopped before you signed in. The sign-in code was cancelled.";
936
+ var SIGN_IN_KEEPS_RUNNING_LINE = `This keeps running until you sign in, for up to ${SIGN_IN_TIMEOUT_MINUTES} minutes. Keep it running.`;
937
+ var PHONE_DENIED_REASON = "denied";
938
+ var appWaitGaveUp = (poll) => poll.kind === "timeout" || poll.kind === "unreachable" || poll.kind === "decrypt";
939
+ var describeStartFailure = (started) => {
940
+ if (started.kind === "rate-limited") return `too many attempts, retry in ${started.retryAfterSeconds}s`;
941
+ if (started.kind === "unavailable") return started.detail;
942
+ return "pairing could not start";
943
+ };
944
+ var fingerprintLine = (ui, fingerprint, browser, app) => {
945
+ const where = browser && app ? "The page and the app show" : browser ? "The page shows" : "The app shows";
946
+ return ` ${ui.dim(`${where} ${fingerprint}. Check it matches.`)}`;
947
+ };
948
+ var revokeKeyThatArrivedLate = async (apiKey) => {
949
+ await revokeOwnKey(apiKey, getBaseUrl()).catch(() => {
950
+ });
951
+ };
952
+ var lateKeyOf = (finished) => {
953
+ if (finished === null) return null;
954
+ if (finished.via === "browser") return finished.report.state.kind === "authorized" ? finished.report.state.apiKey : null;
955
+ return finished.poll.kind === "paired" ? finished.poll.apiKey : null;
956
+ };
957
+ var signedIn = (outcome) => outcome.kind === "browser" || outcome.kind === "app";
958
+ var settledLoser = (loser) => loser ?? Promise.resolve(null);
959
+ var releaseLoginLeftOver = async (login, loser, deps) => {
960
+ const lateKey = lateKeyOf(await settledLoser(loser));
961
+ if (lateKey !== null) return revokeKeyThatArrivedLate(lateKey);
962
+ await cancelLogin(login, deps);
963
+ const left = await pollOnce(login, deps);
964
+ if (left.kind === "authorized") await revokeKeyThatArrivedLate(left.apiKey);
965
+ };
966
+ var releasePairingLeftOver = async (pairing, keypair, loser) => {
967
+ const lateKey = lateKeyOf(await settledLoser(loser)) ?? await keyLeftInPairing(pairing.pairId, keypair);
968
+ if (lateKey !== null) await revokeKeyThatArrivedLate(lateKey);
969
+ await cancelPairing(pairing.pairId);
970
+ };
971
+ var printSignInScreen = async (screen) => {
972
+ const { ui, login, pairing } = screen;
973
+ ui.say("");
974
+ ui.say(` ${ui.bold("Sign in to Pushary")}`);
975
+ ui.say("");
976
+ if (login !== null) {
977
+ if (screen.offersEnter) ui.say(" Press Enter to sign in with your browser.");
978
+ ui.say(` ${screen.offersEnter ? "Or go to" : "Go to"} ${ui.cyan(login.verificationUrl)} on any device and enter ${ui.bold(login.userCode)}`);
979
+ }
980
+ if (pairing !== null) {
981
+ const links = buildPairLinks(pairing.pairId, screen.keypair.publicKeyB64, void 0, pairing.code);
982
+ ui.say("");
983
+ ui.say(login === null ? " Scan this with your phone's camera or the Pushary app." : " Have the Pushary app? Scan this with your phone instead.");
984
+ await printQr(links.qrLink);
985
+ ui.say(` ${ui.dim("Or open on your phone:")} ${ui.cyan(links.universalLink)}`);
986
+ }
987
+ ui.say(fingerprintLine(ui, publicKeyFingerprint(screen.keypair.publicKeyB64), login !== null, pairing !== null));
988
+ ui.say("");
989
+ ui.say(` ${ui.dim(screen.offersEnter ? "Waiting for you to sign in. Ctrl-C to stop." : SIGN_IN_KEEPS_RUNNING_LINE)}`);
990
+ };
991
+ var signInForSetup = async (ui, options, deps = {}) => {
992
+ const keypair = generateKeypair();
993
+ const clock = deps.clock ?? SYSTEM_PAIR_CLOCK;
994
+ const requestedAt = clock.now();
995
+ const showQr = deps.showQr ?? canShowPairingQr();
996
+ const loginDeps = deps.login ?? {};
997
+ const browserCanOpen = deps.browserAvailable ?? canOpenBrowser();
998
+ const enterKey = browserCanOpen ? deps.enter === void 0 ? singleKeyListener(SIGN_IN_ENTER_KEY) : deps.enter : null;
999
+ const localState = newLocalConfirmState();
1000
+ const [started, pairing] = await Promise.all([
1001
+ startLogin(hostname(), options.cliVersion, loginDeps, {
1002
+ command: "setup",
1003
+ keypair,
1004
+ ...enterKey === null ? {} : { localConfirmStateHash: localConfirmStateHash(localState) }
1005
+ }),
1006
+ showQr ? startPairing(keypair.publicKeyB64, options.computer) : Promise.resolve(null)
1007
+ ]);
1008
+ const login = started.kind === "ok" ? started.start : null;
1009
+ if (login === null && pairing === null) return { kind: "unavailable", detail: describeStartFailure(started) };
1010
+ const browserAvailable = login !== null && browserCanOpen;
1011
+ const enter = login === null ? null : enterKey;
1012
+ const listener = login !== null && enter !== null ? await listenForThisTerminal(login, localState, loginDeps) : null;
1013
+ const openBrowser = deps.openBrowser ?? openInBrowser;
1014
+ const controller = new AbortController();
1015
+ const bothWaysStopped = new Promise((resolve) => controller.signal.addEventListener("abort", () => resolve(), { once: true }));
1016
+ const appClock = { now: clock.now, sleep: (ms) => Promise.race([clock.sleep(ms), bothWaysStopped]) };
1017
+ let appStopped = false;
1018
+ let interruptedWith = null;
1019
+ let releaseEnter = () => {
1020
+ };
1021
+ let enterReleased = false;
1022
+ const stopEnter = () => {
1023
+ if (enterReleased) return;
1024
+ enterReleased = true;
1025
+ releaseEnter();
1026
+ };
1027
+ const stopBothWays = () => {
1028
+ controller.abort();
1029
+ appStopped = true;
1030
+ stopEnter();
1031
+ listener?.close();
1032
+ };
1033
+ const cancelBothWays = () => Promise.allSettled([
1034
+ login === null ? null : cancelLogin(login, loginDeps),
1035
+ pairing === null ? null : cancelPairing(pairing.pairId)
1036
+ ]);
1037
+ const cancelOnSignal = (exitCode) => () => {
1038
+ if (interruptedWith !== null) return;
1039
+ interruptedWith = exitCode;
1040
+ stopBothWays();
1041
+ ui.say("");
1042
+ ui.say(` ${ui.yellow("!")} ${exitCode === EXIT_TERMINATED ? SIGN_IN_STOPPED_LINE : SIGN_IN_CANCELLED_LINE}`);
1043
+ const flushed = options.onCancelled(exitCode);
1044
+ void Promise.allSettled([Promise.resolve(flushed), cancelBothWays()]).finally(() => process.exit(exitCode));
1045
+ };
1046
+ const onInterrupt = cancelOnSignal(EXIT_ABORTED);
1047
+ const onTerminate = cancelOnSignal(EXIT_TERMINATED);
1048
+ process.once("SIGINT", onInterrupt);
1049
+ process.once("SIGTERM", onTerminate);
1050
+ try {
1051
+ await printSignInScreen({ ui, login, pairing, keypair, offersEnter: enter !== null });
1052
+ if (interruptedWith !== null) return heldUntilTheSignalExits();
1053
+ const openTheBrowser = () => {
1054
+ if (login === null) return;
1055
+ if (openBrowser(browserEntryUrl(login, listener))) ui.say(` ${ui.dim("Opened your browser.")}`);
1056
+ else ui.say(` ${ui.yellow("!")} Couldn't open a browser. Go to ${ui.cyan(login.verificationUrl)} and enter ${ui.bold(login.userCode)}`);
1057
+ };
1058
+ if (enter !== null && !enterReleased) releaseEnter = enter(openTheBrowser);
1059
+ const pending = /* @__PURE__ */ new Map();
1060
+ if (login !== null) {
1061
+ const notice = (state) => printLoginNotice(ui, state, browserAvailable);
1062
+ pending.set("browser", waitForLogin(login, { signal: controller.signal, onNotice: notice }, loginDeps).then((report) => ({ via: "browser", report })));
1063
+ }
1064
+ if (pairing !== null) {
1065
+ const deadline = requestedAt + PAIR_TIMEOUT_MS;
1066
+ pending.set("app", pollAppPairing({ pairId: pairing.pairId, keypair, deadline, clock: appClock, stopped: () => appStopped }).then((poll) => ({ via: "app", poll })));
1067
+ }
1068
+ const finishWith = async (outcome) => {
1069
+ stopBothWays();
1070
+ const released = Promise.allSettled([
1071
+ login !== null && outcome.kind !== "browser" ? releaseLoginLeftOver(login, pending.get("browser"), loginDeps) : null,
1072
+ pairing !== null && outcome.kind !== "app" ? releasePairingLeftOver(pairing, keypair, pending.get("app")) : null
1073
+ ]);
1074
+ if (!signedIn(outcome)) await released;
1075
+ if (interruptedWith !== null) return heldUntilTheSignalExits();
1076
+ return outcome;
1077
+ };
1078
+ while (pending.size > 0) {
1079
+ const finished = await Promise.race(pending.values());
1080
+ if (interruptedWith !== null) return heldUntilTheSignalExits();
1081
+ pending.delete(finished.via);
1082
+ if (finished.via === "browser") {
1083
+ const state = finished.report.state;
1084
+ if (state.kind === "authorized") return await finishWith({ kind: "browser", apiKey: state.apiKey, siteSlug: state.siteSlug });
1085
+ if (state.kind === "rejected") return await finishWith({ kind: "rejected" });
1086
+ continue;
1087
+ }
1088
+ const poll = finished.poll;
1089
+ if (poll.kind === "paired") return await finishWith({ kind: "app", apiKey: poll.apiKey, handle: poll.handle ?? null });
1090
+ if (poll.kind === "failed" && (poll.reason === PHONE_DENIED_REASON || !pending.has("browser"))) {
1091
+ return await finishWith({ kind: "app_stopped", detail: describePairFailure(poll.reason, "setup") });
1092
+ }
1093
+ if (poll.kind === "failed" && pending.has("browser")) {
1094
+ ui.say(` ${ui.yellow("!")} ${describePairFailure(poll.reason, "setup")}`);
1095
+ ui.say(` ${ui.dim("You can still sign in with your browser.")}`);
1096
+ }
1097
+ if (pairing !== null && appWaitGaveUp(poll)) void cancelPairing(pairing.pairId);
1098
+ }
1099
+ return await finishWith({ kind: "expired" });
1100
+ } finally {
1101
+ stopEnter();
1102
+ listener?.close();
1103
+ process.off("SIGINT", onInterrupt);
1104
+ process.off("SIGTERM", onTerminate);
1105
+ }
1106
+ };
1107
+
898
1108
  // src/setup/telemetry.ts
899
1109
  import { randomUUID } from "crypto";
900
1110
  var roundTripOutcome = (outcome) => {
@@ -2666,6 +2876,11 @@ var verifyKeyOrExit = async (apiKey, options, precomputed) => {
2666
2876
  }
2667
2877
  return result;
2668
2878
  };
2879
+ var describeSignInStop = (stop) => {
2880
+ if (stop.kind === "app_stopped") return stop.detail;
2881
+ if (stop.kind === "expired") return "The sign-in code expired before it was used. Nothing was written.";
2882
+ return `Couldn't start sign-in ${dim(`(${stop.detail})`)}. Check your connection. Nothing was written.`;
2883
+ };
2669
2884
  var printPairingEscape = (lines) => {
2670
2885
  console.log();
2671
2886
  for (const line of lines) console.log(line === "" ? "" : ` ${line}`);
@@ -3052,11 +3267,51 @@ var main = async () => {
3052
3267
  reportDryRun(null, plannedAgents, null, controlMode);
3053
3268
  await emitJson(options, { ok: true, dryRun: true, agents: plannedAgents, control: controlMode, keyCheck: "skipped", key: "none" });
3054
3269
  return;
3270
+ } else if (connectMode === "app" && canPairWithApp && !options.connectExplicit) {
3271
+ if (reuseDeclined) console.log();
3272
+ markStep("sign-in");
3273
+ const previous = readKeyInForce();
3274
+ const signedIn2 = await signInForSetup(
3275
+ { say: (line) => console.log(line), bold, dim, cyan, yellow },
3276
+ {
3277
+ cliVersion: version,
3278
+ computer: pairingComputerOf(hostname2(), process.platform, detectedAgentChoices()),
3279
+ onCancelled: async (exitCode2) => {
3280
+ printPairingEscape(describeCancelledSignIn(exitCode2));
3281
+ await reportSetupAbort("pairing-cancelled", exitCode2);
3282
+ }
3283
+ }
3284
+ );
3285
+ if (signedIn2.kind === "rejected") {
3286
+ console.log();
3287
+ console.log(` ${yellow("!")} That request was rejected in the browser. Nothing was written.`);
3288
+ console.log();
3289
+ process.exit(await abortWith("login-rejected", EXIT.NOT_CONFIGURED));
3290
+ }
3291
+ if (signedIn2.kind === "app_stopped" || signedIn2.kind === "expired" || signedIn2.kind === "unavailable") {
3292
+ console.log();
3293
+ console.log(` ${yellow("!")} ${describeSignInStop(signedIn2)}`);
3294
+ printPairingEscape(describeSignInEscape());
3295
+ process.exit(await abortWith("pairing-failed", EXIT.NOT_CONFIGURED));
3296
+ }
3297
+ trimmedKey = signedIn2.apiKey;
3298
+ keyOrigin = "created_by_this_cli";
3299
+ keyFromPairing = signedIn2.kind === "app";
3300
+ pairedHandle = signedIn2.kind === "app" && signedIn2.handle ? `@${signedIn2.handle}` : null;
3301
+ console.log();
3302
+ if (signedIn2.kind === "browser") console.log(` ${check} Signed in${signedIn2.siteSlug ? ` ${dim(`(${signedIn2.siteSlug})`)}` : ""}`);
3303
+ if (signedIn2.kind === "app") console.log(` ${check} Your phone approved this computer`);
3304
+ if (pairedHandle) console.log(` ${check} Connected to ${cyan(pairedHandle)}`);
3305
+ const previousKeyLeftActive = describePreviousKeyLeftActive(previous.key, trimmedKey);
3306
+ if (previousKeyLeftActive !== null) {
3307
+ console.log(` ${yellow("!")} ${previousKeyLeftActive}`);
3308
+ console.log(` ${dim("Revoke it at")} ${cyan("pushary.com/dashboard/agent/settings")} ${dim("if nothing else uses it.")}`);
3309
+ }
3055
3310
  } else if (connectMode === "app" && canPairWithApp) {
3056
3311
  if (reuseDeclined) console.log();
3057
3312
  markStep("pair");
3058
3313
  const previous = readKeyInForce();
3059
- const computer = pairingComputerOf(hostname(), process.platform, detectedAgentChoices());
3314
+ const computer = pairingComputerOf(hostname2(), process.platform, detectedAgentChoices());
3060
3315
  const paired = await connectViaAppPairing({
3061
3316
  computer,
3062
3317
  command: "setup",
@@ -3101,7 +3356,7 @@ var main = async () => {
3101
3356
  markStep("browser-login");
3102
3357
  const outcome = await runBrowserLogin(
3103
3358
  { say: (line) => console.log(line), bold, dim, cyan, yellow },
3104
- { cliVersion: version }
3359
+ { cliVersion: version, command: "setup" }
3105
3360
  );
3106
3361
  if (outcome.kind === "ok") {
3107
3362
  trimmedKey = outcome.apiKey;
@@ -3361,6 +3616,8 @@ var main = async () => {
3361
3616
  phone = await connectDevice(trimmedKey, { showCapabilities: !options.connectExplicit });
3362
3617
  break;
3363
3618
  }
3619
+ const phoneSkippedAtTheTerminal = phoneWaitWasSkipped(phone);
3620
+ if (phoneSkippedAtTheTerminal) phone = null;
3364
3621
  let roundTrip = null;
3365
3622
  if (verifyMode === "roundtrip" && keyCheck.kind === "ok" && !skipPhone && // Reaching nobody is already reported by the delivery check above, in copy
3366
3623
  // that names the fix. Asking a question nobody can receive would repeat it
@@ -3390,7 +3647,7 @@ var main = async () => {
3390
3647
  const report = describeRoundTripOutcome(roundTrip, { appPlatforms, keyScope });
3391
3648
  if (!report.ok) console.log(` ${yellow("!")} ${report.message}`);
3392
3649
  for (const line of report.next) console.log(` ${dim(line)}`);
3393
- } else if (verifyMode === "roundtrip" && keyCheck.kind === "ok") {
3650
+ } else if (verifyMode === "roundtrip" && keyCheck.kind === "ok" && !phoneSkippedAtTheTerminal) {
3394
3651
  console.log();
3395
3652
  console.log(` ${dim("Skipped the round trip: nothing is connected that could answer it.")}`);
3396
3653
  }
@@ -3570,7 +3827,8 @@ var main = async () => {
3570
3827
  roundTripAnswer: roundTripAnswerOf(roundTrip),
3571
3828
  appPlatforms: phone?.appPlatforms,
3572
3829
  codexApprovals,
3573
- phoneAwaitsNotifications: phone !== null && phoneAwaitsNotificationPermission(phone)
3830
+ phoneAwaitsNotifications: phone !== null && phoneAwaitsNotificationPermission(phone),
3831
+ phoneSkippedAtTheTerminal
3574
3832
  });
3575
3833
  console.log(` ${closing.ok ? green(bold(closing.headline)) : yellow(bold(closing.headline))}`);
3576
3834
  if (failures.length > 0) {