@pushary/agent-hooks 1.9.82 → 1.9.83

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 (134) hide show
  1. package/data/SKILL.md +132 -465
  2. package/data/cowork/SKILL.md +8 -8
  3. package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
  4. package/data/cursor-plugin/CHANGELOG.md +8 -0
  5. package/data/cursor-plugin/commands/notify-when-done.md +1 -1
  6. package/data/cursor-plugin/rules/pushary.mdc +5 -4
  7. package/data/cursor-plugin/skills/pushary/SKILL.md +131 -464
  8. package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
  9. package/data/vscode-plugin/CHANGELOG.md +8 -0
  10. package/data/vscode-plugin/commands/notify-when-done.md +1 -1
  11. package/data/vscode-plugin/skills/pushary/SKILL.md +131 -464
  12. package/dist/{api-TZO5ACOS.js → api-EKLKVJQG.js} +10 -10
  13. package/dist/bin/pushary-bell-hook.js +25 -25
  14. package/dist/bin/pushary-bell.js +10 -10
  15. package/dist/bin/pushary-claude.js +26 -26
  16. package/dist/bin/pushary-clean.js +36 -33
  17. package/dist/bin/pushary-codex-bridge.js +21 -21
  18. package/dist/bin/pushary-codex-hook.js +30 -30
  19. package/dist/bin/pushary-codex-session.js +8 -8
  20. package/dist/bin/pushary-codex.js +13 -13
  21. package/dist/bin/pushary-connect.js +26 -26
  22. package/dist/bin/pushary-cowork.js +5 -5
  23. package/dist/bin/pushary-daemon.js +38 -38
  24. package/dist/bin/pushary-disconnect.js +25 -25
  25. package/dist/bin/pushary-display-hook.js +16 -16
  26. package/dist/bin/pushary-doctor.js +41 -41
  27. package/dist/bin/pushary-elicitation-hook.js +25 -25
  28. package/dist/bin/pushary-gemini-bridge.js +15 -15
  29. package/dist/bin/pushary-gemini-hook.js +27 -27
  30. package/dist/bin/pushary-hook.js +29 -29
  31. package/dist/bin/pushary-login.js +20 -20
  32. package/dist/bin/pushary-logout.js +24 -24
  33. package/dist/bin/pushary-mcp.js +11 -11
  34. package/dist/bin/pushary-mode.js +15 -15
  35. package/dist/bin/pushary-notification-hook.js +24 -24
  36. package/dist/bin/pushary-opencode-hook.js +26 -26
  37. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  38. package/dist/bin/pushary-permission-hook.js +29 -29
  39. package/dist/bin/pushary-post-hook.js +24 -24
  40. package/dist/bin/pushary-prompt-hook.js +24 -24
  41. package/dist/bin/pushary-session-end-hook.js +26 -26
  42. package/dist/bin/pushary-session-start-hook.js +34 -34
  43. package/dist/bin/pushary-setup.js +45 -45
  44. package/dist/bin/pushary-stats.js +5 -5
  45. package/dist/bin/pushary-status.js +31 -31
  46. package/dist/bin/pushary-stop-hook.js +24 -24
  47. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  48. package/dist/bin/pushary-suggestions.js +15 -15
  49. package/dist/bin/pushary-transcript-register.js +16 -16
  50. package/dist/bin/pushary-transcripts.js +18 -18
  51. package/dist/bin/pushary-upgrade.js +39 -39
  52. package/dist/bin/pushary-wait.js +15 -15
  53. package/dist/bin/pushary.js +7 -7
  54. package/dist/{chunk-O6T3CLWT.js → chunk-2B7YU4EK.js} +2 -2
  55. package/dist/{chunk-CV56MBIZ.js → chunk-2BDGGE2G.js} +6 -6
  56. package/dist/{chunk-TTTK44RK.js → chunk-2KVELJZX.js} +1 -1
  57. package/dist/{chunk-4TR4G7A4.js → chunk-35ABA2JQ.js} +1 -1
  58. package/dist/{chunk-IEAABGST.js → chunk-42RQG2VG.js} +4 -4
  59. package/dist/{chunk-AXE2ZOKS.js → chunk-44R5ATBR.js} +2 -2
  60. package/dist/{chunk-RL2KE6HG.js → chunk-46P53RBT.js} +13 -13
  61. package/dist/{chunk-GUM3WG4B.js → chunk-4P256ZAU.js} +6 -6
  62. package/dist/{chunk-APSYBSMG.js → chunk-5FM4BQOM.js} +10 -10
  63. package/dist/{chunk-UYTPCZ4M.js → chunk-5UPZR3C3.js} +4 -4
  64. package/dist/{chunk-OIW3JAWH.js → chunk-6BD5ZZLL.js} +5 -5
  65. package/dist/{chunk-6L2U3TP3.js → chunk-6CJ4MSZU.js} +6 -6
  66. package/dist/{chunk-S2DLTWFG.js → chunk-6PWU2LBT.js} +3 -3
  67. package/dist/{chunk-VHLRXIMC.js → chunk-7EIMASAA.js} +1 -1
  68. package/dist/{chunk-FHPSVTS5.js → chunk-7MRX5JYA.js} +9 -9
  69. package/dist/{chunk-DS5BR4K6.js → chunk-7YYJASRF.js} +2 -2
  70. package/dist/{chunk-OXKVR2FP.js → chunk-A3TMREYJ.js} +4 -4
  71. package/dist/{chunk-PJ26BODT.js → chunk-ACM4OINM.js} +1 -1
  72. package/dist/{chunk-DJILSCSU.js → chunk-ASEHRBD4.js} +3 -3
  73. package/dist/{chunk-UOUUTDWF.js → chunk-B2RDWRKR.js} +3 -3
  74. package/dist/{chunk-TO77OYLM.js → chunk-BG4YJEFE.js} +1 -1
  75. package/dist/{chunk-72CIQCBA.js → chunk-BJN7LMMK.js} +3 -3
  76. package/dist/{chunk-3BFCJZBU.js → chunk-BLM6O2QL.js} +1 -1
  77. package/dist/{chunk-TKFDPYXS.js → chunk-BUXMFD5C.js} +4 -4
  78. package/dist/{chunk-M5XNFUXN.js → chunk-C5EWCNJF.js} +1 -1
  79. package/dist/{chunk-GUI2NYCX.js → chunk-CVPVP4KP.js} +5 -5
  80. package/dist/{chunk-WUS2LFTM.js → chunk-ELYJNNXG.js} +10 -10
  81. package/dist/{chunk-FJZSJZCT.js → chunk-EMT7I74E.js} +3 -3
  82. package/dist/{chunk-NPBPH7KI.js → chunk-FEF3ILT6.js} +2 -2
  83. package/dist/{chunk-QJJJENT2.js → chunk-FGWRVOBP.js} +5 -5
  84. package/dist/{chunk-G5BYSS6C.js → chunk-G4HTRKCP.js} +6 -6
  85. package/dist/{chunk-5TMGEQAC.js → chunk-GGI6GTBL.js} +4 -4
  86. package/dist/{chunk-OXTRF7CP.js → chunk-GKWPIE6R.js} +1 -1
  87. package/dist/{chunk-L77YWBMK.js → chunk-GMZTABMV.js} +6 -6
  88. package/dist/{chunk-3V6G2GBJ.js → chunk-HCLP2QBX.js} +5 -5
  89. package/dist/{chunk-DX45XQ36.js → chunk-HIMEVTA5.js} +3 -3
  90. package/dist/{chunk-CXZAKS7S.js → chunk-IBULUTHA.js} +4 -4
  91. package/dist/{chunk-W3VRQEL3.js → chunk-IUZCERPQ.js} +2 -2
  92. package/dist/{chunk-RRMRP62I.js → chunk-J2PAQ3HF.js} +6 -6
  93. package/dist/{chunk-YAMNJXCD.js → chunk-JIC5PGNI.js} +17 -11
  94. package/dist/{chunk-LGWTITVK.js → chunk-KR3KVDXD.js} +1 -1
  95. package/dist/{chunk-WG67W43Y.js → chunk-L4THAI7Q.js} +1 -1
  96. package/dist/{chunk-ESRKYHWE.js → chunk-LLQBPDFQ.js} +2 -2
  97. package/dist/{chunk-UB7VUSSX.js → chunk-MA6FJ7U3.js} +3 -3
  98. package/dist/{chunk-ER4UCECJ.js → chunk-MND7HQ4P.js} +1 -1
  99. package/dist/{chunk-JNCD2ZG3.js → chunk-NDLOWIYO.js} +3 -3
  100. package/dist/{chunk-I4RNLK5G.js → chunk-OKZC4FHN.js} +3 -3
  101. package/dist/{chunk-C6FQ4YST.js → chunk-OUYFUUWB.js} +2 -2
  102. package/dist/{chunk-Z5HLACZT.js → chunk-QPJQAE2L.js} +4 -4
  103. package/dist/{chunk-JTYZEP4Q.js → chunk-S55CXRFD.js} +1 -1
  104. package/dist/{chunk-JXE4UQFJ.js → chunk-SN22OXY3.js} +1 -1
  105. package/dist/{chunk-3UBYG4G7.js → chunk-SSNLMIFR.js} +6 -6
  106. package/dist/{chunk-X2P3O4PX.js → chunk-SVAGMJOH.js} +1 -1
  107. package/dist/{chunk-ONUAAXAW.js → chunk-TBU4WXA4.js} +1 -1
  108. package/dist/{chunk-6355HHSR.js → chunk-TMBLBDPB.js} +2 -2
  109. package/dist/{chunk-6224ENW3.js → chunk-TNWQ6SKS.js} +3 -3
  110. package/dist/{chunk-J4TQYGHU.js → chunk-UNEJNC6X.js} +5 -5
  111. package/dist/{chunk-AM3H6HWG.js → chunk-VBY2AHSX.js} +1 -1
  112. package/dist/{chunk-LNSCANYY.js → chunk-VCMDY6YL.js} +3 -3
  113. package/dist/{chunk-IXVMMDIG.js → chunk-VRHVOMH2.js} +3 -3
  114. package/dist/{chunk-WLOVGZ7R.js → chunk-VUI4HK5O.js} +2 -2
  115. package/dist/{chunk-5LLZSX7I.js → chunk-XHHX63PY.js} +3 -3
  116. package/dist/{chunk-NEWGYFKC.js → chunk-XYEGVQST.js} +7 -7
  117. package/dist/{chunk-4S5XVFDV.js → chunk-Y32CL7XZ.js} +1 -1
  118. package/dist/{chunk-2BJZFA7X.js → chunk-YIAJOV2X.js} +3 -3
  119. package/dist/{chunk-D3QGBMO3.js → chunk-YZVAAY6B.js} +1 -1
  120. package/dist/{chunk-2TEX3APZ.js → chunk-ZGZ2L3QN.js} +5 -5
  121. package/dist/{chunk-N3C3D4AV.js → chunk-ZS27XXDA.js} +4 -4
  122. package/dist/{codex-app-cards-switch-3FAIEEB2.js → codex-app-cards-switch-CTAOTOCH.js} +11 -11
  123. package/dist/{codex-desktop-launch-LHMHRVGF.js → codex-desktop-launch-2DZVA5C7.js} +1 -1
  124. package/dist/{codex-session-launch-MXUBSTL2.js → codex-session-launch-TMOSTWEH.js} +18 -18
  125. package/dist/{config-MZDRETL2.js → config-OV6WLZXO.js} +3 -3
  126. package/dist/{global-upgrade-ZDENZA42.js → global-upgrade-FI42NJNL.js} +10 -10
  127. package/dist/{identity-YZRDJOGY.js → identity-PCA25OI5.js} +4 -4
  128. package/dist/{live-capabilities-KSQDWVT6.js → live-capabilities-CYFXHTOI.js} +5 -5
  129. package/dist/{paths-DYZZBVYI.js → paths-4YFDMUK6.js} +3 -3
  130. package/dist/{reapply-L3AI5KJH.js → reapply-PBQ46BPS.js} +27 -27
  131. package/dist/src/index.js +28 -28
  132. package/dist/{upgrade-lock-X7F2OFYB.js → upgrade-lock-22J2AMVY.js} +4 -4
  133. package/dist/{usage-TKZALYXF.js → usage-7KTINNRK.js} +3 -3
  134. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-JXE4UQFJ.js";
