@pushary/agent-hooks 1.9.42 → 1.9.43

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 (105) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/data/SKILL.md +7 -1
  3. package/data/cowork/SKILL.md +3 -1
  4. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +6 -0
  6. package/data/vscode-plugin/skills/pushary/SKILL.md +6 -0
  7. package/dist/bin/pushary-bell-hook.js +25 -25
  8. package/dist/bin/pushary-bell.js +9 -9
  9. package/dist/bin/pushary-claude.js +24 -24
  10. package/dist/bin/pushary-clean.js +29 -29
  11. package/dist/bin/pushary-codex-bridge.js +17 -17
  12. package/dist/bin/pushary-codex-hook.js +30 -30
  13. package/dist/bin/pushary-codex.js +12 -12
  14. package/dist/bin/pushary-connect.js +24 -24
  15. package/dist/bin/pushary-cowork.js +5 -5
  16. package/dist/bin/pushary-daemon.js +32 -32
  17. package/dist/bin/pushary-disconnect.js +24 -24
  18. package/dist/bin/pushary-doctor.js +33 -33
  19. package/dist/bin/pushary-elicitation-hook.js +25 -25
  20. package/dist/bin/pushary-gemini-bridge.js +13 -13
  21. package/dist/bin/pushary-gemini-hook.js +27 -27
  22. package/dist/bin/pushary-hook.js +29 -29
  23. package/dist/bin/pushary-login.js +12 -12
  24. package/dist/bin/pushary-logout.js +24 -24
  25. package/dist/bin/pushary-mcp.js +9 -9
  26. package/dist/bin/pushary-mode.js +12 -12
  27. package/dist/bin/pushary-notification-hook.js +24 -24
  28. package/dist/bin/pushary-opencode-hook.js +26 -26
  29. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  30. package/dist/bin/pushary-permission-hook.js +28 -28
  31. package/dist/bin/pushary-post-hook.js +24 -24
  32. package/dist/bin/pushary-prompt-hook.js +24 -24
  33. package/dist/bin/pushary-session-end-hook.js +24 -24
  34. package/dist/bin/pushary-session-start-hook.js +28 -28
  35. package/dist/bin/pushary-setup.js +35 -35
  36. package/dist/bin/pushary-stats.js +5 -5
  37. package/dist/bin/pushary-status.js +26 -26
  38. package/dist/bin/pushary-stop-hook.js +24 -24
  39. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  40. package/dist/bin/pushary-suggestions.js +12 -12
  41. package/dist/bin/pushary-transcript-register.js +17 -17
  42. package/dist/bin/pushary-transcripts.js +7 -7
  43. package/dist/bin/pushary-upgrade.js +30 -30
  44. package/dist/bin/pushary-wait.js +12 -12
  45. package/dist/bin/pushary.js +6 -6
  46. package/dist/{chunk-Q3QRD67J.js → chunk-45W43U2Q.js} +5 -5
  47. package/dist/{chunk-I7EZMNKI.js → chunk-4T2TGP4T.js} +5 -5
  48. package/dist/{chunk-AW4TDBUJ.js → chunk-53KLSE2F.js} +3 -3
  49. package/dist/{chunk-Y3HTWB5S.js → chunk-55FB6OSG.js} +1 -1
  50. package/dist/{chunk-FMYXPJYS.js → chunk-A64UCGX3.js} +5 -5
  51. package/dist/{chunk-B7PZBWBU.js → chunk-AVT7GPOF.js} +7 -7
  52. package/dist/{chunk-M7VKFAAK.js → chunk-C3RVRTHS.js} +3 -3
  53. package/dist/{chunk-ZV56INA6.js → chunk-C54VJJ37.js} +3 -3
  54. package/dist/{chunk-ZJY4KON3.js → chunk-C6QBNBL4.js} +4 -4
  55. package/dist/{chunk-6PABNQVH.js → chunk-CIERFMQT.js} +4 -4
  56. package/dist/{chunk-RBUCXUT7.js → chunk-ENGASUEL.js} +4 -4
  57. package/dist/{chunk-5INZFKHL.js → chunk-F5ALKPNS.js} +1 -1
  58. package/dist/{chunk-PJ3C6IID.js → chunk-F7SZ2RCK.js} +4 -4
  59. package/dist/{chunk-WZNRDDC4.js → chunk-FPJHS6PA.js} +6 -6
  60. package/dist/{chunk-CHD6IUNM.js → chunk-GTOBOC6M.js} +1 -1
  61. package/dist/{chunk-7L6YSHZO.js → chunk-H64CU2VB.js} +2 -2
  62. package/dist/{chunk-4UCTKLHY.js → chunk-H6V5S52A.js} +3 -3
  63. package/dist/{chunk-BDSIE2MT.js → chunk-HC4DQXAT.js} +2 -2
  64. package/dist/{chunk-OLLWYLQX.js → chunk-IDVKJICN.js} +2 -2
  65. package/dist/{chunk-3U3FU6ZX.js → chunk-IMD5FN6Y.js} +3 -3
  66. package/dist/{chunk-MAB6CGL5.js → chunk-J6MVBWF2.js} +1 -1
  67. package/dist/{chunk-IXNVIWNN.js → chunk-JB4JCGRW.js} +2 -2
  68. package/dist/{chunk-ASXBYX2N.js → chunk-JE6GG3OV.js} +1 -1
  69. package/dist/{chunk-M2YE3OEC.js → chunk-JJWG7CBT.js} +3 -3
  70. package/dist/{chunk-ZVMFRUBD.js → chunk-JW4S4O4W.js} +4 -4
  71. package/dist/{chunk-ODPULZZG.js → chunk-LAAOHBLO.js} +2 -2
  72. package/dist/{chunk-DIJ532S7.js → chunk-LDCRV6HG.js} +1 -1
  73. package/dist/{chunk-JBK47Y2M.js → chunk-LE2YVPAT.js} +6 -6
  74. package/dist/{chunk-RETRVO47.js → chunk-LOUZNXTJ.js} +2 -2
  75. package/dist/{chunk-4WM7IVVQ.js → chunk-LWW7SBK3.js} +2 -2
  76. package/dist/{chunk-X7TNLYNZ.js → chunk-MSUMSXTI.js} +1 -1
  77. package/dist/{chunk-BZIXDIIT.js → chunk-NKBAEGT7.js} +1 -1
  78. package/dist/{chunk-T3Q4B6WV.js → chunk-NV2LARV4.js} +2 -2
  79. package/dist/{chunk-FP2ZJK3T.js → chunk-O4SYJVAF.js} +5 -5
  80. package/dist/{chunk-K2SSNAUW.js → chunk-O7ADPLBF.js} +1 -1
  81. package/dist/{chunk-NRSTNZYJ.js → chunk-PIZ65U3D.js} +5 -5
  82. package/dist/{chunk-KYFWYPHN.js → chunk-Q7CUTGT4.js} +1 -1
  83. package/dist/{chunk-EBZK2SJ2.js → chunk-S3OWTQ6Z.js} +4 -4
  84. package/dist/{chunk-RTM5GVRZ.js → chunk-S4QT3YFG.js} +8 -8
  85. package/dist/{chunk-J7OBJZ5S.js → chunk-SATOTPXW.js} +1 -1
  86. package/dist/{chunk-STETTN4K.js → chunk-SCYAXV7U.js} +5 -5
  87. package/dist/{chunk-Z4RM54LU.js → chunk-TH74SUVV.js} +2 -2
  88. package/dist/{chunk-IVUP2EE4.js → chunk-V5SUKRRI.js} +4 -4
  89. package/dist/{chunk-E47JEBUR.js → chunk-VGPEXMYM.js} +7 -5
  90. package/dist/{chunk-AUDM6HU6.js → chunk-VIVLJK3T.js} +2 -2
  91. package/dist/{chunk-QRNNIDGY.js → chunk-VQL62ECJ.js} +1 -1
  92. package/dist/{chunk-QPT4PTUG.js → chunk-W3BO56VE.js} +1 -1
  93. package/dist/{chunk-F43LAKAK.js → chunk-XLHFWG2E.js} +2 -2
  94. package/dist/{chunk-JQX2L3ES.js → chunk-Y3N3SYBX.js} +1 -1
  95. package/dist/{chunk-MI67QQEQ.js → chunk-Y4VZYKSW.js} +10 -10
  96. package/dist/{chunk-CGRVIUKE.js → chunk-YRE6GUFZ.js} +8 -8
  97. package/dist/{chunk-ZX3PFROQ.js → chunk-ZJXEQV3A.js} +1 -1
  98. package/dist/{chunk-DPISXMLL.js → chunk-ZORCUL3Z.js} +4 -4
  99. package/dist/{global-upgrade-YEAGJG4G.js → global-upgrade-FFWOHOJ4.js} +6 -6
  100. package/dist/{paths-HQAICWAF.js → paths-Y2WPCM5Y.js} +2 -2
  101. package/dist/{reapply-XBEB2B5A.js → reapply-N3MV3CKD.js} +20 -20
  102. package/dist/src/index.js +19 -19
  103. package/dist/{upgrade-lock-GIO5QZ7E.js → upgrade-lock-ZXXNRH2P.js} +3 -3
  104. package/package.json +1 -1
  105. /package/dist/{chunk-ORLTWJ2O.js → chunk-RXXKFM22.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-ZX3PFROQ.js";
4
+ } from "./chunk-ZJXEQV3A.js";
5
5
  import {
6
6
  AUTO_DECISION_WINDOW_MS,
7
7
  DEFAULT_SESSION,
@@ -10,24 +10,24 @@ import {
10
10
  permissionDeniedAction,
11
11
  releaseThrottle,
12
12
  reportEvent
13
- } from "./chunk-CGRVIUKE.js";
13
+ } from "./chunk-YRE6GUFZ.js";
14
14
  import {
15
15
  askUser,
16
16
  isDecisionStopped,
17
17
  waitForQuestion
18
- } from "./chunk-I7EZMNKI.js";
18
+ } from "./chunk-4T2TGP4T.js";
19
19
  import {
20
20
  SubscriptionRequiredError
21
- } from "./chunk-AW4TDBUJ.js";
21
+ } from "./chunk-53KLSE2F.js";
22
22
  import {
23
23
  getMachineId
24
- } from "./chunk-QPT4PTUG.js";
24
+ } from "./chunk-W3BO56VE.js";
25
25
  import {
26
26
  machineDecisionFor,
27
27
  parseAgentQuestionAnswers,
28
28
  shouldDeferToNativeMode,
29
29
  wireVerdictFor
30
- } from "./chunk-ORLTWJ2O.js";
30
+ } from "./chunk-RXXKFM22.js";
31
31
 
