@pushary/agent-hooks 1.9.27 → 1.9.28

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 (100) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/bin/pushary-bell-hook.js +25 -25
  3. package/dist/bin/pushary-bell.js +9 -9
  4. package/dist/bin/pushary-claude.js +24 -24
  5. package/dist/bin/pushary-clean.js +29 -29
  6. package/dist/bin/pushary-codex-bridge.js +17 -17
  7. package/dist/bin/pushary-codex-hook.js +30 -30
  8. package/dist/bin/pushary-codex.js +12 -12
  9. package/dist/bin/pushary-connect.js +24 -24
  10. package/dist/bin/pushary-cowork.js +5 -5
  11. package/dist/bin/pushary-daemon.js +32 -32
  12. package/dist/bin/pushary-disconnect.js +24 -24
  13. package/dist/bin/pushary-doctor.js +33 -33
  14. package/dist/bin/pushary-elicitation-hook.js +25 -25
  15. package/dist/bin/pushary-gemini-bridge.js +13 -13
  16. package/dist/bin/pushary-gemini-hook.js +27 -27
  17. package/dist/bin/pushary-hook.js +40 -32
  18. package/dist/bin/pushary-login.js +12 -12
  19. package/dist/bin/pushary-logout.js +24 -24
  20. package/dist/bin/pushary-mcp.js +9 -9
  21. package/dist/bin/pushary-mode.js +12 -12
  22. package/dist/bin/pushary-notification-hook.js +24 -24
  23. package/dist/bin/pushary-opencode-hook.js +26 -26
  24. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  25. package/dist/bin/pushary-permission-hook.js +28 -28
  26. package/dist/bin/pushary-post-hook.js +24 -24
  27. package/dist/bin/pushary-prompt-hook.js +24 -24
  28. package/dist/bin/pushary-session-end-hook.js +24 -24
  29. package/dist/bin/pushary-session-start-hook.js +28 -28
  30. package/dist/bin/pushary-setup.js +35 -35
  31. package/dist/bin/pushary-stats.js +5 -5
  32. package/dist/bin/pushary-status.js +26 -26
  33. package/dist/bin/pushary-stop-hook.js +24 -24
  34. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  35. package/dist/bin/pushary-suggestions.js +12 -12
  36. package/dist/bin/pushary-transcript-register.js +17 -17
  37. package/dist/bin/pushary-transcripts.js +7 -7
  38. package/dist/bin/pushary-upgrade.js +30 -30
  39. package/dist/bin/pushary-wait.js +12 -12
  40. package/dist/bin/pushary.js +6 -6
  41. package/dist/{chunk-5ZR7XFTB.js → chunk-3OFFLLSJ.js} +21 -13
  42. package/dist/{chunk-AT4URLSU.js → chunk-3TF5FHAT.js} +5 -5
  43. package/dist/{chunk-H2ZHGK4F.js → chunk-43DOHHZZ.js} +2 -2
  44. package/dist/{chunk-W4LNR7LP.js → chunk-56U55YDV.js} +3 -3
  45. package/dist/{chunk-MSKJRRHY.js → chunk-5NXOJ3JG.js} +3 -3
  46. package/dist/{chunk-PQAA37YV.js → chunk-64LLZV5F.js} +6 -6
  47. package/dist/{chunk-JXOCD4MG.js → chunk-74YRZTGP.js} +2 -2
  48. package/dist/{chunk-ZQZRBPTP.js → chunk-7DXPQW2H.js} +59 -8
  49. package/dist/{chunk-Z5AAPX3O.js → chunk-7RKX7WRQ.js} +1 -1
  50. package/dist/{chunk-NK2URK5A.js → chunk-7TBCGHJT.js} +2 -2
  51. package/dist/{chunk-MDAJO2MP.js → chunk-7ZWU4BNG.js} +5 -5
  52. package/dist/{chunk-SLW45RGY.js → chunk-A24TEUD6.js} +11 -11
  53. package/dist/{chunk-2NQHGDK5.js → chunk-AR7XOG6W.js} +1 -1
  54. package/dist/{chunk-5LLH2TBR.js → chunk-AXGA3WJI.js} +1 -1
  55. package/dist/{chunk-LUJAURFP.js → chunk-BG7T5MNV.js} +1 -1
  56. package/dist/{chunk-KN5ULH4O.js → chunk-BXUYF5HB.js} +3 -3
  57. package/dist/{chunk-V6HQFOBS.js → chunk-CJTTAF4O.js} +3 -3
  58. package/dist/{chunk-TWCWRHNK.js → chunk-COEOZ2NC.js} +5 -5
  59. package/dist/{chunk-UQTQVH5X.js → chunk-EBO5KWWC.js} +1 -1
  60. package/dist/{chunk-QMMOVPUP.js → chunk-EP425PGA.js} +8 -8
  61. package/dist/{chunk-VGVMBY4V.js → chunk-FD3QASU3.js} +18 -9
  62. package/dist/{chunk-RZNJGCPR.js → chunk-FY2XCYLK.js} +5 -5
  63. package/dist/{chunk-JK42X2VL.js → chunk-FYYWKCPO.js} +2 -2
  64. package/dist/{chunk-MTODICDT.js → chunk-GXZFDZJG.js} +1 -1
  65. package/dist/{chunk-LY3KHTHS.js → chunk-HRAZMBUX.js} +1 -1
  66. package/dist/{chunk-YZ7D3P3M.js → chunk-ICMVPBRQ.js} +2 -2
  67. package/dist/{chunk-4LIOV4YP.js → chunk-IDXEDMWI.js} +3 -3
  68. package/dist/{chunk-U4Q3AKLU.js → chunk-IWPQBWFN.js} +1 -1
  69. package/dist/{chunk-WGTD4NZV.js → chunk-IWYBFBRW.js} +2 -2
  70. package/dist/{chunk-DY6AKR4W.js → chunk-JOZWN4YI.js} +4 -4
  71. package/dist/{chunk-UWEDDQHU.js → chunk-L5ZMZOQL.js} +2 -2
  72. package/dist/{chunk-GORB726L.js → chunk-ME2PKG7C.js} +2 -2
  73. package/dist/{chunk-VWTCGKMU.js → chunk-MNHY3EIN.js} +1 -1
  74. package/dist/{chunk-XTTMUQ4Z.js → chunk-OK4WDRGM.js} +1 -1
  75. package/dist/{chunk-4LO6OQZ4.js → chunk-OQKV3OXH.js} +1 -1
  76. package/dist/{chunk-IOTR2VQN.js → chunk-S3NAONBN.js} +4 -4
  77. package/dist/{chunk-MRMIGVUI.js → chunk-SGAQYFGS.js} +1 -1
  78. package/dist/{chunk-YTTPPJZW.js → chunk-TAPGV2YV.js} +4 -4
  79. package/dist/{chunk-HFGTWPAD.js → chunk-UJZ3KD4E.js} +2 -2
  80. package/dist/{chunk-OPSLFAKF.js → chunk-UMTGSFAI.js} +39 -10
  81. package/dist/{chunk-M463H5LN.js → chunk-URZOKMAV.js} +2 -2
  82. package/dist/{chunk-CSXWXXFJ.js → chunk-V5BIWNB3.js} +1 -1
  83. package/dist/{chunk-W4DFSUZG.js → chunk-VAJLOCFP.js} +2 -2
  84. package/dist/{chunk-TYPQUHIS.js → chunk-VU6O4P2N.js} +5 -5
  85. package/dist/{chunk-O2SMA3JN.js → chunk-VYKUGORF.js} +4 -4
  86. package/dist/{chunk-6CBKIF3S.js → chunk-W6MUIG6S.js} +3 -3
  87. package/dist/{chunk-BZYYTJ65.js → chunk-WIAWMH6T.js} +4 -4
  88. package/dist/{chunk-E4NITECV.js → chunk-YRB2VBKK.js} +2 -2
  89. package/dist/{chunk-XESMYZLU.js → chunk-YTCMVHW5.js} +1 -1
  90. package/dist/{chunk-5SKHXKIF.js → chunk-YW7JQ7Z4.js} +5 -5
  91. package/dist/{chunk-LOVDPKUU.js → chunk-ZH32OREM.js} +1 -1
  92. package/dist/{chunk-OXOT3CGW.js → chunk-ZMWCN3QS.js} +4 -4
  93. package/dist/{chunk-ZWDXBLEZ.js → chunk-ZREXC363.js} +3 -3
  94. package/dist/{chunk-TQE5VIDJ.js → chunk-ZX5ISG5O.js} +10 -9
  95. package/dist/{global-upgrade-FKQPJL5P.js → global-upgrade-MBW4MRJ2.js} +6 -6
  96. package/dist/{paths-TU47TCRS.js → paths-H4XMIYUS.js} +2 -2
  97. package/dist/{reapply-CTJZBUJY.js → reapply-JFEY77OC.js} +22 -20
  98. package/dist/src/index.js +19 -19
  99. package/dist/{upgrade-lock-2SQCRMDL.js → upgrade-lock-2RGMG5ZV.js} +3 -3
  100. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  defersToNativeMode,
