pushary 1.9.206 → 1.9.207

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 (144) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{api-6QQE4PNY.js → api-OQGHZCAM.js} +11 -11
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +28 -28
  5. package/dist/bin/pushary-bell.js +12 -12
  6. package/dist/bin/pushary-calls.js +15 -15
  7. package/dist/bin/pushary-claude.js +27 -27
  8. package/dist/bin/pushary-clean.js +39 -39
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  10. package/dist/bin/pushary-codex-hook.js +36 -36
  11. package/dist/bin/pushary-codex-session.js +8 -8
  12. package/dist/bin/pushary-codex.js +16 -16
  13. package/dist/bin/pushary-connect.js +35 -35
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +47 -47
  16. package/dist/bin/pushary-disconnect.js +30 -30
  17. package/dist/bin/pushary-display-hook.js +3 -2
  18. package/dist/bin/pushary-doctor.js +47 -47
  19. package/dist/bin/pushary-elicitation-hook.js +28 -28
  20. package/dist/bin/pushary-gemini-bridge.js +18 -18
  21. package/dist/bin/pushary-gemini-hook.js +32 -32
  22. package/dist/bin/pushary-hook.js +36 -36
  23. package/dist/bin/pushary-login.js +22 -22
  24. package/dist/bin/pushary-logout.js +30 -30
  25. package/dist/bin/pushary-mcp.js +12 -12
  26. package/dist/bin/pushary-mode.js +16 -16
  27. package/dist/bin/pushary-notification-hook.js +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +22 -22
  29. package/dist/bin/pushary-opencode-hook.js +34 -34
  30. package/dist/bin/pushary-permission-denied-hook.js +36 -36
  31. package/dist/bin/pushary-permission-hook.js +36 -36
  32. package/dist/bin/pushary-post-hook.js +28 -28
  33. package/dist/bin/pushary-prompt-hook.js +27 -27
  34. package/dist/bin/pushary-session-end-hook.js +27 -27
  35. package/dist/bin/pushary-session-start-hook.js +40 -40
  36. package/dist/bin/pushary-sessions.js +14 -14
  37. package/dist/bin/pushary-setup.js +58 -58
  38. package/dist/bin/pushary-stats.js +5 -5
  39. package/dist/bin/pushary-status.js +36 -36
  40. package/dist/bin/pushary-stop-hook.js +27 -27
  41. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  42. package/dist/bin/pushary-suggestions.js +16 -16
  43. package/dist/bin/pushary-transcript-register.js +17 -17
  44. package/dist/bin/pushary-transcripts.js +25 -25
  45. package/dist/bin/pushary-upgrade.js +47 -47
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-ILI3DBQH.js → chunk-23KAHWRD.js} +4 -4
  49. package/dist/{chunk-NJI4OAS2.js → chunk-2JGMB3SB.js} +2 -2
  50. package/dist/{chunk-WW4M6BTR.js → chunk-34IIVC72.js} +3 -3
  51. package/dist/{chunk-VIM2IXHL.js → chunk-3AJPKS6R.js} +4 -4
  52. package/dist/{chunk-374YKOJZ.js → chunk-3BSM7YIT.js} +7 -7
  53. package/dist/{chunk-7VXGU2HE.js → chunk-46I2TSIX.js} +2 -2
  54. package/dist/{chunk-PGGYS32J.js → chunk-4L5NHOG6.js} +1 -1
  55. package/dist/{chunk-QD2LGUZ4.js → chunk-4LB6OHWL.js} +2 -2
  56. package/dist/{chunk-KNCMUCKG.js → chunk-6VRVLIAL.js} +1 -1
  57. package/dist/{chunk-ZERUCHT6.js → chunk-7AIZCVGP.js} +4 -4
  58. package/dist/{chunk-7SNBOQDD.js → chunk-7DQA3DGV.js} +2 -2
  59. package/dist/{chunk-OHGH7225.js → chunk-7E3NC6AB.js} +5 -5
  60. package/dist/{chunk-7BTNS54A.js → chunk-7FURGR5F.js} +56 -49
  61. package/dist/{chunk-B4J3OPKE.js → chunk-A7UD7XSP.js} +2 -2
  62. package/dist/{chunk-QZZU4VHH.js → chunk-AARX5V6Y.js} +1 -1
  63. package/dist/{chunk-FBFAOF2S.js → chunk-ALV7S2OU.js} +2 -2
  64. package/dist/{chunk-T3JIFRZW.js → chunk-ASNNUZUU.js} +5 -5
  65. package/dist/{chunk-W7OEJNMQ.js → chunk-AWTWNCXH.js} +3 -3
  66. package/dist/{chunk-JZOXTGTD.js → chunk-B4PMU5A2.js} +3 -3
  67. package/dist/{chunk-4YFM5JLG.js → chunk-BJKZOWNO.js} +1 -1
  68. package/dist/{chunk-RG3REA2Y.js → chunk-BKXVAQ6Z.js} +1 -1
  69. package/dist/{chunk-PTHC2H7E.js → chunk-C3QY6W2L.js} +1 -1
  70. package/dist/{chunk-6GG6MQMG.js → chunk-CZIWGRCR.js} +7 -7
  71. package/dist/{chunk-6P5E737B.js → chunk-D4JBP7SF.js} +5 -5
  72. package/dist/{chunk-CFPJRYNK.js → chunk-DL7B4HOL.js} +1 -1
  73. package/dist/{chunk-RMNOELSS.js → chunk-E7BUSVSF.js} +1 -1
  74. package/dist/{chunk-AZMZ2NJI.js → chunk-ECFMVEJN.js} +5 -5
  75. package/dist/{chunk-IAHDERLU.js → chunk-EE2IOAJL.js} +4 -4
  76. package/dist/{chunk-52OHO3HH.js → chunk-EO7HEPOS.js} +1 -1
  77. package/dist/{chunk-EAUVJCVF.js → chunk-F6G6MJOE.js} +12 -12
  78. package/dist/{chunk-AV5527GL.js → chunk-FDLVWVI6.js} +5 -5
  79. package/dist/{chunk-SCZELAXA.js → chunk-FI6WFUYB.js} +1 -1
  80. package/dist/{chunk-VOE5ZSX4.js → chunk-G5KGNWYN.js} +6 -6
  81. package/dist/{chunk-KKEOD7P5.js → chunk-GCM5SG22.js} +5 -5
  82. package/dist/{chunk-6H4WJILH.js → chunk-GJAC452A.js} +2 -2
  83. package/dist/{chunk-7QMNQT64.js → chunk-GRCMWCKW.js} +6 -6
  84. package/dist/{chunk-JEPFKTY6.js → chunk-H4NCGQ6M.js} +18 -18
  85. package/dist/{chunk-HNSTXU6Y.js → chunk-H7ZEJ7PG.js} +1 -1
  86. package/dist/{chunk-SXMJ7NAN.js → chunk-HEHJHZFM.js} +1 -1
  87. package/dist/{chunk-MM3ZPQZV.js → chunk-HMOMXNDP.js} +3 -3
  88. package/dist/{chunk-Z2GHBFXB.js → chunk-INAZLJTQ.js} +4 -4
  89. package/dist/{chunk-EOMDWPLU.js → chunk-JQ5WAWOE.js} +5 -5
  90. package/dist/{chunk-UFJYOMYO.js → chunk-KG43UTQ2.js} +4 -4
  91. package/dist/{chunk-HTMMJASM.js → chunk-L6B4DLQO.js} +5 -0
  92. package/dist/{chunk-X6PSPWE3.js → chunk-L6LU4H7R.js} +4 -4
  93. package/dist/{chunk-2DIEYUSU.js → chunk-LK4HFUV6.js} +3 -3
  94. package/dist/{chunk-OWNTJUBD.js → chunk-LLNMDPR7.js} +1 -1
  95. package/dist/{chunk-QSVIT62Y.js → chunk-LPHOIJ4S.js} +1 -1
  96. package/dist/{chunk-BTCC3RCQ.js → chunk-LUGBS7V4.js} +21 -13
  97. package/dist/{chunk-KVLEIPFD.js → chunk-LVBQYJRU.js} +2 -2
  98. package/dist/{chunk-K3Y4WQJX.js → chunk-MYZHMNEH.js} +13 -13
  99. package/dist/{chunk-XMEOARX4.js → chunk-ND7BLHMD.js} +2 -2
  100. package/dist/{chunk-U4DHOTAK.js → chunk-NK4UHW56.js} +8 -8
  101. package/dist/{chunk-OOK2D7YI.js → chunk-NMJ6SQFI.js} +2 -2
  102. package/dist/{chunk-3NGBANTY.js → chunk-NNII26E4.js} +1 -1
  103. package/dist/{chunk-O33SA2U7.js → chunk-NTQ7PFJZ.js} +9 -9
  104. package/dist/{chunk-XVKT6YXA.js → chunk-O22WQ66A.js} +5 -5
  105. package/dist/{chunk-AORWV5JK.js → chunk-OSUDHXL7.js} +1 -1
  106. package/dist/{chunk-X6DBORWU.js → chunk-OVON5YBI.js} +2 -2
  107. package/dist/{chunk-HS4RZZRG.js → chunk-OYZYQQUF.js} +1 -1
  108. package/dist/{chunk-B4GSS6UW.js → chunk-PD2MPKLL.js} +6 -6
  109. package/dist/{chunk-EQM4THGD.js → chunk-RI4OOD7K.js} +5 -5
  110. package/dist/{chunk-SZ2HXE6F.js → chunk-RWNBIHHC.js} +3 -3
  111. package/dist/{chunk-RYT23NAI.js → chunk-TCU4624H.js} +3 -3
  112. package/dist/{chunk-AU3PCXV3.js → chunk-UASIAAK5.js} +6 -6
  113. package/dist/{chunk-66JDRFIJ.js → chunk-V6FFLFHU.js} +2 -2
  114. package/dist/{chunk-322DR4ZT.js → chunk-VBMTM42J.js} +1 -1
  115. package/dist/{chunk-4FBETQHZ.js → chunk-VLDTEALG.js} +1 -1
  116. package/dist/{chunk-WCFTTXTD.js → chunk-VTRBQQEB.js} +2 -2
  117. package/dist/{chunk-CBBRVY77.js → chunk-W76XEEKZ.js} +1 -1
  118. package/dist/{chunk-SH2WBJ5M.js → chunk-W77QD3FO.js} +1 -1
  119. package/dist/{chunk-YYPGDGXG.js → chunk-WD6TMDDW.js} +2 -2
  120. package/dist/{chunk-UC56EZPU.js → chunk-WUVXIYCU.js} +6 -6
  121. package/dist/{chunk-RAB3PLLF.js → chunk-XHEACCRG.js} +3 -3
  122. package/dist/{chunk-YYYHTH3C.js → chunk-XUZDE4CL.js} +3 -3
  123. package/dist/{chunk-MX6HK3UN.js → chunk-XYIFGVRS.js} +3 -3
  124. package/dist/{chunk-ZVNIVZKH.js → chunk-YAANG34I.js} +4 -4
  125. package/dist/{chunk-DISUP6T3.js → chunk-YSLO2TYJ.js} +5 -5
  126. package/dist/{chunk-75MSER3U.js → chunk-YYOH2BDS.js} +1 -1
  127. package/dist/{chunk-5JRBOJYW.js → chunk-Z5FCLO72.js} +1 -1
  128. package/dist/{chunk-RILOBL2B.js → chunk-ZCAVVFIK.js} +2 -2
  129. package/dist/{chunk-BXABKD25.js → chunk-ZNISK76S.js} +4 -4
  130. package/dist/{codex-app-cards-switch-DSGF2RO7.js → codex-app-cards-switch-JDDHXIEC.js} +11 -11
  131. package/dist/{codex-card-routing-7NYNHVLU.js → codex-card-routing-BHT63BYK.js} +2 -2
  132. package/dist/{codex-desktop-launch-DWA3ET37.js → codex-desktop-launch-W65BJOIH.js} +1 -1
  133. package/dist/{codex-session-launch-QXGOMDP5.js → codex-session-launch-DKE7RE6G.js} +20 -20
  134. package/dist/{config-NJ6EGXZF.js → config-F3HTRAHA.js} +3 -3
  135. package/dist/{global-upgrade-QTCISU4G.js → global-upgrade-ZVBINYHG.js} +9 -9
  136. package/dist/{identity-CJAHB4I3.js → identity-FPFWBY3O.js} +4 -4
  137. package/dist/{live-capabilities-UMETUHH3.js → live-capabilities-OEI72HTJ.js} +4 -4
  138. package/dist/{paths-QIQFTXCS.js → paths-3QC3ZZ7Y.js} +3 -3
  139. package/dist/reapply-3NGF4HQW.js +75 -0
  140. package/dist/src/index.js +35 -35
  141. package/dist/{upgrade-lock-K5J7ZDHT.js → upgrade-lock-A64U4P54.js} +4 -4
  142. package/dist/{usage-NEZ2357Z.js → usage-LQQQQMW3.js} +3 -3
  143. package/package.json +1 -1
  144. package/dist/reapply-QYKTRBVN.js +0 -75
