pushary 1.9.142 → 1.9.144

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 +11 -0
  2. package/data/SKILL.md +4 -2
  3. package/data/cursor-plugin/skills/pushary/SKILL.md +3 -1
  4. package/data/vscode-plugin/skills/pushary/SKILL.md +3 -1
  5. package/dist/{api-JR3YAO4I.js → api-ZV7TT25P.js} +11 -7
  6. package/dist/bin/pushary-bell-hook.js +15 -15
  7. package/dist/bin/pushary-bell.js +3 -3
  8. package/dist/bin/pushary-claude.js +30 -19
  9. package/dist/bin/pushary-clean.js +24 -24
  10. package/dist/bin/pushary-codex-bridge.js +11 -11
  11. package/dist/bin/pushary-codex-hook.js +21 -21
  12. package/dist/bin/pushary-codex-session.js +6 -6
  13. package/dist/bin/pushary-codex.js +8 -8
  14. package/dist/bin/pushary-connect.js +17 -17
  15. package/dist/bin/pushary-daemon.js +29 -29
  16. package/dist/bin/pushary-disconnect.js +17 -17
  17. package/dist/bin/pushary-doctor.js +28 -28
  18. package/dist/bin/pushary-elicitation-hook.js +16 -16
  19. package/dist/bin/pushary-gemini-bridge.js +6 -6
  20. package/dist/bin/pushary-gemini-hook.js +19 -19
  21. package/dist/bin/pushary-hook.js +21 -21
  22. package/dist/bin/pushary-login.js +11 -11
  23. package/dist/bin/pushary-logout.js +15 -15
  24. package/dist/bin/pushary-mcp.js +8 -8
  25. package/dist/bin/pushary-mode.js +7 -7
  26. package/dist/bin/pushary-notification-hook.js +15 -15
  27. package/dist/bin/pushary-opencode-hook.js +18 -18
  28. package/dist/bin/pushary-permission-denied-hook.js +21 -21
  29. package/dist/bin/pushary-permission-hook.js +21 -21
  30. package/dist/bin/pushary-post-hook.js +16 -16
  31. package/dist/bin/pushary-prompt-hook.js +15 -15
  32. package/dist/bin/pushary-session-end-hook.js +15 -15
  33. package/dist/bin/pushary-session-start-hook.js +24 -24
  34. package/dist/bin/pushary-setup.js +38 -37
  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 +30 -30
  42. package/dist/bin/pushary-wait.js +7 -7
  43. package/dist/bin/pushary.js +4 -4
  44. package/dist/{chunk-4YH326C5.js → chunk-23CGCD5L.js} +2 -2
  45. package/dist/{chunk-KRSZFHNS.js → chunk-3KRGT5AZ.js} +2 -2
  46. package/dist/{chunk-FS47XZCE.js → chunk-44BLJJPH.js} +1 -1
  47. package/dist/{chunk-ZGYVUZEZ.js → chunk-44WPMZGQ.js} +4 -4
  48. package/dist/{chunk-MOYEHNFP.js → chunk-4524ZR2U.js} +1 -1
  49. package/dist/{chunk-77ZUOR3U.js → chunk-56HFENZK.js} +4 -4
  50. package/dist/{chunk-NQF652IG.js → chunk-5AXDNDUJ.js} +1 -1
  51. package/dist/{chunk-4Z7YVVKQ.js → chunk-5BTAIFVV.js} +1 -1
  52. package/dist/{chunk-QFZNPZRO.js → chunk-5I3UQEAX.js} +3 -3
  53. package/dist/{chunk-HLWS6ADK.js → chunk-6LALK6GI.js} +2 -2
  54. package/dist/{chunk-3KW7WC4L.js → chunk-74QCFZKV.js} +43 -8
  55. package/dist/{chunk-R27HXRSK.js → chunk-AGUL2JDK.js} +2 -2
  56. package/dist/{chunk-5N6Q5XGF.js → chunk-AJQ4TTPJ.js} +2 -2
  57. package/dist/{chunk-UIZE4YMU.js → chunk-BE5LO5VW.js} +1 -1
  58. package/dist/{chunk-TYQITMXN.js → chunk-BHNX7XNO.js} +1 -1
  59. package/dist/{chunk-5GE7PKK4.js → chunk-C6SKS6IU.js} +9 -9
  60. package/dist/{chunk-KP6FVUCC.js → chunk-CV4EIXPV.js} +2 -2
  61. package/dist/{chunk-POXASZR6.js → chunk-CWWO3JTD.js} +1 -1
  62. package/dist/{chunk-FFAVOHI5.js → chunk-CZOMD2IW.js} +3 -3
  63. package/dist/{chunk-DZLLKJJT.js → chunk-E32SRYTE.js} +1 -1
  64. package/dist/{chunk-MDIBO7U7.js → chunk-EC7VHNHE.js} +3 -3
  65. package/dist/{chunk-EECOWW5X.js → chunk-EOKUIOMT.js} +2 -2
  66. package/dist/{chunk-KY6AHZ2P.js → chunk-EY5CVFDL.js} +5 -5
  67. package/dist/{chunk-MH5BRZOQ.js → chunk-F37YD4YE.js} +1 -1
  68. package/dist/{chunk-4KVGNCMN.js → chunk-FC2ENROR.js} +2 -2
  69. package/dist/{chunk-UPI4IIX3.js → chunk-GV3FDGQH.js} +1 -1
  70. package/dist/{chunk-7K3KDCOX.js → chunk-HGIW56MU.js} +2 -2
  71. package/dist/{chunk-DV4ZWKI6.js → chunk-HNFYZPNJ.js} +3 -3
  72. package/dist/{chunk-SMF4TBPU.js → chunk-JK7DTAQH.js} +3 -3
  73. package/dist/{chunk-3VOUWGFF.js → chunk-KEBI7NYU.js} +2 -2
  74. package/dist/{chunk-G562FBHB.js → chunk-LVOHE66T.js} +3 -3
  75. package/dist/{chunk-XWYCFODT.js → chunk-MCI6KYN7.js} +1 -1
  76. package/dist/{chunk-PYSDCPZ3.js → chunk-OZG6CGYW.js} +5 -5
  77. package/dist/{chunk-LTPKSJWY.js → chunk-PYT4WXXR.js} +3 -3
  78. package/dist/{chunk-IG7NGXBS.js → chunk-RPXSGCRG.js} +2 -1
  79. package/dist/{chunk-6JLANX5L.js → chunk-S7WVJ6AR.js} +3 -3
  80. package/dist/{chunk-ZJHZICA4.js → chunk-UK5DKLZY.js} +7 -7
  81. package/dist/{chunk-ZF4CPOO7.js → chunk-VP4T5352.js} +3 -3
  82. package/dist/{chunk-76N6DCSP.js → chunk-WC25Z4XS.js} +2 -2
  83. package/dist/{chunk-CZCLJXUA.js → chunk-WGOTBZ23.js} +3 -3
  84. package/dist/{chunk-34JVH6VP.js → chunk-WGT5LCIB.js} +12 -3
  85. package/dist/{chunk-7PJLQRRM.js → chunk-WTBFPSTR.js} +3 -3
  86. package/dist/{chunk-QQHUUPPW.js → chunk-WTULK73V.js} +2 -2
  87. package/dist/{chunk-TKYGEPBH.js → chunk-WWCM6UL7.js} +1 -1
  88. package/dist/{chunk-NOTW7GOC.js → chunk-XLMJEEW3.js} +1 -1
  89. package/dist/{chunk-Z5OFTJGZ.js → chunk-YD376BLV.js} +9 -7
  90. package/dist/{chunk-4OX4SJGA.js → chunk-YESBU4VQ.js} +1 -1
  91. package/dist/{chunk-TKFNIDZK.js → chunk-YFK3MJGZ.js} +1 -1
  92. package/dist/{chunk-XIU5ER6S.js → chunk-YY5YVMBA.js} +3 -3
  93. package/dist/{chunk-A3DVD55C.js → chunk-Z2WQD2W6.js} +3 -3
  94. package/dist/{chunk-TPQDOZGK.js → chunk-ZGYGKKXF.js} +10 -10
  95. package/dist/{codex-app-cards-switch-FAWUGM7P.js → codex-app-cards-switch-5PWB62W3.js} +6 -6
  96. package/dist/{codex-desktop-launch-WPN7UNS7.js → codex-desktop-launch-BCPUKOCV.js} +1 -1
  97. package/dist/{codex-session-launch-YPPBWBBH.js → codex-session-launch-4ZUBROFZ.js} +11 -11
  98. package/dist/{global-upgrade-CCVIYELF.js → global-upgrade-4IKWJHLE.js} +7 -7
  99. package/dist/{identity-7QA3EDOM.js → identity-I2VWLZAQ.js} +3 -3
  100. package/dist/{live-capabilities-SDMX6CPZ.js → live-capabilities-4CLCROSP.js} +3 -3
  101. package/dist/{paths-ZC6XY73Q.js → paths-YMHQKLFX.js} +2 -2
  102. package/dist/{reapply-4PUJZT73.js → reapply-FBQ7VR6L.js} +19 -19
  103. package/dist/src/index.js +21 -21
  104. package/dist/{upgrade-lock-BRVUBSLD.js → upgrade-lock-7ONNXM6V.js} +3 -3
  105. package/package.json +1 -1
