pushary 1.9.128 → 1.9.129

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 (138) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{api-JRRKVMXE.js → api-WTQOMRGG.js} +12 -12
  3. package/dist/bin/pushary-audit.js +4 -4
  4. package/dist/bin/pushary-bell-hook.js +30 -30
  5. package/dist/bin/pushary-bell.js +11 -11
  6. package/dist/bin/pushary-claude.js +35 -35
  7. package/dist/bin/pushary-clean.js +37 -37
  8. package/dist/bin/pushary-codex-bridge.js +24 -24
  9. package/dist/bin/pushary-codex-hook.js +37 -37
  10. package/dist/bin/pushary-codex-session.js +8 -8
  11. package/dist/bin/pushary-codex.js +16 -16
  12. package/dist/bin/pushary-connect.js +29 -29
  13. package/dist/bin/pushary-cowork.js +5 -5
  14. package/dist/bin/pushary-daemon.js +52 -52
  15. package/dist/bin/pushary-disconnect.js +28 -28
  16. package/dist/bin/pushary-display-hook.js +7865 -35
  17. package/dist/bin/pushary-doctor.js +48 -48
  18. package/dist/bin/pushary-elicitation-hook.js +30 -30
  19. package/dist/bin/pushary-gemini-bridge.js +18 -18
  20. package/dist/bin/pushary-gemini-hook.js +34 -34
  21. package/dist/bin/pushary-hook.js +36 -36
  22. package/dist/bin/pushary-login.js +23 -23
  23. package/dist/bin/pushary-logout.js +27 -27
  24. package/dist/bin/pushary-mcp.js +13 -13
  25. package/dist/bin/pushary-mode.js +16 -16
  26. package/dist/bin/pushary-notification-hook.js +29 -29
  27. package/dist/bin/pushary-opencode-hook.js +33 -33
  28. package/dist/bin/pushary-permission-denied-hook.js +36 -36
  29. package/dist/bin/pushary-permission-hook.js +36 -36
  30. package/dist/bin/pushary-post-hook.js +29 -29
  31. package/dist/bin/pushary-prompt-hook.js +29 -29
  32. package/dist/bin/pushary-session-end-hook.js +31 -31
  33. package/dist/bin/pushary-session-start-hook.js +39 -39
  34. package/dist/bin/pushary-setup.js +59 -59
  35. package/dist/bin/pushary-stats.js +5 -5
  36. package/dist/bin/pushary-status.js +35 -35
  37. package/dist/bin/pushary-stop-hook.js +29 -29
  38. package/dist/bin/pushary-stopfailure-hook.js +29 -29
  39. package/dist/bin/pushary-suggestions.js +16 -16
  40. package/dist/bin/pushary-transcript-register.js +21 -21
  41. package/dist/bin/pushary-transcripts.js +29 -29
  42. package/dist/bin/pushary-upgrade.js +43 -43
  43. package/dist/bin/pushary-wait.js +16 -16
  44. package/dist/bin/pushary.js +8 -8
  45. package/dist/{chunk-LG3B5BDP.js → chunk-2KVK6YQR.js} +9 -9
  46. package/dist/{chunk-X2PN3XNW.js → chunk-2MBD6JHB.js} +1 -1
  47. package/dist/{chunk-E66FG2DC.js → chunk-36I6HFLZ.js} +5 -5
  48. package/dist/{chunk-44ONTVVI.js → chunk-3EXJMRSC.js} +1 -1
  49. package/dist/{chunk-ALRDG7SI.js → chunk-3SREEE2O.js} +7 -7
  50. package/dist/{chunk-E5LU5MJ2.js → chunk-44ZTLOVE.js} +1 -1
  51. package/dist/{chunk-WS37PSC5.js → chunk-4U55UQ7X.js} +4 -4
  52. package/dist/{chunk-OKCK7DNN.js → chunk-6F6WN6C2.js} +5 -5
  53. package/dist/{chunk-SZV5SLSD.js → chunk-6X2O5QI7.js} +4 -4
  54. package/dist/{chunk-KEJFRU2Q.js → chunk-7H2RWOO2.js} +7 -7
  55. package/dist/{chunk-UV2JM3PZ.js → chunk-A5L3WBHV.js} +1 -1
  56. package/dist/{chunk-H6MBABPQ.js → chunk-AHEC2K7V.js} +9 -9
  57. package/dist/{chunk-K256TL7E.js → chunk-AHHPHJOE.js} +5 -5
  58. package/dist/{chunk-VIUANC2F.js → chunk-AN6I3TX7.js} +3 -3
  59. package/dist/{chunk-TQBYF3W6.js → chunk-BNJ4H57M.js} +2 -2
  60. package/dist/{chunk-YZHVM5LY.js → chunk-BWYZ3YZM.js} +2 -2
  61. package/dist/{chunk-2XTK53YK.js → chunk-C74UXIKG.js} +5 -5
  62. package/dist/{chunk-VKIQR33O.js → chunk-CCZML6KO.js} +3 -3
  63. package/dist/{chunk-2M7FELUY.js → chunk-CFZRNQIQ.js} +1 -1
  64. package/dist/{chunk-ROVLRXBI.js → chunk-CYTPQDQY.js} +1 -1
  65. package/dist/{chunk-VQJT6X3B.js → chunk-D3YLMDPE.js} +6 -6
  66. package/dist/{chunk-NLEHRQHL.js → chunk-E4LKBXGP.js} +2 -2
  67. package/dist/{chunk-BZUQXL43.js → chunk-EFTS75PF.js} +3 -3
  68. package/dist/{chunk-IYM3CXWZ.js → chunk-EJEYQOKX.js} +6 -6
  69. package/dist/{chunk-27GQFR5J.js → chunk-FN3AKOE6.js} +8 -8
  70. package/dist/{chunk-XOYZK3XP.js → chunk-FUDV2SJ6.js} +4 -4
  71. package/dist/{chunk-XSG42MMY.js → chunk-G4JW4QPR.js} +1 -1
  72. package/dist/{chunk-VUNQZNKR.js → chunk-G6IAWKZ3.js} +3 -3
  73. package/dist/{chunk-HXBQTPKC.js → chunk-GVSIVBVT.js} +1 -1
  74. package/dist/{chunk-NKV5AALF.js → chunk-H6CL3T2S.js} +1 -1
  75. package/dist/{chunk-Z7RGHFAW.js → chunk-HN63QQWB.js} +4 -4
  76. package/dist/{chunk-4CSFH736.js → chunk-IAAP4OCC.js} +4 -4
  77. package/dist/{chunk-WVFKRWPE.js → chunk-IGCXQDYL.js} +12 -76
  78. package/dist/{chunk-XRJU7CZ2.js → chunk-J74XLYS2.js} +3 -3
  79. package/dist/{chunk-FNLUSPM7.js → chunk-JK3IYOOR.js} +4 -4
  80. package/dist/{chunk-AH4NLZTT.js → chunk-JWDGPKKL.js} +1 -1
  81. package/dist/{chunk-2FIS7KDD.js → chunk-KWFZUAET.js} +4 -4
  82. package/dist/{chunk-RK5VSHBW.js → chunk-MUCBJ2KT.js} +3 -3
  83. package/dist/{chunk-HHI3MSJJ.js → chunk-NQSQC5OC.js} +5 -5
  84. package/dist/{chunk-LIIIC27B.js → chunk-NXUZBYBA.js} +1 -1
  85. package/dist/{chunk-LS3CQ536.js → chunk-O3HKUUXP.js} +1 -1
  86. package/dist/{chunk-NCHNITQW.js → chunk-ODZBKNIA.js} +2 -2
  87. package/dist/{chunk-T2WDQ3NT.js → chunk-OH67UPRF.js} +3 -3
  88. package/dist/{chunk-J35EMNLD.js → chunk-OOCIVAMY.js} +3 -3
  89. package/dist/{chunk-P3VVRBBI.js → chunk-OUN5T5VX.js} +1 -1
  90. package/dist/{chunk-VRUVMUHN.js → chunk-OUTWFS6J.js} +2 -2
  91. package/dist/{chunk-O55LZDLD.js → chunk-PBK24IVU.js} +3 -3
  92. package/dist/{chunk-4B3KU7O4.js → chunk-PG3BXBVY.js} +16 -16
  93. package/dist/{chunk-HVJIITL4.js → chunk-PKZJZWYN.js} +8 -8
  94. package/dist/{chunk-Z7FUHJKU.js → chunk-Q7YNYPRY.js} +1 -1
  95. package/dist/{chunk-A5GLAQNK.js → chunk-QFS7JNUD.js} +5 -5
  96. package/dist/{chunk-BVI2N7QA.js → chunk-QLIH4BJ6.js} +1 -1
  97. package/dist/{chunk-ABMXITA2.js → chunk-QZJ4NGSQ.js} +3 -3
  98. package/dist/{chunk-2QWQCU7L.js → chunk-R4JOCIQM.js} +1 -1
  99. package/dist/{chunk-5QFC3NCU.js → chunk-R5TGBKKZ.js} +4 -4
  100. package/dist/{chunk-5MITA7MU.js → chunk-R5ZFWL4F.js} +3 -3
  101. package/dist/{chunk-FXLWWEVQ.js → chunk-RS4BEWEZ.js} +1 -1
  102. package/dist/{chunk-XNKE67NJ.js → chunk-S45FPA72.js} +3 -3
  103. package/dist/{chunk-LBROBXUC.js → chunk-S6G4C5LS.js} +5 -5
  104. package/dist/{chunk-WJ4W33WN.js → chunk-SISRFK3I.js} +3 -3
  105. package/dist/{chunk-LHDKVRIP.js → chunk-TEIL5BHZ.js} +4 -4
  106. package/dist/{chunk-X4MUM7JK.js → chunk-TFHTZ6GE.js} +6 -6
  107. package/dist/{chunk-JDGLNYDZ.js → chunk-TGYM6UQJ.js} +2 -2
  108. package/dist/{chunk-T5I4PKOQ.js → chunk-TODDEIYG.js} +13 -9
  109. package/dist/{chunk-7EYXAM63.js → chunk-TSZDE5NK.js} +1 -1
  110. package/dist/{chunk-FMUNFP4O.js → chunk-UDH2BDU2.js} +3 -3
  111. package/dist/{chunk-7OSBFMRV.js → chunk-UZCD6OFJ.js} +1 -1
  112. package/dist/{chunk-5S32WI3B.js → chunk-V4OLQBSN.js} +1 -1
  113. package/dist/{chunk-DPXOELLZ.js → chunk-VHSN7GCK.js} +3 -3
  114. package/dist/{chunk-PWTW7E5H.js → chunk-VOFCKEIR.js} +4 -4
  115. package/dist/{chunk-IRZNQAQO.js → chunk-VSNVDY55.js} +6 -6
  116. package/dist/{chunk-E27MPYOC.js → chunk-VTT7U6TJ.js} +3 -3
  117. package/dist/{chunk-ZLWWDEQB.js → chunk-W5QKCZ7X.js} +12 -12
  118. package/dist/{chunk-LCFSGKQW.js → chunk-WLRSM634.js} +3 -3
  119. package/dist/{chunk-ODUAW2CX.js → chunk-WPER6NNY.js} +6 -6
  120. package/dist/{chunk-GFCAZD2W.js → chunk-XXCJY3KQ.js} +12 -12
  121. package/dist/{chunk-PWC4IK4J.js → chunk-Y57QT5SH.js} +3 -3
  122. package/dist/{codex-app-cards-switch-SC3YKXBG.js → codex-app-cards-switch-KMLJJA3K.js} +13 -13
  123. package/dist/{codex-card-routing-JTZ2PC24.js → codex-card-routing-QZCKG6N5.js} +2 -2
  124. package/dist/{codex-desktop-launch-2ODSLA7V.js → codex-desktop-launch-BYR7AZRC.js} +1 -1
  125. package/dist/{codex-session-launch-AD3AVJC4.js → codex-session-launch-B33B65NA.js} +21 -21
  126. package/dist/{config-43UOHCK6.js → config-X4S5PT22.js} +3 -3
  127. package/dist/{global-upgrade-LBL5RJV5.js → global-upgrade-KHN4VJ72.js} +11 -11
  128. package/dist/{identity-RCT5QKWZ.js → identity-ANBW7VRX.js} +5 -5
  129. package/dist/{live-capabilities-WZHU2A5C.js → live-capabilities-7O6JXLIM.js} +6 -6
  130. package/dist/{paths-JK4EFG5J.js → paths-PKHSS7QT.js} +4 -4
  131. package/dist/reapply-2F24DBKV.js +66 -0
  132. package/dist/src/index.js +35 -35
  133. package/dist/{upgrade-lock-MU5RYC57.js → upgrade-lock-DVHGL55R.js} +5 -5
  134. package/dist/{usage-UO3T2VK7.js → usage-FIAOA3QU.js} +3 -3
  135. package/package.json +1 -1
  136. package/dist/bin/pushary-display-hook.d.ts +0 -1
  137. package/dist/reapply-4V5AZJFZ.js +0 -66
  138. /package/dist/{chunk-HI5YJFKW.js → chunk-JP3S4FPO.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readOwnerOnlyJson,
3
3
  savedTranscriptReadPositions
4
- } from "./chunk-HXBQTPKC.js";
4
+ } from "./chunk-GVSIVBVT.js";
5
5
  import {
6
6
  SESSION_HISTORY_RETENTION_DAYS
7
7
  } from "./chunk-G66WIAST.js";
