pushary 1.9.197 → 1.9.199

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 (155) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/data/SKILL.md +4 -4
  3. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  4. package/data/cursor-plugin/CHANGELOG.md +4 -0
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +3 -3
  6. package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
  7. package/data/vscode-plugin/CHANGELOG.md +4 -0
  8. package/data/vscode-plugin/skills/pushary/SKILL.md +3 -3
  9. package/dist/{api-7WWLO6B4.js → api-OUFAFWVY.js} +12 -12
  10. package/dist/bin/pushary-audit.js +4 -4
  11. package/dist/bin/pushary-bell-hook.js +31 -31
  12. package/dist/bin/pushary-bell.js +13 -13
  13. package/dist/bin/pushary-calls.js +16 -16
  14. package/dist/bin/pushary-claude.js +30 -30
  15. package/dist/bin/pushary-clean.js +41 -41
  16. package/dist/bin/pushary-codex-bridge.js +26 -26
  17. package/dist/bin/pushary-codex-hook.js +39 -39
  18. package/dist/bin/pushary-codex-session.js +8 -8
  19. package/dist/bin/pushary-codex.js +17 -17
  20. package/dist/bin/pushary-connect.js +37 -37
  21. package/dist/bin/pushary-cowork.js +6 -6
  22. package/dist/bin/pushary-daemon.js +51 -49
  23. package/dist/bin/pushary-disconnect.js +31 -31
  24. package/dist/bin/pushary-doctor.js +49 -49
  25. package/dist/bin/pushary-elicitation-hook.js +31 -31
  26. package/dist/bin/pushary-gemini-bridge.js +21 -21
  27. package/dist/bin/pushary-gemini-hook.js +35 -35
  28. package/dist/bin/pushary-hook.js +39 -39
  29. package/dist/bin/pushary-login.js +24 -24
  30. package/dist/bin/pushary-logout.js +31 -31
  31. package/dist/bin/pushary-mcp.js +13 -13
  32. package/dist/bin/pushary-mode.js +17 -17
  33. package/dist/bin/pushary-notification-hook.js +30 -30
  34. package/dist/bin/pushary-opencode-bridge.js +25 -25
  35. package/dist/bin/pushary-opencode-hook.js +37 -37
  36. package/dist/bin/pushary-permission-denied-hook.js +39 -39
  37. package/dist/bin/pushary-permission-hook.js +39 -39
  38. package/dist/bin/pushary-post-hook.js +31 -31
  39. package/dist/bin/pushary-prompt-hook.js +30 -30
  40. package/dist/bin/pushary-session-end-hook.js +30 -30
  41. package/dist/bin/pushary-session-start-hook.js +44 -42
  42. package/dist/bin/pushary-sessions.js +15 -15
  43. package/dist/bin/pushary-setup.js +106 -64
  44. package/dist/bin/pushary-stats.js +6 -6
  45. package/dist/bin/pushary-status.js +38 -38
  46. package/dist/bin/pushary-stop-hook.js +30 -30
  47. package/dist/bin/pushary-stopfailure-hook.js +30 -30
  48. package/dist/bin/pushary-suggestions.js +17 -17
  49. package/dist/bin/pushary-transcript-register.js +21 -21
  50. package/dist/bin/pushary-transcripts.js +31 -31
  51. package/dist/bin/pushary-upgrade.js +66 -48
  52. package/dist/bin/pushary-wait.js +17 -17
  53. package/dist/bin/pushary.js +8 -8
  54. package/dist/{chunk-UPGPPX7W.js → chunk-23W7FAZL.js} +5 -5
  55. package/dist/{chunk-AJ6Q42KT.js → chunk-247LVLEC.js} +3 -3
  56. package/dist/{chunk-VOCHDDKR.js → chunk-2BVH7JC7.js} +27 -12
  57. package/dist/{chunk-D4BHK52K.js → chunk-2SHEWMGU.js} +2 -2
  58. package/dist/{chunk-TFMIG3VP.js → chunk-3PSNUHC5.js} +1 -1
  59. package/dist/{chunk-LOQWIBVV.js → chunk-3RUQKPHU.js} +7 -7
  60. package/dist/{chunk-V4R37DFH.js → chunk-3XSDSKAX.js} +2 -2
  61. package/dist/{chunk-3ULFLONL.js → chunk-4DTKZQKO.js} +1 -1
  62. package/dist/{chunk-OPRRDN5R.js → chunk-4SHFFJTL.js} +7 -7
  63. package/dist/{chunk-PY3VOJQY.js → chunk-57E7NOZO.js} +4 -4
  64. package/dist/{chunk-OM7CKAVY.js → chunk-5STI67CK.js} +5 -5
  65. package/dist/{chunk-G3HAAQ65.js → chunk-6KMMY7DI.js} +25 -7
  66. package/dist/{chunk-ZDROZABP.js → chunk-6ZYUYRR2.js} +4 -4
  67. package/dist/{chunk-6ONF5BPB.js → chunk-72EKTJ2U.js} +6 -6
  68. package/dist/{chunk-ENEMHGBE.js → chunk-7SCBP4U7.js} +9 -9
  69. package/dist/{chunk-25CMVBTJ.js → chunk-A6TVXDTE.js} +3 -3
  70. package/dist/{chunk-DWLG2IIV.js → chunk-AQB2LUX5.js} +5 -5
  71. package/dist/{chunk-44SARVA4.js → chunk-AXJCUWLD.js} +6 -6
  72. package/dist/{chunk-5NFHLMY3.js → chunk-B3STTU5D.js} +5 -5
  73. package/dist/{chunk-5IPXL33D.js → chunk-BYYU5QS3.js} +1 -1
  74. package/dist/{chunk-5C74GHZG.js → chunk-CDWR23BU.js} +9 -9
  75. package/dist/{chunk-BXAVWEE4.js → chunk-CFWOZBUQ.js} +6 -6
  76. package/dist/{chunk-YJHBDJIW.js → chunk-CXQWDQCJ.js} +3 -0
  77. package/dist/{chunk-GHMCSDAN.js → chunk-DFA42X45.js} +4 -4
  78. package/dist/{chunk-5YJSZFZ6.js → chunk-DGZYM676.js} +1 -1
  79. package/dist/{chunk-MIO242ZB.js → chunk-DQGTFUXX.js} +5 -5
  80. package/dist/{chunk-LFCLDWHZ.js → chunk-ECG372D5.js} +1 -1
  81. package/dist/{chunk-HMMVGDL3.js → chunk-F75727GN.js} +2 -0
  82. package/dist/{chunk-GECCSAXS.js → chunk-FR7XIHSN.js} +11 -11
  83. package/dist/{chunk-EJJBM4OB.js → chunk-FUY7TPTQ.js} +1 -1
  84. package/dist/{chunk-IYYWAP6P.js → chunk-FWPN4AHK.js} +4 -4
  85. package/dist/{chunk-U2LLYPDS.js → chunk-HIPEE6RH.js} +4 -4
  86. package/dist/{chunk-GD6CBQ63.js → chunk-HN6ABA2B.js} +21 -4
  87. package/dist/{chunk-V3PMKMAO.js → chunk-HQUYQOWZ.js} +4 -4
  88. package/dist/{chunk-RE6TWTNY.js → chunk-I3ZOD5I4.js} +3 -3
  89. package/dist/{chunk-UVNH4UGJ.js → chunk-I4EHOHYH.js} +1 -1
  90. package/dist/{chunk-V6OR4WLF.js → chunk-JFUTFHB6.js} +8 -8
  91. package/dist/{chunk-YLMBNJWN.js → chunk-JKD642VE.js} +3 -3
  92. package/dist/{chunk-WNCTMTMG.js → chunk-JTZMPMXH.js} +1 -1
  93. package/dist/{chunk-5QP7DVQF.js → chunk-KCSTT6KQ.js} +1 -1
  94. package/dist/{chunk-SRIFCDTY.js → chunk-LECDW27E.js} +1 -1
  95. package/dist/{chunk-ERVXMMGO.js → chunk-LEUQ37WR.js} +2 -2
  96. package/dist/{chunk-VEE2MRUN.js → chunk-LGV3U2KK.js} +1 -1
  97. package/dist/{chunk-5AGLZUDK.js → chunk-LS2VJJFJ.js} +6 -6
  98. package/dist/{chunk-BLVTNQZV.js → chunk-LXWHMYOS.js} +3 -3
  99. package/dist/{chunk-KFSWRIH2.js → chunk-M2S6BBSR.js} +8 -7
  100. package/dist/{chunk-IYOA3NWO.js → chunk-MOCDN7B3.js} +1 -1
  101. package/dist/{chunk-VH5DPURH.js → chunk-MRG7AEJA.js} +1 -1
  102. package/dist/{chunk-QOWEXH34.js → chunk-O4E4ISTO.js} +2 -2
  103. package/dist/{chunk-CMQCKXCF.js → chunk-OK3GVZNU.js} +2 -2
  104. package/dist/{chunk-S5YA65CK.js → chunk-OMJ6ISJW.js} +2 -2
  105. package/dist/{chunk-EPNYDS4H.js → chunk-OPBYHXZP.js} +1 -1
  106. package/dist/{chunk-YLZRG4U5.js → chunk-P4VF3DZW.js} +1 -1
  107. package/dist/{chunk-55L4JSPA.js → chunk-P6DUWKAO.js} +1 -0
  108. package/dist/{chunk-J7D27BKP.js → chunk-PHFQV5MO.js} +12 -12
  109. package/dist/{chunk-UXQVXB7Q.js → chunk-PWJ2YNLB.js} +1 -1
  110. package/dist/{chunk-4BC4YDVL.js → chunk-Q7W4TEWC.js} +4 -4
  111. package/dist/{chunk-GZAU5W3K.js → chunk-QM3YURHW.js} +3 -3
  112. package/dist/{chunk-NFFWCJMJ.js → chunk-QOV5MVKT.js} +4 -4
  113. package/dist/{chunk-QQLYMBKM.js → chunk-RDECWGBJ.js} +2 -2
  114. package/dist/{chunk-ZSGTT4ME.js → chunk-RHQ5FDU4.js} +68 -15
  115. package/dist/{chunk-RDO4NPVU.js → chunk-RMWPSYJG.js} +2 -2
  116. package/dist/{chunk-TP47JHGJ.js → chunk-RXNQ3GJM.js} +1 -1
  117. package/dist/{chunk-6J4KRJP4.js → chunk-SJUE6CFP.js} +4 -4
  118. package/dist/{chunk-CH7WFVC5.js → chunk-SUUATETY.js} +1 -1
  119. package/dist/chunk-SYO4XLTG.js +74 -0
  120. package/dist/{chunk-PEUODRKS.js → chunk-TQDTYV27.js} +1 -1
  121. package/dist/{chunk-FAMKGTCF.js → chunk-TWWOQKXK.js} +1 -1
  122. package/dist/{chunk-DFTVEK72.js → chunk-TZD42VJP.js} +5 -5
  123. package/dist/{chunk-BQGNF6BN.js → chunk-UJERPPET.js} +2 -2
  124. package/dist/{chunk-N3TX5LLG.js → chunk-UQOEZQ6G.js} +3 -3
  125. package/dist/{chunk-UYAKT6PO.js → chunk-UUMBN6AU.js} +2 -2
  126. package/dist/{chunk-T776F2FQ.js → chunk-VCTMCQCU.js} +2 -2
  127. package/dist/{chunk-6EZY7IXB.js → chunk-VEOVR6Z2.js} +2 -2
  128. package/dist/{chunk-QGWVK7K7.js → chunk-VU7LK6KI.js} +18 -18
  129. package/dist/{chunk-VD57H3ZU.js → chunk-WFE2YHWQ.js} +2 -2
  130. package/dist/{chunk-REEDOBPH.js → chunk-WGGEF3XC.js} +5 -5
  131. package/dist/{chunk-LM26Y7DH.js → chunk-WHDNAGFI.js} +5 -5
  132. package/dist/{chunk-62YIQ2P2.js → chunk-WRZFEG6A.js} +3 -3
  133. package/dist/{chunk-ORV2JLNH.js → chunk-X3TBNXPX.js} +4 -4
  134. package/dist/{chunk-4TIZJD3Q.js → chunk-XKFL7XBP.js} +1 -1
  135. package/dist/{chunk-3ZUDRXVV.js → chunk-XQNSJWFD.js} +5 -5
  136. package/dist/{chunk-ZGS5TMMV.js → chunk-XTFN2YTA.js} +3 -3
  137. package/dist/{chunk-IC5BBT2K.js → chunk-YB64X4IQ.js} +1 -1
  138. package/dist/{chunk-M7O33GTP.js → chunk-YGRPTTER.js} +3 -3
  139. package/dist/{chunk-5JQQ5IQC.js → chunk-ZEVNSFFV.js} +4 -4
  140. package/dist/{codex-app-cards-switch-NCSFAEUY.js → codex-app-cards-switch-WV7RKIVN.js} +13 -13
  141. package/dist/{codex-card-routing-CJZT26VA.js → codex-card-routing-HQRJF2NY.js} +2 -2
  142. package/dist/{codex-desktop-launch-I6UPDWTQ.js → codex-desktop-launch-LDA7CWEX.js} +1 -1
  143. package/dist/{codex-session-launch-4OT4CC2W.js → codex-session-launch-LS75CYUV.js} +23 -23
  144. package/dist/{config-2AGOCKSO.js → config-WFIMGEI5.js} +4 -4
  145. package/dist/{global-upgrade-OG6RLR36.js → global-upgrade-XMQVRK7X.js} +10 -10
  146. package/dist/{identity-57VX4O7Z.js → identity-J5O4WLQQ.js} +5 -5
  147. package/dist/{live-capabilities-6SRTZJ5A.js → live-capabilities-JMVAIHR3.js} +5 -5
  148. package/dist/{paths-M47UHTQ4.js → paths-OFQDG25M.js} +4 -4
  149. package/dist/reapply-JTMPSOEG.js +75 -0
  150. package/dist/src/index.js +38 -38
  151. package/dist/{upgrade-lock-EIPMFXKR.js → upgrade-lock-77W22ICV.js} +5 -5
  152. package/dist/usage-MQWUFNYJ.js +11 -0
  153. package/package.json +1 -1
  154. package/dist/reapply-JZGPI6JU.js +0 -70
  155. package/dist/usage-YSVHDBHO.js +0 -11
