pushary 1.9.194 → 1.9.196

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 (34) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/bin/pushary-bell-hook.js +2 -2
  3. package/dist/bin/pushary-claude.js +1 -1
  4. package/dist/bin/pushary-clean.js +1 -1
  5. package/dist/bin/pushary-codex-hook.js +3 -3
  6. package/dist/bin/pushary-daemon.js +3 -3
  7. package/dist/bin/pushary-doctor.js +3 -3
  8. package/dist/bin/pushary-elicitation-hook.js +2 -2
  9. package/dist/bin/pushary-gemini-hook.js +2 -2
  10. package/dist/bin/pushary-hook.js +3 -3
  11. package/dist/bin/pushary-notification-hook.js +2 -2
  12. package/dist/bin/pushary-opencode-hook.js +2 -2
  13. package/dist/bin/pushary-permission-denied-hook.js +3 -3
  14. package/dist/bin/pushary-permission-hook.js +3 -3
  15. package/dist/bin/pushary-post-hook.js +2 -2
  16. package/dist/bin/pushary-prompt-hook.js +2 -2
  17. package/dist/bin/pushary-session-end-hook.js +2 -2
  18. package/dist/bin/pushary-session-start-hook.js +4 -4
  19. package/dist/bin/pushary-setup.js +3 -3
  20. package/dist/bin/pushary-stop-hook.js +2 -2
  21. package/dist/bin/pushary-stopfailure-hook.js +2 -2
  22. package/dist/bin/pushary-transcript-register.js +1 -1
  23. package/dist/bin/pushary-transcripts.js +1 -1
  24. package/dist/bin/pushary-upgrade.js +3 -3
  25. package/dist/{chunk-HNHRPMND.js → chunk-756CPP5T.js} +3 -2
  26. package/dist/{chunk-MAPYE7MM.js → chunk-GECCSAXS.js} +6 -2
  27. package/dist/{chunk-SS5PB32H.js → chunk-NMCQA5JL.js} +1 -1
  28. package/dist/{chunk-T3IU6PWU.js → chunk-QGWVK7K7.js} +1 -1
  29. package/dist/{chunk-64LDWQKR.js → chunk-REEDOBPH.js} +1 -1
  30. package/dist/{chunk-23NHXO6T.js → chunk-XNMEK464.js} +1 -1
  31. package/dist/{chunk-RL5LF7JZ.js → chunk-ZWN7AEEI.js} +1 -1
  32. package/dist/{reapply-3BXOHGEE.js → reapply-E7JYPWKA.js} +2 -2
  33. package/dist/src/index.js +3 -3
  34. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.196
4
+
5
+ - The bundled Hermes plugin (1.0.3) includes the marketplace quickstart: connect your phone, ask one test question and check the answer. Approval behavior is unchanged.
6
+
7
+ ## 1.9.195
8
+
9
+ - Session history now reaches your phone for a session Pushary had no record of, for example one whose start never reached the server. The server used to refuse every upload for such a session, and history kept retrying once a minute for up to two days without saving anything. After the first refusal, the next upload names the agent and the project folder, and the server records the session then. A session the server already knows is unchanged.
10
+ - When the server says it holds no key for a session, history offers the session's key again instead of waiting for one that never arrives.
11
+
3
12
  ## 1.9.194
4
13
 
5
14
  - The quick check Pushary runs on read-only and MCP tool calls now keeps your refusal rules through a slow connection. When the policy request does not answer in time, the check uses the policy this machine cached in the last 12 hours, so a rule that refuses a tool still refuses it. Before, a session with no fresh copy of its own let the call run without checking those rules. This only ever adds a refusal; it never lets a call through that the check would have stopped.
@@ -4,9 +4,9 @@ import {
4
4
  } from "../chunk-QOWEXH34.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-64LDWQKR.js";
7
+ } from "../chunk-REEDOBPH.js";
8
8
  import "../chunk-IYYWAP6P.js";
9
- import "../chunk-MAPYE7MM.js";
9
+ import "../chunk-GECCSAXS.js";
10
10
  import "../chunk-WHB622LP.js";