3
3
  reportMachineDenial
4
- } from "./chunk-E4NITECV.js";
4
+ } from "./chunk-YRB2VBKK.js";
5
5
  import {
6
6
  isGatingMoment,
7
7
  recordKeylessMoment
8
- } from "./chunk-LUJAURFP.js";
8
+ } from "./chunk-BG7T5MNV.js";
9
9
  import {
10
10
  announceSubscriptionRequired,
11
11
  isDeferAnswer,
12
12
  oncePerSession
13
- } from "./chunk-LOVDPKUU.js";
13
+ } from "./chunk-ZH32OREM.js";
14
14
  import {
15
15
  activeHookSource,
16
16
  activeIdentity
17
- } from "./chunk-TQE5VIDJ.js";
17
+ } from "./chunk-ZX5ISG5O.js";
18
18
  import {
19
19
  DEFAULT_SESSION,
20
20
  UNNAMED_ACTION,
@@ -39,7 +39,7 @@ import {
39
39
  reportEvent,
40
40
  scopePathFor,
41
41
  settleQuestionsForToolUse
42
- } from "./chunk-VGVMBY4V.js";
42
+ } from "./chunk-FD3QASU3.js";
43
43
  import {
44
44
  askUser,
45
45
  cancelQuestion,
@@ -51,20 +51,20 @@ import {
51
51
  sendNotification,
52
52
  waitForQuestion,
53
53
  waitsForThePhone
54
- } from "./chunk-AT4URLSU.js";
54
+ } from "./chunk-3TF5FHAT.js";
55
55
  import {
56
56
  SubscriptionRequiredError
57
- } from "./chunk-ZWDXBLEZ.js";
57
+ } from "./chunk-ZREXC363.js";
58
58
  import {
59
59
  getMachineId
60
- } from "./chunk-U4Q3AKLU.js";
60
+ } from "./chunk-IWPQBWFN.js";
61
61
  import {
62
62
  getApiKey,
63
63
  getBaseUrl
64
- } from "./chunk-XTTMUQ4Z.js";
64
+ } from "./chunk-OK4WDRGM.js";
65
65
  import {
66
66
  NPX_LATEST_COMMAND
67
- } from "./chunk-Z5AAPX3O.js";
67
+ } from "./chunk-7RKX7WRQ.js";
68
68
  import {
69
69
  AGENT_QUESTION_STRATEGY,
70
70
  DECISION_STOP_REASON,
@@ -106,7 +106,7 @@ import {
106
106
  questionHandedToTheTerminal,
107
107
  resolveGate,
108
108
  timeoutActionWithoutLocalPrompt
109
- } from "./chunk-ZQZRBPTP.js";
109
+ } from "./chunk-7DXPQW2H.js";
110
110
 