32
32
  // src/machine-decision-audit.ts
33
33
  import { basename } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-DIJ532S7.js";
3
+ } from "./chunk-LDCRV6HG.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-EBZK2SJ2.js";
6
+ } from "./chunk-S3OWTQ6Z.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
@@ -15,7 +15,7 @@ import {
15
15
  globalUpgradeEntry,
16
16
  isAutoUpdateResult,
17
17
  ownPackageRoot
18
- } from "./chunk-ORLTWJ2O.js";
18
+ } from "./chunk-RXXKFM22.js";
19
19
 
20
20
  // src/auto-update.ts
21
21
  import { spawn } from "child_process";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-QPT4PTUG.js";
3
+ } from "./chunk-W3BO56VE.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-7QLSKOSU.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-CHD6IUNM.js";
9
+ } from "./chunk-GTOBOC6M.js";
10
10
  import {
11
11
  clientContextHeaders,
12
12
  getPackageVersion
13
- } from "./chunk-ORLTWJ2O.js";
13
+ } from "./chunk-RXXKFM22.js";
14
14
 
15
15
  // src/cli/net.ts
16
16
  import { createRequire } from "module";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-Z4RM54LU.js";
3
+ } from "./chunk-TH74SUVV.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-DIJ532S7.js";
6
+ } from "./chunk-LDCRV6HG.js";
7
7
 
