@pushary/agent-hooks 1.2.0 → 1.3.0

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 (80) hide show
  1. package/data/SKILL.md +20 -8
  2. package/data/cursor-plugin/skills/pushary/SKILL.md +19 -7
  3. package/data/vscode-plugin/skills/pushary/SKILL.md +19 -7
  4. package/dist/bin/pushary-bell-hook.js +18 -18
  5. package/dist/bin/pushary-bell.js +6 -6
  6. package/dist/bin/pushary-claude.js +18 -18
  7. package/dist/bin/pushary-clean.js +19 -19
  8. package/dist/bin/pushary-codex-bridge.js +10 -10
  9. package/dist/bin/pushary-codex-hook.js +22 -22
  10. package/dist/bin/pushary-codex.js +6 -6
  11. package/dist/bin/pushary-connect.js +6 -6
  12. package/dist/bin/pushary-cowork.js +3 -3
  13. package/dist/bin/pushary-daemon.js +22 -22
  14. package/dist/bin/pushary-disconnect.js +10 -10
  15. package/dist/bin/pushary-doctor.js +20 -20
  16. package/dist/bin/pushary-elicitation-hook.js +17 -17
  17. package/dist/bin/pushary-gemini-bridge.js +9 -9
  18. package/dist/bin/pushary-gemini-hook.js +19 -19
  19. package/dist/bin/pushary-hook.js +23 -23
  20. package/dist/bin/pushary-login.js +7 -7
  21. package/dist/bin/pushary-logout.js +4 -4
  22. package/dist/bin/pushary-mode.js +3 -3
  23. package/dist/bin/pushary-notification-hook.js +20 -20
  24. package/dist/bin/pushary-opencode-hook.js +19 -19
  25. package/dist/bin/pushary-permission-denied-hook.js +24 -24
  26. package/dist/bin/pushary-permission-hook.js +23 -23
  27. package/dist/bin/pushary-post-hook.js +20 -20
  28. package/dist/bin/pushary-prompt-hook.js +20 -20
  29. package/dist/bin/pushary-session-end-hook.js +20 -20
  30. package/dist/bin/pushary-session-start-hook.js +22 -22
  31. package/dist/bin/pushary-setup.js +26 -26
  32. package/dist/bin/pushary-stats.js +2 -2
  33. package/dist/bin/pushary-status.js +10 -10
  34. package/dist/bin/pushary-stop-hook.js +20 -20
  35. package/dist/bin/pushary-stopfailure-hook.js +20 -20
  36. package/dist/bin/pushary-transcript-register.js +16 -16
  37. package/dist/bin/pushary-transcripts.js +4 -4
  38. package/dist/bin/pushary-upgrade.js +14 -14
  39. package/dist/bin/pushary-wait.js +3 -3
  40. package/dist/{chunk-VDOKRCWM.js → chunk-2PLEJ7SY.js} +1 -1
  41. package/dist/{chunk-LAXU5U75.js → chunk-3AIFWTVB.js} +2 -2
  42. package/dist/{chunk-CG4ZUQ5O.js → chunk-4V24U44H.js} +2 -2
  43. package/dist/{chunk-KHTBSSY5.js → chunk-A2URMNFM.js} +1 -1
  44. package/dist/{chunk-BXLFUTSD.js → chunk-A5ZWYQFV.js} +3 -3
  45. package/dist/{chunk-6QCN5XQE.js → chunk-B3S4SF3D.js} +1 -1
  46. package/dist/{chunk-VE2ZWUML.js → chunk-BL4SQNO6.js} +1 -1
  47. package/dist/{chunk-YT6H7BB5.js → chunk-BNDHXPTQ.js} +5 -5
  48. package/dist/{chunk-WC5PYFDK.js → chunk-BYGEZI7B.js} +1 -1
  49. package/dist/{chunk-RN6ZWIAC.js → chunk-DON24PNT.js} +1 -1
  50. package/dist/{chunk-C3WH44MH.js → chunk-DVO4SZMJ.js} +3 -3
  51. package/dist/{chunk-LWKVEMVK.js → chunk-E7WBNGJS.js} +1 -1
  52. package/dist/{chunk-7ERWAYVV.js → chunk-EJZCV5G4.js} +1 -1
  53. package/dist/{chunk-OGSRCIOD.js → chunk-EKQAKSGI.js} +1 -1
  54. package/dist/{chunk-PCT2MYG5.js → chunk-EU6JH7KU.js} +6 -6
  55. package/dist/{chunk-LGO7U23Z.js → chunk-EYMMU5HC.js} +1 -1
  56. package/dist/{chunk-JOTV75GX.js → chunk-FGVNU7XD.js} +1 -1
  57. package/dist/{chunk-UWP66NDF.js → chunk-IAEVVUXO.js} +1 -1
  58. package/dist/{chunk-U42ES5U3.js → chunk-JYEGOYQC.js} +1 -1
  59. package/dist/{chunk-7GH3D6YG.js → chunk-K4TAUYUJ.js} +3 -3
  60. package/dist/{chunk-KZPUARCU.js → chunk-K7UIAE7I.js} +1 -1
  61. package/dist/{chunk-YK3OU4E2.js → chunk-KPNGPRYU.js} +4 -4
  62. package/dist/{chunk-CVCSUAXI.js → chunk-KS4P6F3R.js} +3 -3
  63. package/dist/{chunk-KEVJ2WW6.js → chunk-MU275U5A.js} +1 -1
  64. package/dist/{chunk-4UT44NRP.js → chunk-N43EQPJK.js} +1 -1
  65. package/dist/{chunk-ERP7FOFQ.js → chunk-OE6U2AXM.js} +3 -3
  66. package/dist/{chunk-ZFQPSGPO.js → chunk-POAFXBNH.js} +1 -1
  67. package/dist/{chunk-PX53RT6Q.js → chunk-RHLUJE4H.js} +1 -1
  68. package/dist/{chunk-VIQ7CCWW.js → chunk-RVDHN2TJ.js} +2 -2
  69. package/dist/{chunk-DRAATYTY.js → chunk-UVXNYYHG.js} +5 -5
  70. package/dist/{chunk-7DQVIIHX.js → chunk-WPJS3OZH.js} +13 -5
  71. package/dist/{chunk-5AATCXJN.js → chunk-WXXDHGTZ.js} +4 -4
  72. package/dist/{chunk-KODKICKJ.js → chunk-X3KIGNIP.js} +6 -6
  73. package/dist/{chunk-JQJB7BZE.js → chunk-XBJW4MV5.js} +1 -1
  74. package/dist/{chunk-7TDQ7KDY.js → chunk-XBO42HKH.js} +1 -1
  75. package/dist/{chunk-W6XVHP4U.js → chunk-XEXOHUJ6.js} +4 -4
  76. package/dist/{chunk-2DT7STR5.js → chunk-YF4JDCU4.js} +1 -1
  77. package/dist/{chunk-PX54KULQ.js → chunk-ZHL62DRA.js} +3 -3
  78. package/dist/{reapply-47AMVIXN.js → reapply-FUCAKR6Z.js} +8 -8
  79. package/dist/src/index.js +12 -12
  80. package/package.json +1 -1
