pushary 1.9.143 → 1.9.145

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 (137) hide show
  1. package/CHANGELOG.md +13 -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-2YC2KSIM.js → api-KWJQMO6G.js} +11 -11
  6. package/dist/bin/pushary-audit.js +3 -3
  7. package/dist/bin/pushary-bell-hook.js +28 -28
  8. package/dist/bin/pushary-bell.js +10 -10
  9. package/dist/bin/pushary-claude.js +27 -27
  10. package/dist/bin/pushary-clean.js +35 -35
  11. package/dist/bin/pushary-codex-bridge.js +23 -23
  12. package/dist/bin/pushary-codex-hook.js +35 -35
  13. package/dist/bin/pushary-codex-session.js +8 -8
  14. package/dist/bin/pushary-codex.js +16 -16
  15. package/dist/bin/pushary-connect.js +29 -29
  16. package/dist/bin/pushary-cowork.js +5 -5
  17. package/dist/bin/pushary-daemon.js +43 -43
  18. package/dist/bin/pushary-disconnect.js +28 -28
  19. package/dist/bin/pushary-display-hook.js +7 -0
  20. package/dist/bin/pushary-doctor.js +58 -43
  21. package/dist/bin/pushary-elicitation-hook.js +28 -28
  22. package/dist/bin/pushary-gemini-bridge.js +17 -17
  23. package/dist/bin/pushary-gemini-hook.js +32 -32
  24. package/dist/bin/pushary-hook.js +35 -35
  25. package/dist/bin/pushary-login.js +21 -21
  26. package/dist/bin/pushary-logout.js +27 -27
  27. package/dist/bin/pushary-mcp.js +12 -12
  28. package/dist/bin/pushary-mode.js +15 -15
  29. package/dist/bin/pushary-notification-hook.js +27 -27
  30. package/dist/bin/pushary-opencode-hook.js +31 -31
  31. package/dist/bin/pushary-permission-denied-hook.js +35 -35
  32. package/dist/bin/pushary-permission-hook.js +35 -35
  33. package/dist/bin/pushary-post-hook.js +28 -28
  34. package/dist/bin/pushary-prompt-hook.js +27 -27
  35. package/dist/bin/pushary-session-end-hook.js +27 -27
  36. package/dist/bin/pushary-session-start-hook.js +36 -36
  37. package/dist/bin/pushary-setup.js +122 -54
  38. package/dist/bin/pushary-stats.js +5 -5
  39. package/dist/bin/pushary-status.js +33 -33
  40. package/dist/bin/pushary-stop-hook.js +27 -27
  41. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  42. package/dist/bin/pushary-suggestions.js +15 -15
  43. package/dist/bin/pushary-transcript-register.js +17 -17
  44. package/dist/bin/pushary-transcripts.js +25 -25
  45. package/dist/bin/pushary-upgrade.js +41 -41
  46. package/dist/bin/pushary-wait.js +15 -15
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-XWYCFODT.js → chunk-2ELNRGNX.js} +3 -3
  49. package/dist/{chunk-PYSDCPZ3.js → chunk-2LGDEPVL.js} +6 -6
  50. package/dist/{chunk-5TZYAMGW.js → chunk-33BYPZ52.js} +1 -1
  51. package/dist/{chunk-LUVSHGLH.js → chunk-4KDRT3OA.js} +1 -1
  52. package/dist/{chunk-B4VIT5N3.js → chunk-4L5WPDTB.js} +1 -1
  53. package/dist/{chunk-EGUT2MWV.js → chunk-52UXNCZG.js} +3 -3
  54. package/dist/{chunk-NZHRH4RR.js → chunk-5TWW7ZUL.js} +5 -5
  55. package/dist/{chunk-DU4KCXC2.js → chunk-63WX5KZN.js} +3 -3
  56. package/dist/{chunk-DOXH5BV4.js → chunk-6IWOMXUF.js} +4 -4
  57. package/dist/{chunk-R7FSMUHG.js → chunk-6LZ7MXHD.js} +2 -1
  58. package/dist/{chunk-EMODTMHE.js → chunk-6UK4K5RS.js} +1 -1
  59. package/dist/{chunk-IG7NGXBS.js → chunk-72LP4RPC.js} +3 -2
  60. package/dist/{chunk-MMS7R3VO.js → chunk-7LTP2GHO.js} +2 -2
  61. package/dist/{chunk-QESEICW4.js → chunk-A2H256WR.js} +1 -1
  62. package/dist/{chunk-4YH326C5.js → chunk-B4JQIH5M.js} +6 -6
  63. package/dist/{chunk-4EBJ4PTZ.js → chunk-BWREST4F.js} +1 -1
  64. package/dist/{chunk-ZVJIJPQY.js → chunk-BYKRAYGD.js} +1 -1
  65. package/dist/{chunk-3VOUWGFF.js → chunk-CUR2DCZN.js} +4 -4
  66. package/dist/chunk-D3UFDCTQ.js +87 -0
  67. package/dist/{chunk-UIZE4YMU.js → chunk-DZIZ3XFL.js} +2 -2
  68. package/dist/{chunk-QQHUUPPW.js → chunk-EPWOARGR.js} +2 -2
  69. package/dist/{chunk-LWQLM3AO.js → chunk-FCSPMSDC.js} +4 -4
  70. package/dist/{chunk-X2MC2CF3.js → chunk-FNAH3YJC.js} +16 -16
  71. package/dist/{chunk-ZKKZEVNI.js → chunk-G3VSMI7K.js} +2 -2
  72. package/dist/{chunk-SYZF5SDG.js → chunk-GK5X2ZTN.js} +5 -5
  73. package/dist/{chunk-UJETZZG5.js → chunk-GURIOZE7.js} +8 -8
  74. package/dist/{chunk-7VMVMC4H.js → chunk-HOQH5CLZ.js} +1 -1
  75. package/dist/{chunk-LS6BU5RM.js → chunk-IDLOJIIS.js} +1 -1
  76. package/dist/{chunk-P5QXH5QI.js → chunk-IIN26HL7.js} +1 -1
  77. package/dist/{chunk-22CXL7YI.js → chunk-IRPIMQ7U.js} +3 -3
  78. package/dist/{chunk-4JTZZXB3.js → chunk-JKWUF776.js} +3 -3
  79. package/dist/{chunk-7QWH257P.js → chunk-JZT2LPRM.js} +1 -1
  80. package/dist/{chunk-QGJK3NAR.js → chunk-K2SKUBYY.js} +12 -12
  81. package/dist/{chunk-K7MVCPH5.js → chunk-KFALRZIN.js} +4 -4
  82. package/dist/{chunk-44Z6MQZ2.js → chunk-KGFB2LEB.js} +3 -3
  83. package/dist/{chunk-NOTW7GOC.js → chunk-KKPT7ROP.js} +2 -2
  84. package/dist/{chunk-4Z7YVVKQ.js → chunk-KS3PNTRT.js} +1 -1
  85. package/dist/{chunk-6JLANX5L.js → chunk-L4OGTRVW.js} +4 -4
  86. package/dist/{chunk-QLGLUUOP.js → chunk-LD4R2P6N.js} +1 -1
  87. package/dist/{chunk-4OX4SJGA.js → chunk-LJRPWUST.js} +3 -3
  88. package/dist/{chunk-DDJHPMBJ.js → chunk-LMU6NG2G.js} +1 -1
  89. package/dist/{chunk-C5LIS3XM.js → chunk-LQXUWXQP.js} +7 -0
  90. package/dist/{chunk-MOYEHNFP.js → chunk-MKHVLDMN.js} +2 -2
  91. package/dist/{chunk-G3G7DWR3.js → chunk-MNU5N3CQ.js} +11 -11
  92. package/dist/{chunk-BHKODM4L.js → chunk-MOC2DN42.js} +2 -2
  93. package/dist/{chunk-FS47XZCE.js → chunk-NTMKJRQ3.js} +2 -2
  94. package/dist/{chunk-WSKBXADV.js → chunk-OONMKLUF.js} +4 -4
  95. package/dist/{chunk-NQF652IG.js → chunk-PXZTCR4M.js} +2 -2
  96. package/dist/{chunk-V7CS72Q5.js → chunk-PY6CM4NK.js} +6 -6
  97. package/dist/{chunk-G7G2ZPT4.js → chunk-Q6P7G4NY.js} +4 -4
  98. package/dist/{chunk-KRSZFHNS.js → chunk-QKTF7WS6.js} +67 -4
  99. package/dist/{chunk-5RSM5DRT.js → chunk-R34RWVN2.js} +6 -5
  100. package/dist/{chunk-FYB6HBHQ.js → chunk-RO6EVL5C.js} +2 -2
  101. package/dist/{chunk-SMF4TBPU.js → chunk-RWLNTZK5.js} +5 -5
  102. package/dist/{chunk-LTPKSJWY.js → chunk-S3A4PCRR.js} +10 -10
  103. package/dist/{chunk-YCU7Y77H.js → chunk-S7HGPKCL.js} +1 -1
  104. package/dist/{chunk-MH5BRZOQ.js → chunk-SQL5YXUH.js} +1 -1
  105. package/dist/{chunk-MLOYBLO4.js → chunk-TJXJGMSP.js} +4 -4
  106. package/dist/{chunk-MQF6MQMR.js → chunk-TRV3ETGY.js} +5 -5
  107. package/dist/{chunk-42DRRA6N.js → chunk-USFZJAB4.js} +1 -1
  108. package/dist/{chunk-QFZNPZRO.js → chunk-VTJ4WZOC.js} +3 -3
  109. package/dist/{chunk-ZF4CPOO7.js → chunk-WH4ODOCE.js} +6 -6
  110. package/dist/{chunk-3WZMIDGX.js → chunk-WMBWKPKJ.js} +5 -5
  111. package/dist/{chunk-HIIXYZYV.js → chunk-WOSO4YFQ.js} +3 -3
  112. package/dist/{chunk-V53QYJNY.js → chunk-WPBWJMBZ.js} +5 -5
  113. package/dist/{chunk-USNGPJXF.js → chunk-WUT3PO33.js} +8 -8
  114. package/dist/{chunk-R27HXRSK.js → chunk-Y7INHH5G.js} +3 -3
  115. package/dist/{chunk-ZDOTNMGL.js → chunk-YNCVSKUW.js} +10 -8
  116. package/dist/{chunk-DZLLKJJT.js → chunk-YRJZF5RG.js} +3 -3
  117. package/dist/{chunk-CNURORKI.js → chunk-YU5XE6VC.js} +6 -6
  118. package/dist/{chunk-TKFNIDZK.js → chunk-YZA3YBHX.js} +2 -2
  119. package/dist/{chunk-53KLGXFL.js → chunk-ZBMVOMFG.js} +4 -3
  120. package/dist/{chunk-H33CFJOF.js → chunk-ZJZNT2G5.js} +4 -4
  121. package/dist/{chunk-HLWS6ADK.js → chunk-ZORBUQFG.js} +2 -2
  122. package/dist/{chunk-KP6FVUCC.js → chunk-ZSOCJHL7.js} +188 -13
  123. package/dist/{codex-app-cards-switch-EGUHSLTG.js → codex-app-cards-switch-F7WQ7Y3I.js} +11 -11
  124. package/dist/{codex-card-routing-I6YOJBTT.js → codex-card-routing-EVL5L36G.js} +2 -2
  125. package/dist/{codex-desktop-launch-6UN5CWCX.js → codex-desktop-launch-PL6Z2ELZ.js} +1 -1
  126. package/dist/{codex-session-launch-7R3HNIDJ.js → codex-session-launch-7NQEAUDU.js} +20 -20
  127. package/dist/{config-2CHOLFNB.js → config-KFFD4VWH.js} +3 -3
  128. package/dist/{global-upgrade-CCVIYELF.js → global-upgrade-L3CY6EFF.js} +9 -9
  129. package/dist/{identity-7QA3EDOM.js → identity-DPYYIMHL.js} +4 -4
  130. package/dist/{live-capabilities-SDMX6CPZ.js → live-capabilities-QJEXK6GH.js} +4 -4
  131. package/dist/{paths-ZC6XY73Q.js → paths-PEF6C64P.js} +3 -3
  132. package/dist/{reapply-W6AIK5PH.js → reapply-7APCQRRK.js} +29 -29
  133. package/dist/src/index.js +34 -34
  134. package/dist/{upgrade-lock-BRVUBSLD.js → upgrade-lock-A7OKXMRW.js} +4 -4
  135. package/dist/{usage-GWUTCS5A.js → usage-HSS33762.js} +3 -3
  136. package/package.json +1 -1
  137. package/dist/chunk-I6HXZIER.js +0 -31
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-R27HXRSK.js";
6
+ } from "./chunk-Y7INHH5G.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-WH4ODOCE.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-4Z7YVVKQ.js";
16
+ } from "./chunk-KS3PNTRT.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeySource
20
- } from "./chunk-HIIXYZYV.js";
20
+ } from "./chunk-WOSO4YFQ.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-4EBJ4PTZ.js";
23
+ } from "./chunk-BWREST4F.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-WIIMW5YO.js";
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk-G66WIAST.js";
9
9
  import {
10
10
  ensureDaemonRunning
11
- } from "./chunk-ZF4CPOO7.js";
11
+ } from "./chunk-WH4ODOCE.js";
12
12
  import {
13
13
  hookOwnerOf
14
- } from "./chunk-3VOUWGFF.js";
14
+ } from "./chunk-CUR2DCZN.js";
15
15
  import {
16
16
  hookMeaning
17
- } from "./chunk-7QWH257P.js";
17
+ } from "./chunk-JZT2LPRM.js";
18
18
  import {
19
19
  buildTranscriptRecords,
20
20
  decodePublicKey,
@@ -25,29 +25,29 @@ import {
25
25
  recordSealerFor,
26
26
  uploadTranscriptRecords,
27
27
  wrapSessionKey
28
- } from "./chunk-22CXL7YI.js";
28
+ } from "./chunk-IRPIMQ7U.js";
29
29
  import {
30
30
  external_exports
31
31
  } from "./chunk-XMSDA5WA.js";