8
8
  // src/setup/codex-trust.ts
9
9
  var CODEX_TRUST_TELEMETRY = {
@@ -3,11 +3,11 @@ import {
3
3
  decodePublicKey,
4
4
  generateSessionKey,
5
5
  wrapSessionKey
6
- } from "./chunk-X7TNLYNZ.js";
6
+ } from "./chunk-MSUMSXTI.js";
7
7
  import {
8
8
  fetchTranscriptRecipients,
9
9
  uploadTranscriptRecords
10
- } from "./chunk-MAB6CGL5.js";
10
+ } from "./chunk-J6MVBWF2.js";
11
11
 
12
12
  // src/live-session.ts
13
13
  var MAX_TRANSCRIPT_QUEUE = 100;
@@ -5,16 +5,16 @@ import {
5
5
  import {
6
6
  NOTIFICATION_MATCHED_TYPES,
7
7
  POSTTOOLUSE_MIRRORED_TOOLS
8
- } from "./chunk-K2SSNAUW.js";
8
+ } from "./chunk-O7ADPLBF.js";
9
9
  import {
10
10
  isProtectedByScope,
11
11
  registerHookEntry
12
- } from "./chunk-EBZK2SJ2.js";
12
+ } from "./chunk-S3OWTQ6Z.js";
13
13
  import {
14
14
  CLAUDE_PRETOOLUSE_MATCHER,
15
15
  HOOK_BUDGETS,
16
16
  HOOK_LOCATOR_BINARY
17
- } from "./chunk-ORLTWJ2O.js";
17
+ } from "./chunk-RXXKFM22.js";
18
18
 
