pushary 1.9.71 → 1.9.73

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 (127) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{api-HEIRLMTZ.js → api-JVWXPKEW.js} +10 -10
  3. package/dist/bin/pushary-bell-hook.js +25 -25
  4. package/dist/bin/pushary-bell.js +10 -10
  5. package/dist/bin/pushary-claude.js +202 -67
  6. package/dist/bin/pushary-clean.js +33 -33
  7. package/dist/bin/pushary-codex-bridge.js +23 -21
  8. package/dist/bin/pushary-codex-hook.js +30 -30
  9. package/dist/bin/pushary-codex-session.js +8 -8
  10. package/dist/bin/pushary-codex.js +13 -13
  11. package/dist/bin/pushary-connect.js +26 -26
  12. package/dist/bin/pushary-cowork.js +5 -5
  13. package/dist/bin/pushary-daemon.js +38 -38
  14. package/dist/bin/pushary-disconnect.js +25 -25
  15. package/dist/bin/pushary-doctor.js +41 -41
  16. package/dist/bin/pushary-elicitation-hook.js +25 -25
  17. package/dist/bin/pushary-gemini-bridge.js +45 -48
  18. package/dist/bin/pushary-gemini-hook.js +27 -27
  19. package/dist/bin/pushary-hook.js +29 -29
  20. package/dist/bin/pushary-login.js +20 -20
  21. package/dist/bin/pushary-logout.js +24 -24
  22. package/dist/bin/pushary-mcp.js +11 -11
  23. package/dist/bin/pushary-mode.js +15 -15
  24. package/dist/bin/pushary-notification-hook.js +24 -24
  25. package/dist/bin/pushary-opencode-hook.js +26 -26
  26. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  27. package/dist/bin/pushary-permission-hook.js +29 -29
  28. package/dist/bin/pushary-post-hook.js +24 -24
  29. package/dist/bin/pushary-prompt-hook.js +24 -24
  30. package/dist/bin/pushary-session-end-hook.js +26 -26
  31. package/dist/bin/pushary-session-start-hook.js +34 -34
  32. package/dist/bin/pushary-setup.js +47 -46
  33. package/dist/bin/pushary-stats.js +5 -5
  34. package/dist/bin/pushary-status.js +31 -31
  35. package/dist/bin/pushary-stop-hook.js +24 -24
  36. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  37. package/dist/bin/pushary-suggestions.js +15 -15
  38. package/dist/bin/pushary-transcript-register.js +16 -16
  39. package/dist/bin/pushary-transcripts.js +20 -19
  40. package/dist/bin/pushary-upgrade.js +39 -39
  41. package/dist/bin/pushary-wait.js +15 -15
  42. package/dist/bin/pushary.js +7 -7
  43. package/dist/{chunk-EVJRITSI.js → chunk-2HFC4W6J.js} +1 -1
  44. package/dist/{chunk-4QPF4BGP.js → chunk-2JFEMKDG.js} +6 -6
  45. package/dist/{chunk-KGZH5RTB.js → chunk-2NG3ANMT.js} +6 -6
  46. package/dist/{chunk-JMACQEPU.js → chunk-2QB7HJVJ.js} +2 -2
  47. package/dist/{chunk-XJMUEOXT.js → chunk-3JJI5O5N.js} +1 -1
  48. package/dist/{chunk-BZ7XGS5L.js → chunk-3QBKMSOZ.js} +1 -1
  49. package/dist/{chunk-AN26S5DC.js → chunk-3RAWW5DH.js} +6 -6
  50. package/dist/{chunk-J7BLYQ7Z.js → chunk-4LAD5A2Q.js} +4 -4
  51. package/dist/{chunk-VSQDVH43.js → chunk-4UIR25GA.js} +1 -1
  52. package/dist/{chunk-AUOVB62W.js → chunk-56GK65Z6.js} +3 -3
  53. package/dist/{chunk-AERRQEWZ.js → chunk-7FROPPIH.js} +2 -2
  54. package/dist/{chunk-GIE7PLZD.js → chunk-7M4AA7QF.js} +4 -4
  55. package/dist/{chunk-SWQTCKLM.js → chunk-7RX5TOU3.js} +6 -6
  56. package/dist/{chunk-SMIU5URV.js → chunk-7S46LCKD.js} +2 -2
  57. package/dist/{chunk-IYMYGKFB.js → chunk-AC5TVOAH.js} +10 -11
  58. package/dist/{chunk-5NQ3SMVP.js → chunk-AJWGZJFS.js} +122 -35
  59. package/dist/{chunk-JGEPODEP.js → chunk-AVHL2ZTS.js} +85 -3
  60. package/dist/{chunk-3CN2EFKK.js → chunk-AXZ67XVN.js} +1 -1
  61. package/dist/{chunk-MZ6GL46A.js → chunk-BLX6KRK5.js} +1 -1
  62. package/dist/{chunk-ZBPBX656.js → chunk-CGWUVEOB.js} +3 -3
  63. package/dist/{chunk-YG3NFC5N.js → chunk-CMYFV3VC.js} +5 -5
  64. package/dist/{chunk-C3YAMEO2.js → chunk-DT6VCMXS.js} +2 -2
  65. package/dist/{chunk-7OYWCOVC.js → chunk-EITOMPFB.js} +4 -4
  66. package/dist/{chunk-QWCOMSDH.js → chunk-EUEGCEA7.js} +3 -3
  67. package/dist/{chunk-5WHSFMV2.js → chunk-EUHTC7K5.js} +1 -1
  68. package/dist/{chunk-HR6M44CX.js → chunk-F3WI32HG.js} +7 -7
  69. package/dist/{chunk-6W2ASRZO.js → chunk-FAKEKFCI.js} +3 -3
  70. package/dist/{chunk-FTOKESSK.js → chunk-FB262EOM.js} +1 -1
  71. package/dist/{chunk-4XFFGFHN.js → chunk-FK3JSDH5.js} +13 -13
  72. package/dist/{chunk-3FY5ZPIZ.js → chunk-GBR6E7AY.js} +1 -1
  73. package/dist/{chunk-NHC5YUH6.js → chunk-IN3MPEFA.js} +5 -5
  74. package/dist/{chunk-LA3MMHLO.js → chunk-JC7XUZST.js} +6 -3
  75. package/dist/{chunk-2XD4TTUM.js → chunk-JNTYPMVU.js} +10 -10
  76. package/dist/{chunk-B3KPRSCM.js → chunk-JWBZUTYF.js} +5 -5
  77. package/dist/{chunk-LKAO35SY.js → chunk-JYOR57ZW.js} +3 -3
  78. package/dist/{chunk-MGF7D2ZL.js → chunk-KDQLKND5.js} +36 -35
  79. package/dist/{chunk-DOMDCMGC.js → chunk-KSLBS3II.js} +5 -5
  80. package/dist/chunk-L2FQBHIR.js +74 -0
  81. package/dist/{chunk-JEZGDP55.js → chunk-N4VRSFRZ.js} +5 -5
  82. package/dist/chunk-N5P2FLOJ.js +82 -0
  83. package/dist/{chunk-D536PHXF.js → chunk-NGNBX3YH.js} +4 -4
  84. package/dist/{chunk-EZHM6I2V.js → chunk-NJSW2REO.js} +4 -4
  85. package/dist/{chunk-XSUWXBHF.js → chunk-O4EAMVSC.js} +3 -3
  86. package/dist/{chunk-YRWGCYHH.js → chunk-OJ3ZD5VX.js} +1 -1
  87. package/dist/{chunk-25W6AD3W.js → chunk-PGJMSREY.js} +6 -6
  88. package/dist/{chunk-OJFOIKRM.js → chunk-PM2MHBMF.js} +3 -3
  89. package/dist/{chunk-ITKAMUHG.js → chunk-PNXNWZ5P.js} +3 -3
  90. package/dist/{chunk-AZ56FPRG.js → chunk-PPKIL4EL.js} +1 -1
  91. package/dist/{chunk-WOZLV3LN.js → chunk-QAWWTRDD.js} +4 -4
  92. package/dist/{chunk-NPO3ZTR4.js → chunk-QMPM3CAN.js} +1 -1
  93. package/dist/{chunk-X2KK42JA.js → chunk-R5PZPROX.js} +1 -1
  94. package/dist/{chunk-T7FPZN5V.js → chunk-RZVWEDIS.js} +3 -3
  95. package/dist/{chunk-TATE22GH.js → chunk-S63VIM7E.js} +1 -1
  96. package/dist/{chunk-ZZ7VB6QC.js → chunk-S7VMHSJW.js} +3 -3
  97. package/dist/{chunk-X6CSZSSQ.js → chunk-SQ5XCMPB.js} +4 -4
  98. package/dist/{chunk-BJRLJJS2.js → chunk-TFDMJHAB.js} +1 -1
  99. package/dist/{chunk-VMQEB56V.js → chunk-TQ2L3ECX.js} +2 -2
  100. package/dist/{chunk-IPSO7DUB.js → chunk-TTGBS5JB.js} +3 -3
  101. package/dist/{chunk-YX6VQGLG.js → chunk-U3EBM73X.js} +2 -2
  102. package/dist/{chunk-LRS4TJU2.js → chunk-UIF7HWHX.js} +4 -4
  103. package/dist/{chunk-LWAYXE7G.js → chunk-UUCRWEEU.js} +2 -2
  104. package/dist/{chunk-LMP2FAS6.js → chunk-VBSPP4QY.js} +3 -3
  105. package/dist/{chunk-XZTFYFC7.js → chunk-VJUDBZGC.js} +2 -2
  106. package/dist/{chunk-ONZ3UGNY.js → chunk-W47XZJSH.js} +2 -2
  107. package/dist/{chunk-G3J5JKEJ.js → chunk-WJJVCDEU.js} +6 -6
  108. package/dist/{chunk-FA6INGK7.js → chunk-WXV7J3DG.js} +3 -3
  109. package/dist/{chunk-EBOGB7JR.js → chunk-XKQ7CQGG.js} +1 -1
  110. package/dist/{chunk-KEPESIIR.js → chunk-XMSDA5WA.js} +1 -70
  111. package/dist/{chunk-LKKIFFUC.js → chunk-YZ6DMGZZ.js} +1 -1
  112. package/dist/{chunk-YMBJU4CT.js → chunk-Z7AIYWZ2.js} +2 -2
  113. package/dist/{chunk-QSZQCKPB.js → chunk-ZBZBYUNZ.js} +5 -5
  114. package/dist/{codex-app-cards-switch-A77HUVKT.js → codex-app-cards-switch-M7VH7AZH.js} +11 -11
  115. package/dist/{codex-desktop-launch-FSHKRCRL.js → codex-desktop-launch-6DASTBBA.js} +1 -1
  116. package/dist/{codex-session-launch-VAXYRXK6.js → codex-session-launch-2XSMFA4K.js} +20 -18
  117. package/dist/{config-SMJ2QWQF.js → config-7QQOIFTW.js} +3 -3
  118. package/dist/{global-upgrade-63X4UFFP.js → global-upgrade-XAKX26AN.js} +10 -10
  119. package/dist/{identity-3L2YHAZP.js → identity-7AS5MBNM.js} +4 -4
  120. package/dist/{live-capabilities-QBQX7RFM.js → live-capabilities-DV4F7MIB.js} +5 -5
  121. package/dist/{paths-5VPGINSP.js → paths-GSMXYKT5.js} +3 -3
  122. package/dist/{reapply-MSIZJULX.js → reapply-MR7UWBXR.js} +27 -27
  123. package/dist/src/index.d.ts +2 -6
  124. package/dist/src/index.js +28 -28
  125. package/dist/{upgrade-lock-KKW6XZ7B.js → upgrade-lock-6OTHLCBZ.js} +4 -4
  126. package/dist/{usage-ICF3NG4F.js → usage-H53PO3VQ.js} +3 -3
  127. package/package.json +3 -1