111
111
  // src/claude-permission-rules.ts
112
112
  import { readFileSync, statSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-XTTMUQ4Z.js";
12
+ } from "./chunk-OK4WDRGM.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getBaseUrl
3
- } from "./chunk-XTTMUQ4Z.js";
3
+ } from "./chunk-OK4WDRGM.js";
4
4
 
5
5
  // src/transcript-api.ts
6
6
  var fetchTranscriptRecipients = async (apiKey, baseUrl = getBaseUrl()) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isSafeReadOnlyCommand
3
- } from "./chunk-ZQZRBPTP.js";
3
+ } from "./chunk-7DXPQW2H.js";
4
4
 
5
5
  // src/ledger.ts
6
6
  import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync } from "fs";
@@ -5,16 +5,16 @@ import {
5
5
  import {
6
6
  NOTIFICATION_MATCHED_TYPES,
7
7
  POSTTOOLUSE_MIRRORED_TOOLS
8
- } from "./chunk-CSXWXXFJ.js";
8
+ } from "./chunk-V5BIWNB3.js";
9
9
  import {
10
10
  isProtectedByScope,
11
11
  registerHookEntry
12
- } from "./chunk-YTTPPJZW.js";
12
+ } from "./chunk-TAPGV2YV.js";
13
13
  import {
14
14
  CLAUDE_PRETOOLUSE_MATCHER,
15
15
  HOOK_BUDGETS,
16
16
  HOOK_LOCATOR_BINARY
17
- } from "./chunk-ZQZRBPTP.js";
17
+ } from "./chunk-7DXPQW2H.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
  SETUP_FLAGS