19
19
  // src/gemini-config.ts
20
20
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getBaseUrl
3
- } from "./chunk-CHD6IUNM.js";
3
+ } from "./chunk-GTOBOC6M.js";
4
4
 
5
5
  // src/transcript-api.ts
6
6
  var fetchTranscriptRecipients = async (apiKey, baseUrl = getBaseUrl()) => {
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-M7VKFAAK.js";
7
+ } from "./chunk-C3RVRTHS.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-DIJ532S7.js";
10
+ } from "./chunk-LDCRV6HG.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigFileKey
3
- } from "./chunk-M7VKFAAK.js";
3
+ } from "./chunk-C3RVRTHS.js";
4
4
 
5
5
  // src/bell/fleet.ts
6
6
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-KYFWYPHN.js";
3
+ } from "./chunk-Q7CUTGT4.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-GMXKITVA.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-7QLSKOSU.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-DIJ532S7.js";
12
+ } from "./chunk-LDCRV6HG.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-ORLTWJ2O.js";
20
+ } from "./chunk-RXXKFM22.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -2,25 +2,25 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-IXNVIWNN.js";
5
+ } from "./chunk-JB4JCGRW.js";
6
6
  import {
7
7
  createIo
8
8
  } from "./chunk-FO3MDD26.js";
9
9
  import {
10
10
  readKeySource
11
- } from "./chunk-M7VKFAAK.js";
11
+ } from "./chunk-C3RVRTHS.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-ZV56INA6.js";
17
+ } from "./chunk-C54VJJ37.js";
18
18
  import {
19
19
  EXIT
20
20
  } from "./chunk-KZERVKTD.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-CHD6IUNM.js";
23
+ } from "./chunk-GTOBOC6M.js";
24
24
 
25
25
  // src/cli/report-key.ts