3
+ } from "./chunk-SN22OXY3.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-4S5XVFDV.js";
6
+ } from "./chunk-Y32CL7XZ.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -13,13 +13,13 @@ import {
13
13
  hookBinaryNameOf,
14
14
  isProtectedByScope,
15
15
  registerHookEntry
16
- } from "./chunk-UOUUTDWF.js";
16
+ } from "./chunk-B2RDWRKR.js";
17
17
  import {
18
18
  CURSOR_GATE_EVENTS,
19
19
  HOOK_BUDGETS,
20
20
  HOOK_LOCATOR_BINARY,
21
21
  hookCommandHoldBudget
22
- } from "./chunk-WG67W43Y.js";
22
+ } from "./chunk-L4THAI7Q.js";
23
23
 
24
24
  // src/diagnostics/bridge.ts
25
25
  import { execFileSync } from "child_process";
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-CXZAKS7S.js";
7
+ } from "./chunk-IBULUTHA.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-TTTK44RK.js";
10
+ } from "./chunk-2KVELJZX.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {
@@ -4,24 +4,24 @@ import {
4
4
  outcomeOfFailedAsk,
5
5
  reportMachineDenial,
6
6
  storedWaitDeadline
7
- } from "./chunk-3UBYG4G7.js";
7
+ } from "./chunk-SSNLMIFR.js";
8
8
  import {
9
9
  isGatingMoment,
10
10
  recordKeylessMoment
11
- } from "./chunk-X2P3O4PX.js";
11
+ } from "./chunk-SVAGMJOH.js";
12
12
  import {
13
13
  isAdmitted,
14
14
  readAdmissionRules
15
- } from "./chunk-NEWGYFKC.js";
15
+ } from "./chunk-XYEGVQST.js";
16
16
  import {
17
17
  isDeferAnswer,
18
18
  oncePerSession
19
- } from "./chunk-AM3H6HWG.js";
19
+ } from "./chunk-VBY2AHSX.js";
20
20
  import {
21
21
  activeHookSource,
22
22
  activeIdentity,
23
23
  namedSource
24
- } from "./chunk-5TMGEQAC.js";
24
+ } from "./chunk-GGI6GTBL.js";
25
25
  import {
26
26
  DEFAULT_SESSION,
27
27
  UNNAMED_ACTION,
@@ -45,10 +45,10 @@ import {
45
45
  reportEvent,
46
46
  scopePathFor,
47
47
  settleQuestionsForToolUse
48
- } from "./chunk-FHPSVTS5.js";
48
+ } from "./chunk-7MRX5JYA.js";
49
49
  import {
50
50
  repoKeyFor
51
- } from "./chunk-M5XNFUXN.js";
51
+ } from "./chunk-C5EWCNJF.js";
52
52
  import {
53
53
  askUser,
54
54
  cancelQuestion,
@@ -65,20 +65,20 @@ import {
65
65
  waitForQuestion,
66
66
  waitsForThePhone,
67
67
  withdrawQuestion
68
- } from "./chunk-OIW3JAWH.js";
68
+ } from "./chunk-6BD5ZZLL.js";
69
69
  import {
70
70
  getMachineId
71
- } from "./chunk-YAMNJXCD.js";
71
+ } from "./chunk-JIC5PGNI.js";
72
72
  import {
73
73
  claudeConfigDir
74
- } from "./chunk-UOUUTDWF.js";
74
+ } from "./chunk-B2RDWRKR.js";
75
75
  import {
76
76
  getApiKey,
77
77
  getBaseUrl
78
- } from "./chunk-ONUAAXAW.js";
78
+ } from "./chunk-TBU4WXA4.js";
79
79
  import {
80
80
  NPX_LATEST_COMMAND
81
- } from "./chunk-TTTK44RK.js";
81
+ } from "./chunk-2KVELJZX.js";
82
82
  import {
83
83
  AGENT_QUESTION_STRATEGY,
84
84
  AGENT_QUESTION_TOOL,
@@ -133,7 +133,7 @@ import {
133
133
  terminalStaysLiveForTheCall,
134
134
  timeoutActionWithoutLocalPrompt,
135
135
  unansweredRefusalReason
136
- } from "./chunk-WG67W43Y.js";
136
+ } from "./chunk-L4THAI7Q.js";
137
137
 
