pushary 1.9.233 → 1.9.235

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 (147) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +29 -3
  3. package/data/cursor-plugin/README.md +30 -3
  4. package/data/openclaw-plugin/README.md +26 -0
  5. package/data/openclaw-plugin/package.json +1 -1
  6. package/data/vscode-plugin/README.md +30 -3
  7. package/dist/{api-OGSNXX5I.js → api-UVFEVNJD.js} +11 -11
  8. package/dist/bin/pushary-audit.js +3 -3
  9. package/dist/bin/pushary-bell-hook.js +28 -28
  10. package/dist/bin/pushary-bell.js +12 -12
  11. package/dist/bin/pushary-calls.js +15 -15
  12. package/dist/bin/pushary-claude.js +26 -26
  13. package/dist/bin/pushary-clean.js +39 -39
  14. package/dist/bin/pushary-codex-bridge.js +23 -23
  15. package/dist/bin/pushary-codex-hook.js +34 -34
  16. package/dist/bin/pushary-codex-session.js +8 -8
  17. package/dist/bin/pushary-codex.js +16 -16
  18. package/dist/bin/pushary-connect.js +35 -35
  19. package/dist/bin/pushary-cowork.js +5 -5
  20. package/dist/bin/pushary-daemon.js +46 -46
  21. package/dist/bin/pushary-disconnect.js +30 -30
  22. package/dist/bin/pushary-display-hook.js +8 -5
  23. package/dist/bin/pushary-doctor.js +47 -47
  24. package/dist/bin/pushary-elicitation-hook.js +27 -27
  25. package/dist/bin/pushary-gemini-bridge.js +18 -18
  26. package/dist/bin/pushary-gemini-hook.js +31 -31
  27. package/dist/bin/pushary-hook.js +35 -35
  28. package/dist/bin/pushary-login.js +23 -23
  29. package/dist/bin/pushary-logout.js +31 -31
  30. package/dist/bin/pushary-mcp.js +12 -12
  31. package/dist/bin/pushary-mode.js +16 -16
  32. package/dist/bin/pushary-notification-hook.js +27 -27
  33. package/dist/bin/pushary-opencode-bridge.js +22 -22
  34. package/dist/bin/pushary-opencode-hook.js +32 -32
  35. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  36. package/dist/bin/pushary-permission-hook.js +35 -35
  37. package/dist/bin/pushary-post-hook.js +28 -28
  38. package/dist/bin/pushary-prompt-hook.js +27 -27
  39. package/dist/bin/pushary-session-end-hook.js +27 -27
  40. package/dist/bin/pushary-session-start-hook.js +39 -39
  41. package/dist/bin/pushary-sessions.js +12 -12
  42. package/dist/bin/pushary-setup.js +367 -109
  43. package/dist/bin/pushary-stats.js +5 -5
  44. package/dist/bin/pushary-status.js +36 -36
  45. package/dist/bin/pushary-stop-hook.js +27 -27
  46. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  47. package/dist/bin/pushary-suggestions.js +16 -16
  48. package/dist/bin/pushary-transcript-register.js +17 -17
  49. package/dist/bin/pushary-transcripts.js +26 -26
  50. package/dist/bin/pushary-upgrade.js +47 -47
  51. package/dist/bin/pushary-wait.js +16 -16
  52. package/dist/bin/pushary.js +7 -7
  53. package/dist/{chunk-3DME4GIN.js → chunk-2QUYUFYQ.js} +7 -7
  54. package/dist/{chunk-LFJOCVHG.js → chunk-3B5FQ542.js} +2 -2
  55. package/dist/{chunk-22N3UUS4.js → chunk-3C2XMGXE.js} +3 -3
  56. package/dist/{chunk-TAXD56ZD.js → chunk-3K2S4OW7.js} +10 -33
  57. package/dist/{chunk-XO64RMVL.js → chunk-3QQY5USW.js} +4 -4
  58. package/dist/{chunk-A6VE7WBN.js → chunk-4CEGJAEB.js} +1 -1
  59. package/dist/{chunk-GA4IZMXT.js → chunk-4QQ3HXGR.js} +3 -3
  60. package/dist/{chunk-KVLYD2EE.js → chunk-4UIVOCDT.js} +1 -1
  61. package/dist/{chunk-FFMM7VZH.js → chunk-52PIW2SN.js} +3 -3
  62. package/dist/{chunk-KGMSC4Y4.js → chunk-5DRTR5FC.js} +5 -5
  63. package/dist/{chunk-DOC3PQTD.js → chunk-5QLIXOVT.js} +1 -1
  64. package/dist/{chunk-RXLKOYN3.js → chunk-6H3RBEHP.js} +1 -1
  65. package/dist/{chunk-X6GHL4KM.js → chunk-7B2DHU32.js} +16 -16
  66. package/dist/{chunk-LYO34MJ4.js → chunk-7MRK2WXT.js} +4 -3
  67. package/dist/{chunk-KHL6NLZN.js → chunk-7XCL66ON.js} +2 -2
  68. package/dist/{chunk-WNZR4KFV.js → chunk-A2GO3G2I.js} +6 -6
  69. package/dist/{chunk-UKBHJNN4.js → chunk-AA54OZM2.js} +5 -5
  70. package/dist/{chunk-Q473YQNT.js → chunk-BBZ3BBZC.js} +4 -4
  71. package/dist/{chunk-GIF3SFYU.js → chunk-BJRPBKE7.js} +12 -4
  72. package/dist/{chunk-WHMZT7EG.js → chunk-CSXA4HMV.js} +2 -2
  73. package/dist/{chunk-SOIG3VQU.js → chunk-DN6HPGCI.js} +5 -5
  74. package/dist/{chunk-2SHF7DI5.js → chunk-DW7ZQX7L.js} +1 -1
  75. package/dist/{chunk-PKENJCUM.js → chunk-E6IFBGZF.js} +2 -2
  76. package/dist/{chunk-HWQFHEHX.js → chunk-EINN22XV.js} +2 -2
  77. package/dist/{chunk-MHGXV2UI.js → chunk-ELP65DFC.js} +1 -1
  78. package/dist/{chunk-3ZDGQGBL.js → chunk-FCQ52N4E.js} +8 -8
  79. package/dist/{chunk-SHAZ6DT6.js → chunk-FEVQDABQ.js} +2 -2
  80. package/dist/{chunk-XT7RG6WO.js → chunk-FKX7SWNT.js} +7 -7
  81. package/dist/{chunk-TM5LRIUB.js → chunk-FMWG4X3D.js} +5 -5
  82. package/dist/{chunk-KAO2GIZQ.js → chunk-FUJZW3R5.js} +1 -1
  83. package/dist/{chunk-AX6S5V22.js → chunk-FZN7TKSM.js} +1 -1
  84. package/dist/{chunk-G6ZSGVZL.js → chunk-G5EKU4RB.js} +3 -3
  85. package/dist/{chunk-4UKOA6F5.js → chunk-G5OTSL26.js} +3 -3
  86. package/dist/{chunk-HCKJEXJJ.js → chunk-GPD4BB76.js} +1 -1
  87. package/dist/{chunk-546OR2Y5.js → chunk-GSB62GNT.js} +4 -4
  88. package/dist/{chunk-X5M3LLDZ.js → chunk-H4364HR3.js} +5 -5
  89. package/dist/{chunk-X275KIXO.js → chunk-H5TBR4BB.js} +5 -5
  90. package/dist/{chunk-CIT3XX7B.js → chunk-HDD23XYP.js} +11 -11
  91. package/dist/{chunk-JGEIHCPR.js → chunk-HI3LOBT5.js} +9 -7
  92. package/dist/{chunk-4PWUPWPY.js → chunk-HJSW3MH2.js} +2 -2
  93. package/dist/{chunk-KBZJUOJJ.js → chunk-HPFGXE6Y.js} +6 -6
  94. package/dist/{chunk-5JB4JJF5.js → chunk-ICLT2KA5.js} +1 -1
  95. package/dist/{chunk-UDPXFSUQ.js → chunk-JF3ONE4H.js} +2 -2
  96. package/dist/{chunk-WNSBSSTB.js → chunk-JF4VX754.js} +1 -1
  97. package/dist/{chunk-FG2EF7PP.js → chunk-JFXYGMV5.js} +4 -4
  98. package/dist/{chunk-OC5SCORI.js → chunk-JM6EAV42.js} +5 -5
  99. package/dist/{chunk-V6YWRP4V.js → chunk-JPKOYDQJ.js} +6 -6
  100. package/dist/{chunk-RXXHQXMO.js → chunk-JYFMVOML.js} +1 -1
  101. package/dist/{chunk-JZZ62IV5.js → chunk-K6PBTBLO.js} +4 -4
  102. package/dist/{chunk-ARBMPOYR.js → chunk-KTJHZVCD.js} +3 -3
  103. package/dist/{chunk-5F2FKQQ6.js → chunk-LDX3KQMJ.js} +2 -2
  104. package/dist/{chunk-FZMLD3MF.js → chunk-LIYQSMYK.js} +4 -4
  105. package/dist/{chunk-ETIAYTAI.js → chunk-M64A2Z2F.js} +1 -1
  106. package/dist/{chunk-2UUCN62T.js → chunk-MHZSIN5K.js} +3 -3
  107. package/dist/{chunk-LW4AG6EP.js → chunk-MN6DXDJR.js} +6 -6
  108. package/dist/{chunk-WNWN4U2V.js → chunk-MQSO2S3H.js} +1 -1
  109. package/dist/{chunk-A54UFNGF.js → chunk-NDXTGRZG.js} +1 -1
  110. package/dist/{chunk-KABI55PA.js → chunk-OSDIFFSP.js} +3 -3
  111. package/dist/{chunk-32ZIGQNS.js → chunk-OV2XD2UY.js} +1 -1
  112. package/dist/{chunk-EVGZE3TK.js → chunk-Q5SVRCFU.js} +1 -1
  113. package/dist/{chunk-JGVXURHK.js → chunk-RV5LIW3K.js} +12 -12
  114. package/dist/{chunk-ML6AWSKK.js → chunk-SFIYMKWT.js} +5 -5
  115. package/dist/{chunk-PYMLNBAY.js → chunk-TAXOI6AK.js} +4 -4
  116. package/dist/{chunk-URMAZGQN.js → chunk-TGM2WHUG.js} +2 -2
  117. package/dist/{chunk-GKWFLK7K.js → chunk-TMN7LKDC.js} +7 -7
  118. package/dist/{chunk-2R5HU7EL.js → chunk-TWACA7ER.js} +9 -9
  119. package/dist/{chunk-TAW3Z5NA.js → chunk-UIBQDALO.js} +3 -3
  120. package/dist/{chunk-J2GQIBMK.js → chunk-ULDUDSTW.js} +6 -2
  121. package/dist/{chunk-W7HK5KMH.js → chunk-URDT623B.js} +1 -1
  122. package/dist/{chunk-E6XGP76X.js → chunk-V4ZQBKI6.js} +1 -1
  123. package/dist/{chunk-KJMIFUE2.js → chunk-V7ULGI7U.js} +4 -4
  124. package/dist/{chunk-QHR2T5EW.js → chunk-VPG6QENY.js} +10 -10
  125. package/dist/{chunk-HU5IFHHG.js → chunk-WMCF6PR5.js} +3 -3
  126. package/dist/{chunk-J4X5T5DO.js → chunk-WVJFHP75.js} +1 -1
  127. package/dist/{chunk-MBYHALGD.js → chunk-WY2UKKLD.js} +1 -1
  128. package/dist/{chunk-C4SPXQAE.js → chunk-X4G5G2ZN.js} +2 -2
  129. package/dist/{chunk-TJYY2ZNV.js → chunk-XGW4PJPO.js} +2 -2
  130. package/dist/{chunk-W6N2MU2G.js → chunk-XYRXKL3V.js} +1 -1
  131. package/dist/{chunk-X2BMTMY2.js → chunk-Z5EWWGD2.js} +5 -5
  132. package/dist/{chunk-AAP2HENZ.js → chunk-Z7LAWFZ7.js} +4 -3
  133. package/dist/{chunk-C4PGW3PU.js → chunk-ZPQPTIIY.js} +2 -2
  134. package/dist/{codex-app-cards-switch-MBJFUQBT.js → codex-app-cards-switch-DBFQJU3Y.js} +11 -11
  135. package/dist/{codex-card-routing-LAM2ADY2.js → codex-card-routing-TKG7LOP4.js} +2 -2
  136. package/dist/{codex-desktop-launch-LB4RWOSI.js → codex-desktop-launch-UXMYKS5C.js} +3 -3
  137. package/dist/{codex-session-launch-PRWQGIGE.js → codex-session-launch-5NOJKDWN.js} +20 -20
  138. package/dist/{config-BBTWVECF.js → config-HHUSXJZE.js} +3 -3
  139. package/dist/{global-upgrade-C6HNF5OW.js → global-upgrade-J2NB62DV.js} +9 -9
  140. package/dist/{identity-7PUBPQNU.js → identity-7O3ZBVUY.js} +4 -4
  141. package/dist/{live-capabilities-ZAQZQQR4.js → live-capabilities-773SVQWH.js} +4 -4
  142. package/dist/{paths-ZALQKETP.js → paths-VZXMX35O.js} +3 -3
  143. package/dist/{reapply-JWQ5H3RL.js → reapply-7MIBK2WB.js} +34 -34
  144. package/dist/src/index.js +33 -33
  145. package/dist/{upgrade-lock-UWYE4CPX.js → upgrade-lock-WWTTPOIZ.js} +4 -4
  146. package/dist/{usage-BR4DQNAS.js → usage-PHTLHFL2.js} +3 -3
  147. package/package.json +1 -1