26
26
  var { dim, yellow } = createIo();
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-CHD6IUNM.js";
3
+ } from "./chunk-GTOBOC6M.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-ORLTWJ2O.js";
6
+ } from "./chunk-RXXKFM22.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-ORLTWJ2O.js";
5
+ } from "./chunk-RXXKFM22.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -3,27 +3,27 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-T3Q4B6WV.js";
6
+ } from "./chunk-NV2LARV4.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-STETTN4K.js";
13
+ } from "./chunk-SCYAXV7U.js";
14
14
  import {
15
15
  readControlMode,
16
16
  readKeySource
17
- } from "./chunk-M7VKFAAK.js";
17
+ } from "./chunk-C3RVRTHS.js";
18
18
  import {
19
19
  getMachineId
20
- } from "./chunk-QPT4PTUG.js";
20
+ } from "./chunk-W3BO56VE.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-CHD6IUNM.js";
23
+ } from "./chunk-GTOBOC6M.js";
24
24
  import {
25
25
  getPackageVersion
26
- } from "./chunk-ORLTWJ2O.js";
26
+ } from "./chunk-RXXKFM22.js";
27
27
 
28
28
  // src/machines.ts
29
29
  import { hostname } from "os";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-AW4TDBUJ.js";
3
+ } from "./chunk-53KLSE2F.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-DIJ532S7.js";
6
+ } from "./chunk-LDCRV6HG.js";
7
7
 
8
8
  // src/mcp-stdio-bridge.ts
9
9
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-EBZK2SJ2.js";
3
+ } from "./chunk-S3OWTQ6Z.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-AQFEP65J.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-ORLTWJ2O.js";
9
+ } from "./chunk-RXXKFM22.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-ORLTWJ2O.js";
3
+ } from "./chunk-RXXKFM22.js";
4
4
 
5
5
  // src/crypto.ts
6
6
  import nacl from "tweetnacl";
@@ -2,7 +2,7 @@ import {
2
2
  autoUpdateLock,
3
3
  installPackageGlobally,
4
4
  npmErrorMessage
5
- } from "./chunk-EBZK2SJ2.js";
5
+ } from "./chunk-S3OWTQ6Z.js";
6
6
  import {
7
7
  writeJsonAtomic
8
8
  } from "./chunk-AQFEP65J.js";
@@ -10,10 +10,10 @@ import {
10
10
  resolvePackageVersionFromBinary,
11
11
  resolvePathBinary,
12
12
  resolvePathBinaryAsync
13
- } from "./chunk-EBZK2SJ2.js";
13
+ } from "./chunk-S3OWTQ6Z.js";
14
14
  import {
15
15
  MANAGED_PROVIDERS
16
- } from "./chunk-ORLTWJ2O.js";
16
+ } from "./chunk-RXXKFM22.js";
17
17
 
18
18
  // src/setup/codex-install.ts
19
19
  var NATIVE_BINARY_MIN_BYTES = 20 * 1024 * 1024;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  compatibleConfigFile
3
- } from "./chunk-IVUP2EE4.js";
3
+ } from "./chunk-V5SUKRRI.js";
4
4
  import {
5
5
  hookOwnerOf,
6
6
  hookOwnerOfCommands,
7
7
  liveBridgeProbe,
8
8
  resolveBridgeStub
9
- } from "./chunk-NRSTNZYJ.js";
9
+ } from "./chunk-PIZ65U3D.js";
10
10
  import {
11
11
  AGENT_CHOICES
12
- } from "./chunk-KYFWYPHN.js";
12
+ } from "./chunk-Q7CUTGT4.js";
13
13
  import {
14
14
  claudeSettings,
15
15
  codexHooksJson,
@@ -18,7 +18,7 @@ import {
18
18
  guardedArgv,
19
19
  pusharyDir,
20
20
  vscodePluginDir
21
- } from "./chunk-EBZK2SJ2.js";
21
+ } from "./chunk-S3OWTQ6Z.js";
22
22
  import {
23
23
  readJsonSafe
24
24
  } from "./chunk-AQFEP65J.js";
@@ -29,7 +29,7 @@ import {
29
29
  OPENCODE_APPROVAL_EVENT,
30
30
  hookCompatibleProfile,
31
31
  isRecord
32
- } from "./chunk-ORLTWJ2O.js";
32
+ } from "./chunk-RXXKFM22.js";
33
33
 
34
34
  // src/opencode-plugin.ts