@@ -536,7 +536,7 @@ var loadedOnce = (load) => {
536
536
  };
537
537
 
538
538
  // src/codex-desktop-proxy.ts
539
- var loadThePhone = () => import("./api-JR3YAO4I.js");
539
+ var loadThePhone = () => import("./api-ZV7TT25P.js");
540
540
  var loadTheCardRouting = () => import("./codex-card-routing-I6YOJBTT.js");
541
541
  var theFirstCardLoadsAgain = () => {
542
542
  };
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1097
1097
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1098
1098
  }
1099
1099
  if (args[0] === APP_CARDS_FLAG) {
1100
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-FAWUGM7P.js");
1100
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-5PWB62W3.js");
1101
1101
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1102
1102
  }
1103
1103
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-CYTPQDQY.js";
4
4
  import {
5
5
  parseVersion
6
- } from "./chunk-QFZNPZRO.js";
6
+ } from "./chunk-5I3UQEAX.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-C5LIS3XM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-34JVH6VP.js";
3
+ } from "./chunk-WGT5LCIB.js";
4
4
  import {
5
5
  fetchAsCredential
6
6
  } from "./chunk-YCU7Y77H.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureCodexTrustsPusharyHooks
3
- } from "./chunk-HLWS6ADK.js";
3
+ } from "./chunk-6LALK6GI.js";
4
4
  import {
5
5
  hermesReceiptPaths,
6
6
  hermesSetupPredatesThePluginFolder,
7
7
  installHermesPlugin,
8
8
  refreshHermesPluginFiles,
9
9
  shippedHermesPlugin
10
- } from "./chunk-KP6FVUCC.js";
10
+ } from "./chunk-CV4EIXPV.js";
11
11
  import {
12
12
  fxIgnoresInstructionsFile,
13
13
  fxInstructionsBody,
@@ -16,7 +16,7 @@ import {
16
16
  macAppFxBridge,
17
17
  refreshClineKey,
18
18
  switchFxHttpEntryToBridge
19
- } from "./chunk-Z5OFTJGZ.js";
19
+ } from "./chunk-YD376BLV.js";
20
20
  import {
21
21
  OPENCODE_HOOK_BINARY,
22
22
  agentHookOwner,
@@ -28,16 +28,16 @@ import {
28
28
  openCodePluginDir,
29
29
  openCodeWired,
30
30
  withOpenCodeAskRules
31
- } from "./chunk-G562FBHB.js";
31
+ } from "./chunk-LVOHE66T.js";
32
32
  import {
33
33
  detectClaudeVersion
34
- } from "./chunk-UIZE4YMU.js";
34
+ } from "./chunk-BE5LO5VW.js";
35
35
  import {
36
36
  addCompatibleHooks,
37
37
  compatibleConfigFile,
38
38
  compatibleInstructionsFile,
39
39
  hasCompatibleHooks
40
- } from "./chunk-CZCLJXUA.js";
40
+ } from "./chunk-WGOTBZ23.js";
41
41
  import {
42
42
  GEMINI_HOOK_BINARY,
43
43
  addGeminiHooks,
@@ -49,7 +49,7 @@ import {
49
49
  geminiWired,
50
50
  hasGeminiHooks,
51
51
  planHooks
52
- } from "./chunk-3VOUWGFF.js";
52
+ } from "./chunk-KEBI7NYU.js";
53
53
  import {
54
54
  KEY_FILE_MODE
55
55
  } from "./chunk-HIIXYZYV.js";