11
11
  import "../chunk-OM7CKAVY.js";
12
12
  import "../chunk-V6OR4WLF.js";
@@ -24,7 +24,7 @@ import {
24
24
  registerTranscript,
25
25
  registeredTranscriptEnabled,
26
26
  startDraftPublisher
27
- } from "../chunk-MAPYE7MM.js";
27
+ } from "../chunk-GECCSAXS.js";
28
28
  import "../chunk-WHB622LP.js";
29
29
  import {
30
30
  ensureDaemonRunning
@@ -57,7 +57,7 @@ import {
57
57
  openClawRemovalLeavesThePluginInstalled,
58
58
  removeHermesWiring,
59
59
  removeOpenClawPlugin
60
- } from "../chunk-HNHRPMND.js";
60
+ } from "../chunk-756CPP5T.js";
61
61
  import "../chunk-QCGNGEGE.js";
62
62
  import {
63
63
  OPENCLAW_PLUGIN_PACKAGE
@@ -26,13 +26,13 @@ import {
26
26
  } from "../chunk-M7O33GTP.js";
27
27
  import {
28
28
  readHookInput
29
- } from "../chunk-64LDWQKR.js";
29
+ } from "../chunk-REEDOBPH.js";
30
30
  import "../chunk-IYYWAP6P.js";
31
31
  import {
32
32
  announceSubscriptionRequired,
33
33
  isDeferAnswer
34
34
  } from "../chunk-LFCLDWHZ.js";
35
- import "../chunk-MAPYE7MM.js";
35
+ import "../chunk-GECCSAXS.js";
36
36
  import "../chunk-WHB622LP.js";
37
37
  import "../chunk-OM7CKAVY.js";
38
38
  import "../chunk-V6OR4WLF.js";
@@ -1080,7 +1080,7 @@ var decidePreToolUse = async (input) => {
1080
1080
  };
1081
1081
  var repairCodexHoldsQuietly = async () => {
1082
1082
  try {
1083
- const { repairCodexHolds } = await import("../reapply-3BXOHGEE.js");
1083
+ const { repairCodexHolds } = await import("../reapply-E7JYPWKA.js");
1084
1084
  repairCodexHolds();
1085
1085
  } catch {
1086
1086
  return;
@@ -5,7 +5,7 @@ import {
5
5
  } from "../chunk-ENEMHGBE.js";
6
6
  import {
7
7
  inspectConfiguredManagedProviders
8
- } from "../chunk-SS5PB32H.js";
8
+ } from "../chunk-NMCQA5JL.js";
9
9
  import "../chunk-T776F2FQ.js";
10
10
  import "../chunk-ERVXMMGO.js";
11
11
  import {
@@ -24,7 +24,7 @@ import {
24
24
  HERMES_INSTALL_MARKER_FILE,
25
25
  defaultHermesHome,
26
26
  parseHermesInstallMarker
27
- } from "../chunk-HNHRPMND.js";
27
+ } from "../chunk-756CPP5T.js";
28
28
  import {
29
29
  writeHuman
30
30
  } from "../chunk-QCGNGEGE.js";
@@ -64,7 +64,7 @@ import {
64
64
  import "../chunk-IYYWAP6P.js";
65
65
  import {
66
66
  startRegisteredTranscripts
67
- } from "../chunk-MAPYE7MM.js";
67
+ } from "../chunk-GECCSAXS.js";
68
68
  import "../chunk-WHB622LP.js";
69
69
  import "../chunk-OM7CKAVY.js";
70
70
  import {
@@ -4,7 +4,7 @@ import {
4
4
  openClawRepairStep,
5
5
  readHermesShellGate,
6
6
  readSetupFailure
7
- } from "../chunk-23NHXO6T.js";
7
+ } from "../chunk-XNMEK464.js";
8
8
  import {
9
9
  CODEX_HOOK_REMEDY,
10
10
  HERMES_RESTART_COMMAND,
@@ -12,7 +12,7 @@ import {
12
12
  describeHermesShellGate,
13
13
  describeHermesState,
14
14
  hermesRepairStep
15
- } from "../chunk-RL5LF7JZ.js";
15
+ } from "../chunk-ZWN7AEEI.js";
16
16
  import {
17
17
  describeWaitLadder
18
18
  } from "../chunk-CVWG2N3Y.js";
@@ -81,7 +81,7 @@ import {
81
81
  routesHermesQuestions,
82
82
  runsAnOlderPlugin,
83
83
  shippedHermesPlugin
84
- } from "../chunk-HNHRPMND.js";
84
+ } from "../chunk-756CPP5T.js";
85
85
  import "../chunk-QCGNGEGE.js";