35
35
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PRETOOLUSE_GATED_TOOLS
3
- } from "./chunk-ORLTWJ2O.js";
3
+ } from "./chunk-RXXKFM22.js";
4
4
 
5
5
  // src/claude-tools.ts
6
6
  var POSTTOOLUSE_MIRROR_ONLY_TOOLS = ["TodoWrite", "Task", "WebFetch", "WebSearch"];
@@ -2,23 +2,23 @@ import {
2
2
  CLAUDE_HOOK_EVENTS,
3
3
  GEMINI_HOOK_EVENTS,
4
4
  hasGeminiHooks
5
- } from "./chunk-3U3FU6ZX.js";
5
+ } from "./chunk-IMD5FN6Y.js";
6
6
  import {
7
7
  AGENT_CHOICES
8
- } from "./chunk-KYFWYPHN.js";
8
+ } from "./chunk-Q7CUTGT4.js";
9
9
  import {
10
10
  BELL_HOOK_BINARY
11
- } from "./chunk-Y3HTWB5S.js";
11
+ } from "./chunk-55FB6OSG.js";
12
12
  import {
13
13
  CODEX_HOOK_EVENTS,
14
14
  hasCodexHooks,
15
15
  holdBudgetOf
16
- } from "./chunk-EBZK2SJ2.js";
16
+ } from "./chunk-S3OWTQ6Z.js";
17
17
  import {
18
18
  CURSOR_GATE_EVENTS,
19
19
  HOOK_LOCATOR_BINARY,
20
20
  hookCommandHoldBudget
21
- } from "./chunk-ORLTWJ2O.js";
21
+ } from "./chunk-RXXKFM22.js";
22
22
 
23
23
  // src/diagnostics/bridge.ts
24
24
  import { execFileSync } from "child_process";
@@ -10,7 +10,7 @@ import {
10
10
  isSetupConnectMode,
11
11
  isValidApiKey,
12
12
  normalizeAgentId
13
- } from "./chunk-ORLTWJ2O.js";
13
+ } from "./chunk-RXXKFM22.js";
14
14
 
15
15
  // src/setup/options.ts
16
16
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -14,7 +14,7 @@ import {
14
14
  isReleaseVersion,
15
15
  ownPackageName,
16
16
  withHookHoldBudget
17
- } from "./chunk-ORLTWJ2O.js";
17
+ } from "./chunk-RXXKFM22.js";
18
18
 
19
19
  // src/setup/paths.ts
20
20
  import { homedir as homedir2 } from "os";
@@ -396,9 +396,9 @@ var installGlobally = (options) => {
396
396
  }
397
397
  const started = (async () => {
398
398
  if (!npmIsOnPath()) throw new NpmMissingError();
399
- const { withUpgradeLock } = await import("./global-upgrade-YEAGJG4G.js");
400
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-GIO5QZ7E.js");
401
- const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-HQAICWAF.js");
399
+ const { withUpgradeLock } = await import("./global-upgrade-FFWOHOJ4.js");
400
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-ZXXNRH2P.js");
401
+ const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-Y2WPCM5Y.js");
402
402
  let result = "skipped";
403
403
  const install = async () => {
404
404
  const platform = process.platform;
@@ -6,38 +6,38 @@ import {
6
6
  } from "./chunk-DWQYCOPI.js";
7
7
  import {
8
8
  ensureDaemonRunning
9
- } from "./chunk-STETTN4K.js";
9
+ } from "./chunk-SCYAXV7U.js";
10
10
  import {
11
11
  buildTranscriptRecords,
12
12
  decodePublicKey,
13
13
  generateSessionKey,
14
14
  wrapSessionKey
15
- } from "./chunk-X7TNLYNZ.js";
15
+ } from "./chunk-MSUMSXTI.js";
16
16
  import {
17
17
  fetchTranscriptRecipients,
18
18
  uploadTranscriptRecords
19
- } from "./chunk-MAB6CGL5.js";
19
+ } from "./chunk-J6MVBWF2.js";
20
20
  import {
21
21
  transcriptEnvironmentPreference,
22
22
  transcriptsEnabled
23
- } from "./chunk-QRNNIDGY.js";
23
+ } from "./chunk-VQL62ECJ.js";
24
24
  import {
25
25
  hookOwnerOf
26
- } from "./chunk-NRSTNZYJ.js";
26
+ } from "./chunk-PIZ65U3D.js";
27
27
  import {
28
28
  readTranscriptPreference
29
- } from "./chunk-M7VKFAAK.js";
29
+ } from "./chunk-C3RVRTHS.js";
30
30
  import {
31
31
  codexHome,
32
32
  pusharyDir
33
- } from "./chunk-EBZK2SJ2.js";
33
+ } from "./chunk-S3OWTQ6Z.js";
34
34
  import {
35
35
  writeJsonAtomic
36
36
  } from "./chunk-AQFEP65J.js";