@@ -99,13 +99,13 @@ import {
99
99
  renderAgentInstructions,
100
100
  supportedClaudeEvents,
101
101
  vscodePluginMcp
102
- } from "./chunk-IG7NGXBS.js";
102
+ } from "./chunk-RPXSGCRG.js";
103
103
  import {
104
104
  formatVersion,
105
105
  hookCommandsUseBareNames,
106
106
  resolveGlobalBinDir,
107
107
  resolveGlobalBinary
108
- } from "./chunk-QFZNPZRO.js";
108
+ } from "./chunk-5I3UQEAX.js";
109
109
  import {
110
110
  readJsonSafe,
111
111
  writeFileAtomic,
@@ -5,10 +5,10 @@ import {
5
5
  hermesAppWiringRecord,
6
6
  hermesConfigReceipt,
7
7
  hermesSetupReceipt
8
- } from "./chunk-IG7NGXBS.js";
8
+ } from "./chunk-RPXSGCRG.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-QFZNPZRO.js";
11
+ } from "./chunk-5I3UQEAX.js";
12
12
  import {
13
13
  readJsonSafe,
14
14
  writeJsonAtomic
@@ -4,7 +4,7 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-KY6AHZ2P.js";
7
+ } from "./chunk-EY5CVFDL.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
@@ -14,7 +14,7 @@ import {
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-NQF652IG.js";
17
+ } from "./chunk-5AXDNDUJ.js";
18
18
  import {
19
19
  repositoryScopeFor
20
20
  } from "./chunk-EMODTMHE.js";