3
- } from "./chunk-MRMIGVUI.js";
3
+ } from "./chunk-SGAQYFGS.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-Z5AAPX3O.js";
12
+ } from "./chunk-7RKX7WRQ.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-ZQZRBPTP.js";
20
+ } from "./chunk-7DXPQW2H.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -2,23 +2,23 @@ import {
2
2
  CLAUDE_HOOK_EVENTS,
3
3
  GEMINI_HOOK_EVENTS,
4
4
  hasGeminiHooks
5
- } from "./chunk-KN5ULH4O.js";
5
+ } from "./chunk-BXUYF5HB.js";
6
6
  import {
7
7
  AGENT_CHOICES
8
- } from "./chunk-MRMIGVUI.js";
8
+ } from "./chunk-SGAQYFGS.js";
9
9
  import {
10
10
  BELL_HOOK_BINARY
11
- } from "./chunk-MTODICDT.js";
11
+ } from "./chunk-GXZFDZJG.js";
12
12
  import {
13
13
  CODEX_HOOK_EVENTS,
14
14
  hasCodexHooks,
15
15
  holdBudgetOf
16
- } from "./chunk-YTTPPJZW.js";
16
+ } from "./chunk-TAPGV2YV.js";
17
17
  import {
18
18
  CURSOR_GATE_EVENTS,
19
19
  HOOK_LOCATOR_BINARY,
20
20
  hookCommandHoldBudget
21
- } from "./chunk-ZQZRBPTP.js";
21
+ } from "./chunk-7DXPQW2H.js";
22
22
 
23
23
  // src/diagnostics/bridge.ts
24
24
  import { execFileSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigFileKey
3
- } from "./chunk-4LIOV4YP.js";
3
+ } from "./chunk-IDXEDMWI.js";
4
4
 
5
5
  // src/bell/fleet.ts
6
6
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -6,38 +6,38 @@ import {
6
6
  } from "./chunk-VTR4VRL2.js";
