pushary 1.9.183 → 1.9.185

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 (107) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{api-UDDZRXXB.js → api-BRYBSBZK.js} +7 -7
  3. package/dist/bin/pushary-bell-hook.js +15 -15
  4. package/dist/bin/pushary-bell.js +3 -3
  5. package/dist/bin/pushary-calls.js +16 -14
  6. package/dist/bin/pushary-claude.js +14 -14
  7. package/dist/bin/pushary-clean.js +25 -25
  8. package/dist/bin/pushary-codex-bridge.js +11 -11
  9. package/dist/bin/pushary-codex-hook.js +21 -21
  10. package/dist/bin/pushary-codex-session.js +6 -6
  11. package/dist/bin/pushary-codex.js +8 -8
  12. package/dist/bin/pushary-connect.js +19 -19
  13. package/dist/bin/pushary-daemon.js +30 -30
  14. package/dist/bin/pushary-disconnect.js +17 -17
  15. package/dist/bin/pushary-doctor.js +30 -30
  16. package/dist/bin/pushary-elicitation-hook.js +16 -16
  17. package/dist/bin/pushary-gemini-bridge.js +6 -6
  18. package/dist/bin/pushary-gemini-hook.js +19 -19
  19. package/dist/bin/pushary-hook.js +21 -21
  20. package/dist/bin/pushary-login.js +11 -11
  21. package/dist/bin/pushary-logout.js +15 -15
  22. package/dist/bin/pushary-mcp.js +8 -8
  23. package/dist/bin/pushary-mode.js +7 -7
  24. package/dist/bin/pushary-notification-hook.js +15 -15
  25. package/dist/bin/pushary-opencode-bridge.js +6 -6
  26. package/dist/bin/pushary-opencode-hook.js +19 -19
  27. package/dist/bin/pushary-permission-denied-hook.js +21 -21
  28. package/dist/bin/pushary-permission-hook.js +21 -21
  29. package/dist/bin/pushary-post-hook.js +16 -16
  30. package/dist/bin/pushary-prompt-hook.js +15 -15
  31. package/dist/bin/pushary-session-end-hook.js +15 -15
  32. package/dist/bin/pushary-session-start-hook.js +25 -25
  33. package/dist/bin/pushary-sessions.js +6 -6
  34. package/dist/bin/pushary-setup.js +37 -37
  35. package/dist/bin/pushary-status.js +20 -20
  36. package/dist/bin/pushary-stop-hook.js +15 -15
  37. package/dist/bin/pushary-stopfailure-hook.js +15 -15
  38. package/dist/bin/pushary-suggestions.js +7 -7
  39. package/dist/bin/pushary-transcript-register.js +7 -7
  40. package/dist/bin/pushary-transcripts.js +14 -14
  41. package/dist/bin/pushary-upgrade.js +40 -33
  42. package/dist/bin/pushary-wait.js +7 -7
  43. package/dist/bin/pushary.js +4 -4
  44. package/dist/{chunk-JQCAB544.js → chunk-24F6XTB3.js} +1 -1
  45. package/dist/{chunk-255TJOUT.js → chunk-2M5CQWRP.js} +3 -3
  46. package/dist/{chunk-K2H2XC52.js → chunk-37XU75VG.js} +3 -3
  47. package/dist/{chunk-JBAFH5Q2.js → chunk-3TXESHDA.js} +1 -1
  48. package/dist/{chunk-QZNC5XOW.js → chunk-55JWYWJV.js} +3 -3
  49. package/dist/{chunk-7X4HQKXS.js → chunk-5AF6JBCS.js} +5 -5
  50. package/dist/{chunk-OJWADO7D.js → chunk-5BCZSBRC.js} +24 -5
  51. package/dist/{chunk-IIW2LAPX.js → chunk-65LJ5GGF.js} +2 -2
  52. package/dist/{chunk-4AYH5NHM.js → chunk-756EI4Q3.js} +3 -3
  53. package/dist/{chunk-PXU2YJ7B.js → chunk-APQZ3KX2.js} +3 -3
  54. package/dist/{chunk-LD3JUA77.js → chunk-AQSGAKFY.js} +7 -7
  55. package/dist/{chunk-5ZGWUKIO.js → chunk-B4VU5JT6.js} +2 -2
  56. package/dist/{chunk-3OG5JIOA.js → chunk-BMANIZY7.js} +4 -4
  57. package/dist/{chunk-W4N2JHFT.js → chunk-BPZQVEPM.js} +1 -1
  58. package/dist/{chunk-4XNQOTVR.js → chunk-EGFBATFH.js} +2 -2
  59. package/dist/{chunk-IVE22EJV.js → chunk-F6TCNSGN.js} +9 -9
  60. package/dist/{chunk-PEIQT6KC.js → chunk-FMU7EE4Z.js} +1 -1
  61. package/dist/{chunk-R2PK26FR.js → chunk-FO5DHJSL.js} +1 -1
  62. package/dist/{chunk-VWZCVHJG.js → chunk-GU5FAWFF.js} +1 -1
  63. package/dist/{chunk-E3XXZPPH.js → chunk-HIHKYDIN.js} +3 -3
  64. package/dist/{chunk-AG3BUNOK.js → chunk-HME7GJ6U.js} +2 -2
  65. package/dist/{chunk-5BR74QQL.js → chunk-HMP72ZHV.js} +3 -3
  66. package/dist/{chunk-FZDPZVRU.js → chunk-HVX3JGGX.js} +3 -3
  67. package/dist/{chunk-5Q3KXXT3.js → chunk-IDWNJ4DV.js} +31 -33
  68. package/dist/{chunk-CGTJIB2V.js → chunk-JDDP7JOT.js} +3 -3
  69. package/dist/{chunk-O4IYGRNI.js → chunk-JF4RHZLF.js} +1 -1
  70. package/dist/{chunk-AC6Q7DEQ.js → chunk-JTNEB67J.js} +4 -4
  71. package/dist/{chunk-RE3TYSP7.js → chunk-L6NERUNF.js} +1 -1
  72. package/dist/{chunk-KFAYDRWP.js → chunk-LG4A3CWJ.js} +1 -1
  73. package/dist/{chunk-K4IMFKPP.js → chunk-LH5MUJNB.js} +2 -2
  74. package/dist/{chunk-SNKG7NMV.js → chunk-M5FGY54M.js} +2 -2
  75. package/dist/{chunk-LX37P6WT.js → chunk-MM7DRYKU.js} +2 -2
  76. package/dist/{chunk-SFP3J5I5.js → chunk-N7R5I2FE.js} +11 -11
  77. package/dist/{chunk-OTY6O2LK.js → chunk-NAWYRZE5.js} +1 -1
  78. package/dist/{chunk-YH6QFABF.js → chunk-NYHSZQ52.js} +3 -3
  79. package/dist/{chunk-MLFPZDKD.js → chunk-OJ7YBDPF.js} +3 -3
  80. package/dist/{chunk-CHG3NBBJ.js → chunk-OLKEMRJS.js} +1 -1
  81. package/dist/{chunk-2WYCG2EN.js → chunk-QLJGGIIC.js} +4 -4
  82. package/dist/{chunk-N7EBHNYA.js → chunk-R5VJTCXK.js} +2 -2
  83. package/dist/{chunk-G6GI7VCT.js → chunk-S7MFDG4I.js} +2 -2
  84. package/dist/{chunk-DU5AEFVJ.js → chunk-SIGAIBOE.js} +1 -1
  85. package/dist/{chunk-VKZPDU25.js → chunk-SJRLILZR.js} +3 -3
  86. package/dist/{chunk-IMGGR66U.js → chunk-TMXWZ523.js} +2 -2
  87. package/dist/{chunk-YZPKM7SP.js → chunk-ULF4UJR4.js} +4 -4
  88. package/dist/{chunk-J5GK6IVD.js → chunk-VAFNZO3R.js} +3 -3
  89. package/dist/{chunk-E3TGXTDU.js → chunk-VD5V6F7F.js} +1 -1
  90. package/dist/{chunk-ITLAO546.js → chunk-W5FLGEYD.js} +1 -1
  91. package/dist/{chunk-JJNBX3SP.js → chunk-WNWAEFXM.js} +1 -1
  92. package/dist/{chunk-YQMNDBJD.js → chunk-WSMOSC7V.js} +2 -2
  93. package/dist/{chunk-RFAHLKZ6.js → chunk-Y5GMVVCF.js} +2 -2
  94. package/dist/{chunk-VTWMIYBM.js → chunk-ZIFSPYWB.js} +3 -3
  95. package/dist/{chunk-FR6YVSPK.js → chunk-ZJG4C46N.js} +3 -3
  96. package/dist/{chunk-HPSSY25E.js → chunk-ZZDJSFRO.js} +2 -2
  97. package/dist/{codex-app-cards-switch-B3FSCCCU.js → codex-app-cards-switch-NYYOAVLZ.js} +6 -6
  98. package/dist/{codex-desktop-launch-U3PPGTWK.js → codex-desktop-launch-OGZO6ZJG.js} +1 -1
  99. package/dist/{codex-session-launch-ZIXKXKTB.js → codex-session-launch-DOWFJZA4.js} +11 -11
  100. package/dist/{global-upgrade-4FLQ53HE.js → global-upgrade-T4R5NZLD.js} +7 -7
  101. package/dist/{identity-7H3PMMPS.js → identity-OJIHTE3W.js} +3 -3
  102. package/dist/{live-capabilities-YENLFDYL.js → live-capabilities-LRILVMMZ.js} +3 -3
  103. package/dist/{paths-PEFZYPII.js → paths-KHADVAWP.js} +2 -2
  104. package/dist/{reapply-EOOEZXUJ.js → reapply-6EIHGVRL.js} +20 -20
  105. package/dist/src/index.js +21 -21
  106. package/dist/{upgrade-lock-L5QYJEGO.js → upgrade-lock-UISWFQ3X.js} +3 -3
  107. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.185