37
37
  import {
38
38
  getApiKey,
39
39
  getBaseUrl
40
- } from "./chunk-CHD6IUNM.js";
40
+ } from "./chunk-GTOBOC6M.js";
41
41
 
42
42
  // src/transcript-registration.ts
43
43
  import { createHash } from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-ORLTWJ2O.js";
4
+ } from "./chunk-RXXKFM22.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-M7VKFAAK.js";
7
+ } from "./chunk-C3RVRTHS.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-QPT4PTUG.js";
10
+ } from "./chunk-W3BO56VE.js";
11
11
  import {
12
12
  pusharyDir,
13
13
  resolveGlobalBinary
14
- } from "./chunk-EBZK2SJ2.js";
14
+ } from "./chunk-S3OWTQ6Z.js";
15
15
  import {
16
16
  readJsonSafe,
17
17
  writeFileAtomic,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-AQFEP65J.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-CHD6IUNM.js";
23
+ } from "./chunk-GTOBOC6M.js";
24
24
  import {
25
25
  CLI_PACKAGE_NAMES,
26
26
  cmdShimTarget,
@@ -28,7 +28,7 @@ import {
28
28
  globalPackageFolder,
29
29
  globalRootFor,
30
30
  isRecord
31
- } from "./chunk-ORLTWJ2O.js";
31
+ } from "./chunk-RXXKFM22.js";
32
32
 
33
33
  // src/daemon-lifecycle.ts
34
34
  import { dirname, join, win32 as win32Path } from "path";
@@ -8,10 +8,10 @@ import {
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand,
10
10
  resolvePathBinary
11
- } from "./chunk-EBZK2SJ2.js";
11
+ } from "./chunk-S3OWTQ6Z.js";
12
12
  import {
13
13
  getPackageVersion
14
- } from "./chunk-ORLTWJ2O.js";
14
+ } from "./chunk-RXXKFM22.js";
15
15
 
16
16
  // src/codex-app-server.ts
17
17
  import { existsSync, realpathSync } from "fs";
@@ -3,18 +3,18 @@ import {
3
3
  addGeminiMcpServer,
4
4
  removeGeminiMcpServer,
5
5
  supportedClaudeEvents
6
- } from "./chunk-3U3FU6ZX.js";
6
+ } from "./chunk-IMD5FN6Y.js";
7
7
  import {
8
8
  CLAUDE_CODE_AGENT,
9
9
  compatibleToolLookup
10
- } from "./chunk-CGRVIUKE.js";
10
+ } from "./chunk-YRE6GUFZ.js";
11
11
  import {
12
12
  guardBinary,
13
13
  guardBinaryRefusing,
14
14
  holdBudgetOf,
15
15
  isProtectedByScope,
16
16
  registerHookEntry
17
- } from "./chunk-EBZK2SJ2.js";
17
+ } from "./chunk-S3OWTQ6Z.js";
18
18
  import {
19
19
  HOOK_LOCATOR_BINARY,
20
20
  PHONE_ANSWERED_TOOLS,
@@ -25,7 +25,7 @@ import {
25
25
  pusharyMissingReason,
26
26
  refusalOutput,
27
27
  withHookHoldBudget
28
- } from "./chunk-ORLTWJ2O.js";
28
+ } from "./chunk-RXXKFM22.js";
29
29
 