@@ -6,38 +6,38 @@ import {
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "./chunk-PEUODRKS.js";
9
+ } from "./chunk-TQDTYV27.js";
10
10
  import {
11
11
  CommandReceipts,
12
12
  controllerCommandSchema
13
- } from "./chunk-6EZY7IXB.js";
13
+ } from "./chunk-VEOVR6Z2.js";
14
14
  import {
15
15
  SESSION_IDLE_TIMEOUT_MS,
16
16
  describeIdleWindow,
17
17
  idleDeadlinePassed,
18
18
  startProcessOwnership
19
- } from "./chunk-D4BHK52K.js";
19
+ } from "./chunk-2SHEWMGU.js";
20
20
  import {
21
21
  spawnClaude
22
- } from "./chunk-TFMIG3VP.js";
22
+ } from "./chunk-3PSNUHC5.js";
23
23
  import {
24
24
  isAskUserResponse,
25
25
  isDecisionStopped,
26
26
  isWaitForAnswerResponse,
27
27
  withdrawQuestion,
28
28
  writeDegraded
29
- } from "./chunk-5AGLZUDK.js";
29
+ } from "./chunk-LS2VJJFJ.js";
30
30
  import {
31
31
  readCommandAck
32
- } from "./chunk-5IPXL33D.js";
32
+ } from "./chunk-BYYU5QS3.js";
33
33
  import {
34
34
  callMcpTool,
35
35
  isRetryable
36
- } from "./chunk-MIO242ZB.js";
36
+ } from "./chunk-DQGTFUXX.js";
37
37
  import {
38
38
  projectNameFor,
39
39
  repositoryScopeFor
40
- } from "./chunk-VH5DPURH.js";
40
+ } from "./chunk-MRG7AEJA.js";
41
41
  import {
42
42
  AGENT_QUESTION_DESCRIPTION_MAX,
43
43
  AGENT_QUESTION_HEADER_MAX,
@@ -58,7 +58,7 @@ import {
58
58
  parseCodexQuestions,
59
59
  planElicitationAsk,
60
60
  readElicitationFields
61
- } from "./chunk-HMMVGDL3.js";
61
+ } from "./chunk-F75727GN.js";
62
62
 
