pushary 1.9.288 → 1.9.290

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 (146) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{api-K3IWGWFN.js → api-XUO467EJ.js} +12 -12
  3. package/dist/bin/pushary-ask.js +14 -14
  4. package/dist/bin/pushary-audit.js +3 -3
  5. package/dist/bin/pushary-bell-hook.js +29 -29
  6. package/dist/bin/pushary-bell.js +11 -11
  7. package/dist/bin/pushary-calls.js +14 -14
  8. package/dist/bin/pushary-claude.js +26 -26
  9. package/dist/bin/pushary-clean.js +39 -39
  10. package/dist/bin/pushary-codex-bridge.js +22 -22
  11. package/dist/bin/pushary-codex-hook.js +51 -39
  12. package/dist/bin/pushary-codex-session.js +8 -8
  13. package/dist/bin/pushary-codex.js +16 -16
  14. package/dist/bin/pushary-connect.js +35 -35
  15. package/dist/bin/pushary-cowork.js +5 -5
  16. package/dist/bin/pushary-daemon.js +47 -47
  17. package/dist/bin/pushary-disconnect.js +30 -30
  18. package/dist/bin/pushary-display-hook.js +18 -4
  19. package/dist/bin/pushary-doctor.js +49 -49
  20. package/dist/bin/pushary-elicitation-hook.js +28 -28
  21. package/dist/bin/pushary-gemini-bridge.js +17 -17
  22. package/dist/bin/pushary-gemini-hook.js +36 -33
  23. package/dist/bin/pushary-hook.js +36 -36
  24. package/dist/bin/pushary-login.js +43 -43
  25. package/dist/bin/pushary-logout.js +32 -32
  26. package/dist/bin/pushary-mcp.js +12 -12
  27. package/dist/bin/pushary-mode.js +15 -15
  28. package/dist/bin/pushary-notification-hook.js +28 -28
  29. package/dist/bin/pushary-opencode-bridge.js +21 -21
  30. package/dist/bin/pushary-opencode-hook.js +42 -38
  31. package/dist/bin/pushary-permission-denied-hook.js +35 -35
  32. package/dist/bin/pushary-permission-hook.js +36 -36
  33. package/dist/bin/pushary-post-hook.js +29 -29
  34. package/dist/bin/pushary-prompt-hook.js +28 -28
  35. package/dist/bin/pushary-session-end-hook.js +28 -28
  36. package/dist/bin/pushary-session-start-hook.js +40 -40
  37. package/dist/bin/pushary-sessions.js +12 -12
  38. package/dist/bin/pushary-setup.js +60 -60
  39. package/dist/bin/pushary-stats.js +5 -5
  40. package/dist/bin/pushary-status.js +36 -36
  41. package/dist/bin/pushary-stop-hook.js +28 -28
  42. package/dist/bin/pushary-stopfailure-hook.js +28 -28
  43. package/dist/bin/pushary-suggestions.js +15 -15
  44. package/dist/bin/pushary-transcript-register.js +17 -17
  45. package/dist/bin/pushary-transcripts.js +26 -26
  46. package/dist/bin/pushary-upgrade.js +48 -48
  47. package/dist/bin/pushary-wait.js +24 -24
  48. package/dist/bin/pushary.js +7 -7
  49. package/dist/{chunk-W5JVXJWS.js → chunk-23NMP36J.js} +2 -2
  50. package/dist/{chunk-DUGZ3LPV.js → chunk-3AQIVVUZ.js} +6 -6
  51. package/dist/{chunk-GIYPVDTV.js → chunk-3RMIVLDA.js} +1 -1
  52. package/dist/{chunk-SV4HTD2B.js → chunk-4IQ77DKT.js} +11 -11
  53. package/dist/{chunk-N43ISLDY.js → chunk-54IXUSDI.js} +1 -1
  54. package/dist/{chunk-LHJMPI6F.js → chunk-5RRALKRA.js} +3 -3
  55. package/dist/{chunk-TZNADUR3.js → chunk-5UYFB6ZF.js} +5 -5
  56. package/dist/{chunk-2KZPXZBH.js → chunk-5YPEMWXR.js} +4 -4
  57. package/dist/{chunk-BEFBY6XL.js → chunk-653ESF3J.js} +4 -4
  58. package/dist/{chunk-Z5HZPYGI.js → chunk-76KCGGXI.js} +2 -2
  59. package/dist/{chunk-C6FXHNEM.js → chunk-7HTENZG7.js} +2 -2
  60. package/dist/{chunk-XMERDG73.js → chunk-7IANCXT2.js} +6 -6
  61. package/dist/{chunk-RBWPMPQJ.js → chunk-7OMAL4BD.js} +12 -12
  62. package/dist/{chunk-3DCG55AG.js → chunk-7T2VDZA4.js} +7 -7
  63. package/dist/{chunk-SG6GBKDP.js → chunk-A2UHRGYB.js} +4 -4
  64. package/dist/{chunk-ORFDZ2ZL.js → chunk-AGB3J77S.js} +6 -6
  65. package/dist/{chunk-EELZVUQZ.js → chunk-AHRZ7HMN.js} +4 -4
  66. package/dist/{chunk-JOEXLHNE.js → chunk-AW22GX4V.js} +5 -5
  67. package/dist/{chunk-ID25FRJE.js → chunk-CC6AQFRL.js} +15 -2
  68. package/dist/{chunk-L36ZGE2S.js → chunk-CIRFEZML.js} +7 -7
  69. package/dist/{chunk-BDI6EMCG.js → chunk-COGYV234.js} +2 -2
  70. package/dist/{chunk-SD7A66GE.js → chunk-DGXNUAPO.js} +3 -3
  71. package/dist/{chunk-3LSWSQJP.js → chunk-DLODMDK4.js} +5 -5
  72. package/dist/{chunk-V6Y6H5YG.js → chunk-DQTRBC64.js} +5 -5
  73. package/dist/{chunk-UJTHIC4T.js → chunk-DSWITQTK.js} +1 -1
  74. package/dist/{chunk-F2O2PGEY.js → chunk-DT2EAF2J.js} +3 -3
  75. package/dist/{chunk-2JVRMEYV.js → chunk-DWGPPIWL.js} +4 -4
  76. package/dist/{chunk-BXRZS7M4.js → chunk-E3I3YRL2.js} +4 -4
  77. package/dist/{chunk-WHB622LP.js → chunk-E5J242ED.js} +1 -0
  78. package/dist/{chunk-EI7J4ILX.js → chunk-EAOKHDYP.js} +1 -1
  79. package/dist/{chunk-UFKSZSGY.js → chunk-EOTRICZK.js} +5 -5
  80. package/dist/{chunk-QSGUDZQV.js → chunk-ERVJC7SE.js} +3 -3
  81. package/dist/{chunk-6HYRIGXT.js → chunk-F4C3YAZZ.js} +21 -25
  82. package/dist/{chunk-QY554VOR.js → chunk-F7WFNDKO.js} +1 -1
  83. package/dist/{chunk-BQU6GQPE.js → chunk-FQVGNJ3J.js} +10 -10
  84. package/dist/{chunk-P6RPWPIJ.js → chunk-G5PSHIVE.js} +2 -2
  85. package/dist/{chunk-4ZA5SRRX.js → chunk-HBCSKB7Z.js} +1 -1
  86. package/dist/{chunk-S67FYPIR.js → chunk-HDCGFIG3.js} +8 -8
  87. package/dist/{chunk-M7YAJZ3K.js → chunk-HQPUDCJK.js} +2 -2
  88. package/dist/{chunk-TGD6W3KC.js → chunk-J54Q7G5U.js} +2 -2
  89. package/dist/{chunk-VMLNLUKN.js → chunk-J5E2DZP4.js} +2 -2
  90. package/dist/{chunk-URRISDZ3.js → chunk-JZ5JGUYX.js} +5 -5
  91. package/dist/{chunk-RHW5F4IE.js → chunk-LPNASWI2.js} +30 -5
  92. package/dist/{chunk-YEH4U2A3.js → chunk-LTCYQJTZ.js} +1 -1
  93. package/dist/{chunk-ABLRD6OH.js → chunk-MCO6X2UG.js} +2 -2
  94. package/dist/{chunk-H5KRIB6S.js → chunk-NIOTHJ6C.js} +1 -1
  95. package/dist/{chunk-ME6HGEE5.js → chunk-NPI65OAW.js} +6 -6
  96. package/dist/{chunk-4XYW7KCZ.js → chunk-O7CD5CO3.js} +2 -2
  97. package/dist/{chunk-RP2URPJB.js → chunk-ORVY7TV3.js} +1 -1
  98. package/dist/{chunk-OLXRCHZ3.js → chunk-PB6NRAHQ.js} +1 -1
  99. package/dist/{chunk-TA7OZXEK.js → chunk-PYZICBUS.js} +12 -12
  100. package/dist/{chunk-M6TQ6ANY.js → chunk-R5X6NITA.js} +3 -3
  101. package/dist/{chunk-KWWB7BOI.js → chunk-RIVBIAV5.js} +1 -1
  102. package/dist/{chunk-DVG3DECQ.js → chunk-RJXDHPFS.js} +6 -6
  103. package/dist/{chunk-JRO4NEDH.js → chunk-S3YCZXXP.js} +1 -1
  104. package/dist/{chunk-2AWB4K4A.js → chunk-SIQ7LYFS.js} +1 -1
  105. package/dist/{chunk-ALZXBODU.js → chunk-T4BALJMO.js} +1 -1
  106. package/dist/{chunk-WVLSOEYA.js → chunk-TCHPGXK6.js} +1 -1
  107. package/dist/{chunk-RD3YZ5WF.js → chunk-TF3C74E5.js} +1 -1
  108. package/dist/{chunk-QS3WSAVX.js → chunk-TFK6KPDM.js} +1 -1
  109. package/dist/{chunk-4JSAQSZE.js → chunk-TOYUDS7V.js} +4 -4
  110. package/dist/{chunk-OUU5CIEI.js → chunk-UHGOSBBI.js} +5 -5
  111. package/dist/{chunk-HKJWW7WL.js → chunk-UKZ7ZTTD.js} +2 -2
  112. package/dist/{chunk-DETRDBJX.js → chunk-UYNLBSOA.js} +1 -1
  113. package/dist/{chunk-Y47A4Q7C.js → chunk-V7I4N2V4.js} +5 -5
  114. package/dist/{chunk-DQZ2F6IM.js → chunk-VCM7JOQ2.js} +3 -3
  115. package/dist/{chunk-DXQILFQM.js → chunk-VEMKZ52Y.js} +3 -3
  116. package/dist/{chunk-OH3WCC6V.js → chunk-VQMFU5A7.js} +6 -6
  117. package/dist/{chunk-I5GJUVQ6.js → chunk-VTET2PRH.js} +5 -5
  118. package/dist/{chunk-YDNF7DV6.js → chunk-VUNVF5V2.js} +4 -4
  119. package/dist/{chunk-OBAKXDJS.js → chunk-WIBYA63F.js} +1 -1
  120. package/dist/{chunk-UP2VA5AL.js → chunk-WTYOMVJU.js} +7 -7
  121. package/dist/{chunk-OADHMKWF.js → chunk-X57G34GZ.js} +1 -1
  122. package/dist/{chunk-U5VG27OS.js → chunk-XUL4QAJP.js} +2 -2
  123. package/dist/{chunk-V6L55GWE.js → chunk-XZR2T6FQ.js} +3 -3
  124. package/dist/{chunk-TQEV4RLO.js → chunk-YC7LHEPG.js} +1 -1
  125. package/dist/{chunk-ER6QAIE7.js → chunk-YQWSGJUU.js} +3 -3
  126. package/dist/{chunk-FA7TVIWQ.js → chunk-YRDEOJ6W.js} +1 -1
  127. package/dist/{chunk-4FFMBODR.js → chunk-YS3HP2GX.js} +1 -1
  128. package/dist/{chunk-SNDW7T2E.js → chunk-Z647XKSU.js} +3 -3
  129. package/dist/{chunk-FTD3V72U.js → chunk-ZJLFB6SP.js} +1 -1
  130. package/dist/{chunk-IEB2VOBC.js → chunk-ZRMOOGSH.js} +3 -3
  131. package/dist/{chunk-4H453CZ5.js → chunk-ZUP6BEUA.js} +1 -1
  132. package/dist/{chunk-I2MFADIK.js → chunk-ZXNQBKME.js} +5 -5
  133. package/dist/{codex-app-cards-switch-KMOSCG74.js → codex-app-cards-switch-INFAZNZV.js} +11 -11
  134. package/dist/{codex-card-routing-OHVW6XQJ.js → codex-card-routing-SMFXRZ7J.js} +2 -2
  135. package/dist/{codex-desktop-launch-Q57ZUOM2.js → codex-desktop-launch-O7GXHDEX.js} +3 -3
  136. package/dist/{codex-session-launch-ZMRNK6HS.js → codex-session-launch-UGCEEFJQ.js} +21 -21
  137. package/dist/{config-JG5LIK45.js → config-AZXO2GK6.js} +3 -3
  138. package/dist/{global-upgrade-53MABE7B.js → global-upgrade-IM5V5Y64.js} +9 -9
  139. package/dist/{identity-6OFEFWQA.js → identity-RFN6D7NF.js} +4 -4
  140. package/dist/{live-capabilities-HZA6S7H3.js → live-capabilities-S6E5D7ZM.js} +4 -4
  141. package/dist/{paths-CXTATMJ3.js → paths-ZKULFBJJ.js} +3 -3
  142. package/dist/{reapply-JKFCVXEQ.js → reapply-A7MJH6MH.js} +34 -34
  143. package/dist/src/index.js +34 -34
  144. package/dist/{upgrade-lock-CLG7A6GE.js → upgrade-lock-HELTVB5O.js} +4 -4
  145. package/dist/{usage-4SRTR75L.js → usage-AKOK2AVC.js} +3 -3
  146. package/package.json +1 -1
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-M6TQ6ANY.js";
8
+ } from "./chunk-R5X6NITA.js";
9
9
  import {
10
10
  hermesReceiptPaths,
11
11
  hermesSetupPredatesThePluginFolder,
@@ -14,7 +14,7 @@ import {
14
14
  refreshHermesPluginFiles,
15
15
  refreshOpenClawPlugin,
16
16
  shippedHermesPlugin
17
- } from "./chunk-2JVRMEYV.js";
17
+ } from "./chunk-DWGPPIWL.js";
18
18
  import {
19
19
  fxIgnoresInstructionsFile,
20
20
  fxInstructionsBody,
@@ -23,7 +23,7 @@ import {
23
23
  macAppFxBridge,
24
24
  refreshClineKey,
25
25
  switchFxHttpEntryToBridge
26
- } from "./chunk-URRISDZ3.js";
26
+ } from "./chunk-JZ5JGUYX.js";
27
27
  import {
28
28
  OPENCODE_HOOK_BINARY,
29
29
  agentHookOwner,
@@ -36,13 +36,13 @@ import {
36
36
  openCodePluginDir,
37
37
  openCodeWired,
38
38
  withOpenCodeAskRules
39
- } from "./chunk-L36ZGE2S.js";
39
+ } from "./chunk-CIRFEZML.js";
40
40
  import {
41
41
  addCompatibleHooks,
42
42
  compatibleConfigFile,
43
43
  compatibleInstructionsFile,
44
44
  hasCompatibleHooks
45
- } from "./chunk-XMERDG73.js";
45
+ } from "./chunk-7IANCXT2.js";
46
46
  import {
47
47
  GEMINI_HOOK_BINARY,
48
48
  addGeminiHooks,
@@ -54,16 +54,16 @@ import {
54
54
  geminiWired,
55
55
  hasGeminiHooks,
56
56
  planHooks
57
- } from "./chunk-BXRZS7M4.js";
57
+ } from "./chunk-E3I3YRL2.js";
58
58
  import {
59
59
  detectClaudeVersion
60
- } from "./chunk-N43ISLDY.js";
60
+ } from "./chunk-54IXUSDI.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-QY554VOR.js";
63
+ } from "./chunk-F7WFNDKO.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-HKJWW7WL.js";
66
+ } from "./chunk-UKZ7ZTTD.js";
67
67
  import {
68
68
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
69
69
  CLAUDE_HOOK_BINARY,
@@ -113,7 +113,7 @@ import {
113
113
  replaceCodexMcpEmbeddedKey,
114
114
  supportedClaudeEvents,
115
115
  vscodePluginMcp
116
- } from "./chunk-M7YAJZ3K.js";
116
+ } from "./chunk-HQPUDCJK.js";
117
117
  import {
118
118
  formatVersion
119
119
  } from "./chunk-6ICPEJY5.js";