32
32
  import {
33
33
  transcriptEnvironmentPreference,
34
34
  transcriptsEnabled
35
- } from "./chunk-7VMVMC4H.js";
35
+ } from "./chunk-HOQH5CLZ.js";
36
36
  import {
37
37
  fetchAsCredential
38
- } from "./chunk-YCU7Y77H.js";
38
+ } from "./chunk-S7HGPKCL.js";
39
39
  import {
40
40
  readTranscriptPreference
41
- } from "./chunk-HIIXYZYV.js";
41
+ } from "./chunk-WOSO4YFQ.js";
42
42
  import {
43
43
  claudeConfigDir,
44
44
  codexHome,
45
45
  pusharyDir
46
- } from "./chunk-IG7NGXBS.js";
46
+ } from "./chunk-72LP4RPC.js";
47
47
  import {
48
48
  getApiKey,
49
49
  getBaseUrl
50
- } from "./chunk-4EBJ4PTZ.js";
50
+ } from "./chunk-BWREST4F.js";
51
51
  import {
52
52
  writeJsonAtomic,
53
53
  writeJsonAtomicDurable
@@ -59,7 +59,7 @@ import {
59
59
  isHookSource,
60
60
  isRecord,
61
61
  redactSecretsFromContent
62
- } from "./chunk-C5LIS3XM.js";
62
+ } from "./chunk-LQXUWXQP.js";
63
63
 