63
63
  // src/codex-question-owner.ts
64
64
  import { createHash } from "crypto";
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-44SARVA4.js";
17
+ } from "./chunk-AXJCUWLD.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-5QP7DVQF.js";
32
+ } from "./chunk-KCSTT6KQ.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-GZAU5W3K.js";
35
+ } from "./chunk-QM3YURHW.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-UYAKT6PO.js";
38
+ } from "./chunk-UUMBN6AU.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-QQLYMBKM.js";
41
+ } from "./chunk-RDECWGBJ.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-HMMVGDL3.js";
45
+ } from "./chunk-F75727GN.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -11,9 +11,11 @@ var OWNERSHIP_PROBE_COMMAND = "pushary-hook";
11
11
  var pathApiFor = (platform) => platform === "win32" ? win32 : posix;
12
12
  var POSIX_GLOBAL_ROOT_SEGMENTS = ["lib", "node_modules"];
13
13
  var UPGRADE_ENTRY_SEGMENTS = ["dist", "bin", "pushary-upgrade.js"];
14
+ var TRANSCRIPT_REGISTER_ENTRY_SEGMENTS = ["dist", "bin", "pushary-transcript-register.js"];
14
15
  var globalRootFor = (prefix, platform) => platform === "win32" ? win32.join(prefix, "node_modules") : posix.join(prefix, ...POSIX_GLOBAL_ROOT_SEGMENTS);
