pushary 1.9.204 → 1.9.206

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 (108) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{api-PO372R5F.js → api-6QQE4PNY.js} +7 -7
  3. package/dist/bin/pushary-bell-hook.js +15 -15
  4. package/dist/bin/pushary-bell.js +3 -3
  5. package/dist/bin/pushary-calls.js +7 -7
  6. package/dist/bin/pushary-claude.js +14 -14
  7. package/dist/bin/pushary-clean.js +25 -25
  8. package/dist/bin/pushary-codex-bridge.js +11 -11
  9. package/dist/bin/pushary-codex-hook.js +21 -21
  10. package/dist/bin/pushary-codex-session.js +6 -6
  11. package/dist/bin/pushary-codex.js +8 -8
  12. package/dist/bin/pushary-connect.js +19 -19
  13. package/dist/bin/pushary-daemon.js +31 -31
  14. package/dist/bin/pushary-disconnect.js +17 -17
  15. package/dist/bin/pushary-doctor.js +37 -34
  16. package/dist/bin/pushary-elicitation-hook.js +16 -16
  17. package/dist/bin/pushary-gemini-bridge.js +6 -6
  18. package/dist/bin/pushary-gemini-hook.js +19 -19
  19. package/dist/bin/pushary-hook.js +21 -21
  20. package/dist/bin/pushary-login.js +11 -11
  21. package/dist/bin/pushary-logout.js +15 -15
  22. package/dist/bin/pushary-mcp.js +8 -8
  23. package/dist/bin/pushary-mode.js +7 -7
  24. package/dist/bin/pushary-notification-hook.js +15 -15
  25. package/dist/bin/pushary-opencode-bridge.js +9 -9
  26. package/dist/bin/pushary-opencode-hook.js +19 -19
  27. package/dist/bin/pushary-permission-denied-hook.js +21 -21
  28. package/dist/bin/pushary-permission-hook.js +21 -21
  29. package/dist/bin/pushary-post-hook.js +16 -16
  30. package/dist/bin/pushary-prompt-hook.js +15 -15
  31. package/dist/bin/pushary-session-end-hook.js +15 -15
  32. package/dist/bin/pushary-session-start-hook.js +26 -26
  33. package/dist/bin/pushary-sessions.js +6 -6
  34. package/dist/bin/pushary-setup.js +41 -41
  35. package/dist/bin/pushary-status.js +20 -20
  36. package/dist/bin/pushary-stop-hook.js +15 -15
  37. package/dist/bin/pushary-stopfailure-hook.js +15 -15
  38. package/dist/bin/pushary-suggestions.js +7 -7
  39. package/dist/bin/pushary-transcript-register.js +7 -7
  40. package/dist/bin/pushary-transcripts.js +14 -14
  41. package/dist/bin/pushary-upgrade.js +33 -33
  42. package/dist/bin/pushary-wait.js +7 -7
  43. package/dist/bin/pushary.js +4 -4
  44. package/dist/{chunk-YC3MEGKX.js → chunk-2DIEYUSU.js} +1 -1
  45. package/dist/{chunk-JWXEPWQ6.js → chunk-374YKOJZ.js} +2 -2
  46. package/dist/{chunk-6LQEDP2W.js → chunk-4FBETQHZ.js} +1 -1
  47. package/dist/{chunk-2KNKPMWO.js → chunk-4YFM5JLG.js} +1 -1
  48. package/dist/{chunk-VLSSUMFC.js → chunk-66JDRFIJ.js} +2 -2
  49. package/dist/{chunk-SHYBUXSP.js → chunk-6GG6MQMG.js} +3 -3
  50. package/dist/{chunk-7YB4UGGI.js → chunk-6H4WJILH.js} +1 -1
  51. package/dist/{chunk-MGAEFOGL.js → chunk-6P5E737B.js} +3 -3
  52. package/dist/{chunk-NE6LKCGR.js → chunk-7BTNS54A.js} +28 -10
  53. package/dist/{chunk-UQQE37KU.js → chunk-7QMNQT64.js} +2 -2
  54. package/dist/{chunk-XCULMPQO.js → chunk-7VXGU2HE.js} +7 -3
  55. package/dist/{chunk-D7LVY2XF.js → chunk-AU3PCXV3.js} +3 -3
  56. package/dist/{chunk-E3VDRPOZ.js → chunk-AV5527GL.js} +4 -4
  57. package/dist/{chunk-W6KQY5RJ.js → chunk-AZMZ2NJI.js} +3 -3
  58. package/dist/{chunk-IKUJZYFH.js → chunk-B4GSS6UW.js} +3 -3
  59. package/dist/{chunk-DNCH65TL.js → chunk-BTCC3RCQ.js} +3 -3
  60. package/dist/{chunk-RJTCIOHI.js → chunk-BXABKD25.js} +2 -2
  61. package/dist/{chunk-QKCWDUQQ.js → chunk-DISUP6T3.js} +3 -3
  62. package/dist/{chunk-OXGT7OTC.js → chunk-EAUVJCVF.js} +5 -5
  63. package/dist/{chunk-2RJQKHS2.js → chunk-EOMDWPLU.js} +4 -4
  64. package/dist/{chunk-RGPYEMW5.js → chunk-EQM4THGD.js} +4 -4
  65. package/dist/{chunk-HXLCATVW.js → chunk-FBFAOF2S.js} +1 -1
  66. package/dist/{chunk-AISKZTFX.js → chunk-IAHDERLU.js} +3 -3
  67. package/dist/{chunk-QKKNYXIU.js → chunk-ILI3DBQH.js} +5 -3
  68. package/dist/{chunk-WFUWF4QY.js → chunk-JEPFKTY6.js} +11 -11
  69. package/dist/{chunk-CQP7P52T.js → chunk-K3Y4WQJX.js} +10 -10
  70. package/dist/{chunk-33GWNNFN.js → chunk-KKEOD7P5.js} +3 -3
  71. package/dist/{chunk-3W5OVQ66.js → chunk-KVLEIPFD.js} +2 -2
  72. package/dist/{chunk-N62TAZJE.js → chunk-MM3ZPQZV.js} +2 -2
  73. package/dist/{chunk-R7ZVCOXR.js → chunk-NJI4OAS2.js} +1 -1
  74. package/dist/{chunk-3WPXWHEM.js → chunk-O33SA2U7.js} +7 -7
  75. package/dist/{chunk-CRCC65FU.js → chunk-OHGH7225.js} +4 -4
  76. package/dist/{chunk-TTE7QIW5.js → chunk-OOK2D7YI.js} +1 -1
  77. package/dist/{chunk-YUQAIO4Z.js → chunk-OWNTJUBD.js} +1 -1
  78. package/dist/{chunk-2Y7MJQCN.js → chunk-QD2LGUZ4.js} +1 -1
  79. package/dist/{chunk-ETPJJ6Y6.js → chunk-RAB3PLLF.js} +1 -1
  80. package/dist/{chunk-N4QFPPSM.js → chunk-SZ2HXE6F.js} +1 -1
  81. package/dist/{chunk-PW7WIT6J.js → chunk-T3JIFRZW.js} +3 -3
  82. package/dist/{chunk-T5RPPEUL.js → chunk-U4DHOTAK.js} +3 -3
  83. package/dist/{chunk-RDFQOEPF.js → chunk-UC56EZPU.js} +3 -3
  84. package/dist/{chunk-XEFPE5MQ.js → chunk-UFJYOMYO.js} +2 -2
  85. package/dist/{chunk-ZEXFK5YS.js → chunk-VIM2IXHL.js} +3 -3
  86. package/dist/{chunk-R6XDTP7G.js → chunk-VOE5ZSX4.js} +5 -5
  87. package/dist/{chunk-34YI42UX.js → chunk-W7OEJNMQ.js} +2 -2
  88. package/dist/{chunk-DGNQLVYO.js → chunk-WCFTTXTD.js} +2 -2
  89. package/dist/{chunk-LWWFQHJR.js → chunk-WW4M6BTR.js} +1 -1
  90. package/dist/{chunk-ZQ4YBCVO.js → chunk-X6DBORWU.js} +1 -1
  91. package/dist/{chunk-RBKBFQ3D.js → chunk-X6PSPWE3.js} +2 -2
  92. package/dist/{chunk-3DGWT6EY.js → chunk-XMEOARX4.js} +2 -2
  93. package/dist/{chunk-X2ITLLIV.js → chunk-XVKT6YXA.js} +2 -2
  94. package/dist/{chunk-POVKTTKE.js → chunk-YYPGDGXG.js} +1 -1
  95. package/dist/{chunk-CQJ7567M.js → chunk-YYYHTH3C.js} +2 -2
  96. package/dist/{chunk-MP3IANXU.js → chunk-Z2GHBFXB.js} +7 -5
  97. package/dist/{chunk-BDVSELVT.js → chunk-ZVNIVZKH.js} +1 -1
  98. package/dist/{codex-app-cards-switch-MO5LT4NK.js → codex-app-cards-switch-DSGF2RO7.js} +6 -6
  99. package/dist/{codex-desktop-launch-JBQBWPED.js → codex-desktop-launch-DWA3ET37.js} +1 -1
  100. package/dist/{codex-session-launch-N7PFVCBO.js → codex-session-launch-QXGOMDP5.js} +11 -11
  101. package/dist/{global-upgrade-XTTSGSGC.js → global-upgrade-QTCISU4G.js} +7 -7
  102. package/dist/{identity-6BMMEYWU.js → identity-CJAHB4I3.js} +3 -3
  103. package/dist/{live-capabilities-4TXTJ7R2.js → live-capabilities-UMETUHH3.js} +3 -3
  104. package/dist/{paths-IIV4U3NA.js → paths-QIQFTXCS.js} +2 -2
  105. package/dist/{reapply-RGEME3JA.js → reapply-QYKTRBVN.js} +22 -22
  106. package/dist/src/index.js +21 -21
  107. package/dist/{upgrade-lock-HZ66QJKL.js → upgrade-lock-K5J7ZDHT.js} +3 -3
  108. package/package.json +1 -1
