@pushary/agent-hooks 1.9.17 → 1.9.18
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.
- package/CHANGELOG.md +4 -0
- package/data/SKILL.md +1 -1
- package/data/cursor-plugin/skills/pushary/SKILL.md +1 -1
- package/data/vscode-plugin/skills/pushary/SKILL.md +1 -1
- package/dist/bin/pushary-bell-hook.js +27 -27
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +29 -29
- package/dist/bin/pushary-codex-bridge.js +18 -18
- package/dist/bin/pushary-codex-hook.js +32 -32
- package/dist/bin/pushary-codex.js +13 -13
- package/dist/bin/pushary-connect.js +25 -25
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +33 -33
- package/dist/bin/pushary-disconnect.js +42 -37
- package/dist/bin/pushary-doctor.js +34 -34
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +14 -14
- package/dist/bin/pushary-gemini-hook.js +29 -29
- package/dist/bin/pushary-hook.js +31 -31
- package/dist/bin/pushary-login.js +13 -13
- package/dist/bin/pushary-logout.js +11 -11
- package/dist/bin/pushary-mcp.js +10 -10
- package/dist/bin/pushary-mode.js +13 -13
- package/dist/bin/pushary-notification-hook.js +26 -26
- package/dist/bin/pushary-opencode-hook.js +28 -28
- package/dist/bin/pushary-permission-denied-hook.js +31 -31
- package/dist/bin/pushary-permission-hook.js +30 -30
- package/dist/bin/pushary-post-hook.js +26 -26
- package/dist/bin/pushary-prompt-hook.js +26 -26
- package/dist/bin/pushary-session-end-hook.js +26 -26
- package/dist/bin/pushary-session-start-hook.js +30 -30
- package/dist/bin/pushary-setup.js +37 -37
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +27 -27
- package/dist/bin/pushary-stop-hook.js +26 -26
- package/dist/bin/pushary-stopfailure-hook.js +26 -26
- package/dist/bin/pushary-suggestions.js +13 -13
- package/dist/bin/pushary-transcript-register.js +19 -19
- package/dist/bin/pushary-transcripts.js +9 -9
- package/dist/bin/pushary-upgrade.js +31 -31
- package/dist/bin/pushary-wait.js +13 -13
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-OQTTGULW.js → chunk-2YXGQINX.js} +6 -6
- package/dist/{chunk-Z4M66PI6.js → chunk-3E6SMCCH.js} +5 -5
- package/dist/{chunk-P76XTT2Y.js → chunk-5MCHXYBH.js} +6 -6
- package/dist/{chunk-H3OSAPDD.js → chunk-5SR5F4LH.js} +1 -1
- package/dist/{chunk-KWMZDPUJ.js → chunk-6A6BXMNK.js} +3 -3
- package/dist/{chunk-CUW5CPJJ.js → chunk-6JTEGLQY.js} +3 -3
- package/dist/{chunk-SGZJ5LYH.js → chunk-6WEC3KZP.js} +1 -1
- package/dist/{chunk-B45C755V.js → chunk-7UTH3KQV.js} +4 -4
- package/dist/{chunk-GYLRXSZW.js → chunk-AELYA5BM.js} +3 -3
- package/dist/{chunk-AVNOQUNA.js → chunk-AFFFTDUS.js} +2 -2
- package/dist/{chunk-PYKF2DUY.js → chunk-AYQREIJA.js} +3 -3
- package/dist/{chunk-XGRZU6J4.js → chunk-B3RNX2E7.js} +3 -3
- package/dist/{chunk-YCBXYOPI.js → chunk-BK2CBKUC.js} +2 -2
- package/dist/{chunk-3LRUBMNK.js → chunk-BZH6SJAR.js} +2 -2
- package/dist/{chunk-NHJUNVMB.js → chunk-CPO4GI6S.js} +2 -2
- package/dist/{chunk-PILHK3P5.js → chunk-ERAUU54Q.js} +5 -5
- package/dist/{chunk-XTVOEEZ5.js → chunk-EXHTATWA.js} +10 -10
- package/dist/{chunk-UM7CBQS5.js → chunk-EYQBTAC6.js} +1 -1
- package/dist/{chunk-T7E75EKA.js → chunk-FT7UNIS3.js} +9 -0
- package/dist/{chunk-GFW4NSYW.js → chunk-HCCYXFX3.js} +4 -4
- package/dist/{chunk-ENR7TJSA.js → chunk-I67Z6COJ.js} +2 -2
- package/dist/{chunk-D2ZPTCAL.js → chunk-IB3WIIFC.js} +1 -1
- package/dist/{chunk-DCPJNJN3.js → chunk-IDVBDHSX.js} +5 -5
- package/dist/{chunk-E755IUIH.js → chunk-IHBVOC2Q.js} +3 -3
- package/dist/{chunk-TY2OTJFK.js → chunk-JCQURRHV.js} +2 -2
- package/dist/{chunk-35USDKDL.js → chunk-JCVGBUCZ.js} +6 -6
- package/dist/{chunk-73NUMFZG.js → chunk-JN2PBSLX.js} +4 -4
- package/dist/{chunk-5SHOKE4K.js → chunk-JRAQENMR.js} +4 -4
- package/dist/{chunk-MRMXB6Z6.js → chunk-JSD26D6B.js} +1 -1
- package/dist/{chunk-QWO5UBVP.js → chunk-K4UPPZK4.js} +1 -1
- package/dist/{chunk-5Y4PJEBJ.js → chunk-KLMAOQR4.js} +2 -2
- package/dist/{chunk-5DVWWQ7H.js → chunk-L6TIDQNU.js} +1 -1
- package/dist/{chunk-PMKC4ZYP.js → chunk-LCRYCE5F.js} +2 -2
- package/dist/{chunk-B4WI4UOX.js → chunk-LDLMAGTK.js} +2 -2
- package/dist/{chunk-EBABFMC7.js → chunk-LF36VLSO.js} +11 -11
- package/dist/{chunk-AEWPTGG2.js → chunk-LM2IY7OH.js} +9 -9
- package/dist/{chunk-UJTQCOYP.js → chunk-M3OVAMTR.js} +1 -1
- package/dist/{chunk-2V4NKFHD.js → chunk-O43I5GBC.js} +4 -4
- package/dist/{chunk-TEWUZ3MT.js → chunk-OD6ZMBFA.js} +3 -3
- package/dist/{chunk-PJCNX4AA.js → chunk-P34IFAIC.js} +7 -7
- package/dist/{chunk-KRSBK5BE.js → chunk-PKMZSKF5.js} +1 -1
- package/dist/{chunk-UNO3UEDW.js → chunk-PZ2CZIP4.js} +2 -2
- package/dist/{chunk-YJCNFRKV.js → chunk-RN2HEOY2.js} +1 -1
- package/dist/{chunk-YVDFJ6VV.js → chunk-SFUVP6RK.js} +1 -1
- package/dist/{chunk-SRK4O45T.js → chunk-TE4M3E2M.js} +2 -2
- package/dist/{chunk-VZA4GGXL.js → chunk-TGEOVHWA.js} +5 -5
- package/dist/{chunk-IJOITMKQ.js → chunk-U4X3GQR2.js} +1 -1
- package/dist/{chunk-PM7XZ5GJ.js → chunk-VM3WSNG4.js} +5 -5
- package/dist/{chunk-CSKEQDLX.js → chunk-VPGJBKWU.js} +3 -3
- package/dist/{chunk-D45B4GNL.js → chunk-W3IBC4FG.js} +1 -1
- package/dist/{chunk-3FBU6HUW.js → chunk-X5WZOZJY.js} +3 -3
- package/dist/{chunk-BHBTPKYT.js → chunk-XCOFZVQ3.js} +2 -2
- package/dist/{chunk-LBUKSO4N.js → chunk-XLQAB5US.js} +1 -1
- package/dist/{chunk-Z7LEZQSY.js → chunk-ZS3JF5WZ.js} +3 -3
- package/dist/{global-upgrade-MYSWPDKE.js → global-upgrade-WSUIPBIP.js} +7 -7
- package/dist/{paths-JFXSQQBD.js → paths-PTDVSCCX.js} +2 -2
- package/dist/{reapply-E3JKAGNS.js → reapply-Q3VLHRQS.js} +21 -21
- package/dist/src/index.js +20 -20
- package/dist/{upgrade-lock-DO5TUCXB.js → upgrade-lock-DJ3T5HPL.js} +4 -4
- package/package.json +1 -1
- /package/dist/{chunk-OG5HVCVG.js → chunk-VERKRKUN.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.18
|
|
4
|
+
|
|
5
|
+
- `pushary disconnect cursor` preserves the plugin when its registered hooks cannot be read, so a fail-closed hook never points to a deleted gate.
|
|
6
|
+
|
|
3
7
|
## 1.9.17
|
|
4
8
|
|
|
5
9
|
- When Codex is set to never ask for approval (full access), a call Pushary asks about now goes to your phone every time, also while you are at the keyboard, because Codex has no prompt of its own to ask you there. The wait is your policy's timeout, also under When I'm out. If nobody answers, the call is refused with "No response within timeout". Before, the command ran once the wait ended, also a destructive one, and at the keyboard it ran without anyone being asked. A wait cut short by Codex's hook time limit and a question no phone could receive are refused the same way. In Codex's other approval modes nothing changes: the call goes back to Codex, which asks in its own prompt when the call needs it. A rule that approves on timeout still lets the call run after its full wait, and one that denies on timeout still refuses it.
|
package/data/SKILL.md
CHANGED
|
@@ -562,7 +562,7 @@ If the user answers in chat before the push response arrives, call `cancel_quest
|
|
|
562
562
|
|
|
563
563
|
| Mode | The phone | The call |
|
|
564
564
|
|---|---|---|
|
|
565
|
-
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window.
|
|
565
|
+
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window. 10 seconds by default. |
|
|
566
566
|
| **Every time** (`push_only`) | Always asked | Waits for the policy timeout. |
|
|
567
567
|
| **Updates** (`notify_only`) | Told, not asked | Returns at once with `answered: false`. Decide in the current client. |
|
|
568
568
|
| **Terminal** (`terminal_only`) | Nothing is sent | Returns at once with `answered: false`. |
|
|
@@ -555,7 +555,7 @@ If the user answers in chat before the push response arrives, call `cancel_quest
|
|
|
555
555
|
|
|
556
556
|
| Mode | The phone | The call |
|
|
557
557
|
|---|---|---|
|
|
558
|
-
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window.
|
|
558
|
+
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window. 10 seconds by default. |
|
|
559
559
|
| **Every time** (`push_only`) | Always asked | Waits for the policy timeout. |
|
|
560
560
|
| **Updates** (`notify_only`) | Told, not asked | Returns at once with `answered: false`. Decide in the current client. |
|
|
561
561
|
| **Terminal** (`terminal_only`) | Nothing is sent | Returns at once with `answered: false`. |
|
|
@@ -555,7 +555,7 @@ If the user answers in chat before the push response arrives, call `cancel_quest
|
|
|
555
555
|
|
|
556
556
|
| Mode | The phone | The call |
|
|
557
557
|
|---|---|---|
|
|
558
|
-
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window.
|
|
558
|
+
| **When I'm out** (`push_first`, default) | Asked only when the user is away from the terminal and the Mac | Waits for the push-first window. 10 seconds by default. |
|
|
559
559
|
| **Every time** (`push_only`) | Always asked | Waits for the policy timeout. |
|
|
560
560
|
| **Updates** (`notify_only`) | Told, not asked | Returns at once with `answered: false`. Decide in the current client. |
|
|
561
561
|
| **Terminal** (`terminal_only`) | Nothing is sent | Returns at once with `answered: false`. |
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handleBell
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-L6TIDQNU.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-JRAQENMR.js";
|
|
8
|
+
import "../chunk-EXHTATWA.js";
|
|
9
|
+
import "../chunk-6WEC3KZP.js";
|
|
10
|
+
import "../chunk-JCVGBUCZ.js";
|
|
11
|
+
import "../chunk-K4UPPZK4.js";
|
|
12
|
+
import "../chunk-U4X3GQR2.js";
|
|
13
|
+
import "../chunk-W3IBC4FG.js";
|
|
14
14
|
import "../chunk-XHKBHWLX.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-JN2PBSLX.js";
|
|
16
|
+
import "../chunk-TGEOVHWA.js";
|
|
17
|
+
import "../chunk-IHBVOC2Q.js";
|
|
18
|
+
import "../chunk-JSD26D6B.js";
|
|
19
|
+
import "../chunk-IB3WIIFC.js";
|
|
20
20
|
import "../chunk-GMXKITVA.js";
|
|
21
21
|
import "../chunk-6ICPEJY5.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-OD6ZMBFA.js";
|
|
23
|
+
import "../chunk-LM2IY7OH.js";
|
|
24
|
+
import "../chunk-M3OVAMTR.js";
|
|
25
|
+
import "../chunk-3E6SMCCH.js";
|
|
26
26
|
import "../chunk-POFBE6ZY.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-6JTEGLQY.js";
|
|
28
|
+
import "../chunk-ZS3JF5WZ.js";
|
|
29
|
+
import "../chunk-6A6BXMNK.js";
|
|
30
|
+
import "../chunk-BK2CBKUC.js";
|
|
31
31
|
import "../chunk-7QLSKOSU.js";
|
|
32
32
|
import "../chunk-KZERVKTD.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-PZ2CZIP4.js";
|
|
34
|
+
import "../chunk-HCCYXFX3.js";
|
|
35
|
+
import "../chunk-FT7UNIS3.js";
|
|
36
|
+
import "../chunk-PKMZSKF5.js";
|
|
37
|
+
import "../chunk-SFUVP6RK.js";
|
|
38
|
+
import "../chunk-VERKRKUN.js";
|
|
39
39
|
|
|
40
40
|
// bin/pushary-bell-hook.ts
|
|
41
41
|
var main = async () => {
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,37 +5,37 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-L6TIDQNU.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
11
|
} from "../chunk-FO3MDD26.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-JCQURRHV.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-IB3WIIFC.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-GMXKITVA.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-OD6ZMBFA.js";
|
|
24
24
|
import "../chunk-7QLSKOSU.js";
|
|
25
25
|
import {
|
|
26
26
|
EXIT
|
|
27
27
|
} from "../chunk-KZERVKTD.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-PZ2CZIP4.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeSettings
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-HCCYXFX3.js";
|
|
32
32
|
import {
|
|
33
33
|
readJsonSafe,
|
|
34
34
|
writeJsonAtomic
|
|
35
|
-
} from "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
35
|
+
} from "../chunk-FT7UNIS3.js";
|
|
36
|
+
import "../chunk-PKMZSKF5.js";
|
|
37
|
+
import "../chunk-SFUVP6RK.js";
|
|
38
|
+
import "../chunk-VERKRKUN.js";
|
|
39
39
|
|
|
40
40
|
// bin/pushary-bell.ts
|
|
41
41
|
exitOnHelpFlag("bell");
|
|
@@ -8,39 +8,39 @@ import {
|
|
|
8
8
|
describeIdleWindow,
|
|
9
9
|
startProcessOwnership,
|
|
10
10
|
withSpawnProcessOwnership
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-AFFFTDUS.js";
|
|
12
12
|
import {
|
|
13
13
|
announceSubscriptionRequired,
|
|
14
14
|
isDeferAnswer
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-RN2HEOY2.js";
|
|
16
16
|
import {
|
|
17
17
|
claudeTranscriptPath,
|
|
18
18
|
loadSessionKey,
|
|
19
19
|
registerTranscript,
|
|
20
20
|
registeredTranscriptEnabled
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-EXHTATWA.js";
|
|
22
|
+
import "../chunk-6WEC3KZP.js";
|
|
23
23
|
import {
|
|
24
24
|
ensureDaemonRunning
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-JCVGBUCZ.js";
|
|
26
26
|
import {
|
|
27
27
|
encryptRecord
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-K4UPPZK4.js";
|
|
29
|
+
import "../chunk-U4X3GQR2.js";
|
|
30
30
|
import {
|
|
31
31
|
transcriptsEnabled
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-W3IBC4FG.js";
|
|
33
33
|
import {
|
|
34
34
|
needsShell,
|
|
35
35
|
spawnClaude
|
|
36
36
|
} from "../chunk-XHKBHWLX.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-TGEOVHWA.js";
|
|
38
|
+
import "../chunk-IHBVOC2Q.js";
|
|
39
|
+
import "../chunk-JSD26D6B.js";
|
|
40
|
+
import "../chunk-IB3WIIFC.js";
|
|
41
41
|
import "../chunk-GMXKITVA.js";
|
|
42
42
|
import "../chunk-6ICPEJY5.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-OD6ZMBFA.js";
|
|
44
44
|
import {
|
|
45
45
|
DEFAULT_SESSION,
|
|
46
46
|
UNNAMED_ACTION,
|
|
@@ -58,8 +58,8 @@ import {
|
|
|
58
58
|
reportEvent,
|
|
59
59
|
savePendingCommand,
|
|
60
60
|
scopePathFor
|
|
61
|
-
} from "../chunk-
|
|
62
|
-
import "../chunk-
|
|
61
|
+
} from "../chunk-LM2IY7OH.js";
|
|
62
|
+
import "../chunk-M3OVAMTR.js";
|
|
63
63
|
import {
|
|
64
64
|
askUser,
|
|
65
65
|
cancelQuestion,
|
|
@@ -68,35 +68,35 @@ import {
|
|
|
68
68
|
nextLongPollMs,
|
|
69
69
|
waitForAnswer,
|
|
70
70
|
withdrawQuestion
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-3E6SMCCH.js";
|
|
72
72
|
import "../chunk-POFBE6ZY.js";
|
|
73
73
|
import {
|
|
74
74
|
SubscriptionRequiredError
|
|
75
|
-
} from "../chunk-
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-
|
|
75
|
+
} from "../chunk-6JTEGLQY.js";
|
|
76
|
+
import "../chunk-ZS3JF5WZ.js";
|
|
77
|
+
import "../chunk-6A6BXMNK.js";
|
|
78
78
|
import {
|
|
79
79
|
getMachineId
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-BK2CBKUC.js";
|
|
81
81
|
import "../chunk-7QLSKOSU.js";
|
|
82
82
|
import "../chunk-KZERVKTD.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-PZ2CZIP4.js";
|
|
84
|
+
import "../chunk-HCCYXFX3.js";
|
|
85
|
+
import "../chunk-FT7UNIS3.js";
|
|
86
86
|
import {
|
|
87
87
|
getApiKey,
|
|
88
88
|
getBaseUrl
|
|
89
|
-
} from "../chunk-
|
|
89
|
+
} from "../chunk-PKMZSKF5.js";
|
|
90
90
|
import {
|
|
91
91
|
NPX_LATEST_COMMAND
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-SFUVP6RK.js";
|
|
93
93
|
import {
|
|
94
94
|
DECISION_STOP_REASON,
|
|
95
95
|
KILL_REASON,
|
|
96
96
|
UNVERIFIABLE_APPROVAL_REASON,
|
|
97
97
|
redactSecretsFromContent,
|
|
98
98
|
resolveGate
|
|
99
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-VERKRKUN.js";
|
|
100
100
|
|
|
101
101
|
// src/wrapper/localPassthrough.ts
|
|
102
102
|
var SIGNAL_NUMBERS = {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isCursorPluginLeftover,
|
|
14
14
|
releaseSoleGate,
|
|
15
15
|
withoutPusharyCursorHooks
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-AELYA5BM.js";
|
|
17
17
|
import {
|
|
18
18
|
HERMES_PIP_PACKAGE,
|
|
19
19
|
readHermesStatus,
|
|
@@ -22,27 +22,27 @@ import {
|
|
|
22
22
|
shortenHome,
|
|
23
23
|
unregisterPluginLocation,
|
|
24
24
|
vscodeSettingsTargets
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-VPGJBKWU.js";
|
|
26
26
|
import {
|
|
27
27
|
planFxRemoval,
|
|
28
28
|
removeInstructionBlock
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-IDVBDHSX.js";
|
|
30
|
+
import "../chunk-LCRYCE5F.js";
|
|
31
31
|
import {
|
|
32
32
|
disableDaemonService
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-JCVGBUCZ.js";
|
|
34
34
|
import "../chunk-XHKBHWLX.js";
|
|
35
35
|
import {
|
|
36
36
|
APPROVAL_SETTINGS_PATH
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-O43I5GBC.js";
|
|
38
38
|
import {
|
|
39
39
|
macAppKeepsMcpEntry,
|
|
40
40
|
mcpServerBearer,
|
|
41
41
|
pusharyKey,
|
|
42
42
|
readMacAppAgentKey,
|
|
43
43
|
setupReceiptKey
|
|
44
|
-
} from "../chunk-
|
|
45
|
-
import "../chunk-
|
|
44
|
+
} from "../chunk-ERAUU54Q.js";
|
|
45
|
+
import "../chunk-LDLMAGTK.js";
|
|
46
46
|
import {
|
|
47
47
|
OPENCODE_PLUGIN_SIBLING,
|
|
48
48
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
@@ -54,14 +54,14 @@ import {
|
|
|
54
54
|
openCodePluginDir,
|
|
55
55
|
openCodePluginFile,
|
|
56
56
|
removeOpenCodeMcpServer
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-5MCHXYBH.js";
|
|
58
58
|
import {
|
|
59
59
|
ansiPainter,
|
|
60
60
|
useColor
|
|
61
61
|
} from "../chunk-FO3MDD26.js";
|
|
62
62
|
import {
|
|
63
63
|
exitOnHelpFlag
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-JCQURRHV.js";
|
|
65
65
|
import {
|
|
66
66
|
compatibleConfigFile,
|
|
67
67
|
compatibleInstructionsFile,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
removePusharySettings,
|
|
75
75
|
removePusharyToolPermissions,
|
|
76
76
|
restoreClaudeMcpServer
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-JN2PBSLX.js";
|
|
78
78
|
import {
|
|
79
79
|
hookOwnerOf,
|
|
80
80
|
isHookTakeoverReceipt,
|
|
@@ -82,12 +82,12 @@ import {
|
|
|
82
82
|
resolveBridgeStub,
|
|
83
83
|
restoreHookTakeover,
|
|
84
84
|
restoreMcpServer
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-TGEOVHWA.js";
|
|
86
86
|
import {
|
|
87
87
|
removeGeminiSettings
|
|
88
|
-
} from "../chunk-
|
|
89
|
-
import "../chunk-
|
|
90
|
-
import "../chunk-
|
|
88
|
+
} from "../chunk-IHBVOC2Q.js";
|
|
89
|
+
import "../chunk-JSD26D6B.js";
|
|
90
|
+
import "../chunk-IB3WIIFC.js";
|
|
91
91
|
import {
|
|
92
92
|
rejectUnknownFlags
|
|
93
93
|
} from "../chunk-GMXKITVA.js";
|
|
@@ -100,22 +100,22 @@ import {
|
|
|
100
100
|
readConfigFileKey,
|
|
101
101
|
readMacAppKeyPrefix,
|
|
102
102
|
removeClaudeAlias
|
|
103
|
-
} from "../chunk-
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-
|
|
106
|
-
import "../chunk-
|
|
103
|
+
} from "../chunk-OD6ZMBFA.js";
|
|
104
|
+
import "../chunk-LM2IY7OH.js";
|
|
105
|
+
import "../chunk-M3OVAMTR.js";
|
|
106
|
+
import "../chunk-3E6SMCCH.js";
|
|
107
107
|
import "../chunk-POFBE6ZY.js";
|
|
108
|
-
import "../chunk-
|
|
108
|
+
import "../chunk-6JTEGLQY.js";
|
|
109
109
|
import {
|
|
110
110
|
absoluteUrl
|
|
111
|
-
} from "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-
|
|
111
|
+
} from "../chunk-ZS3JF5WZ.js";
|
|
112
|
+
import "../chunk-6A6BXMNK.js";
|
|
113
|
+
import "../chunk-BK2CBKUC.js";
|
|
114
114
|
import "../chunk-7QLSKOSU.js";
|
|
115
115
|
import {
|
|
116
116
|
EXIT
|
|
117
117
|
} from "../chunk-KZERVKTD.js";
|
|
118
|
-
import "../chunk-
|
|
118
|
+
import "../chunk-PZ2CZIP4.js";
|
|
119
119
|
import {
|
|
120
120
|
claudeJson,
|
|
121
121
|
claudeMcpReceipt,
|
|
@@ -152,14 +152,14 @@ import {
|
|
|
152
152
|
restoreCodexHookTrust,
|
|
153
153
|
vscodePluginDir,
|
|
154
154
|
vscodePluginMcp
|
|
155
|
-
} from "../chunk-
|
|
156
|
-
import "../chunk-
|
|
155
|
+
} from "../chunk-HCCYXFX3.js";
|
|
156
|
+
import "../chunk-FT7UNIS3.js";
|
|
157
157
|
import {
|
|
158
158
|
getBaseUrl
|
|
159
|
-
} from "../chunk-
|
|
159
|
+
} from "../chunk-PKMZSKF5.js";
|
|
160
160
|
import {
|
|
161
161
|
NPX_LATEST_COMMAND
|
|
162
|
-
} from "../chunk-
|
|
162
|
+
} from "../chunk-SFUVP6RK.js";
|
|
163
163
|
import {
|
|
164
164
|
CLI_PACKAGE_NAMES,
|
|
165
165
|
HOOK_COMPATIBLE_PROFILES,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
globalRootFor,
|
|
172
172
|
isValidApiKey,
|
|
173
173
|
redactSecrets
|
|
174
|
-
} from "../chunk-
|
|
174
|
+
} from "../chunk-VERKRKUN.js";
|
|
175
175
|
|
|
176
176
|
// bin/pushary-clean.ts
|
|
177
177
|
import { existsSync as existsSync6, readFileSync as readFileSync4, copyFileSync, readdirSync as readdirSync4 } from "fs";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
postLiveSession,
|
|
6
6
|
postLiveSessionUntilAccepted,
|
|
7
7
|
startLiveSessionHeartbeat
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-TE4M3E2M.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveProviderBinary
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-KLMAOQR4.js";
|
|
12
12
|
import "../chunk-RIVNNBEK.js";
|
|
13
13
|
import {
|
|
14
14
|
SESSION_IDLE_TIMEOUT_MS,
|
|
@@ -16,50 +16,50 @@ import {
|
|
|
16
16
|
idleDeadlinePassed,
|
|
17
17
|
startProcessOwnership,
|
|
18
18
|
withSpawnProcessOwnership
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-AFFFTDUS.js";
|
|
20
|
+
import "../chunk-K4UPPZK4.js";
|
|
21
|
+
import "../chunk-U4X3GQR2.js";
|
|
22
22
|
import {
|
|
23
23
|
transcriptsEnabled
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-W3IBC4FG.js";
|
|
25
25
|
import {
|
|
26
26
|
spawnClaude
|
|
27
27
|
} from "../chunk-XHKBHWLX.js";
|
|
28
28
|
import "../chunk-6ICPEJY5.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-OD6ZMBFA.js";
|
|
30
30
|
import {
|
|
31
31
|
isAskUserResponse,
|
|
32
32
|
isDecisionStopped,
|
|
33
33
|
isWaitForAnswerResponse,
|
|
34
34
|
withdrawQuestion,
|
|
35
35
|
writeDegraded
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-3E6SMCCH.js";
|
|
37
37
|
import "../chunk-POFBE6ZY.js";
|
|
38
38
|
import {
|
|
39
39
|
callMcpTool
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
40
|
+
} from "../chunk-6JTEGLQY.js";
|
|
41
|
+
import "../chunk-ZS3JF5WZ.js";
|
|
42
|
+
import "../chunk-6A6BXMNK.js";
|
|
43
43
|
import {
|
|
44
44
|
getMachineId
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-BK2CBKUC.js";
|
|
46
46
|
import "../chunk-7QLSKOSU.js";
|
|
47
47
|
import "../chunk-KZERVKTD.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-PZ2CZIP4.js";
|
|
49
|
+
import "../chunk-HCCYXFX3.js";
|
|
50
|
+
import "../chunk-FT7UNIS3.js";
|
|
51
51
|
import {
|
|
52
52
|
getApiKey,
|
|
53
53
|
getBaseUrl
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-PKMZSKF5.js";
|
|
55
|
+
import "../chunk-SFUVP6RK.js";
|
|
56
56
|
import {
|
|
57
57
|
elicitationContent,
|
|
58
58
|
parseAgentQuestion,
|
|
59
59
|
parseAgentQuestionAnswers,
|
|
60
60
|
planElicitationAsk,
|
|
61
61
|
readElicitationFields
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-VERKRKUN.js";
|
|
63
63
|
|
|
64
64
|
// bin/pushary-codex-bridge.ts
|
|
65
65
|
import { existsSync } from "fs";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
takeHookHoldBudget
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EYQBTAC6.js";
|
|
5
5
|
import {
|
|
6
6
|
defersToNativeMode,
|
|
7
7
|
reportMachineDenial
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-XCOFZVQ3.js";
|
|
9
9
|
import {
|
|
10
10
|
triggerAutoUpdate
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-X5WZOZJY.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatingMoment,
|
|
14
14
|
recordKeylessMoment
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-5SR5F4LH.js";
|
|
16
16
|
import {
|
|
17
17
|
readHookInput
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-JRAQENMR.js";
|
|
19
19
|
import {
|
|
20
20
|
announceSubscriptionRequired,
|
|
21
21
|
denyReasonFrom,
|
|
22
22
|
isDeferAnswer
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-RN2HEOY2.js";
|
|
24
|
+
import "../chunk-EXHTATWA.js";
|
|
25
|
+
import "../chunk-6WEC3KZP.js";
|
|
26
|
+
import "../chunk-JCVGBUCZ.js";
|
|
27
|
+
import "../chunk-K4UPPZK4.js";
|
|
28
|
+
import "../chunk-U4X3GQR2.js";
|
|
29
|
+
import "../chunk-W3IBC4FG.js";
|
|
30
30
|
import "../chunk-XHKBHWLX.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-JN2PBSLX.js";
|
|
32
|
+
import "../chunk-TGEOVHWA.js";
|
|
33
|
+
import "../chunk-IHBVOC2Q.js";
|
|
34
|
+
import "../chunk-JSD26D6B.js";
|
|
35
|
+
import "../chunk-IB3WIIFC.js";
|
|
36
36
|
import "../chunk-GMXKITVA.js";
|
|
37
37
|
import "../chunk-6ICPEJY5.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-OD6ZMBFA.js";
|
|
39
39
|
import {
|
|
40
40
|
CODEX_AGENT,
|
|
41
41
|
DEFAULT_SESSION,
|
|
@@ -79,8 +79,8 @@ import {
|
|
|
79
79
|
toPolicyLookup,
|
|
80
80
|
toPolicyLookups,
|
|
81
81
|
userScope
|
|
82
|
-
} from "../chunk-
|
|
83
|
-
import "../chunk-
|
|
82
|
+
} from "../chunk-LM2IY7OH.js";
|
|
83
|
+
import "../chunk-M3OVAMTR.js";
|
|
84
84
|
import {
|
|
85
85
|
askUser,
|
|
86
86
|
cancelQuestion,
|
|
@@ -93,31 +93,31 @@ import {
|
|
|
93
93
|
sendNotification,
|
|
94
94
|
unavailableQuestionUnlessSubscriptionRequired,
|
|
95
95
|
waitForQuestion
|
|
96
|
-
} from "../chunk-
|
|
96
|
+
} from "../chunk-3E6SMCCH.js";
|
|
97
97
|
import "../chunk-POFBE6ZY.js";
|
|
98
98
|
import {
|
|
99
99
|
SubscriptionRequiredError
|
|
100
|
-
} from "../chunk-
|
|
101
|
-
import "../chunk-
|
|
102
|
-
import "../chunk-
|
|
100
|
+
} from "../chunk-6JTEGLQY.js";
|
|
101
|
+
import "../chunk-ZS3JF5WZ.js";
|
|
102
|
+
import "../chunk-6A6BXMNK.js";
|
|
103
103
|
import {
|
|
104
104
|
getMachineId
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-BK2CBKUC.js";
|
|
106
106
|
import "../chunk-7QLSKOSU.js";
|
|
107
107
|
import {
|
|
108
108
|
EXIT
|
|
109
109
|
} from "../chunk-KZERVKTD.js";
|
|
110
|
-
import "../chunk-
|
|
110
|
+
import "../chunk-PZ2CZIP4.js";
|
|
111
111
|
import {
|
|
112
112
|
canonicalJson
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-HCCYXFX3.js";
|
|
114
114
|
import {
|
|
115
115
|
writeFileAtomic
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-FT7UNIS3.js";
|
|
117
117
|
import {
|
|
118
118
|
getApiKey
|
|
119
|
-
} from "../chunk-
|
|
120
|
-
import "../chunk-
|
|
119
|
+
} from "../chunk-PKMZSKF5.js";
|
|
120
|
+
import "../chunk-SFUVP6RK.js";
|
|
121
121
|
import {
|
|
122
122
|
CODEX_RESCUE_TOOL_NAME,
|
|
123
123
|
DECISION_STOP_REASON,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
resolveGate,
|
|
140
140
|
scopeBreachReasonOf,
|
|
141
141
|
unapprovedScopeReason
|
|
142
|
-
} from "../chunk-
|
|
142
|
+
} from "../chunk-VERKRKUN.js";
|
|
143
143
|
|
|
144
144
|
// bin/pushary-codex-hook.ts
|
|
145
145
|
import { basename } from "path";
|
|
@@ -767,7 +767,7 @@ var decidePreToolUse = async (input) => {
|
|
|
767
767
|
};
|
|
768
768
|
var repairCodexHoldsQuietly = async () => {
|
|
769
769
|
try {
|
|
770
|
-
const { repairCodexHolds } = await import("../reapply-
|
|
770
|
+
const { repairCodexHolds } = await import("../reapply-Q3VLHRQS.js");
|
|
771
771
|
repairCodexHolds();
|
|
772
772
|
} catch {
|
|
773
773
|
return;
|