package/data/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pushary
3
- version: 0.10.0
3
+ version: 0.11.0
4
4
  description: Push notifications and human-in-the-loop for AI agents. Use this whenever a running agent needs a human and nobody is at the terminal, such as before an irreversible or destructive action, before spending money, deploying, force-pushing or deleting, when blocked on a decision outside your authority, when running unattended and you hit a genuine ambiguity, when another skill's workflow says to confirm with the user, and when a long task finishes or fails with nobody watching. Also use it when the user says things like keep going and ping me on my phone if you need anything, notify me when my agent needs me, approve from my phone, ask me questions while I am away from the terminal, run this overnight, keep working while I am in a meeting, I am stepping away, do not wait for me, or wants a long task to run unattended. Send alerts when tasks finish or fail, ask questions (yes/no, multiple choice, or free text) via push, and get answers from their connected devices. Use these tools proactively - do not wait for the user to ask for notifications. Every question and answer is recorded, so an unattended run stays reviewable afterwards. Works with Claude Code, Codex, Cursor, VS Code, Windsurf, Hermes, Lovable, or any MCP client; no Claude Max subscription required. Pushary is a hosted service, $9.99/mo after a 3-day card-first trial.
5
5
  metadata:
6
6
  hermes:
@@ -125,7 +125,7 @@ For example, in a repository with two apps and no test runner in the package:
125
125
  - **Ask at the boundary, not once for each item.** Ask about deleting files. Do not ask about each file.
126
126
  - **The limit of three notifications counts pushes.** Questions you ask in the terminal are free and do not count.
127
127
 
128
- `propose_scope` records the boundary this work produces. Read its section below first. What it can enforce depends on whether this run changes files.
128
+ `propose_scope` records the boundary this work produces. It is a separate decision from notifying: see "When to Propose a Scope" below. What it can enforce depends on whether this run changes files.
129
129
 
130
130
  ## When to Use
131
131
 
@@ -147,17 +147,29 @@ For example, in a repository with two apps and no test runner in the package:
147
147
  - You need a name, path, value, or free-text decision
148
148
  - The options cannot be enumerated in advance
149
149
 
150
- **Propose a scope when:**
151
- - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
152
- - Call `propose_scope` once, before the work, not after
153
- - Skip it for a single quick edit; a scope prompt for one file is just noise
154
- - Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back, and tell the user what it says
155
-
156
150
  **Do NOT notify when:**