@@ -18,44 +18,44 @@ import {
18
18
  upgradeInstalledPackage,
19
19
  wasRefreshed,
20
20
  withUpgradeLock
21
- } from "../chunk-KBZJUOJJ.js";
21
+ } from "../chunk-HPFGXE6Y.js";
22
22
  import {
23
23
  installWithUpgradeLock
24
- } from "../chunk-PKENJCUM.js";
24
+ } from "../chunk-E6IFBGZF.js";
25
25
  import {
26
26
  phoneStartFellShortLine
27
- } from "../chunk-TAXD56ZD.js";
28
- import "../chunk-PYMLNBAY.js";
27
+ } from "../chunk-3K2S4OW7.js";
28
+ import "../chunk-TAXOI6AK.js";
29
29
  import {
30
30
  ensureCodexTrustAfterReapply,
31
31
  reapplyAllAgents
32
- } from "../chunk-JGVXURHK.js";
32
+ } from "../chunk-RV5LIW3K.js";
33
33
  import "../chunk-TWWOQKXK.js";
34
34
  import {
35
35
  HERMES_RESTART_COMMAND,
36
36
  describeCodexTrustConfirmation,
37
37
  describeHermesHistoryHelperRecord
38
- } from "../chunk-XO64RMVL.js";
39
- import "../chunk-LW4AG6EP.js";
38
+ } from "../chunk-3QQY5USW.js";
39
+ import "../chunk-MN6DXDJR.js";
40
40
  import {
41
41
  keepLinuxDaemonAfterLogout,
42
42
  lingerReportOf
43
43
  } from "../chunk-AIZYJJGD.js";
44
44
  import {
45
45
  waitForMachineReadiness
46
- } from "../chunk-KGMSC4Y4.js";
46
+ } from "../chunk-5DRTR5FC.js";
47
47
  import {
48
48
  hermesHistoryHelperRecordFailed,
49
49
  hermesHistoryHelperRecordPath
50
- } from "../chunk-ARBMPOYR.js";
50
+ } from "../chunk-KTJHZVCD.js";
51
51
  import {
52
52
  shortenHome
53
- } from "../chunk-OC5SCORI.js";
53
+ } from "../chunk-JM6EAV42.js";
54
54
  import {
55
55
  readMacAppAgentKey
56
- } from "../chunk-Q473YQNT.js";
57
- import "../chunk-3DME4GIN.js";
58
- import "../chunk-GA4IZMXT.js";
56
+ } from "../chunk-BBZ3BBZC.js";
57
+ import "../chunk-2QUYUFYQ.js";
58
+ import "../chunk-4QQ3HXGR.js";
59
59
  import {
60
60
  FX_RELOAD_AFTER_BRIDGE,
61
61
  fxHttpEntryKeptNote,
@@ -63,26 +63,26 @@ import {
63
63
  fxServerHolder,
64
64
  inspectFxPusharyHttpWiring,
65
65
  macAppFxBridge
66
- } from "../chunk-ML6AWSKK.js";
66
+ } from "../chunk-SFIYMKWT.js";
67
67
  import {
68
68
  retryAgentCommand
69
- } from "../chunk-2UUCN62T.js";
70
- import "../chunk-546OR2Y5.js";
71
- import "../chunk-XT7RG6WO.js";
72
- import "../chunk-HCKJEXJJ.js";
73
- import "../chunk-RXXHQXMO.js";
74
- import "../chunk-C4PGW3PU.js";
69
+ } from "../chunk-MHZSIN5K.js";
70
+ import "../chunk-GSB62GNT.js";
71
+ import "../chunk-FKX7SWNT.js";
72
+ import "../chunk-GPD4BB76.js";
73
+ import "../chunk-JYFMVOML.js";
74
+ import "../chunk-ZPQPTIIY.js";
75
75
  import {
76
76
  exitOnHelpFlag
77
- } from "../chunk-MHGXV2UI.js";
77
+ } from "../chunk-ELP65DFC.js";
78
78
  import {
79
79
  detectProviderLiveCapabilities,
80
80
  expectedLaunchCapabilities,
81
81
  hasSpawnProvider,
82
82
  isManagedProvider,
83
83
  resolveControlPolicy
84
- } from "../chunk-G6ZSGVZL.js";
85
- import "../chunk-EVGZE3TK.js";
84
+ } from "../chunk-G5EKU4RB.js";
85
+ import "../chunk-Q5SVRCFU.js";
86
86
  import "../chunk-TCE3J44Z.js";