@@ -121,7 +121,7 @@ import {
121
121
  hookCommandsUseBareNames,
122
122
  resolveGlobalBinDir,
123
123
  resolveGlobalBinary
124
- } from "./chunk-YDNF7DV6.js";
124
+ } from "./chunk-VUNVF5V2.js";
125
125
  import {
126
126
  readJsonSafe,
127
127
  writeFileAtomic,
@@ -131,7 +131,7 @@ import {
131
131
  HOOK_COMPATIBLE_PROFILES,
132
132
  isCompatibleAgentType,
133
133
  isRecord
134
- } from "./chunk-ID25FRJE.js";
134
+ } from "./chunk-CC6AQFRL.js";
135
135
 
136
136
  // src/reapply.ts
137
137
  import { dirname, join } from "path";
@@ -8,27 +8,27 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-DUGZ3LPV.js";
11
+ } from "./chunk-3AQIVVUZ.js";
12
12
  import {
13
13
  credentialRejectedAt,
14
14
  fetchAsCredential
15
- } from "./chunk-TQEV4RLO.js";
15
+ } from "./chunk-YC7LHEPG.js";
16
16
  import {
17
17
  installNetworkDefaults,
18
18
  isNetworkFailure
19
- } from "./chunk-F2O2PGEY.js";
19
+ } from "./chunk-DT2EAF2J.js";
20
20
  import {
21
21
  keyPrefix
22
- } from "./chunk-HKJWW7WL.js";
22
+ } from "./chunk-UKZ7ZTTD.js";
23
23
  import {
24
24
  MacAppRefusedError,
25
25
  MacAppUnreachableError,
26
26
  clientReportClaims
27
- } from "./chunk-M7YAJZ3K.js";
27
+ } from "./chunk-HQPUDCJK.js";
28
28
  import {
29
29
  getApiKey,
30
30
  getBaseUrl
31
- } from "./chunk-C6FXHNEM.js";
31
+ } from "./chunk-7HTENZG7.js";
32
32
  import {
33
33
  getPackageVersion
34
34
  } from "./chunk-CXQWDQCJ.js";