4
+
5
+ - `pushary upgrade` now works when your npm holds back new releases (`min-release-age` or `before` in your npm config). It installs the newest release your npm allows, the same choice the daily automatic update makes, and names the newer release that is still waiting. Before, it tried the newest published release, npm refused it, and the command ended with "Upgrade failed: notarget No matching version found" and no next step.
6
+ - When your npm allows nothing newer than the release you have, the command installs nothing and exits without an error. It prints "Already on the newest version your npm allows", the release that is waiting, and to run `npx pushary@latest upgrade` again later. An earlier upgrade that was installed but not finished is still finished in that run.
7
+ - This matters most on Linux, where automatic updates are paused and `npx pushary@latest upgrade` is the way to update.
8
+ - To choose the release, `pushary upgrade` asks npm once which release it would pick for the `latest` tag, with `npm pack --global --dry-run`. It runs only when a newer release is published. With no release-age setting the command installs the same release as before.
9
+
10
+ ## 1.9.184
11
+
12
+ - `pushary calls on`: when changing your number or turning calls on is refused because agent keys already made too many of those changes today, the CLI now says so and that you can make the change in the Pushary app or the dashboard. Before, it said you had used today's test calls.
13
+ - `pushary calls on` on a plan without phone calls now says "Phone calls need an active Agent, Agent Pro or Team plan.", as the phone app does. Before, it named only Agent and Agent Pro.
14
+
3
15
  ## 1.9.183