87
87
  import {
88
88
  AUTO_UPDATE_DISABLE_ENV,
@@ -93,9 +93,9 @@ import {
93
93
  isUnfinishedAutoUpdate,
94
94
  readAutoUpdateState,
95
95
  updateAutoUpdateState
96
- } from "../chunk-UDPXFSUQ.js";
96
+ } from "../chunk-JF3ONE4H.js";
97
97
  import "../chunk-WHB622LP.js";
98
- import "../chunk-TM5LRIUB.js";
98
+ import "../chunk-FMWG4X3D.js";
99
99
  import {
100
100
  DAEMON_COLD_START_TIMEOUT_MS,
101
101
  daemonHasRemoteProof,
@@ -108,30 +108,30 @@ import {
108
108
  replaceDaemonService,
109
109
  stopDaemonService,
110
110
  waitForDaemonRemoteProof
111
- } from "../chunk-V6YWRP4V.js";
112
- import "../chunk-JZZ62IV5.js";
113
- import "../chunk-CIT3XX7B.js";
114
- import "../chunk-J4X5T5DO.js";
115
- import "../chunk-AAP2HENZ.js";
116
- import "../chunk-DOC3PQTD.js";
111
+ } from "../chunk-JPKOYDQJ.js";
112
+ import "../chunk-K6PBTBLO.js";
113
+ import "../chunk-HDD23XYP.js";
114
+ import "../chunk-WVJFHP75.js";
115
+ import "../chunk-Z7LAWFZ7.js";
116
+ import "../chunk-5QLIXOVT.js";
117
117
  import "../chunk-BZIBNSQE.js";
118
- import "../chunk-W6N2MU2G.js";
118
+ import "../chunk-XYRXKL3V.js";
119
119
  import "../chunk-P6DUWKAO.js";
120
120
  import "../chunk-3PSNUHC5.js";
121
- import "../chunk-WNZR4KFV.js";
122
- import "../chunk-ETIAYTAI.js";
121
+ import "../chunk-A2GO3G2I.js";
122
+ import "../chunk-M64A2Z2F.js";
123
123
  import "../chunk-POFBE6ZY.js";
124
- import "../chunk-X5M3LLDZ.js";
125
- import "../chunk-A54UFNGF.js";
126
- import "../chunk-KVLYD2EE.js";
127
- import "../chunk-4UKOA6F5.js";
128
- import "../chunk-KABI55PA.js";
129
- import "../chunk-32ZIGQNS.js";
124
+ import "../chunk-H4364HR3.js";
125
+ import "../chunk-NDXTGRZG.js";
126
+ import "../chunk-4UIVOCDT.js";
127
+ import "../chunk-G5OTSL26.js";
128
+ import "../chunk-OSDIFFSP.js";
129
+ import "../chunk-OV2XD2UY.js";
130
130
  import {
131
131
  readControlMode,
132
132
  recordMacAppKeyPrefix
133
- } from "../chunk-HU5IFHHG.js";
134
- import "../chunk-C4SPXQAE.js";
133
+ } from "../chunk-WMCF6PR5.js";
134
+ import "../chunk-X4G5G2ZN.js";
135
135
  import {
136
136
  CODEX_RESTART_AFTER_TRANSPORT_CHANGE,
137
137
  autoUpdateState,
@@ -143,16 +143,16 @@ import {
143
143
  pusharyDir,
144
144
  serviceOwedBackMark,
145
145
  vscodePluginDir
146
- } from "../chunk-SHAZ6DT6.js";
146
+ } from "../chunk-FEVQDABQ.js";
147
147
  import "../chunk-6ICPEJY5.js";
148
148
  import {
149
149
  fetchLatestPublishedVersion,
150
150
  newestReleaseNpmAllows,
151
151
  plannedGlobalPackage
152
- } from "../chunk-FG2EF7PP.js";
152
+ } from "../chunk-JFXYGMV5.js";
153
153
  import {
154
154
  getApiKey
155
- } from "../chunk-TJYY2ZNV.js";
155
+ } from "../chunk-XGW4PJPO.js";
156
156
  import {
157
157
  UsageError
158
158
  } from "../chunk-CINBAX5G.js";
@@ -161,7 +161,7 @@ import {
161
161
  } from "../chunk-PM2NRK6Y.js";
162
162
  import {
163
163
  NPX_LATEST_COMMAND
164
- } from "../chunk-LYO34MJ4.js";
164
+ } from "../chunk-7MRK2WXT.js";
165
165
  import {
166
166
  EXIT
167
167
  } from "../chunk-BG4HHB7E.js";
@@ -170,7 +170,7 @@ import {
170
170
  LEGACY_PACKAGE,
171
171
  getPackageVersion
172
172
  } from "../chunk-CXQWDQCJ.js";
173
- import "../chunk-J2GQIBMK.js";
173
+ import "../chunk-ULDUDSTW.js";
174
174
  import "../chunk-MLKGABMK.js";
175
175
 
176
176
  // bin/pushary-upgrade.ts
@@ -2,55 +2,55 @@
2
2
  import {
3
3
  waitResponse,
4
4
  waitWindowResponse
5
- } from "../chunk-KAO2GIZQ.js";
5
+ } from "../chunk-FUJZW3R5.js";
6
6
  import {
7
7
  describeWaitLadder
8
8
  } from "../chunk-CVWG2N3Y.js";
9
9
  import {
10
10
  exitOnFailedSettingsRequest
11
- } from "../chunk-GKWFLK7K.js";
12
- import "../chunk-KHL6NLZN.js";
11
+ } from "../chunk-TMN7LKDC.js";
12
+ import "../chunk-7XCL66ON.js";
13
13
  import {
14
14
  APPROVAL_RULES_PATH,
15
15
  PUSH_WINDOW_COMMAND,
16
16
  PUSH_WINDOW_RESET_COMMAND
17
- } from "../chunk-C4PGW3PU.js";
17
+ } from "../chunk-ZPQPTIIY.js";
18
18
  import {
19
19
  createIo
20
- } from "../chunk-AX6S5V22.js";
20
+ } from "../chunk-FZN7TKSM.js";
21
21
  import {
22
22
  exitOnHelpFlag
23
- } from "../chunk-MHGXV2UI.js";
23
+ } from "../chunk-ELP65DFC.js";
24
24
  import {
25
25
  parseFlags
26
26
  } from "../chunk-BZIBNSQE.js";
27
27
  import {
28
28
  absoluteUrl
29
- } from "../chunk-4UKOA6F5.js";
29
+ } from "../chunk-G5OTSL26.js";
30
30
  import {
31
31
  pusharyFetch
32
- } from "../chunk-KABI55PA.js";
33
- import "../chunk-32ZIGQNS.js";
34
- import "../chunk-HU5IFHHG.js";
35
- import "../chunk-C4SPXQAE.js";
36
- import "../chunk-SHAZ6DT6.js";
32
+ } from "../chunk-OSDIFFSP.js";
33
+ import "../chunk-OV2XD2UY.js";
34
+ import "../chunk-WMCF6PR5.js";
35
+ import "../chunk-X4G5G2ZN.js";
36
+ import "../chunk-FEVQDABQ.js";
37
37
  import "../chunk-6ICPEJY5.js";
38
- import "../chunk-FG2EF7PP.js";
38
+ import "../chunk-JFXYGMV5.js";
39
39
  import {
40
40
  getApiKey,
41
41
  getBaseUrl
42
- } from "../chunk-TJYY2ZNV.js";
42
+ } from "../chunk-XGW4PJPO.js";
43
43
  import {
44
44
  UsageError,
45
45
  exitCodeFor
46
46
  } from "../chunk-CINBAX5G.js";
47
47
  import "../chunk-PM2NRK6Y.js";
48
- import "../chunk-LYO34MJ4.js";
48
+ import "../chunk-7MRK2WXT.js";
49
49
  import {
50
50
  EXIT
51
51
  } from "../chunk-BG4HHB7E.js";
52
52
  import "../chunk-CXQWDQCJ.js";
53
- import "../chunk-J2GQIBMK.js";
53
+ import "../chunk-ULDUDSTW.js";
54
54
  import "../chunk-MLKGABMK.js";
55
55
 
56
56
  // bin/pushary-wait.ts