8
8
  import {
9
9
  ensureDaemonRunning
10
- } from "./chunk-27GQFR5J.js";
10
+ } from "./chunk-FN3AKOE6.js";
11
11
  import {
12
12
  hookOwnerOf
13
- } from "./chunk-PWTW7E5H.js";
13
+ } from "./chunk-VOFCKEIR.js";
14
14
  import {
15
15
  hookMeaning
16
- } from "./chunk-7OSBFMRV.js";
16
+ } from "./chunk-UZCD6OFJ.js";
17
17
  import {
18
18
  buildTranscriptRecords,
19
19
  decodePublicKey,
@@ -24,33 +24,33 @@ import {
24
24
  recordSealerFor,
25
25
  uploadTranscriptRecords,
26
26
  wrapSessionKey
27
- } from "./chunk-5MITA7MU.js";
27
+ } from "./chunk-R5ZFWL4F.js";
28
28
  import {
29
29
  external_exports
30
30
  } from "./chunk-XMSDA5WA.js";
31
31
  import {
32
32
  transcriptEnvironmentPreference,
33
33
  transcriptsEnabled
34
- } from "./chunk-AH4NLZTT.js";
34
+ } from "./chunk-JWDGPKKL.js";
35
35
  import {
36
36
  fetchAsCredential
37
- } from "./chunk-E5LU5MJ2.js";
37
+ } from "./chunk-44ZTLOVE.js";
38
38
  import {
39
39
  readTranscriptPreference
40
- } from "./chunk-SZV5SLSD.js";
40
+ } from "./chunk-6X2O5QI7.js";
41
41
  import {
42
42
  claudeConfigDir,
43
43
  codexHome,
44
44
  pusharyDir
45
- } from "./chunk-LCFSGKQW.js";
45
+ } from "./chunk-WLRSM634.js";
46
46
  import {
47
47
  getApiKey,
48
48
  getBaseUrl
49
- } from "./chunk-2M7FELUY.js";
49
+ } from "./chunk-CFZRNQIQ.js";
50
50
  import {
51
51
  writeJsonAtomic,
52
52
  writeJsonAtomicDurable
53
- } from "./chunk-T5I4PKOQ.js";
53
+ } from "./chunk-TODDEIYG.js";
54
54
  import {
55
55
  PENDING_COMMAND_PREFIX,
56
56
  SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
@@ -58,7 +58,7 @@ import {
58
58
  isHookSource,
59
59
  isRecord,
60
60
  redactSecretsFromContent
61
- } from "./chunk-HI5YJFKW.js";
61
+ } from "./chunk-JP3S4FPO.js";
62
62
 