@@ -3,10 +3,10 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-XMEOARX4.js";
6
+ } from "./chunk-ND7BLHMD.js";
7
7
  import {
8
8
  phoneStartIsRequired
9
- } from "./chunk-YYYHTH3C.js";
9
+ } from "./chunk-XUZDE4CL.js";
10
10
  import {
11
11
  describeAutoUpdateCheck,
12
12
  globalInstallLocation,
@@ -18,12 +18,12 @@ import {
18
18
  readAutoUpdateState,
19
19
  updateAutoUpdateState,
20
20
  upgradeEntryFor
21
- } from "./chunk-YYPGDGXG.js";
21
+ } from "./chunk-WD6TMDDW.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-FBFAOF2S.js";
26
+ } from "./chunk-ALV7S2OU.js";
27
27
  import {
28
28
  describeReleaseNpmHolds,
29
29
  execNpm,
@@ -33,10 +33,10 @@ import {
33
33
  npmExitedOnReleaseAge,
34
34
  readGlobalCliInstallAt,
35
35
  readGlobalPrefix
36
- } from "./chunk-Z2GHBFXB.js";
36
+ } from "./chunk-INAZLJTQ.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-SCZELAXA.js";
39
+ } from "./chunk-FI6WFUYB.js";
40
40
  import {
41
41
  EXIT
42
42
  } from "./chunk-BG4HHB7E.js";