@@ -24,11 +24,11 @@ import {
24
24
  isWaitForAnswerResponse,
25
25
  withdrawQuestion,
26
26
  writeDegraded
27
- } from "./chunk-3KW7WC4L.js";
27
+ } from "./chunk-74QCFZKV.js";
28
28
  import {
29
29
  callMcpTool,
30
30
  isRetryable
31
- } from "./chunk-34JVH6VP.js";
31
+ } from "./chunk-WGT5LCIB.js";
32
32
  import {
33
33
  spawnClaude
34
34
  } from "./chunk-H6CL3T2S.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-4OX4SJGA.js";
3
+ } from "./chunk-YESBU4VQ.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-YU2EUD7O.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-TKFNIDZK.js";
4
+ } from "./chunk-YFK3MJGZ.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-34JVH6VP.js";
7
+ } from "./chunk-WGT5LCIB.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-DZLLKJJT.js";
10
+ } from "./chunk-E32SRYTE.js";
11
11
  import {
12
12
  getBaseUrl
13
13
  } from "./chunk-4EBJ4PTZ.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-G562FBHB.js";
3
+ } from "./chunk-LVOHE66T.js";
4
4
  import {
5
5
  keyPrefix
6
6
  } from "./chunk-HIIXYZYV.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-IG7NGXBS.js";