86
86
  import {
87
87
  findOpenClawLauncher,
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-64LDWQKR.js";
4
+ } from "../chunk-REEDOBPH.js";
5
5
  import "../chunk-IYYWAP6P.js";
6
6
  import {
7
7
  announceSubscriptionRequired,
8
8
  isDeferAnswer
9
9
  } from "../chunk-LFCLDWHZ.js";
10
- import "../chunk-MAPYE7MM.js";
10
+ import "../chunk-GECCSAXS.js";
11
11
  import "../chunk-WHB622LP.js";
12
12
  import "../chunk-OM7CKAVY.js";
13
13
  import "../chunk-V6OR4WLF.js";
@@ -16,13 +16,13 @@ import {
16
16
  } from "../chunk-M7O33GTP.js";
17
17
  import {
18
18
  readHookInput
19
- } from "../chunk-64LDWQKR.js";
19
+ } from "../chunk-REEDOBPH.js";
20
20
  import "../chunk-IYYWAP6P.js";
21
21
  import {
22
22
  announceSubscriptionRequired,
23
23
  isDeferAnswer
24
24
  } from "../chunk-LFCLDWHZ.js";
25
- import "../chunk-MAPYE7MM.js";
25
+ import "../chunk-GECCSAXS.js";
26
26
  import "../chunk-WHB622LP.js";
27
27
  import "../chunk-OM7CKAVY.js";
28
28
  import "../chunk-V6OR4WLF.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  handlePreToolUse
4
- } from "../chunk-T3IU6PWU.js";
4
+ } from "../chunk-QGWVK7K7.js";
5
5
  import "../chunk-BQGNF6BN.js";
6
6
  import "../chunk-T776F2FQ.js";
7
7
  import {
@@ -13,10 +13,10 @@ import "../chunk-NFFWCJMJ.js";
13
13
  import "../chunk-IYOA3NWO.js";
14
14
  import {
15
15
  readToolHookCall
16
- } from "../chunk-64LDWQKR.js";
16
+ } from "../chunk-REEDOBPH.js";
17
17
  import "../chunk-IYYWAP6P.js";
18
18
  import "../chunk-LFCLDWHZ.js";
19
- import "../chunk-MAPYE7MM.js";
19
+ import "../chunk-GECCSAXS.js";
20
20
  import "../chunk-WHB622LP.js";
21
21
  import {
22
22
  activeHookSource,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-64LDWQKR.js";
4
+ } from "../chunk-REEDOBPH.js";
5
5
  import "../chunk-IYYWAP6P.js";
6
- import "../chunk-MAPYE7MM.js";
6
+ import "../chunk-GECCSAXS.js";
7
7
  import "../chunk-WHB622LP.js";
8
8
  import {
9
9
  activeHookSource,
@@ -34,13 +34,13 @@ import {
34
34
  } from "../chunk-IYOA3NWO.js";
35
35
  import {
36
36
  readHookInput
37
- } from "../chunk-64LDWQKR.js";
37
+ } from "../chunk-REEDOBPH.js";
38
38
  import "../chunk-IYYWAP6P.js";
39
39
  import {
40
40
  announceSubscriptionRequired,
41
41
  isDeferAnswer
42
42
  } from "../chunk-LFCLDWHZ.js";
43
- import "../chunk-MAPYE7MM.js";
43
+ import "../chunk-GECCSAXS.js";
44
44
  import "../chunk-WHB622LP.js";
45
45
  import "../chunk-OM7CKAVY.js";
46
46
  import "../chunk-V6OR4WLF.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  handlePermissionDenied