157
151
  - The task is trivial or single-step
158
152
  - The question can be answered from context without user input
159
153
  - You already sent 3 notifications for the current task (unless the user explicitly asked for more)
160
154
 
155
+ ## When to Propose a Scope
156
+
157
+ This is a separate decision from notifying. The rules above do not apply to it. A scope is not a notification, and the limit of three does not count it.
158
+
159
+ **Propose a scope when:**
160
+ - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
161
+ - The run touches more than one file, or you cannot name every file before you start
162
+ - Call `propose_scope` once, before the first edit, not after
163
+
164
+ **Do not propose a scope when:**
165
+ - The run changes one file and you already know which one
166
+ - The user named the exact files in this turn, so the boundary is already agreed
167
+ - The run changes no files and records no promise worth keeping
168
+
169
+ "Trivial" here means one file. It does not mean one task. A refactor across modules, a rename through several files, a migration, or wiring one option through the code all need a scope. Each edit can be small and the run still needs a boundary.
170
+
171
+ Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back. Tell the user what it says.
172
+
161
173
  ## Setup
162
174
 
163
175
  **Look at the machine first. Do not guess the install path.** Run these. Each one is read-only and fast. Run them as separate commands.
@@ -118,7 +118,7 @@ For example, in a repository with two apps and no test runner in the package:
118
118
  - **Ask at the boundary, not once for each item.** Ask about deleting files. Do not ask about each file.
119
119
  - **The limit of three notifications counts pushes.** Questions you ask in the terminal are free and do not count.
120
120
 
121
- `propose_scope` records the boundary this work produces. Read its section below first. What it can enforce depends on whether this run changes files.
121
+ `propose_scope` records the boundary this work produces. It is a separate decision from notifying: see "When to Propose a Scope" below. What it can enforce depends on whether this run changes files.
122
122
 
123
123
  ## When to Use
124
124
 
@@ -140,17 +140,29 @@ For example, in a repository with two apps and no test runner in the package:
140
140
  - You need a name, path, value, or free-text decision
141
141
  - The options cannot be enumerated in advance
142
142
 
143
- **Propose a scope when:**
144
- - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
145
- - Call `propose_scope` once, before the work, not after
146
- - Skip it for a single quick edit; a scope prompt for one file is just noise
147
- - Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back, and tell the user what it says
148
-
149
143
  **Do NOT notify when:**
150
144
  - The task is trivial or single-step
151
145
  - The question can be answered from context without user input
152
146
  - You already sent 3 notifications for the current task (unless the user explicitly asked for more)
153
147
 
148
+ ## When to Propose a Scope
149
+
150
+ This is a separate decision from notifying. The rules above do not apply to it. A scope is not a notification, and the limit of three does not count it.
151
+
152
+ **Propose a scope when:**
153
+ - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
154
+ - The run touches more than one file, or you cannot name every file before you start
155
+ - Call `propose_scope` once, before the first edit, not after
156
+
157
+ **Do not propose a scope when:**
158
+ - The run changes one file and you already know which one
159
+ - The user named the exact files in this turn, so the boundary is already agreed
160
+ - The run changes no files and records no promise worth keeping
161
+
162
+ "Trivial" here means one file. It does not mean one task. A refactor across modules, a rename through several files, a migration, or wiring one option through the code all need a scope. Each edit can be small and the run still needs a boundary.
163
+
164
+ Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back. Tell the user what it says.
165
+
154
166
  ## Setup
155
167
 
156
168
  **Look at the machine first. Do not guess the install path.** Run these. Each one is read-only and fast. Run them as separate commands.
@@ -118,7 +118,7 @@ For example, in a repository with two apps and no test runner in the package:
118
118
  - **Ask at the boundary, not once for each item.** Ask about deleting files. Do not ask about each file.
119
119
  - **The limit of three notifications counts pushes.** Questions you ask in the terminal are free and do not count.
120
120
 
121
- `propose_scope` records the boundary this work produces. Read its section below first. What it can enforce depends on whether this run changes files.
121
+ `propose_scope` records the boundary this work produces. It is a separate decision from notifying: see "When to Propose a Scope" below. What it can enforce depends on whether this run changes files.
122
122
 
123
123
  ## When to Use
124
124
 
@@ -140,17 +140,29 @@ For example, in a repository with two apps and no test runner in the package:
140
140
  - You need a name, path, value, or free-text decision
141
141
  - The options cannot be enumerated in advance
142
142
 
143
- **Propose a scope when:**
144
- - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
145
- - Call `propose_scope` once, before the work, not after
146
- - Skip it for a single quick edit; a scope prompt for one file is just noise
147
- - Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back, and tell the user what it says
148
-
149
143
  **Do NOT notify when:**
150
144
  - The task is trivial or single-step
151
145
  - The question can be answered from context without user input