4
16
 
5
17
  - A session in a git worktree you made yourself, or one a tool such as Conductor made, is named after the worktree's folder again, as before 1.9.173, so parallel worktrees of one repository can be told apart on your phone. Only Claude Code's own worktrees, in `.claude/worktrees`, keep the repository's name, such as the `bridge-cse_...` folders of sessions started from claude.ai.
@@ -28,15 +28,15 @@ import {
28
28
  waitRetryPauseMs,
29
29
  waitsForThePhone,
30
30
  withdrawQuestion
31
- } from "./chunk-VKZPDU25.js";
31
+ } from "./chunk-SJRLILZR.js";
32
32
  import "./chunk-POFBE6ZY.js";
33
- import "./chunk-N7EBHNYA.js";
33
+ import "./chunk-R5VJTCXK.js";
34
34
  import "./chunk-BRFHSICQ.js";
35
- import "./chunk-RE3TYSP7.js";
36
- import "./chunk-KFAYDRWP.js";
37
- import "./chunk-OTY6O2LK.js";
38
- import "./chunk-O4IYGRNI.js";
39
- import "./chunk-OJWADO7D.js";
35
+ import "./chunk-L6NERUNF.js";
36
+ import "./chunk-LG4A3CWJ.js";
37
+ import "./chunk-NAWYRZE5.js";
38
+ import "./chunk-JF4RHZLF.js";
39
+ import "./chunk-5BCZSBRC.js";
40
40
  import "./chunk-O4IWURQP.js";
41
41
  import "./chunk-CINBAX5G.js";
42
42
  import "./chunk-PM2NRK6Y.js";
@@ -4,35 +4,35 @@ import {
4
4
  } from "../chunk-J4LUUYXH.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-3OG5JIOA.js";
8
- import "../chunk-255TJOUT.js";
9
- import "../chunk-E3XXZPPH.js";
7
+ } from "../chunk-BMANIZY7.js";
8
+ import "../chunk-2M5CQWRP.js";
9
+ import "../chunk-HIHKYDIN.js";
10
10
  import "../chunk-WHB622LP.js";
11
- import "../chunk-PXU2YJ7B.js";
12
- import "../chunk-J5GK6IVD.js";
13
- import "../chunk-YQMNDBJD.js";
14
- import "../chunk-7X4HQKXS.js";
11
+ import "../chunk-APQZ3KX2.js";
12
+ import "../chunk-VAFNZO3R.js";
13
+ import "../chunk-WSMOSC7V.js";
14
+ import "../chunk-5AF6JBCS.js";
15
15
  import "../chunk-LRA423VV.js";
16
16
  import "../chunk-PTV6A5SZ.js";
17
- import "../chunk-VWZCVHJG.js";
17
+ import "../chunk-GU5FAWFF.js";
18
18
  import "../chunk-BZIBNSQE.js";
19
19
  import "../chunk-B4K5OVOE.js";
20
20
  import "../chunk-55L4JSPA.js";
21
21
  import "../chunk-TC5H6AI3.js";
22
22
  import "../chunk-VRNGMRJA.js";
23
- import "../chunk-VKZPDU25.js";
23
+ import "../chunk-SJRLILZR.js";
24
24
  import "../chunk-R4TTSINC.js";
25
25
  import "../chunk-POFBE6ZY.js";
26
- import "../chunk-N7EBHNYA.js";
26
+ import "../chunk-R5VJTCXK.js";
27
27
  import "../chunk-BRFHSICQ.js";
28
28
  import "../chunk-FUEREMLD.js";
29
- import "../chunk-RE3TYSP7.js";
30
- import "../chunk-KFAYDRWP.js";
31
- import "../chunk-OTY6O2LK.js";
29
+ import "../chunk-L6NERUNF.js";
30
+ import "../chunk-LG4A3CWJ.js";
31
+ import "../chunk-NAWYRZE5.js";
32
32
  import "../chunk-5LRVMXIZ.js";
33
33
  import "../chunk-2C5DS3GU.js";
34
- import "../chunk-O4IYGRNI.js";
35
- import "../chunk-OJWADO7D.js";
34
+ import "../chunk-JF4RHZLF.js";
35
+ import "../chunk-5BCZSBRC.js";
36
36
  import "../chunk-O4IWURQP.js";
37
37
  import "../chunk-CINBAX5G.js";
38
38
  import "../chunk-PM2NRK6Y.js";
@@ -16,7 +16,7 @@ import {
16
16
  addBellHooks,
17
17
  bellInstalled,
18
18
  removeBellHooks
19
- } from "../chunk-VWZCVHJG.js";
19
+ } from "../chunk-GU5FAWFF.js";
20
20
  import {
21
21
  parseFlags
22
22
  } from "../chunk-BZIBNSQE.js";