@@ -58,7 +58,7 @@ import {
58
58
  responseRejectsCredential,
59
59
  truncateLine,
60
60
  waitEndAnswered
61
- } from "./chunk-ID25FRJE.js";
61
+ } from "./chunk-CC6AQFRL.js";
62
62
 
63
63
  // src/api.ts
64
64
  import { randomUUID } from "crypto";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-U4P4NDVB.js";
17
17
  import {
18
18
  withoutNpmInstallConsent
19
- } from "./chunk-YDNF7DV6.js";
19
+ } from "./chunk-VUNVF5V2.js";
20
20
 
21
21
  // src/codex-desktop-launch.ts
22
22
  import { spawn as spawn2, execFileSync as execFileSync2 } from "child_process";
@@ -539,8 +539,8 @@ var loadedOnce = (load) => {
539
539
  };
540
540
 
541
541
  // src/codex-desktop-proxy.ts
542
- var loadThePhone = () => import("./api-K3IWGWFN.js");
543
- var loadTheCardRouting = () => import("./codex-card-routing-OHVW6XQJ.js");
542
+ var loadThePhone = () => import("./api-XUO467EJ.js");
543
+ var loadTheCardRouting = () => import("./codex-card-routing-SMFXRZ7J.js");
544
544
  var theFirstCardLoadsAgain = () => {
545
545
  };