152
146
  - You already sent 3 notifications for the current task (unless the user explicitly asked for more)
153
147
 
148
+ ## When to Propose a Scope
149
+
150
+ This is a separate decision from notifying. The rules above do not apply to it. A scope is not a notification, and the limit of three does not count it.
151
+
152
+ **Propose a scope when:**
153
+ - This run changes files with `Edit`, `Write` or `MultiEdit`, and the file boundary is not yet agreed
154
+ - The run touches more than one file, or you cannot name every file before you start
155
+ - Call `propose_scope` once, before the first edit, not after
156
+
157
+ **Do not propose a scope when:**
158
+ - The run changes one file and you already know which one
159
+ - The user named the exact files in this turn, so the boundary is already agreed
160
+ - The run changes no files and records no promise worth keeping
161
+
162
+ "Trivial" here means one file. It does not mean one task. A refactor across modules, a rename through several files, a migration, or wiring one option through the code all need a scope. Each edit can be small and the run still needs a boundary.
163
+
164
+ Put a boundary that is not a file path in `promises`, never in `allowedPaths`. Read the `enforces` field that comes back. Tell the user what it says.
165
+
154
166
  ## Setup
155
167
 
156
168
  **Look at the machine first. Do not guess the install path.** Run these. Each one is read-only and fast. Run them as separate commands.
@@ -1,35 +1,35 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  handleBell
4
- } from "../chunk-7ERWAYVV.js";
4
+ } from "../chunk-EJZCV5G4.js";
5
5
  import {
6
6
  readHookInput
7
- } from "../chunk-4UT44NRP.js";
8
- import "../chunk-PCT2MYG5.js";
7
+ } from "../chunk-N43EQPJK.js";
8
+ import "../chunk-EU6JH7KU.js";
9
9
  import "../chunk-YKLCWWEI.js";
10
- import "../chunk-W6XVHP4U.js";
11
- import "../chunk-WC5PYFDK.js";
12
- import "../chunk-U42ES5U3.js";
13
- import "../chunk-C3WH44MH.js";
14
- import "../chunk-CVCSUAXI.js";
15
- import "../chunk-ERP7FOFQ.js";
16
- import "../chunk-VDOKRCWM.js";
17
- import "../chunk-6QCN5XQE.js";
10
+ import "../chunk-XEXOHUJ6.js";
11
+ import "../chunk-BYGEZI7B.js";
12
+ import "../chunk-JYEGOYQC.js";
13
+ import "../chunk-DVO4SZMJ.js";
14
+ import "../chunk-KS4P6F3R.js";
15
+ import "../chunk-OE6U2AXM.js";
16
+ import "../chunk-2PLEJ7SY.js";
17
+ import "../chunk-B3S4SF3D.js";
18
18
  import "../chunk-EQRS3SGM.js";
19
- import "../chunk-KHTBSSY5.js";
19
+ import "../chunk-A2URMNFM.js";
20
20
  import "../chunk-XHKBHWLX.js";
21
- import "../chunk-UWP66NDF.js";
22
- import "../chunk-KZPUARCU.js";
23
- import "../chunk-PX53RT6Q.js";
21
+ import "../chunk-IAEVVUXO.js";
22
+ import "../chunk-K7UIAE7I.js";
23
+ import "../chunk-RHLUJE4H.js";
24
24
  import "../chunk-GMXKITVA.js";
25
25
  import "../chunk-DINDL2CF.js";
26
- import "../chunk-7TDQ7KDY.js";
26
+ import "../chunk-XBO42HKH.js";
27
27
  import "../chunk-7QLSKOSU.js";
28
28
  import "../chunk-KZERVKTD.js";
29
- import "../chunk-ZFQPSGPO.js";
29
+ import "../chunk-POAFXBNH.js";
30
30
  import "../chunk-4LL6LG5X.js";
31
31
  import "../chunk-2UMNXADU.js";
32
- import "../chunk-7DQVIIHX.js";
32
+ import "../chunk-WPJS3OZH.js";
33
33
 
34
34
  // bin/pushary-bell-hook.ts
35
35
  var main = async () => {
@@ -5,15 +5,15 @@ import {
5
5
  liveAgentCount,
6
6
  ring,
7
7
  upgradeThreshold
8
- } from "../chunk-7ERWAYVV.js";
8
+ } from "../chunk-EJZCV5G4.js";
9
9
  import {
10
10
  addBellHooks,
11
11
  bellInstalled,
12
12
  removeBellHooks
13
- } from "../chunk-VDOKRCWM.js";
13
+ } from "../chunk-2PLEJ7SY.js";
14
14
  import {
15
15
  claudeSettings
16
- } from "../chunk-PX53RT6Q.js";
16
+ } from "../chunk-RHLUJE4H.js";
17
17
  import {
18
18
  createIo
19
19
  } from "../chunk-5RUIFDTP.js";