@@ -13,7 +13,7 @@ import {
13
13
  uninstallOpenClawPlugin,
14
14
  unsetOpenClawEntry,
15
15
  writeOpenClawEntry
16
- } from "./chunk-N62TAZJE.js";
16
+ } from "./chunk-MM3ZPQZV.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-HXLCATVW.js";
28
+ } from "./chunk-FBFAOF2S.js";
29
29
  import {
30
30
  resolvePathBinary
31
- } from "./chunk-MP3IANXU.js";
31
+ } from "./chunk-Z2GHBFXB.js";
32
32
  import {
33
33
  readJsonSafe,
34
34
  writeJsonAtomic
@@ -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.5",\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.6",\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
@@ -1605,7 +1605,7 @@ import tempfile
1605
1605
  import threading
1606
1606
  import time
1607
1607
  from datetime import datetime, timezone
1608
- from pathlib import Path
1608
+ from pathlib import Path, PureWindowsPath
1609
1609
  from typing import NamedTuple
1610
1610
 
1611
1611
  from . import api
@@ -1793,7 +1793,7 @@ def _native_helper(root: Path) -> Path | None:
1793
1793
  def _is_owner_only_file(info: os.stat_result) -> bool:
1794
1794
  if not stat.S_ISREG(info.st_mode):
1795
1795
  return False
1796
- return os.name == "nt" or (info.st_mode & 0o077 == 0 and info.st_uid == os.getuid())
1796
+ return info.st_mode & 0o077 == 0 and info.st_uid == os.getuid()
1797
1797
 
1798
1798
 
1799
1799
  def _owner_only_record_text(path: Path) -> str | None:
@@ -1821,6 +1821,8 @@ def _runnable_recorded_command(command: list[str]) -> list[str] | None:
1821
1821
 
1822
1822
 
1823
1823
  def _recorded_cli_helper(root: Path) -> list[str] | None:
1824
+ if os.name == "nt":
1825
+ return None
1824
1826
  try:
1825
1827
  text = _owner_only_record_text(root / CLI_HELPER_RECORD)
1826
1828
  value = None if text is None else json.loads(text)
@@ -1829,11 +1831,27 @@ def _recorded_cli_helper(root: Path) -> list[str] | None:
1829
1831
  return _runnable_recorded_command(value["command"]) if _is_recorded_command(value) else None
1830
1832
 
1831
1833
 
1834
+ def _helper_on_path() -> str | None:
1835
+ if os.name != "nt":
1836
+ return shutil.which(CLI_HELPER_NAME)
1837
+ extensions = os.environ.get("PATHEXT", ".COM;.EXE;.BAT;.CMD").split(";")
1838
+ for directory in map(PureWindowsPath, os.get_exec_path()):
1839
+ if not directory.is_absolute():
1840
+ continue
1841
+ for extension in extensions:
1842
+ if extension.upper() not in {".EXE", ".COM", ".CMD", ".BAT"}:
1843
+ continue
1844
+ candidate = str(directory / (CLI_HELPER_NAME + extension))
1845
+ if os.path.isfile(candidate):
1846
+ return candidate
1847
+ return None
1848
+
1849
+
1832
1850
  def _cli_helper(root: Path) -> list[str] | None:
1833
1851
  recorded = _recorded_cli_helper(root)
1834
1852
  if recorded is not None:
1835
1853
  return recorded
1836
- on_path = shutil.which(CLI_HELPER_NAME)
1854
+ on_path = _helper_on_path()
1837
1855
  return [on_path] if on_path else None
1838
1856
 
1839
1857
 
@@ -1876,10 +1894,10 @@ def _file_state(path: Path | None) -> tuple[int, ...] | None:
1876
1894
 
1877
1895
  def _authorization_inputs(key: str) -> tuple[object, ...]:
1878
1896
  root = Path.home() / ".pushary"
1879
- helper = shutil.which(CLI_HELPER_NAME)
1897
+ helper = _helper_on_path()
1880
1898
  sources = (root / "native-transcript-consent.json", root / "bridge-auth", root / "bridge-auth" / "agent-key.json",
1881
1899
  root / "machine-id", root / "bin" / "pushary-bridge", api.pushary_config_path(),
1882
- Path(helper) if helper else None, root / CLI_HELPER_RECORD)
1900
+ Path(helper) if helper else None, root / CLI_HELPER_RECORD if os.name != "nt" else None)
1883
1901
  return (key, api.BASE_URL, os.environ.get("PUSHARY_TRANSCRIPTS"), helper, *(_file_state(source) for source in sources))