@@ -0,0 +1,82 @@
1
+ import {
2
+ external_exports
3
+ } from "./chunk-XMSDA5WA.js";
4
+
5
+ // src/command-receipts.ts
6
+ import { randomUUID } from "crypto";
7
+ var controllerCommandSchema = external_exports.object({
8
+ id: external_exports.string().uuid(),
9
+ text: external_exports.string().min(1).max(2e3),
10
+ expiresAtMs: external_exports.number().finite(),
11
+ state: external_exports.literal("dispatching").optional(),
12
+ dispatchId: external_exports.string().uuid().optional()
13
+ }).refine((value) => value.state !== "dispatching" || value.dispatchId !== void 0);
14
+ var CommandReceipts = class {
15
+ constructor(options) {
16
+ this.options = options;
17
+ }
18
+ pending = /* @__PURE__ */ new Map();
19
+ flushing;
20
+ async receive(command, acknowledge) {
21
+ if (this.pending.has(command.id)) {
22
+ await this.flush();
23
+ return;
24
+ }
25
+ if (this.pending.size >= 32) return;
26
+ const receipt = {
27
+ acknowledge,
28
+ dispatchId: command.dispatchId ?? randomUUID(),
29
+ state: command.state === "dispatching" ? "uncertain" : "dispatching"
30
+ };
31
+ this.pending.set(command.id, receipt);
32
+ if (command.state === "dispatching") {
33
+ if (await this.options.wasAccepted?.(command.id).catch(() => false)) receipt.state = "delivered";
34
+ await this.flush();
35
+ return;
36
+ }
37
+ const dispatched = await acknowledge("dispatching", receipt.dispatchId).catch(() => false);
38
+ if (!dispatched) {
39
+ this.pending.delete(command.id);
40
+ return;
41
+ }
42
+ try {
43
+ const result = await this.options.submit(command);
44
+ if (result) receipt.state = result;
45
+ } catch {
46
+ receipt.state = "uncertain";
47
+ this.options.log("[pushary] instruction outcome is unknown; it will not be replayed automatically");
48
+ }
49
+ await this.flush();
50
+ }
51
+ accepted(commandId) {
52
+ const receipt = this.pending.get(commandId);
53
+ if (receipt) receipt.state = "delivered";
54
+ }
55
+ async flush() {
56
+ if (this.flushing) return this.flushing;
57
+ this.flushing = this.flushPending();
58
+ try {
59
+ await this.flushing;
60
+ } finally {
61
+ this.flushing = void 0;
62
+ }
63
+ }
64
+ async flushPending() {
65
+ for (const [id, receipt] of this.pending) {
66
+ if (receipt.state === "dispatching") continue;
67
+ const state = receipt.state;
68
+ try {
69
+ const confirmed = await receipt.acknowledge(state, receipt.dispatchId);
70
+ if (confirmed && receipt.state === state) this.pending.delete(id);
71
+ if (!confirmed) this.options.log("[pushary] receipt not confirmed; retrying on reconnect");
72
+ } catch {
73
+ this.options.log("[pushary] receipt could not be confirmed; retrying on reconnect");
74
+ }
75
+ }
76
+ }
77
+ };
78
+
79
+ export {
80
+ controllerCommandSchema,
81
+ CommandReceipts
82
+ };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-AERRQEWZ.js";
3
+ } from "./chunk-7FROPPIH.js";
4
4
  import {
5
5
  backupFile,
6
6
  readJsonSafe,
7
7
  writeFileAtomic,
8
8
  writeJsonAtomic
9
- } from "./chunk-T7FPZN5V.js";
9
+ } from "./chunk-RZVWEDIS.js";
10
10
  import {
11
11
  configFilePath
12
- } from "./chunk-X2KK42JA.js";
12
+ } from "./chunk-R5PZPROX.js";
13
13
  import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord
16
- } from "./chunk-JGEPODEP.js";
16
+ } from "./chunk-AVHL2ZTS.js";
17
17
 
18
18
  // src/shell-alias.ts
19
19
  import { homedir } from "os";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-SWQTCKLM.js";
3
+ } from "./chunk-7RX5TOU3.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-VMQEB56V.js";
6
+ } from "./chunk-TQ2L3ECX.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-QWCOMSDH.js";
10
+ } from "./chunk-EUEGCEA7.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-KZERVKTD.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-AZ56FPRG.js";
16
+ } from "./chunk-PPKIL4EL.js";
17
17
 
18
18
  // src/setup/closing.ts
19
19
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-LWAYXE7G.js";
3
+ } from "./chunk-UUCRWEEU.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-PPY5N2E6.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-X2KK42JA.js";
9
+ } from "./chunk-R5PZPROX.js";
10
10
  import {
11
11
  getPackageVersion
12
12
  } from "./chunk-QTOLNRET.js";
13
13
  import {
14
14
  clientContextHeaders,
15
15
  redactSecretsFromContent
16
- } from "./chunk-JGEPODEP.js";
16
+ } from "./chunk-AVHL2ZTS.js";
17
17
 
18
18
  // src/cli/net.ts
19
19
  import { createRequire } from "module";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KZERVKTD.js";