64
64
  // src/transcript-recipient-pin.ts
65
65
  import { createHash } from "crypto";
@@ -5,7 +5,7 @@ import {
5
5
  MCP_CREDENTIAL_REJECTION_BODY,
6
6
  isRecord,
7
7
  responseRejectsCredential
8
- } from "./chunk-C5LIS3XM.js";
8
+ } from "./chunk-LQXUWXQP.js";
9
9
 
10
10
  // src/credential-rejection.ts
11
11
  import { createHash, randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-IG7NGXBS.js";
3
+ } from "./chunk-72LP4RPC.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-V7CS72Q5.js";
3
+ } from "./chunk-PY6CM4NK.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-TKFNIDZK.js";
6
+ } from "./chunk-YZA3YBHX.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-XWYCFODT.js";
10
+ } from "./chunk-2ELNRGNX.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-BG4HHB7E.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-R7FSMUHG.js";
16
+ } from "./chunk-6LZ7MXHD.js";
17
17
 
18
18
  // src/setup/closing.ts
19
19
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-42DRRA6N.js";
4
+ } from "./chunk-USFZJAB4.js";
5
5
  import {
6
6
  askUser,
7
7
  isDecisionStopped,
8
8
  isQuestionLimitRefusal,
9
9
  waitForQuestion
10
- } from "./chunk-CNURORKI.js";
10
+ } from "./chunk-YU5XE6VC.js";
11
11
  import {
12
12
  SubscriptionRequiredError
13
- } from "./chunk-V53QYJNY.js";
13
+ } from "./chunk-WPBWJMBZ.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-4Z7YVVKQ.js";
16
+ } from "./chunk-KS3PNTRT.js";
17
17
  import {
18
18
  ASK_CONTEXT_MAX,
19
19
  agentQuestionContext,
@@ -23,7 +23,7 @@ import {
23
23
  plainAskOf,
24
24
  questionsShownAsASet,
25
25
  shouldDeferToNativeMode
26
- } from "./chunk-C5LIS3XM.js";
26
+ } from "./chunk-LQXUWXQP.js";
27
27
 