@@ -25,8 +25,8 @@ import "../chunk-5LRVMXIZ.js";
25
25
  import "../chunk-2C5DS3GU.js";
26
26
  import {
27
27
  claudeSettings
28
- } from "../chunk-O4IYGRNI.js";
29
- import "../chunk-OJWADO7D.js";
28
+ } from "../chunk-JF4RHZLF.js";
29
+ import "../chunk-5BCZSBRC.js";
30
30
  import "../chunk-O4IWURQP.js";
31
31
  import "../chunk-CINBAX5G.js";
32
32
  import {
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  exitOnFailedResponse
4
- } from "../chunk-IIW2LAPX.js";
4
+ } from "../chunk-65LJ5GGF.js";
5
5
  import "../chunk-ME4RYRDR.js";
6
- import "../chunk-ITLAO546.js";
6
+ import "../chunk-W5FLGEYD.js";
7
7
  import {
8
8
  createIo
9
9
  } from "../chunk-CVJ6H2VK.js";
@@ -13,15 +13,15 @@ import {
13
13
  import {
14
14
  parseFlags
15
15
  } from "../chunk-BZIBNSQE.js";
16
- import "../chunk-RE3TYSP7.js";
16
+ import "../chunk-L6NERUNF.js";
17
17
  import {
18
18
  pusharyFetch
19
- } from "../chunk-KFAYDRWP.js";
20
- import "../chunk-OTY6O2LK.js";
19
+ } from "../chunk-LG4A3CWJ.js";
20
+ import "../chunk-NAWYRZE5.js";
21
21
  import "../chunk-5LRVMXIZ.js";
22
22
  import "../chunk-2C5DS3GU.js";
23
- import "../chunk-O4IYGRNI.js";
24
- import "../chunk-OJWADO7D.js";
23
+ import "../chunk-JF4RHZLF.js";
24
+ import "../chunk-5BCZSBRC.js";
25
25
  import {
26
26
  getApiKey,
27
27
  getBaseUrl
@@ -81,7 +81,7 @@ var SETUP_ERROR_LINES = {
81
81
  daily_test_limit: "You used today's test calls. Try again tomorrow.",
82
82
  number_test_limit: "This number had too many test calls. Try again tomorrow.",
83
83
  no_minutes: "You have no call minutes left this month.",
84
- not_entitled: "Your plan has no phone calls. Agent and Agent Pro include call minutes.",
84
+ not_entitled: "Phone calls need an active Agent, Agent Pro or Team plan.",
85
85
  daily_limit: "You reached today's call limit.",
86
86
  busy: "A call to you is already running. Try again in a minute.",
87
87
  provider_failed: "The call could not be placed. Try again in a minute.",
@@ -115,6 +115,8 @@ var NUMBER_FLAG_NEEDED = "Add your mobile number with --number, since nobody is
115
115
  var TEST_CALL_TIMED_OUT_LINE = "No result yet. Run pushary calls in a minute to see if the number is confirmed.";
116
116
  var settingsPageOf = (baseUrl) => `${baseUrl}${PHONE_CALL_SETTINGS_PAGE}`;
117
117
  var errorLineOf = (error, phoneRejection) => error === "phone_rejected" && phoneRejection !== void 0 ? PHONE_REJECTION_LINES[phoneRejection] : SETUP_ERROR_LINES[error];
118
+ var KEY_CHANGES_USED_UP_LINE = "Agent keys changed your call number or turned calls on too many times today. Try again tomorrow, or make the change in the Pushary app or the dashboard.";
119
+ var settingsChangeErrorLineOf = (error, phoneRejection) => error === "daily_test_limit" ? KEY_CHANGES_USED_UP_LINE : errorLineOf(error, phoneRejection);
118
120
  var hourOf = (hour) => `${String(hour).padStart(2, "0")}:00`;
119
121
  var minutesOf = (seconds) => {
120
122
  const minutes = Math.round(seconds / 60);
@@ -172,8 +174,8 @@ var answeredReply = async (client, answer) => {
172
174
  if (answer.kind === "unreadable") throw new CallsRefused(unreadableReplyLineOf(answer.status));
173
175
  return answer.reply;
174
176
  };
175
- var acceptedStatus = (reply) => {
176
- if (!reply.ok) throw new CallsRefused(errorLineOf(reply.error, reply.phoneRejection));
177
+ var acceptedStatus = (reply, refusalLineOf = errorLineOf) => {
178
+ if (!reply.ok) throw new CallsRefused(refusalLineOf(reply.error, reply.phoneRejection));
177
179
  return reply;
178
180
  };
179
181
  var currentStatus = async (client) => acceptedStatus(await answeredReply(client, await readPhoneCallSetup(client))).status;
@@ -201,8 +203,8 @@ var saveNumber = async (client, status, options) => {
201
203
  io.line(` ${io.check()} Saved ${reply.status.number ?? phone}`);
202
204
  return reply.status;
203
205
  }
204
- if (!options.interactive || options.number !== void 0 || reply.error !== "phone_rejected") throw new CallsRefused(errorLineOf(reply.error, reply.phoneRejection));
205
- io.warn(errorLineOf(reply.error, reply.phoneRejection));
206
+ if (!options.interactive || options.number !== void 0 || reply.error !== "phone_rejected") throw new CallsRefused(settingsChangeErrorLineOf(reply.error, reply.phoneRejection));
207
+ io.warn(settingsChangeErrorLineOf(reply.error, reply.phoneRejection));
206
208
  }
207
209
  };
208
210
  var pause = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
@@ -250,13 +252,13 @@ var turnCallsOn = async (client, options) => {
250
252
  io.line(" Calls stay off.");
251
253
  return;
252
254
  }
253
- const on = acceptedStatus(await change(client, { action: "enabled", enabled: true, consented: true })).status;
255
+ const on = acceptedStatus(await change(client, { action: "enabled", enabled: true, consented: true }), settingsChangeErrorLineOf).status;
254
256
  io.line(` ${io.check()} ${callsOnLine(on)}`);
255
257
  io.line(` ${io.dim(`Turn them off: pushary calls off. Change the rules: ${settingsPageOf(client.baseUrl)}`)}`);
256
258
  io.line();
257
259
  };
258
260
  var turnCallsOff = async (client) => {
259
- acceptedStatus(await change(client, { action: "enabled", enabled: false, consented: false }));
261
+ acceptedStatus(await change(client, { action: "enabled", enabled: false, consented: false }), settingsChangeErrorLineOf);
260
262
  io.line(` ${io.check()} Calls are off. Turn them back on: pushary calls on`);
261
263
  };
262
264
  var main = async () => {
@@ -12,24 +12,24 @@ import {
12
12
  describeIdleWindow,
13
13
  startProcessOwnership,
14
14
  withSpawnProcessOwnership
15
- } from "../chunk-JBAFH5Q2.js";
15
+ } from "../chunk-3TXESHDA.js";
16
16
  import "../chunk-TCE3J44Z.js";
17
17
  import {
18
18
  announceSubscriptionRequired,
19
19
  isDeferAnswer
20
- } from "../chunk-DU5AEFVJ.js";
20
+ } from "../chunk-SIGAIBOE.js";
21
21
  import {
22
22
  claudeTranscriptPath,
23
23
  redactDraft,
24
24
  registerTranscript,
25
25
  registeredTranscriptEnabled,
26
26
  startDraftPublisher
27
- } from "../chunk-E3XXZPPH.js";
27
+ } from "../chunk-HIHKYDIN.js";
28
28
  import "../chunk-WHB622LP.js";