546
546
  var ASKS_WITHOUT_ROUTING = {};
@@ -1101,7 +1101,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1101
1101
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1102
1102
  }
1103
1103
  if (args[0] === APP_CARDS_FLAG) {
1104
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-KMOSCG74.js");
1104
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-INFAZNZV.js");
1105
1105
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1106
1106
  }
1107
1107
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -3,7 +3,7 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-TGD6W3KC.js";
6
+ } from "./chunk-J54Q7G5U.js";
7
7
  import {
8
8
  describeAutoUpdateCheck,
9
9
  globalInstallLocation,
@@ -15,15 +15,15 @@ import {
15
15
  readAutoUpdateState,
16
16
  updateAutoUpdateState,
17
17
  upgradeEntryFor
18
- } from "./chunk-U5VG27OS.js";
18
+ } from "./chunk-XUL4QAJP.js";
19
19
  import {
20
20
  phoneStartIsRequired
21
- } from "./chunk-IEB2VOBC.js";
21
+ } from "./chunk-ZRMOOGSH.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-M7YAJZ3K.js";
26
+ } from "./chunk-HQPUDCJK.js";
27
27
  import {
28
28
  describeReleaseNpmHolds,
29
29
  execNpm,
@@ -33,10 +33,10 @@ import {
33
33
  npmExitedOnReleaseAge,
34
34
  readGlobalCliInstallAt,
35
35
  readGlobalPrefix
36
- } from "./chunk-YDNF7DV6.js";
36
+ } from "./chunk-VUNVF5V2.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-KWWB7BOI.js";
39
+ } from "./chunk-RIVBIAV5.js";
40
40
  import {
41
41
  EXIT
42
42
  } from "./chunk-BG4HHB7E.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-XMERDG73.js";