4
- } from "../chunk-T3IU6PWU.js";
4
+ } from "../chunk-QGWVK7K7.js";
5
5
  import "../chunk-BQGNF6BN.js";
6
6
  import "../chunk-T776F2FQ.js";
7
7
  import {
@@ -13,10 +13,10 @@ import "../chunk-NFFWCJMJ.js";
13
13
  import "../chunk-IYOA3NWO.js";
14
14
  import {
15
15
  readHookInput
16
- } from "../chunk-64LDWQKR.js";
16
+ } from "../chunk-REEDOBPH.js";
17
17
  import "../chunk-IYYWAP6P.js";
18
18
  import "../chunk-LFCLDWHZ.js";
19
- import "../chunk-MAPYE7MM.js";
19
+ import "../chunk-GECCSAXS.js";
20
20
  import "../chunk-WHB622LP.js";
21
21
  import "../chunk-OM7CKAVY.js";
22
22
  import "../chunk-V6OR4WLF.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  handlePermissionRequest
4
- } from "../chunk-T3IU6PWU.js";
4
+ } from "../chunk-QGWVK7K7.js";
5
5
  import "../chunk-BQGNF6BN.js";
6
6
  import "../chunk-T776F2FQ.js";
7
7
  import {
@@ -13,10 +13,10 @@ import "../chunk-NFFWCJMJ.js";
13
13
  import "../chunk-IYOA3NWO.js";
14
14
  import {
15
15
  readToolHookInput
16
- } from "../chunk-64LDWQKR.js";
16
+ } from "../chunk-REEDOBPH.js";
17
17
  import "../chunk-IYYWAP6P.js";
18
18
  import "../chunk-LFCLDWHZ.js";
19
- import "../chunk-MAPYE7MM.js";
19
+ import "../chunk-GECCSAXS.js";
20
20
  import "../chunk-WHB622LP.js";
21
21
  import {
22
22
  activeHookSource,
@@ -4,9 +4,9 @@ import {
4
4
  } from "../chunk-BQGNF6BN.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-64LDWQKR.js";
7
+ } from "../chunk-REEDOBPH.js";
8
8
  import "../chunk-IYYWAP6P.js";
9
- import "../chunk-MAPYE7MM.js";
9
+ import "../chunk-GECCSAXS.js";
10
10
  import "../chunk-WHB622LP.js";
11
11
  import {
12
12
  activeHookSource,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-64LDWQKR.js";
4
+ } from "../chunk-REEDOBPH.js";
5
5
  import "../chunk-IYYWAP6P.js";
6
- import "../chunk-MAPYE7MM.js";
6
+ import "../chunk-GECCSAXS.js";
7
7
  import "../chunk-WHB622LP.js";
8
8
  import {
9
9
  activeHookSource,
@@ -5,9 +5,9 @@ import {
5
5
  import "../chunk-TCE3J44Z.js";
6
6
  import {
7
7
  readHookInput
8
- } from "../chunk-64LDWQKR.js";
8
+ } from "../chunk-REEDOBPH.js";
9
9
  import "../chunk-IYYWAP6P.js";
10
- import "../chunk-MAPYE7MM.js";
10
+ import "../chunk-GECCSAXS.js";
11
11
  import "../chunk-WHB622LP.js";
12
12
  import {
13
13
  activeHookSource,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  reapplyClaudeForVersion
4
- } from "../chunk-SS5PB32H.js";
4
+ } from "../chunk-NMCQA5JL.js";
5
5
  import "../chunk-V3PMKMAO.js";
6
- import "../chunk-HNHRPMND.js";
6
+ import "../chunk-756CPP5T.js";
7
7
  import "../chunk-ZDROZABP.js";
8
8
  import "../chunk-DFTVEK72.js";
9
9
  import "../chunk-ZGS5TMMV.js";
@@ -18,9 +18,9 @@ import {
18
18
  } from "../chunk-M7O33GTP.js";
19
19
  import {
20
20
  readHookInput
21
- } from "../chunk-64LDWQKR.js";
21
+ } from "../chunk-REEDOBPH.js";
22
22
  import "../chunk-IYYWAP6P.js";