29
29
  import {
30
30
  ensureDaemonRunning
31
- } from "../chunk-J5GK6IVD.js";
32
- import "../chunk-YQMNDBJD.js";
31
+ } from "../chunk-VAFNZO3R.js";
32
+ import "../chunk-WSMOSC7V.js";
33
33
  import {
34
34
  DEFAULT_SESSION,
35
35
  PHONE_DRIVER,
@@ -44,7 +44,7 @@ import {
44
44
  removePendingCommand,
45
45
  reportEvent,
46
46
  savePendingCommand
47
- } from "../chunk-7X4HQKXS.js";
47
+ } from "../chunk-5AF6JBCS.js";
48
48
  import {
49
49
  UNNAMED_ACTION,
50
50
  deriveToolTarget,
@@ -53,7 +53,7 @@ import {
53
53
  scopePathFor
54
54
  } from "../chunk-LRA423VV.js";
55
55
  import "../chunk-PTV6A5SZ.js";
56
- import "../chunk-VWZCVHJG.js";
56
+ import "../chunk-GU5FAWFF.js";
57
57
  import "../chunk-BZIBNSQE.js";
58
58
  import "../chunk-B4K5OVOE.js";
59
59
  import {
@@ -79,7 +79,7 @@ import {
79
79
  waitRetryPauseMs,
80
80
  waitsForThePhone,
81
81
  withdrawQuestion
82
- } from "../chunk-VKZPDU25.js";
82
+ } from "../chunk-SJRLILZR.js";
83
83
  import {
84
84
  RETRY_ACK,
85
85
  commandAckIsFinal,
@@ -89,24 +89,24 @@ import {
89
89
  import "../chunk-POFBE6ZY.js";
90
90
  import {
91
91
  SubscriptionRequiredError
92
- } from "../chunk-N7EBHNYA.js";
92
+ } from "../chunk-R5VJTCXK.js";
93
93
  import "../chunk-BRFHSICQ.js";
94
94
  import {
95
95
  projectNameFor,
96
96
  repoKeyFor,
97
97
  repositoryScopeFor
98
98
  } from "../chunk-FUEREMLD.js";
99
- import "../chunk-RE3TYSP7.js";
100
- import "../chunk-KFAYDRWP.js";
99
+ import "../chunk-L6NERUNF.js";
100
+ import "../chunk-LG4A3CWJ.js";
101
101
  import {
102
102
  getMachineId
103
- } from "../chunk-OTY6O2LK.js";
103
+ } from "../chunk-NAWYRZE5.js";
104
104
  import "../chunk-5LRVMXIZ.js";
105
105
  import "../chunk-2C5DS3GU.js";
106
106
  import {
107
107
  claudeConfigDir
108
- } from "../chunk-O4IYGRNI.js";
109
- import "../chunk-OJWADO7D.js";
108
+ } from "../chunk-JF4RHZLF.js";
109
+ import "../chunk-5BCZSBRC.js";
110
110
  import {
111
111
  getApiKey,
112
112
  getBaseUrl
@@ -15,31 +15,31 @@ import {
15
15
  storedMacAppState,
16
16
  storedPusharyKeychainServices,
17
17
  waitForMacAppExit
18
- } from "../chunk-LX37P6WT.js";
18
+ } from "../chunk-MM7DRYKU.js";
19
19
  import {
20
20
  PUSHARY_SKILL_NAME,
21
21
  PUSHARY_SKILL_SOURCE,
22
22
  createGuards
23
23
  } from "../chunk-UOPOVQ2P.js";