138
138
  // src/terminal-answer-watch.ts
139
139
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-JTYZEP4Q.js";
7
+ } from "./chunk-S55CXRFD.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
@@ -14,24 +14,24 @@ import {
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-DJILSCSU.js";
17
+ } from "./chunk-ASEHRBD4.js";
18
18
  import {
19
19
  spawnClaude
20
20
  } from "./chunk-XHKBHWLX.js";
21
21
  import {
22
22
  repoKeyFor
23
- } from "./chunk-M5XNFUXN.js";
23
+ } from "./chunk-C5EWCNJF.js";
24
24
  import {
25
25
  isAskUserResponse,
26
26
  isDecisionStopped,
27
27
  isWaitForAnswerResponse,
28
28
  withdrawQuestion,
29
29
  writeDegraded
30
- } from "./chunk-OIW3JAWH.js";
30
+ } from "./chunk-6BD5ZZLL.js";
31
31
  import {
32
32
  callMcpTool,
33
33
  isRetryable
34
- } from "./chunk-Z5HLACZT.js";
34
+ } from "./chunk-QPJQAE2L.js";
35
35
  import {
36
36
  AGENT_QUESTION_DESCRIPTION_MAX,
37
37
  AGENT_QUESTION_HEADER_MAX,
@@ -52,7 +52,7 @@ import {
52
52
  parseCodexQuestions,
53
53
  planElicitationAsk,
54
54
  readElicitationFields
55
- } from "./chunk-WG67W43Y.js";
55
+ } from "./chunk-L4THAI7Q.js";
56
56
 