9
+ } from "./chunk-RPXSGCRG.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-TODDEIYG.js";
@@ -39,11 +39,11 @@ import {
39
39
  reportClientError,
40
40
  sendNotification,
41
41
  waitForAnswer
42
- } from "./chunk-3KW7WC4L.js";
42
+ } from "./chunk-74QCFZKV.js";
43
43
  import {
44
44
  isRetryable,
45
45
  withRetry
46
- } from "./chunk-34JVH6VP.js";
46
+ } from "./chunk-WGT5LCIB.js";
47
47
  import {
48
48
  RETRY_ACK,
49
49
  readCommandAck,
@@ -54,7 +54,7 @@ import {
54
54
  } from "./chunk-YCU7Y77H.js";
55
55
  import {
56
56
  getMachineId
57
- } from "./chunk-4Z7YVVKQ.js";
57
+ } from "./chunk-5BTAIFVV.js";
58
58
  import {
59
59
  reportedInstallSource
60
60
  } from "./chunk-BHKODM4L.js";
@@ -63,11 +63,11 @@ import {
63
63
  NOTIFICATION_PUSH_TYPES,
64
64
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
65
65
  claudeConfigDir
66
- } from "./chunk-IG7NGXBS.js";
66
+ } from "./chunk-RPXSGCRG.js";
67
67
  import {
68
68
  compareVersion,
69
69
  parseVersion
70
- } from "./chunk-QFZNPZRO.js";
70
+ } from "./chunk-5I3UQEAX.js";
71
71
  import {
72
72
  getApiKey,
73
73
  getBaseUrl
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-IG7NGXBS.js";
3
+ } from "./chunk-RPXSGCRG.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -7,10 +7,10 @@ import {
7
7
  isLocalQuestionHandoff,
8
8
  unavailableQuestionUnlessRefused,
9
9
  waitForQuestion
10
- } from "./chunk-3KW7WC4L.js";
10
+ } from "./chunk-74QCFZKV.js";
11
11
  import {
12
12
  getMachineId
13
- } from "./chunk-4Z7YVVKQ.js";
13
+ } from "./chunk-5BTAIFVV.js";
14
14
  import {
15
15
  hookWaitClamped,
16
16
  hookWaitDeadline,
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-MDIBO7U7.js";
15
+ } from "./chunk-EC7VHNHE.js";
16
16
  import {
17
17
  humanIsTty,
18
18
  writeHuman
@@ -9,13 +9,13 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-5N6Q5XGF.js";
12
+ } from "./chunk-AJQ4TTPJ.js";
13
13
  import {
14
14
  writeHuman
15
15
  } from "./chunk-QCGNGEGE.js";
16
16
  import {
17
17
  xml
18
- } from "./chunk-ZF4CPOO7.js";
18
+ } from "./chunk-VP4T5352.js";
19
19
  import {
20
20
  writeFileAtomic
21
21
  } from "./chunk-TODDEIYG.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  openCodeConfigDirFrom
3
- } from "./chunk-G562FBHB.js";
3
+ } from "./chunk-LVOHE66T.js";
4
4
  import {
5
5
  nativeClaudeInstallPath
6
6
  } from "./chunk-CYTPQDQY.js";
7
7
  import {
8
8
  grokHome
9
- } from "./chunk-CZCLJXUA.js";
9
+ } from "./chunk-WGOTBZ23.js";
10
10
  import {
11
11
  claudeConfigDir,
12
12
  clineDataDirectory,
13
13
  codexHomeFrom
14
- } from "./chunk-IG7NGXBS.js";
14
+ } from "./chunk-RPXSGCRG.js";
15
15
  import {
16
16
  HOOK_COMPATIBLE_PROFILES
17
17
  } from "./chunk-C5LIS3XM.js";
@@ -3,17 +3,17 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-R27HXRSK.js";
6
+ } from "./chunk-AGUL2JDK.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-ZF4CPOO7.js";
13
+ } from "./chunk-VP4T5352.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-4Z7YVVKQ.js";
16
+ } from "./chunk-5BTAIFVV.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeySource
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-53KLGXFL.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-MH5BRZOQ.js";
6
+ } from "./chunk-F37YD4YE.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,7 +16,7 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-IG7NGXBS.js";
19
+ } from "./chunk-RPXSGCRG.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  compatibleConfigFile
3
- } from "./chunk-CZCLJXUA.js";
3
+ } from "./chunk-WGOTBZ23.js";
4
4
  import {
5
5
  hookOwnerOf,
6
6
  hookOwnerOfCommands
7
- } from "./chunk-3VOUWGFF.js";
7
+ } from "./chunk-KEBI7NYU.js";
8
8
  import {
9
9
  AGENT_CHOICES
10
10
  } from "./chunk-53KLGXFL.js";