15
16
  var globalPackageFolder = (root, name, platform) => pathApiFor(platform).join(root, ...cliPackagePathSegments(name));
16
17
  var globalUpgradeEntry = (prefix, name, platform) => pathApiFor(platform).join(globalPackageFolder(globalRootFor(prefix, platform), name, platform), ...UPGRADE_ENTRY_SEGMENTS);
18
+ var globalTranscriptRegisterEntry = (prefix, name, platform) => pathApiFor(platform).join(globalPackageFolder(globalRootFor(prefix, platform), name, platform), ...TRANSCRIPT_REGISTER_ENTRY_SEGMENTS);
17
19
  var isInsideFolder = (target, folder, platform) => {
18
20
  const pathApi = pathApiFor(platform);
19
21
  const relativePath = pathApi.relative(folder, target);
@@ -189,6 +191,7 @@ export {
189
191
  globalRootFor,
190
192
  globalPackageFolder,
191
193
  globalUpgradeEntry,
194
+ globalTranscriptRegisterEntry,
192
195
  decideCommandOwner,
193
196
  cmdShimTarget,
194
197
  cmdShimScriptOf,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-LOQWIBVV.js";
3
+ } from "./chunk-3RUQKPHU.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-BLVTNQZV.js";
6
+ } from "./chunk-LXWHMYOS.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-25CMVBTJ.js";
9
+ } from "./chunk-A6TVXDTE.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-HMMVGDL3.js";
16
+ } from "./chunk-F75727GN.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;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-25CMVBTJ.js";
3
+ } from "./chunk-A6TVXDTE.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-PM2NRK6Y.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-VEE2MRUN.js";
3
+ } from "./chunk-LGV3U2KK.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-GZAU5W3K.js";
6
+ } from "./chunk-QM3YURHW.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-4BC4YDVL.js";
9
+ } from "./chunk-Q7W4TEWC.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-IC5BBT2K.js";
12
+ } from "./chunk-YB64X4IQ.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-HMMVGDL3.js";
17
+ } from "./chunk-F75727GN.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-J7D27BKP.js";
3
+ } from "./chunk-PHFQV5MO.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1181,6 +1181,7 @@ var GROK = {
1181
1181
  var HOOK_COMPATIBLE_PROFILES = Object.freeze([QWEN_CODE, CODEBUDDY, QODER, DROID, DEVIN, ANTIGRAVITY_CLI, GROK]);