28
28
  // src/native-defer.ts
29
29
  var nativeDeferOptions = () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-QGJK3NAR.js";
3
+ } from "./chunk-K2SKUBYY.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -407,9 +407,9 @@ var installGlobally = (options) => {
407
407
  }
408
408
  const started = (async () => {
409
409
  if (!npmIsOnPath()) throw new NpmMissingError();
410
- const { withUpgradeLock } = await import("./global-upgrade-CCVIYELF.js");
411
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-BRVUBSLD.js");
412
- const { autoUpdateLock } = await import("./paths-ZC6XY73Q.js");
410
+ const { withUpgradeLock } = await import("./global-upgrade-L3CY6EFF.js");
411
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-A7OKXMRW.js");
412
+ const { autoUpdateLock } = await import("./paths-PEF6C64P.js");
413
413
  let result = "skipped";
414
414
  const install = async () => {
415
415
  const platform = process.platform;
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-H6CL3T2S.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-4Z7YVVKQ.js";
7
+ } from "./chunk-KS3PNTRT.js";
8
8
  import {
9
9
  readControlMode
10
- } from "./chunk-HIIXYZYV.js";
10
+ } from "./chunk-WOSO4YFQ.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-IG7NGXBS.js";
13
+ } from "./chunk-72LP4RPC.js";
14
14
  import {
15
15
  resolveGlobalBinary
16
- } from "./chunk-QFZNPZRO.js";
16
+ } from "./chunk-VTJ4WZOC.js";
17
17
  import {
18
18
  getApiKey
19
- } from "./chunk-4EBJ4PTZ.js";
19
+ } from "./chunk-BWREST4F.js";
20
20
  import {
21
21
  readJsonSafe,
22
22
  writeFileAtomic,
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-WIIMW5YO.js";
33
33
  import {
34
34
  isRecord
35
- } from "./chunk-C5LIS3XM.js";
35
+ } from "./chunk-LQXUWXQP.js";
36
36
 