63
63
  // src/transcript-recipient-pin.ts
64
64
  import { createHash } from "crypto";
@@ -248,66 +248,6 @@ var readState = (sessionId, runtime) => {
248
248
  return null;
249
249
  }
250
250
  };
251
- var conversationAnchor = (path) => {
252
- let descriptor;
253
- try {
254
- descriptor = openSync(path, "r");
255
- const size = fstatSync(descriptor).size;
256
- const start = Math.max(0, size - MAX_TAIL);
257
- const buffer = Buffer.alloc(Math.min(size, MAX_TAIL));
258
- const length = readSync(descriptor, buffer, 0, buffer.length, start);
259
- const lines = buffer.subarray(0, length).toString("utf8").split("\n");
260
- if (start > 0) lines.shift();
261
- lines.pop();
262
- for (const line of lines.reverse()) {
263
- try {
264
- const value = anchorSchema.safeParse(JSON.parse(line));
265
- if (value.success) return value.data.uuid;
266
- } catch {
267
- continue;
268
- }
269
- }
270
- } catch {
271
- return null;
272
- } finally {
273
- if (descriptor !== void 0) closeSync(descriptor);
274
- }
275
- return null;
276
- };
277
- var captureDisplayDraft = (input, runtime) => {
278
- const parsed = displaySchema.safeParse(input);
279
- if (!parsed.success) return false;
280
- const event = parsed.data;
281
- const previous = readState(event.session_id, runtime);
282
- if (previous?.displayId === event.message_id && event.index <= previous.index) return false;
283
- if (event.index !== 0 && (previous?.displayId !== event.message_id || previous.complete)) return false;
284
- if (event.index !== 0 && previous && event.index !== previous.index + 1) {
285
- try {
286
- unlinkSync(fileFor(event.session_id, runtime.directory));
287
- } catch {
288
- }
289
- return false;
290
- }
291
- if (event.index === 0 && event.final) return false;
292
- const anchor = event.index === 0 ? conversationAnchor(event.transcript_path) : previous?.afterRecordId;
293
- if (!anchor) return false;
294
- const text = (event.index === 0 ? "" : previous?.text ?? "") + event.delta;
295
- if (Buffer.byteLength(text, "utf8") > MAX_TEXT) return false;
296
- const state = {
297
- displayId: event.message_id,
298
- afterRecordId: anchor,
299
- index: event.index,
300
- text,
301
- complete: event.final,
302
- startedAt: event.index === 0 ? runtime.now : previous?.startedAt ?? runtime.now,
303
- updatedAt: runtime.now
304
- };
305
- const target = fileFor(event.session_id, runtime.directory);
306
- const existing = lstatSync(target, { throwIfNoEntry: false });
307
- if (existing && (!existing.isFile() || existing.nlink !== 1 || (existing.mode & 511) !== 384)) return false;
308
- writeJsonAtomic(target, { content: encryptRecord(JSON.stringify(state), runtime.sessionKey) }, 384);
309
- return true;
310
- };
311
251
  var readDisplayDraft = (sessionId, runtime) => {
312
252
  const state = readState(sessionId, runtime);
313
253
  if (!state) return null;
@@ -1583,15 +1523,11 @@ export {
1583
1523
  assertVerifiedPhone,
1584
1524
  trustPhoneRecipient,
1585
1525
  redactDraft,
1586
- captureDisplayDraft,
1587
- sessionKeyDirectory,
1588
- loadSessionKey,
1589
1526
  startDraftPublisher,
1590
1527
  claudeTranscriptPath,
1591
1528
  snapshotRecipientPinFile,
1592
1529
  clearSnapshotRecipientPins,
1593
1530
  registeredTranscriptEnabled,
1594
- captureRegistration,
1595
1531
  registerTranscript,
1596
1532
  startRegisteredTranscripts
1597
1533
  };
@@ -531,8 +531,8 @@ var loadedOnce = (load) => {
531
531
  };
532
532
 
533
533
  // src/codex-desktop-proxy.ts
534
- var loadThePhone = () => import("./api-JRRKVMXE.js");
535
- var loadTheCardRouting = () => import("./codex-card-routing-JTZ2PC24.js");
534
+ var loadThePhone = () => import("./api-WTQOMRGG.js");
535
+ var loadTheCardRouting = () => import("./codex-card-routing-QZCKG6N5.js");
536
536
  var theFirstCardLoadsAgain = () => {
537
537
  };
538
538
  var ASKS_WITHOUT_ROUTING = {};
@@ -1085,7 +1085,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1085
1085
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1086
1086
  }
1087
1087
  if (args[0] === APP_CARDS_FLAG) {
1088
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-SC3YKXBG.js");
1088
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-KMLJJA3K.js");
1089
1089
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1090
1090
  }
1091
1091
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-IRZNQAQO.js";
15
+ } from "./chunk-VSNVDY55.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-NCHNITQW.js";
27
+ } from "./chunk-ODZBKNIA.js";
28
28
  import {
29
29
  NPX_LATEST_COMMAND
30
- } from "./chunk-5S32WI3B.js";
30
+ } from "./chunk-V4OLQBSN.js";
31
31
  import {
32
32
  NO_PAIRING_COMPUTER,
33
33
  PAIR_TTL_SECONDS
34
- } from "./chunk-HI5YJFKW.js";
34
+ } from "./chunk-JP3S4FPO.js";
35
35
 
36
36
  // src/onboarding.ts
37
37
  import qrcodeTerminal from "qrcode-terminal";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-SZV5SLSD.js";
3
+ } from "./chunk-6X2O5QI7.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -2,16 +2,16 @@ import {
2
2
  NpmInstallError,
3
3
  NpmMissingError,
4
4
  NpmPermissionError
5
- } from "./chunk-WJ4W33WN.js";
5
+ } from "./chunk-SISRFK3I.js";
6
6
  import {
7
7
  writeFileAtomic
8
- } from "./chunk-T5I4PKOQ.js";
8
+ } from "./chunk-TODDEIYG.js";
9
9
  import {
10
10
  NPX_LATEST_COMMAND
11
- } from "./chunk-5S32WI3B.js";
11
+ } from "./chunk-V4OLQBSN.js";
12
12
  import {
13
13
  readSetupAgentFailures
14
- } from "./chunk-HI5YJFKW.js";
14
+ } from "./chunk-JP3S4FPO.js";
15
15
 
16
16
  // src/setup/config-write.ts
17
17
  var AgentConfigWriteError = class extends Error {
@@ -9,16 +9,16 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-XRJU7CZ2.js";
12
+ } from "./chunk-J74XLYS2.js";
13
13
  import {
14
14
  writeHuman
15
15
  } from "./chunk-QCGNGEGE.js";
16
16
  import {
17
17
  xml
18
- } from "./chunk-27GQFR5J.js";
18
+ } from "./chunk-FN3AKOE6.js";
19
19
  import {
20
20
  writeFileAtomic
21
- } from "./chunk-T5I4PKOQ.js";
21
+ } from "./chunk-TODDEIYG.js";
22
22
  import {
23
23
  CODEX_APP_LAUNCH_AT_LOGIN_VERB,
24
24
  CODEX_APP_LAUNCH_VARIABLE
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-Z7RGHFAW.js";
4
+ } from "./chunk-HN63QQWB.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-WVFKRWPE.js";
7
+ } from "./chunk-IGCXQDYL.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-KEJFRU2Q.js";
10
+ } from "./chunk-7H2RWOO2.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-HVJIITL4.js";
13
+ } from "./chunk-PKZJZWYN.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-HI5YJFKW.js";
19
+ } from "./chunk-JP3S4FPO.js";
20
20
 
21
21
  // src/tool-hook-input.ts
22
22
  var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
@@ -7,7 +7,7 @@ import {
7
7
  recordSealerFor,
8
8
  uploadTranscriptRecords,
9
9
  wrapSessionKey
10
- } from "./chunk-5MITA7MU.js";
10
+ } from "./chunk-R5ZFWL4F.js";
11
11
 
12
12
  // src/live-session.ts
13
13
  var MAX_TRANSCRIPT_QUEUE = 100;
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-HI5YJFKW.js";
12
+ } from "./chunk-JP3S4FPO.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-2M7FELUY.js";
3
+ } from "./chunk-CFZRNQIQ.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-HI5YJFKW.js";
6
+ } from "./chunk-JP3S4FPO.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-2M7FELUY.js";
3
+ } from "./chunk-CFZRNQIQ.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeJsonAtomic
7
- } from "./chunk-T5I4PKOQ.js";
7
+ } from "./chunk-TODDEIYG.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-HI5YJFKW.js";
10
+ } from "./chunk-JP3S4FPO.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;", "&");
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-E27MPYOC.js";
3
+ } from "./chunk-VTT7U6TJ.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-2M7FELUY.js";
6
+ } from "./chunk-CFZRNQIQ.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-YU2EUD7O.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-HI5YJFKW.js";
16
+ } from "./chunk-JP3S4FPO.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;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readOwnerOnlyJson,
3
3
  transcriptReadPositionSchema
4
- } from "./chunk-HXBQTPKC.js";
4
+ } from "./chunk-GVSIVBVT.js";
5
5
  import {
6
6
  external_exports
7
7
  } from "./chunk-XMSDA5WA.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-J35EMNLD.js";
3
+ } from "./chunk-OOCIVAMY.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-HI5YJFKW.js";
6
+ } from "./chunk-JP3S4FPO.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-LCFSGKQW.js";
3
+ } from "./chunk-WLRSM634.js";
4
4
  import {
5
5
  readJsonSafe
6
- } from "./chunk-T5I4PKOQ.js";
6
+ } from "./chunk-TODDEIYG.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-HI5YJFKW.js";
9
+ } from "./chunk-JP3S4FPO.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  claudeSettingsLocationFor,
3
3
  readClaudePermissionRules
4
- } from "./chunk-YZHVM5LY.js";
4
+ } from "./chunk-BWYZ3YZM.js";
5
5
  import {
6
6
  askAgentQuestions,
7
7
  defersToNativeMode,
8
8
  outcomeOfFailedAsk,
9
9
  storedWaitDeadline
10
- } from "./chunk-K256TL7E.js";
10
+ } from "./chunk-AHHPHJOE.js";
11
11
  import {
12
12
  reportMachineDenial
13
- } from "./chunk-PWC4IK4J.js";
13
+ } from "./chunk-Y57QT5SH.js";
14
14
  import {
15
15
  isGatingMoment,
16
16
  recordKeylessMoment
17
- } from "./chunk-7EYXAM63.js";
17
+ } from "./chunk-TSZDE5NK.js";
18
18
  import {
19
19
  isAdmitted,
20
20
  readAdmissionRules
21
- } from "./chunk-HHI3MSJJ.js";
21
+ } from "./chunk-NQSQC5OC.js";
22
22
  import {
23
23
  isDeferAnswer,
24
24
  oncePerSession
25
- } from "./chunk-44ONTVVI.js";
25
+ } from "./chunk-3EXJMRSC.js";
26
26
  import {
27
27
  activeHookSource,
28
28
  activeIdentity,
29
29
  namedSource
30
- } from "./chunk-KEJFRU2Q.js";
30
+ } from "./chunk-7H2RWOO2.js";
31
31
  import {
32
32
  DEFAULT_SESSION,
33
33
  approvalAwaitingRetry,
@@ -48,7 +48,7 @@ import {
48
48
  settleQuestionsForToolUse,
49
49
  sweepFilesOlderThan,
50
50
  userScope
51
- } from "./chunk-GFCAZD2W.js";
51
+ } from "./chunk-XXCJY3KQ.js";
52
52
  import {
53
53
  UNNAMED_ACTION,
54
54
  deriveAction,
@@ -59,12 +59,12 @@ import {
59
59
  patchDeletesFiles,
60
60
  permissionDeniedAction,
61
61
  scopePathFor
62
- } from "./chunk-7OSBFMRV.js";
62
+ } from "./chunk-UZCD6OFJ.js";
63
63
  import {
64
64
  branchFor,
65
65
  repoKeyFor,
66
66
  repositoryScopeFor
67
- } from "./chunk-2QWQCU7L.js";
67
+ } from "./chunk-R4JOCIQM.js";
68
68
  import {
69
69
  askUser,
70
70
  cancelQuestion,
@@ -81,20 +81,20 @@ import {
81
81
  waitForQuestion,
82
82
  waitsForThePhone,
83
83
  withdrawQuestion
84
- } from "./chunk-HVJIITL4.js";
84
+ } from "./chunk-PKZJZWYN.js";
85
85
  import {
86
86
  getMachineId
87
- } from "./chunk-TQBYF3W6.js";
87
+ } from "./chunk-BNJ4H57M.js";
88
88
  import {
89
89
  getApiKey,
90
90
  getBaseUrl
91
- } from "./chunk-2M7FELUY.js";
91
+ } from "./chunk-CFZRNQIQ.js";
92
92
  import {
93
93
  writeFileAtomic
94
- } from "./chunk-T5I4PKOQ.js";
94
+ } from "./chunk-TODDEIYG.js";
95
95
  import {
96
96
  NPX_LATEST_COMMAND
97
- } from "./chunk-5S32WI3B.js";
97
+ } from "./chunk-V4OLQBSN.js";
98
98
  import {
99
99
  AGENT_QUESTION_STRATEGY,
100
100
  AGENT_QUESTION_TOOL,
@@ -163,7 +163,7 @@ import {
163
163
  timeoutActionWithoutLocalPrompt,
164
164
  unansweredRefusalReason,
165
165
  unapprovedScopeReason
166
- } from "./chunk-HI5YJFKW.js";
166
+ } from "./chunk-JP3S4FPO.js";
167
167
 
168
168
  // src/terminal-answer-watch.ts
169
169
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -6,21 +6,21 @@ import {
6
6
  McpToolError,
7
7
  SubscriptionRequiredError,
8
8
  callMcpTool
9
- } from "./chunk-ALRDG7SI.js";
9
+ } from "./chunk-3SREEE2O.js";
10
+ import {
11
+ fetchAsCredential
12
+ } from "./chunk-44ZTLOVE.js";
10
13
  import {
11
14
  installNetworkDefaults,
12
15
  isNetworkFailure
13
- } from "./chunk-E27MPYOC.js";
14
- import {
15
- fetchAsCredential
16
- } from "./chunk-E5LU5MJ2.js";
16
+ } from "./chunk-VTT7U6TJ.js";
17
17
  import {
18
18
  clientReportClaims
19
- } from "./chunk-LCFSGKQW.js";
19
+ } from "./chunk-WLRSM634.js";
20
20
  import {
21
21
  getApiKey,
22
22
  getBaseUrl
23
- } from "./chunk-2M7FELUY.js";
23
+ } from "./chunk-CFZRNQIQ.js";
24
24
  import {
25
25
  ASK_AGENT_NAME_MAX,
26
26
  CLIENT_REPORT_PATH,
@@ -29,7 +29,7 @@ import {
29
29
  TOOL_FAILURE_CODES,
30
30
  degradedLine,
31
31
  truncateLine
32
- } from "./chunk-HI5YJFKW.js";
32
+ } from "./chunk-JP3S4FPO.js";
33
33
 
34
34
  // src/api.ts
35
35
  import { randomUUID } from "crypto";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-BG4HHB7E.js";
8
8
  import {
9
9
  redactSecretsFromContent
10
- } from "./chunk-HI5YJFKW.js";
10
+ } from "./chunk-JP3S4FPO.js";
11
11
 
12
12
  // src/cli/json.ts
13
13
  var writeStdoutFully = (text) => new Promise((resolve, reject) => {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  openCodeConfigDirFrom
3
- } from "./chunk-X4MUM7JK.js";
3
+ } from "./chunk-TFHTZ6GE.js";
4
4
  import {
5
5
  nativeClaudeInstallPath
6
- } from "./chunk-ROVLRXBI.js";
6
+ } from "./chunk-CYTPQDQY.js";
7
7
  import {
8
8
  grokHome
9
- } from "./chunk-KEJFRU2Q.js";
9
+ } from "./chunk-7H2RWOO2.js";
10
10
  import {
11
11
  claudeConfigDir,
12
12
  clineDataDirectory,
13
13
  codexHomeFrom
14
- } from "./chunk-LCFSGKQW.js";
14
+ } from "./chunk-WLRSM634.js";
15
15
  import {
16
16
  HOOK_COMPATIBLE_PROFILES
17
- } from "./chunk-HI5YJFKW.js";
17
+ } from "./chunk-JP3S4FPO.js";
18
18
 
19
19
  // src/vscode-config.ts
20
20
  import { homedir } from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigFileKey
3
- } from "./chunk-SZV5SLSD.js";
3
+ } from "./chunk-6X2O5QI7.js";
4
4
 
5
5
  // src/bell/fleet.ts
6
6
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-BZUQXL43.js";
3
+ } from "./chunk-EFTS75PF.js";
4
4
  import {
5
5
  retryAgentCommand
6
- } from "./chunk-2FIS7KDD.js";
6
+ } from "./chunk-KWFZUAET.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-5S32WI3B.js";
9
+ } from "./chunk-V4OLQBSN.js";
10
10
 
11
11
  // src/setup/codex-trust.ts
12
12
  var CODEX_TRUST_TELEMETRY = {
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-HI5YJFKW.js";
5
+ } from "./chunk-JP3S4FPO.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-IRZNQAQO.js";
3
+ } from "./chunk-VSNVDY55.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-VRUVMUHN.js";
6
+ } from "./chunk-OUTWFS6J.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-2FIS7KDD.js";
10
+ } from "./chunk-KWFZUAET.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-BG4HHB7E.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-5S32WI3B.js";
16
+ } from "./chunk-V4OLQBSN.js";
17
17
 
18
18
  // src/setup/closing.ts
19
19
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-XMSDA5WA.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-E5LU5MJ2.js";
6
+ } from "./chunk-44ZTLOVE.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-2M7FELUY.js";
9
+ } from "./chunk-CFZRNQIQ.js";
10
10
  import {
11
11
  compressTranscriptRecord,
12
12
  redactSecretsFromContent,
13
13
  transcriptRecordPlaintext
14
- } from "./chunk-HI5YJFKW.js";
14
+ } from "./chunk-JP3S4FPO.js";
15
15
 
16
16
  // src/transcript-api.ts
17
17
  var providerRecipientSchema = external_exports.object({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-LCFSGKQW.js";
3
+ } from "./chunk-WLRSM634.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";