4
+ } from "./chunk-7IANCXT2.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-BXRZS7M4.js";
7
+ } from "./chunk-E3I3YRL2.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-M7YAJZ3K.js";
11
+ } from "./chunk-HQPUDCJK.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-ID25FRJE.js";
14
+ } from "./chunk-CC6AQFRL.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  questionWindowOf
3
- } from "./chunk-TA7OZXEK.js";
3
+ } from "./chunk-PYZICBUS.js";
4
4
  import {
5
5
  UNNAMED_ACTION
6
- } from "./chunk-OADHMKWF.js";
6
+ } from "./chunk-X57G34GZ.js";
7
7
  import {
8
8
  ASK_USER_TIMEOUT_MS,
9
9
  WAIT_END_TIMEOUT_MS,
@@ -11,10 +11,10 @@ import {
11
11
  askUser,
12
12
  unavailableQuestionUnlessRefused,
13
13
  waitForQuestion
14
- } from "./chunk-3DCG55AG.js";
14
+ } from "./chunk-7T2VDZA4.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-FA7TVIWQ.js";
17
+ } from "./chunk-YRDEOJ6W.js";
18
18
  import {
19
19
  hookMaxWaitSeconds,
20
20
  hookWaitClamped,
@@ -24,7 +24,7 @@ import {
24
24
  refusesWhenUnanswered,
25
25
  ruleApprovesAfterItsFullWindow,
26
26
  scopeBreachReasonOf
27
- } from "./chunk-ID25FRJE.js";
27
+ } from "./chunk-CC6AQFRL.js";
28
28
 
29
29
  // src/pushed-question.ts