57
57
  // src/codex-question-owner.ts
58
58
  import { createHash } from "crypto";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureCodexTrustsPusharyHooks
3
- } from "./chunk-O6T3CLWT.js";
3
+ } from "./chunk-2B7YU4EK.js";
4
4
  import {
5
5
  hermesReceiptPaths,
6
6
  hermesSetupPredatesThePluginFolder,
7
7
  installHermesPlugin,
8
8
  refreshHermesPluginFiles,
9
9
  shippedHermesPlugin
10
- } from "./chunk-I4RNLK5G.js";
10
+ } from "./chunk-OKZC4FHN.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-2TEX3APZ.js";
19
+ } from "./chunk-ZGZ2L3QN.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-CV56MBIZ.js";
31
+ } from "./chunk-2BDGGE2G.js";
32
32
  import {
33
33
  detectClaudeVersion
34
- } from "./chunk-UB7VUSSX.js";
34
+ } from "./chunk-MA6FJ7U3.js";
35
35
  import {
36
36
  addCompatibleHooks,
37
37
  compatibleConfigFile,
38
38
  compatibleInstructionsFile,
39
39
  hasCompatibleHooks
40
- } from "./chunk-5TMGEQAC.js";
40
+ } from "./chunk-GGI6GTBL.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-IEAABGST.js";
52
+ } from "./chunk-42RQG2VG.js";
53
53
  import {
54
54
  CLAUDE_HOOK_BINARY,
55
55
  CLAUDE_HOOK_EVENTS,
@@ -95,7 +95,7 @@ import {
95
95
  renderAgentInstructions,
96
96
  supportedClaudeEvents,
97
97
  vscodePluginMcp
98
- } from "./chunk-UOUUTDWF.js";
98
+ } from "./chunk-B2RDWRKR.js";
99
99
  import {
100
100
  formatVersion,
101
101
  hookCommandsUseBareNames,
@@ -104,12 +104,12 @@ import {
104
104
  resolveGlobalBinary,
105
105
  writeFileAtomic,
106
106
  writeJsonAtomic
107
- } from "./chunk-2BJZFA7X.js";
107
+ } from "./chunk-YIAJOV2X.js";
108
108
  import {
109
109
  HOOK_COMPATIBLE_PROFILES,
110
110
  isCompatibleAgentType,
111
111
  isRecord
112
- } from "./chunk-WG67W43Y.js";
112
+ } from "./chunk-L4THAI7Q.js";
113
113
 