@@ -25,18 +25,18 @@ import {
25
25
  parseFlags
26
26
  } from "../chunk-GMXKITVA.js";
27
27
  import "../chunk-DINDL2CF.js";
28
- import "../chunk-7TDQ7KDY.js";
28
+ import "../chunk-XBO42HKH.js";
29
29
  import "../chunk-7QLSKOSU.js";
30
30
  import {
31
31
  EXIT
32
32
  } from "../chunk-KZERVKTD.js";
33
- import "../chunk-ZFQPSGPO.js";
33
+ import "../chunk-POAFXBNH.js";
34
34
  import {
35
35
  readJsonSafe,
36
36
  writeJsonAtomic
37
37
  } from "../chunk-4LL6LG5X.js";
38
38
  import "../chunk-2UMNXADU.js";
39
- import "../chunk-7DQVIIHX.js";
39
+ import "../chunk-WPJS3OZH.js";
40
40
 
41
41
  // bin/pushary-bell.ts
42
42
  exitOnHelpFlag("bell");
@@ -8,7 +8,7 @@ import {
8
8
  describeIdleWindow,
9
9
  startProcessOwnership,
10
10
  withSpawnProcessOwnership
11
- } from "../chunk-KEVJ2WW6.js";
11
+ } from "../chunk-MU275U5A.js";
12
12
  import {
13
13
  isDeferAnswer
14
14
  } from "../chunk-YHG74UFF.js";
@@ -17,24 +17,24 @@ import {
17
17
  loadSessionKey,
18
18
  registerTranscript,
19
19
  registeredTranscriptEnabled
20
- } from "../chunk-PCT2MYG5.js";
20
+ } from "../chunk-EU6JH7KU.js";
21
21
  import "../chunk-YKLCWWEI.js";
22
- import "../chunk-W6XVHP4U.js";
23
- import "../chunk-WC5PYFDK.js";
24
- import "../chunk-U42ES5U3.js";
25
- import "../chunk-C3WH44MH.js";
22
+ import "../chunk-XEXOHUJ6.js";
23
+ import "../chunk-BYGEZI7B.js";
24
+ import "../chunk-JYEGOYQC.js";
25
+ import "../chunk-DVO4SZMJ.js";
26
26
  import {
27
27
  ensureDaemonRunning
28
- } from "../chunk-CVCSUAXI.js";
29
- import "../chunk-ERP7FOFQ.js";
30
- import "../chunk-VDOKRCWM.js";
28
+ } from "../chunk-KS4P6F3R.js";
29
+ import "../chunk-OE6U2AXM.js";
30
+ import "../chunk-2PLEJ7SY.js";
31
31
  import {
32
32
  encryptRecord
33
- } from "../chunk-6QCN5XQE.js";
33
+ } from "../chunk-B3S4SF3D.js";
34
34
  import "../chunk-EQRS3SGM.js";
35
35
  import {
36
36
  transcriptsEnabled
37
- } from "../chunk-KHTBSSY5.js";
37
+ } from "../chunk-A2URMNFM.js";
38
38
  import {
39
39
  needsShell,
40
40
  spawnClaude
@@ -56,8 +56,8 @@ import {
56
56
  reportEvent,
57
57
  savePendingCommand,
58
58
  scopePathFor
59
- } from "../chunk-5AATCXJN.js";
60
- import "../chunk-UWP66NDF.js";
59
+ } from "../chunk-WXXDHGTZ.js";
60
+ import "../chunk-IAEVVUXO.js";
61
61
  import {
62
62
  DECISION_STOP_REASON,
63
63
  askUser,
@@ -70,16 +70,16 @@ import {
70
70
  } from "../chunk-LGXUGYUH.js";
71
71
  import {
72
72
  getMachineId
73
- } from "../chunk-KZPUARCU.js";
74
- import "../chunk-PX53RT6Q.js";
73
+ } from "../chunk-K7UIAE7I.js";
74
+ import "../chunk-RHLUJE4H.js";
75
75
  import "../chunk-GMXKITVA.js";
76
76
  import "../chunk-DINDL2CF.js";
77
- import "../chunk-7TDQ7KDY.js";
77
+ import "../chunk-XBO42HKH.js";
78
78
  import "../chunk-EYRGBYZG.js";
79
79
  import "../chunk-SAF6HGAA.js";
80
80
  import "../chunk-7QLSKOSU.js";
81
81
  import "../chunk-KZERVKTD.js";
82
- import "../chunk-ZFQPSGPO.js";
82
+ import "../chunk-POAFXBNH.js";
83
83
  import "../chunk-4LL6LG5X.js";
84
84
  import {
85
85
  getApiKey,
@@ -89,7 +89,7 @@ import {
89
89
  KILL_REASON,
90
90
  redactSecrets,
91
91
  resolveGate
92
- } from "../chunk-7DQVIIHX.js";
92
+ } from "../chunk-WPJS3OZH.js";
93
93
 