30
30
  var scopeQuestionOf = (verdict) => {
@@ -310,11 +310,12 @@ var CLAUDE_DIRECTORY_URL = "https://claude.ai/directory/pushary";
310
310
  var CLAUDE_CONNECTOR_URL = "https://pushary.com/api/mcp/mcp";
311
311
  var CLAUDE_CONNECTOR_GUIDE = "https://pushary.com/docs/agents/guides/claude-desktop";
312
312
  var COWORK_CONNECTOR_LIMIT = "Pushary\u2019s Cowork connector is cooperative: Claude chooses when to ask. It does not intercept Claude\u2019s native permission prompts or start new Cowork tasks.";
313
- var CLAUDE_TOOL_PERMISSIONS_PATH = "Customize > Connectors > Pushary > Tool permissions";
313
+ var CLAUDE_TOOL_PERMISSIONS_SEGMENTS = ["Plugins", "Pushary", "Permissions"];
314
+ var CLAUDE_TOOL_PERMISSIONS_PATH = CLAUDE_TOOL_PERMISSIONS_SEGMENTS.join(" > ");
314
315
  var CLAUDE_TOOL_PERMISSION_GROUPS = ["Read-only tools", "Write/delete tools"];
315
316
  var CLAUDE_ALWAYS_ALLOW = "Always allow";
316
317
  var CLAUDE_TOOL_PERMISSIONS_STEP = `In Claude, open ${CLAUDE_TOOL_PERMISSIONS_PATH}. Set ${CLAUDE_TOOL_PERMISSION_GROUPS.join(" and ")} to ${CLAUDE_ALWAYS_ALLOW}.`;
317
- var CLAUDE_TOOL_PERMISSIONS_WHY = "While they say Needs approval, Claude stops in the chat before every Pushary call, so a question never reaches your phone while you are away.";
318
+ var CLAUDE_TOOL_PERMISSIONS_WHY = "Otherwise Claude stops in the chat before every question, and nothing reaches your phone.";
318
319
  var CLAUDE_CONNECTOR_STEPS = [
319
320
  `Open ${CLAUDE_DIRECTORY_URL} and choose Connect.`,
320
321
  "Sign in with the same Pushary account used by your phone and Mac app.",
@@ -4905,8 +4906,17 @@ var parseTestCallReply = (value) => {
4905
4906
  };
4906
4907
 
4907
4908
  // ../contracts/src/chatgpt-plugin.ts
4909
+ var CHATGPT_PLUGIN_URL = "https://chatgpt.com/plugins/plugin_asdk_app_6abc2ebca100819198c8619e9a697ee3";
4908
4910
  var CHATGPT_CONNECTOR_TEST = `@Pushary use ask_user to ask \u201C${CONNECTOR_SETUP_QUESTION}\u201D with type \u201Cconfirm\u201D and agentName \u201CChatGPT - Setup check\u201D. Wait for my answer and tell me which answer you received.`;
4909
4911
  var CHATGPT_CONNECTOR_STARTER = `@Pushary ${connectorStarterPrompt("Use agentName \u201CChatGPT - <task name>\u201D.")}`;
4912
+ var CHATGPT_PERMISSIONS_URL = `${CHATGPT_PLUGIN_URL.replace("/plugins/", "/settings/plugins-settings/")}/permissions`;
4913
+ var CHATGPT_TOOL_PERMISSIONS_PAGE = "Permissions";
4914
+ var CHATGPT_TOOL_PERMISSIONS_SEGMENTS = ["Settings", "Plugins", "Pushary", CHATGPT_TOOL_PERMISSIONS_PAGE];
4915
+ var CHATGPT_TOOL_PERMISSIONS_PATH = CHATGPT_TOOL_PERMISSIONS_SEGMENTS.join(" > ");
4916
+ var CHATGPT_ALLOW_ALL_TOOLS = "Allow all tools";
4917
+ var CHATGPT_ELEVATED_RISK = "Elevated risk";
4918
+ var CHATGPT_TOOL_PERMISSIONS_STEP = `In ChatGPT, open ${CHATGPT_TOOL_PERMISSIONS_PATH} and choose ${CHATGPT_ALLOW_ALL_TOOLS}.`;
4919
+ var CHATGPT_TOOL_PERMISSIONS_WHY = `With the default, ChatGPT stops in the chat before Pushary sends anything, and nothing reaches your phone until you confirm. ChatGPT marks this setting \u201C${CHATGPT_ELEVATED_RISK}\u201D. Pushary's tools only send you questions and updates.`;
4910
4920
 
4911
4921
  // ../contracts/src/grok-bot-connector.ts
4912
4922
  var GROK_BOT_CONNECTOR_TEST = `Use Pushary ask_user to ask \u201C${CONNECTOR_SETUP_QUESTION}\u201D with type \u201Cconfirm\u201D and agentName \u201CGrok Bot - Setup check\u201D. Wait for my answer and tell me which answer you received. Do not run a command or change any files.`;
@@ -6027,6 +6037,8 @@ var POSTHOG_EVENT_CATALOGUE = {
6027
6037
  agent_first_question: ["dashboard_server"],
6028
6038
  agent_hook_active: ["cli", "hermes_plugin", "dashboard_server"],
6029
6039
  agent_hook_batch: ["dashboard_server"],
6040
+ agent_inbound_call_finished: ["dashboard_server"],
6041
+ agent_inbound_call_resolved: ["dashboard_server"],
6030
6042
  agent_key_created: ["dashboard_server"],
6031
6043
  agent_key_rejected: ["dashboard_server"],
6032
6044
  agent_key_rotated: ["dashboard_server"],
@@ -6101,6 +6113,7 @@ var POSTHOG_EVENT_CATALOGUE = {
6101
6113
  checkout_resume_clicked: ["dashboard_client"],
6102
6114
  checkout_resume_offered: ["dashboard_client"],
6103
6115
  checkout_session_reused: ["dashboard_server"],
6116
+ checkout_start_failed: ["dashboard_client"],
6104
6117
  checkout_started: ["dashboard_server"],
6105
6118
  clerk_webhook_failed: ["dashboard_server"],
6106
6119
  client_error: ["dashboard_server", "cli", "phone", "mac"],
@@ -3,7 +3,7 @@ import {
3
3
  openCodePluginArgv,
4
4
  openCodePluginModule,
5
5
  renderOpenCodePlugin
6
- } from "./chunk-EI7J4ILX.js";
6
+ } from "./chunk-EAOKHDYP.js";
7
7
  import {
8
8
  OPENCODE_FAILED_EVENT,
9
9
  OPENCODE_IDLE_EVENT,
@@ -12,17 +12,17 @@ import {
12
12
  OPENCODE_PLUGIN_SIBLING,
13
13
  OPENCODE_PLUGIN_SIBLING_CONTENTS,
14
14
  OPENCODE_SUBAGENT_IDLE_EVENT
15
- } from "./chunk-YEH4U2A3.js";
15
+ } from "./chunk-LTCYQJTZ.js";
16
16
  import {
17
17
  compatibleConfigFile
18
- } from "./chunk-XMERDG73.js";
18
+ } from "./chunk-7IANCXT2.js";
19
19
  import {
20
20
  hookOwnerOf,
21
21
  hookOwnerOfCommands
22
- } from "./chunk-BXRZS7M4.js";
22
+ } from "./chunk-E3I3YRL2.js";
23
23
  import {
24
24
  AGENT_CHOICES
25
- } from "./chunk-GIYPVDTV.js";
25
+ } from "./chunk-3RMIVLDA.js";
26
26
  import {
27
27
  OPENCODE_INSTRUCTIONS_LABEL,
28
28
  bridgeStub,
@@ -36,7 +36,7 @@ import {
36
36
  resolveBridgeStub,
37
37
  vscodePluginDir,
38
38
  windowsNodeLauncherFor
39
- } from "./chunk-M7YAJZ3K.js";
39
+ } from "./chunk-HQPUDCJK.js";
40
40
  import {
41
41
  readJsonSafe
42
42
  } from "./chunk-PM2NRK6Y.js";