1182
1182
  var hookCompatibleProfile = (agentType) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.agentType === agentType);
1183
1183
  var hookCompatibleProfileBySource = (source) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.source === source);
1184
+ var compatibleProfileFor = (agentType) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.agentType === agentType);
1184
1185
  var defaultHomeSegments = (file) => file.root === "home" ? file.path : [".grok", ...file.path];
1185
1186
  var compatibleTargetFiles = (profile) => {
1186
1187
  const seen = /* @__PURE__ */ new Map();
@@ -10404,6 +10405,7 @@ export {
10404
10405
  HOOK_COMPATIBLE_PROFILES,
10405
10406
  hookCompatibleProfile,
10406
10407
  hookCompatibleProfileBySource,
10408
+ compatibleProfileFor,
10407
10409
  compatibleTargetFiles,
10408
10410
  isDecisionStoppedReply,
10409
10411
  CURSOR_GATE_EVENTS,
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
- } from "./chunk-V6OR4WLF.js";
6
+ } from "./chunk-JFUTFHB6.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-5JQQ5IQC.js";
9
+ } from "./chunk-ZEVNSFFV.js";
10
10
  import {
11
11
  hookMeaning
12
- } from "./chunk-3ULFLONL.js";
12
+ } from "./chunk-4DTKZQKO.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  changedRecipientsMessage,
@@ -24,31 +24,31 @@ import {
24
24
  uploadTranscriptRecords,
25
25
  verifyAnchoredRecipients,
26
26
  wrapSessionKey
27
- } from "./chunk-ORV2JLNH.js";
27
+ } from "./chunk-X3TBNXPX.js";
28
28
  import {
29
29
  external_exports,
30
30
  ownedOnlyByThisUser,
31
31
  savedTranscriptReadPositions
32
- } from "./chunk-55L4JSPA.js";
32
+ } from "./chunk-P6DUWKAO.js";
33
33
  import {
34
34
  transcriptEnvironmentPreference,
35
35
  transcriptsEnabled
36
- } from "./chunk-CH7WFVC5.js";
36
+ } from "./chunk-SUUATETY.js";
37
37
  import {
38
38
  fetchAsCredential
39
- } from "./chunk-VEE2MRUN.js";
39
+ } from "./chunk-LGV3U2KK.js";
40
40
  import {
41
41
  readTranscriptPreference
42
- } from "./chunk-BLVTNQZV.js";
42
+ } from "./chunk-LXWHMYOS.js";
43
43
  import {
44
44
  claudeConfigDir,
45
45
  codexHome,
46
46
  pusharyDir
47
- } from "./chunk-25CMVBTJ.js";
47
+ } from "./chunk-A6TVXDTE.js";
48
48
  import {
49
49
  getApiKey,
50
50
  getBaseUrl
51
- } from "./chunk-IC5BBT2K.js";
51
+ } from "./chunk-YB64X4IQ.js";
52
52
  import {
53
53
  writeJsonAtomic,
54
54
  writeJsonAtomicDurable
@@ -60,7 +60,7 @@ import {
60
60
  isHookSource,
61
61
  isRecord,
62
62
  redactSecretsFromContent
63
- } from "./chunk-HMMVGDL3.js";
63
+ } from "./chunk-F75727GN.js";
64
64
 