23
- import "../chunk-MAPYE7MM.js";
23
+ import "../chunk-GECCSAXS.js";
24
24
  import "../chunk-WHB622LP.js";
25
25
  import {
26
26
  activeHookSource,
@@ -67,7 +67,7 @@ import {
67
67
  gateHermesShell,
68
68
  readHermesShellGate,
69
69
  saveSetupFailure
70
- } from "../chunk-23NHXO6T.js";
70
+ } from "../chunk-XNMEK464.js";
71
71
  import {
72
72
  CODEX_NEEDS_A_NEWER_VERSION,
73
73
  CODEX_SETTINGS_STOP_A_HOOK,
@@ -81,7 +81,7 @@ import {
81
81
  describeHermesState,
82
82
  hermesGateShellCommand,
83
83
  needsCodexTrustStep
84
- } from "../chunk-RL5LF7JZ.js";
84
+ } from "../chunk-ZWN7AEEI.js";
85
85
  import {
86
86
  describeWaitLadder
87
87
  } from "../chunk-CVWG2N3Y.js";
@@ -178,7 +178,7 @@ import {
178
178
  routesHermesQuestions,
179
179
  runsAnOlderPlugin,
180
180
  shippedHermesPlugin
181
- } from "../chunk-HNHRPMND.js";
181
+ } from "../chunk-756CPP5T.js";
182
182
  import {
183
183
  setHumanStream
184
184
  } from "../chunk-QCGNGEGE.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-64LDWQKR.js";
4
+ } from "../chunk-REEDOBPH.js";
5
5
  import "../chunk-IYYWAP6P.js";
6
- import "../chunk-MAPYE7MM.js";
6
+ import "../chunk-GECCSAXS.js";
7
7
  import "../chunk-WHB622LP.js";
8
8
  import {
9
9
  activeHookSource,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readHookInput
4
- } from "../chunk-64LDWQKR.js";
4
+ } from "../chunk-REEDOBPH.js";
5
5
  import "../chunk-IYYWAP6P.js";
6
- import "../chunk-MAPYE7MM.js";
6
+ import "../chunk-GECCSAXS.js";
7
7
  import "../chunk-WHB622LP.js";
8
8
  import {
9
9
  activeHookSource,
@@ -5,7 +5,7 @@ import {
5
5
  } from "../chunk-FAMKGTCF.js";
6
6
  import {
7
7
  registerTranscript
8
- } from "../chunk-MAPYE7MM.js";
8
+ } from "../chunk-GECCSAXS.js";
9
9
  import "../chunk-WHB622LP.js";
10
10
  import "../chunk-V6OR4WLF.js";
11
11
  import "../chunk-5JQQ5IQC.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  clearSnapshotRecipientPins,
16
16
  snapshotRecipientPinFile
17
- } from "../chunk-MAPYE7MM.js";
17
+ } from "../chunk-GECCSAXS.js";
18
18
  import "../chunk-WHB622LP.js";
19
19
  import "../chunk-V6OR4WLF.js";
20
20
  import "../chunk-5JQQ5IQC.js";
@@ -28,11 +28,11 @@ import {
28
28
  import {
29
29
  ensureCodexTrustAfterReapply,
30
30
  reapplyAllAgents
31
- } from "../chunk-SS5PB32H.js";
31
+ } from "../chunk-NMCQA5JL.js";
32
32
  import {
33
33
  HERMES_RESTART_COMMAND,
34
34
  describeCodexTrustConfirmation
35
- } from "../chunk-RL5LF7JZ.js";
35
+ } from "../chunk-ZWN7AEEI.js";
36
36
  import "../chunk-44SARVA4.js";