37
37
  // src/daemon-entry-guard.ts
38
38
  import { mkdirSync, readFileSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  readMacAppAgentKey
3
- } from "./chunk-K7MVCPH5.js";
3
+ } from "./chunk-KFALRZIN.js";
4
4
  import {
5
5
  API_KEYS_PATH
6
- } from "./chunk-TKFNIDZK.js";
6
+ } from "./chunk-YZA3YBHX.js";
7
7
  import {
8
8
  absoluteUrl
9
- } from "./chunk-DZLLKJJT.js";
9
+ } from "./chunk-YRJZF5RG.js";
10
10
  import {
11
11
  findExportedKeyLines,
12
12
  isAdoptedMacAppKey,
@@ -16,10 +16,10 @@ import {
16
16
  readConfigFileKey,
17
17
  readKeySource,
18
18
  readMacAppKeyPrefix
19
- } from "./chunk-HIIXYZYV.js";
19
+ } from "./chunk-WOSO4YFQ.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-C5LIS3XM.js";
22
+ } from "./chunk-LQXUWXQP.js";
23
23
 
24
24
  // src/key-revocation.ts
25
25
  var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-BHKODM4L.js";
3
+ } from "./chunk-MOC2DN42.js";
4
4
  import {
5
5
  configFilePath
6
- } from "./chunk-4EBJ4PTZ.js";
6
+ } from "./chunk-BWREST4F.js";
7
7
  import {
8
8
  backupFile,
9
9
  readJsonSafe,
@@ -14,7 +14,7 @@ import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord,
16
16
  isValidApiKey
17
- } from "./chunk-C5LIS3XM.js";
17
+ } from "./chunk-LQXUWXQP.js";
18
18
 