65
65
  // src/transcript-registration.ts
66
66
  import { createHash as createHash4 } from "crypto";
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-HMMVGDL3.js";
12
+ } from "./chunk-F75727GN.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-5JQQ5IQC.js";
3
+ } from "./chunk-ZEVNSFFV.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-25CMVBTJ.js";
10
+ } from "./chunk-A6TVXDTE.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
14
- } from "./chunk-5NFHLMY3.js";
14
+ } from "./chunk-B3STTU5D.js";
15
15
  import {
16
16
  CURSOR_GATE_COVERAGE,
17
17
  CURSOR_GATE_SCRIPT,
@@ -21,7 +21,7 @@ import {
21
21
  isCursorHookPayload,
22
22
  isRecord,
23
23
  toolsCoveredByGateEntry
24
- } from "./chunk-HMMVGDL3.js";
24
+ } from "./chunk-F75727GN.js";
25
25
 
26
26
  // src/cursor-gate-registration.ts
27
27
  import { dirname, isAbsolute, join, resolve } from "path";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-OM7CKAVY.js";
4
+ } from "./chunk-5STI67CK.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-5JQQ5IQC.js";
7
+ } from "./chunk-ZEVNSFFV.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-25CMVBTJ.js";
11
+ } from "./chunk-A6TVXDTE.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-HMMVGDL3.js";
14
+ } from "./chunk-F75727GN.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-V3PMKMAO.js";
3
+ } from "./chunk-HQUYQOWZ.js";
4
4
  import {
5
5
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
6
6
  HERMES_COMMAND_ALLOWLIST_KEY,
7
7
  HERMES_GATE_TOOLS_KEY,
8
8
  HERMES_SHELL_TOOL
9
- } from "./chunk-ZSGTT4ME.js";
9
+ } from "./chunk-RHQ5FDU4.js";
10
10
  import {
11
11
  retryAgentCommand
12
- } from "./chunk-ZGS5TMMV.js";
12
+ } from "./chunk-XTFN2YTA.js";
13
13
  import {
14
14
  NPX_LATEST_COMMAND
15
- } from "./chunk-QQLYMBKM.js";
15
+ } from "./chunk-RDECWGBJ.js";
16
16
 