@@ -1,26 +1,26 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  installNetworkDefaults
4
- } from "../chunk-KABI55PA.js";
5
- import "../chunk-32ZIGQNS.js";
6
- import "../chunk-SHAZ6DT6.js";
4
+ } from "../chunk-OSDIFFSP.js";
5
+ import "../chunk-OV2XD2UY.js";
6
+ import "../chunk-FEVQDABQ.js";
7
7
  import "../chunk-6ICPEJY5.js";
8
- import "../chunk-FG2EF7PP.js";
9
- import "../chunk-TJYY2ZNV.js";
8
+ import "../chunk-JFXYGMV5.js";
9
+ import "../chunk-XGW4PJPO.js";
10
10
  import "../chunk-CINBAX5G.js";
11
11
  import "../chunk-PM2NRK6Y.js";
12
12
  import {
13
13
  LISTED_COMMANDS,
14
14
  renderHelp,
15
15
  resolveCommandName
16
- } from "../chunk-LYO34MJ4.js";
16
+ } from "../chunk-7MRK2WXT.js";
17
17
  import {
18
18
  EXIT
19
19
  } from "../chunk-BG4HHB7E.js";
20
20
  import {
21
21
  getPackageVersion
22
22
  } from "../chunk-CXQWDQCJ.js";
23
- import "../chunk-J2GQIBMK.js";
23
+ import "../chunk-ULDUDSTW.js";
24
24
  import "../chunk-MLKGABMK.js";
25
25
 
26
26
  // src/cli/runtime.ts
@@ -13,7 +13,7 @@ import {
13
13
  uninstallOpenClawPlugin,
14
14
  unsetOpenClawEntry,
15
15
  writeOpenClawEntry
16
- } from "./chunk-GA4IZMXT.js";
16
+ } from "./chunk-4QQ3HXGR.js";
17
17
  import {
18
18
  needsShell
19
19
  } from "./chunk-3PSNUHC5.js";
@@ -25,10 +25,10 @@ import {
25
25
  openClawDirectoriesToLookIn,
26
26
  openClawPluginFolder,
27
27
  openClawSetupReceiptDirectory
28
- } from "./chunk-SHAZ6DT6.js";
28
+ } from "./chunk-FEVQDABQ.js";
29
29
  import {
30
30
  resolvePathBinary
31
- } from "./chunk-FG2EF7PP.js";
31
+ } from "./chunk-JFXYGMV5.js";
32
32
  import {
33
33
  readJsonSafe,
34
34
  writeJsonAtomic
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-CXQWDQCJ.js";
40
40
  import {
41
41
  isRecord
42
- } from "./chunk-J2GQIBMK.js";
42
+ } from "./chunk-ULDUDSTW.js";
43
43
 
44
44
  // src/hermes/plugin-payload.ts
45
45
  import { createHash } from "crypto";
