pushary 1.9.116 → 1.9.118
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 +15 -0
- package/dist/{api-X624HAAU.js → api-Q2HBBRLT.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +27 -27
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +35 -40
- package/dist/bin/pushary-clean.js +34 -34
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +62 -73
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +15 -15
- package/dist/bin/pushary-connect.js +28 -28
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +42 -42
- package/dist/bin/pushary-disconnect.js +27 -27
- package/dist/bin/pushary-display-hook.js +17 -17
- package/dist/bin/pushary-doctor.js +42 -42
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +91 -88
- package/dist/bin/pushary-hook.js +33 -32
- package/dist/bin/pushary-login.js +21 -21
- package/dist/bin/pushary-logout.js +26 -26
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +26 -26
- package/dist/bin/pushary-opencode-hook.js +93 -75
- package/dist/bin/pushary-permission-denied-hook.js +33 -32
- package/dist/bin/pushary-permission-hook.js +33 -32
- package/dist/bin/pushary-post-hook.js +26 -26
- package/dist/bin/pushary-prompt-hook.js +26 -26
- package/dist/bin/pushary-session-end-hook.js +26 -26
- package/dist/bin/pushary-session-start-hook.js +35 -35
- package/dist/bin/pushary-setup.js +49 -49
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +32 -32
- package/dist/bin/pushary-stop-hook.js +26 -26
- package/dist/bin/pushary-stopfailure-hook.js +26 -26
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +40 -40
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-CBJXUJ4Y.js → chunk-2WCARUXQ.js} +1 -1
- package/dist/{chunk-WACBGAWA.js → chunk-46ZIEQGC.js} +2 -2
- package/dist/{chunk-FKVPV3SH.js → chunk-4PXJ2LBU.js} +2 -2
- package/dist/{chunk-KVZAFFEE.js → chunk-5FJPEDMZ.js} +3 -3
- package/dist/chunk-5UIRDDJN.js +60 -0
- package/dist/{chunk-FHRXFUGD.js → chunk-6UN3AUIS.js} +3 -3
- package/dist/{chunk-JSTA2JTL.js → chunk-7K6DZPYV.js} +1 -1
- package/dist/{chunk-NXEOD5JC.js → chunk-7YQPI4UE.js} +1 -1
- package/dist/{chunk-ZUVDQOU6.js → chunk-A23GIPWY.js} +2 -2
- package/dist/{chunk-TNQ5JFCV.js → chunk-A2TAWW5L.js} +1 -1
- package/dist/{chunk-QVD4UOJ7.js → chunk-AN6AKKHO.js} +2 -2
- package/dist/{chunk-4X6GTMU4.js → chunk-B6HPULOG.js} +3 -3
- package/dist/{chunk-V766TMSY.js → chunk-BBLXVKW2.js} +4 -4
- package/dist/{chunk-PPEN3N44.js → chunk-BQVB563P.js} +6 -61
- package/dist/{chunk-7THCN7FJ.js → chunk-BUNRL7QV.js} +2 -2
- package/dist/{chunk-CHHS7WT2.js → chunk-C664L36M.js} +2 -2
- package/dist/{chunk-TWRDOVN4.js → chunk-CKR43BBJ.js} +1 -1
- package/dist/{chunk-6RKEHEW6.js → chunk-CTBNVQND.js} +10 -10
- package/dist/{chunk-OEXJ7AJO.js → chunk-CUQOWRYT.js} +1 -1
- package/dist/{chunk-7O4ZTJYY.js → chunk-CVIJBTGE.js} +6 -6
- package/dist/{chunk-PPYNBRU6.js → chunk-D3PHTY54.js} +3 -3
- package/dist/{chunk-Q3GYEEOM.js → chunk-EJYLQNMC.js} +1 -1
- package/dist/{chunk-4Q5J3HRJ.js → chunk-F5C6XZZ7.js} +4 -4
- package/dist/{chunk-CW34RKBV.js → chunk-FAL7WRMM.js} +3 -3
- package/dist/{chunk-PH4LJXTG.js → chunk-FEP7FXBP.js} +3 -3
- package/dist/{chunk-IC7LNHAX.js → chunk-FLBMCN45.js} +6 -6
- package/dist/{chunk-GKXEA6IW.js → chunk-FNT4VWXV.js} +1 -1
- package/dist/{chunk-27CV6IXW.js → chunk-GAYUSL24.js} +1 -1
- package/dist/{chunk-4WG5XTKS.js → chunk-GX3QCU32.js} +6 -6
- package/dist/{chunk-I5XLH7L3.js → chunk-H6YES2DS.js} +5 -5
- package/dist/{chunk-KK7JA5JP.js → chunk-H7B6LLP4.js} +9 -6
- package/dist/{chunk-H5TODUJ3.js → chunk-I7LP4DKM.js} +14 -1
- package/dist/{chunk-FU33PDFG.js → chunk-IKX4X4LJ.js} +3 -3
- package/dist/{chunk-S5B3LKOP.js → chunk-JBWEGNKE.js} +3 -3
- package/dist/{chunk-ZETS7HPG.js → chunk-K5H4YAMZ.js} +10 -10
- package/dist/{chunk-NGWG2CHI.js → chunk-KOEQIRDA.js} +1 -1
- package/dist/{chunk-TSXTMJQH.js → chunk-KWDQI7TI.js} +4 -4
- package/dist/{chunk-VAT53KQR.js → chunk-LWY2U7NZ.js} +4 -4
- package/dist/{chunk-JQS5YQQZ.js → chunk-M2PLZ5V3.js} +5 -5
- package/dist/{chunk-CJL7IMWO.js → chunk-MG5WFAND.js} +1 -1
- package/dist/{chunk-BZLG63YR.js → chunk-MTG3JLMP.js} +4 -4
- package/dist/{chunk-LC2A3GBN.js → chunk-NJSCVQ6S.js} +2 -2
- package/dist/{chunk-7ELMLTD7.js → chunk-NPMVVR6I.js} +2 -2
- package/dist/{chunk-5LWC7PSM.js → chunk-OP2ZDOBR.js} +5 -5
- package/dist/{chunk-RZRFHCAG.js → chunk-P2H6TDL4.js} +1 -1
- package/dist/{chunk-3CYXPFGA.js → chunk-PZLNBKMS.js} +5 -5
- package/dist/{chunk-BVN3WPDZ.js → chunk-Q64D24NF.js} +2 -2
- package/dist/{chunk-PPW3K5DR.js → chunk-QASBFNVD.js} +2 -2
- package/dist/{chunk-QXLV3CT6.js → chunk-QO6SWGLH.js} +2 -2
- package/dist/{chunk-Z3WNBZG6.js → chunk-QQ24SUBD.js} +3 -3
- package/dist/{chunk-4B6USDD3.js → chunk-R4BBSIUK.js} +2 -2
- package/dist/{chunk-32R6ESWY.js → chunk-RMUKFMT3.js} +1 -1
- package/dist/{chunk-4NCIAMPN.js → chunk-RPW7LX2L.js} +3 -3
- package/dist/{chunk-LQQWATPA.js → chunk-SAISSZZA.js} +6 -6
- package/dist/{chunk-YDQ2KQOH.js → chunk-SMBFZFVN.js} +8 -8
- package/dist/{chunk-EQZKJXHE.js → chunk-T5N42XDU.js} +1 -1
- package/dist/{chunk-6FMHWS6M.js → chunk-TOUMNM7M.js} +6 -6
- package/dist/{chunk-3WEWYRLQ.js → chunk-TUQ6R6DD.js} +4 -4
- package/dist/{chunk-32MHL5HC.js → chunk-UJ6UCGY4.js} +4 -4
- package/dist/{chunk-R7BP6ZEW.js → chunk-UKCCVMI2.js} +1 -1
- package/dist/{chunk-XUHDUD34.js → chunk-UNXVORET.js} +20 -13
- package/dist/{chunk-4QJUMXZS.js → chunk-UXVCDVPL.js} +1 -1
- package/dist/{chunk-PCRLVQW3.js → chunk-VIR7SCIQ.js} +5 -5
- package/dist/chunk-WCSPOQ5W.js +121 -0
- package/dist/{chunk-SDMGCRO3.js → chunk-WELDACYF.js} +1 -1
- package/dist/{chunk-BWSAVEMV.js → chunk-WLXXEFHA.js} +31 -21
- package/dist/{chunk-GB5E3JHR.js → chunk-WZZHWX7Q.js} +5 -5
- package/dist/{chunk-RQGMDAHY.js → chunk-X4UWBBFI.js} +3 -3
- package/dist/{chunk-DGZGCKDA.js → chunk-XSUNHOAP.js} +4 -4
- package/dist/{chunk-DMY2J2MY.js → chunk-XWVEAAZO.js} +3 -3
- package/dist/{chunk-PBM565KU.js → chunk-YQVZQM53.js} +6 -6
- package/dist/{chunk-ZR7ODRKY.js → chunk-ZGYLMVNB.js} +2 -2
- package/dist/{codex-app-cards-switch-7XA2J7MU.js → codex-app-cards-switch-45UK7FRY.js} +11 -11
- package/dist/{codex-card-routing-SWDFV5IG.js → codex-card-routing-7B77ISR2.js} +2 -2
- package/dist/{codex-desktop-launch-7Y2YODZM.js → codex-desktop-launch-DWC7Q5A6.js} +1 -1
- package/dist/{codex-session-launch-5I3NEQRG.js → codex-session-launch-MK2CXFRQ.js} +18 -18
- package/dist/{config-HUULA2T7.js → config-OHLNHWP4.js} +3 -3
- package/dist/{global-upgrade-BTHOIZK5.js → global-upgrade-KKFYAQVO.js} +9 -9
- package/dist/{identity-MVXY2GIK.js → identity-AKGGBW3A.js} +4 -4
- package/dist/{live-capabilities-KCTCX3EI.js → live-capabilities-O6MAYZZS.js} +4 -4
- package/dist/{paths-BVROPWE2.js → paths-5XEJTZAS.js} +3 -3
- package/dist/{reapply-6J22YOVO.js → reapply-VQFRLS3P.js} +28 -28
- package/dist/src/index.js +32 -31
- package/dist/{upgrade-lock-LQQDJAEJ.js → upgrade-lock-6HGNG7RT.js} +4 -4
- package/dist/{usage-LC7XUIV3.js → usage-ATA2A3TZ.js} +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.118
|
|
4
|
+
|
|
5
|
+
- Every agent: silence can no longer approve a call outside the scope you agreed. Before, an Always-allow rule on Claude Code withdrew the question at once and ran the call. A scope question now waits for a real answer, then falls back to the agent's own prompt or refuses.
|
|
6
|
+
- Gemini CLI and OpenCode: a standing auto-approve no longer runs a call outside the scope you agreed. You are asked about it as a scope question, and it runs only on a yes. If nobody answers, it is refused.
|
|
7
|
+
- Gemini CLI, OpenCode and Cursor: silence refuses a call outside the scope, so that question is no longer cut to a short keyboard window on your phone. Cursor also no longer skips your phone when you are at the keyboard, since it has no prompt to fall back on.
|
|
8
|
+
- Gemini CLI and OpenCode now record a denial when the kill switch or a standing deny refuses a call.
|
|
9
|
+
- A policy the server has already replaced can no longer auto-approve while the hook is working from its cached copy. Pushary stands aside and the agent's own permission flow decides. Denies and the kill switch still apply.
|
|
10
|
+
- A mode response that does not state the kill switch now counts as unverified, not as "not killed".
|
|
11
|
+
- The Codex, Gemini and OpenCode hooks check what the agent sends before acting on it.
|
|
12
|
+
- Codex, Gemini and OpenCode now share one path for asking a question and waiting for the answer.
|
|
13
|
+
|
|
14
|
+
## 1.9.117
|
|
15
|
+
|
|
16
|
+
- The report a hook sends when a tool call finishes now also names the tool. Pushary uses this to tell whether a step a Team approval route sent to someone, which then went back to the agent's own prompt because nobody answered, went on to run, and to show that in Activity. It changes nothing about what runs or what is asked. A published CLI that does not send the name keeps working, and such a step is simply not marked.
|
|
17
|
+
|
|
3
18
|
## 1.9.116
|
|
4
19
|
|
|
5
20
|
- A push that names no branch, such as `git push`, `git push origin`, `git push origin HEAD` or `git push origin @`, now counts as a push to the current branch when a Team approval route names that branch. Before, a route on pushes to `main` did not match these, so a teammate's push to `main` that way never reached the lead. The hook reads the branch from the working tree. Nothing changes for a push on a branch no route names, a push that names a branch, `--tags`, `--dry-run` or `-n` (also in a cluster such as `-nv`), a push after `git checkout`, `git switch`, `cd`, `pushd` or `popd` in the same command, a push pointed elsewhere with `git -C`, `--git-dir` or `--work-tree`, or a command over 16 KB. Only approval routes read a push this way; other rules do not. When an Always allow covers the command, the route's own ask takes over so the step is asked. The Mac app, anything else that asks Pushary directly, and the `pushary` wrapper's approver send no branch, so for them a push must still name the branch to match a route.
|
|
@@ -17,25 +17,25 @@ import {
|
|
|
17
17
|
waitForQuestion,
|
|
18
18
|
waitsForThePhone,
|
|
19
19
|
withdrawQuestion
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YQVZQM53.js";
|
|
21
21
|
import "./chunk-POFBE6ZY.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PZLNBKMS.js";
|
|
23
|
+
import "./chunk-QQ24SUBD.js";
|
|
24
|
+
import "./chunk-FEP7FXBP.js";
|
|
25
|
+
import "./chunk-7K6DZPYV.js";
|
|
26
|
+
import "./chunk-A2TAWW5L.js";
|
|
27
|
+
import "./chunk-A23GIPWY.js";
|
|
28
|
+
import "./chunk-IKX4X4LJ.js";
|
|
29
|
+
import "./chunk-KOEQIRDA.js";
|
|
30
30
|
import "./chunk-YU2EUD7O.js";
|
|
31
31
|
import "./chunk-T5I4PKOQ.js";
|
|
32
32
|
import "./chunk-BG4HHB7E.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-CKR43BBJ.js";
|
|
34
34
|
import "./chunk-ZVU6WMMU.js";
|
|
35
35
|
import {
|
|
36
36
|
DECISION_STOP_REASON,
|
|
37
37
|
UNVERIFIABLE_APPROVAL_REASON
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-I7LP4DKM.js";
|
|
39
39
|
import "./chunk-MLKGABMK.js";
|
|
40
40
|
export {
|
|
41
41
|
ABANDONED_WAIT,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-T5N42XDU.js";
|
|
5
5
|
import {
|
|
6
6
|
readJsonSafe,
|
|
7
7
|
writeJsonAtomic
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
EXIT
|
|
11
11
|
} from "../chunk-BG4HHB7E.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-CKR43BBJ.js";
|
|
13
13
|
import "../chunk-ZVU6WMMU.js";
|
|
14
14
|
import {
|
|
15
15
|
AUDIT_CHAIN_FINDING_SEVERITY,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
parseAuditChainExport,
|
|
23
23
|
parseAuditKnownHead,
|
|
24
24
|
verifyAuditChainSite
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-I7LP4DKM.js";
|
|
26
26
|
import "../chunk-MLKGABMK.js";
|
|
27
27
|
|
|
28
28
|
// src/audit-verify.ts
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handleBell
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FNT4VWXV.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-H7B6LLP4.js";
|
|
8
|
+
import "../chunk-XSUNHOAP.js";
|
|
9
|
+
import "../chunk-K5H4YAMZ.js";
|
|
10
10
|
import "../chunk-HXBQTPKC.js";
|
|
11
11
|
import "../chunk-G66WIAST.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-OP2ZDOBR.js";
|
|
13
|
+
import "../chunk-UNXVORET.js";
|
|
14
|
+
import "../chunk-SAISSZZA.js";
|
|
15
|
+
import "../chunk-LWY2U7NZ.js";
|
|
16
|
+
import "../chunk-GAYUSL24.js";
|
|
17
|
+
import "../chunk-CUQOWRYT.js";
|
|
18
|
+
import "../chunk-7YQPI4UE.js";
|
|
19
19
|
import "../chunk-YPY4YCIZ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-XWVEAAZO.js";
|
|
21
21
|
import "../chunk-XMSDA5WA.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-EJYLQNMC.js";
|
|
23
|
+
import "../chunk-WELDACYF.js";
|
|
24
|
+
import "../chunk-YQVZQM53.js";
|
|
25
25
|
import "../chunk-POFBE6ZY.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-PZLNBKMS.js";
|
|
27
|
+
import "../chunk-QQ24SUBD.js";
|
|
28
|
+
import "../chunk-FEP7FXBP.js";
|
|
29
29
|
import "../chunk-XHKBHWLX.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-7K6DZPYV.js";
|
|
31
|
+
import "../chunk-A2TAWW5L.js";
|
|
32
|
+
import "../chunk-JBWEGNKE.js";
|
|
33
|
+
import "../chunk-46ZIEQGC.js";
|
|
34
|
+
import "../chunk-A23GIPWY.js";
|
|
35
|
+
import "../chunk-IKX4X4LJ.js";
|
|
36
|
+
import "../chunk-KOEQIRDA.js";
|
|
37
37
|
import "../chunk-YU2EUD7O.js";
|
|
38
38
|
import "../chunk-T5I4PKOQ.js";
|
|
39
39
|
import "../chunk-BG4HHB7E.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-CKR43BBJ.js";
|
|
41
41
|
import "../chunk-ZVU6WMMU.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-I7LP4DKM.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// bin/pushary-bell-hook.ts
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-FNT4VWXV.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
11
|
} from "../chunk-FO3MDD26.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-T5N42XDU.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-7YQPI4UE.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-YPY4YCIZ.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-JBWEGNKE.js";
|
|
24
|
+
import "../chunk-46ZIEQGC.js";
|
|
25
25
|
import {
|
|
26
26
|
claudeSettings
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-A23GIPWY.js";
|
|
28
|
+
import "../chunk-IKX4X4LJ.js";
|
|
29
|
+
import "../chunk-KOEQIRDA.js";
|
|
30
30
|
import "../chunk-YU2EUD7O.js";
|
|
31
31
|
import {
|
|
32
32
|
readJsonSafe,
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
import {
|
|
36
36
|
EXIT
|
|
37
37
|
} from "../chunk-BG4HHB7E.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-CKR43BBJ.js";
|
|
39
39
|
import "../chunk-ZVU6WMMU.js";
|
|
40
40
|
import {
|
|
41
41
|
isRecord
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-I7LP4DKM.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// bin/pushary-bell.ts
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
describeIdleWindow,
|
|
13
13
|
startProcessOwnership,
|
|
14
14
|
withSpawnProcessOwnership
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-QASBFNVD.js";
|
|
16
16
|
import "../chunk-ROVLRXBI.js";
|
|
17
17
|
import {
|
|
18
18
|
announceSubscriptionRequired,
|
|
19
19
|
isDeferAnswer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-MG5WFAND.js";
|
|
21
21
|
import {
|
|
22
22
|
claudeTranscriptPath,
|
|
23
23
|
redactDraft,
|
|
24
24
|
registerTranscript,
|
|
25
25
|
registeredTranscriptEnabled,
|
|
26
26
|
startDraftPublisher
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-K5H4YAMZ.js";
|
|
28
28
|
import "../chunk-HXBQTPKC.js";
|
|
29
29
|
import "../chunk-G66WIAST.js";
|
|
30
30
|
import {
|
|
@@ -40,32 +40,32 @@ import {
|
|
|
40
40
|
removePendingCommand,
|
|
41
41
|
reportEvent,
|
|
42
42
|
savePendingCommand
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-UNXVORET.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureDaemonRunning
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-SAISSZZA.js";
|
|
47
|
+
import "../chunk-LWY2U7NZ.js";
|
|
48
48
|
import {
|
|
49
49
|
UNNAMED_ACTION,
|
|
50
50
|
deriveToolTarget,
|
|
51
51
|
describeStopFailure,
|
|
52
52
|
describeToolCall,
|
|
53
53
|
scopePathFor
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-GAYUSL24.js";
|
|
55
|
+
import "../chunk-CUQOWRYT.js";
|
|
56
|
+
import "../chunk-7YQPI4UE.js";
|
|
57
57
|
import "../chunk-YPY4YCIZ.js";
|
|
58
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-XWVEAAZO.js";
|
|
59
59
|
import {
|
|
60
60
|
external_exports
|
|
61
61
|
} from "../chunk-XMSDA5WA.js";
|
|
62
62
|
import {
|
|
63
63
|
transcriptsEnabled
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-EJYLQNMC.js";
|
|
65
65
|
import {
|
|
66
66
|
repoKeyFor,
|
|
67
67
|
repositoryScopeFor
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-WELDACYF.js";
|
|
69
69
|
import {
|
|
70
70
|
askUser,
|
|
71
71
|
cancelQuestion,
|
|
@@ -77,37 +77,37 @@ import {
|
|
|
77
77
|
waitForAnswer,
|
|
78
78
|
waitsForThePhone,
|
|
79
79
|
withdrawQuestion
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-YQVZQM53.js";
|
|
81
81
|
import "../chunk-POFBE6ZY.js";
|
|
82
82
|
import {
|
|
83
83
|
SubscriptionRequiredError
|
|
84
|
-
} from "../chunk-
|
|
85
|
-
import "../chunk-
|
|
86
|
-
import "../chunk-
|
|
84
|
+
} from "../chunk-PZLNBKMS.js";
|
|
85
|
+
import "../chunk-QQ24SUBD.js";
|
|
86
|
+
import "../chunk-FEP7FXBP.js";
|
|
87
87
|
import {
|
|
88
88
|
needsShell,
|
|
89
89
|
spawnClaude
|
|
90
90
|
} from "../chunk-XHKBHWLX.js";
|
|
91
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-7K6DZPYV.js";
|
|
92
92
|
import {
|
|
93
93
|
getMachineId
|
|
94
|
-
} from "../chunk-
|
|
95
|
-
import "../chunk-
|
|
96
|
-
import "../chunk-
|
|
94
|
+
} from "../chunk-A2TAWW5L.js";
|
|
95
|
+
import "../chunk-JBWEGNKE.js";
|
|
96
|
+
import "../chunk-46ZIEQGC.js";
|
|
97
97
|
import {
|
|
98
98
|
claudeConfigDir
|
|
99
|
-
} from "../chunk-
|
|
100
|
-
import "../chunk-
|
|
99
|
+
} from "../chunk-A23GIPWY.js";
|
|
100
|
+
import "../chunk-IKX4X4LJ.js";
|
|
101
101
|
import {
|
|
102
102
|
getApiKey,
|
|
103
103
|
getBaseUrl
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-KOEQIRDA.js";
|
|
105
105
|
import "../chunk-YU2EUD7O.js";
|
|
106
106
|
import "../chunk-T5I4PKOQ.js";
|
|
107
107
|
import "../chunk-BG4HHB7E.js";
|
|
108
108
|
import {
|
|
109
109
|
NPX_LATEST_COMMAND
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-CKR43BBJ.js";
|
|
111
111
|
import "../chunk-ZVU6WMMU.js";
|
|
112
112
|
import {
|
|
113
113
|
DECISION_STOP_REASON,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
refusesWhenUnanswered,
|
|
121
121
|
resolveGate,
|
|
122
122
|
timeoutActionWithoutLocalPrompt
|
|
123
|
-
} from "../chunk-
|
|
123
|
+
} from "../chunk-I7LP4DKM.js";
|
|
124
124
|
import "../chunk-MLKGABMK.js";
|
|
125
125
|
|
|
126
126
|
// src/wrapper/localPassthrough.ts
|
|
@@ -907,26 +907,24 @@ var pollAgent = async (apiKey, sessionId, wantCommand, signal, baseUrl = getBase
|
|
|
907
907
|
}
|
|
908
908
|
};
|
|
909
909
|
|
|
910
|
-
// src/
|
|
910
|
+
// ../contracts/src/relay-wire.ts
|
|
911
911
|
var PROTOCOL_VERSION = 1;
|
|
912
912
|
var encodeFrame = (frame) => JSON.stringify(frame);
|
|
913
913
|
var helloFrame = (fields) => ({ v: PROTOCOL_VERSION, t: "hello", ...fields });
|
|
914
|
-
var
|
|
914
|
+
var isFrameObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
915
|
+
var readCurrentVersionFrame = (raw) => {
|
|
915
916
|
try {
|
|
916
917
|
const value = JSON.parse(raw);
|
|
917
|
-
|
|
918
|
-
const obj = value;
|
|
919
|
-
if (obj.v !== PROTOCOL_VERSION) return null;
|
|
920
|
-
return obj;
|
|
918
|
+
return isFrameObject(value) && value.v === PROTOCOL_VERSION ? value : null;
|
|
921
919
|
} catch {
|
|
922
920
|
return null;
|
|
923
921
|
}
|
|
924
922
|
};
|
|
925
|
-
var isString = (
|
|
923
|
+
var isString = (value) => typeof value === "string";
|
|
926
924
|
var decodeServerFrame = (raw) => {
|
|
927
|
-
const
|
|
928
|
-
if (!
|
|
929
|
-
switch (
|
|
925
|
+
const frame = readCurrentVersionFrame(raw);
|
|
926
|
+
if (!frame) return null;
|
|
927
|
+
switch (frame.t) {
|
|
930
928
|
case "welcome":
|
|
931
929
|
return { v: PROTOCOL_VERSION, t: "welcome" };
|
|
932
930
|
case "ping":
|
|
@@ -934,12 +932,9 @@ var decodeServerFrame = (raw) => {
|
|
|
934
932
|
case "pong":
|
|
935
933
|
return { v: PROTOCOL_VERSION, t: "pong" };
|
|
936
934
|
case "command":
|
|
937
|
-
return isString(
|
|
935
|
+
return isString(frame.id) && isString(frame.text) ? { v: PROTOCOL_VERSION, t: "command", id: frame.id, text: frame.text } : null;
|
|
938
936
|
case "error":
|
|
939
|
-
|
|
940
|
-
return { v: PROTOCOL_VERSION, t: "error", code: f.code, message: f.message, fatal: f.fatal === true };
|
|
941
|
-
}
|
|
942
|
-
return null;
|
|
937
|
+
return isString(frame.code) && isString(frame.message) ? { v: PROTOCOL_VERSION, t: "error", code: frame.code, message: frame.message, fatal: frame.fatal === true } : null;
|
|
943
938
|
default:
|
|
944
939
|
return null;
|
|
945
940
|
}
|
|
@@ -15,30 +15,30 @@ import {
|
|
|
15
15
|
storedMacAppState,
|
|
16
16
|
storedPusharyKeychainServices,
|
|
17
17
|
waitForMacAppExit
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-C664L36M.js";
|
|
19
19
|
import {
|
|
20
20
|
PUSHARY_SKILL_NAME,
|
|
21
21
|
PUSHARY_SKILL_SOURCE,
|
|
22
22
|
createGuards
|
|
23
23
|
} from "../chunk-J42EAEX3.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-D3PHTY54.js";
|
|
25
25
|
import "../chunk-XCEN33UP.js";
|
|
26
26
|
import {
|
|
27
27
|
describeCliKeyRevocation,
|
|
28
28
|
planCliKeyRevocations,
|
|
29
29
|
readCliHeldKeys,
|
|
30
30
|
revokeCliKeys
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-H6YES2DS.js";
|
|
32
32
|
import {
|
|
33
33
|
isCursorPluginLeftover,
|
|
34
34
|
releaseSoleGate,
|
|
35
35
|
withoutPusharyCursorHooks
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-MTG3JLMP.js";
|
|
37
37
|
import {
|
|
38
38
|
shortenHome,
|
|
39
39
|
unregisterPluginLocation,
|
|
40
40
|
vscodeSettingsTargets
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-TUQ6R6DD.js";
|
|
42
42
|
import {
|
|
43
43
|
configFileHoldsMacAppKey,
|
|
44
44
|
macAppKeepsMcpEntry,
|
|
@@ -46,22 +46,22 @@ import {
|
|
|
46
46
|
pusharyKey,
|
|
47
47
|
readMacAppAgentKey,
|
|
48
48
|
setupReceiptKey
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
} from "../chunk-F5C6XZZ7.js";
|
|
50
|
+
import "../chunk-NPMVVR6I.js";
|
|
51
51
|
import {
|
|
52
52
|
HERMES_CONFIG_FILE,
|
|
53
53
|
defaultHermesHome,
|
|
54
54
|
hermesReceiptPaths,
|
|
55
55
|
removeHermesWiring
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-X4UWBBFI.js";
|
|
57
57
|
import "../chunk-QCGNGEGE.js";
|
|
58
58
|
import {
|
|
59
59
|
planClineRemoval,
|
|
60
60
|
planFxRemoval,
|
|
61
61
|
removeClineServer
|
|
62
|
-
} from "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
62
|
+
} from "../chunk-VIR7SCIQ.js";
|
|
63
|
+
import "../chunk-B6HPULOG.js";
|
|
64
|
+
import "../chunk-5FJPEDMZ.js";
|
|
65
65
|
import {
|
|
66
66
|
OPENCODE_ASKED_PERMISSIONS,
|
|
67
67
|
OPENCODE_PLUGIN_SIBLING,
|
|
@@ -75,14 +75,14 @@ import {
|
|
|
75
75
|
openCodePluginDir,
|
|
76
76
|
openCodePluginFile,
|
|
77
77
|
removeOpenCodeMcpServer
|
|
78
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-WZZHWX7Q.js";
|
|
79
79
|
import {
|
|
80
80
|
ansiPainter,
|
|
81
81
|
useColor
|
|
82
82
|
} from "../chunk-FO3MDD26.js";
|
|
83
83
|
import {
|
|
84
84
|
exitOnHelpFlag
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-T5N42XDU.js";
|
|
86
86
|
import "../chunk-ROVLRXBI.js";
|
|
87
87
|
import {
|
|
88
88
|
compatibleConfigFile,
|
|
@@ -95,40 +95,40 @@ import {
|
|
|
95
95
|
removeCompatibleHooks,
|
|
96
96
|
removeCompatibleMcpServer,
|
|
97
97
|
serializeConfigDocument
|
|
98
|
-
} from "../chunk-
|
|
99
|
-
import "../chunk-
|
|
98
|
+
} from "../chunk-OP2ZDOBR.js";
|
|
99
|
+
import "../chunk-UNXVORET.js";
|
|
100
100
|
import {
|
|
101
101
|
disableDaemonService
|
|
102
|
-
} from "../chunk-
|
|
102
|
+
} from "../chunk-SAISSZZA.js";
|
|
103
103
|
import {
|
|
104
104
|
hookOwnerOf,
|
|
105
105
|
isHookTakeoverReceipt,
|
|
106
106
|
removeGeminiSettings,
|
|
107
107
|
restoreHookTakeover,
|
|
108
108
|
restoreMcpServer
|
|
109
|
-
} from "../chunk-
|
|
110
|
-
import "../chunk-
|
|
111
|
-
import "../chunk-
|
|
112
|
-
import "../chunk-
|
|
109
|
+
} from "../chunk-LWY2U7NZ.js";
|
|
110
|
+
import "../chunk-GAYUSL24.js";
|
|
111
|
+
import "../chunk-CUQOWRYT.js";
|
|
112
|
+
import "../chunk-7YQPI4UE.js";
|
|
113
113
|
import {
|
|
114
114
|
parseFlags
|
|
115
115
|
} from "../chunk-YPY4YCIZ.js";
|
|
116
|
-
import "../chunk-
|
|
117
|
-
import "../chunk-
|
|
116
|
+
import "../chunk-WELDACYF.js";
|
|
117
|
+
import "../chunk-YQVZQM53.js";
|
|
118
118
|
import "../chunk-POFBE6ZY.js";
|
|
119
|
-
import "../chunk-
|
|
120
|
-
import "../chunk-
|
|
121
|
-
import "../chunk-
|
|
119
|
+
import "../chunk-PZLNBKMS.js";
|
|
120
|
+
import "../chunk-QQ24SUBD.js";
|
|
121
|
+
import "../chunk-FEP7FXBP.js";
|
|
122
122
|
import "../chunk-XHKBHWLX.js";
|
|
123
|
-
import "../chunk-
|
|
124
|
-
import "../chunk-
|
|
123
|
+
import "../chunk-7K6DZPYV.js";
|
|
124
|
+
import "../chunk-A2TAWW5L.js";
|
|
125
125
|
import {
|
|
126
126
|
CANDIDATE_RCS,
|
|
127
127
|
isDisabledExport,
|
|
128
128
|
removeClaudeAlias,
|
|
129
129
|
shellProfileCandidates
|
|
130
|
-
} from "../chunk-
|
|
131
|
-
import "../chunk-
|
|
130
|
+
} from "../chunk-JBWEGNKE.js";
|
|
131
|
+
import "../chunk-46ZIEQGC.js";
|
|
132
132
|
import {
|
|
133
133
|
claudeConfigDir,
|
|
134
134
|
claudeJson,
|
|
@@ -173,17 +173,17 @@ import {
|
|
|
173
173
|
restoreCodexHookTrust,
|
|
174
174
|
vscodePluginDir,
|
|
175
175
|
vscodePluginMcp
|
|
176
|
-
} from "../chunk-
|
|
176
|
+
} from "../chunk-A23GIPWY.js";
|
|
177
177
|
import {
|
|
178
178
|
cleanNpmEnv,
|
|
179
179
|
globalPackageState,
|
|
180
180
|
npmIsOnPath,
|
|
181
181
|
readGlobalFolder,
|
|
182
182
|
readGlobalPrefix
|
|
183
|
-
} from "../chunk-
|
|
183
|
+
} from "../chunk-IKX4X4LJ.js";
|
|
184
184
|
import {
|
|
185
185
|
getBaseUrl
|
|
186
|
-
} from "../chunk-
|
|
186
|
+
} from "../chunk-KOEQIRDA.js";
|
|
187
187
|
import "../chunk-YU2EUD7O.js";
|
|
188
188
|
import "../chunk-T5I4PKOQ.js";
|
|
189
189
|
import {
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
} from "../chunk-BG4HHB7E.js";
|
|
192
192
|
import {
|
|
193
193
|
NPX_LATEST_COMMAND
|
|
194
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-CKR43BBJ.js";
|
|
195
195
|
import {
|
|
196
196
|
CLI_PACKAGE_NAMES,
|
|
197
197
|
globalPackageFolder,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
SUPPORT_EMAIL,
|
|
206
206
|
isValidApiKey,
|
|
207
207
|
redactSecrets
|
|
208
|
-
} from "../chunk-
|
|
208
|
+
} from "../chunk-I7LP4DKM.js";
|
|
209
209
|
import "../chunk-E46NE7FB.js";
|
|
210
210
|
import "../chunk-MLKGABMK.js";
|
|
211
211
|
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runCodexBridge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FLBMCN45.js";
|
|
5
|
+
import "../chunk-UKCCVMI2.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveProviderBinary
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-6UN3AUIS.js";
|
|
9
|
+
import "../chunk-Q64D24NF.js";
|
|
10
10
|
import "../chunk-N5P2FLOJ.js";
|
|
11
11
|
import {
|
|
12
12
|
withSpawnProcessOwnership
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-QASBFNVD.js";
|
|
14
14
|
import "../chunk-ROVLRXBI.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-XWVEAAZO.js";
|
|
16
16
|
import "../chunk-XMSDA5WA.js";
|
|
17
17
|
import {
|
|
18
18
|
transcriptsEnabled
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-EJYLQNMC.js";
|
|
20
|
+
import "../chunk-WELDACYF.js";
|
|
21
|
+
import "../chunk-YQVZQM53.js";
|
|
22
22
|
import "../chunk-POFBE6ZY.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-PZLNBKMS.js";
|
|
24
|
+
import "../chunk-QQ24SUBD.js";
|
|
25
|
+
import "../chunk-FEP7FXBP.js";
|
|
26
26
|
import "../chunk-XHKBHWLX.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-7K6DZPYV.js";
|
|
28
28
|
import {
|
|
29
29
|
getMachineId
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-A2TAWW5L.js";
|
|
31
|
+
import "../chunk-JBWEGNKE.js";
|
|
32
|
+
import "../chunk-46ZIEQGC.js";
|
|
33
|
+
import "../chunk-A23GIPWY.js";
|
|
34
|
+
import "../chunk-IKX4X4LJ.js";
|
|
35
35
|
import {
|
|
36
36
|
getApiKey,
|
|
37
37
|
getBaseUrl
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-KOEQIRDA.js";
|
|
39
39
|
import "../chunk-YU2EUD7O.js";
|
|
40
40
|
import "../chunk-T5I4PKOQ.js";
|
|
41
41
|
import "../chunk-BG4HHB7E.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-CKR43BBJ.js";
|
|
43
43
|
import "../chunk-ZVU6WMMU.js";
|
|
44
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-I7LP4DKM.js";
|
|
45
45
|
import "../chunk-MLKGABMK.js";
|
|
46
46
|
|
|
47
47
|
// bin/pushary-codex-bridge.ts
|