1884
1902
 
1885
1903
 
@@ -2208,7 +2226,7 @@ def record_plugin_load(approval_transport_registered, home=None, pid=None, now=N
2208
2226
  logger.debug("[pushary] could not record the plugin load: %s", exc)
2209
2227
  return None
2210
2228
  ` },
2211
- { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.5\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' },
2229
+ { path: "plugin.yaml", contents: 'name: pushary\nversion: 1.0.6\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' },
2212
2230
  { 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" },
2213
2231
  { path: "schemas.py", contents: `PUSHARY_REMIND = {
2214
2232
  "name": "pushary_remind",
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-RDFQOEPF.js";
17
+ } from "./chunk-UC56EZPU.js";
18
18
  import {
19
19
  describeRevokeAttempt,
20
20
  keyNoLongerAccepted,
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-PTHC2H7E.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-YC3MEGKX.js";
35
+ } from "./chunk-2DIEYUSU.js";
36
36
  import {
37
37
  reportedInstallSource
38
38
  } from "./chunk-B4J3OPKE.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serviceNodeFor
3
- } from "./chunk-D7LVY2XF.js";
3
+ } from "./chunk-AU3PCXV3.js";
4
4
  import {
5
5
  OWNER_ONLY_FILE_MODE,
6
6
  readOwnerOnlyJson
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  plannedGlobalPackage,
10
10
  readGlobalPrefix
11
- } from "./chunk-MP3IANXU.js";
11
+ } from "./chunk-Z2GHBFXB.js";
12
12
  import {
13
13
  globalTranscriptRegisterEntry
14
14
  } from "./chunk-CXQWDQCJ.js";