@@ -46,7 +46,7 @@ import {
46
46
  OPENCODE_APPROVAL_EVENT,
47
47
  hookCompatibleProfile,
48
48
  isRecord
49
- } from "./chunk-ID25FRJE.js";
49
+ } from "./chunk-CC6AQFRL.js";
50
50
 
51
51
  // src/opencode-config.ts
52
52
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-M7YAJZ3K.js";
3
+ } from "./chunk-HQPUDCJK.js";
4
4
  import {
5
5
  readRegularJsonFile,
6
6
  writeFileAtomic
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-ID25FRJE.js";
16
+ } from "./chunk-CC6AQFRL.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-F2O2PGEY.js";
3
+ } from "./chunk-DT2EAF2J.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-C6FXHNEM.js";
6
+ } from "./chunk-7HTENZG7.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-ID25FRJE.js";
16
+ } from "./chunk-CC6AQFRL.js";
17
17
 
18
18
  // src/session.ts
19
19
  var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
@@ -5,23 +5,23 @@ import {
5
5
  readDaemonNeedsLogin,
6
6
  readDaemonStatus,
7
7
  readDaemonTurnedOffByUser
8
- } from "./chunk-OH3WCC6V.js";
8
+ } from "./chunk-VQMFU5A7.js";
9
9
  import {
10
10
  detectProviderLiveCapabilities,
11
11
  expectedLaunchCapabilities,
12
12
  hasSpawnProvider,
13
13
  resolveControlPolicy
14
- } from "./chunk-IEB2VOBC.js";
14
+ } from "./chunk-ZRMOOGSH.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-FA7TVIWQ.js";
17
+ } from "./chunk-YRDEOJ6W.js";
18
18
  import {
19
19
  readControlMode,
20
20
  readKeyInForce
21
- } from "./chunk-HKJWW7WL.js";
21
+ } from "./chunk-UKZ7ZTTD.js";
22
22
  import {
23
23
  getBaseUrl
24
- } from "./chunk-C6FXHNEM.js";
24
+ } from "./chunk-7HTENZG7.js";
25
25
  import {
26
26
  getPackageVersion
27
27
  } from "./chunk-CXQWDQCJ.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  UNSET_IGNORED_SHELL_VALUE_STEP
3
- } from "./chunk-TZNADUR3.js";
3
+ } from "./chunk-5UYFB6ZF.js";
4
4
  import {
5
5
  notificationAnswerStep
6
- } from "./chunk-ME6HGEE5.js";
6
+ } from "./chunk-NPI65OAW.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-ER6QAIE7.js";
10
+ } from "./chunk-YQWSGJUU.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND,
13
13
  npmExecSetupCommandFor
14
- } from "./chunk-KWWB7BOI.js";
14
+ } from "./chunk-RIVBIAV5.js";
15
15
  import {
16
16
  EXIT
17
17
  } from "./chunk-BG4HHB7E.js";
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  compatibleProfileFor,
23
23
  isCompatibleAgentType