@@ -19,7 +19,7 @@ import {
19
19
  resolveBridgeStub,
20
20
  vscodePluginDir,
21
21
  windowsNodeLauncherFor
22
- } from "./chunk-IG7NGXBS.js";
22
+ } from "./chunk-RPXSGCRG.js";
23
23
  import {
24
24
  readJsonSafe
25
25
  } from "./chunk-TODDEIYG.js";
@@ -2,7 +2,7 @@ import {
2
2
  NpmInstallError,
3
3
  NpmMissingError,
4
4
  NpmPermissionError
5
- } from "./chunk-QFZNPZRO.js";
5
+ } from "./chunk-5I3UQEAX.js";
6
6
  import {
7
7
  writeFileAtomic
8
8
  } from "./chunk-TODDEIYG.js";
@@ -3,10 +3,10 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-QQHUUPPW.js";
6
+ } from "./chunk-WTULK73V.js";
7
7
  import {
8
8
  phoneStartIsRequired
9
- } from "./chunk-R27HXRSK.js";
9
+ } from "./chunk-AGUL2JDK.js";
10
10
  import {
11
11
  describeAutoUpdateCheck,
12
12
  globalInstallLocation,
@@ -18,19 +18,19 @@ import {
18
18
  readAutoUpdateState,
19
19
  updateAutoUpdateState,
20
20
  upgradeEntryFor
21
- } from "./chunk-MOYEHNFP.js";
21
+ } from "./chunk-4524ZR2U.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-IG7NGXBS.js";
26
+ } from "./chunk-RPXSGCRG.js";
27
27
  import {
28
28
  execNpm,
29
29
  fetchLatestPublishedVersion,
30
30
  npmErrorMessage,
31
31
  readGlobalCliInstallAt,
32
32
  readGlobalPrefix
33
- } from "./chunk-QFZNPZRO.js";
33
+ } from "./chunk-5I3UQEAX.js";
34
34
  import {
35
35
  EXIT
36
36
  } from "./chunk-BG4HHB7E.js";
@@ -8,10 +8,10 @@ import {
8
8
  } from "./chunk-G66WIAST.js";
9
9
  import {
10
10
  ensureDaemonRunning
11
- } from "./chunk-ZF4CPOO7.js";
11
+ } from "./chunk-VP4T5352.js";
12
12
  import {
13
13
  hookOwnerOf
14
- } from "./chunk-3VOUWGFF.js";
14
+ } from "./chunk-KEBI7NYU.js";
15
15
  import {
16
16
  hookMeaning
17
17
  } from "./chunk-7QWH257P.js";