@@ -64,7 +64,11 @@ var installedHermesHistoryHelper = (execPath) => {
64
64
  const entry = globalTranscriptRegisterEntry(prefix, plannedGlobalPackage(), process.platform);
65
65
  return hermesHistoryHelperRecordFor(serviceNodeFor(execPath, existsSync), entry);
66
66
  };
67
- var recordInstalledHermesHistoryHelper = (pusharyDirectory, execPath = process.execPath) => writeHermesHistoryHelperRecord(installedHermesHistoryHelper(execPath), hermesHistoryHelperRecordPath(pusharyDirectory));
67
+ var recordInstalledHermesHistoryHelper = (pusharyDirectory, execPath = process.execPath, platform = process.platform) => {
68
+ const record = installedHermesHistoryHelper(execPath);
69
+ if (platform === "win32") return record?.command.every((part) => existsSync(part)) ? { kind: "on_path" } : { kind: "helper_not_installed" };
70
+ return writeHermesHistoryHelperRecord(record, hermesHistoryHelperRecordPath(pusharyDirectory));
71
+ };
68
72
 
69
73
  export {
70
74
  hermesHistoryNeedsTheCliHelper,
@@ -4,16 +4,16 @@ import {
4
4
  } from "./chunk-3PSNUHC5.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-6LQEDP2W.js";
7
+ } from "./chunk-4FBETQHZ.js";
8
8
  import {
9
9
  readControlMode
10
10
  } from "./chunk-RYT23NAI.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-HXLCATVW.js";
