@pushary/agent-hooks 1.9.15 → 1.9.17
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 +22 -0
- package/dist/bin/pushary-bell-hook.js +25 -25
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +24 -24
- package/dist/bin/pushary-clean.js +29 -29
- package/dist/bin/pushary-codex-bridge.js +17 -17
- package/dist/bin/pushary-codex-hook.js +45 -61
- package/dist/bin/pushary-codex.js +12 -12
- package/dist/bin/pushary-connect.js +25 -25
- 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 +34 -34
- 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 +13 -13
- package/dist/bin/pushary-logout.js +11 -11
- package/dist/bin/pushary-mcp.js +9 -9
- package/dist/bin/pushary-mode.js +13 -13
- 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 +443 -117
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +27 -27
- package/dist/bin/pushary-stop-hook.js +24 -24
- package/dist/bin/pushary-stopfailure-hook.js +24 -24
- package/dist/bin/pushary-suggestions.js +13 -13
- 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 +13 -13
- package/dist/bin/pushary.js +10 -7
- package/dist/{chunk-WJO7SENK.js → chunk-2V4NKFHD.js} +5 -5
- package/dist/{chunk-TFV6RATK.js → chunk-35USDKDL.js} +5 -5
- package/dist/{chunk-6MLSXBNR.js → chunk-3FBU6HUW.js} +2 -2
- package/dist/{chunk-LJJWNHUW.js → chunk-3LRUBMNK.js} +2 -2
- package/dist/{chunk-Q4JD6WNB.js → chunk-5DVWWQ7H.js} +1 -1
- package/dist/{chunk-JEJSAI6Z.js → chunk-5SHOKE4K.js} +4 -4
- package/dist/{chunk-JC3AGMOP.js → chunk-5Y4PJEBJ.js} +2 -2
- package/dist/{chunk-ME55HQOI.js → chunk-73NUMFZG.js} +4 -4
- package/dist/{chunk-IQCNOEQL.js → chunk-AEWPTGG2.js} +10 -11
- package/dist/{chunk-5LQ7QUVF.js → chunk-AVNOQUNA.js} +1 -1
- package/dist/{chunk-YOHPJNFW.js → chunk-B45C755V.js} +36 -25
- package/dist/{chunk-3QXCTYMG.js → chunk-B4WI4UOX.js} +2 -2
- package/dist/{chunk-COZE23R3.js → chunk-BHBTPKYT.js} +2 -2
- package/dist/{chunk-ZMUDVPOT.js → chunk-CSKEQDLX.js} +3 -3
- package/dist/{chunk-SYLJL63X.js → chunk-CUW5CPJJ.js} +3 -3
- package/dist/{chunk-7VOEZPJ4.js → chunk-D2ZPTCAL.js} +1 -1
- package/dist/{chunk-HSVJ62BE.js → chunk-D45B4GNL.js} +1 -1
- package/dist/{chunk-NDZBDXU3.js → chunk-DCPJNJN3.js} +27 -8
- package/dist/{chunk-VP6WDFVO.js → chunk-E755IUIH.js} +3 -3
- package/dist/{chunk-OIESPH3R.js → chunk-EBABFMC7.js} +11 -11
- package/dist/{chunk-CU7Y7Y4L.js → chunk-ENR7TJSA.js} +2 -2
- package/dist/{chunk-U4TMAANR.js → chunk-FO3MDD26.js} +4 -4
- package/dist/{chunk-HJL5RBOU.js → chunk-GFW4NSYW.js} +23 -4
- package/dist/{chunk-H5YC7H6V.js → chunk-GYLRXSZW.js} +3 -3
- package/dist/{chunk-WWTB4DAE.js → chunk-H3OSAPDD.js} +1 -1
- package/dist/{chunk-3YCYTGGK.js → chunk-IJOITMKQ.js} +1 -1
- package/dist/{chunk-HTO2XULO.js → chunk-KRSBK5BE.js} +1 -1
- package/dist/{chunk-3FQCZSEQ.js → chunk-KWMZDPUJ.js} +3 -3
- package/dist/{chunk-6LORREOI.js → chunk-LBUKSO4N.js} +1 -1
- package/dist/{chunk-YKYFFCB5.js → chunk-MRMXB6Z6.js} +1 -1
- package/dist/{chunk-57VUNV32.js → chunk-NHJUNVMB.js} +1 -1
- package/dist/{chunk-AYV2NRYJ.js → chunk-OG5HVCVG.js} +12 -1
- package/dist/{chunk-7QZZK2YU.js → chunk-OQTTGULW.js} +6 -6
- package/dist/{chunk-NDKFHLJI.js → chunk-P76XTT2Y.js} +5 -5
- package/dist/{chunk-6WECKO24.js → chunk-PILHK3P5.js} +4 -4
- package/dist/{chunk-5BIMNGRQ.js → chunk-PJCNX4AA.js} +6 -6
- package/dist/{chunk-SDDKVY4I.js → chunk-PM7XZ5GJ.js} +5 -5
- package/dist/{chunk-D72OJS4S.js → chunk-PMKC4ZYP.js} +2 -2
- package/dist/{chunk-2DCGUCPZ.js → chunk-PYKF2DUY.js} +2 -2
- package/dist/{chunk-QIOWXUFH.js → chunk-QWO5UBVP.js} +1 -1
- package/dist/{chunk-Y6KG5JZP.js → chunk-SRK4O45T.js} +2 -2
- package/dist/{chunk-5EWNGYFD.js → chunk-TEWUZ3MT.js} +2 -2
- package/dist/{chunk-C2OUUGCW.js → chunk-TY2OTJFK.js} +2 -2
- package/dist/{chunk-52JA2WTH.js → chunk-UJTQCOYP.js} +1 -1
- package/dist/{chunk-ZH74RRGM.js → chunk-UM7CBQS5.js} +1 -1
- package/dist/{chunk-VKTDXQGH.js → chunk-UNO3UEDW.js} +2 -2
- package/dist/{chunk-FZW7Q7GM.js → chunk-VZA4GGXL.js} +10 -15
- package/dist/{chunk-TMQMUGSN.js → chunk-XGRZU6J4.js} +3 -3
- package/dist/{chunk-WBQK6KD5.js → chunk-XTVOEEZ5.js} +8 -8
- package/dist/{chunk-NA5D62OI.js → chunk-YCBXYOPI.js} +1 -1
- package/dist/{chunk-6GRUERVL.js → chunk-YJCNFRKV.js} +1 -1
- package/dist/{chunk-PNUWMEIY.js → chunk-YVDFJ6VV.js} +3 -2
- package/dist/{chunk-YL6HU2KF.js → chunk-Z4M66PI6.js} +5 -5
- package/dist/{chunk-PSWFYNOX.js → chunk-Z7LEZQSY.js} +3 -3
- package/dist/{global-upgrade-MOBLBPIJ.js → global-upgrade-MYSWPDKE.js} +6 -6
- package/dist/{paths-55SPLYW5.js → paths-JFXSQQBD.js} +2 -2
- package/dist/{reapply-SOIJJKGO.js → reapply-E3JKAGNS.js} +20 -20
- package/dist/src/index.js +19 -19
- package/dist/{upgrade-lock-FER4DMDA.js → upgrade-lock-DO5TUCXB.js} +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.17
|
|
4
|
+
|
|
5
|
+
- 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.
|
|
6
|
+
|
|
7
|
+
## 1.9.16
|
|
8
|
+
|
|
9
|
+
- `pushary setup` names the account before it reuses a key: the key saved on this machine, `PUSHARY_API_KEY`, or a key found in your agent settings. At a terminal it asks `Continue as @workspace? (Y/n)`, and No connects a new key the way you asked: the Pushary app on your phone by default, or a browser sign-in with `--connect browser`. Without a terminal it names the account and prints `Wrong account? Run npx pushary@latest setup --connect app`. A key found in your agent settings is called the Pushary for Mac key only when Pushary for Mac is installed. A key on an inactive plan names its account and the same `--connect app` line instead of telling you to re-run setup with the saved key.
|
|
10
|
+
- The pairing screen prints the QR code last, directly above the waiting line, so it no longer scrolls off a 24-row terminal. Above it: what to scan, the short link, the fingerprint in plain words, the app link, and where to get the app. The browser fallback is offered once, after a minute.
|
|
11
|
+
- Stopping setup with SIGTERM while it waits for the phone cancels the pairing, as Ctrl-C already did. An agent whose tool call times out no longer leaves a live QR behind.
|
|
12
|
+
- Setup saves a paired key as soon as the key is checked, before it asks which agents to set up. Stopping at the agent list keeps the key, and the next run does not draw a new QR.
|
|
13
|
+
- When the phone answers the test question, setup ends with `You're set. Your phone answered in 3s.` and one line asking you to restart open agent sessions. The two "Agent hook activation remains unverified" lines are gone. A test nobody answered now shows `! No answer yet` instead of a tick.
|
|
14
|
+
- Setup says `Signed in to @workspace (Agent plan)` instead of `Key verified (workspace · plan agent)`, and names the agents Pushary for Mac handles in plain words.
|
|
15
|
+
- The transcript notice is one line: transcripts sync redacted and encrypted, your phone can decrypt them, authorized Pushary compliance admins can recover them for documented legal obligations, and the command that turns sync off. Transcript sync is still on by default.
|
|
16
|
+
- The two questions after setup wires your agents say plainly what they change: a Pushary section in this folder's `CLAUDE.md` or `AGENTS.md`, and a `claude` alias in your shell profile. Both still default to No.
|
|
17
|
+
- On Windows every printed `npx pushary@latest` command reads `npx.cmd pushary@latest`, which PowerShell runs without the execution policy blocking it.
|
|
18
|
+
- When npm cannot install globally (EACCES or EPERM), setup says to use nvm or set an npm prefix, instead of offering a retry that fails the same way.
|
|
19
|
+
- Setup prints one line before it installs the phone-start background service, with `--control off` to turn it off.
|
|
20
|
+
- When Pushary for Mac is signed into a different account, setup names both accounts and the two ways out: sign Pushary for Mac into this setup's account, or take over the hooks with `--take-over-hooks`.
|
|
21
|
+
- An unreachable phone is pointed at `npx pushary@latest setup --connect app` to pair the Pushary app, not at web push.
|
|
22
|
+
- On an unsupported Node, `pushary` says which releases it needs, which one you have, and where to get Node.js.
|
|
23
|
+
|
|
3
24
|
## 1.9.15
|
|
4
25
|
|
|
5
26
|
- 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.
|
|
@@ -30,6 +51,7 @@
|
|
|
30
51
|
- `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
52
|
- 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
53
|
- 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.
|
|
54
|
+
|
|
33
55
|
## 1.9.11
|
|
34
56
|
|
|
35
57
|
- `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-5DVWWQ7H.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-5SHOKE4K.js";
|
|
8
|
+
import "../chunk-XTVOEEZ5.js";
|
|
9
9
|
import "../chunk-SGZJ5LYH.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-35USDKDL.js";
|
|
11
|
+
import "../chunk-QWO5UBVP.js";
|
|
12
|
+
import "../chunk-IJOITMKQ.js";
|
|
13
|
+
import "../chunk-D45B4GNL.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-73NUMFZG.js";
|
|
16
|
+
import "../chunk-VZA4GGXL.js";
|
|
17
|
+
import "../chunk-E755IUIH.js";
|
|
18
|
+
import "../chunk-MRMXB6Z6.js";
|
|
19
|
+
import "../chunk-D2ZPTCAL.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-TEWUZ3MT.js";
|
|
23
|
+
import "../chunk-AEWPTGG2.js";
|
|
24
|
+
import "../chunk-UJTQCOYP.js";
|
|
25
|
+
import "../chunk-Z4M66PI6.js";
|
|
26
26
|
import "../chunk-POFBE6ZY.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-CUW5CPJJ.js";
|
|
28
|
+
import "../chunk-Z7LEZQSY.js";
|
|
29
|
+
import "../chunk-KWMZDPUJ.js";
|
|
30
|
+
import "../chunk-YCBXYOPI.js";
|
|
31
31
|
import "../chunk-7QLSKOSU.js";
|
|
32
32
|
import "../chunk-KZERVKTD.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-UNO3UEDW.js";
|
|
34
|
+
import "../chunk-GFW4NSYW.js";
|
|
35
35
|
import "../chunk-T7E75EKA.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-KRSBK5BE.js";
|
|
37
|
+
import "../chunk-YVDFJ6VV.js";
|
|
38
|
+
import "../chunk-OG5HVCVG.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-5DVWWQ7H.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-FO3MDD26.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-TY2OTJFK.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-D2ZPTCAL.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-GMXKITVA.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-TEWUZ3MT.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-UNO3UEDW.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeSettings
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-GFW4NSYW.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-KRSBK5BE.js";
|
|
37
|
+
import "../chunk-YVDFJ6VV.js";
|
|
38
|
+
import "../chunk-OG5HVCVG.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-AVNOQUNA.js";
|
|
12
12
|
import {
|
|
13
13
|
announceSubscriptionRequired,
|
|
14
14
|
isDeferAnswer
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-YJCNFRKV.js";
|
|
16
16
|
import {
|
|
17
17
|
claudeTranscriptPath,
|
|
18
18
|
loadSessionKey,
|
|
19
19
|
registerTranscript,
|
|
20
20
|
registeredTranscriptEnabled
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-XTVOEEZ5.js";
|
|
22
22
|
import "../chunk-SGZJ5LYH.js";
|
|
23
23
|
import {
|
|
24
24
|
ensureDaemonRunning
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-35USDKDL.js";
|
|
26
26
|
import {
|
|
27
27
|
encryptRecord
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-QWO5UBVP.js";
|
|
29
|
+
import "../chunk-IJOITMKQ.js";
|
|
30
30
|
import {
|
|
31
31
|
transcriptsEnabled
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-D45B4GNL.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-VZA4GGXL.js";
|
|
38
|
+
import "../chunk-E755IUIH.js";
|
|
39
|
+
import "../chunk-MRMXB6Z6.js";
|
|
40
|
+
import "../chunk-D2ZPTCAL.js";
|
|
41
41
|
import "../chunk-GMXKITVA.js";
|
|
42
42
|
import "../chunk-6ICPEJY5.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-TEWUZ3MT.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-AEWPTGG2.js";
|
|
62
|
+
import "../chunk-UJTQCOYP.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-Z4M66PI6.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-CUW5CPJJ.js";
|
|
76
|
+
import "../chunk-Z7LEZQSY.js";
|
|
77
|
+
import "../chunk-KWMZDPUJ.js";
|
|
78
78
|
import {
|
|
79
79
|
getMachineId
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-YCBXYOPI.js";
|
|
81
81
|
import "../chunk-7QLSKOSU.js";
|
|
82
82
|
import "../chunk-KZERVKTD.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-UNO3UEDW.js";
|
|
84
|
+
import "../chunk-GFW4NSYW.js";
|
|
85
85
|
import "../chunk-T7E75EKA.js";
|
|
86
86
|
import {
|
|
87
87
|
getApiKey,
|
|
88
88
|
getBaseUrl
|
|
89
|
-
} from "../chunk-
|
|
89
|
+
} from "../chunk-KRSBK5BE.js";
|
|
90
90
|
import {
|
|
91
91
|
NPX_LATEST_COMMAND
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-YVDFJ6VV.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-OG5HVCVG.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-GYLRXSZW.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-CSKEQDLX.js";
|
|
26
26
|
import {
|
|
27
27
|
planFxRemoval,
|
|
28
28
|
removeInstructionBlock
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-DCPJNJN3.js";
|
|
30
|
+
import "../chunk-PMKC4ZYP.js";
|
|
31
31
|
import {
|
|
32
32
|
disableDaemonService
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-35USDKDL.js";
|
|
34
34
|
import "../chunk-XHKBHWLX.js";
|
|
35
35
|
import {
|
|
36
36
|
APPROVAL_SETTINGS_PATH
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-2V4NKFHD.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-PILHK3P5.js";
|
|
45
|
+
import "../chunk-B4WI4UOX.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-P76XTT2Y.js";
|
|
58
58
|
import {
|
|
59
59
|
ansiPainter,
|
|
60
60
|
useColor
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-FO3MDD26.js";
|
|
62
62
|
import {
|
|
63
63
|
exitOnHelpFlag
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-TY2OTJFK.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-73NUMFZG.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-VZA4GGXL.js";
|
|
86
86
|
import {
|
|
87
87
|
removeGeminiSettings
|
|
88
|
-
} from "../chunk-
|
|
89
|
-
import "../chunk-
|
|
90
|
-
import "../chunk-
|
|
88
|
+
} from "../chunk-E755IUIH.js";
|
|
89
|
+
import "../chunk-MRMXB6Z6.js";
|
|
90
|
+
import "../chunk-D2ZPTCAL.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-TEWUZ3MT.js";
|
|
104
|
+
import "../chunk-AEWPTGG2.js";
|
|
105
|
+
import "../chunk-UJTQCOYP.js";
|
|
106
|
+
import "../chunk-Z4M66PI6.js";
|
|
107
107
|
import "../chunk-POFBE6ZY.js";
|
|
108
|
-
import "../chunk-
|
|
108
|
+
import "../chunk-CUW5CPJJ.js";
|
|
109
109
|
import {
|
|
110
110
|
absoluteUrl
|
|
111
|
-
} from "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-
|
|
111
|
+
} from "../chunk-Z7LEZQSY.js";
|
|
112
|
+
import "../chunk-KWMZDPUJ.js";
|
|
113
|
+
import "../chunk-YCBXYOPI.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-UNO3UEDW.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-GFW4NSYW.js";
|
|
156
156
|
import "../chunk-T7E75EKA.js";
|
|
157
157
|
import {
|
|
158
158
|
getBaseUrl
|
|
159
|
-
} from "../chunk-
|
|
159
|
+
} from "../chunk-KRSBK5BE.js";
|
|
160
160
|
import {
|
|
161
161
|
NPX_LATEST_COMMAND
|
|
162
|
-
} from "../chunk-
|
|
162
|
+
} from "../chunk-YVDFJ6VV.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-OG5HVCVG.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-SRK4O45T.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveProviderBinary
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-5Y4PJEBJ.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-AVNOQUNA.js";
|
|
20
|
+
import "../chunk-QWO5UBVP.js";
|
|
21
|
+
import "../chunk-IJOITMKQ.js";
|
|
22
22
|
import {
|
|
23
23
|
transcriptsEnabled
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-D45B4GNL.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-TEWUZ3MT.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-Z4M66PI6.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-CUW5CPJJ.js";
|
|
41
|
+
import "../chunk-Z7LEZQSY.js";
|
|
42
|
+
import "../chunk-KWMZDPUJ.js";
|
|
43
43
|
import {
|
|
44
44
|
getMachineId
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-YCBXYOPI.js";
|
|
46
46
|
import "../chunk-7QLSKOSU.js";
|
|
47
47
|
import "../chunk-KZERVKTD.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-UNO3UEDW.js";
|
|
49
|
+
import "../chunk-GFW4NSYW.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-KRSBK5BE.js";
|
|
55
|
+
import "../chunk-YVDFJ6VV.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-OG5HVCVG.js";
|
|
63
63
|
|
|
64
64
|
// bin/pushary-codex-bridge.ts
|
|
65
65
|
import { existsSync } from "fs";
|