@@ -18,18 +18,18 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-7BTNS54A.js";
21
+ } from "./chunk-7FURGR5F.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-MM3ZPQZV.js";
26
+ } from "./chunk-HMOMXNDP.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-SZ2HXE6F.js";
29
+ } from "./chunk-RWNBIHHC.js";
30
30
  import {
31
31
  configFilePath
32
- } from "./chunk-RG3REA2Y.js";
32
+ } from "./chunk-BKXVAQ6Z.js";
33
33
  import {
34
34
  readJsonSafe,
35
35
  writeJsonAtomic
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  readSetupOutcomeProperties,
39
39
  redactSecretsFromContent
40
- } from "./chunk-HTMMJASM.js";
40
+ } from "./chunk-L6B4DLQO.js";
41
41
 
42
42
  // src/hermes/shell-gate.ts
43
43
  var readHermesShellGate = async (launcher) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-2DIEYUSU.js";
3
+ } from "./chunk-LK4HFUV6.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-HTMMJASM.js";
6
+ } from "./chunk-L6B4DLQO.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-UC56EZPU.js";
17
+ } from "./chunk-WUVXIYCU.js";
18
18
  import {
19
19
  describeRevokeAttempt,
20
20
  keyNoLongerAccepted,
@@ -29,20 +29,20 @@ import {
29
29
  isCI,
30
30
  terminalColumns,
31
31
  useColor
32
- } from "./chunk-PTHC2H7E.js";
32
+ } from "./chunk-C3QY6W2L.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-2DIEYUSU.js";
35
+ } from "./chunk-LK4HFUV6.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-B4J3OPKE.js";
38
+ } from "./chunk-A7UD7XSP.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-SCZELAXA.js";
41
+ } from "./chunk-FI6WFUYB.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-HTMMJASM.js";
45
+ } from "./chunk-L6B4DLQO.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -2,39 +2,39 @@ import {
2
2
  forgetPhoneApproval,