17
17
  // src/setup/codex-trust.ts
18
18
  var CODEX_TRUST_TELEMETRY = {
@@ -86,6 +86,21 @@ var HERMES_RESTART_COMMAND = "hermes gateway restart";
86
86
  var HERMES_MAC_APP_REPAIR = "open Pushary on this Mac and connect Hermes again";
87
87
  var HERMES_GATE_SHELL_FLAG = "--hermes-gate-terminal";
88
88
  var hermesGateShellCommand = () => `${retryAgentCommand("hermes")} ${HERMES_GATE_SHELL_FLAG}`;
89
+ var hermesHistoryGlobalInstall = (packageName, version) => `npm install -g ${packageName}@${version}`;
90
+ var withoutClosingPeriod = (sentence) => sentence.trim().replace(/\.$/, "");
91
+ var describeHermesHistoryInstallFailure = (detail, nextStep) => `Hermes session history needs the Pushary CLI installed globally, and that install failed: ${withoutClosingPeriod(detail)}. ${nextStep}`;
92
+ var describeHermesHistoryHelperRecord = (outcome, packageName, version, shownPath) => {
93
+ switch (outcome.kind) {
94
+ case "written":
95
+ return `Hermes session history helper recorded in ${shownPath}`;
96
+ case "unchanged":
97
+ return null;
98
+ case "helper_not_installed":
99
+ return `Hermes session history could not find the globally installed Pushary CLI. Run \`${hermesHistoryGlobalInstall(packageName, version)}\`, then run setup again.`;
100
+ case "write_failed":
101
+ return `Could not write ${shownPath}, so Hermes session history cannot find its helper. Run setup again.`;
102
+ }
103
+ };
89
104
  var describeHermesInstallFailure = (reason, pluginDirectory, receiptPath) => {
90
105
  switch (reason) {
91
106
  case "home_unknown":
@@ -189,6 +204,8 @@ export {
189
204
  describeCodexTrustConfirmation,
190
205
  HERMES_RESTART_COMMAND,
191
206
  hermesGateShellCommand,
207
+ describeHermesHistoryInstallFailure,
208
+ describeHermesHistoryHelperRecord,
192
209
  describeHermesInstallFailure,
193
210
  describeHermesProblems,
194
211
  hermesRepairStep,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  spawnClaude
3
- } from "./chunk-TFMIG3VP.js";
3
+ } from "./chunk-3PSNUHC5.js";
4
4
  import {
5
5
  CODEX_HOOK_EVENTS,
6
6
  CODEX_REQUIRED_APPROVAL_EVENTS,
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-25CMVBTJ.js";
10
+ } from "./chunk-A6TVXDTE.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-5NFHLMY3.js";
13
+ } from "./chunk-B3STTU5D.js";
14
14
  import {
15
15
  getPackageVersion
16
- } from "./chunk-YJHBDJIW.js";
16
+ } from "./chunk-CXQWDQCJ.js";
17
17
 
18
18
  // src/codex-app-server.ts
19
19
  import { existsSync, realpathSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-MIO242ZB.js";
3
+ } from "./chunk-DQGTFUXX.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-VEE2MRUN.js";
6
+ } from "./chunk-LGV3U2KK.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-QQLYMBKM.js";
9
+ } from "./chunk-RDECWGBJ.js";
10
10
 
11
11
  // src/mcp-stdio-bridge.ts
12
12
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computerOsOfPlatform,
3
3
  isComputerAgent
4
- } from "./chunk-HMMVGDL3.js";
4
+ } from "./chunk-F75727GN.js";
5
5
 
6
6
  // src/setup/phone-check.ts