94
94
  // src/wrapper/localPassthrough.ts
95
95
  var SIGNAL_NUMBERS = {
@@ -5,14 +5,14 @@ import {
5
5
  createGuards,
6
6
  resolveHermesPython,
7
7
  runHermesPythonScript
8
- } from "../chunk-JOTV75GX.js";
8
+ } from "../chunk-FGVNU7XD.js";
9
9
  import "../chunk-KBITFQST.js";
10
10
  import {
11
11
  removeInstructionBlock,
12
12
  shortenHome,
13
13
  unregisterPluginLocation,
14
14
  vscodeSettingsTargets
15
- } from "../chunk-7GH3D6YG.js";
15
+ } from "../chunk-K4TAUYUJ.js";
16
16
  import {
17
17
  OPENCODE_PLUGIN_SIBLING,
18
18
  OPENCODE_PLUGIN_SIBLING_CONTENTS,
@@ -22,7 +22,7 @@ import {
22
22
  openCodePluginDir,
23
23
  openCodePluginFile,
24
24
  removeOpenCodeMcpServer
25
- } from "../chunk-LWKVEMVK.js";
25
+ } from "../chunk-E7WBNGJS.js";
26
26
  import {
27
27
  compatibleConfigFile,
28
28
  compatibleInstructionsFile,
@@ -30,37 +30,37 @@ import {
30
30
  compatiblePermissionRuleFile,
31
31
  removeCompatibleHooks,
32
32
  removeCompatibleMcpServer
33
- } from "../chunk-YT6H7BB5.js";
33
+ } from "../chunk-BNDHXPTQ.js";
34
34
  import {
35
35
  isClaudeMcpSnapshot,
36
36
  removeClaudeMcpServers,
37
37
  removePusharySettings,
38
38
  removePusharyToolPermissions,
39
39
  restoreClaudeMcpServer
40
- } from "../chunk-PX54KULQ.js";
40
+ } from "../chunk-ZHL62DRA.js";
41
41
  import {
42
42
  hookOwnerOf,
43
43
  isHookTakeoverReceipt,
44
44
  restoreHookTakeover,
45
45
  restoreMcpServer
46
- } from "../chunk-W6XVHP4U.js";
47
- import "../chunk-WC5PYFDK.js";
48
- import "../chunk-U42ES5U3.js";
46
+ } from "../chunk-XEXOHUJ6.js";
47
+ import "../chunk-BYGEZI7B.js";
48
+ import "../chunk-JYEGOYQC.js";
49
49
  import {
50
50
  pusharyHookExecutable
51
- } from "../chunk-C3WH44MH.js";
51
+ } from "../chunk-DVO4SZMJ.js";
52
52
  import {
53
53
  disableDaemonService
54
- } from "../chunk-CVCSUAXI.js";
54
+ } from "../chunk-KS4P6F3R.js";
55
55
  import {
56
56
  removeGeminiSettings
57
- } from "../chunk-ERP7FOFQ.js";
58
- import "../chunk-VDOKRCWM.js";
57
+ } from "../chunk-OE6U2AXM.js";
58
+ import "../chunk-2PLEJ7SY.js";
59
59
  import "../chunk-XHKBHWLX.js";
60
- import "../chunk-5AATCXJN.js";
61
- import "../chunk-UWP66NDF.js";
60
+ import "../chunk-WXXDHGTZ.js";
61
+ import "../chunk-IAEVVUXO.js";
62
62
  import "../chunk-LGXUGYUH.js";
63
- import "../chunk-KZPUARCU.js";
63
+ import "../chunk-K7UIAE7I.js";
64
64
  import {
65
65
  bridgeAgentKey,
66
66
  claudeJson,
@@ -89,7 +89,7 @@ import {
89
89
  restoreCodexHookTrust,
90
90
  vscodePluginDir,
91
91
  vscodePluginMcp
92
- } from "../chunk-PX53RT6Q.js";
92
+ } from "../chunk-RHLUJE4H.js";
93
93
  import {
94
94
  exitOnHelpFlag
95
95
  } from "../chunk-GOQHN2UH.js";
@@ -100,14 +100,14 @@ import {
100
100
  import "../chunk-DINDL2CF.js";
101
101
  import {
102
102
  removeClaudeAlias
103
- } from "../chunk-7TDQ7KDY.js";
103
+ } from "../chunk-XBO42HKH.js";
104
104
  import "../chunk-EYRGBYZG.js";
105
105
  import "../chunk-SAF6HGAA.js";
106
106
  import "../chunk-7QLSKOSU.js";
107
107
  import {
108
108
  EXIT
109
109
  } from "../chunk-KZERVKTD.js";