19
19
  // src/shell-alias.ts
20
20
  import { homedir } from "os";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  keyCheckFromResponse
3
- } from "./chunk-DZLLKJJT.js";
3
+ } from "./chunk-YRJZF5RG.js";
4
4
  import {
5
5
  installNetworkDefaults
6
- } from "./chunk-4OX4SJGA.js";
6
+ } from "./chunk-LJRPWUST.js";
7
7
  import {
8
8
  fetchAsCredential
9
- } from "./chunk-YCU7Y77H.js";
9
+ } from "./chunk-S7HGPKCL.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-4EBJ4PTZ.js";
12
+ } from "./chunk-BWREST4F.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-C5LIS3XM.js";
17
+ } from "./chunk-LQXUWXQP.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -4,37 +4,37 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-B4VIT5N3.js";
7
+ } from "./chunk-4L5WPDTB.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
11
- } from "./chunk-DDJHPMBJ.js";
11
+ } from "./chunk-LMU6NG2G.js";
12
12
  import {
13
13
  SESSION_IDLE_TIMEOUT_MS,
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-NQF652IG.js";
17
+ } from "./chunk-PXZTCR4M.js";
18
18
  import {
19
19
  repositoryScopeFor
20
- } from "./chunk-EMODTMHE.js";
20
+ } from "./chunk-6UK4K5RS.js";
21
21
  import {
22
22
  isAskUserResponse,
23
23
  isDecisionStopped,
24
24
  isWaitForAnswerResponse,
25
25
  withdrawQuestion,
26
26
  writeDegraded
27
- } from "./chunk-CNURORKI.js";
27
+ } from "./chunk-YU5XE6VC.js";
28
28
  import {
29
29
  callMcpTool,
30
30
  isRetryable
31
- } from "./chunk-V53QYJNY.js";
31
+ } from "./chunk-WPBWJMBZ.js";
32
32
  import {
33
33
  spawnClaude
34
34
  } from "./chunk-H6CL3T2S.js";
35
35
  import {
36
36
  readCommandAck
37
- } from "./chunk-ZVJIJPQY.js";
37
+ } from "./chunk-BYKRAYGD.js";
38
38
  import {
39
39
  AGENT_QUESTION_DESCRIPTION_MAX,
40
40
  AGENT_QUESTION_HEADER_MAX,
@@ -55,7 +55,7 @@ import {
55
55
  parseCodexQuestions,
56
56
  planElicitationAsk,
57
57
  readElicitationFields
58
- } from "./chunk-C5LIS3XM.js";
58
+ } from "./chunk-LQXUWXQP.js";
59
59
 
60
60
  // src/codex-question-owner.ts
61
61
  import { createHash } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-UIZE4YMU.js";
3
+ } from "./chunk-DZIZ3XFL.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
6
  } from "./chunk-CYTPQDQY.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolvePackageVersionFromBinary,
13
13
  resolvePathBinary,
14
14
  resolvePathBinaryAsync
15
- } from "./chunk-QFZNPZRO.js";
15
+ } from "./chunk-VTJ4WZOC.js";
16
16
  import {
17
17
  CLAUDE_BRIDGE_CAPABILITY,
18
18
  CLAUDE_RESUME_CAPABILITY,
@@ -23,7 +23,7 @@ import {
23
23
  MANAGED_PROVIDERS,
24
24
  SPAWN_CAPABILITY,
25
25
  sessionProvidersAdvertisedBy
26
- } from "./chunk-C5LIS3XM.js";
26
+ } from "./chunk-LQXUWXQP.js";
27
27
 
28
28
  // src/live-capabilities.ts
29
29
  import { accessSync, constants, statSync as statSync2 } from "fs";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-XWYCFODT.js";
7
+ } from "./chunk-2ELNRGNX.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-EGUT2MWV.js";
10
+ } from "./chunk-52UXNCZG.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-HIIXYZYV.js";
13
+ } from "./chunk-WOSO4YFQ.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,10 +32,10 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-IG7NGXBS.js";
35
+ } from "./chunk-72LP4RPC.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-QFZNPZRO.js";
38
+ } from "./chunk-VTJ4WZOC.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -48,12 +48,12 @@ var FX_OPERATION_TIMEOUT_MS = 75e3;
48
48
  var FX_PROFILE_MAX_BYTES = 1024 * 1024 - 1;
