@pushary/agent-hooks 1.9.14 → 1.9.15
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 +14 -0
- package/dist/bin/pushary-bell-hook.js +25 -25
- package/dist/bin/pushary-bell.js +9 -9
- package/dist/bin/pushary-claude.js +24 -24
- package/dist/bin/pushary-clean.js +28 -28
- package/dist/bin/pushary-codex-bridge.js +17 -17
- package/dist/bin/pushary-codex-hook.js +72 -48
- package/dist/bin/pushary-codex.js +12 -12
- package/dist/bin/pushary-connect.js +24 -24
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +31 -31
- package/dist/bin/pushary-disconnect.js +24 -24
- package/dist/bin/pushary-doctor.js +33 -33
- package/dist/bin/pushary-elicitation-hook.js +25 -25
- package/dist/bin/pushary-gemini-bridge.js +13 -13
- package/dist/bin/pushary-gemini-hook.js +27 -27
- package/dist/bin/pushary-hook.js +29 -29
- package/dist/bin/pushary-login.js +12 -12
- package/dist/bin/pushary-logout.js +10 -10
- package/dist/bin/pushary-mcp.js +9 -9
- package/dist/bin/pushary-mode.js +12 -12
- package/dist/bin/pushary-notification-hook.js +24 -24
- package/dist/bin/pushary-opencode-hook.js +26 -26
- package/dist/bin/pushary-permission-denied-hook.js +29 -29
- package/dist/bin/pushary-permission-hook.js +28 -28
- package/dist/bin/pushary-post-hook.js +24 -24
- package/dist/bin/pushary-prompt-hook.js +24 -24
- package/dist/bin/pushary-session-end-hook.js +24 -24
- package/dist/bin/pushary-session-start-hook.js +28 -28
- package/dist/bin/pushary-setup.js +35 -35
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +26 -26
- package/dist/bin/pushary-stop-hook.js +24 -24
- package/dist/bin/pushary-stopfailure-hook.js +24 -24
- package/dist/bin/pushary-suggestions.js +12 -12
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +7 -7
- package/dist/bin/pushary-upgrade.js +30 -30
- package/dist/bin/pushary-wait.js +12 -12
- package/dist/bin/pushary.js +6 -6
- package/dist/{chunk-Y6IKUCVF.js → chunk-2DCGUCPZ.js} +2 -2
- package/dist/{chunk-EB6LH3U6.js → chunk-3FQCZSEQ.js} +3 -3
- package/dist/{chunk-J5RQW52I.js → chunk-3QXCTYMG.js} +2 -2
- package/dist/{chunk-CT4BJEU7.js → chunk-3YCYTGGK.js} +1 -1
- package/dist/{chunk-VYXXAFIA.js → chunk-52JA2WTH.js} +1 -1
- package/dist/{chunk-LETLRKSY.js → chunk-57VUNV32.js} +1 -1
- package/dist/{chunk-3KHQWC4F.js → chunk-5BIMNGRQ.js} +6 -6
- package/dist/{chunk-NMDGIMDV.js → chunk-5EWNGYFD.js} +2 -2
- package/dist/{chunk-5UYAJVAQ.js → chunk-5LQ7QUVF.js} +1 -1
- package/dist/{chunk-ARM4DMIL.js → chunk-6GRUERVL.js} +1 -1
- package/dist/{chunk-2Q6IT5PR.js → chunk-6LORREOI.js} +1 -1
- package/dist/{chunk-2Z56BRTF.js → chunk-6MLSXBNR.js} +2 -2
- package/dist/{chunk-H7MTFFNI.js → chunk-6WECKO24.js} +4 -4
- package/dist/{chunk-XJKM6NQS.js → chunk-7QZZK2YU.js} +6 -6
- package/dist/{chunk-NXJNYAP7.js → chunk-7VOEZPJ4.js} +1 -1
- package/dist/{chunk-NAROM5IR.js → chunk-AYV2NRYJ.js} +93 -2
- package/dist/{chunk-NNCK2PUR.js → chunk-C2OUUGCW.js} +2 -2
- package/dist/{chunk-42WYKVHL.js → chunk-COZE23R3.js} +2 -2
- package/dist/{chunk-34PUBGLS.js → chunk-CU7Y7Y4L.js} +2 -2
- package/dist/{chunk-2QASSTM5.js → chunk-D72OJS4S.js} +2 -2
- package/dist/{chunk-SEQSZYLW.js → chunk-FZW7Q7GM.js} +5 -5
- package/dist/{chunk-Q7JWY33N.js → chunk-H5YC7H6V.js} +3 -3
- package/dist/{chunk-2WWHZTI5.js → chunk-HJL5RBOU.js} +4 -4
- package/dist/{chunk-7MGNY7S3.js → chunk-HSVJ62BE.js} +1 -1
- package/dist/{chunk-AJRT3JGE.js → chunk-HTO2XULO.js} +1 -1
- package/dist/{chunk-WYPQKDKX.js → chunk-IQCNOEQL.js} +13 -18
- package/dist/{chunk-ECU2Y7D2.js → chunk-JC3AGMOP.js} +2 -2
- package/dist/{chunk-LRZMGU7T.js → chunk-JEJSAI6Z.js} +4 -4
- package/dist/{chunk-YSVCBUT3.js → chunk-LJJWNHUW.js} +2 -2
- package/dist/{chunk-POJUUEGO.js → chunk-ME55HQOI.js} +4 -4
- package/dist/{chunk-ZVFKNSRX.js → chunk-NA5D62OI.js} +1 -1
- package/dist/{chunk-5RONPCMH.js → chunk-NDKFHLJI.js} +5 -5
- package/dist/{chunk-4BXVGCPE.js → chunk-NDZBDXU3.js} +4 -4
- package/dist/{chunk-OMR3P7PJ.js → chunk-OIESPH3R.js} +14 -14
- package/dist/{chunk-FKQMH2DW.js → chunk-PNUWMEIY.js} +1 -1
- package/dist/{chunk-3U4R475X.js → chunk-PSWFYNOX.js} +3 -3
- package/dist/{chunk-QD6GQDYW.js → chunk-Q4JD6WNB.js} +1 -1
- package/dist/{chunk-DVTXGXXL.js → chunk-QIOWXUFH.js} +1 -1
- package/dist/{chunk-MSEUUAJ7.js → chunk-SDDKVY4I.js} +5 -5
- package/dist/{chunk-CIZQARGJ.js → chunk-SYLJL63X.js} +3 -3
- package/dist/{chunk-7SIZISYH.js → chunk-TFV6RATK.js} +5 -5
- package/dist/{chunk-2A234H3F.js → chunk-TMQMUGSN.js} +3 -3
- package/dist/{chunk-ZSL7B7NF.js → chunk-VKTDXQGH.js} +2 -2
- package/dist/{chunk-RV4U3LYL.js → chunk-VP6WDFVO.js} +3 -3
- package/dist/{chunk-5VP72OOI.js → chunk-WBQK6KD5.js} +8 -8
- package/dist/{chunk-JHDHC2M7.js → chunk-WJO7SENK.js} +4 -4
- package/dist/{chunk-3XAUHY35.js → chunk-WWTB4DAE.js} +1 -1
- package/dist/{chunk-2NIBBM3N.js → chunk-Y6KG5JZP.js} +2 -2
- package/dist/{chunk-K2IUMMZJ.js → chunk-YKYFFCB5.js} +1 -1
- package/dist/{chunk-PWO6T7JG.js → chunk-YL6HU2KF.js} +5 -5
- package/dist/{chunk-RMWV3MYN.js → chunk-YOHPJNFW.js} +4 -4
- package/dist/{chunk-APG7IAUK.js → chunk-ZH74RRGM.js} +1 -1
- package/dist/{chunk-ZECHTK3K.js → chunk-ZMUDVPOT.js} +3 -3
- package/dist/{global-upgrade-P5CJ22AW.js → global-upgrade-MOBLBPIJ.js} +6 -6
- package/dist/{paths-XZE2MPTP.js → paths-55SPLYW5.js} +2 -2
- package/dist/{reapply-V4GMKCGP.js → reapply-SOIJJKGO.js} +20 -20
- package/dist/src/index.js +19 -19
- package/dist/{upgrade-lock-DQF62B6X.js → upgrade-lock-FER4DMDA.js} +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.15
|
|
4
|
+
|
|
5
|
+
- Codex in Every time asks your phone only about the calls that matter. Codex raises its own approval when a command leaves its sandbox, a forced `rm` runs, an MCP tool is not marked read-only, or a patch lands outside the project, and Pushary answers that request in your mode as before. Before a call runs, Pushary now adds a question only when the call leaves the scope you agreed, a rule you wrote, a preset you picked or an approval route covers it, the command destroys, rewrites history or reaches the network, or a patch deletes a file. Commands that only build, test or read no longer reach your phone, and an MCP tool Codex asks about itself is asked once, through Codex's own request. The kill switch and your deny rules still apply to every call.
|
|
6
|
+
- In full access, where Codex asks nothing itself, every call your policy gates still comes to your phone, as before.
|
|
7
|
+
- When I'm out is unchanged for Codex, except for scope: Codex's own approval requests go to your phone first, and nothing else is asked before a call runs.
|
|
8
|
+
- A Codex edit outside the scope you agreed is now asked in Every time and When I'm out, also while you are at the keyboard, because Codex has no prompt for it there. Yes lets it run. No refuses it. No answer before your policy's wait ends refuses it with the path named. In Updates and Terminal, where nobody would be asked, it is refused. A patch that leaves the scope across several files is refused with a request to split it into single-file edits, as with Claude Code. Before this release Codex applied these edits without asking.
|
|
9
|
+
- In Updates, Pushary sends an update before a Codex call only for the calls above. Codex's own approval requests still send one each.
|
|
10
|
+
- A patch whose `*** Delete File:` or `*** Update File:` header is indented, which Codex applies, is now read as the delete or edit it is, so your path rules and the delete question apply to it.
|
|
11
|
+
- A command that deletes through a cloud CLI subcommand spelled as one word, such as `aws dynamodb delete-table`, `aws ec2 terminate-instances`, `heroku apps:destroy` or `firebase firestore:delete`, now counts as destructive for every agent. Pushary asks about it instead of leaving it to the agent's own allowlist, and an "allow Bash for this session" grant does not cover it.
|
|
12
|
+
- Codex questions can offer "Allow for this session": for Bash, where risky commands still ask, and, after three approvals in a row, for one exact MCP tool. It is never offered for Pushary's own tools or for a tool whose name says it runs code, sends, merges, publishes, deploys, writes, deletes or moves money.
|
|
13
|
+
|
|
3
14
|
## 1.9.14
|
|
4
15
|
|
|
5
16
|
- Antigravity CLI approvals go to your phone every time. agy has no approval prompt of its own while Pushary is its only gate, so under When I'm out the phone is no longer skipped because you are at the keyboard, and the wait is your policy's timeout instead of the short push window. Before, such a call was blocked with nobody asked, or after 10 seconds when you were away. Other agents keep When I'm out as it was.
|
|
@@ -16,6 +27,9 @@
|
|
|
16
27
|
- An Antigravity CLI tool call that failed is recorded as failed in the session, where it used to show as completed.
|
|
17
28
|
- `pushary disconnect fx` is recorded in `~/.pushary/declined-agents.json`, so Pushary.app versions that read that file leave fx off until you connect it again.
|
|
18
29
|
|
|
30
|
+
- `rg`, `sort`, `uniq`, `sleep`, `pgrep` and `git branch --show-current` run without asking when they only read. `rg` still asks with an option that runs another program (`--pre`, `--search-zip`, `-z`), `sort` with one that writes a file (`-o`, `--output`), and `uniq` with a second file, which it writes.
|
|
31
|
+
- Codex's `wait_threads` and `send_message_to_thread` run without asking, matched by exact name. The kill switch, a deny rule and a rule you wrote for the tool still win over them.
|
|
32
|
+
- A deny rule now blocks read-only commands too. A bare `Bash` deny, a `*` deny or a preset that never runs the shell used to let `ls` and other reads through.
|
|
19
33
|
## 1.9.11
|
|
20
34
|
|
|
21
35
|
- `pushary setup` connects Antigravity CLI (`agy`). Pick it in setup or pass `--agents antigravity_cli`. Setup adds a hook named `pushary` to `~/.gemini/config/hooks.json` for `PreToolUse`, `PostToolUse` and `Stop`, and the Pushary MCP server to `~/.gemini/config/mcp_config.json`. Before agy runs a shell command, writes or edits a file, or calls an MCP tool, your policy decides, and the risky ones wait for your answer on your phone or your Mac. Pushary answers agy only with allow or deny: a denial, or no answer before your policy's wait ends, blocks the call with a reason the model sees.
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handleBell
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q4JD6WNB.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-JEJSAI6Z.js";
|
|
8
|
+
import "../chunk-WBQK6KD5.js";
|
|
9
9
|
import "../chunk-SGZJ5LYH.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-TFV6RATK.js";
|
|
11
|
+
import "../chunk-QIOWXUFH.js";
|
|
12
|
+
import "../chunk-3YCYTGGK.js";
|
|
13
|
+
import "../chunk-HSVJ62BE.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-ME55HQOI.js";
|
|
16
|
+
import "../chunk-FZW7Q7GM.js";
|
|
17
|
+
import "../chunk-VP6WDFVO.js";
|
|
18
|
+
import "../chunk-YKYFFCB5.js";
|
|
19
|
+
import "../chunk-7VOEZPJ4.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-5EWNGYFD.js";
|
|
23
|
+
import "../chunk-IQCNOEQL.js";
|
|
24
|
+
import "../chunk-52JA2WTH.js";
|
|
25
|
+
import "../chunk-YL6HU2KF.js";
|
|
26
26
|
import "../chunk-POFBE6ZY.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-SYLJL63X.js";
|
|
28
|
+
import "../chunk-PSWFYNOX.js";
|
|
29
|
+
import "../chunk-3FQCZSEQ.js";
|
|
30
|
+
import "../chunk-NA5D62OI.js";
|
|
31
31
|
import "../chunk-7QLSKOSU.js";
|
|
32
32
|
import "../chunk-KZERVKTD.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-VKTDXQGH.js";
|
|
34
|
+
import "../chunk-HJL5RBOU.js";
|
|
35
35
|
import "../chunk-T7E75EKA.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-HTO2XULO.js";
|
|
37
|
+
import "../chunk-PNUWMEIY.js";
|
|
38
|
+
import "../chunk-AYV2NRYJ.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-Q4JD6WNB.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
11
|
} from "../chunk-U4TMAANR.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-C2OUUGCW.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-7VOEZPJ4.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-GMXKITVA.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-5EWNGYFD.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-VKTDXQGH.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeSettings
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-HJL5RBOU.js";
|
|
32
32
|
import {
|
|
33
33
|
readJsonSafe,
|
|
34
34
|
writeJsonAtomic
|
|
35
35
|
} from "../chunk-T7E75EKA.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-HTO2XULO.js";
|
|
37
|
+
import "../chunk-PNUWMEIY.js";
|
|
38
|
+
import "../chunk-AYV2NRYJ.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-5LQ7QUVF.js";
|
|
12
12
|
import {
|
|
13
13
|
announceSubscriptionRequired,
|
|
14
14
|
isDeferAnswer
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-6GRUERVL.js";
|
|
16
16
|
import {
|
|
17
17
|
claudeTranscriptPath,
|
|
18
18
|
loadSessionKey,
|
|
19
19
|
registerTranscript,
|
|
20
20
|
registeredTranscriptEnabled
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-WBQK6KD5.js";
|
|
22
22
|
import "../chunk-SGZJ5LYH.js";
|
|
23
23
|
import {
|
|
24
24
|
ensureDaemonRunning
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-TFV6RATK.js";
|
|
26
26
|
import {
|
|
27
27
|
encryptRecord
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-QIOWXUFH.js";
|
|
29
|
+
import "../chunk-3YCYTGGK.js";
|
|
30
30
|
import {
|
|
31
31
|
transcriptsEnabled
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-HSVJ62BE.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-FZW7Q7GM.js";
|
|
38
|
+
import "../chunk-VP6WDFVO.js";
|
|
39
|
+
import "../chunk-YKYFFCB5.js";
|
|
40
|
+
import "../chunk-7VOEZPJ4.js";
|
|
41
41
|
import "../chunk-GMXKITVA.js";
|
|
42
42
|
import "../chunk-6ICPEJY5.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-5EWNGYFD.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-IQCNOEQL.js";
|
|
62
|
+
import "../chunk-52JA2WTH.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-YL6HU2KF.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-SYLJL63X.js";
|
|
76
|
+
import "../chunk-PSWFYNOX.js";
|
|
77
|
+
import "../chunk-3FQCZSEQ.js";
|
|
78
78
|
import {
|
|
79
79
|
getMachineId
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-NA5D62OI.js";
|
|
81
81
|
import "../chunk-7QLSKOSU.js";
|
|
82
82
|
import "../chunk-KZERVKTD.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-VKTDXQGH.js";
|
|
84
|
+
import "../chunk-HJL5RBOU.js";
|
|
85
85
|
import "../chunk-T7E75EKA.js";
|
|
86
86
|
import {
|
|
87
87
|
getApiKey,
|
|
88
88
|
getBaseUrl
|
|
89
|
-
} from "../chunk-
|
|
89
|
+
} from "../chunk-HTO2XULO.js";
|
|
90
90
|
import {
|
|
91
91
|
NPX_LATEST_COMMAND
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-PNUWMEIY.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-AYV2NRYJ.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-H5YC7H6V.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-ZMUDVPOT.js";
|
|
26
26
|
import {
|
|
27
27
|
planFxRemoval,
|
|
28
28
|
removeInstructionBlock
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-NDZBDXU3.js";
|
|
30
|
+
import "../chunk-D72OJS4S.js";
|
|
31
31
|
import {
|
|
32
32
|
disableDaemonService
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-TFV6RATK.js";
|
|
34
34
|
import "../chunk-XHKBHWLX.js";
|
|
35
35
|
import {
|
|
36
36
|
APPROVAL_SETTINGS_PATH
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-WJO7SENK.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-6WECKO24.js";
|
|
45
|
+
import "../chunk-3QXCTYMG.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-NDKFHLJI.js";
|
|
58
58
|
import {
|
|
59
59
|
ansiPainter,
|
|
60
60
|
useColor
|
|
61
61
|
} from "../chunk-U4TMAANR.js";
|
|
62
62
|
import {
|
|
63
63
|
exitOnHelpFlag
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-C2OUUGCW.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-ME55HQOI.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-FZW7Q7GM.js";
|
|
86
86
|
import {
|
|
87
87
|
removeGeminiSettings
|
|
88
|
-
} from "../chunk-
|
|
89
|
-
import "../chunk-
|
|
90
|
-
import "../chunk-
|
|
88
|
+
} from "../chunk-VP6WDFVO.js";
|
|
89
|
+
import "../chunk-YKYFFCB5.js";
|
|
90
|
+
import "../chunk-7VOEZPJ4.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-5EWNGYFD.js";
|
|
104
|
+
import "../chunk-IQCNOEQL.js";
|
|
105
|
+
import "../chunk-52JA2WTH.js";
|
|
106
|
+
import "../chunk-YL6HU2KF.js";
|
|
107
107
|
import "../chunk-POFBE6ZY.js";
|
|
108
|
-
import "../chunk-
|
|
108
|
+
import "../chunk-SYLJL63X.js";
|
|
109
109
|
import {
|
|
110
110
|
absoluteUrl
|
|
111
|
-
} from "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-
|
|
111
|
+
} from "../chunk-PSWFYNOX.js";
|
|
112
|
+
import "../chunk-3FQCZSEQ.js";
|
|
113
|
+
import "../chunk-NA5D62OI.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-VKTDXQGH.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-
|
|
155
|
+
} from "../chunk-HJL5RBOU.js";
|
|
156
156
|
import "../chunk-T7E75EKA.js";
|
|
157
157
|
import {
|
|
158
158
|
getBaseUrl
|
|
159
|
-
} from "../chunk-
|
|
159
|
+
} from "../chunk-HTO2XULO.js";
|
|
160
160
|
import {
|
|
161
161
|
NPX_LATEST_COMMAND
|
|
162
|
-
} from "../chunk-
|
|
162
|
+
} from "../chunk-PNUWMEIY.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-AYV2NRYJ.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-Y6KG5JZP.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveProviderBinary
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-JC3AGMOP.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-5LQ7QUVF.js";
|
|
20
|
+
import "../chunk-QIOWXUFH.js";
|
|
21
|
+
import "../chunk-3YCYTGGK.js";
|
|
22
22
|
import {
|
|
23
23
|
transcriptsEnabled
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-HSVJ62BE.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-5EWNGYFD.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-YL6HU2KF.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-SYLJL63X.js";
|
|
41
|
+
import "../chunk-PSWFYNOX.js";
|
|
42
|
+
import "../chunk-3FQCZSEQ.js";
|
|
43
43
|
import {
|
|
44
44
|
getMachineId
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-NA5D62OI.js";
|
|
46
46
|
import "../chunk-7QLSKOSU.js";
|
|
47
47
|
import "../chunk-KZERVKTD.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-VKTDXQGH.js";
|
|
49
|
+
import "../chunk-HJL5RBOU.js";
|
|
50
50
|
import "../chunk-T7E75EKA.js";
|
|
51
51
|
import {
|
|
52
52
|
getApiKey,
|
|
53
53
|
getBaseUrl
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-HTO2XULO.js";
|
|
55
|
+
import "../chunk-PNUWMEIY.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-AYV2NRYJ.js";
|
|
63
63
|
|
|
64
64
|
// bin/pushary-codex-bridge.ts
|
|
65
65
|
import { existsSync } from "fs";
|