pushary 1.9.195 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ## 1.9.195
4
8
 
5
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.
@@ -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
@@ -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";
@@ -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,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";
@@ -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";
@@ -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.",
@@ -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,
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushary",
3
- "version": "1.9.195",
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",