13
+ } from "./chunk-FBFAOF2S.js";
14
14
  import {
15
15
  resolveGlobalBinary
16
- } from "./chunk-MP3IANXU.js";
16
+ } from "./chunk-Z2GHBFXB.js";
17
17
  import {
18
18
  getApiKey
19
19
  } from "./chunk-RG3REA2Y.js";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  openClawLauncherCandidates
3
- } from "./chunk-N62TAZJE.js";
3
+ } from "./chunk-MM3ZPQZV.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-SHYBUXSP.js";
6
+ } from "./chunk-6GG6MQMG.js";
7
7
  import {
8
8
  nativeClaudeInstallPath
9
9
  } from "./chunk-TCE3J44Z.js";
10
10
  import {
11
11
  grokHome
12
- } from "./chunk-MGAEFOGL.js";
12
+ } from "./chunk-6P5E737B.js";
13
13
  import {
14
14
  claudeConfigDir,
15
15
  clineDataDirectory,
16
16
  codexHomeFrom,
17
17
  openClawEnvironmentOf,
18
18
  openClawPathsFrom
19
- } from "./chunk-HXLCATVW.js";
19
+ } from "./chunk-FBFAOF2S.js";
20
20
  import {
21
21
  HOOK_COMPATIBLE_PROFILES
22
22
  } from "./chunk-HTMMJASM.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-RDFQOEPF.js";
3
+ } from "./chunk-UC56EZPU.js";
4
4
  import {
5
5
  matchMacAccountStep,
6
6
  retryAgentCommand
7
- } from "./chunk-N4QFPPSM.js";
7
+ } from "./chunk-SZ2HXE6F.js";
8
8
  import {
9
9
  canChangeApprovalSettings
10
- } from "./chunk-7YB4UGGI.js";
10
+ } from "./chunk-6H4WJILH.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND,
13
13
  npmExecSetupCommandFor
@@ -8,17 +8,17 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-X2ITLLIV.js";
11
+ } from "./chunk-XVKT6YXA.js";
12
12
  import {
13
13
  fetchAsCredential
14
14
  } from "./chunk-322DR4ZT.js";
15
15
  import {
16
16
  installNetworkDefaults,
17
17
  isNetworkFailure
18
- } from "./chunk-ETPJJ6Y6.js";
18
+ } from "./chunk-RAB3PLLF.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-HXLCATVW.js";
21
+ } from "./chunk-FBFAOF2S.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
- } from "./chunk-D7LVY2XF.js";
6
+ } from "./chunk-AU3PCXV3.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-RBKBFQ3D.js";
9
+ } from "./chunk-X6PSPWE3.js";
10
10
  import {
11
11
  hookMeaning
12
12
  } from "./chunk-HS4RZZRG.js";