24
- import "../chunk-5ZGWUKIO.js";
24
+ import "../chunk-B4VU5JT6.js";
25
25
  import "../chunk-XCEN33UP.js";
26
26
  import {
27
27
  describeCliKeyRevocation,
28
28
  planCliKeyRevocations,
29
29
  readCliHeldKeys,
30
30
  revokeCliKeys
31
- } from "../chunk-FZDPZVRU.js";
31
+ } from "../chunk-HVX3JGGX.js";
32
32
  import "../chunk-U4P4NDVB.js";
33
33
  import {
34
34
  isCursorPluginLeftover,
35
35
  releaseSoleGate,
36
36
  withoutPusharyCursorHooks
37
- } from "../chunk-4AYH5NHM.js";
37
+ } from "../chunk-756EI4Q3.js";
38
38
  import {
39
39
  shortenHome,
40
40
  unregisterPluginLocation,
41
41
  vscodeSettingsTargets
42
- } from "../chunk-2WYCG2EN.js";
42
+ } from "../chunk-QLJGGIIC.js";
43
43
  import "../chunk-OYIN77HO.js";
44
44
  import {
45
45
  configFileHoldsMacAppKey,
@@ -48,7 +48,7 @@ import {
48
48
  pusharyKey,
49
49
  readMacAppAgentKey,
50
50
  setupReceiptKey
51
- } from "../chunk-G6GI7VCT.js";
51
+ } from "../chunk-S7MFDG4I.js";
52
52
  import {
53
53
  HERMES_CONFIG_FILE,
54
54
  defaultHermesHome,
@@ -57,18 +57,18 @@ import {
57
57
  openClawRemovalLeavesThePluginInstalled,
58
58
  removeHermesWiring,
59
59
  removeOpenClawPlugin
60
- } from "../chunk-VTWMIYBM.js";
60
+ } from "../chunk-ZIFSPYWB.js";
61
61
  import "../chunk-QCGNGEGE.js";
62
62
  import {
63
63
  OPENCLAW_PLUGIN_PACKAGE
64
- } from "../chunk-4XNQOTVR.js";
64
+ } from "../chunk-EGFBATFH.js";
65
65
  import {
66
66
  planClineRemoval,
67
67
  planFxRemoval,
68
68
  removeClineServer
69
- } from "../chunk-AC6Q7DEQ.js";
70
- import "../chunk-JQCAB544.js";
71
- import "../chunk-JJNBX3SP.js";
69
+ } from "../chunk-JTNEB67J.js";
70
+ import "../chunk-24F6XTB3.js";
71
+ import "../chunk-WNWAEFXM.js";
72
72
  import {
73
73
  OPENCODE_ASKED_PERMISSIONS,
74
74
  hasForeignPlugins,
@@ -79,7 +79,7 @@ import {
79
79
  openCodePluginDir,
80
80
  openCodePluginFile,
81
81
  removeOpenCodeMcpServer
82
- } from "../chunk-5BR74QQL.js";
82
+ } from "../chunk-HMP72ZHV.js";
83
83
  import {
84
84
  isOpenCodePluginOurs
85
85
  } from "../chunk-LSR6SAV7.js";
@@ -87,7 +87,7 @@ import {
87
87
  OPENCODE_PLUGIN_SIBLING,
88
88
  OPENCODE_PLUGIN_SIBLING_CONTENTS
89
89
  } from "../chunk-VT4JY2AI.js";
90
- import "../chunk-ITLAO546.js";
90
+ import "../chunk-W5FLGEYD.js";
91
91
  import {
92
92
  ansiPainter,
93
93
  useColor
@@ -107,34 +107,34 @@ import {
107
107
  removeCompatibleHooks,
108
108
  removeCompatibleMcpServer,
109
109
  serializeConfigDocument
110
- } from "../chunk-PXU2YJ7B.js";
110
+ } from "../chunk-APQZ3KX2.js";
111
111
  import {
112
112
  disableDaemonService
113
- } from "../chunk-J5GK6IVD.js";
113
+ } from "../chunk-VAFNZO3R.js";
114
114
  import {
115
115
  hookOwnerOf,
116
116
  isHookTakeoverReceipt,
117
117
  removeGeminiSettings,
118
118
  restoreHookTakeover,
119
119
  restoreMcpServer
120
- } from "../chunk-YQMNDBJD.js";
121
- import "../chunk-7X4HQKXS.js";
120
+ } from "../chunk-WSMOSC7V.js";
121
+ import "../chunk-5AF6JBCS.js";
122
122
  import "../chunk-LRA423VV.js";
123
123
  import "../chunk-PTV6A5SZ.js";
124
- import "../chunk-VWZCVHJG.js";
124
+ import "../chunk-GU5FAWFF.js";
125
125
  import {
126
126
  parseFlags
127
127
  } from "../chunk-BZIBNSQE.js";