114
114
  // src/reapply.ts
115
115
  import { dirname, join } from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-UB7VUSSX.js";
3
+ } from "./chunk-MA6FJ7U3.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
- } from "./chunk-TO77OYLM.js";
6
+ } from "./chunk-BG4YJEFE.js";
7
7
  import {
8
8
  readGlobalPrefixAsync,
9
9
  resolveGlobalBinary,
@@ -13,10 +13,10 @@ import {
13
13
  resolvePackageVersionFromBinary,
14
14
  resolvePathBinary,
15
15
  resolvePathBinaryAsync
16
- } from "./chunk-2BJZFA7X.js";
16
+ } from "./chunk-YIAJOV2X.js";
17
17
  import {
18
18
  MANAGED_PROVIDERS
19
- } from "./chunk-WG67W43Y.js";
19
+ } from "./chunk-L4THAI7Q.js";
20
20
 
21
21
  // src/live-capabilities.ts
22
22
  import { homedir } from "os";
@@ -6,18 +6,18 @@ import {
6
6
  McpToolError,
7
7
  SubscriptionRequiredError,
8
8
  callMcpTool
9
- } from "./chunk-Z5HLACZT.js";
9
+ } from "./chunk-QPJQAE2L.js";
10
10
  import {
11
11
  installNetworkDefaults,
12
12
  isNetworkFailure
13
- } from "./chunk-JNCD2ZG3.js";
13
+ } from "./chunk-NDLOWIYO.js";
14
14
  import {
15
15
  clientReportClaims
16
- } from "./chunk-UOUUTDWF.js";
16
+ } from "./chunk-B2RDWRKR.js";
17
17
  import {
18
18
  getApiKey,
19
19
  getBaseUrl
20
- } from "./chunk-ONUAAXAW.js";
20
+ } from "./chunk-TBU4WXA4.js";
21
21
  import {
22
22
  ASK_AGENT_NAME_MAX,
23
23
  CLIENT_REPORT_PATH,
@@ -26,7 +26,7 @@ import {
26
26
  TOOL_FAILURE_CODES,
27
27
  degradedLine,
28
28
  truncateLine
29
- } from "./chunk-WG67W43Y.js";
29
+ } from "./chunk-L4THAI7Q.js";
30
30
 