7
7
  var planPhoneCheck = (context) => {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  needsShell,
3
3
  spawnClaude
4
- } from "./chunk-TFMIG3VP.js";
4
+ } from "./chunk-3PSNUHC5.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-5YJSZFZ6.js";
7
+ } from "./chunk-DGZYM676.js";
8
8
  import {
9
9
  readControlMode
10
- } from "./chunk-BLVTNQZV.js";
10
+ } from "./chunk-LXWHMYOS.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-25CMVBTJ.js";
13
+ } from "./chunk-A6TVXDTE.js";
14
14
  import {
15
15
  resolveGlobalBinary
16
- } from "./chunk-5NFHLMY3.js";
16
+ } from "./chunk-B3STTU5D.js";
17
17
  import {
18
18
  getApiKey
19
- } from "./chunk-IC5BBT2K.js";
19
+ } from "./chunk-YB64X4IQ.js";
20
20
  import {
21
21
  readJsonSafe,
22
22
  writeFileAtomic,
@@ -29,10 +29,10 @@ import {
29
29
  getPackageVersion,
30
30
  globalPackageFolder,
31
31
  globalRootFor
32
- } from "./chunk-YJHBDJIW.js";
32
+ } from "./chunk-CXQWDQCJ.js";
33
33
  import {
34
34
  isRecord
35
- } from "./chunk-HMMVGDL3.js";
35
+ } from "./chunk-F75727GN.js";
36
36
 
37
37
  // src/daemon-entry-guard.ts
38
38
  import { mkdirSync, readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-EJJBM4OB.js";
3
+ } from "./chunk-FUY7TPTQ.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-BZIBNSQE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-CINBAX5G.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-QQLYMBKM.js";
12
+ } from "./chunk-RDECWGBJ.js";
13
13
  import {
14
14
  CLAUDE_CONNECTOR_GUIDE,
15
15
  CLAUDE_CONNECTOR_STEPS,
@@ -17,7 +17,7 @@ import {
17
17
  CLAUDE_CONNECTOR_URL,
18
18
  COWORK_CONNECTOR_LIMIT,
19
19
  COWORK_STANDING_INSTRUCTIONS
20
- } from "./chunk-HMMVGDL3.js";
20
+ } from "./chunk-F75727GN.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-HMMVGDL3.js";
3
+ } from "./chunk-F75727GN.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-HMMVGDL3.js";
3
+ } from "./chunk-F75727GN.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-25CMVBTJ.js";
3
+ } from "./chunk-A6TVXDTE.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-25CMVBTJ.js";
3
+ } from "./chunk-A6TVXDTE.js";
4
4
  import {
5
5
  readRegularJsonFile,
6
6
  writeFileAtomic
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-HMMVGDL3.js";
16
+ } from "./chunk-F75727GN.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -5,7 +5,7 @@ import {
5
5
  MCP_CREDENTIAL_REJECTION_BODY,
6
6
  isRecord,
7
7
  responseRejectsCredential
8
- } from "./chunk-HMMVGDL3.js";
8
+ } from "./chunk-F75727GN.js";
9
9
 
10
10
  // src/credential-rejection.ts
11
11
  import { createHash, randomUUID } from "crypto";
@@ -8,21 +8,21 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-MIO242ZB.js";
11
+ } from "./chunk-DQGTFUXX.js";
12
12
  import {
13
13
  fetchAsCredential
14
- } from "./chunk-VEE2MRUN.js";
14
+ } from "./chunk-LGV3U2KK.js";
15
15
  import {
16
16
  installNetworkDefaults,
17
17
  isNetworkFailure
18
- } from "./chunk-4BC4YDVL.js";
18
+ } from "./chunk-Q7W4TEWC.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-25CMVBTJ.js";
21
+ } from "./chunk-A6TVXDTE.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
25
- } from "./chunk-IC5BBT2K.js";
25
+ } from "./chunk-YB64X4IQ.js";
26
26
  import {
27
27
  ASK_AGENT_NAME_MAX,
28
28
  CLIENT_REPORT_PATH,
@@ -37,7 +37,7 @@ import {
37
37
  isRecord,
38
38
  truncateLine,
39
39
  waitEndAnswered
40
- } from "./chunk-HMMVGDL3.js";
40
+ } from "./chunk-F75727GN.js";
41
41
 
42
42
  // src/api.ts
43
43
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-UYAKT6PO.js";
3
+ } from "./chunk-UUMBN6AU.js";
4
4
  import {
5
5
  configFilePath
6
- } from "./chunk-IC5BBT2K.js";
6
+ } from "./chunk-YB64X4IQ.js";
7
7
  import {
8
8
  backupFile,
9
9
  backupFileInto,
@@ -15,7 +15,7 @@ import {
15
15
  API_KEY_PREFIX_PATTERN,
16
16
  isRecord,
17
17
  isValidApiKey
18
- } from "./chunk-HMMVGDL3.js";
18
+ } from "./chunk-F75727GN.js";
19
19
 
20
20
  // src/shell-alias.ts
21
21
  import { homedir } from "os";