pushary 1.8.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 +1943 -0
- package/LICENSE +21 -0
- package/README.md +330 -0
- package/data/SKILL.md +591 -0
- package/data/cowork/SKILL.md +77 -0
- package/data/cursor-plugin/.cursor-plugin/plugin.json +25 -0
- package/data/cursor-plugin/CHANGELOG.md +70 -0
- package/data/cursor-plugin/CONTRIBUTING.md +40 -0
- package/data/cursor-plugin/LICENSE +21 -0
- package/data/cursor-plugin/README.md +113 -0
- package/data/cursor-plugin/SECURITY.md +33 -0
- package/data/cursor-plugin/assets/logo.png +0 -0
- package/data/cursor-plugin/commands/notify-when-done.md +14 -0
- package/data/cursor-plugin/commands/pushary-test.md +13 -0
- package/data/cursor-plugin/hooks/hooks.json +75 -0
- package/data/cursor-plugin/mcp.json +11 -0
- package/data/cursor-plugin/rules/pushary.mdc +40 -0
- package/data/cursor-plugin/scripts/pushary-gate.mjs +724 -0
- package/data/cursor-plugin/scripts/pushary-gate.test.mjs +137 -0
- package/data/cursor-plugin/scripts/redaction.mjs +51 -0
- package/data/cursor-plugin/skills/pushary/SKILL.md +584 -0
- package/data/vscode-plugin/.claude-plugin/plugin.json +28 -0
- package/data/vscode-plugin/.mcp.json +11 -0
- package/data/vscode-plugin/CHANGELOG.md +49 -0
- package/data/vscode-plugin/CONTRIBUTING.md +40 -0
- package/data/vscode-plugin/LICENSE +21 -0
- package/data/vscode-plugin/README.md +128 -0
- package/data/vscode-plugin/SECURITY.md +56 -0
- package/data/vscode-plugin/assets/logo.png +0 -0
- package/data/vscode-plugin/commands/notify-when-done.md +14 -0
- package/data/vscode-plugin/commands/pushary-test.md +13 -0
- package/data/vscode-plugin/hooks/hooks.json +60 -0
- package/data/vscode-plugin/scripts/pushary-gate.mjs +762 -0
- package/data/vscode-plugin/scripts/redaction.mjs +51 -0
- package/data/vscode-plugin/skills/pushary/SKILL.md +584 -0
- package/dist/bin/pushary-bell-hook.d.ts +1 -0
- package/dist/bin/pushary-bell-hook.js +46 -0
- package/dist/bin/pushary-bell.d.ts +1 -0
- package/dist/bin/pushary-bell.js +146 -0
- package/dist/bin/pushary-claude.d.ts +1 -0
- package/dist/bin/pushary-claude.js +1916 -0
- package/dist/bin/pushary-clean.d.ts +1 -0
- package/dist/bin/pushary-clean.js +1300 -0
- package/dist/bin/pushary-codex-bridge.d.ts +1 -0
- package/dist/bin/pushary-codex-bridge.js +599 -0
- package/dist/bin/pushary-codex-hook.d.ts +1 -0
- package/dist/bin/pushary-codex-hook.js +886 -0
- package/dist/bin/pushary-codex.d.ts +1 -0
- package/dist/bin/pushary-codex.js +125 -0
- package/dist/bin/pushary-connect.d.ts +1 -0
- package/dist/bin/pushary-connect.js +100 -0
- package/dist/bin/pushary-cowork.d.ts +1 -0
- package/dist/bin/pushary-cowork.js +36 -0
- package/dist/bin/pushary-daemon-supervisor.d.ts +1 -0
- package/dist/bin/pushary-daemon-supervisor.js +27 -0
- package/dist/bin/pushary-daemon.d.ts +1 -0
- package/dist/bin/pushary-daemon.js +878 -0
- package/dist/bin/pushary-disconnect.d.ts +1 -0
- package/dist/bin/pushary-disconnect.js +264 -0
- package/dist/bin/pushary-doctor.d.ts +1 -0
- package/dist/bin/pushary-doctor.js +1433 -0
- package/dist/bin/pushary-elicitation-hook.d.ts +1 -0
- package/dist/bin/pushary-elicitation-hook.js +149 -0
- package/dist/bin/pushary-gemini-bridge.d.ts +1 -0
- package/dist/bin/pushary-gemini-bridge.js +339 -0
- package/dist/bin/pushary-gemini-hook.d.ts +1 -0
- package/dist/bin/pushary-gemini-hook.js +381 -0
- package/dist/bin/pushary-hook.d.ts +1 -0
- package/dist/bin/pushary-hook.js +95 -0
- package/dist/bin/pushary-login.d.ts +1 -0
- package/dist/bin/pushary-login.js +198 -0
- package/dist/bin/pushary-logout.d.ts +1 -0
- package/dist/bin/pushary-logout.js +147 -0
- package/dist/bin/pushary-mcp.d.ts +1 -0
- package/dist/bin/pushary-mcp.js +114 -0
- package/dist/bin/pushary-mode.d.ts +1 -0
- package/dist/bin/pushary-mode.js +130 -0
- package/dist/bin/pushary-notification-hook.d.ts +1 -0
- package/dist/bin/pushary-notification-hook.js +56 -0
- package/dist/bin/pushary-opencode-hook.d.ts +1 -0
- package/dist/bin/pushary-opencode-hook.js +338 -0
- package/dist/bin/pushary-permission-denied-hook.d.ts +1 -0
- package/dist/bin/pushary-permission-denied-hook.js +60 -0
- package/dist/bin/pushary-permission-hook.d.ts +1 -0
- package/dist/bin/pushary-permission-hook.js +65 -0
- package/dist/bin/pushary-post-hook.d.ts +1 -0
- package/dist/bin/pushary-post-hook.js +70 -0
- package/dist/bin/pushary-prompt-hook.d.ts +1 -0
- package/dist/bin/pushary-prompt-hook.js +61 -0
- package/dist/bin/pushary-session-end-hook.d.ts +1 -0
- package/dist/bin/pushary-session-end-hook.js +59 -0
- package/dist/bin/pushary-session-start-hook.d.ts +1 -0
- package/dist/bin/pushary-session-start-hook.js +72 -0
- package/dist/bin/pushary-setup.d.ts +1 -0
- package/dist/bin/pushary-setup.js +2660 -0
- package/dist/bin/pushary-stats.d.ts +1 -0
- package/dist/bin/pushary-stats.js +44 -0
- package/dist/bin/pushary-status.d.ts +1 -0
- package/dist/bin/pushary-status.js +262 -0
- package/dist/bin/pushary-stop-hook.d.ts +1 -0
- package/dist/bin/pushary-stop-hook.js +63 -0
- package/dist/bin/pushary-stopfailure-hook.d.ts +1 -0
- package/dist/bin/pushary-stopfailure-hook.js +56 -0
- package/dist/bin/pushary-suggestions.d.ts +1 -0
- package/dist/bin/pushary-suggestions.js +100 -0
- package/dist/bin/pushary-transcript-register.d.ts +1 -0
- package/dist/bin/pushary-transcript-register.js +40 -0
- package/dist/bin/pushary-transcripts.d.ts +1 -0
- package/dist/bin/pushary-transcripts.js +77 -0
- package/dist/bin/pushary-upgrade.d.ts +1 -0
- package/dist/bin/pushary-upgrade.js +599 -0
- package/dist/bin/pushary-wait.d.ts +1 -0
- package/dist/bin/pushary-wait.js +122 -0
- package/dist/bin/pushary.d.ts +1 -0
- package/dist/bin/pushary.js +74 -0
- package/dist/chunk-2ABTSGFT.js +173 -0
- package/dist/chunk-2OY3ZZ5N.js +124 -0
- package/dist/chunk-3EGEA4KH.js +44 -0
- package/dist/chunk-3EVPNIBE.js +185 -0
- package/dist/chunk-5OP5MQI7.js +45 -0
- package/dist/chunk-6J2JC2RT.js +149 -0
- package/dist/chunk-7QLSKOSU.js +19 -0
- package/dist/chunk-7Z7Q4GGS.js +88 -0
- package/dist/chunk-A2A2YTMG.js +835 -0
- package/dist/chunk-AHV4LNB5.js +377 -0
- package/dist/chunk-AXPCESYO.js +197 -0
- package/dist/chunk-C2WCPBF7.js +86 -0
- package/dist/chunk-CJVVKOSR.js +73 -0
- package/dist/chunk-CULUZTWQ.js +2117 -0
- package/dist/chunk-CVQYGMSR.js +142 -0
- package/dist/chunk-CVWG2N3Y.js +16 -0
- package/dist/chunk-D2FX3EPW.js +15 -0
- package/dist/chunk-DB3ONZB4.js +44 -0
- package/dist/chunk-DE4Y6TCC.js +160 -0
- package/dist/chunk-E4FJTUH4.js +249 -0
- package/dist/chunk-EPCXUP3P.js +41 -0
- package/dist/chunk-EX3GAPA4.js +44 -0
- package/dist/chunk-EYK3GSRH.js +143 -0
- package/dist/chunk-GMXKITVA.js +70 -0
- package/dist/chunk-GPEGOGRJ.js +49 -0
- package/dist/chunk-GU3EJCVV.js +43 -0
- package/dist/chunk-HQ6G3B5R.js +59 -0
- package/dist/chunk-HZVVNGEW.js +22 -0
- package/dist/chunk-IPVKH2ST.js +231 -0
- package/dist/chunk-J5TIV3J6.js +238 -0
- package/dist/chunk-JU6W3XAU.js +64 -0
- package/dist/chunk-JYG4B33G.js +227 -0
- package/dist/chunk-JZTHGAPA.js +503 -0
- package/dist/chunk-KGDWDSNL.js +102 -0
- package/dist/chunk-KVQBWI5T.js +99 -0
- package/dist/chunk-KZERVKTD.js +16 -0
- package/dist/chunk-LXQ5FBBD.js +47 -0
- package/dist/chunk-M5ICYGHT.js +138 -0
- package/dist/chunk-M5JDZ45W.js +943 -0
- package/dist/chunk-MDEPU45E.js +1226 -0
- package/dist/chunk-MPWXGONV.js +157 -0
- package/dist/chunk-N6IOSZOE.js +185 -0
- package/dist/chunk-NGDD6TXY.js +192 -0
- package/dist/chunk-NQTHFF4W.js +2830 -0
- package/dist/chunk-OKXS7WDZ.js +68 -0
- package/dist/chunk-OLQRRFBX.js +21 -0
- package/dist/chunk-P7WQEVWA.js +307 -0
- package/dist/chunk-POFBE6ZY.js +12 -0
- package/dist/chunk-PQ4K74WL.js +30 -0
- package/dist/chunk-PUZZELE6.js +37 -0
- package/dist/chunk-Q7E4I6UA.js +767 -0
- package/dist/chunk-QCGNGEGE.js +15 -0
- package/dist/chunk-R7437YI3.js +151 -0
- package/dist/chunk-RHR6NARM.js +305 -0
- package/dist/chunk-SAXBC4AZ.js +60 -0
- package/dist/chunk-SGZJ5LYH.js +76 -0
- package/dist/chunk-SIFVFP6T.js +70 -0
- package/dist/chunk-SLFABHW3.js +150 -0
- package/dist/chunk-T7E75EKA.js +67 -0
- package/dist/chunk-TY4JT7W3.js +38 -0
- package/dist/chunk-U4TMAANR.js +111 -0
- package/dist/chunk-UI36QSBI.js +177 -0
- package/dist/chunk-VQKRG3AC.js +339 -0
- package/dist/chunk-WE2J62NC.js +1131 -0
- package/dist/chunk-XHKBHWLX.js +14 -0
- package/dist/chunk-ZSZSSJCV.js +275 -0
- package/dist/chunk-ZVSKMPBZ.js +135 -0
- package/dist/reapply-CW3MA66V.js +34 -0
- package/dist/src/index.d.ts +204 -0
- package/dist/src/index.js +64 -0
- package/package.json +108 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handlePreToolUse
|
|
3
|
+
} from "../chunk-Q7E4I6UA.js";
|
|
4
|
+
import "../chunk-J5TIV3J6.js";
|
|
5
|
+
import "../chunk-AXPCESYO.js";
|
|
6
|
+
import "../chunk-CJVVKOSR.js";
|
|
7
|
+
import "../chunk-JU6W3XAU.js";
|
|
8
|
+
import "../chunk-5OP5MQI7.js";
|
|
9
|
+
import "../chunk-3EVPNIBE.js";
|
|
10
|
+
import {
|
|
11
|
+
fetchAccountPublicKey
|
|
12
|
+
} from "../chunk-SAXBC4AZ.js";
|
|
13
|
+
import {
|
|
14
|
+
fetchModeOverride,
|
|
15
|
+
fetchModeState,
|
|
16
|
+
getPolicy,
|
|
17
|
+
handleNotification,
|
|
18
|
+
handlePostToolUse,
|
|
19
|
+
handleStop,
|
|
20
|
+
reportEvent
|
|
21
|
+
} from "../chunk-CULUZTWQ.js";
|
|
22
|
+
import "../chunk-N6IOSZOE.js";
|
|
23
|
+
import "../chunk-EPCXUP3P.js";
|
|
24
|
+
import {
|
|
25
|
+
askUser,
|
|
26
|
+
cancelQuestion,
|
|
27
|
+
waitForAnswer
|
|
28
|
+
} from "../chunk-NGDD6TXY.js";
|
|
29
|
+
import "../chunk-CVQYGMSR.js";
|
|
30
|
+
import "../chunk-POFBE6ZY.js";
|
|
31
|
+
import "../chunk-M5ICYGHT.js";
|
|
32
|
+
import "../chunk-2ABTSGFT.js";
|
|
33
|
+
import "../chunk-2OY3ZZ5N.js";
|
|
34
|
+
import "../chunk-LXQ5FBBD.js";
|
|
35
|
+
import "../chunk-7QLSKOSU.js";
|
|
36
|
+
import "../chunk-KZERVKTD.js";
|
|
37
|
+
import "../chunk-DB3ONZB4.js";
|
|
38
|
+
import "../chunk-A2A2YTMG.js";
|
|
39
|
+
import "../chunk-T7E75EKA.js";
|
|
40
|
+
import {
|
|
41
|
+
getApiKey,
|
|
42
|
+
getBaseUrl
|
|
43
|
+
} from "../chunk-GPEGOGRJ.js";
|
|
44
|
+
import "../chunk-E4FJTUH4.js";
|
|
45
|
+
import {
|
|
46
|
+
resolvePolicy
|
|
47
|
+
} from "../chunk-NQTHFF4W.js";
|
|
48
|
+
export {
|
|
49
|
+
askUser,
|
|
50
|
+
cancelQuestion,
|
|
51
|
+
fetchAccountPublicKey,
|
|
52
|
+
fetchModeOverride,
|
|
53
|
+
fetchModeState,
|
|
54
|
+
getApiKey,
|
|
55
|
+
getBaseUrl,
|
|
56
|
+
getPolicy,
|
|
57
|
+
handleNotification,
|
|
58
|
+
handlePostToolUse,
|
|
59
|
+
handlePreToolUse,
|
|
60
|
+
handleStop,
|
|
61
|
+
reportEvent,
|
|
62
|
+
resolvePolicy,
|
|
63
|
+
waitForAnswer
|
|
64
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pushary",
|
|
3
|
+
"version": "1.8.0",
|
|
4
|
+
"description": "Permission hooks for AI coding agents: route tool approvals through Pushary push notifications",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pushary",
|
|
7
|
+
"claude-code",
|
|
8
|
+
"claude-code-hooks",
|
|
9
|
+
"codex",
|
|
10
|
+
"cursor",
|
|
11
|
+
"gemini-cli",
|
|
12
|
+
"hermes",
|
|
13
|
+
"mcp",
|
|
14
|
+
"mcp-server",
|
|
15
|
+
"ai-agent",
|
|
16
|
+
"ai-coding-agent",
|
|
17
|
+
"human-in-the-loop",
|
|
18
|
+
"hitl",
|
|
19
|
+
"push-notifications",
|
|
20
|
+
"notifications",
|
|
21
|
+
"agent-permissions",
|
|
22
|
+
"permission-hooks",
|
|
23
|
+
"tool-approvals",
|
|
24
|
+
"pretooluse"
|
|
25
|
+
],
|
|
26
|
+
"author": "Pushary <business@pushary.com>",
|
|
27
|
+
"homepage": "https://pushary.com",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://pushary.com/support"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"type": "module",
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": "^20.17.0 || ^22.13.0 || >=23.5.0"
|
|
35
|
+
},
|
|
36
|
+
"main": "./dist/src/index.js",
|
|
37
|
+
"types": "./dist/src/index.d.ts",
|
|
38
|
+
"bin": {
|
|
39
|
+
"agent-hooks": "./dist/bin/pushary.js",
|
|
40
|
+
"pushary": "./dist/bin/pushary.js",
|
|
41
|
+
"pushary-hook": "./dist/bin/pushary-hook.js",
|
|
42
|
+
"pushary-post-hook": "./dist/bin/pushary-post-hook.js",
|
|
43
|
+
"pushary-stop-hook": "./dist/bin/pushary-stop-hook.js",
|
|
44
|
+
"pushary-prompt-hook": "./dist/bin/pushary-prompt-hook.js",
|
|
45
|
+
"pushary-notification-hook": "./dist/bin/pushary-notification-hook.js",
|
|
46
|
+
"pushary-session-start-hook": "./dist/bin/pushary-session-start-hook.js",
|
|
47
|
+
"pushary-session-end-hook": "./dist/bin/pushary-session-end-hook.js",
|
|
48
|
+
"pushary-stopfailure-hook": "./dist/bin/pushary-stopfailure-hook.js",
|
|
49
|
+
"pushary-permission-hook": "./dist/bin/pushary-permission-hook.js",
|
|
50
|
+
"pushary-permission-denied-hook": "./dist/bin/pushary-permission-denied-hook.js",
|
|
51
|
+
"pushary-elicitation-hook": "./dist/bin/pushary-elicitation-hook.js",
|
|
52
|
+
"pushary-claude": "./dist/bin/pushary-claude.js",
|
|
53
|
+
"pushary-daemon": "./dist/bin/pushary-daemon.js",
|
|
54
|
+
"pushary-daemon-supervisor": "./dist/bin/pushary-daemon-supervisor.js",
|
|
55
|
+
"pushary-codex": "./dist/bin/pushary-codex.js",
|
|
56
|
+
"pushary-codex-bridge": "./dist/bin/pushary-codex-bridge.js",
|
|
57
|
+
"pushary-codex-hook": "./dist/bin/pushary-codex-hook.js",
|
|
58
|
+
"pushary-gemini-hook": "./dist/bin/pushary-gemini-hook.js",
|
|
59
|
+
"pushary-gemini-bridge": "./dist/bin/pushary-gemini-bridge.js",
|
|
60
|
+
"pushary-opencode-hook": "./dist/bin/pushary-opencode-hook.js",
|
|
61
|
+
"pushary-setup": "./dist/bin/pushary-setup.js",
|
|
62
|
+
"pushary-cowork": "./dist/bin/pushary-cowork.js",
|
|
63
|
+
"pushary-clean": "./dist/bin/pushary-clean.js",
|
|
64
|
+
"pushary-status": "./dist/bin/pushary-status.js",
|
|
65
|
+
"pushary-login": "./dist/bin/pushary-login.js",
|
|
66
|
+
"pushary-logout": "./dist/bin/pushary-logout.js",
|
|
67
|
+
"pushary-connect": "./dist/bin/pushary-connect.js",
|
|
68
|
+
"pushary-doctor": "./dist/bin/pushary-doctor.js",
|
|
69
|
+
"pushary-mode": "./dist/bin/pushary-mode.js",
|
|
70
|
+
"pushary-mcp": "./dist/bin/pushary-mcp.js",
|
|
71
|
+
"pushary-wait": "./dist/bin/pushary-wait.js",
|
|
72
|
+
"pushary-stats": "./dist/bin/pushary-stats.js",
|
|
73
|
+
"pushary-suggestions": "./dist/bin/pushary-suggestions.js",
|
|
74
|
+
"pushary-upgrade": "./dist/bin/pushary-upgrade.js",
|
|
75
|
+
"pushary-bell": "./dist/bin/pushary-bell.js",
|
|
76
|
+
"pushary-bell-hook": "./dist/bin/pushary-bell-hook.js",
|
|
77
|
+
"pushary-disconnect": "./dist/bin/pushary-disconnect.js",
|
|
78
|
+
"pushary-transcripts": "./dist/bin/pushary-transcripts.js",
|
|
79
|
+
"pushary-transcript-register": "./dist/bin/pushary-transcript-register.js"
|
|
80
|
+
},
|
|
81
|
+
"files": [
|
|
82
|
+
"dist",
|
|
83
|
+
"data",
|
|
84
|
+
"CHANGELOG.md"
|
|
85
|
+
],
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "node scripts/bundle-plugin.mjs && tsup",
|
|
88
|
+
"dev": "tsup --watch",
|
|
89
|
+
"test": "node ../../scripts/ci/run-tests.mjs src bin",
|
|
90
|
+
"typecheck": "tsc --noEmit",
|
|
91
|
+
"conformance": "bun scripts/hook-conformance.ts",
|
|
92
|
+
"live:phone-session-hooks": "bun scripts/phone-session-hooks.ts",
|
|
93
|
+
"gen:hooks-spec": "bun scripts/generate-hooks-spec.ts"
|
|
94
|
+
},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"@inquirer/prompts": "^8.4.2",
|
|
97
|
+
"qrcode-terminal": "^0.12.0",
|
|
98
|
+
"smol-toml": "^1.6.1",
|
|
99
|
+
"tweetnacl": "^1.0.3",
|
|
100
|
+
"undici": "^6.21.0"
|
|
101
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@pushary/contracts": "workspace:*",
|
|
104
|
+
"@pushary/hook-mapping": "workspace:*",
|
|
105
|
+
"tsup": "^8.0.0",
|
|
106
|
+
"typescript": "^5.0.0"
|
|
107
|
+
}
|
|
108
|
+
}
|