31
31
  // src/api.ts
32
32
  import { randomUUID } from "crypto";
@@ -4,23 +4,23 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-CXZAKS7S.js";
7
+ } from "./chunk-IBULUTHA.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-YAMNJXCD.js";
10
+ } from "./chunk-JIC5PGNI.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-UOUUTDWF.js";
13
+ } from "./chunk-B2RDWRKR.js";
14
14
  import {
15
15
  readJsonSafe,
16
16
  resolveGlobalBinary,
17
17
  writeFileAtomic,
18
18
  writeJsonAtomic,
19
19
  writeJsonAtomicDurable
20
- } from "./chunk-2BJZFA7X.js";
20
+ } from "./chunk-YIAJOV2X.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-ONUAAXAW.js";
23
+ } from "./chunk-TBU4WXA4.js";
24
24
  import {
25
25
  CLI_PACKAGE_NAMES,
26
26
  cmdShimScriptOf,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-ZVU6WMMU.js";
31
31
  import {
32
32
  isRecord
33
- } from "./chunk-WG67W43Y.js";
33
+ } from "./chunk-L4THAI7Q.js";
34
34
 
35
35
  // src/daemon-lifecycle.ts
36
36
  import { dirname, join, win32 as win32Path } from "path";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-UOUUTDWF.js";
6
+ } from "./chunk-B2RDWRKR.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
10
- } from "./chunk-2BJZFA7X.js";
10
+ } from "./chunk-YIAJOV2X.js";
11
11
  import {
12
12
  CLI_PACKAGE_NAMES,
13
13
  POSIX_GLOBAL_ROOT_SEGMENTS,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZVU6WMMU.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-WG67W43Y.js";
20
+ } from "./chunk-L4THAI7Q.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeJsonAtomicDurable
3
- } from "./chunk-2BJZFA7X.js";
3
+ } from "./chunk-YIAJOV2X.js";
4
4
 
