@pushary/agent-hooks 0.95.8 → 0.98.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 +27 -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 +45 -40
- 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-GOPIMNVC.js → chunk-2GLOHBYB.js} +1 -1
- package/dist/{chunk-BQL7UDIB.js → chunk-3RVCQDC4.js} +1 -1
- package/dist/chunk-53QCTSWY.js +202 -0
- package/dist/{chunk-3YFJGKJQ.js → chunk-5B5QV3KC.js} +8 -8
- package/dist/{chunk-FRXZMCVA.js → chunk-5KLAETSU.js} +1 -1
- package/dist/{chunk-SDNTRS76.js → chunk-6C6MS57P.js} +1 -1
- package/dist/{chunk-A22VQ5ZL.js → chunk-6CYB77VD.js} +111 -55
- package/dist/{chunk-QD73WATQ.js → chunk-6LRGZJFB.js} +21 -21
- package/dist/{chunk-Z4JVEL7R.js → chunk-A76GNRIK.js} +191 -2
- package/dist/{chunk-RE25RJ5A.js → chunk-B35OCFXH.js} +4 -4
- package/dist/{chunk-UKMLSQXA.js → chunk-CP34FI4B.js} +2 -2
- package/dist/{chunk-I7LKI4WO.js → chunk-DOD3A6EU.js} +6 -8
- package/dist/{chunk-N6FAXQDD.js → chunk-FAJ4R7IB.js} +1 -1
- package/dist/{chunk-U5RIXR7I.js → chunk-HB2KB7QL.js} +1 -1
- package/dist/{chunk-QV266EGS.js → chunk-HFQ7WSHZ.js} +11 -14
- package/dist/{chunk-QJPYJVL3.js → chunk-IRLTW6KF.js} +1 -1
- package/dist/{chunk-Y6SCMXR6.js → chunk-J44RPHUZ.js} +2 -2
- package/dist/{chunk-R6LBGKWQ.js → chunk-JQU6PMH4.js} +17 -15
- package/dist/{chunk-4DUEIUUO.js → chunk-K6CH5NVW.js} +1 -1
- package/dist/{chunk-XZWUOCJZ.js → chunk-LBNAGGLV.js} +1 -1
- package/dist/{chunk-XS33QBJA.js → chunk-LGXUGYUH.js} +50 -1
- package/dist/{chunk-XO3JR3OP.js → chunk-LX4NNYII.js} +2 -2
- package/dist/{chunk-XEVOPOKT.js → chunk-M4TVEMLH.js} +1 -1
- package/dist/{chunk-TY6IJY6I.js → chunk-NIXVMMJM.js} +1 -1
- package/dist/{chunk-VERXHIQF.js → chunk-NQGYPTJQ.js} +1 -1
- package/dist/{chunk-EMGGUO2Q.js → chunk-OBYC6SN4.js} +1 -1
- package/dist/{chunk-XUTSZYYJ.js → chunk-OPR2BPD4.js} +1 -4
- package/dist/{chunk-MC5WUOJJ.js → chunk-OUAE3GKO.js} +75 -1
- package/dist/{chunk-ATKGKAP6.js → chunk-QXIF6R4P.js} +16 -13
- package/dist/chunk-SI7GYBQP.js +15 -0
- package/dist/{chunk-VMQU7YEJ.js → chunk-SJLGOVC6.js} +1 -1
- package/dist/{chunk-54W7ELDQ.js → chunk-TZHDKRMG.js} +2 -2
- package/dist/{chunk-F4TMY6XI.js → chunk-V47GITZV.js} +3 -3
- package/dist/{chunk-L7NOG547.js → chunk-VZD2GEKB.js} +1 -1
- package/dist/{chunk-R3OZ5ISU.js → chunk-W2MG2P46.js} +4 -4
- package/dist/{chunk-E47WV7BJ.js → chunk-WU6LSXJ6.js} +2 -2
- package/dist/{chunk-NOVA7KZ2.js → chunk-XL3RKJYQ.js} +308 -35
- package/dist/{chunk-5GKNAQTG.js → chunk-XOOWC62T.js} +1 -1
- package/dist/{chunk-SKPXQRKN.js → chunk-XPPXOKIG.js} +1 -1
- package/dist/{chunk-HUGIKB5O.js → chunk-YJDRHQLG.js} +6 -6
- 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,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.98.0
|
|
4
|
+
|
|
5
|
+
Run `pushary setup` so the instruction block in Codex's AGENTS.md, GEMINI.md and OpenCode's AGENTS.md carries the new line. `pushary upgrade` rewrites hooks and trust, not instruction files.
|
|
6
|
+
|
|
7
|
+
- Say the Codex rescue in your own voice. When you allow a command the auto-reviewer denied, the turn now resumes with "I approved this command in Pushary after the auto-reviewer denied it", because Codex hands that text to the model as your own turn. The old third-person wording read as a tool claiming someone else's permission and the model refused to run the command again.
|
|
8
|
+
- In the instructions Pushary writes, say that rerunning the exact command you approved after a denial is the approved path and not a bypass of an enforced gate. It sits beside the line that says never to bypass one, which is what the old wording collided with. Tied to the hook result rather than to "when Pushary reports", so a page or a diff reciting the sentence beside a command is not a rule telling the model to run it.
|
|
9
|
+
- Register the Cursor gate where it already sits, like every other writer, instead of taking it out and adding a fresh one on the end.
|
|
10
|
+
- Drop the Codex trust key of a duplicate of ours when a rewrite collapses it. Otherwise the tool that moves up into that index inherits a hash it cannot match, and Codex reads its hook as Modified and silently stops running it.
|
|
11
|
+
- `pushary doctor` no longer says another tool's hook "runs before ours" or "runs after ours". No agent runs the hooks on an event in a defined order, so the line names who else holds the event and for how long, and claims nothing about which goes first.
|
|
12
|
+
|
|
13
|
+
## 0.97.0
|
|
14
|
+
|
|
15
|
+
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.
|
|
16
|
+
|
|
17
|
+
- 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.
|
|
18
|
+
- 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.
|
|
19
|
+
- 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.
|
|
20
|
+
- 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.
|
|
21
|
+
- `pushary doctor` warns when a `PermissionDenied` or Codex `Stop` registration carries no hold budget.
|
|
22
|
+
|
|
23
|
+
## 0.96.0
|
|
24
|
+
|
|
25
|
+
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.
|
|
26
|
+
|
|
27
|
+
- 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.
|
|
28
|
+
- 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.
|
|
29
|
+
|
|
3
30
|
## 0.95.8
|
|
4
31
|
|
|
5
32
|
- 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-NIXVMMJM.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-M4TVEMLH.js";
|
|
8
|
+
import "../chunk-5B5QV3KC.js";
|
|
9
|
+
import "../chunk-OBYC6SN4.js";
|
|
10
|
+
import "../chunk-W2MG2P46.js";
|
|
11
|
+
import "../chunk-LBNAGGLV.js";
|
|
12
|
+
import "../chunk-IRLTW6KF.js";
|
|
13
|
+
import "../chunk-6LRGZJFB.js";
|
|
14
|
+
import "../chunk-DOD3A6EU.js";
|
|
15
|
+
import "../chunk-HFQ7WSHZ.js";
|
|
16
|
+
import "../chunk-2GLOHBYB.js";
|
|
17
|
+
import "../chunk-XPPXOKIG.js";
|
|
19
18
|
import "../chunk-EQRS3SGM.js";
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-NQGYPTJQ.js";
|
|
21
20
|
import "../chunk-XHKBHWLX.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-NOVA7KZ2.js";
|
|
21
|
+
import "../chunk-OPR2BPD4.js";
|
|
22
|
+
import "../chunk-WU6LSXJ6.js";
|
|
23
|
+
import "../chunk-XL3RKJYQ.js";
|
|
26
24
|
import "../chunk-GMXKITVA.js";
|
|
27
25
|
import "../chunk-DINDL2CF.js";
|
|
28
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-SJLGOVC6.js";
|
|
29
27
|
import "../chunk-7QLSKOSU.js";
|
|
30
28
|
import "../chunk-KZERVKTD.js";
|
|
31
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-VZD2GEKB.js";
|
|
32
30
|
import "../chunk-2UMNXADU.js";
|
|
33
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-OUAE3GKO.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-NIXVMMJM.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-2GLOHBYB.js";
|
|
16
14
|
import {
|
|
17
15
|
claudeSettings
|
|
18
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-XL3RKJYQ.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-SJLGOVC6.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-VZD2GEKB.js";
|
|
39
37
|
import "../chunk-2UMNXADU.js";
|
|
40
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-OUAE3GKO.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-J44RPHUZ.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-5B5QV3KC.js";
|
|
21
|
+
import "../chunk-OBYC6SN4.js";
|
|
22
|
+
import "../chunk-W2MG2P46.js";
|
|
23
|
+
import "../chunk-LBNAGGLV.js";
|
|
24
|
+
import "../chunk-IRLTW6KF.js";
|
|
25
|
+
import "../chunk-6LRGZJFB.js";
|
|
26
26
|
import {
|
|
27
27
|
ensureDaemonRunning
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-3AJIK5AO.js";
|
|
28
|
+
} from "../chunk-DOD3A6EU.js";
|
|
29
|
+
import "../chunk-HFQ7WSHZ.js";
|
|
30
|
+
import "../chunk-2GLOHBYB.js";
|
|
32
31
|
import {
|
|
33
32
|
encryptRecord
|
|
34
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-XPPXOKIG.js";
|
|
35
34
|
import "../chunk-EQRS3SGM.js";
|
|
36
35
|
import {
|
|
37
36
|
transcriptsEnabled
|
|
38
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-NQGYPTJQ.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-YJDRHQLG.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-A76GNRIK.js";
|
|
62
|
+
import "../chunk-OPR2BPD4.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-WU6LSXJ6.js";
|
|
76
|
+
import "../chunk-XL3RKJYQ.js";
|
|
79
77
|
import "../chunk-GMXKITVA.js";
|
|
80
78
|
import "../chunk-DINDL2CF.js";
|
|
81
|
-
import "../chunk-
|
|
79
|
+
import "../chunk-SJLGOVC6.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-VZD2GEKB.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-OUAE3GKO.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-FAJ4R7IB.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-V47GITZV.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-HB2KB7QL.js";
|
|
26
26
|
import {
|
|
27
27
|
isClaudeMcpSnapshot,
|
|
28
28
|
removeClaudeMcpServers,
|
|
29
29
|
removePusharySettings,
|
|
30
30
|
restoreClaudeMcpServer
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-QXIF6R4P.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-W2MG2P46.js";
|
|
38
|
+
import "../chunk-LBNAGGLV.js";
|
|
39
|
+
import "../chunk-IRLTW6KF.js";
|
|
40
40
|
import {
|
|
41
41
|
pusharyHookExecutable
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-6LRGZJFB.js";
|
|
43
43
|
import {
|
|
44
44
|
disableDaemonService
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-DOD3A6EU.js";
|
|
46
46
|
import {
|
|
47
47
|
removeGeminiSettings
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-3AJIK5AO.js";
|
|
48
|
+
} from "../chunk-HFQ7WSHZ.js";
|
|
49
|
+
import "../chunk-2GLOHBYB.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-A76GNRIK.js";
|
|
52
|
+
import "../chunk-OPR2BPD4.js";
|
|
53
|
+
import "../chunk-WU6LSXJ6.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-XL3RKJYQ.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-SJLGOVC6.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-VZD2GEKB.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-OUAE3GKO.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-TZHDKRMG.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-5KLAETSU.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-J44RPHUZ.js";
|
|
17
|
+
import "../chunk-XPPXOKIG.js";
|
|
18
18
|
import "../chunk-EQRS3SGM.js";
|
|
19
19
|
import {
|
|
20
20
|
transcriptsEnabled
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-NQGYPTJQ.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-WU6LSXJ6.js";
|
|
32
|
+
import {
|
|
33
|
+
resolveBinary
|
|
34
|
+
} from "../chunk-XL3RKJYQ.js";
|
|
35
|
+
import "../chunk-SJLGOVC6.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-VZD2GEKB.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-OUAE3GKO.js";
|
|
52
51
|
|
|
53
52
|
// bin/pushary-codex-bridge.ts
|
|
54
53
|
import { existsSync } from "fs";
|