7
7
  import {
8
8
  ensureDaemonRunning
9
- } from "./chunk-TYPQUHIS.js";
9
+ } from "./chunk-VU6O4P2N.js";
10
10
  import {
11
11
  buildTranscriptRecords,
12
12
  decodePublicKey,
13
13
  generateSessionKey,
14
14
  wrapSessionKey
15
- } from "./chunk-LY3KHTHS.js";
15
+ } from "./chunk-HRAZMBUX.js";
16
16
  import {
17
17
  fetchTranscriptRecipients,
18
18
  uploadTranscriptRecords
19
- } from "./chunk-5LLH2TBR.js";
19
+ } from "./chunk-AXGA3WJI.js";
20
20
  import {
21
21
  transcriptEnvironmentPreference,
22
22
  transcriptsEnabled
23
- } from "./chunk-VWTCGKMU.js";
23
+ } from "./chunk-MNHY3EIN.js";
24
24
  import {
25
25
  hookOwnerOf
26
- } from "./chunk-TWCWRHNK.js";
26
+ } from "./chunk-COEOZ2NC.js";
27
27
  import {
28
28
  readTranscriptPreference
29
- } from "./chunk-4LIOV4YP.js";
29
+ } from "./chunk-IDXEDMWI.js";
30
30
  import {
31
31
  codexHome,
32
32
  pusharyDir
33
- } from "./chunk-YTTPPJZW.js";
33
+ } from "./chunk-TAPGV2YV.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-XTTMUQ4Z.js";
40
+ } from "./chunk-OK4WDRGM.js";
41
41
 
42
42
  // src/transcript-registration.ts
43
43
  import { createHash } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  IDLE_PROMPT_NOTIFICATION,
3
3
  NOTIFICATION_PUSH_TYPES,
4
4
  POSTTOOLUSE_MIRROR_ONLY_TOOLS
5
- } from "./chunk-CSXWXXFJ.js";
5
+ } from "./chunk-V5BIWNB3.js";
6
6
  import {
7
7
  cancelQuestion,
8
8
  clientErrorKindOf,
@@ -10,29 +10,30 @@ import {
10
10
  reportClientError,
11
11
  sendNotification,
12
12
  waitForAnswer
13
- } from "./chunk-AT4URLSU.js";
13
+ } from "./chunk-3TF5FHAT.js";
14
14
  import {
15
15
  withRetry
16
- } from "./chunk-ZWDXBLEZ.js";
16
+ } from "./chunk-ZREXC363.js";
17
17
  import {
18
18
  getMachineId
19
- } from "./chunk-U4Q3AKLU.js";
19
+ } from "./chunk-IWPQBWFN.js";
20
20
  import {
21
21
  reportedInstallSource
22
- } from "./chunk-UWEDDQHU.js";
22
+ } from "./chunk-L5ZMZOQL.js";
23
23
  import {
24
24
  canonicalJson
25
- } from "./chunk-YTTPPJZW.js";
25
+ } from "./chunk-TAPGV2YV.js";
26
26
  import {
27
27
  writeFileAtomic
28
28
  } from "./chunk-AQFEP65J.js";