30
30
  // src/claude-config.ts
31
31
  import { join } from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  MCP_BRIDGE_BINARY
3
- } from "./chunk-RETRVO47.js";
3
+ } from "./chunk-LOUZNXTJ.js";
4
4
  import {
5
5
  KEY_FILE_MODE
6
- } from "./chunk-M7VKFAAK.js";
6
+ } from "./chunk-C3RVRTHS.js";
7
7
  import {
8
8
  NpmMissingError,
9
9
  NpmPermissionError
10
- } from "./chunk-EBZK2SJ2.js";
10
+ } from "./chunk-S3OWTQ6Z.js";
11
11
  import {
12
12
  readJsonSafe,
13
13
  writeFileAtomic,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AQFEP65J.js";
16
16
  import {
17
17
  NPX_LATEST_COMMAND
18
- } from "./chunk-DIJ532S7.js";
18
+ } from "./chunk-LDCRV6HG.js";
19
19
 
20
20
  // src/instruction-file.ts
21
21
  import { existsSync, readFileSync, writeFileSync, mkdirSync, rmSync } from "fs";
@@ -35,6 +35,7 @@ You have Pushary MCP tools that reach the user on their phone. Use them proactiv
35
35
  - When meaningful work finishes while the user is away, or they requested an alert, call \`send_notification\` so the user knows it is done. Skip trivial completions and duplicate reports to someone already reading. Always pass \`context\` with a \`type\` of "task_complete", "error" or "info": it is what tells Pushary this is a task update, so the user's own setting for where updates land can route it.
36
36
  - Confirm notifications can offer lock-screen actions; arbitrary choices and text open the app. The Mac notch handles personal account questions, not Partner customer enrollment.
37
37
  - Use \`cancel_question\` to retract a pending question once it is no longer needed.
38
+ - When the user asks to be reminded later, call \`schedule_reminder\` with \`body\` and either \`inMinutes\` or \`at\` with an explicit UTC offset. Confirm the returned time, never guess their timezone, and do not use \`ask_user\` as a reminder. Pushary saves it and delivers after this agent exits. Call with no arguments to list pending reminders or \`cancelReminderId\` to cancel one before dispatch starts.
38
39
  - Respect the user's Pushary delivery mode: it decides where an approval is surfaced (phone, terminal, or awareness only), not whether it is required. In Terminal mode do not expect a phone answer; the approval waits in the terminal. If the Pushary hook already gated an action, a single approval is enough, do not ask again.
39
40
 
40
41
  Pass \`agentName\` as "${label} - <project folder name>" so the user knows which session is asking. If a question times out, follow \`handoffAction\` when present, otherwise \`nextAction\`: keep waiting with the same correlationId while pending. A poll ending is not question expiry. Cancel only for an explicit handoff or when the answer is no longer needed. If cancellation returns \`handoffAction: "stop"\`, stop. Otherwise, if cancellation returns false, poll once for 1 second and honor the answer that won the race.`;
@@ -103,7 +104,8 @@ var FX_TOOL_DISCOVERY_NOTE = 'In fx, these tools are named mcp_pushary_ask_user,
103
104
  var FX_AGENT_LABEL = "fx";
104
105
  var fxInstructionsBody = () => `${renderAgentInstructions(FX_AGENT_LABEL)}
105
106
 
106
- ${FX_TOOL_DISCOVERY_NOTE}`;
107
+ ${FX_TOOL_DISCOVERY_NOTE}
108
+ For a reminder later, select mcp_pushary_schedule_reminder with mcp_select_tool, then call it. Pushary schedules delivery on its server; fx can exit.`;
107
109
  var ALLOW_ACTION = "allow";
108
110
  var PERMISSION_KEY = "permission";
109
111
  var WORKSPACES_KEY = "workspaces";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-EBZK2SJ2.js";
3
+ } from "./chunk-S3OWTQ6Z.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeFileAtomic
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-ORLTWJ2O.js";
16
+ } from "./chunk-RXXKFM22.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";