4
4
  import {
5
5
  renderCommandHelp
6
- } from "./chunk-AZ56FPRG.js";
6
+ } from "./chunk-PPKIL4EL.js";
7
7
  import {
8
8
  getPackageVersion
9
9
  } from "./chunk-QTOLNRET.js";
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-JMACQEPU.js";
5
+ } from "./chunk-2QB7HJVJ.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-VMQEB56V.js";
8
+ } from "./chunk-TQ2L3ECX.js";
9
9
  import {
10
10
  createIo
11
11
  } from "./chunk-FO3MDD26.js";
12
12
  import {
13
13
  readKeySource
14
- } from "./chunk-D536PHXF.js";
14
+ } from "./chunk-NGNBX3YH.js";
15
15
  import {
16
16
  absoluteUrl,
17
17
  checkApiKey,
18
18
  describeKeyCheck,
19
19
  keyCheckFromResponse
20
- } from "./chunk-ZZ7VB6QC.js";
20
+ } from "./chunk-S7VMHSJW.js";
21
21
  import {
22
22
  EXIT
23
23
  } from "./chunk-KZERVKTD.js";
24
24
  import {
25
25
  getBaseUrl
26
- } from "./chunk-X2KK42JA.js";
26
+ } from "./chunk-R5PZPROX.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-JGEPODEP.js";
29
+ } from "./chunk-AVHL2ZTS.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -8,20 +8,20 @@ import {
8
8
  everyProgramFileIsThere,