37
37
  import {
38
38
  keepLinuxDaemonAfterLogout,
@@ -45,7 +45,7 @@ import "../chunk-V3PMKMAO.js";
45
45
  import {
46
46
  readMacAppAgentKey
47
47
  } from "../chunk-GHMCSDAN.js";
48
- import "../chunk-HNHRPMND.js";
48
+ import "../chunk-756CPP5T.js";
49
49
  import "../chunk-ZDROZABP.js";
50
50
  import {
51
51
  FX_RELOAD_AFTER_BRIDGE,
@@ -1341,7 +1341,7 @@ def _await_decision(request, created, correlation_id: str, offered, uses_select:
1341
1341
  return _decided(request, correlation_id, "deny", None)
1342
1342
  ` },
1343
1343
  { 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' },
1344
- { 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.2",\n "tab": { "hidden": true },\n "entry": "web.js",\n "api": "plugin_api.py"\n}\n' },
1344
+ { 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.3",\n "tab": { "hidden": true },\n "entry": "web.js",\n "api": "plugin_api.py"\n}\n' },
1345
1345
  { path: "dashboard/plugin_api.py", contents: `import importlib
1346
1346
  import sys
1347
1347
  import time
@@ -2126,7 +2126,8 @@ def record_plugin_load(approval_transport_registered, home=None, pid=None, now=N
2126
2126
  logger.debug("[pushary] could not record the plugin load: %s", exc)
2127
2127
  return None
2128
2128
  ` },
2129
- { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.2\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' },
2129
+ { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.3\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' },
2130
+ { 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" },
2130
2131
  { path: "schemas.py", contents: `PUSHARY_REMIND = {
2131
2132
  "name": "pushary_remind",
2132
2133
  "description": "Schedule a one-time personal reminder on Pushary, even after Hermes exits. Use body plus in_minutes or at (ISO timestamp with explicit UTC offset, within 30 days). Never guess the user's timezone. Confirm the returned time. No arguments lists pending reminders; cancel_reminder_id cancels a scheduled one. Use Hermes cron for agent work; use this for reminding the operator.",
@@ -859,6 +859,7 @@ var claudeTranscriptPath = (cwd, sessionId) => {
859
859
  const configDir = claudeConfigDir();
860
860
  return join4(configDir, "projects", projectId, `${sessionId}.jsonl`);
861
861
  };
862
+ var refusedForWantOfKey = (result) => result.keyUnavailable && result.settledIds !== null;
862
863
  var createSyncState = () => ({
863
864
  sessionKey: null,
864
865
  wrappedKey: null,
@@ -888,7 +889,7 @@ var withSessionKey = async (state, uploader) => {
888
889
  retentionDays: recipients.retentionDays
889
890
  };
890
891
  };
891
- var syncTick = async (lines, state, uploader, sessionId, machineId) => {
892
+ var syncTick = async (lines, state, uploader, sessionId, machineId, description) => {
892
893
  if (state.keyRejected) return state;
893
894
  const keyed = await withSessionKey(state, uploader);
894
895
  const { sessionKey, wrappedKey, providerWrappedKey, providerKeyId, compressRecords } = keyed;
@@ -902,6 +903,7 @@ var syncTick = async (lines, state, uploader, sessionId, machineId) => {
902
903
  let keyRejected = false;
903
904
  let keyUnavailable = false;
904
905
  let rejected = 0;
906
+ const describedSession = state.keyUnavailable ? description : void 0;
905
907
  for (const chunk of chunkRecords(built.records)) {
906
908
  const result = await uploader.uploadRecords({
907
909
  sessionId,
@@ -909,6 +911,7 @@ var syncTick = async (lines, state, uploader, sessionId, machineId) => {
909
911
  dataEncryptionKey: keyUploaded ? void 0 : wrappedKey ?? void 0,
910
912
  providerWrappedSessionKey: keyUploaded ? void 0 : providerWrappedKey ?? void 0,
911
913
  providerKeyId: keyUploaded ? void 0 : providerKeyId ?? void 0,
914
+ ...keyUploaded ? void 0 : describedSession,
912
915
  records: chunk
913
916
  });
914
917
  keyUploaded = keyUploaded || result.keyRegistered;
@@ -918,6 +921,7 @@ var syncTick = async (lines, state, uploader, sessionId, machineId) => {
918
921
  }
919
922
  if (result.keyUnavailable) {
920
923
  keyUnavailable = true;
924
+ keyUploaded = keyUploaded && !refusedForWantOfKey(result);
921
925
  break;
922
926
  }
923
927
  if (!result.ok) break;
@@ -1075,7 +1079,7 @@ var startTranscriptSync = (opts) => {
1075
1079
  const previous = state;
1076
1080
  const source = opts.source ?? "claude";
1077
1081
  const batch = reader.read(state.retentionDays ?? SESSION_HISTORY_RETENTION_DAYS.standard, Date.now());
1078
- state = await syncTick(batch.lines, state, uploader, opts.sessionId, opts.machineId);
1082
+ state = await syncTick(batch.lines, state, uploader, opts.sessionId, opts.machineId, { agentSource: source, cwd: opts.cwd });
1079
1083
  stalled = uploadStalled(previous, state);
1080
1084
  persistSessionKey();
1081
1085
  const settled = nothingLeftToUpload(state);
@@ -9,7 +9,7 @@ import {
9
9
  refreshHermesPluginFiles,
10
10
  refreshOpenClawPlugin,
11
11
  shippedHermesPlugin
12
- } from "./chunk-HNHRPMND.js";
12
+ } from "./chunk-756CPP5T.js";
13
13
  import {
14
14
  fxIgnoresInstructionsFile,
15
15
  fxInstructionsBody,
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  isAdmitted,
27
27
  readAdmissionRules
28
- } from "./chunk-64LDWQKR.js";
28
+ } from "./chunk-REEDOBPH.js";
29
29
  import {
30
30
  isDeferAnswer,
31
31
  oncePerSession
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-IYYWAP6P.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-MAPYE7MM.js";
7
+ } from "./chunk-GECCSAXS.js";
8
8
  import {
9
9
  namedEvent
10
10
  } from "./chunk-OM7CKAVY.js";
@@ -18,7 +18,7 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-HNHRPMND.js";
21
+ } from "./chunk-756CPP5T.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
@@ -6,7 +6,7 @@ import {
6
6
  HERMES_COMMAND_ALLOWLIST_KEY,
7
7
  HERMES_GATE_TOOLS_KEY,
8
8
  HERMES_SHELL_TOOL
9
- } from "./chunk-HNHRPMND.js";
9
+ } from "./chunk-756CPP5T.js";
10
10
  import {
11
11
  retryAgentCommand
12
12
  } from "./chunk-ZGS5TMMV.js";
@@ -12,9 +12,9 @@ import {
12
12
  reapplyOpenCodePlugin,
13
13
  reapplyVsCodePlugin,
14
14
  repairCodexHolds
15
- } from "./chunk-SS5PB32H.js";
15
+ } from "./chunk-NMCQA5JL.js";
16
16
  import "./chunk-V3PMKMAO.js";
17
- import "./chunk-HNHRPMND.js";
17
+ import "./chunk-756CPP5T.js";
18
18
  import "./chunk-ZDROZABP.js";
19
19
  import "./chunk-DFTVEK72.js";
20
20
  import "./chunk-ZGS5TMMV.js";
package/dist/src/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  handlePreToolUse
3
- } from "../chunk-T3IU6PWU.js";
3
+ } from "../chunk-QGWVK7K7.js";
4
4
  import "../chunk-BQGNF6BN.js";
5
5
  import "../chunk-T776F2FQ.js";
6
6
  import "../chunk-UXQVXB7Q.js";
7
7
  import "../chunk-DWLG2IIV.js";
8
8
  import "../chunk-NFFWCJMJ.js";
9
9
  import "../chunk-IYOA3NWO.js";
10
- import "../chunk-64LDWQKR.js";
10
+ import "../chunk-REEDOBPH.js";
11
11
  import "../chunk-IYYWAP6P.js";
12
12
  import "../chunk-LFCLDWHZ.js";
13
- import "../chunk-MAPYE7MM.js";
13
+ import "../chunk-GECCSAXS.js";
14
14
  import "../chunk-WHB622LP.js";
15
15
  import "../chunk-OM7CKAVY.js";
16
16
  import "../chunk-V6OR4WLF.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushary",
3
- "version": "1.9.194",
3
+ "version": "1.9.196",
4
4
  "description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
5
5
  "keywords": [
6
6
  "pushary",