3
3
  rememberPhoneApproval,
4
4
  takePhoneApproval
5
- } from "./chunk-WCFTTXTD.js";
5
+ } from "./chunk-VTRBQQEB.js";
6
6
  import {
7
7
  claudeSettingsLocationFor,
8
8
  readClaudePermissionRules
9
- } from "./chunk-OOK2D7YI.js";
9
+ } from "./chunk-NMJ6SQFI.js";
10
10
  import {
11
11
  defersToNativeMode
12
- } from "./chunk-HNSTXU6Y.js";
12
+ } from "./chunk-H7ZEJ7PG.js";
13
13
  import {
14
14
  askAgentQuestions,
15
15
  outcomeOfFailedAsk,
16
16
  storedWaitDeadline
17
- } from "./chunk-OHGH7225.js";
17
+ } from "./chunk-7E3NC6AB.js";
18
18
  import {
19
19
  reportMachineDenial
20
- } from "./chunk-ZVNIVZKH.js";
20
+ } from "./chunk-YAANG34I.js";
21
21
  import {
22
22
  isGatingMoment,
23
23
  recordKeylessMoment
24
- } from "./chunk-CFPJRYNK.js";
24
+ } from "./chunk-DL7B4HOL.js";
25
25
  import {
26
26
  isAdmitted,
27
27
  readAdmissionRules
28
- } from "./chunk-EQM4THGD.js";
28
+ } from "./chunk-RI4OOD7K.js";
29
29
  import {
30
30
  isDeferAnswer,
31
31
  oncePerSession
32
- } from "./chunk-OWNTJUBD.js";
32
+ } from "./chunk-LLNMDPR7.js";
33
33
  import {
34
34
  activeHookSource,
35
35
  activeIdentity,
36
36
  namedSource
37
- } from "./chunk-6P5E737B.js";
37
+ } from "./chunk-D4JBP7SF.js";
38
38
  import {
39
39
  DEFAULT_SESSION,
40
40
  approvalAwaitingRetry,
@@ -58,7 +58,7 @@ import {
58
58
  settleQuestionsForToolUse,
59
59
  sweepFilesOlderThan,
60
60
  userScope
61
- } from "./chunk-EAUVJCVF.js";
61
+ } from "./chunk-F6G6MJOE.js";
62
62
  import {
63
63
  UNNAMED_ACTION,
64
64
  deriveAction,
@@ -69,7 +69,7 @@ import {
69
69
  patchDeletesFiles,
70
70
  permissionDeniedAction,
71
71
  scopePathFor
72
- } from "./chunk-HS4RZZRG.js";
72
+ } from "./chunk-OYZYQQUF.js";
73
73
  import {
74
74
  askUser,
75
75
  cancelQuestion,
@@ -86,29 +86,29 @@ import {
86
86
  waitForQuestion,
87
87
  waitsForThePhone,
88
88
  withdrawQuestion
89
- } from "./chunk-B4GSS6UW.js";
89
+ } from "./chunk-PD2MPKLL.js";
90
90
  import {
91
91
  branchFor,
92
92
  projectNameFor,
93
93
  repoKeyFor,
94
94
  repositoryScopeFor
95
- } from "./chunk-5JRBOJYW.js";
95
+ } from "./chunk-Z5FCLO72.js";
96
96
  import {
97
97
  getMachineId
98
- } from "./chunk-4FBETQHZ.js";
98
+ } from "./chunk-VLDTEALG.js";
99
99
  import {
100
100
  POSTTOOLUSE_MIRRORED_TOOLS
101
- } from "./chunk-FBFAOF2S.js";
101
+ } from "./chunk-ALV7S2OU.js";
102
102
  import {
103
103
  getApiKey,
104
104
  getBaseUrl
105
- } from "./chunk-RG3REA2Y.js";
105
+ } from "./chunk-BKXVAQ6Z.js";
106
106
  import {
107
107
  writeFileAtomic
108
108
  } from "./chunk-PM2NRK6Y.js";