9
9
  installedCodexApp,
10
10
  shellQuoted
11
- } from "./chunk-YMBJU4CT.js";
11
+ } from "./chunk-Z7AIYWZ2.js";
12
12
  import {
13
13
  writeHuman
14
14
  } from "./chunk-QCGNGEGE.js";
15
15
  import {
16
16
  xml
17
- } from "./chunk-G3J5JKEJ.js";
17
+ } from "./chunk-WJJVCDEU.js";
18
18
  import {
19
19
  CODEX_APP_LAUNCH_AT_LOGIN_VERB,
20
20
  CODEX_APP_LAUNCH_VARIABLE
21
21
  } from "./chunk-E46NE7FB.js";
22
22
  import {
23
23
  writeFileAtomic
24
- } from "./chunk-T7FPZN5V.js";
24
+ } from "./chunk-RZVWEDIS.js";
25
25
 
26
26
  // src/codex-app-cards-switch.ts
27
27
  import { execFileSync as execFileSync2 } from "child_process";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SMIU5URV.js";
3
+ } from "./chunk-7S46LCKD.js";
4
4
  import {
5
5
  readJsonSafe
6
- } from "./chunk-T7FPZN5V.js";
6
+ } from "./chunk-RZVWEDIS.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-JGEPODEP.js";
9
+ } from "./chunk-AVHL2ZTS.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-JGEPODEP.js";
5
+ } from "./chunk-AVHL2ZTS.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-EVJRITSI.js";
3
+ } from "./chunk-2HFC4W6J.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-MZ6GL46A.js";
6
+ } from "./chunk-BLX6KRK5.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -12,13 +12,13 @@ import {
12
12
  holdBudgetOf,
13
13
  isProtectedByScope,
14
14
  registerHookEntry
15
- } from "./chunk-SMIU5URV.js";
15
+ } from "./chunk-7S46LCKD.js";
16
16
  import {
17
17
  CURSOR_GATE_EVENTS,
18
18
  HOOK_BUDGETS,
19
19
  HOOK_LOCATOR_BINARY,
20
20
  hookCommandHoldBudget
21
- } from "./chunk-JGEPODEP.js";
21
+ } from "./chunk-AVHL2ZTS.js";
22
22
 
23
23
  // src/diagnostics/bridge.ts