110
- import "../chunk-ZFQPSGPO.js";
110
+ import "../chunk-POAFXBNH.js";
111
111
  import "../chunk-4LL6LG5X.js";
112
112
  import "../chunk-2UMNXADU.js";
113
113
  import {
@@ -115,7 +115,7 @@ import {
115
115
  HOOK_COMPATIBLE_PROFILES,
116
116
  HOOK_LOCATOR_BINARY,
117
117
  isValidApiKey
118
- } from "../chunk-7DQVIIHX.js";
118
+ } from "../chunk-WPJS3OZH.js";
119
119
 
120
120
  // bin/pushary-clean.ts
121
121
  import { existsSync, readFileSync, copyFileSync, readdirSync } from "fs";
@@ -1,24 +1,24 @@
1
1
  #!/usr/bin/env node
2
- import "../chunk-CG4ZUQ5O.js";
2
+ import "../chunk-4V24U44H.js";
3
3
  import {
4
4
  LiveTranscriptRelay,
5
5
  liveSessionSleep,
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "../chunk-OGSRCIOD.js";
9
+ } from "../chunk-EKQAKSGI.js";
10
10
  import {
11
11
  SESSION_IDLE_TIMEOUT_MS,
12
12
  describeIdleWindow,
13
13
  idleDeadlinePassed,
14
14
  startProcessOwnership,
15
15
  withSpawnProcessOwnership
16
- } from "../chunk-KEVJ2WW6.js";
17
- import "../chunk-6QCN5XQE.js";
16
+ } from "../chunk-MU275U5A.js";
17
+ import "../chunk-B3S4SF3D.js";
18
18
  import "../chunk-EQRS3SGM.js";
19
19
  import {
20
20
  transcriptsEnabled
21
- } from "../chunk-KHTBSSY5.js";
21
+ } from "../chunk-A2URMNFM.js";
22
22
  import {
23
23
  spawnClaude
24
24
  } from "../chunk-XHKBHWLX.js";
@@ -28,18 +28,18 @@ import {
28
28
  } from "../chunk-LGXUGYUH.js";
29
29
  import {
30
30
  getMachineId
31
- } from "../chunk-KZPUARCU.js";
31
+ } from "../chunk-K7UIAE7I.js";
32
32
  import {
33
33
  resolveBinary
34
- } from "../chunk-PX53RT6Q.js";
35
- import "../chunk-7TDQ7KDY.js";
34
+ } from "../chunk-RHLUJE4H.js";
35
+ import "../chunk-XBO42HKH.js";
36
36
  import {
37
37
  callMcpTool
38
38
  } from "../chunk-EYRGBYZG.js";
39
39
  import "../chunk-SAF6HGAA.js";
40
40
  import "../chunk-7QLSKOSU.js";
41
41
  import "../chunk-KZERVKTD.js";
42
- import "../chunk-ZFQPSGPO.js";
42
+ import "../chunk-POAFXBNH.js";
43
43
  import "../chunk-4LL6LG5X.js";
44
44
  import {
45
45
  getApiKey,
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  parseAgentQuestion,
50
50
  parseAgentQuestionAnswers
51
- } from "../chunk-7DQVIIHX.js";
51
+ } from "../chunk-WPJS3OZH.js";
52
52
 
53
53
  // bin/pushary-codex-bridge.ts
54
54
  import { existsSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  takeHookHoldBudget
4
- } from "../chunk-LGO7U23Z.js";
4
+ } from "../chunk-EYMMU5HC.js";
5
5
  import {
6
6
  blockedActionFingerprint,
7
7
  codexCallKey,
@@ -12,30 +12,30 @@ import {
12
12
  recordBlockedActionHint,
13
13
  recordCodexCallDecision,
14
14
  userScope
15
- } from "../chunk-BXLFUTSD.js";
15
+ } from "../chunk-A5ZWYQFV.js";
16
16
  import {
17
17
  isGatingMoment,
18
18
  recordKeylessMoment
19
- } from "../chunk-2DT7STR5.js";
19
+ } from "../chunk-YF4JDCU4.js";
20
20
  import {
21
21
  readHookInput
22
- } from "../chunk-4UT44NRP.js";
22
+ } from "../chunk-N43EQPJK.js";
23
23
  import {
24
24
  denyReasonFrom,
25
25
  isDeferAnswer
26
26
  } from "../chunk-YHG74UFF.js";
27
- import "../chunk-PCT2MYG5.js";
27
+ import "../chunk-EU6JH7KU.js";
28
28
  import "../chunk-YKLCWWEI.js";