49
49
  var FX_SETTINGS_MAX_BYTES = 64 * 1024;
50
50
  var FX_PUSHARY_TOOLS_RULE = "mcp_pushary_*";
51
- var FX_TOOL_DISCOVERY_NOTE = 'In fx, these tools are named mcp_pushary_ask_user, mcp_pushary_send_notification, mcp_pushary_wait_for_answer, mcp_pushary_cancel_question and mcp_pushary_propose_scope. fx does not load them at the start of a turn: call mcp_select_tool with the exact name, for example {"name": "mcp_pushary_ask_user"}, then call the tool. For fx this replaces the guidance above to ask the whole round in the terminal while the user is there: ask every question through mcp_pushary_ask_user, even while the user is at this terminal, rather than through ask_user_question. fx cannot show its own question prompt in the Mac notch or on the phone, so a question asked there waits unseen once the user steps away. Ask in your reply instead only when a Pushary handoffAction tells you to ask here, or when mcp_pushary_ask_user is unavailable or fails without one.';
51
+ var FX_TOOL_DISCOVERY_NOTE = 'In fx, these tools are named mcp_pushary_ask_user, mcp_pushary_send_notification, mcp_pushary_wait_for_answer, mcp_pushary_cancel_question and mcp_pushary_propose_scope. fx does not load them at the start of a turn. With the fx toolbox tool, open the tool by its exact name, for example {"open": "mcp_pushary_ask_user"}, then run it with {"run": "mcp_pushary_ask_user", "arguments": {...}}. An fx without toolbox loads it with mcp_select_tool and the exact name, for example {"name": "mcp_pushary_ask_user"}, then calls it. For fx this replaces the guidance above to ask the whole round in the terminal while the user is there: ask every question through mcp_pushary_ask_user, even while the user is at this terminal, rather than through ask_user_question. fx cannot show its own question prompt in the Mac notch or on the phone, so a question asked there waits unseen once the user steps away. Ask in your reply instead only when a Pushary handoffAction tells you to ask here, or when mcp_pushary_ask_user is unavailable or fails without one.';
52
52
  var FX_AGENT_LABEL = "fx";