24
24
  import { execFileSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote
4
- } from "./chunk-JGEPODEP.js";
4
+ } from "./chunk-AVHL2ZTS.js";
5
5
 
6
6
  // src/repo.ts
7
7
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-AZ56FPRG.js";
3
+ } from "./chunk-PPKIL4EL.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -443,9 +443,9 @@ var installGlobally = (options) => {
443
443
  }
444
444
  const started = (async () => {
445
445
  if (!npmIsOnPath()) throw new NpmMissingError();
446
- const { withUpgradeLock } = await import("./global-upgrade-63X4UFFP.js");
447
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-KKW6XZ7B.js");
448
- const { autoUpdateLock } = await import("./paths-5VPGINSP.js");
446
+ const { withUpgradeLock } = await import("./global-upgrade-XAKX26AN.js");
447
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-6OTHLCBZ.js");
448
+ const { autoUpdateLock } = await import("./paths-GSMXYKT5.js");
449
449
  let result = "skipped";
450
450
  const install = async () => {
451
451
  const platform = process.platform;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-D536PHXF.js";
3
+ } from "./chunk-NGNBX3YH.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-XSUWXBHF.js";
3
+ } from "./chunk-O4EAMVSC.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-PPY5N2E6.js";
@@ -9,11 +9,11 @@ import {
9
9
  } from "./chunk-KZERVKTD.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-X2KK42JA.js";
12
+ } from "./chunk-R5PZPROX.js";
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-JGEPODEP.js";
16
+ } from "./chunk-AVHL2ZTS.js";
17
17
 
18
18
  // src/session.ts
19
19
  var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-SWQTCKLM.js";
15
+ } from "./chunk-7RX5TOU3.js";
16
16
  import {
17
17
  humanIsTty,
18
18
  writeHuman
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-FO3MDD26.js";
25
25
  import {
26
26
  reportedInstallSource
27
- } from "./chunk-AERRQEWZ.js";
27
+ } from "./chunk-7FROPPIH.js";
28
28
  import {
29
29
  NPX_LATEST_COMMAND
30
- } from "./chunk-AZ56FPRG.js";
30
+ } from "./chunk-PPKIL4EL.js";
31
31
  import {
32
32
  NO_PAIRING_COMPUTER,
33
33
  PAIR_TTL_SECONDS
34
- } from "./chunk-JGEPODEP.js";
34
+ } from "./chunk-AVHL2ZTS.js";
35
35
 
36
36
  // src/onboarding.ts
37
37
  import qrcodeTerminal from "qrcode-terminal";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFile
3
- } from "./chunk-T7FPZN5V.js";
3
+ } from "./chunk-RZVWEDIS.js";
4
4
 
5
5
  // src/claude-native-install.ts
6
6
  import { accessSync, constants } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-ZZ7VB6QC.js";
3
+ } from "./chunk-S7VMHSJW.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-JGEPODEP.js";
6
+ } from "./chunk-AVHL2ZTS.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-SMIU5URV.js";
6
+ } from "./chunk-7S46LCKD.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
10
- } from "./chunk-T7FPZN5V.js";
10
+ } from "./chunk-RZVWEDIS.js";
11
11
  import {
12
12
  CLI_PACKAGE_NAMES,
13
13
  POSIX_GLOBAL_ROOT_SEGMENTS,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-QTOLNRET.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-JGEPODEP.js";
20
+ } from "./chunk-AVHL2ZTS.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findNativeClaudeInstall
3
- } from "./chunk-BJRLJJS2.js";
3
+ } from "./chunk-TFDMJHAB.js";
4
4
  import {
5
5
  isFile
6
- } from "./chunk-T7FPZN5V.js";
6
+ } from "./chunk-RZVWEDIS.js";
7
7
 
8
8
  // src/wrapper/claudeBinary.ts
9
9
  import { homedir } from "os";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-WOZLV3LN.js";
4
+ } from "./chunk-QAWWTRDD.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT,
7
7
  compatibleToolLookup