5
5
  // src/transcript-recipient-pin.ts
6
6
  import { existsSync, mkdirSync, readFileSync, rmSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  repoKeyFor
3
- } from "./chunk-M5XNFUXN.js";
3
+ } from "./chunk-C5EWCNJF.js";
4
4
  import {
5
5
  cancelQuestion,
6
6
  clientErrorKindOf,
@@ -8,33 +8,33 @@ import {
8
8
  reportClientError,
9
9
  sendNotification,
10
10
  waitForAnswer
11
- } from "./chunk-OIW3JAWH.js";
11
+ } from "./chunk-6BD5ZZLL.js";
12
12
  import {
13
13
  withRetry
14
- } from "./chunk-Z5HLACZT.js";
14
+ } from "./chunk-QPJQAE2L.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-YAMNJXCD.js";
17
+ } from "./chunk-JIC5PGNI.js";
18
18
  import {
19
19
  reportedInstallSource
20
- } from "./chunk-NPBPH7KI.js";
20
+ } from "./chunk-FEF3ILT6.js";
21
21
  import {
22
22
  IDLE_PROMPT_NOTIFICATION,
23
23
  NOTIFICATION_PUSH_TYPES,
24
24
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
25
25
  canonicalJson,
26
26
  claudeConfigDir
27
- } from "./chunk-UOUUTDWF.js";
27
+ } from "./chunk-B2RDWRKR.js";
28
28
  import {
29
29
  compareVersion,
30
30
  parseVersion,
31
31
  writeFileAtomic,
32
32
  writeJsonAtomicDurable
33
- } from "./chunk-2BJZFA7X.js";
33
+ } from "./chunk-YIAJOV2X.js";
34
34
  import {
35
35
  getApiKey,
36
36
  getBaseUrl
37
- } from "./chunk-ONUAAXAW.js";
37
+ } from "./chunk-TBU4WXA4.js";
38
38
  import {
39
39
  ACTION_BODY_MAX,
40
40
  AGENTS,
@@ -76,7 +76,7 @@ import {
76
76
  toToolLookup,
77
77
  truncateLine,
78
78
  unansweredRefusalReason
79
- } from "./chunk-WG67W43Y.js";
79
+ } from "./chunk-L4THAI7Q.js";
80
80
 
81
81
  // ../hook-mapping/src/describe.ts
82
82
  import { isAbsolute, relative, resolve } from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-Z5HLACZT.js";
3
+ } from "./chunk-QPJQAE2L.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-TTTK44RK.js";
6
+ } from "./chunk-2KVELJZX.js";
7
7
 
8
8
  // src/mcp-stdio-bridge.ts
9
9
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-RRMRP62I.js";
15
+ } from "./chunk-J2PAQ3HF.js";
16
16
  import {
17
17
  humanIsTty,
18
18
  writeHuman
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-FO3MDD26.js";
25
25
  import {
26
26
  reportedInstallSource
27
- } from "./chunk-NPBPH7KI.js";
27
+ } from "./chunk-FEF3ILT6.js";
28
28
  import {
29
29
  NPX_LATEST_COMMAND
30
- } from "./chunk-TTTK44RK.js";
30
+ } from "./chunk-2KVELJZX.js";
31
31
  import {
32
32
  NO_PAIRING_COMPUTER,
33
33
  PAIR_TTL_SECONDS
34
- } from "./chunk-WG67W43Y.js";
34
+ } from "./chunk-L4THAI7Q.js";
35
35
 
36
36
  // src/onboarding.ts
37
37
  import qrcodeTerminal from "qrcode-terminal";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-ONUAAXAW.js";
12
+ } from "./chunk-TBU4WXA4.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-UOUUTDWF.js";
3
+ } from "./chunk-B2RDWRKR.js";
4
4
  import {
5
5
  readJsonSafe
6
- } from "./chunk-2BJZFA7X.js";
6
+ } from "./chunk-YIAJOV2X.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-WG67W43Y.js";
9
+ } from "./chunk-L4THAI7Q.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -4,7 +4,7 @@ import {
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted,
6
6
  writeFileAtomic