128
128
  import "../chunk-VRNGMRJA.js";
129
- import "../chunk-VKZPDU25.js";
129
+ import "../chunk-SJRLILZR.js";
130
130
  import "../chunk-R4TTSINC.js";
131
131
  import "../chunk-POFBE6ZY.js";
132
- import "../chunk-N7EBHNYA.js";
132
+ import "../chunk-R5VJTCXK.js";
133
133
  import "../chunk-BRFHSICQ.js";
134
134
  import "../chunk-FUEREMLD.js";
135
- import "../chunk-RE3TYSP7.js";
136
- import "../chunk-KFAYDRWP.js";
137
- import "../chunk-OTY6O2LK.js";
135
+ import "../chunk-L6NERUNF.js";
136
+ import "../chunk-LG4A3CWJ.js";
137
+ import "../chunk-NAWYRZE5.js";
138
138
  import {
139
139
  CANDIDATE_RCS,
140
140
  exportedKeyFiles,
@@ -188,14 +188,14 @@ import {
188
188
  restoreCodexHookTrust,
189
189
  vscodePluginDir,
190
190
  vscodePluginMcp
191
- } from "../chunk-O4IYGRNI.js";
191
+ } from "../chunk-JF4RHZLF.js";
192
192
  import {
193
193
  cleanNpmEnv,
194
194
  globalPackageState,
195
195
  npmIsOnPath,
196
196
  readGlobalFolder,
197
197
  readGlobalPrefix
198
- } from "../chunk-OJWADO7D.js";
198
+ } from "../chunk-5BCZSBRC.js";
199
199
  import {
200
200
  getBaseUrl
201
201
  } from "../chunk-O4IWURQP.js";
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCodexBridge
4
- } from "../chunk-CGTJIB2V.js";
4
+ } from "../chunk-JDDP7JOT.js";
5
5
  import "../chunk-ULYZX6VZ.js";
6
6
  import {
7
7
  resolveProviderBinary
8
- } from "../chunk-AG3BUNOK.js";
9
- import "../chunk-PEIQT6KC.js";
8
+ } from "../chunk-HME7GJ6U.js";
9
+ import "../chunk-FMU7EE4Z.js";
10
10
  import "../chunk-AFH5LR76.js";
11
11
  import {
12
12
  withSpawnProcessOwnership
13
- } from "../chunk-JBAFH5Q2.js";
13
+ } from "../chunk-3TXESHDA.js";
14
14
  import "../chunk-TCE3J44Z.js";
15
15
  import "../chunk-B4K5OVOE.js";
16
16
  import "../chunk-55L4JSPA.js";
@@ -18,21 +18,21 @@ import {
18
18
  transcriptsEnabled
19
19
  } from "../chunk-TC5H6AI3.js";
20
20
  import "../chunk-VRNGMRJA.js";
21
- import "../chunk-VKZPDU25.js";
21
+ import "../chunk-SJRLILZR.js";
22
22
  import "../chunk-R4TTSINC.js";
23
23
  import "../chunk-POFBE6ZY.js";
24
- import "../chunk-N7EBHNYA.js";
24
+ import "../chunk-R5VJTCXK.js";
25
25
  import "../chunk-BRFHSICQ.js";
26
26
  import "../chunk-FUEREMLD.js";
27
- import "../chunk-RE3TYSP7.js";
28
- import "../chunk-KFAYDRWP.js";
27
+ import "../chunk-L6NERUNF.js";
28
+ import "../chunk-LG4A3CWJ.js";
29
29
  import {
30
30
  getMachineId
31
- } from "../chunk-OTY6O2LK.js";
31
+ } from "../chunk-NAWYRZE5.js";
32
32
  import "../chunk-5LRVMXIZ.js";
33
33
  import "../chunk-2C5DS3GU.js";
34
- import "../chunk-O4IYGRNI.js";
35
- import "../chunk-OJWADO7D.js";
34
+ import "../chunk-JF4RHZLF.js";
35
+ import "../chunk-5BCZSBRC.js";
36
36
  import {
37
37
  getApiKey,
38
38
  getBaseUrl
@@ -6,36 +6,36 @@ import {
6
6
  parseCodexHookInput,
7
7
  pushQuestionAndWait,
8
8
  scopeQuestionOf
9
- } from "../chunk-SNKG7NMV.js";
9
+ } from "../chunk-M5FGY54M.js";
10
10
  import {
11
11
  defersToNativeMode
12
12
  } from "../chunk-4XQN44EO.js";
13
13
  import {
14
14
  askAgentQuestions
15
- } from "../chunk-YZPKM7SP.js";
15
+ } from "../chunk-ULF4UJR4.js";
16
16
  import {
17
17
  reportMachineDenial
18
- } from "../chunk-W4N2JHFT.js";
18
+ } from "../chunk-BPZQVEPM.js";
19
19
  import {
20
20
  isGatingMoment,
21
21
  recordKeylessMoment
22
22
  } from "../chunk-VD3Q2A5J.js";
23
23
  import {
24
24
  triggerAutoUpdate
25
- } from "../chunk-R2PK26FR.js";
25
+ } from "../chunk-FO5DHJSL.js";
26
26
  import {
27
27
  readHookInput
28
- } from "../chunk-3OG5JIOA.js";
29
- import "../chunk-255TJOUT.js";
28
+ } from "../chunk-BMANIZY7.js";
29
+ import "../chunk-2M5CQWRP.js";
30
30
  import {
31
31
  announceSubscriptionRequired,
32
32
  isDeferAnswer
33
- } from "../chunk-DU5AEFVJ.js";
34
- import "../chunk-E3XXZPPH.js";
33
+ } from "../chunk-SIGAIBOE.js";
34
+ import "../chunk-HIHKYDIN.js";
35
35
  import "../chunk-WHB622LP.js";
36
- import "../chunk-PXU2YJ7B.js";
37
- import "../chunk-J5GK6IVD.js";
38
- import "../chunk-YQMNDBJD.js";
36
+ import "../chunk-APQZ3KX2.js";
37
+ import "../chunk-VAFNZO3R.js";
38
+ import "../chunk-WSMOSC7V.js";
39
39
  import {
40
40
  CODEX_AGENT,
41
41
  DEFAULT_SESSION,
@@ -71,7 +71,7 @@ import {
71
71
  toPolicyLookups,
72
72
  userScope,
73
73
  withdrawLeftOpenQuestions
74
- } from "../chunk-7X4HQKXS.js";
74
+ } from "../chunk-5AF6JBCS.js";
75
75
  import {
76
76
  codexReviewerDenialsSince,
77
77
  deriveActionBody,
@@ -86,7 +86,7 @@ import {
86
86
  sessionIdentityOf
87
87
  } from "../chunk-LRA423VV.js";
88
88
  import "../chunk-PTV6A5SZ.js";
89
- import "../chunk-VWZCVHJG.js";
89
+ import "../chunk-GU5FAWFF.js";
90
90
  import "../chunk-BZIBNSQE.js";
91
91
  import "../chunk-B4K5OVOE.js";
92
92
  import "../chunk-55L4JSPA.js";
@@ -106,12 +106,12 @@ import {
106
106
  sendNotification,
107
107
  sleepUnlessAborted,
108
108
  withdrawQuestion
109
- } from "../chunk-VKZPDU25.js";
109
+ } from "../chunk-SJRLILZR.js";
110
110
  import "../chunk-R4TTSINC.js";
111
111
  import "../chunk-POFBE6ZY.js";
112
112
  import {
113
113
  SubscriptionRequiredError
114
- } from "../chunk-N7EBHNYA.js";
114
+ } from "../chunk-R5VJTCXK.js";
115
115
  import {
116
116
  fetchAsCredential
117
117
  } from "../chunk-BRFHSICQ.js";
@@ -120,17 +120,17 @@ import {
120
120
  repoKeyFor,
121
121
  repositoryScopeFor
122
122
  } from "../chunk-FUEREMLD.js";
123
- import "../chunk-RE3TYSP7.js";
124
- import "../chunk-KFAYDRWP.js";
123
+ import "../chunk-L6NERUNF.js";
124
+ import "../chunk-LG4A3CWJ.js";
125
125
  import {
126
126
  getMachineId
127
- } from "../chunk-OTY6O2LK.js";
127
+ } from "../chunk-NAWYRZE5.js";
128
128
  import "../chunk-5LRVMXIZ.js";
129
129
  import "../chunk-2C5DS3GU.js";
130
130
  import {
131
131
  canonicalJson
132
- } from "../chunk-O4IYGRNI.js";
133
- import "../chunk-OJWADO7D.js";
132
+ } from "../chunk-JF4RHZLF.js";
133
+ import "../chunk-5BCZSBRC.js";
134
134
  import {
135
135
  getApiKey,
136
136
  getBaseUrl
@@ -1053,7 +1053,7 @@ var decidePreToolUse = async (input) => {
1053
1053
  };
1054
1054
  var repairCodexHoldsQuietly = async () => {
1055
1055
  try {
1056
- const { repairCodexHolds } = await import("../reapply-EOOEZXUJ.js");
1056
+ const { repairCodexHolds } = await import("../reapply-6EIHGVRL.js");
1057
1057
  repairCodexHolds();
1058
1058
  } catch {
1059
1059
  return;
@@ -9,7 +9,7 @@ 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
11
  if (args[0] !== "--desktop-proxy") (await import("../usage-SKO6G5XJ.js")).exitOnHelpFlag("codex");
12
- var loadWhatReadsTheAccount = () => Promise.all([import("../config-4JVYJ27G.js"), import("../identity-7H3PMMPS.js")]);
12
+ var loadWhatReadsTheAccount = () => Promise.all([import("../config-4JVYJ27G.js"), import("../identity-OJIHTE3W.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-U3PPGTWK.js").catch(() => null);
22
+ var desktopLaunch = await import("../codex-desktop-launch-OGZO6ZJG.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-U3PPGTWK.js");
30
+ const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-OGZO6ZJG.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
35
  import("../config-4JVYJ27G.js"),
36
- import("../identity-7H3PMMPS.js"),
37
- import("../live-capabilities-YENLFDYL.js"),
38
- import("../codex-session-launch-ZIXKXKTB.js")
36
+ import("../identity-OJIHTE3W.js"),
37
+ import("../live-capabilities-LRILVMMZ.js"),
38
+ import("../codex-session-launch-DOWFJZA4.js")
39
39
  ]);
40
40
  const binary = resolveProviderBinary("codex");
41
41
  if (!binary) throw new Error("Install Codex first, then run pushary codex");