8
- } from "./chunk-5NQ3SMVP.js";
8
+ } from "./chunk-AJWGZJFS.js";
9
9
  import {
10
10
  CLAUDE_HOOK_EVENTS,
11
11
  PUSHARY_MCP_URL,
@@ -17,7 +17,7 @@ import {
17
17
  isPusharyHook,
18
18
  registerHookEntry,
19
19
  removeClaudeMcpServers
20
- } from "./chunk-SMIU5URV.js";
20
+ } from "./chunk-7S46LCKD.js";
21
21
  import {
22
22
  HOOK_COMPATIBLE_PROFILES,
23
23
  PHONE_ANSWERED_TOOLS,
@@ -28,7 +28,7 @@ import {
28
28
  pusharyMissingReason,
29
29
  refusalOutput,
30
30
  withHookHoldBudget
31
- } from "./chunk-JGEPODEP.js";
31
+ } from "./chunk-AVHL2ZTS.js";
32
32
 
33
33
  // src/config-document.ts
34
34
  import { parse, stringify } from "smol-toml";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SMIU5URV.js";
3
+ } from "./chunk-7S46LCKD.js";
4
4
  import {
5
5
  writeFileAtomic
6
- } from "./chunk-T7FPZN5V.js";
6
+ } from "./chunk-RZVWEDIS.js";
7
7
 
8
8
  // src/identity.ts
9
9
  import { randomUUID } from "crypto";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  readJsonSafe,
3
3
  writeJsonAtomic
4
- } from "./chunk-T7FPZN5V.js";
4
+ } from "./chunk-RZVWEDIS.js";
5
5
  import {
6
6
  configFilePath
7
- } from "./chunk-X2KK42JA.js";
7
+ } from "./chunk-R5PZPROX.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-JGEPODEP.js";
10
+ } from "./chunk-AVHL2ZTS.js";
11
11
 
12
12
  // src/diagnostics/service-runtime.ts
13
13
  var unescapeXml = (value) => value.replaceAll("&quot;", '"').replaceAll("&apos;", "'").replaceAll("&lt;", "<").replaceAll("&gt;", ">").replaceAll("&amp;", "&");
@@ -7,10 +7,10 @@ import {
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-SMIU5URV.js";
10
+ } from "./chunk-7S46LCKD.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-T7FPZN5V.js";
13
+ } from "./chunk-RZVWEDIS.js";
14
14
  import {
15
15
  getPackageVersion
16
16
  } from "./chunk-QTOLNRET.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-GIE7PLZD.js";
3
+ } from "./chunk-7M4AA7QF.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-AZ56FPRG.js";
6
+ } from "./chunk-PPKIL4EL.js";
7
7
 
8
8
  // src/mcp-stdio-bridge.ts
9
9
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -4,23 +4,23 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-D536PHXF.js";
7
+ } from "./chunk-NGNBX3YH.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-LWAYXE7G.js";
10
+ } from "./chunk-UUCRWEEU.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-SMIU5URV.js";
13
+ } from "./chunk-7S46LCKD.js";
14
14
  import {
15
15
  readJsonSafe,
16
16
  resolveGlobalBinary,
17
17
  writeFileAtomic,
18
18
  writeJsonAtomic,
19
19
  writeJsonAtomicDurable
20
- } from "./chunk-T7FPZN5V.js";
20
+ } from "./chunk-RZVWEDIS.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-X2KK42JA.js";
23
+ } from "./chunk-R5PZPROX.js";
24
24
  import {
25
25
  CLI_PACKAGE_NAMES,
26
26
  cmdShimTarget,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-QTOLNRET.js";
31
31
  import {
32
32
  isRecord
33
- } from "./chunk-JGEPODEP.js";
33
+ } from "./chunk-AVHL2ZTS.js";
34
34
 
35
35
  // src/daemon-lifecycle.ts
36
36
  import { dirname, join, win32 as win32Path } from "path";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-XZTFYFC7.js";
3
+ } from "./chunk-VJUDBZGC.js";
4
4
  import {
5
5
  retryAgentCommand
6
- } from "./chunk-QWCOMSDH.js";
6
+ } from "./chunk-EUEGCEA7.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-AZ56FPRG.js";
9
+ } from "./chunk-PPKIL4EL.js";
10
10
 
11
11
  // src/setup/codex-trust.ts
12
12
  var CODEX_TRUST_TELEMETRY = {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-X2KK42JA.js";
12
+ } from "./chunk-R5PZPROX.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";