@@ -44,7 +44,7 @@ import {
44
44
  claudeConfigDir,
45
45
  codexHome,
46
46
  pusharyDir
47
- } from "./chunk-HXLCATVW.js";
47
+ } from "./chunk-FBFAOF2S.js";
48
48
  import {
49
49
  getApiKey,
50
50
  getBaseUrl
@@ -11,10 +11,10 @@ import {
11
11
  isStoredPastThePushCap,
12
12
  unavailableQuestionUnlessRefused,
13
13
  waitForQuestion
14
- } from "./chunk-IKUJZYFH.js";
14
+ } from "./chunk-B4GSS6UW.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-6LQEDP2W.js";
17
+ } from "./chunk-4FBETQHZ.js";
18
18
  import {
19
19
  hookMaxWaitSeconds,
20
20
  hookWaitClamped,
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-XEFPE5MQ.js";
8
+ } from "./chunk-UFJYOMYO.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
- } from "./chunk-7YB4UGGI.js";
11
+ } from "./chunk-6H4WJILH.js";
12
12
  import {
13
13
  absoluteUrl
14
- } from "./chunk-YC3MEGKX.js";
14
+ } from "./chunk-2DIEYUSU.js";
15
15
  import {
16
16
  findExportedKeyLines,
17
17
  isAdoptedMacAppKey,
@@ -36,7 +36,7 @@ import {
36
36
  sendNotification,
37
37
  waitForAnswer,
38
38
  writeDegraded
39
- } from "./chunk-IKUJZYFH.js";
39
+ } from "./chunk-B4GSS6UW.js";
40
40
  import {
41
41
  RETRY_ACK,
42
42
  readCommandAck,
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  isRetryable,
47
47
  withRetry
48
- } from "./chunk-X2ITLLIV.js";
48
+ } from "./chunk-XVKT6YXA.js";
49
49
  import {
50
50
  fetchAsCredential
51
51
  } from "./chunk-322DR4ZT.js";
@@ -56,7 +56,7 @@ import {
56
56
  } from "./chunk-5JRBOJYW.js";
57
57
  import {
58
58
  getMachineId
59
- } from "./chunk-6LQEDP2W.js";
59
+ } from "./chunk-4FBETQHZ.js";
60
60
  import {
61
61
  reportedInstallSource
62
62
  } from "./chunk-B4J3OPKE.js";
@@ -65,11 +65,11 @@ import {
65
65
  NOTIFICATION_PUSH_TYPES,
66
66
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
67
67
  claudeConfigDir
68
- } from "./chunk-HXLCATVW.js";
68
+ } from "./chunk-FBFAOF2S.js";
69
69
  import {
70
70
  compareVersion,
71
71
  parseVersion
72
- } from "./chunk-MP3IANXU.js";
72
+ } from "./chunk-Z2GHBFXB.js";
73
73
  import {
74
74
  getApiKey,
75
75
  getBaseUrl
@@ -4,10 +4,10 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-N4QFPPSM.js";
7
+ } from "./chunk-SZ2HXE6F.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-LWWFQHJR.js";
10
+ } from "./chunk-WW4M6BTR.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
13
  } from "./chunk-RYT23NAI.js";
@@ -32,10 +32,10 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-HXLCATVW.js";
35
+ } from "./chunk-FBFAOF2S.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-MP3IANXU.js";
38
+ } from "./chunk-Z2GHBFXB.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-ZEXFK5YS.js";
4
+ } from "./chunk-VIM2IXHL.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-DNCH65TL.js";
7
+ } from "./chunk-BTCC3RCQ.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-MGAEFOGL.js";
10
+ } from "./chunk-6P5E737B.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-IKUJZYFH.js";
13
+ } from "./chunk-B4GSS6UW.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-MP3IANXU.js";
6
+ } from "./chunk-Z2GHBFXB.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-PM2NRK6Y.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-MGAEFOGL.js";
4
+ } from "./chunk-6P5E737B.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-RBKBFQ3D.js";
7
+ } from "./chunk-X6PSPWE3.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-HXLCATVW.js";
11
+ } from "./chunk-FBFAOF2S.js";
12
12
  import {
13
13
  isRecord
14
14
  } from "./chunk-HTMMJASM.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-3W5OVQ66.js";
3
+ } from "./chunk-KVLEIPFD.js";
4
4
  import {
5
5
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
6
6
  HERMES_COMMAND_ALLOWLIST_KEY,
7
7
  HERMES_GATE_TOOLS_KEY,
8
8
  HERMES_SHELL_TOOL
9
- } from "./chunk-NE6LKCGR.js";
9
+ } from "./chunk-7BTNS54A.js";
10
10
  import {
11
11
  retryAgentCommand
12
- } from "./chunk-N4QFPPSM.js";
12
+ } from "./chunk-SZ2HXE6F.js";
13
13
  import {
14
14
  NPX_LATEST_COMMAND
15
15
  } from "./chunk-SCZELAXA.js";