24
- } from "./chunk-ID25FRJE.js";
24
+ } from "./chunk-CC6AQFRL.js";
25
25
 
26
26
  // src/setup/closing.ts
27
27
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -10,7 +10,7 @@ import {
10
10
  uploadTranscriptRecords,
11
11
  verifyAnchoredRecipients,
12
12
  wrapSessionKey
13
- } from "./chunk-SNDW7T2E.js";
13
+ } from "./chunk-Z647XKSU.js";
14
14
 
15
15
  // src/live-session.ts
16
16
  var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-FA7TVIWQ.js";
3
+ } from "./chunk-YRDEOJ6W.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-C6FXHNEM.js";
6
+ } from "./chunk-7HTENZG7.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  clientContextHeaders,
15
15
  redactSecretsFromContent
16
- } from "./chunk-ID25FRJE.js";
16
+ } from "./chunk-CC6AQFRL.js";
17
17
 
18
18
  // src/cli/net.ts
19
19
  import { createRequire } from "module";
@@ -16,7 +16,7 @@ import {
16
16
  uninstallOpenClawPlugin,
17
17
  unsetOpenClawEntry,
18
18
  writeOpenClawEntry
19
- } from "./chunk-V6L55GWE.js";
19
+ } from "./chunk-XZR2T6FQ.js";
20
20
  import {
21
21
  needsShell
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -28,14 +28,14 @@ import {
28
28
  openClawDirectoriesToLookIn,
29
29
  openClawPluginFolder,
30
30
  openClawSetupReceiptDirectory
31
- } from "./chunk-M7YAJZ3K.js";
31
+ } from "./chunk-HQPUDCJK.js";
32
32
  import {
33
33
  atLeast,
34
34
  parseVersion
35
35
  } from "./chunk-6ICPEJY5.js";
36
36
  import {
37
37
  resolvePathBinary
38
- } from "./chunk-YDNF7DV6.js";
38
+ } from "./chunk-VUNVF5V2.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeJsonAtomic
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-CXQWDQCJ.js";
47
47
  import {
48
48
  isRecord
49
- } from "./chunk-ID25FRJE.js";
49
+ } from "./chunk-CC6AQFRL.js";
50
50
 
51
51
  // src/hermes/plugin-payload.ts
52
52
  import { createHash } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-GIYPVDTV.js";
3
+ } from "./chunk-3RMIVLDA.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-4H453CZ5.js";
6
+ } from "./chunk-ZUP6BEUA.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,13 +16,13 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-M7YAJZ3K.js";
19
+ } from "./chunk-HQPUDCJK.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-ID25FRJE.js";
25
+ } from "./chunk-CC6AQFRL.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -231,6 +231,7 @@ var PLAN_CONFIGS = {
231
231
  }
232
232
  }
233
233
  };
234
+ var EMBED_DECISION_PLANS = [...PARTNER_PLAN_TYPES, "enterprise"];
234
235
 
235
236
  export {
236
237
  PLAN_TYPES,
@@ -6,7 +6,7 @@ import {
6
6
  OPENCODE_PLUGIN_PLACEHOLDER,
7
7
  OPENCODE_PLUGIN_SIBLING,
8
8
  OPENCODE_PLUGIN_SIBLING_CONTENTS
9
- } from "./chunk-YEH4U2A3.js";
9
+ } from "./chunk-LTCYQJTZ.js";
10
10
 
11
11
  // src/opencode-runtime-bundle.ts
12
12
  var openCodeRuntimeSource = `import { spawn } from 'child_process';
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-DXQILFQM.js";
4
+ } from "./chunk-VEMKZ52Y.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-SV4HTD2B.js";
7
+ } from "./chunk-4IQ77DKT.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-XMERDG73.js";
10
+ } from "./chunk-7IANCXT2.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-3DCG55AG.js";
13
+ } from "./chunk-7T2VDZA4.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-ID25FRJE.js";
19
+ } from "./chunk-CC6AQFRL.js";
20
20
 
21
21
  // src/tool-hook-input.ts
22
22
  var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  testTrafficHeaders
12
- } from "./chunk-3DCG55AG.js";
12
+ } from "./chunk-7T2VDZA4.js";
13
13
  import {
14
14
  getBaseUrl
15
- } from "./chunk-C6FXHNEM.js";
15
+ } from "./chunk-7HTENZG7.js";
16
16
  import {
17
17
  CLI_LOCAL_BIND_PATH,
18
18
  LOCAL_CONFIRM_HOST,
@@ -23,7 +23,7 @@ import {
23
23
  isLocalConfirmToken,
24
24
  isPhonePass,
25
25
  localTerminalEntryUrl
26
- } from "./chunk-ID25FRJE.js";
26
+ } from "./chunk-CC6AQFRL.js";
27
27
 
28
28
  // src/cli/login-ui.ts
29
29
  import { hostname } from "os";