29
29
  import {
30
30
  getApiKey,
31
31
  getBaseUrl
32
- } from "./chunk-XTTMUQ4Z.js";
32
+ } from "./chunk-OK4WDRGM.js";
33
33
  import {
34
34
  ACTION_BODY_MAX,
35
35
  AGENT_LABELS_BY_TYPE,
36
+ BLANK_TASK_INPUT_TOOL,
36
37
  BLOCKED_ACTION_GRANT_TTL_SECONDS,
37
38
  DECISION_LINE_MAX,
38
39
  FILE_TARGET_TOOLS,
@@ -42,6 +43,8 @@ import {
42
43
  NO_RESPONSE_REASON,
43
44
  PENDING_COMMAND_PREFIX,
44
45
  REPO_AWARE_AGENTS,
46
+ TASK_OUTPUT_TOOL,
47
+ TASK_STOP_TOOL,
45
48
  blockedActionIdentity,
46
49
  canonicalToolName,
47
50
  gateOutputFor,
@@ -60,7 +63,7 @@ import {
60
63
  resolvePolicy,
61
64
  toToolLookup,
62
65
  truncateLine
63
- } from "./chunk-ZQZRBPTP.js";
66
+ } from "./chunk-7DXPQW2H.js";
64
67
 
65
68
  // ../hook-mapping/src/describe.ts
66
69
  import { isAbsolute, relative, resolve } from "path";
@@ -80,7 +83,13 @@ var hookPrefixes = {
80
83
  // fallback prints `Task: done` and `WebSearch: done`, which name the tool and
81
84
  // drop the only part a person reads: which subagent, and what it looked for.
82
85
  Task: (input) => `subagent: ${describeTaskCall(input)}`,
83
- WebSearch: (input) => `web search: ${firstString(input.query) ?? "(no query)"}`
86
+ WebSearch: (input) => `web search: ${firstString(input.query) ?? "(no query)"}`,
87
+ [TASK_OUTPUT_TOOL]: (input) => {
88
+ const task = firstString(input.task_id);
89
+ return task ? `check background task ${task}` : "list background tasks";
90
+ },
91
+ [TASK_STOP_TOOL]: (input) => `stop background task ${firstString(input.task_id) ?? "(unnamed)"}`,
92
+ [BLANK_TASK_INPUT_TOOL]: (input) => `send blank input, such as Enter, to background task ${firstString(input.task_id) ?? "(unnamed)"}`
84
93
  };
85
94
  var describeTaskCall = (input) => firstString(input.description) ?? firstString(input.subagent_type) ?? "(unnamed)";
86
95
  var describeTodoProgress = (todos) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  APPROVAL_SETTINGS_PATH
3
- } from "./chunk-O2SMA3JN.js";
3
+ } from "./chunk-VYKUGORF.js";
4
4
  import {
5
5
  readMacAppAgentKey
6
- } from "./chunk-IOTR2VQN.js";
6
+ } from "./chunk-S3NAONBN.js";
7
7
  import {
8
8
  findExportedKeyLines,
9
9
  isAdoptedMacAppKey,
@@ -13,13 +13,13 @@ import {
13
13
  readConfigFileKey,
14
14
  readKeySource,
15
15
  readMacAppKeyPrefix
16
- } from "./chunk-4LIOV4YP.js";
16
+ } from "./chunk-IDXEDMWI.js";
17
17
  import {
18
18
  absoluteUrl
19
- } from "./chunk-MSKJRRHY.js";
19
+ } from "./chunk-5NXOJ3JG.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-ZQZRBPTP.js";
22
+ } from "./chunk-7DXPQW2H.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
  parseSseMessages
3
- } from "./chunk-ZWDXBLEZ.js";
3
+ } from "./chunk-ZREXC363.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-Z5AAPX3O.js";
6
+ } from "./chunk-7RKX7WRQ.js";
7
7
 
8
8
  // src/mcp-stdio-bridge.ts
9
9
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-YTTPPJZW.js";
3
+ } from "./chunk-TAPGV2YV.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-ZQZRBPTP.js";
3
+ } from "./chunk-7DXPQW2H.js";
4
4
 
5
5
  // src/crypto.ts
6
6
  import nacl from "tweetnacl";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-YTTPPJZW.js";
3
+ } from "./chunk-TAPGV2YV.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-ZQZRBPTP.js";
16
+ } from "./chunk-7DXPQW2H.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-UWEDDQHU.js";
3
+ } from "./chunk-L5ZMZOQL.js";
4
4
  import {
5
5
  backupFile,
6
6
  readJsonSafe,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./chunk-AQFEP65J.js";
10
10
  import {
11
11
  configFilePath
12
- } from "./chunk-XTTMUQ4Z.js";
12
+ } from "./chunk-OK4WDRGM.js";
13
13
  import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord
16
- } from "./chunk-ZQZRBPTP.js";
16
+ } from "./chunk-7DXPQW2H.js";
17
17
 
18
18
  // src/shell-alias.ts
19
19
  import { homedir } from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-YTTPPJZW.js";
3
+ } from "./chunk-TAPGV2YV.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-AQFEP65J.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-YTTPPJZW.js";
6
+ } from "./chunk-TAPGV2YV.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-ZQZRBPTP.js";
18
+ } from "./chunk-7DXPQW2H.js";
19
19
 
20
20
  // src/auto-update.ts
21
21
  import { spawn } from "child_process";
@@ -14,19 +14,19 @@ import {
14
14
  } from "./chunk-FO3MDD26.js";