@@ -91,6 +91,8 @@ var withoutClosingPeriod = (sentence) => sentence.trim().replace(/\.$/, "");
91
91
  var describeHermesHistoryInstallFailure = (detail, nextStep) => `Hermes session history needs the Pushary CLI installed globally, and that install failed: ${withoutClosingPeriod(detail)}. ${nextStep}`;
92
92
  var describeHermesHistoryHelperRecord = (outcome, packageName, version, shownPath) => {
93
93
  switch (outcome.kind) {
94
+ case "on_path":
95
+ return "Hermes on Windows finds pushary-transcript-register on PATH. Make the global npm bin directory available to the Hermes process.";
94
96
  case "written":
95
97
  return `Hermes session history helper recorded in ${shownPath}`;
96
98
  case "unchanged":
@@ -2,11 +2,11 @@ import {
2
2
  forgetPhoneApproval,
3
3
  rememberPhoneApproval,
4
4
  takePhoneApproval
5
- } from "./chunk-DGNQLVYO.js";
5
+ } from "./chunk-WCFTTXTD.js";
6
6
  import {
7
7
  claudeSettingsLocationFor,
8
8
  readClaudePermissionRules
9
- } from "./chunk-TTE7QIW5.js";
9
+ } from "./chunk-OOK2D7YI.js";
10
10
  import {
11
11
  defersToNativeMode
12
12
  } from "./chunk-HNSTXU6Y.js";
@@ -14,10 +14,10 @@ import {
14
14
  askAgentQuestions,
15
15
  outcomeOfFailedAsk,
16
16
  storedWaitDeadline
17
- } from "./chunk-CRCC65FU.js";
17
+ } from "./chunk-OHGH7225.js";
18
18
  import {
19
19
  reportMachineDenial
20
- } from "./chunk-BDVSELVT.js";
20
+ } from "./chunk-ZVNIVZKH.js";
21
21
  import {
22
22
  isGatingMoment,
23
23
  recordKeylessMoment
@@ -25,16 +25,16 @@ import {
25
25
  import {
26
26
  isAdmitted,
27
27
  readAdmissionRules
28
- } from "./chunk-RGPYEMW5.js";
28
+ } from "./chunk-EQM4THGD.js";
29
29
  import {
30
30
  isDeferAnswer,
31
31
  oncePerSession
32
- } from "./chunk-YUQAIO4Z.js";
32
+ } from "./chunk-OWNTJUBD.js";
33
33
  import {
34
34
  activeHookSource,
35
35
  activeIdentity,
36
36
  namedSource
37
- } from "./chunk-MGAEFOGL.js";
37
+ } from "./chunk-6P5E737B.js";
38
38
  import {
39
39
  DEFAULT_SESSION,
40
40
  approvalAwaitingRetry,
@@ -58,7 +58,7 @@ import {
58
58
  settleQuestionsForToolUse,
59
59
  sweepFilesOlderThan,
60
60
  userScope
61
- } from "./chunk-OXGT7OTC.js";
61
+ } from "./chunk-EAUVJCVF.js";
62
62
  import {
63
63
  UNNAMED_ACTION,
64
64
  deriveAction,
@@ -86,7 +86,7 @@ import {
86
86
  waitForQuestion,
87
87
  waitsForThePhone,
88
88
  withdrawQuestion
89
- } from "./chunk-IKUJZYFH.js";
89
+ } from "./chunk-B4GSS6UW.js";
90
90
  import {
91
91
  branchFor,
92
92
  projectNameFor,
@@ -95,10 +95,10 @@ import {
95
95
  } from "./chunk-5JRBOJYW.js";
96
96
  import {
97
97
  getMachineId
98
- } from "./chunk-6LQEDP2W.js";
98
+ } from "./chunk-4FBETQHZ.js";
99
99
  import {
100
100
  POSTTOOLUSE_MIRRORED_TOOLS
101
- } from "./chunk-HXLCATVW.js";
101
+ } from "./chunk-FBFAOF2S.js";
102
102
  import {
103
103
  getApiKey,
104
104
  getBaseUrl
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  hermesHistoryNeedsTheCliHelper,
3
3
  recordInstalledHermesHistoryHelper
4
- } from "./chunk-XCULMPQO.js";
4
+ } from "./chunk-7VXGU2HE.js";
5
5
  import {
6
6
  macAppHistoryDecision
7
7
  } from "./chunk-TWWOQKXK.js";