29
- import "../chunk-W6XVHP4U.js";
30
- import "../chunk-WC5PYFDK.js";
31
- import "../chunk-U42ES5U3.js";
32
- import "../chunk-C3WH44MH.js";
33
- import "../chunk-CVCSUAXI.js";
34
- import "../chunk-ERP7FOFQ.js";
35
- import "../chunk-VDOKRCWM.js";
36
- import "../chunk-6QCN5XQE.js";
29
+ import "../chunk-XEXOHUJ6.js";
30
+ import "../chunk-BYGEZI7B.js";
31
+ import "../chunk-JYEGOYQC.js";
32
+ import "../chunk-DVO4SZMJ.js";
33
+ import "../chunk-KS4P6F3R.js";
34
+ import "../chunk-OE6U2AXM.js";
35
+ import "../chunk-2PLEJ7SY.js";
36
+ import "../chunk-B3S4SF3D.js";
37
37
  import "../chunk-EQRS3SGM.js";
38
- import "../chunk-KHTBSSY5.js";
38
+ import "../chunk-A2URMNFM.js";
39
39
  import "../chunk-XHKBHWLX.js";
40
40
  import {
41
41
  CODEX_AGENT,
@@ -72,8 +72,8 @@ import {
72
72
  toCodexWire,
73
73
  toPolicyLookup,
74
74
  toPolicyLookups
75
- } from "../chunk-5AATCXJN.js";
76
- import "../chunk-UWP66NDF.js";
75
+ } from "../chunk-WXXDHGTZ.js";
76
+ import "../chunk-IAEVVUXO.js";
77
77
  import {
78
78
  DECISION_STOP_REASON,
79
79
  askUser,
@@ -88,18 +88,18 @@ import {
88
88
  } from "../chunk-LGXUGYUH.js";
89
89
  import {
90
90
  getMachineId
91
- } from "../chunk-KZPUARCU.js";
91
+ } from "../chunk-K7UIAE7I.js";
92
92
  import {
93
93
  canonicalJson
94
- } from "../chunk-PX53RT6Q.js";
94
+ } from "../chunk-RHLUJE4H.js";
95
95
  import "../chunk-GMXKITVA.js";
96
96
  import "../chunk-DINDL2CF.js";
97
- import "../chunk-7TDQ7KDY.js";
97
+ import "../chunk-XBO42HKH.js";
98
98
  import "../chunk-EYRGBYZG.js";
99
99
  import "../chunk-SAF6HGAA.js";
100
100
  import "../chunk-7QLSKOSU.js";
101
101
  import "../chunk-KZERVKTD.js";
102
- import "../chunk-ZFQPSGPO.js";
102
+ import "../chunk-POAFXBNH.js";
103
103
  import {
104
104
  writeFileAtomic
105
105
  } from "../chunk-4LL6LG5X.js";
@@ -118,7 +118,7 @@ import {
118
118
  hookWaitClamped,
119
119
  hookWaitDeadline,
120
120
  resolveGate
121
- } from "../chunk-7DQVIIHX.js";
121
+ } from "../chunk-WPJS3OZH.js";
122
122
 
123
123
  // bin/pushary-codex-hook.ts
124
124
  import { basename } from "path";
@@ -734,7 +734,7 @@ var decidePreToolUse = async (input) => {
734
734
  };
735
735
  var repairCodexHoldsQuietly = async () => {
736
736
  try {
737
- const { repairCodexHolds } = await import("../reapply-47AMVIXN.js");
737
+ const { repairCodexHolds } = await import("../reapply-FUCAKR6Z.js");
738
738
  repairCodexHolds();
739
739
  } catch {
740
740
  return;
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  reportEvent
4
- } from "../chunk-5AATCXJN.js";
5
- import "../chunk-UWP66NDF.js";
4
+ } from "../chunk-WXXDHGTZ.js";
5
+ import "../chunk-IAEVVUXO.js";
6
6
  import {
7
7
  askUser,
8
8
  isDecisionStopped,
@@ -10,18 +10,18 @@ import {
10
10
  } from "../chunk-LGXUGYUH.js";
11
11
  import {
12
12
  getMachineId
13
- } from "../chunk-KZPUARCU.js";
14
- import "../chunk-PX53RT6Q.js";
13
+ } from "../chunk-K7UIAE7I.js";
14
+ import "../chunk-RHLUJE4H.js";
15
15
  import "../chunk-EYRGBYZG.js";
16
16
  import "../chunk-SAF6HGAA.js";
17
17
  import "../chunk-7QLSKOSU.js";
18
18
  import "../chunk-KZERVKTD.js";
19
- import "../chunk-ZFQPSGPO.js";
19
+ import "../chunk-POAFXBNH.js";
20
20
  import "../chunk-4LL6LG5X.js";
21
21
  import {
22
22
  getApiKey
23
23
  } from "../chunk-2UMNXADU.js";
24
- import "../chunk-7DQVIIHX.js";
24
+ import "../chunk-WPJS3OZH.js";
25
25
 
26
26
  // bin/pushary-codex.ts
27
27
  import { basename } from "path";