15
15
  import {
16
16
  callMcpTool
17
- } from "./chunk-ZWDXBLEZ.js";
17
+ } from "./chunk-ZREXC363.js";
18
18
  import {
19
19
  reportedInstallSource
20
- } from "./chunk-UWEDDQHU.js";
20
+ } from "./chunk-L5ZMZOQL.js";
21
21
  import {
22
22
  NPX_LATEST_COMMAND
23
- } from "./chunk-Z5AAPX3O.js";
23
+ } from "./chunk-7RKX7WRQ.js";
24
24
  import {
25
25
  NO_PAIRING_COMPUTER,
26
26
  PAIR_TTL_SECONDS,
27
27
  classifyConfirmResponse,
28
28
  isAnswerSource
29
- } from "./chunk-ZQZRBPTP.js";
29
+ } from "./chunk-7DXPQW2H.js";
30
30
 
31
31
  // src/reach.ts
32
32
  var reachVerdict = (channels) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-XTTMUQ4Z.js";
3
+ } from "./chunk-OK4WDRGM.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-ZQZRBPTP.js";
6
+ } from "./chunk-7DXPQW2H.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -8,10 +8,10 @@ import {
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand,
10
10
  resolvePathBinary
11
- } from "./chunk-YTTPPJZW.js";
11
+ } from "./chunk-TAPGV2YV.js";
12
12
  import {
13
13
  getPackageVersion
14
- } from "./chunk-ZQZRBPTP.js";
14
+ } from "./chunk-7DXPQW2H.js";
15
15
 
16
16
  // src/codex-app-server.ts
17
17
  import { existsSync, realpathSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-4LIOV4YP.js";
3
+ } from "./chunk-IDXEDMWI.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-Z5AAPX3O.js";
3
+ } from "./chunk-7RKX7WRQ.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-ZQZRBPTP.js";
4
+ } from "./chunk-7DXPQW2H.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-5SKHXKIF.js";
3
+ } from "./chunk-YW7JQ7Z4.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-4LIOV4YP.js";
6
+ } from "./chunk-IDXEDMWI.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-YTTPPJZW.js";
9
+ } from "./chunk-TAPGV2YV.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-AQFEP65J.js";
13
13
  import {
14
14
  isValidApiKey
15
- } from "./chunk-ZQZRBPTP.js";
15
+ } from "./chunk-7DXPQW2H.js";
16
16
 
17
17
  // src/shared-mcp-key.ts
18
18
  var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
@@ -10,7 +10,7 @@ import {
10
10
  isSetupConnectMode,
11
11
  isValidApiKey,
12
12
  normalizeAgentId
13
- } from "./chunk-ZQZRBPTP.js";
13
+ } from "./chunk-7DXPQW2H.js";
14
14
 
15
15
  // src/setup/options.ts
16
16
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -13,7 +13,7 @@ import {
13
13
  isReleaseVersion,
14
14
  ownPackageName,
15
15
  withHookHoldBudget
16
- } from "./chunk-ZQZRBPTP.js";
16
+ } from "./chunk-7DXPQW2H.js";
17
17
 
18
18
  // src/setup/paths.ts
19
19
  import { homedir as homedir2 } from "os";
@@ -395,9 +395,9 @@ var installGlobally = (options) => {
395
395
  }
396
396
  const started = (async () => {
397
397
  if (!npmIsOnPath()) throw new NpmMissingError();
398
- const { withUpgradeLock } = await import("./global-upgrade-FKQPJL5P.js");
399
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-2SQCRMDL.js");
400
- const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-TU47TCRS.js");
398
+ const { withUpgradeLock } = await import("./global-upgrade-MBW4MRJ2.js");
399
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-2RGMG5ZV.js");
400
+ const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-H4XMIYUS.js");
401
401
  let result = "skipped";
402
402
  const install = async () => {
403
403
  const platform = process.platform;
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-4LIOV4YP.js";
7
+ } from "./chunk-IDXEDMWI.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-Z5AAPX3O.js";
10
+ } from "./chunk-7RKX7WRQ.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {