@pushary/agent-hooks 0.95.8 → 0.97.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.
- package/CHANGELOG.md +17 -0
- package/dist/bin/pushary-bell-hook.js +19 -21
- package/dist/bin/pushary-bell.js +6 -8
- package/dist/bin/pushary-claude.js +21 -23
- package/dist/bin/pushary-clean.js +19 -22
- package/dist/bin/pushary-codex-bridge.js +13 -14
- package/dist/bin/pushary-codex-hook.js +452 -104
- package/dist/bin/pushary-codex.js +8 -8
- package/dist/bin/pushary-connect.js +6 -6
- package/dist/bin/pushary-cowork.js +3 -3
- package/dist/bin/pushary-daemon.js +25 -27
- package/dist/bin/pushary-disconnect.js +6 -8
- package/dist/bin/pushary-doctor.js +28 -23
- package/dist/bin/pushary-elicitation-hook.js +19 -21
- package/dist/bin/pushary-gemini-bridge.js +11 -12
- package/dist/bin/pushary-gemini-hook.js +22 -24
- package/dist/bin/pushary-hook.js +24 -26
- package/dist/bin/pushary-login.js +7 -8
- package/dist/bin/pushary-logout.js +4 -4
- package/dist/bin/pushary-mode.js +3 -3
- package/dist/bin/pushary-notification-hook.js +21 -23
- package/dist/bin/pushary-opencode-hook.js +22 -24
- package/dist/bin/pushary-permission-denied-hook.js +28 -27
- package/dist/bin/pushary-permission-hook.js +24 -26
- package/dist/bin/pushary-post-hook.js +21 -23
- package/dist/bin/pushary-prompt-hook.js +21 -23
- package/dist/bin/pushary-session-end-hook.js +21 -23
- package/dist/bin/pushary-session-start-hook.js +24 -26
- package/dist/bin/pushary-setup.js +34 -38
- package/dist/bin/pushary-stats.js +2 -2
- package/dist/bin/pushary-status.js +10 -11
- package/dist/bin/pushary-stop-hook.js +21 -23
- package/dist/bin/pushary-stopfailure-hook.js +21 -23
- package/dist/bin/pushary-transcript-register.js +17 -19
- package/dist/bin/pushary-transcripts.js +5 -5
- package/dist/bin/pushary-upgrade.js +17 -20
- package/dist/bin/pushary-wait.js +3 -3
- package/dist/{chunk-RE25RJ5A.js → chunk-3SNTEHOH.js} +4 -4
- package/dist/{chunk-R3OZ5ISU.js → chunk-4AXWBCCO.js} +4 -4
- package/dist/{chunk-XEVOPOKT.js → chunk-5ODZEFP3.js} +1 -1
- package/dist/{chunk-NOVA7KZ2.js → chunk-67RNDRKL.js} +260 -32
- package/dist/{chunk-3YFJGKJQ.js → chunk-6VXZKOBB.js} +8 -8
- package/dist/{chunk-ATKGKAP6.js → chunk-6WJKYD3Q.js} +8 -8
- package/dist/{chunk-EMGGUO2Q.js → chunk-A4AIISZZ.js} +1 -1
- package/dist/{chunk-N6FAXQDD.js → chunk-AXSDMDJI.js} +1 -1
- package/dist/{chunk-XO3JR3OP.js → chunk-B3557BDL.js} +2 -2
- package/dist/{chunk-QJPYJVL3.js → chunk-BYH75I7Y.js} +1 -1
- package/dist/{chunk-VERXHIQF.js → chunk-C2FYSFTQ.js} +1 -1
- package/dist/{chunk-SKPXQRKN.js → chunk-CDSA3NTB.js} +1 -1
- package/dist/{chunk-HUGIKB5O.js → chunk-DGUMR5LZ.js} +6 -6
- package/dist/{chunk-54W7ELDQ.js → chunk-DNLFSRCF.js} +2 -2
- package/dist/{chunk-R6LBGKWQ.js → chunk-DOKFLZWL.js} +10 -14
- package/dist/{chunk-U5RIXR7I.js → chunk-EHQC3GWL.js} +1 -1
- package/dist/{chunk-QD73WATQ.js → chunk-FU5SQKAY.js} +15 -4
- package/dist/{chunk-TY6IJY6I.js → chunk-GGYH6LIE.js} +1 -1
- package/dist/{chunk-XZWUOCJZ.js → chunk-H4VNAOCG.js} +1 -1
- package/dist/{chunk-MC5WUOJJ.js → chunk-HUZW6SEO.js} +75 -1
- package/dist/{chunk-QV266EGS.js → chunk-IBRX7LRE.js} +8 -10
- package/dist/{chunk-UKMLSQXA.js → chunk-ICUBJNFL.js} +2 -2
- package/dist/{chunk-E47WV7BJ.js → chunk-IZKCA35M.js} +2 -2
- package/dist/{chunk-F4TMY6XI.js → chunk-K7MLXXPY.js} +2 -2
- package/dist/{chunk-Y6SCMXR6.js → chunk-KDPYXMUI.js} +2 -2
- package/dist/{chunk-XS33QBJA.js → chunk-LGXUGYUH.js} +50 -1
- package/dist/{chunk-I7LKI4WO.js → chunk-LYWTLNMG.js} +6 -8
- package/dist/chunk-OYTOLQ3N.js +15 -0
- package/dist/{chunk-XUTSZYYJ.js → chunk-QFAZ6QCT.js} +1 -4
- package/dist/{chunk-FRXZMCVA.js → chunk-ROTIPRM4.js} +1 -1
- package/dist/{chunk-BQL7UDIB.js → chunk-SW37HB27.js} +1 -1
- package/dist/{chunk-Z4JVEL7R.js → chunk-VCKQ45QA.js} +191 -2
- package/dist/{chunk-SDNTRS76.js → chunk-VDTC5DEM.js} +1 -1
- package/dist/{chunk-VMQU7YEJ.js → chunk-VF7YOT2W.js} +1 -1
- package/dist/{chunk-5GKNAQTG.js → chunk-VOC55PQV.js} +1 -1
- package/dist/{chunk-L7NOG547.js → chunk-VTUN7WSG.js} +1 -1
- package/dist/{chunk-GOPIMNVC.js → chunk-WIKEADOS.js} +1 -1
- package/dist/chunk-XDMHLQMH.js +202 -0
- package/dist/{chunk-4DUEIUUO.js → chunk-YRXVC4HL.js} +1 -1
- package/dist/{chunk-A22VQ5ZL.js → chunk-YX3U2CLP.js} +111 -55
- package/dist/src/index.js +11 -11
- package/package.json +1 -1
- package/dist/chunk-3AJIK5AO.js +0 -57
- package/dist/chunk-L4ZCFMWW.js +0 -177
- package/dist/chunk-VDI645ZX.js +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.97.0
|
|
4
|
+
|
|
5
|
+
Requires the Codex auto-reviewer handling in `POST /api/agent/gate`, Codex bodies on `POST /api/agent/blocked-action/claim`, the `blocked-action/v2` Claude identity and `sessionCwd` on the gate request before rollout. Run `pushary upgrade` so Claude Code's `PermissionDenied` and Codex's `Stop` are registered with the hold budget, Codex gives `Stop` the full hook budget, and Codex trusts it again.
|
|
6
|
+
|
|
7
|
+
- When Codex runs with `--approve-for-me`, stop asking you before its auto-reviewer. `PreToolUse` and `PermissionRequest` have no opinion under the reviewer, after the kill switch and a standing deny, so nothing the reviewer allows reaches your phone.
|
|
8
|
+
- When the auto-reviewer denies a shell command, hold the turn end and ask once whether to allow that exact command. A yes continues the turn, Codex runs the same command again, and the retry skips the reviewer once. A no, or no answer, lets the denial stand. Denials of `apply_patch` and MCP calls are not asked about yet. The request names the session's directory as well as the command's, so the card can say where the command runs.
|
|
9
|
+
- Hold a blocked call only when the hook can prove its host waits that long: the `--hold-budget=<seconds>` argument its registration now carries, or the budget the Mac app hands down in `PUSHARY_HOLD_BUDGET_SECONDS`. The hold never waits past that budget less its reserves. Without proof, which is an install registered before this release, the Claude plugin's older entry, an update that skipped `--finish-upgrade` or a Mac app built before it, a Claude block sends the "Auto mode blocked <tool>" notification instead, and a Codex turn end reads no denial, so it is still asked about once the hook is upgraded.
|
|
10
|
+
- Build the `blocked-action/v2` identity for a Claude call, which includes its working directory, so the retry's hint and claim match the server's grant. A Claude call with no working directory is not asked about. Keep the retry hint for the grant's two minutes rather than ten.
|
|
11
|
+
- `pushary doctor` warns when a `PermissionDenied` or Codex `Stop` registration carries no hold budget.
|
|
12
|
+
|
|
13
|
+
## 0.96.0
|
|
14
|
+
|
|
15
|
+
Requires the auto-mode block handling in `POST /api/agent/gate` and the `POST /api/agent/blocked-action/claim` route before rollout. Run `pushary upgrade` so Claude Code gives the `PermissionDenied` hook the full approval window.
|
|
16
|
+
|
|
17
|
+
- When Claude Code's auto mode blocks a call, hold the agent and ask once whether to allow that exact call. A yes retries it and the retry runs. A no, or no answer, lets the block stand.
|
|
18
|
+
- Stop sending a separate "Auto-mode blocked" notification and remove `PUSHARY_AUTOMODE_RETRY`. The server now decides whether a block is asked about, so the kill switch, a standing deny and your approval mode all apply.
|
|
19
|
+
|
|
3
20
|
## 0.95.8
|
|
4
21
|
|
|
5
22
|
- Stop `clean` leaving a key it installed in Claude Code, Codex and Gemini when the Mac app is installed. An entry is kept only when its key is the one the Mac app holds; when the app has never signed in, the key setup recorded is removed.
|
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handleBell
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GGYH6LIE.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-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-SKPXQRKN.js";
|
|
7
|
+
} from "../chunk-5ODZEFP3.js";
|
|
8
|
+
import "../chunk-6VXZKOBB.js";
|
|
9
|
+
import "../chunk-A4AIISZZ.js";
|
|
10
|
+
import "../chunk-4AXWBCCO.js";
|
|
11
|
+
import "../chunk-H4VNAOCG.js";
|
|
12
|
+
import "../chunk-BYH75I7Y.js";
|
|
13
|
+
import "../chunk-FU5SQKAY.js";
|
|
14
|
+
import "../chunk-LYWTLNMG.js";
|
|
15
|
+
import "../chunk-IBRX7LRE.js";
|
|
16
|
+
import "../chunk-WIKEADOS.js";
|
|
17
|
+
import "../chunk-CDSA3NTB.js";
|
|
19
18
|
import "../chunk-EQRS3SGM.js";
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-C2FYSFTQ.js";
|
|
21
20
|
import "../chunk-XHKBHWLX.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-NOVA7KZ2.js";
|
|
21
|
+
import "../chunk-QFAZ6QCT.js";
|
|
22
|
+
import "../chunk-IZKCA35M.js";
|
|
23
|
+
import "../chunk-67RNDRKL.js";
|
|
26
24
|
import "../chunk-GMXKITVA.js";
|
|
27
25
|
import "../chunk-DINDL2CF.js";
|
|
28
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-VF7YOT2W.js";
|
|
29
27
|
import "../chunk-7QLSKOSU.js";
|
|
30
28
|
import "../chunk-KZERVKTD.js";
|
|
31
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-VTUN7WSG.js";
|
|
32
30
|
import "../chunk-2UMNXADU.js";
|
|
33
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-HUZW6SEO.js";
|
|
34
32
|
|
|
35
33
|
// bin/pushary-bell-hook.ts
|
|
36
34
|
var main = async () => {
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,17 +5,15 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-GGYH6LIE.js";
|
|
9
9
|
import {
|
|
10
10
|
addBellHooks,
|
|
11
11
|
bellInstalled,
|
|
12
12
|
removeBellHooks
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-3AJIK5AO.js";
|
|
15
|
-
import "../chunk-L4ZCFMWW.js";
|
|
13
|
+
} from "../chunk-WIKEADOS.js";
|
|
16
14
|
import {
|
|
17
15
|
claudeSettings
|
|
18
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-67RNDRKL.js";
|
|
19
17
|
import {
|
|
20
18
|
createIo
|
|
21
19
|
} from "../chunk-5RUIFDTP.js";
|
|
@@ -27,7 +25,7 @@ import {
|
|
|
27
25
|
parseFlags
|
|
28
26
|
} from "../chunk-GMXKITVA.js";
|
|
29
27
|
import "../chunk-DINDL2CF.js";
|
|
30
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-VF7YOT2W.js";
|
|
31
29
|
import "../chunk-7QLSKOSU.js";
|
|
32
30
|
import {
|
|
33
31
|
EXIT
|
|
@@ -35,9 +33,9 @@ import {
|
|
|
35
33
|
import {
|
|
36
34
|
readJsonSafe,
|
|
37
35
|
writeJsonAtomic
|
|
38
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-VTUN7WSG.js";
|
|
39
37
|
import "../chunk-2UMNXADU.js";
|
|
40
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-HUZW6SEO.js";
|
|
41
39
|
|
|
42
40
|
// bin/pushary-bell.ts
|
|
43
41
|
exitOnHelpFlag("bell");
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
describeIdleWindow,
|
|
9
9
|
startProcessOwnership,
|
|
10
10
|
withSpawnProcessOwnership
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-KDPYXMUI.js";
|
|
12
12
|
import {
|
|
13
13
|
isDeferAnswer
|
|
14
14
|
} from "../chunk-YHG74UFF.js";
|
|
@@ -17,30 +17,28 @@ import {
|
|
|
17
17
|
loadSessionKey,
|
|
18
18
|
registerTranscript,
|
|
19
19
|
registeredTranscriptEnabled
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-6VXZKOBB.js";
|
|
21
|
+
import "../chunk-A4AIISZZ.js";
|
|
22
|
+
import "../chunk-4AXWBCCO.js";
|
|
23
|
+
import "../chunk-H4VNAOCG.js";
|
|
24
|
+
import "../chunk-BYH75I7Y.js";
|
|
25
|
+
import "../chunk-FU5SQKAY.js";
|
|
26
26
|
import {
|
|
27
27
|
ensureDaemonRunning
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-3AJIK5AO.js";
|
|
28
|
+
} from "../chunk-LYWTLNMG.js";
|
|
29
|
+
import "../chunk-IBRX7LRE.js";
|
|
30
|
+
import "../chunk-WIKEADOS.js";
|
|
32
31
|
import {
|
|
33
32
|
encryptRecord
|
|
34
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-CDSA3NTB.js";
|
|
35
34
|
import "../chunk-EQRS3SGM.js";
|
|
36
35
|
import {
|
|
37
36
|
transcriptsEnabled
|
|
38
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-C2FYSFTQ.js";
|
|
39
38
|
import {
|
|
40
39
|
needsShell,
|
|
41
40
|
spawnClaude
|
|
42
41
|
} from "../chunk-XHKBHWLX.js";
|
|
43
|
-
import "../chunk-L4ZCFMWW.js";
|
|
44
42
|
import {
|
|
45
43
|
DEFAULT_SESSION,
|
|
46
44
|
fetchModeState,
|
|
@@ -54,14 +52,14 @@ import {
|
|
|
54
52
|
repoKeyFor,
|
|
55
53
|
reportEvent,
|
|
56
54
|
savePendingCommand
|
|
57
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-DGUMR5LZ.js";
|
|
58
56
|
import {
|
|
59
57
|
UNNAMED_ACTION,
|
|
60
58
|
deriveToolTarget,
|
|
61
59
|
describeToolCall,
|
|
62
60
|
scopePathFor
|
|
63
|
-
} from "../chunk-
|
|
64
|
-
import "../chunk-
|
|
61
|
+
} from "../chunk-VCKQ45QA.js";
|
|
62
|
+
import "../chunk-QFAZ6QCT.js";
|
|
65
63
|
import {
|
|
66
64
|
DECISION_STOP_REASON,
|
|
67
65
|
askUser,
|
|
@@ -71,19 +69,19 @@ import {
|
|
|
71
69
|
nextLongPollMs,
|
|
72
70
|
waitForAnswer,
|
|
73
71
|
withdrawQuestion
|
|
74
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-LGXUGYUH.js";
|
|
75
73
|
import {
|
|
76
74
|
getMachineId
|
|
77
|
-
} from "../chunk-
|
|
78
|
-
import "../chunk-
|
|
75
|
+
} from "../chunk-IZKCA35M.js";
|
|
76
|
+
import "../chunk-67RNDRKL.js";
|
|
79
77
|
import "../chunk-GMXKITVA.js";
|
|
80
78
|
import "../chunk-DINDL2CF.js";
|
|
81
|
-
import "../chunk-
|
|
79
|
+
import "../chunk-VF7YOT2W.js";
|
|
82
80
|
import "../chunk-EYRGBYZG.js";
|
|
83
81
|
import "../chunk-SAF6HGAA.js";
|
|
84
82
|
import "../chunk-7QLSKOSU.js";
|
|
85
83
|
import "../chunk-KZERVKTD.js";
|
|
86
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-VTUN7WSG.js";
|
|
87
85
|
import {
|
|
88
86
|
getApiKey,
|
|
89
87
|
getBaseUrl
|
|
@@ -92,7 +90,7 @@ import {
|
|
|
92
90
|
KILL_REASON,
|
|
93
91
|
redactSecrets,
|
|
94
92
|
resolveGate
|
|
95
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-HUZW6SEO.js";
|
|
96
94
|
|
|
97
95
|
// src/wrapper/localPassthrough.ts
|
|
98
96
|
var SIGNAL_NUMBERS = {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
createGuards,
|
|
6
6
|
resolveHermesPython,
|
|
7
7
|
runHermesPythonScript
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-AXSDMDJI.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-
|
|
15
|
+
} from "../chunk-K7MLXXPY.js";
|
|
16
16
|
import {
|
|
17
17
|
OPENCODE_PLUGIN_SIBLING,
|
|
18
18
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
@@ -22,39 +22,35 @@ import {
|
|
|
22
22
|
openCodePluginDir,
|
|
23
23
|
openCodePluginFile,
|
|
24
24
|
removeOpenCodeMcpServer
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-EHQC3GWL.js";
|
|
26
26
|
import {
|
|
27
27
|
isClaudeMcpSnapshot,
|
|
28
28
|
removeClaudeMcpServers,
|
|
29
29
|
removePusharySettings,
|
|
30
30
|
restoreClaudeMcpServer
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-6WJKYD3Q.js";
|
|
32
32
|
import {
|
|
33
33
|
hookOwnerOf,
|
|
34
34
|
isHookTakeoverReceipt,
|
|
35
35
|
restoreHookTakeover,
|
|
36
36
|
restoreMcpServer
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-4AXWBCCO.js";
|
|
38
|
+
import "../chunk-H4VNAOCG.js";
|
|
39
|
+
import "../chunk-BYH75I7Y.js";
|
|
40
40
|
import {
|
|
41
41
|
pusharyHookExecutable
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-FU5SQKAY.js";
|
|
43
43
|
import {
|
|
44
44
|
disableDaemonService
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-LYWTLNMG.js";
|
|
46
46
|
import {
|
|
47
47
|
removeGeminiSettings
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-3AJIK5AO.js";
|
|
48
|
+
} from "../chunk-IBRX7LRE.js";
|
|
49
|
+
import "../chunk-WIKEADOS.js";
|
|
51
50
|
import "../chunk-XHKBHWLX.js";
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
import "../chunk-Z4JVEL7R.js";
|
|
56
|
-
import "../chunk-XUTSZYYJ.js";
|
|
57
|
-
import "../chunk-E47WV7BJ.js";
|
|
51
|
+
import "../chunk-VCKQ45QA.js";
|
|
52
|
+
import "../chunk-QFAZ6QCT.js";
|
|
53
|
+
import "../chunk-IZKCA35M.js";
|
|
58
54
|
import {
|
|
59
55
|
bridgeAgentKey,
|
|
60
56
|
claudeJson,
|
|
@@ -70,6 +66,7 @@ import {
|
|
|
70
66
|
cursorPluginDir,
|
|
71
67
|
cursorUserHooks,
|
|
72
68
|
cursorUserMcp,
|
|
69
|
+
execNpm,
|
|
73
70
|
geminiMd,
|
|
74
71
|
geminiSettings,
|
|
75
72
|
hermesConfigReceipt,
|
|
@@ -82,7 +79,7 @@ import {
|
|
|
82
79
|
restoreCodexHookTrust,
|
|
83
80
|
vscodePluginDir,
|
|
84
81
|
vscodePluginMcp
|
|
85
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-67RNDRKL.js";
|
|
86
83
|
import {
|
|
87
84
|
exitOnHelpFlag
|
|
88
85
|
} from "../chunk-GOQHN2UH.js";
|
|
@@ -93,18 +90,18 @@ import {
|
|
|
93
90
|
import "../chunk-DINDL2CF.js";
|
|
94
91
|
import {
|
|
95
92
|
removeClaudeAlias
|
|
96
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-VF7YOT2W.js";
|
|
97
94
|
import "../chunk-7QLSKOSU.js";
|
|
98
95
|
import {
|
|
99
96
|
EXIT
|
|
100
97
|
} from "../chunk-KZERVKTD.js";
|
|
101
|
-
import "../chunk-
|
|
98
|
+
import "../chunk-VTUN7WSG.js";
|
|
102
99
|
import "../chunk-2UMNXADU.js";
|
|
103
100
|
import {
|
|
104
101
|
CURSOR_GATE_EVENTS,
|
|
105
102
|
HOOK_LOCATOR_BINARY,
|
|
106
103
|
isValidApiKey
|
|
107
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-HUZW6SEO.js";
|
|
108
105
|
|
|
109
106
|
// bin/pushary-clean.ts
|
|
110
107
|
import { existsSync, readFileSync, copyFileSync, readdirSync } from "fs";
|
|
@@ -1,46 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "../chunk-
|
|
2
|
+
import "../chunk-DNLFSRCF.js";
|
|
3
3
|
import {
|
|
4
4
|
LiveTranscriptRelay,
|
|
5
5
|
liveSessionSleep,
|
|
6
6
|
postLiveSession,
|
|
7
7
|
postLiveSessionUntilAccepted,
|
|
8
8
|
startLiveSessionHeartbeat
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ROTIPRM4.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-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-KDPYXMUI.js";
|
|
17
|
+
import "../chunk-CDSA3NTB.js";
|
|
18
18
|
import "../chunk-EQRS3SGM.js";
|
|
19
19
|
import {
|
|
20
20
|
transcriptsEnabled
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-C2FYSFTQ.js";
|
|
22
22
|
import {
|
|
23
23
|
spawnClaude
|
|
24
24
|
} from "../chunk-XHKBHWLX.js";
|
|
25
|
-
import {
|
|
26
|
-
resolveBinary
|
|
27
|
-
} from "../chunk-L4ZCFMWW.js";
|
|
28
25
|
import {
|
|
29
26
|
isDecisionStopped,
|
|
30
27
|
withdrawQuestion
|
|
31
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-LGXUGYUH.js";
|
|
32
29
|
import {
|
|
33
30
|
getMachineId
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import
|
|
36
|
-
|
|
31
|
+
} from "../chunk-IZKCA35M.js";
|
|
32
|
+
import {
|
|
33
|
+
resolveBinary
|
|
34
|
+
} from "../chunk-67RNDRKL.js";
|
|
35
|
+
import "../chunk-VF7YOT2W.js";
|
|
37
36
|
import {
|
|
38
37
|
callMcpTool
|
|
39
38
|
} from "../chunk-EYRGBYZG.js";
|
|
40
39
|
import "../chunk-SAF6HGAA.js";
|
|
41
40
|
import "../chunk-7QLSKOSU.js";
|
|
42
41
|
import "../chunk-KZERVKTD.js";
|
|
43
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-VTUN7WSG.js";
|
|
44
43
|
import {
|
|
45
44
|
getApiKey,
|
|
46
45
|
getBaseUrl
|
|
@@ -48,7 +47,7 @@ import {
|
|
|
48
47
|
import {
|
|
49
48
|
parseAgentQuestion,
|
|
50
49
|
parseAgentQuestionAnswers
|
|
51
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-HUZW6SEO.js";
|
|
52
51
|
|
|
53
52
|
// bin/pushary-codex-bridge.ts
|
|
54
53
|
import { existsSync } from "fs";
|