8
8
  import {
9
9
  ensureCodexTrustsPusharyHooks
10
- } from "./chunk-3W5OVQ66.js";
10
+ } from "./chunk-KVLEIPFD.js";
11
11
  import {
12
12
  hermesReceiptPaths,
13
13
  hermesSetupPredatesThePluginFolder,
@@ -16,7 +16,7 @@ import {
16
16
  refreshHermesPluginFiles,
17
17
  refreshOpenClawPlugin,
18
18
  shippedHermesPlugin
19
- } from "./chunk-NE6LKCGR.js";
19
+ } from "./chunk-7BTNS54A.js";
20
20
  import {
21
21
  fxIgnoresInstructionsFile,
22
22
  fxInstructionsBody,
@@ -25,7 +25,7 @@ import {
25
25
  macAppFxBridge,
26
26
  refreshClineKey,
27
27
  switchFxHttpEntryToBridge
28
- } from "./chunk-2RJQKHS2.js";
28
+ } from "./chunk-EOMDWPLU.js";
29
29
  import {
30
30
  OPENCODE_HOOK_BINARY,
31
31
  agentHookOwner,
@@ -38,16 +38,16 @@ import {
38
38
  openCodePluginDir,
39
39
  openCodeWired,
40
40
  withOpenCodeAskRules
41
- } from "./chunk-SHYBUXSP.js";
41
+ } from "./chunk-6GG6MQMG.js";
42
42
  import {
43
43
  detectClaudeVersion
44
- } from "./chunk-ZQ4YBCVO.js";
44
+ } from "./chunk-X6DBORWU.js";
45
45
  import {
46
46
  addCompatibleHooks,
47
47
  compatibleConfigFile,
48
48
  compatibleInstructionsFile,
49
49
  hasCompatibleHooks
50
- } from "./chunk-MGAEFOGL.js";
50
+ } from "./chunk-6P5E737B.js";
51
51
  import {
52
52
  GEMINI_HOOK_BINARY,
53
53
  addGeminiHooks,
@@ -59,7 +59,7 @@ import {
59
59
  geminiWired,
60
60
  hasGeminiHooks,
61
61
  planHooks
62
- } from "./chunk-RBKBFQ3D.js";
62
+ } from "./chunk-X6PSPWE3.js";
63
63
  import {
64
64
  transcriptsEnabled
65
65
  } from "./chunk-KNCMUCKG.js";
@@ -112,13 +112,13 @@ import {
112
112
  renderAgentInstructions,
113
113
  supportedClaudeEvents,
114
114
  vscodePluginMcp
115
- } from "./chunk-HXLCATVW.js";
115
+ } from "./chunk-FBFAOF2S.js";
116
116
  import {
117
117
  formatVersion,
118
118
  hookCommandsUseBareNames,
119
119
  resolveGlobalBinDir,
120
120
  resolveGlobalBinary
121
- } from "./chunk-MP3IANXU.js";
121
+ } from "./chunk-Z2GHBFXB.js";
122
122
  import {
123
123
  readJsonSafe,
124
124
  writeFileAtomic,
@@ -18,15 +18,15 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-NE6LKCGR.js";
21
+ } from "./chunk-7BTNS54A.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-N62TAZJE.js";
26
+ } from "./chunk-MM3ZPQZV.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-N4QFPPSM.js";
29
+ } from "./chunk-SZ2HXE6F.js";
30
30
  import {
31
31
  configFilePath
32
32
  } from "./chunk-RG3REA2Y.js";
@@ -7,10 +7,10 @@ import {
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-HXLCATVW.js";
10
+ } from "./chunk-FBFAOF2S.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-MP3IANXU.js";
13
+ } from "./chunk-Z2GHBFXB.js";
14
14
  import {
15
15
  getPackageVersion
16
16
  } from "./chunk-CXQWDQCJ.js";
@@ -5,10 +5,10 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-HXLCATVW.js";
8
+ } from "./chunk-FBFAOF2S.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-MP3IANXU.js";
11
+ } from "./chunk-Z2GHBFXB.js";
12
12
  import {
13
13
  isRecord
14
14
  } from "./chunk-HTMMJASM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-HXLCATVW.js";
3
+ } from "./chunk-FBFAOF2S.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-PM2NRK6Y.js";