7
- } from "./chunk-2BJZFA7X.js";
7
+ } from "./chunk-YIAJOV2X.js";
8
8
  import {
9
9
  cmdShimScriptOf
10
10
  } from "./chunk-ZVU6WMMU.js";
@@ -15,7 +15,7 @@ import {
15
15
  HOOK_LOCATOR_BINARY,
16
16
  PRETOOLUSE_GATED_TOOLS,
17
17
  withHookHoldBudget
18
- } from "./chunk-WG67W43Y.js";
18
+ } from "./chunk-L4THAI7Q.js";
19
19
 
20
20
  // src/setup/paths.ts
21
21
  import { createHash as createHash2 } from "crypto";
@@ -795,7 +795,7 @@ You have Pushary MCP tools that reach the user on their phone. Use them proactiv
795
795
  - Ask once, on one channel. If you also have a built-in way to prompt the user, use that or \`ask_user\` for a given question, never both. \`ask_user\` is the one that reaches the user when they are away from this machine, so prefer it. Raising both strands the user in whichever prompt you are not waiting on.
796
796
  - Honor authorization already granted in this session. Ask before a risky or irreversible action outside that authorization, or when an enforced host policy requires it. Do not ask again for an already authorized step, and never bypass an enforced gate. When a Pushary hook result says the user approved a specific command after a denial, rerunning that exact command is the approved path and not a bypass of that gate.
797
797
  - 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.
798
- - 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, and decide the rest on your recommendation.
798
+ - 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.
799
799
  - 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.
800
800
  - 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.
801
801
  - Confirm notifications can offer lock-screen actions; arbitrary choices and text open the app. The Mac notch handles personal account questions, not Partner customer enrollment.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFile
3
- } from "./chunk-2BJZFA7X.js";
3
+ } from "./chunk-YIAJOV2X.js";
4
4
 
5
5
  // src/claude-native-install.ts
6
6
  import { accessSync, constants } from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  readJsonSafe,
3
3
  writeJsonAtomic
4
- } from "./chunk-2BJZFA7X.js";
4
+ } from "./chunk-YIAJOV2X.js";
5
5
  import {
6
6
  configFilePath
7
- } from "./chunk-ONUAAXAW.js";
7
+ } from "./chunk-TBU4WXA4.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-WG67W43Y.js";
10
+ } from "./chunk-L4THAI7Q.js";
11
11
 
12
12
  // src/diagnostics/service-runtime.ts
13
13
  var unescapeXml = (value) => value.replaceAll("&quot;", '"').replaceAll("&apos;", "'").replaceAll("&lt;", "<").replaceAll("&gt;", ">").replaceAll("&amp;", "&");
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-WG67W43Y.js";
4
+ } from "./chunk-L4THAI7Q.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-RRMRP62I.js";
3
+ } from "./chunk-J2PAQ3HF.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-C6FQ4YST.js";
6
+ } from "./chunk-OUYFUUWB.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-FJZSJZCT.js";
10
+ } from "./chunk-EMT7I74E.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-KZERVKTD.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-TTTK44RK.js";
16
+ } from "./chunk-2KVELJZX.js";
17
17
 
18
18
  // src/setup/closing.ts
19
19
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote
4
- } from "./chunk-WG67W43Y.js";
4
+ } from "./chunk-L4THAI7Q.js";
5
5
 
6
6
  // src/repo.ts
7
7
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readMacAppAgentKey
3
- } from "./chunk-J4TQYGHU.js";
3
+ } from "./chunk-UNEJNC6X.js";
4
4
  import {
5
5
  API_KEYS_PATH
6
- } from "./chunk-C6FQ4YST.js";
6
+ } from "./chunk-OUYFUUWB.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-CXZAKS7S.js";
16
+ } from "./chunk-IBULUTHA.js";
17
17
  import {
18
18
  absoluteUrl
19
- } from "./chunk-LNSCANYY.js";
19
+ } from "./chunk-VCMDY6YL.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-WG67W43Y.js";
22
+ } from "./chunk-L4THAI7Q.js";
23
23
 
24
24
  // src/key-revocation.ts
25
25
  var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";