109
109
  import {
110
110
  NPX_LATEST_COMMAND
111
- } from "./chunk-SCZELAXA.js";
111
+ } from "./chunk-FI6WFUYB.js";
112
112
  import {
113
113
  AGENT_QUESTION_STRATEGY,
114
114
  AGENT_QUESTION_TOOL,
@@ -182,7 +182,7 @@ import {
182
182
  timeoutActionWithoutLocalPrompt,
183
183
  unansweredRefusalReason,
184
184
  unapprovedScopeReason
185
- } from "./chunk-HTMMJASM.js";
185
+ } from "./chunk-L6B4DLQO.js";
186
186
 
187
187
  // src/terminal-answer-watch.ts
188
188
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  shouldDeferToNativeMode
3
- } from "./chunk-HTMMJASM.js";
3
+ } from "./chunk-L6B4DLQO.js";
4
4
 
5
5
  // src/native-defer.ts
6
6
  var nativeDeferOptions = () => {
@@ -6,7 +6,7 @@ import {
6
6
  OPENCODE_PLUGIN_PLACEHOLDER,
7
7
  OPENCODE_PLUGIN_SIBLING,
8
8
  OPENCODE_PLUGIN_SIBLING_CONTENTS
9
- } from "./chunk-PGGYS32J.js";
9
+ } from "./chunk-4L5NHOG6.js";
10
10
 
11
11
  // src/opencode-runtime-bundle.ts
12
12
  var openCodeRuntimeSource = `import { spawn } from 'child_process';
@@ -5,13 +5,13 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-FBFAOF2S.js";
8
+ } from "./chunk-ALV7S2OU.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-Z2GHBFXB.js";
11
+ } from "./chunk-INAZLJTQ.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-HTMMJASM.js";
14
+ } from "./chunk-L6B4DLQO.js";
15
15
 
16
16
  // src/openclaw/wiring-state.ts
17
17
  var OPENCLAW_PLUGIN_ID = "pushary";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-CXQWDQCJ.js";
20
20
  import {
21
21
  redactSecretsFromContent
22
- } from "./chunk-HTMMJASM.js";
22
+ } from "./chunk-L6B4DLQO.js";
23
23
 
24
24
  // src/shell-quote.ts
25
25
  var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
600
600
  }
601
601
  const started = (async () => {
602
602
  if (!npmIsOnPath()) throw new NpmMissingError();
603
- const { withUpgradeLock } = await import("./global-upgrade-QTCISU4G.js");
604
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-K5J7ZDHT.js");
605
- const { autoUpdateLock } = await import("./paths-QIQFTXCS.js");
603
+ const { withUpgradeLock } = await import("./global-upgrade-ZVBINYHG.js");
604
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-A64U4P54.js");
605
+ const { autoUpdateLock } = await import("./paths-3QC3ZZ7Y.js");
606
606
  let result = "skipped";
607
607
  const install = async () => {
608
608
  const planned = readPlannedSetupInstall(process.platform);
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-SZ2HXE6F.js";
7
+ } from "./chunk-RWNBIHHC.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-WW4M6BTR.js";
10
+ } from "./chunk-34IIVC72.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-RYT23NAI.js";
13
+ } from "./chunk-TCU4624H.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,10 +32,10 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-FBFAOF2S.js";
35
+ } from "./chunk-ALV7S2OU.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-Z2GHBFXB.js";
38
+ } from "./chunk-INAZLJTQ.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-6GG6MQMG.js";
3
+ } from "./chunk-CZIWGRCR.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-RYT23NAI.js";
6
+ } from "./chunk-TCU4624H.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-FBFAOF2S.js";
9
+ } from "./chunk-ALV7S2OU.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-PM2NRK6Y.js";
13
13
  import {
14
14
  isRecord,
15
15
  isValidApiKey
16
- } from "./chunk-HTMMJASM.js";
16
+ } from "./chunk-L6B4DLQO.js";
17
17
 
18
18
  // src/shared-mcp-key.ts
19
19
  var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
@@ -4070,6 +4070,10 @@ var ANSWER_DRAFT_TTL_MS = 24 * 60 * 60 * 1e3;
4070
4070
  // ../contracts/src/session-history.ts
4071
4071
  var SESSION_HISTORY_BACKFILL_LIMIT_BYTES = 2e7;
4072
4072
 
4073
+ // ../contracts/src/transcript-projection.ts
4074
+ var HERMES_VISIBLE_TEXT = "hermes-visible-text-v1";
4075
+ var isHermesVisibleContent = (content) => Array.isArray(content) && content.length > 0 && content.every((block) => block?.type === "text" && typeof block.text === "string" && block.visibility === HERMES_VISIBLE_TEXT);
4076
+
4073
4077
  // ../contracts/src/decision-lifetime.ts
4074
4078
  var DECISION_REMINDER_DELAY_MS = 10 * 60 * 1e3;
4075
4079
  var DECISION_CACHE_TTL_SECONDS = 10 * 60;
@@ -10489,6 +10493,7 @@ export {
10489
10493
  CALL_REFUSED_EVENT,
10490
10494
  callRefusalReasonWhenUnanswered,
10491
10495
  SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
10496
+ isHermesVisibleContent,
10492
10497
  PERSONAL_QUESTION_CAPABILITY,
10493
10498
  isQuestionOwner,
10494
10499
  CODEX_SHELL_COMMAND_FLAGS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-AORWV5JK.js";
3
+ } from "./chunk-OSUDHXL7.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-4YFM5JLG.js";
6
+ } from "./chunk-BJKZOWNO.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,13 +16,13 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-FBFAOF2S.js";
19
+ } from "./chunk-ALV7S2OU.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-HTMMJASM.js";
25
+ } from "./chunk-L6B4DLQO.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-RAB3PLLF.js";
3
+ } from "./chunk-XHEACCRG.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-RG3REA2Y.js";
6
+ } from "./chunk-BKXVAQ6Z.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-HTMMJASM.js";
16
+ } from "./chunk-L6B4DLQO.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,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-EAUVJCVF.js";
3
+ } from "./chunk-F6G6MJOE.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFinalCommandAckRefusal
3
- } from "./chunk-HTMMJASM.js";
3
+ } from "./chunk-L6B4DLQO.js";
4
4
 
5
5
  // src/command-ack-outcome.ts
6
6
  var SETTLED_ACK = { outcome: "settled" };
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
- } from "./chunk-AU3PCXV3.js";
6
+ } from "./chunk-UASIAAK5.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-X6PSPWE3.js";
9
+ } from "./chunk-L6LU4H7R.js";
10
10
  import {
11
11
  hookMeaning
12
- } from "./chunk-HS4RZZRG.js";
12
+ } from "./chunk-OYZYQQUF.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  changedRecipientsMessage,
@@ -24,7 +24,7 @@ import {
24
24
  uploadTranscriptRecords,
25
25
  verifyAnchoredRecipients,
26
26
  wrapSessionKey
27
- } from "./chunk-MX6HK3UN.js";
27
+ } from "./chunk-XYIFGVRS.js";
28
28
  import {
29
29
  external_exports,
30
30
  ownedOnlyByThisUser,
@@ -33,22 +33,22 @@ import {
33
33
  import {
34
34
  transcriptEnvironmentPreference,
35
35
  transcriptsEnabled
36
- } from "./chunk-KNCMUCKG.js";
36
+ } from "./chunk-6VRVLIAL.js";
37
37
  import {
38
38
  fetchAsCredential
39
- } from "./chunk-322DR4ZT.js";
39
+ } from "./chunk-VBMTM42J.js";
40
40
  import {
41
41
  readTranscriptPreference
42
- } from "./chunk-RYT23NAI.js";
42
+ } from "./chunk-TCU4624H.js";
43
43
  import {
44
44
  claudeConfigDir,
45
45
  codexHome,
46
46
  pusharyDir
47
- } from "./chunk-FBFAOF2S.js";
47
+ } from "./chunk-ALV7S2OU.js";
48
48
  import {
49
49
  getApiKey,
50
50
  getBaseUrl
51
- } from "./chunk-RG3REA2Y.js";
51
+ } from "./chunk-BKXVAQ6Z.js";
52
52
  import {
53
53
  writeJsonAtomic,
54
54
  writeJsonAtomicDurable
@@ -57,10 +57,11 @@ import {
57
57
  PENDING_COMMAND_PREFIX,
58
58
  SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
59
59
  canonicalJsonText,
60
+ isHermesVisibleContent,
60
61
  isHookSource,
61
62
  isRecord,
62
63
  redactSecretsFromContent
63
- } from "./chunk-HTMMJASM.js";
64
+ } from "./chunk-L6B4DLQO.js";
64
65
 
65
66
  // src/transcript-registration.ts
66
67
  import { createHash as createHash4 } from "crypto";
@@ -506,7 +507,7 @@ var parseCursorSnapshot = (text) => {
506
507
  return messages;
507
508
  };
508
509
  var historyBlock = external_exports.discriminatedUnion("type", [
509
- external_exports.object({ type: external_exports.literal("text"), text: external_exports.string() }),
510
+ external_exports.object({ type: external_exports.literal("text"), text: external_exports.string(), visibility: external_exports.string().optional() }),
510
511
  external_exports.object({ type: external_exports.literal("tool_use"), id: identity, name: external_exports.string(), input: external_exports.record(external_exports.string(), external_exports.unknown()) }),
511
512
  external_exports.object({ type: external_exports.literal("tool_result"), tool_use_id: identity, content: external_exports.unknown(), is_error: external_exports.boolean().optional() })
512
513
  ]);
@@ -516,7 +517,7 @@ var hermesSnapshot = external_exports.object({
516
517
  completed: external_exports.boolean().default(false),
517
518
  updatedAtMs: external_exports.number().int().positive(),
518
519
  error: external_exports.string().optional(),
519
- messages: external_exports.array(external_exports.object({ id: identity, role: external_exports.enum(["user", "assistant"]), timestamp, content: external_exports.array(historyBlock) })).max(5e3)
520
+ messages: external_exports.array(external_exports.object({ id: identity, role: external_exports.enum(["user", "assistant"]), timestamp, content: external_exports.array(historyBlock) })).max(25e3)
520
521
  });
521
522
  var TranscriptSourceUnavailable = class extends Error {
522
523
  };
@@ -524,6 +525,7 @@ var parseHermesSnapshot = (text, sessionId, nowMs) => {
524
525
  const snapshot = hermesSnapshot.parse(JSON.parse(text));
525
526
  if (snapshot.sessionId !== sessionId) throw new Error("Hermes history identity mismatch");
526
527
  if (snapshot.error || !snapshot.completed && nowMs - snapshot.updatedAtMs > 18e4 || snapshot.updatedAtMs > nowMs + 5e3) throw new TranscriptSourceUnavailable("Hermes history exporter is unavailable");
528
+ if (!snapshot.messages.every((message) => isHermesVisibleContent(message.content))) throw new TranscriptSourceUnavailable("Reopen Hermes to refresh its display history");
527
529
  return snapshot.messages;
528
530
  };
529
531
 
@@ -795,6 +797,12 @@ var appendOnlyReader = (path, source, epoch) => ({
795
797
  var UNCHANGED_SNAPSHOT_REREAD_MS = 6e4;
796
798
  var caughtUpReadStillCurrent = (caughtUp, version, nowMs) => caughtUp !== null && caughtUp.version === version && nowMs >= caughtUp.atMs && nowMs - caughtUp.atMs < UNCHANGED_SNAPSHOT_REREAD_MS;
797
799
  var UNCHANGED_SNAPSHOT_READ = { lines: [], acknowledge: () => "unchanged" };
800
+ var isVisibleHermesRevision = (line) => {
801
+ const record = JSON.parse(line);
802
+ if (!isRecord(record) || !isRecord(record.historySource)) return false;
803
+ if (record.historySource.removed === true) return !("historyMessage" in record);
804
+ return isRecord(record.historyMessage) && isHermesVisibleContent(record.historyMessage.content);
805
+ };
798
806
  var snapshotReader = (options, source) => {
799
807
  const { path, epoch } = options;
800
808
  const binding = createHash3("sha256").update(JSON.stringify([options.baseUrl, options.apiKey, options.machineId, options.sessionId, source, path])).digest("hex");
@@ -813,7 +821,7 @@ var snapshotReader = (options, source) => {
813
821
  if (version !== null && caughtUpReadStillCurrent(caughtUp, version, nowMs)) return UNCHANGED_SNAPSHOT_READ;
814
822
  const lines = pending ?? checkpoint.prepare(readTranscriptSnapshot(path, source, options.sessionId), oldestMessage, nowMs);
815
823
  return {
816
- lines,
824
+ lines: source === "hermes" && pending !== null ? lines.filter(isVisibleHermesRevision) : lines,
817
825
  acknowledge() {
818
826
  checkpoint.settle();
819
827
  const progress = version === null || sourceVersion(path) !== version ? "more" : "caught_up";
@@ -7,10 +7,10 @@ import {
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-FBFAOF2S.js";
10
+ } from "./chunk-ALV7S2OU.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-Z2GHBFXB.js";
13
+ } from "./chunk-INAZLJTQ.js";
14
14
  import {
15
15
  getPackageVersion
16
16
  } from "./chunk-CXQWDQCJ.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  hermesHistoryNeedsTheCliHelper,
3
3
  recordInstalledHermesHistoryHelper
4
- } from "./chunk-7VXGU2HE.js";
4
+ } from "./chunk-46I2TSIX.js";
5
5
  import {
6
6
  macAppHistoryDecision
7
7
  } from "./chunk-TWWOQKXK.js";
8
8
  import {
9
9
  ensureCodexTrustsPusharyHooks
10
- } from "./chunk-KVLEIPFD.js";
10
+ } from "./chunk-LVBQYJRU.js";
11
11
  import {
12
12
  hermesReceiptPaths,
13
13
  hermesSetupPredatesThePluginFolder,
@@ -16,7 +16,7 @@ import {
16
16
  refreshHermesPluginFiles,
17
17
  refreshOpenClawPlugin,
18
18
  shippedHermesPlugin
19
- } from "./chunk-7BTNS54A.js";
19
+ } from "./chunk-7FURGR5F.js";
20
20
  import {
21
21
  fxIgnoresInstructionsFile,
22
22
  fxInstructionsBody,
@@ -25,7 +25,7 @@ import {
25
25
  macAppFxBridge,
26
26
  refreshClineKey,
27
27
  switchFxHttpEntryToBridge
28
- } from "./chunk-EOMDWPLU.js";
28
+ } from "./chunk-JQ5WAWOE.js";
29
29
  import {
30
30
  OPENCODE_HOOK_BINARY,
31
31
  agentHookOwner,
@@ -38,16 +38,16 @@ import {
38
38
  openCodePluginDir,
39
39
  openCodeWired,
40
40
  withOpenCodeAskRules
41
- } from "./chunk-6GG6MQMG.js";
41
+ } from "./chunk-CZIWGRCR.js";
42
42
  import {
43
43
  detectClaudeVersion
44
- } from "./chunk-X6DBORWU.js";
44
+ } from "./chunk-OVON5YBI.js";
45
45
  import {
46
46
  addCompatibleHooks,
47
47
  compatibleConfigFile,
48
48
  compatibleInstructionsFile,
49
49
  hasCompatibleHooks
50
- } from "./chunk-6P5E737B.js";
50
+ } from "./chunk-D4JBP7SF.js";
51
51
  import {
52
52
  GEMINI_HOOK_BINARY,
53
53
  addGeminiHooks,
@@ -59,13 +59,13 @@ import {
59
59
  geminiWired,
60
60
  hasGeminiHooks,
61
61
  planHooks
62
- } from "./chunk-X6PSPWE3.js";
62
+ } from "./chunk-L6LU4H7R.js";
63
63
  import {
64
64
  transcriptsEnabled
65
- } from "./chunk-KNCMUCKG.js";
65
+ } from "./chunk-6VRVLIAL.js";
66
66
  import {
67
67
  KEY_FILE_MODE
68
- } from "./chunk-RYT23NAI.js";
68
+ } from "./chunk-TCU4624H.js";
69
69
  import {
70
70
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
71
71
  CLAUDE_HOOK_BINARY,
@@ -112,13 +112,13 @@ import {
112
112
  renderAgentInstructions,
113
113
  supportedClaudeEvents,
114
114
  vscodePluginMcp
115
- } from "./chunk-FBFAOF2S.js";
115
+ } from "./chunk-ALV7S2OU.js";
116
116
  import {
117
117
  formatVersion,
118
118
  hookCommandsUseBareNames,
119
119
  resolveGlobalBinDir,
120
120
  resolveGlobalBinary
121
- } from "./chunk-Z2GHBFXB.js";
121
+ } from "./chunk-INAZLJTQ.js";
122
122
  import {
123
123
  readJsonSafe,
124
124
  writeFileAtomic,
@@ -128,7 +128,7 @@ import {
128
128
  HOOK_COMPATIBLE_PROFILES,
129
129
  isCompatibleAgentType,
130
130
  isRecord
131
- } from "./chunk-HTMMJASM.js";
131
+ } from "./chunk-L6B4DLQO.js";
132
132
 
133
133
  // src/reapply.ts
134
134
  import { dirname, join } from "path";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-FBFAOF2S.js";
3
+ } from "./chunk-ALV7S2OU.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-Z2GHBFXB.js";
8
+ } from "./chunk-INAZLJTQ.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";