@@ -1388,7 +1388,7 @@ def _await_decision(request, created, correlation_id: str, offered, uses_select:
1388
1388
  return _decided(request, correlation_id, "deny", None)
1389
1389
  ` },
1390
1390
  { path: "cancellation.py", contents: 'from __future__ import annotations\n\nfrom typing import Literal, Mapping, Tuple\n\nCancellation = Literal[\n "withdrawn_by_this_call",\n "cancelled_unproven",\n "already_cancelled",\n "not_pending",\n "unreachable",\n]\n\nWITHDRAWN_BY_THIS_CALL: Cancellation = "withdrawn_by_this_call"\nCANCELLED_UNPROVEN: Cancellation = "cancelled_unproven"\nALREADY_CANCELLED: Cancellation = "already_cancelled"\nNOT_PENDING: Cancellation = "not_pending"\nUNREACHABLE: Cancellation = "unreachable"\nCANCELLATIONS: Tuple[Cancellation, ...] = (\n WITHDRAWN_BY_THIS_CALL,\n CANCELLED_UNPROVEN,\n ALREADY_CANCELLED,\n NOT_PENDING,\n UNREACHABLE,\n)\n\nUNAVAILABLE_STATUS = "unavailable"\nSTOP_HANDOFF = "stop"\n\n\ndef classify_cancellation(response: object) -> Cancellation:\n if not isinstance(response, Mapping):\n return UNREACHABLE\n fields: Mapping[object, object] = response\n cancelled = fields.get("cancelled")\n by_this_call = fields.get("cancelledByThisCall")\n if (\n not isinstance(cancelled, bool)\n or fields.get("status") == UNAVAILABLE_STATUS\n or fields.get("handoffAction") == STOP_HANDOFF\n or (by_this_call is not None and not isinstance(by_this_call, bool))\n or (by_this_call is True and not cancelled)\n ):\n return UNREACHABLE\n if not cancelled:\n return NOT_PENDING\n if by_this_call is None:\n return CANCELLED_UNPROVEN\n return WITHDRAWN_BY_THIS_CALL if by_this_call else ALREADY_CANCELLED\n' },
1391
- { path: "dashboard/manifest.json", contents: '{\n "name": "pushary",\n "label": "Pushary",\n "description": "Approvals Pushary is carrying to your phone, answerable from Hermes Desktop",\n "version": "1.0.10",\n "tab": { "hidden": true },\n "entry": "web.js",\n "api": "plugin_api.py"\n}\n' },
1391
+ { path: "dashboard/manifest.json", contents: '{\n "name": "pushary",\n "label": "Pushary",\n "description": "Approvals Pushary is carrying to your phone, answerable from Hermes Desktop",\n "version": "1.0.12",\n "tab": { "hidden": true },\n "entry": "web.js",\n "api": "plugin_api.py"\n}\n' },
1392
1392
  { path: "dashboard/plugin_api.py", contents: `import importlib
1393
1393
  import sys
1394
1394
  import time
@@ -2300,7 +2300,7 @@ def record_plugin_load(approval_transport_registered, home=None, pid=None, now=N
2300
2300
  logger.debug("[pushary] could not record the plugin load: %s", exc)
2301
2301
  return None
2302
2302
  ` },
2303
- { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.10\ndescription: Push notifications and human-in-the-loop for Hermes Agent via Pushary\nauthor: RalphNex OU\nrequires_env:\n - name: PUSHARY_API_KEY\n description: Your Pushary API key\n url: https://pushary.com/sign-up?from=hermes\n secret: true\nconfig_schema:\n api_key:\n type: secret\n env: PUSHARY_API_KEY\n label: Pushary API key\n description: "Get one at pushary.com/sign-up?from=hermes"\n required: true\nprovides_tools:\n - pushary_remind\n - pushary_notify\n - pushary_ask\n - pushary_wait\n - pushary_cancel\n - pushary_propose_scope\n - pushary_enroll\n - pushary_ask_end_user\nprovides_hooks:\n - pre_llm_call\n - pre_tool_call\n - post_tool_call\n - on_session_start\n - on_session_end\n - on_session_finalize\n - post_approval_response\nprovides_approval_transports:\n - pushary\n' },
2303
+ { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.12\ndescription: Push notifications and human-in-the-loop for Hermes Agent via Pushary\nauthor: RalphNex OU\nrequires_env:\n - name: PUSHARY_API_KEY\n description: Your Pushary API key\n url: https://pushary.com/sign-up?from=hermes\n secret: true\nconfig_schema:\n api_key:\n type: secret\n env: PUSHARY_API_KEY\n label: Pushary API key\n description: "Get one at pushary.com/sign-up?from=hermes"\n required: true\nprovides_tools:\n - pushary_remind\n - pushary_notify\n - pushary_ask\n - pushary_wait\n - pushary_cancel\n - pushary_propose_scope\n - pushary_enroll\n - pushary_ask_end_user\nprovides_hooks:\n - pre_llm_call\n - pre_tool_call\n - post_tool_call\n - on_session_start\n - on_session_end\n - on_session_finalize\n - post_approval_response\nprovides_approval_transports:\n - pushary\n' },
2304
2304
  { path: "README.md", contents: "# Pushary for Hermes\n\nAsk a question in Hermes and answer it on your phone. Try it with your own device before routing command approvals there.\n\n## Connect your phone\n\n1. [Set up your Pushary Agent account](https://pushary.com/sign-up?from=ai-coding&utm_source=hermes-plugin&utm_medium=quickstart&utm_campaign=first-question). Pair your phone with that account and get its API key from Agent settings.\n2. In your terminal, install the catalog plugin:\n\n ```sh\n hermes plugins install pushary\n ```\n\n3. Enter `PUSHARY_API_KEY` when Hermes prompts for it. If you missed the prompt, save the key in the plugin\u2019s settings in Hermes Desktop. Keep it out of chat. Start a new Hermes session (for a running gateway, use `hermes gateway restart`).\n\n## Try one question\n\nTell Hermes: **Use `pushary_ask` to ask me \u201CDid this test reach your phone?\u201D Report my answer and do nothing else.** Open the question on your paired phone and tap **Yes** or **No**. Hermes should report the answer you tapped.\n\nIf nothing arrives, check the account and notification permissions on your phone. A pending question is still live: wait for the same question rather than sending another. If Pushary hands it back to Hermes, answer the local prompt instead. No answer is not approval.\n\nCommand approvals are separate from this test. To route them to your phone, set `security.approval.transport` to `pushary`. Set `security.approval.transport_fallback` to `builtin` if you want Hermes\u2019s local prompt after a safe handoff; an unconfirmed withdrawal does not authorize the command. See the [plugin guide](https://github.com/Pushary/hermes-plugin-pushary#readme) for approval routing and what the plugin reads and sends.\n" },
2305
2305
  { path: "schemas.py", contents: `PUSHARY_REMIND = {
2306
2306
  "name": "pushary_remind",
@@ -2656,7 +2656,7 @@ PUSHARY_ASK_END_USER = {
2656
2656
  },
2657
2657
  }
2658
2658
  ` },
2659
- { path: "skills/pushary/SKILL.md", contents: '---\nname: pushary-hermes\nversion: 0.9.2\ndescription: Push notifications and human-in-the-loop for Hermes Agent. Use this whenever a running agent needs a human and no chat session is active, such as before an irreversible or destructive action, before spending money, deploying, force-pushing or deleting, when blocked on a decision outside your authority, when running unattended and you hit a genuine ambiguity, when another skill\'s workflow says to confirm with the user, and when a long task finishes or fails with nobody watching. Send alerts when tasks finish, ask questions (yes/no, multiple choice, or free text) via web push, and get answers from their connected devices. Use these tools proactively when the user is not actively in a chat session. Works alongside Hermes\'s built-in messaging platforms (Telegram, Discord, etc.) as a universal fallback channel.\nmetadata:\n hermes:\n tags: [notifications, push, human-in-the-loop, alerts, permissions]\n category: productivity\n requires_toolsets: []\n config:\n - key: PUSHARY_API_KEY\n description: "Your Pushary API key for push notifications"\n default: ""\n tags: notifications, push, mcp, human-in-the-loop, hermes, alerts, permissions\n---\n\n# Pushary - Push Notifications for Hermes Agent\n\nPushary adds mobile, Mac and browser delivery for Hermes. Use it when the user is not actively monitoring a chat platform, or when you need to reach them on their phone\'s lock screen for a time-sensitive decision.\n\n## Ask in as Few Interruptions as Possible\n\nHonor authorization already granted in this session. Ask only for a missing decision or an action outside that authorization, or when an enforced host policy requires it. A multi-step task alone does not require plan approval. Never ask again merely because the next authorized step deletes, deploys or publishes something. These skills guide the agent; supported hooks and runtime approval gates enforce policy. Do not bypass an enforced gate.\n\nEvery question costs the user their attention wherever they are. Before a run of more than a step or two, work out where you will need a human and fold those points together: one `select` carrying the real options beats three `confirm`s in a row, ask once at a boundary rather than once per instance, and never ask what you can determine yourself from the task or from a tool call you can make.\n\n## When to Use Pushary vs Hermes Platforms\n\n**Use Pushary when:**\n- The user has no active chat session (Telegram, Discord, etc.)\n- You need to reach the user\'s phone lock screen for a quick decision\n- A background task finishes and the user may have walked away\n- Permission escalation - a dangerous command needs approval\n- Another skill\'s workflow says to confirm with the user, and no chat session is active to confirm in\n- The user explicitly asked for push notifications\n\n**Use the active Hermes platform when:**\n- The user is currently in a Telegram/Discord/Slack conversation with you\n- The question is part of an ongoing dialog\n- The user prefers responses in their current platform\n\nUse an extra push only when the user requested it or a meaningful unattended result needs attention. Do not assume you can detect whether a Telegram or Discord message was read.\n\n## Setup\n\nOn a Mac, the Pushary app connects Hermes: it puts this plugin in `~/.hermes/plugins/pushary` and selects Pushary as the approval transport. On any computer, `npx -y pushary@latest setup --agents hermes` does the same. The plugin can also come from the Hermes catalog with `hermes plugins install pushary`. Never install a second copy over one that is already there. No MCP server configuration is needed. Keep credentials out of chat and verify the paired account and device.\n\nIf the `pushary_*` tools are missing from a Hermes session, the plugin did not load. Do not pip-install it into Hermes\'s Python: current Hermes does not load packages added that way. Ask the user to open the Pushary app and repair Hermes, or to run `npx -y pushary@latest setup --agents hermes`. Then they restart Hermes with `hermes gateway restart`.\n\n## Approvals Go to the Phone\n\nThe plugin registers `pushary` as a Hermes **approval transport**, so the dangerous-command approvals Hermes already asks for open in the app with the same four choices the terminal offers: allow once, allow for this session, always allow, deny. Hermes owns the timeout (300 seconds by default) and remembers session and always decisions exactly as it would have.\n\n```yaml\nsecurity:\n approval:\n transport: pushary\n transport_fallback: builtin\n```\n\nHermes denies by default when Pushary is unreachable. Only an operator who sets `transport_fallback: builtin` enables its built-in prompt after a safe local handoff; cancellation or an unverifiable withdrawal still stops the action. You do not call this yourself; it fires when Hermes decides a command needs a human.\n\n## Answer surfaces and account boundaries\n\n| Surface | What the user can do |\n| --- | --- |\n| Mobile app | Answer confirm, select and input questions. Supported confirm notifications offer approve/deny actions on the lock screen; arbitrary choices and text open the app. |\n| Mac notch | Answer confirm, select, input and question-set questions, including keyboard controls. Presence and delivery policy determine when the phone is also reached. |\n| Slack | Answer through buttons, menus or text modals when the integration and intended recipient are configured. |\n| Browser | Open the decision page as a fallback; browser notification delivery requires permission. |\n\nPersonal setup connects the operator\'s devices. For a Mac, the operator installs from https://pushary.com/download, signs in to the same personal account and connects their agents in the app. Request one harmless test question and verify it reaches the intended surface. Test phone fallback while away from the Mac; do not infer delivery from a successful API call alone.\n\nPartner customers use scoped enrollment links issued by their application. Do not enroll them into the operator\'s account or send their decisions through personal tools. They answer on their enrolled phone, and in the Mac notch once they connect the Mac from the phone app. See https://pushary.com/docs/agents/embed for Partner setup.\n\n## Tools\n\nTool names below are the native plugin names. An MCP client without the plugin sees the same capabilities as `send_notification`, `schedule_reminder`, `ask_user`, `wait_for_answer`, `cancel_question`, and `propose_scope`.\n\n### pushary_remind\n\nFor personal reminders later, use `pushary_remind` with `body` and `in_minutes`, or `at` with an explicit UTC offset. Never guess the timezone; confirm the returned time. Pushary saves it and delivers after Hermes exits. Use Hermes cron for future agent work. No arguments lists pending reminders; `cancel_reminder_id` cancels a scheduled one. One-time only, up to 30 days ahead, and delivery can be about a minute late. It goes to the phone and the Pushary Mac app; with no phone connected, only to the Mac app if they have one. Tell the user any `warning`. Do not use `pushary_ask` for reminders.\n\n### pushary_notify\n\n\nSend a one-way push notification. Optionally include structured context for a rich detail page.\n\n**Parameters:**\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| title | string | Yes | Notification title (max 100 chars, aim for under 60) |\n| body | string | Yes | Notification body (max 500 chars; the phone shows the first 180) |\n| agent_name | string | No | Identifies this Hermes instance (e.g., "Hermes - daily-briefing") |\n| context_type | "task_complete" / "error" / "info" | Yes for task updates | Marks the notification for task-update routing. |\n| summary | string | No | Short summary of the result. |\n| details / files_changed | string[] | No | Result details or changed paths. |\n| error_message / next_steps | string | No | Error or suggested follow-up. |\n\n**Example - cron task completed:**\n\n```json\n{\n "title": "Daily briefing ready",\n "body": "Compiled 12 news items and 3 calendar events",\n "agent_name": "Hermes - daily-briefing",\n "context_type": "task_complete",\n "summary": "Morning briefing compiled from RSS feeds and Google Calendar",\n "details": ["12 tech news items", "3 meetings today", "2 PRs awaiting review"],\n "next_steps": "Say \'read briefing\' in Telegram to hear the full summary"\n}\n```\n\n### pushary_ask\n\nAsk a question via push notification and **wait for the answer** (blocks by default). Three question types: confirm (yes/no), select (multiple choice), input (free text).\n\n**Parameters:**\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| question | string | Yes | The complete question (max 8000 chars; notifications show a short preview) |\n| type | "confirm" / "select" / "input" | No | Question type (default: confirm) |\n| options | string[] | No | Choices for select type (2-6 options) |\n| placeholder | string | No | Placeholder text for input type |\n| context | string | No | What you\'re working on, shown above the question |\n| agent_name | string | No | Identifies this Hermes instance |\n| wait | boolean | No | Wait for answer before returning (default: true) |\n| timeout_ms | integer | No | Max wait in ms (max 55000). Defaults to 30000 per poll attempt; server policy may hand off earlier. |\n\n**Returns:**\n- `{ "answered": true, "value": "yes" }` - user responded\n- `{ "answered": false, "timedOut": true }` - no response within timeout\n\n**Example - dangerous command approval:**\n\n```json\n{\n "question": "Allow: rm -rf /tmp/build-artifacts/*",\n "type": "confirm",\n "context": "Cleaning up 2.3GB of stale build artifacts from last week",\n "agent_name": "Hermes - server-maintenance",\n "timeout_ms": 12000\n}\n```\n\n### pushary_wait\n\nPoll once for a response when `pushary_ask` was called with `wait: false`. Not needed with default blocking mode.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| correlation_id | string | Yes | The correlationId from pushary_ask |\n| timeout_ms | integer | No | How long to wait (default 30000, max 55000) |\n\n### pushary_cancel\n\nCancel a pending question that\'s no longer relevant.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| correlation_id | string | Yes | The correlationId to cancel |\n\n### pushary_propose_scope\n\nAgree the boundary of a multi-step run in one tap, before doing the work, instead of asking file by file. Use it once when a boundary needs agreement or the user requests an enforced scope. Skip a redundant proposal for already authorized work.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| done_when | string | Yes | What "finished" means for this run |\n| allowed_paths | string[] | No | Globs you intend to change, e.g. `["src/**"]` |\n| off_limits_paths | string[] | No | Globs you promise not to touch; these win on overlap |\n| promises | string[] | No | Boundaries that are not file paths: recipients, channels, spend, systems you will not open |\n| agent_name | string | No | Identifies this Hermes instance |\n\nOnly file paths are enforced, and only on tool calls that carry one. Shell commands, reads, web requests and MCP tools carry no path, so the contract says nothing about them. A run that changes no files belongs in `promises`, which is shown to the user and recorded but never checked. A word that is not a path in `allowed_paths` matches no file and makes every change ask instead.\n\nRead `enforces` in the result. An empty list means nothing here is checked automatically, and you must say so rather than report that a scope is in force.\n\nReturns `ratified: true` only on an explicit yes. Anything else means proceed as if no scope was agreed; do not describe it as ratified.\n\n## Human-in-the-Loop Flow\n\n`pushary_ask` performs its initial wait and at most one server-directed poll within that tool call. If the returned status is still pending, continue with `pushary_wait` and the same correlationId. With `wait: false`, start that polling yourself. Follow an explicit handoff instead when one is returned.\n\nRead `answered`, `status` and `handoffAction` (falling back to `nextAction`) on every response. Only `pending` is live; expired, cancelled, missing and unavailable are not new timeouts. Keep waiting with the same correlationId while pending. A poll ending does not expire the question; never cancel just because a poll returned without an answer. Before moving a live question to the current chat, cancel it. If cancellation says `stop`, stop; if it loses a race, poll once for one second and honor the winning answer. Silence is never consent. A select or input value containing \u201Cyes\u201D is answer data, not approval of a separate action.\n\nDelivery is controlled by the user\'s policy: `push_first` (When away) still sends your questions to the phone and lets only hook approvals skip it while the user is at the computer, `push_only` requests push every time, `notify_only` leaves the decision in the current client, and `terminal_only` avoids push. Do not override the mode or duplicate a question on every surface. The runtime owns delivery, expiry and settlement; do not claim that a reply can restart an ended agent turn.\n\nEach call returns an answer, a pending wait, or an explicit handoff:\n\n```\nresult = pushary_ask({\n question: "Deploy the updated config to production?",\n type: "confirm",\n context: "nginx config updated with new rate limits",\n tool_name: "terminal",\n tool_target: "systemctl reload",\n agent_name: "Hermes - devops"\n})\n\nif result.answered:\n if result.value == "yes":\n // proceed with deployment\n else:\n // abort and notify via active platform\nelse:\n // follow handoffAction when present, otherwise nextAction\n```\n\nPass `tool_name` and `tool_target` whenever the question is about a specific operation. They are what let the user turn a repeated approval into a standing rule, and what group the decision in their ledger.\n\n## Identifying Your Instance\n\nAlways pass `agent_name` so the user knows which Hermes profile or task is asking.\n\n**Format:** `"Hermes - {profile or task}"`\n\n**Examples:**\n- `"Hermes - daily-briefing"`\n- `"Hermes - server-maintenance"`\n- `"Hermes - code-review"`\n- `"Hermes - personal-assistant"`\n\n## Notification Etiquette\n\n- **Titles under 60 characters.** Phone lock screens truncate aggressively.\n- **Bodies under 180 characters,** where the phone cuts them. Use the flat `summary`, `details` and `next_steps` fields.\n- **Max 3 push notifications per task.** If the user is in an active chat, prefer that channel.\n- **Don\'t duplicate.** If you already sent the message via Telegram/Discord, send another push only if requested or needed for an unattended result.\n' },
2659
+ { path: "skills/pushary/SKILL.md", contents: '---\nname: pushary-hermes\nversion: 0.9.3\ndescription: Push notifications and human-in-the-loop for Hermes Agent. Use this whenever a running agent needs a human and no chat session is active, such as before an irreversible or destructive action, before spending money, deploying, force-pushing or deleting, when blocked on a decision outside your authority, when running unattended and you hit a genuine ambiguity, when another skill\'s workflow says to confirm with the user, and when a long task finishes or fails with nobody watching. Send alerts when tasks finish, ask questions (yes/no, multiple choice, or free text) as push notifications, and get answers from their connected devices. Use these tools proactively when the user is not actively in a chat session. Works alongside Hermes\'s built-in messaging platforms (Telegram, Discord, etc.) as a universal fallback channel.\nmetadata:\n hermes:\n tags: [notifications, push, human-in-the-loop, alerts, permissions]\n category: productivity\n requires_toolsets: []\n config:\n - key: PUSHARY_API_KEY\n description: "Your Pushary API key for push notifications"\n default: ""\n tags: notifications, push, mcp, human-in-the-loop, hermes, alerts, permissions\n---\n\n# Pushary - Push Notifications for Hermes Agent\n\nPushary adds mobile, Mac and browser delivery for Hermes. Use it when the user is not actively monitoring a chat platform, or when you need to reach them on their phone\'s lock screen for a time-sensitive decision.\n\n## Ask in as Few Interruptions as Possible\n\nHonor authorization already granted in this session. Ask only for a missing decision or an action outside that authorization, or when an enforced host policy requires it. A multi-step task alone does not require plan approval. Never ask again merely because the next authorized step deletes, deploys or publishes something. These skills guide the agent; supported hooks and runtime approval gates enforce policy. Do not bypass an enforced gate.\n\nEvery question costs the user their attention wherever they are. Before a run of more than a step or two, work out where you will need a human and fold those points together: one `select` carrying the real options beats three `confirm`s in a row, ask once at a boundary rather than once per instance, and never ask what you can determine yourself from the task or from a tool call you can make.\n\n## When to Use Pushary vs Hermes Platforms\n\n**Use Pushary when:**\n- The user has no active chat session (Telegram, Discord, etc.)\n- You need to reach the user\'s phone lock screen for a quick decision\n- A background task finishes and the user may have walked away\n- Permission escalation - a dangerous command needs approval\n- Another skill\'s workflow says to confirm with the user, and no chat session is active to confirm in\n- The user explicitly asked for push notifications\n\n**Use the active Hermes platform when:**\n- The user is currently in a Telegram/Discord/Slack conversation with you\n- The question is part of an ongoing dialog\n- The user prefers responses in their current platform\n\nUse an extra push only when the user requested it or a meaningful unattended result needs attention. Do not assume you can detect whether a Telegram or Discord message was read.\n\n## Setup\n\nOn a Mac, the Pushary app connects Hermes: it puts this plugin in `~/.hermes/plugins/pushary` and selects Pushary as the approval transport. On any computer, `npx -y pushary@latest setup --agents hermes` does the same. The plugin can also come from the Hermes catalog with `hermes plugins install pushary`. Never install a second copy over one that is already there. No MCP server configuration is needed. Keep credentials out of chat and verify the paired account and device.\n\nIf the `pushary_*` tools are missing from a Hermes session, the plugin did not load. Do not pip-install it into Hermes\'s Python: current Hermes does not load packages added that way. Ask the user to open the Pushary app and repair Hermes, or to run `npx -y pushary@latest setup --agents hermes`. Then they restart Hermes with `hermes gateway restart`.\n\n## Approvals Go to the Phone\n\nThe plugin registers `pushary` as a Hermes **approval transport**, so the dangerous-command approvals Hermes already asks for open in the app with the same four choices the terminal offers: allow once, allow for this session, always allow, deny. Hermes owns the timeout (300 seconds by default) and remembers session and always decisions exactly as it would have.\n\n```yaml\nsecurity:\n approval:\n transport: pushary\n transport_fallback: builtin\n```\n\nHermes denies by default when Pushary is unreachable. Only an operator who sets `transport_fallback: builtin` enables its built-in prompt after a safe local handoff; cancellation or an unverifiable withdrawal still stops the action. You do not call this yourself; it fires when Hermes decides a command needs a human.\n\n## Answer surfaces and account boundaries\n\n| Surface | What the user can do |\n| --- | --- |\n| Mobile app | Answer confirm, select and input questions. Supported confirm notifications offer approve/deny actions on the lock screen; arbitrary choices and text open the app. |\n| Mac notch | Answer confirm, select, input and question-set questions, including keyboard controls. Presence and delivery policy determine when the phone is also reached. |\n| Slack | Answer through buttons, menus or text modals when the integration and intended recipient are configured. |\n| Browser | Open the decision page as a fallback; browser notification delivery requires permission. |\n\nPersonal setup connects the operator\'s devices. For a Mac, the operator installs from https://pushary.com/download, signs in to the same personal account and connects their agents in the app. Request one harmless test question and verify it reaches the intended surface. Test phone fallback while away from the Mac; do not infer delivery from a successful API call alone.\n\nPartner customers use scoped enrollment links issued by their application. Do not enroll them into the operator\'s account or send their decisions through personal tools. They answer on their enrolled phone, and in the Mac notch once they connect the Mac from the phone app. See https://pushary.com/docs/agents/embed for Partner setup.\n\n## Tools\n\nTool names below are the native plugin names. An MCP client without the plugin sees the same capabilities as `send_notification`, `schedule_reminder`, `ask_user`, `wait_for_answer`, `cancel_question`, and `propose_scope`.\n\n### pushary_remind\n\nFor personal reminders later, use `pushary_remind` with `body` and `in_minutes`, or `at` with an explicit UTC offset. Never guess the timezone; confirm the returned time. Pushary saves it and delivers after Hermes exits. Use Hermes cron for future agent work. No arguments lists pending reminders; `cancel_reminder_id` cancels a scheduled one. One-time only, up to 30 days ahead, and delivery can be about a minute late. It goes to the phone and the Pushary Mac app; with no phone connected, only to the Mac app if they have one. Tell the user any `warning`. Do not use `pushary_ask` for reminders.\n\n### pushary_notify\n\n\nSend a one-way push notification. Optionally include structured context for a rich detail page.\n\n**Parameters:**\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| title | string | Yes | Notification title (max 100 chars, aim for under 60) |\n| body | string | Yes | Notification body (max 500 chars; the phone shows the first 180) |\n| agent_name | string | No | Identifies this Hermes instance (e.g., "Hermes - daily-briefing") |\n| context_type | "task_complete" / "error" / "info" | Yes for task updates | Marks the notification for task-update routing. |\n| summary | string | No | Short summary of the result. |\n| details / files_changed | string[] | No | Result details or changed paths. |\n| error_message / next_steps | string | No | Error or suggested follow-up. |\n\n**Example - cron task completed:**\n\n```json\n{\n "title": "Daily briefing ready",\n "body": "Compiled 12 news items and 3 calendar events",\n "agent_name": "Hermes - daily-briefing",\n "context_type": "task_complete",\n "summary": "Morning briefing compiled from RSS feeds and Google Calendar",\n "details": ["12 tech news items", "3 meetings today", "2 PRs awaiting review"],\n "next_steps": "Say \'read briefing\' in Telegram to hear the full summary"\n}\n```\n\n### pushary_ask\n\nAsk a question via push notification and **wait for the answer** (blocks by default). Three question types: confirm (yes/no), select (multiple choice), input (free text).\n\n**Parameters:**\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| question | string | Yes | The complete question (max 8000 chars; notifications show a short preview) |\n| type | "confirm" / "select" / "input" | No | Question type (default: confirm) |\n| options | string[] | No | Choices for select type (2-6 options) |\n| placeholder | string | No | Placeholder text for input type |\n| context | string | No | What you\'re working on, shown above the question |\n| agent_name | string | No | Identifies this Hermes instance |\n| wait | boolean | No | Wait for answer before returning (default: true) |\n| timeout_ms | integer | No | Max wait in ms (max 55000). Defaults to 30000 per poll attempt; server policy may hand off earlier. |\n\n**Returns:**\n- `{ "answered": true, "value": "yes" }` - user responded\n- `{ "answered": false, "timedOut": true }` - no response within timeout\n\n**Example - dangerous command approval:**\n\n```json\n{\n "question": "Allow: rm -rf /tmp/build-artifacts/*",\n "type": "confirm",\n "context": "Cleaning up 2.3GB of stale build artifacts from last week",\n "agent_name": "Hermes - server-maintenance",\n "timeout_ms": 12000\n}\n```\n\n### pushary_wait\n\nPoll once for a response when `pushary_ask` was called with `wait: false`. Not needed with default blocking mode.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| correlation_id | string | Yes | The correlationId from pushary_ask |\n| timeout_ms | integer | No | How long to wait (default 30000, max 55000) |\n\n### pushary_cancel\n\nCancel a pending question that\'s no longer relevant.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| correlation_id | string | Yes | The correlationId to cancel |\n\n### pushary_propose_scope\n\nAgree the boundary of a multi-step run in one tap, before doing the work, instead of asking file by file. Use it once when a boundary needs agreement or the user requests an enforced scope. Skip a redundant proposal for already authorized work.\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| done_when | string | Yes | What "finished" means for this run |\n| allowed_paths | string[] | No | Globs you intend to change, e.g. `["src/**"]` |\n| off_limits_paths | string[] | No | Globs you promise not to touch; these win on overlap |\n| promises | string[] | No | Boundaries that are not file paths: recipients, channels, spend, systems you will not open |\n| agent_name | string | No | Identifies this Hermes instance |\n\nOnly file paths are enforced, and only on tool calls that carry one. Shell commands, reads, web requests and MCP tools carry no path, so the contract says nothing about them. A run that changes no files belongs in `promises`, which is shown to the user and recorded but never checked. A word that is not a path in `allowed_paths` matches no file and makes every change ask instead.\n\nRead `enforces` in the result. An empty list means nothing here is checked automatically, and you must say so rather than report that a scope is in force.\n\nReturns `ratified: true` only on an explicit yes. Anything else means proceed as if no scope was agreed; do not describe it as ratified.\n\n## Human-in-the-Loop Flow\n\n`pushary_ask` performs its initial wait and at most one server-directed poll within that tool call. If the returned status is still pending, continue with `pushary_wait` and the same correlationId. With `wait: false`, start that polling yourself. Follow an explicit handoff instead when one is returned.\n\nRead `answered`, `status` and `handoffAction` (falling back to `nextAction`) on every response. Only `pending` is live; expired, cancelled, missing and unavailable are not new timeouts. Keep waiting with the same correlationId while pending. A poll ending does not expire the question; never cancel just because a poll returned without an answer. Before moving a live question to the current chat, cancel it. If cancellation says `stop`, stop; if it loses a race, poll once for one second and honor the winning answer. Silence is never consent. A select or input value containing \u201Cyes\u201D is answer data, not approval of a separate action.\n\nDelivery is controlled by the user\'s policy: `push_first` (When away) still sends your questions to the phone and lets only hook approvals skip it while the user is at the computer, `push_only` requests push every time, `notify_only` leaves the decision in the current client, and `terminal_only` avoids push. Do not override the mode or duplicate a question on every surface. The runtime owns delivery, expiry and settlement; do not claim that a reply can restart an ended agent turn.\n\nEach call returns an answer, a pending wait, or an explicit handoff:\n\n```\nresult = pushary_ask({\n question: "Deploy the updated config to production?",\n type: "confirm",\n context: "nginx config updated with new rate limits",\n tool_name: "terminal",\n tool_target: "systemctl reload",\n agent_name: "Hermes - devops"\n})\n\nif result.answered:\n if result.value == "yes":\n // proceed with deployment\n else:\n // abort and notify via active platform\nelse:\n // follow handoffAction when present, otherwise nextAction\n```\n\nPass `tool_name` and `tool_target` whenever the question is about a specific operation. They are what let the user turn a repeated approval into a standing rule, and what group the decision in their ledger.\n\n## Identifying Your Instance\n\nAlways pass `agent_name` so the user knows which Hermes profile or task is asking.\n\n**Format:** `"Hermes - {profile or task}"`\n\n**Examples:**\n- `"Hermes - daily-briefing"`\n- `"Hermes - server-maintenance"`\n- `"Hermes - code-review"`\n- `"Hermes - personal-assistant"`\n\n## Notification Etiquette\n\n- **Titles under 60 characters.** Phone lock screens truncate aggressively.\n- **Bodies under 180 characters,** where the phone cuts them. Use the flat `summary`, `details` and `next_steps` fields.\n- **Max 3 push notifications per task.** If the user is in an active chat, prefer that channel.\n- **Don\'t duplicate.** If you already sent the message via Telegram/Discord, send another push only if requested or needed for an unattended result.\n' },
2660
2660
  { path: "tools.py", contents: `import json
2661
2661
  import time
2662
2662
  import uuid
@@ -9,7 +9,7 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-FZMLD3MF.js";
12
+ } from "./chunk-LIYQSMYK.js";
13
13
  import {
14
14
  CODEX_APP_LAUNCH_AT_LOGIN_VERB,
15
15
  CODEX_APP_LAUNCH_VARIABLE
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-QCGNGEGE.js";
20
20
  import {
21
21
  xml
22
- } from "./chunk-V6YWRP4V.js";
22
+ } from "./chunk-JPKOYDQJ.js";
23
23
  import {
24
24
  writeFileAtomic
25
25
  } from "./chunk-PM2NRK6Y.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-AAP2HENZ.js";
3
+ } from "./chunk-Z7LAWFZ7.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-LYO34MJ4.js";
12
+ } from "./chunk-7MRK2WXT.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-J2GQIBMK.js";
20
+ } from "./chunk-ULDUDSTW.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -1,20 +1,17 @@
1
1
  import {
2
2
  UNSET_IGNORED_SHELL_VALUE_STEP
3
- } from "./chunk-PYMLNBAY.js";
3
+ } from "./chunk-TAXOI6AK.js";
4
4
  import {
5
5
  notificationAnswerStep
6
- } from "./chunk-LW4AG6EP.js";
6
+ } from "./chunk-MN6DXDJR.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-2UUCN62T.js";
11
- import {
12
- canChangeApprovalSettings
13
- } from "./chunk-C4PGW3PU.js";
10
+ } from "./chunk-MHZSIN5K.js";
14
11
  import {
15
12
  NPX_LATEST_COMMAND,
16
13
  npmExecSetupCommandFor
17
- } from "./chunk-LYO34MJ4.js";
14
+ } from "./chunk-7MRK2WXT.js";
18
15
  import {
19
16
  EXIT
20
17
  } from "./chunk-BG4HHB7E.js";
@@ -24,7 +21,7 @@ import {
24
21
  import {
25
22
  compatibleProfileFor,
26
23
  isCompatibleAgentType
27
- } from "./chunk-J2GQIBMK.js";
24
+ } from "./chunk-ULDUDSTW.js";
28
25
 
29
26
  // src/setup/closing.ts
30
27
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -91,28 +88,15 @@ var describeAnsweredHeadline = (answer) => isSimulatedAnswer(answer) ? SIMULATED
91
88
  var describeAnsweredHeadlineWithCodexGap = (answer, gap) => `${isSimulatedAnswer(answer) ? SIMULATED_ANSWER_HEADLINE : describeAnswer(answer)} ${CODEX_APPROVALS_GAPS[gap]}`;
92
89
  var answeredHeadline = (answer, gap) => gap === null ? describeAnsweredHeadline(answer) : describeAnsweredHeadlineWithCodexGap(answer, gap);
93
90
  var completeHeadline = (gap) => gap === null ? SETUP_COMPLETE_HEADLINE : `Agents configured. ${CODEX_APPROVALS_GAPS[gap]}`;
94
- var CHANGEABLE_APPROVAL_COMMANDS = [
95
- { command: "pushary mode", summary: "choose where approval requests appear" },
96
- { command: "pushary wait", summary: "show or set how long approvals wait for your phone" }
97
- ];
98
- var READABLE_APPROVAL_COMMANDS = [
99
- { command: "pushary mode", summary: "show where approval requests appear" },
100
- { command: "pushary wait", summary: "show how long approvals wait for your phone" }
101
- ];
102
- var approvalCommandSummaries = (canChange) => canChange ? CHANGEABLE_APPROVAL_COMMANDS : READABLE_APPROVAL_COMMANDS;
103
- var commandSurfaceFor = (keyScope) => [
91
+ var COMMAND_SURFACE = [
104
92
  { command: "pushary status", summary: "what this machine is connected to" },
105
- ...approvalCommandSummaries(canChangeApprovalSettings(keyScope)),
106
- { command: "pushary stats", summary: "what your agents have been asking" },
107
93
  { command: "pushary calls on", summary: "get a phone call when an approval waits" },
108
- { command: "pushary claude", summary: "run Claude Code with encrypted transcript support" },
109
94
  { command: "pushary doctor", summary: "check the install" }
110
95
  ];
111
96
  var surfaceColumnOf = (surface) => Math.max(...surface.map((entry) => entry.command.length)) + 2;
112
- var renderCommandSurface = (keyScope) => {
113
- const surface = commandSurfaceFor(keyScope);
114
- const column = surfaceColumnOf(surface);
115
- return surface.map((entry) => `${entry.command.padEnd(column)}${entry.summary}`);
97
+ var renderCommandSurface = () => {
98
+ const column = surfaceColumnOf(COMMAND_SURFACE);
99
+ return COMMAND_SURFACE.map((entry) => `${entry.command.padEnd(column)}${entry.summary}`);
116
100
  };
117
101
  var PHONE_START_VERIFIED_LINE = "Phone-start and steering: local and server checks passed just now. Recheck after sleep or network changes.";
118
102
  var PHONE_START_UNVERIFIED_LINE = "Phone-start and steering: unverified. Run pushary doctor to check the provider, background service and server route.";
@@ -160,8 +144,7 @@ var phoneStartProblemSteps = (facts) => {
160
144
  return missing ? [PHONE_START_CANNOT_RUN_LINE, ...WHAT_PHONE_START_NEEDS[missing], STOP_REQUIRING_PHONE_START_STEP] : PHONE_START_UNVERIFIED_STEPS;
161
145
  };
162
146
  var nextSteps = (facts, reachable) => {
163
- const lines = ["Delivery follows the current approval mode, recipient rules and presence. pushary mode status shows the workspace setting.", phoneStartStatusLine(facts)];
164
- lines.push("Before stepping away, run pushary wait to see how long phone approvals wait and what happens if you do not answer.");
147
+ const lines = facts.managedControlReady === true ? [] : [phoneStartStatusLine(facts)];
165
148
  if (facts.staleEnvironmentKey) {
166
149
  lines.push("Open a new terminal or unset PUSHARY_API_KEY, then run pushary doctor before starting an agent.");
167
150
  }
@@ -171,16 +154,10 @@ var nextSteps = (facts, reachable) => {
171
154
  if (facts.transcriptSync === false) {
172
155
  lines.push("Transcripts: disabled on this machine.");
173
156
  lines.push("pushary setup --transcripts on enable encrypted transcript sync");
174
- } else {
175
- lines.push(TRANSCRIPT_SYNC_NOTICE);
176
- }
177
- if (facts.completed.includes("claude_code")) {
178
- lines.push("pushary claude launch a managed Claude Code session");
179
157
  }
180
158
  if (!reachable) {
181
159
  lines.push(unreachedPhoneHint(facts));
182
160
  }
183
- lines.push("pushary doctor re-check everything");
184
161
  return lines;
185
162
  };
186
163
  var describeClosing = (facts) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS,
3
3
  HERMES_HISTORY_HELPER_COMMAND
4
- } from "./chunk-ARBMPOYR.js";
4
+ } from "./chunk-KTJHZVCD.js";
5
5
  import {
6
6
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
7
7
  HERMES_COMMAND_ALLOWLIST_KEY,
8
8
  HERMES_GATE_TOOLS_KEY,
9
9
  HERMES_SHELL_TOOL
10
- } from "./chunk-3DME4GIN.js";
10
+ } from "./chunk-2QUYUFYQ.js";
11
11
  import {
12
12
  retryAgentCommand
13
- } from "./chunk-2UUCN62T.js";
13
+ } from "./chunk-MHZSIN5K.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-LYO34MJ4.js";
16
+ } from "./chunk-7MRK2WXT.js";
17
17
 
18
18
  // src/setup/codex-trust.ts
19
19
  var CODEX_TRUST_TELEMETRY = {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-TJYY2ZNV.js";
12
+ } from "./chunk-XGW4PJPO.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";
@@ -5,13 +5,13 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-SHAZ6DT6.js";
8
+ } from "./chunk-FEVQDABQ.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-FG2EF7PP.js";
11
+ } from "./chunk-JFXYGMV5.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-J2GQIBMK.js";
14
+ } from "./chunk-ULDUDSTW.js";
15
15
 
16
16
  // src/openclaw/wiring-state.ts
17
17
  var OPENCLAW_PLUGIN_ID = "pushary";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-J2GQIBMK.js";
5
+ } from "./chunk-ULDUDSTW.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";