53
53
  var fxInstructionsBody = () => `${renderAgentInstructions(FX_AGENT_LABEL)}
54
54
 
55
55
  ${FX_TOOL_DISCOVERY_NOTE}
56
- 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.`;
56
+ For a reminder later, open or select mcp_pushary_schedule_reminder the same way, then run it. Pushary schedules delivery on its server; fx can exit.`;
57
57
  var ALLOW_ACTION = "allow";
58
58
  var PERMISSION_KEY = "permission";
59
59
  var WORKSPACES_KEY = "workspaces";
@@ -66,7 +66,8 @@ var HTTP_TRANSPORTS = /* @__PURE__ */ new Set(["http", "streamable-http", "sse"]
66
66
  var PUSHARY_KEY_ENV = "PUSHARY_API_KEY";
67
67
  var URL_KEY_PARAM = "api_key";
68
68
  var FX_HTTP_CALLS_CAN_DROP = "fx's MCP-v2 engine (FX_MCP_ENGINE=v2) reuses an HTTP connection the server has already closed, so the first Pushary call after a few idle minutes can fail without reaching Pushary";
69
- var FX_RELOAD_AFTER_BRIDGE = "Restart fx, or run /mcp reload in each running fx session, so it reaches Pushary through the local bridge.";
69
+ var FX_PICKS_UP_CONFIGURATION = "fx picks up the change automatically. If Pushary's tools do not appear, restart fx.";
70
+ var FX_RELOAD_AFTER_BRIDGE = `${FX_PICKS_UP_CONFIGURATION} Then fx reaches Pushary through the local bridge.`;
70
71
  var AMBIGUOUS_SERVER_KEYS = /* @__PURE__ */ new Set([
71
72
  "mcpserver",
72
73
  "mcpservers",
@@ -780,6 +781,7 @@ var removeClineServer = (settingsPath) => {
780
781
  export {
781
782
  FX_PUSHARY_TOOLS_RULE,
782
783
  fxInstructionsBody,
784
+ FX_PICKS_UP_CONFIGURATION,
783
785
  FX_RELOAD_AFTER_BRIDGE,
784
786
  FX_PROFILE_REFUSALS,
785
787
  withFxPusharyServer,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-4OX4SJGA.js";
3
+ } from "./chunk-LJRPWUST.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-YU2EUD7O.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-4EBJ4PTZ.js";
9
+ } from "./chunk-BWREST4F.js";
10
10
  import {
11
11
  EXIT
12
12
  } from "./chunk-BG4HHB7E.js";
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-C5LIS3XM.js";
16
+ } from "./chunk-LQXUWXQP.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;
@@ -8,21 +8,21 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-V53QYJNY.js";
11
+ } from "./chunk-WPBWJMBZ.js";
12
12
  import {
13
13
  installNetworkDefaults,
14
14
  isNetworkFailure
15
- } from "./chunk-4OX4SJGA.js";
15
+ } from "./chunk-LJRPWUST.js";
16
16
  import {
17
17
  fetchAsCredential
18
- } from "./chunk-YCU7Y77H.js";
18
+ } from "./chunk-S7HGPKCL.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-IG7NGXBS.js";
21
+ } from "./chunk-72LP4RPC.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
25
- } from "./chunk-4EBJ4PTZ.js";
25
+ } from "./chunk-BWREST4F.js";
26
26
  import {
27
27
  ASK_AGENT_NAME_MAX,
28
28
  CLIENT_REPORT_PATH,
@@ -31,7 +31,7 @@ import {
31
31
  TOOL_FAILURE_CODES,
32
32
  degradedLine,
33
33
  truncateLine
34
- } from "./chunk-C5LIS3XM.js";
34
+ } from "./chunk-LQXUWXQP.js";
35
35
 
36
36
  // src/api.ts
37
37
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-DZLLKJJT.js";
3
+ } from "./chunk-YRJZF5RG.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-C5LIS3XM.js";
6
+ } from "./chunk-LQXUWXQP.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-C5LIS3XM.js";
12
+ } from "./chunk-LQXUWXQP.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -39,7 +39,7 @@ var effectiveVerify = (options, context) => {
39
39
  };
40
40
  var effectiveAgentSelection = (selection, context) => context.paired && context.hasDetectedAgents && selection.kind === "ask" ? { kind: "auto" } : selection;
41
41
  var SETUP_FLAGS = {
42
- bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "help", "h"],
42
+ bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "hermes-gate-terminal", "help", "h"],
43
43
  values: ["key", "connect", "agents", "verify", "control", "transcripts"]
44
44
  };
45
45
  var effectiveControlMode = (options, stored) => options.controlExplicit ? options.control : stored ?? options.control;
@@ -124,7 +124,8 @@ var parseSetupOptions = (input) => {
124
124
  control: controlRaw === void 0 ? "auto" : parseControlMode(controlRaw),
125
125
  controlExplicit: controlRaw !== void 0,
126
126
  transcripts: transcriptsRaw === void 0 ? null : transcriptsRaw === "on",
127
- takeOverHooks: flags.bools.has("take-over-hooks")
127
+ takeOverHooks: flags.bools.has("take-over-hooks"),
128
+ hermesGateTerminal: flags.bools.has("hermes-gate-terminal")
128
129
  };
129
130
  };
130
131
 
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-G66WIAST.js";
14
14
  import {
15
15
  keyPrefix
16
- } from "./chunk-HIIXYZYV.js";
16
+ } from "./chunk-WOSO4YFQ.js";
17
17
  import {
18
18
  getBaseUrl
19
- } from "./chunk-4EBJ4PTZ.js";
19
+ } from "./chunk-BWREST4F.js";
20
20
  import {
21
21
  NPX_LATEST_COMMAND
22
- } from "./chunk-R7FSMUHG.js";
22
+ } from "./chunk-6LZ7MXHD.js";
23
23
  import {
24
24
  isValidApiKey
25
- } from "./chunk-C5LIS3XM.js";
25
+ } from "./chunk-LQXUWXQP.js";
26
26
 
27
27
  // src/cli/login-ui.ts
28
28
  import { hostname } from "os";
@@ -7,10 +7,10 @@ import {
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-IG7NGXBS.js";
10
+ } from "./chunk-72LP4RPC.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-QFZNPZRO.js";
13
+ } from "./chunk-VTJ4WZOC.js";
14
14
  import {
15
15
  getPackageVersion
16
16
  } from "./chunk-WIIMW5YO.js";