@@ -43,7 +43,7 @@ import {
43
43
  claudeConfigDir,
44
44
  codexHome,
45
45
  pusharyDir
46
- } from "./chunk-IG7NGXBS.js";
46
+ } from "./chunk-RPXSGCRG.js";
47
47
  import {
48
48
  getApiKey,
49
49
  getBaseUrl
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-QFZNPZRO.js";
6
+ } from "./chunk-5I3UQEAX.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-TODDEIYG.js";
@@ -953,6 +953,7 @@ You have Pushary MCP tools that reach the user on their phone. Use them proactiv
953
953
  - Call \`propose_scope\` only for an unresolved or requested file boundary. A ratified scope narrows what may proceed; it does not bypass other approval rules. Do not add a plan approval merely because work spans several files, and do not propose a new scope mid-run just to widen it. Let the installed gate request any scope expansion before the edit executes. Only file paths are checked, and only on tool calls that carry one, so put a boundary that is not a path (recipients, channels, spend, systems you will not open) in \`promises\` and never in \`allowedPaths\`. Read the \`enforces\` field that comes back: an empty array means nothing in that contract is checked automatically, and you must say so rather than report that a scope is in force. \`hookSeen: false\` means no hook has reported that sessionId, so the gate will never find the contract: fix the session id rather than proceeding as if a scope were in force.
954
954
  - Before a task of more than two steps, break it into steps and find the forks. Settle by yourself every fork that a file, a command or a tool call can answer, then ask the rest as one numbered round with your recommended answer against each. A question in the terminal is free; a push is not. When the user is at the terminal, ask the whole round there. When the user is away, send only the fork that stops the run. Decide another fork on your recommendation only if it is reversible, spends nothing and stays inside the task, and list it in your final message; ask the rest once the first answer is back.
955
955
  - When you are blocked, stuck, or hit an error you cannot resolve on your own, call \`send_notification\` so the user knows, and call \`ask_user\` if you need a decision to continue.
956
+ - When the user asks you to call, phone or ring them if you get stuck or blocked, ask with \`ask_user\`; there is no separate call tool. Pushary may phone them only when the \`ask_user\` reply includes \`phoneCall\`, and then records the spoken answer as the answer; without \`phoneCall\` no call is planned, so do not promise one. While the reply is pending and has no \`handoffAction\`, keep waiting with \`wait_for_answer\` and the same correlationId; when it has one, follow it.
956
957
  - 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.
957
958
  - Confirm notifications can offer lock-screen actions; arbitrary choices and text open the app. The Mac notch answers questions too.
958
959
  - Use \`cancel_question\` to retract a pending question once it is no longer needed.
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-3VOUWGFF.js";
3
+ } from "./chunk-KEBI7NYU.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-IG7NGXBS.js";
10
+ } from "./chunk-RPXSGCRG.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
14
- } from "./chunk-QFZNPZRO.js";
14
+ } from "./chunk-5I3UQEAX.js";
15
15
  import {
16
16
  CURSOR_GATE_COVERAGE,
17
17
  CURSOR_GATE_SCRIPT,
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
3
- } from "./chunk-FS47XZCE.js";
3
+ } from "./chunk-44BLJJPH.js";
4
4
  import {
5
5
  declinedAgentsFile,
6
6
  readDeclinedAgents
7
- } from "./chunk-NOTW7GOC.js";
7
+ } from "./chunk-XLMJEEW3.js";
8
8
  import {
9
9
  OPENCODE_HOOK_BINARY,
10
10
  openCodeConfigDir,
11
11
  openCodePluginArgv,
12
12
  openCodePluginFile
13
- } from "./chunk-G562FBHB.js";
13
+ } from "./chunk-LVOHE66T.js";
14
14
  import {
15
15
  liveCursorGateCoverage
16
- } from "./chunk-6JLANX5L.js";
16
+ } from "./chunk-S7WVJ6AR.js";
17
17
  import {
18
18
  compatibleConfigFile,
19
19
  compatibleHookEvents,
20
20
  grokHome,
21
21
  parseConfigDocument
22
- } from "./chunk-CZCLJXUA.js";
22
+ } from "./chunk-WGOTBZ23.js";
23
23
  import {
24
24
  DEFAULT_HOOKS_KEY_PATH,
25
25
  GEMINI_HOOK_BINARY,
26
26
  GEMINI_HOOK_EVENTS,
27
27
  hooksAt
28
- } from "./chunk-3VOUWGFF.js";
28
+ } from "./chunk-KEBI7NYU.js";
29
29
  import {
30
30
  CODEX_EARLIER_APPROVAL_MATCHERS,
31
31
  CODEX_HOOK_BINARY,
@@ -53,7 +53,7 @@ import {
53
53
  parseHookArgv,
54
54
  parseHookCommand,
55
55
  supportedClaudeEvents
56
- } from "./chunk-IG7NGXBS.js";
56
+ } from "./chunk-RPXSGCRG.js";
57
57
  import {
58
58
  readRegularJsonFile,
59
59
  readRegularTextFile
@@ -4,16 +4,16 @@ import {
4
4
  } from "./chunk-H6CL3T2S.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-4Z7YVVKQ.js";
7
+ } from "./chunk-5BTAIFVV.js";
8
8
  import {
9
9
  readControlMode
10
10
  } from "./chunk-HIIXYZYV.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-IG7NGXBS.js";
13
+ } from "./chunk-RPXSGCRG.js";
14
14
  import {
15
15
  resolveGlobalBinary
16
- } from "./chunk-QFZNPZRO.js";
16
+ } from "./chunk-5I3UQEAX.js";
17
17
  import {
18
18
  getApiKey
19
19
  } from "./chunk-4EBJ4PTZ.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore,
3
3
  identifyingToolInput
4
- } from "./chunk-KY6AHZ2P.js";
4
+ } from "./chunk-EY5CVFDL.js";
5
5
  import {
6
6
  canonicalJson
7
- } from "./chunk-IG7NGXBS.js";
7
+ } from "./chunk-RPXSGCRG.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash } from "crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-3VOUWGFF.js";
4
+ } from "./chunk-KEBI7NYU.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-KY6AHZ2P.js";
7
+ } from "./chunk-EY5CVFDL.js";
8
8
  import {
9
9
  compatibleToolLookup
10
10
  } from "./chunk-7QWH257P.js";
@@ -19,7 +19,7 @@ import {
19
19
  isPusharyHook,
20
20
  registerHookEntry,
21
21
  removeClaudeMcpServers
22
- } from "./chunk-IG7NGXBS.js";
22
+ } from "./chunk-RPXSGCRG.js";
23
23
  import {
24
24
  HOOK_COMPATIBLE_PROFILES,
25
25
  PHONE_ANSWERED_TOOLS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  keyCheckFromResponse
3
- } from "./chunk-DZLLKJJT.js";
3
+ } from "./chunk-E32SRYTE.js";
4
4
  import {
5
5
  installNetworkDefaults
6
- } from "./chunk-4OX4SJGA.js";
6
+ } from "./chunk-YESBU4VQ.js";
7
7
  import {
8
8
  fetchAsCredential
9
9
  } from "./chunk-YCU7Y77H.js";
@@ -57,6 +57,14 @@ var SubscriptionRequiredError = class extends Error {
57
57
  this.upgradeUrl = upgradeUrl;
58
58
  }
59
59
  };
60
+ var McpHttpError = class extends Error {
61
+ status;
62
+ constructor(status, detail) {
63
+ super(`Pushary MCP error: ${status} ${detail}`);
64
+ this.name = "McpHttpError";
65
+ this.status = status;
66
+ }
67
+ };
60
68
  var McpToolError = class extends Error {
61
69
  tool;
62
70
  failure;
@@ -128,7 +136,7 @@ var sendMcpRequest = async (apiKey, message, options = {}) => {
128
136
  }
129
137
  if (!response.ok) {
130
138
  const msg = data?.error?.message ?? (body.trim() || response.statusText);
131
- throw new Error(`Pushary MCP error: ${response.status} ${msg}`);
139
+ throw new McpHttpError(response.status, msg);
132
140
  }
133
141
  if (!data) throw new Error("Empty response from Pushary");
134
142
  if (data.error) throw new Error(data.error.message ?? "Pushary MCP error");
@@ -158,6 +166,7 @@ export {
158
166
  isRetryable,
159
167
  withRetry,
160
168
  SubscriptionRequiredError,
169
+ McpHttpError,
161
170
  McpToolError,
162
171
  parseSseMessages,
163
172
  sendMcpRequest,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-MDIBO7U7.js";
3
+ } from "./chunk-EC7VHNHE.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-TKFNIDZK.js";
6
+ } from "./chunk-YFK3MJGZ.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-XWYCFODT.js";
10
+ } from "./chunk-MCI6KYN7.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-BG4HHB7E.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-IG7NGXBS.js";
3
+ } from "./chunk-RPXSGCRG.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  npmExitedOnPermissionDenied
8
- } from "./chunk-QFZNPZRO.js";
8
+ } from "./chunk-5I3UQEAX.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-TODDEIYG.js";