pushary 1.9.187 → 1.9.192
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 +23 -0
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/scripts/pushary-gate.mjs +34 -6
- package/data/openclaw-plugin/README.md +2 -2
- package/data/openclaw-plugin/dist/protected-writes.js +3 -2
- package/data/openclaw-plugin/package.json +1 -1
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +4 -0
- package/data/vscode-plugin/scripts/pushary-gate.mjs +34 -6
- package/dist/{api-6U7B4OY7.js → api-XPS2NPJH.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +50 -50
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +8 -0
- package/dist/bin/pushary-doctor.js +75 -53
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +61 -24
- package/dist/bin/pushary-opencode-hook.js +45 -40
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +55 -55
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +44 -44
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-5O4MW5YS.js → chunk-23WKGMTI.js} +4 -2
- package/dist/{chunk-BWOQACK7.js → chunk-2HOKEC2I.js} +2 -2
- package/dist/{chunk-L7BHOFTF.js → chunk-3APYAOZF.js} +3 -3
- package/dist/{chunk-3JNBZF4G.js → chunk-3ULFLONL.js} +1 -1
- package/dist/{chunk-5X7XEJTI.js → chunk-4FVKGWWZ.js} +2 -2
- package/dist/{chunk-NNHD7KVL.js → chunk-4TIZJD3Q.js} +5 -5
- package/dist/{chunk-OLU5L3VB.js → chunk-5IPXL33D.js} +1 -1
- package/dist/{chunk-RYBTDSQF.js → chunk-5QP7DVQF.js} +1 -1
- package/dist/{chunk-QNOXMVIX.js → chunk-5WC6N3HA.js} +5 -5
- package/dist/{chunk-ZL3UDLTC.js → chunk-5WT6DLL2.js} +5 -5
- package/dist/{chunk-4OSTVMM5.js → chunk-6C7DT36Z.js} +18 -18
- package/dist/{chunk-WA5RGLKV.js → chunk-6CJSVFAD.js} +2 -2
- package/dist/{chunk-PS4AKK26.js → chunk-6EZY7IXB.js} +1 -1
- package/dist/{chunk-AKAZRQLA.js → chunk-6TNKY3DC.js} +2 -2
- package/dist/{chunk-6ZSOD7VY.js → chunk-7K5AYNDY.js} +5 -5
- package/dist/chunk-7QUPTDT2.js +92 -0
- package/dist/{chunk-6OJ7XVBR.js → chunk-A4QFVUEY.js} +2 -2
- package/dist/{chunk-URZAPVR6.js → chunk-AD7R7TNQ.js} +4 -4
- package/dist/{chunk-J3JG5EKP.js → chunk-AQLIBG2P.js} +1 -1
- package/dist/{chunk-UFAIL7YE.js → chunk-C2B4LPJU.js} +2 -2
- package/dist/{chunk-Z7OTSKAT.js → chunk-CDEJHIYQ.js} +4 -4
- package/dist/{chunk-TYGNPI7L.js → chunk-CDXD6W4N.js} +1 -1
- package/dist/{chunk-I5C35DE5.js → chunk-DAHGMBRE.js} +3 -3
- package/dist/{chunk-GYIISS2S.js → chunk-DHD54IIT.js} +7 -7
- package/dist/{chunk-GBKMTVG6.js → chunk-DP6YHOKF.js} +2 -2
- package/dist/{chunk-O7N2FQBH.js → chunk-DQI4647T.js} +4 -4
- package/dist/{chunk-BW6WGBJC.js → chunk-E65O7RMA.js} +4 -4
- package/dist/{chunk-AO5BRDKS.js → chunk-EBIPQ3ZE.js} +20 -4
- package/dist/{chunk-HYZAL77U.js → chunk-EJ56NJQ4.js} +7 -7
- package/dist/{chunk-ZKZL4EFA.js → chunk-EJJBM4OB.js} +1 -1
- package/dist/{chunk-ZUU4I2RK.js → chunk-EPNYDS4H.js} +1 -1
- package/dist/{chunk-L3BX56Y4.js → chunk-ETT24EIH.js} +3 -3
- package/dist/{chunk-NXHIWGOL.js → chunk-F326QJEJ.js} +8 -8
- package/dist/{chunk-LXZ6APGN.js → chunk-FY7WHRDJ.js} +3 -3
- package/dist/{chunk-LTB54XBS.js → chunk-FZWUUGC2.js} +4 -4
- package/dist/{chunk-YUG7PCPJ.js → chunk-GAAPUS5J.js} +1 -1
- package/dist/{chunk-VECF23YI.js → chunk-GGKGVCUN.js} +4 -4
- package/dist/{chunk-QJF5I7NR.js → chunk-GR46QR45.js} +6 -6
- package/dist/{chunk-GTEL6ZIH.js → chunk-GUBY4KIU.js} +8 -6
- package/dist/{chunk-E2CY63WZ.js → chunk-GUZLBFER.js} +5 -5
- package/dist/{chunk-KOJJ2LPJ.js → chunk-H6CBRJKT.js} +5 -5
- package/dist/{chunk-3JU27SD5.js → chunk-HMMVGDL3.js} +10 -4
- package/dist/{chunk-O5IRXMPV.js → chunk-ITPAUHJ4.js} +1 -1
- package/dist/{chunk-FYBS4VRT.js → chunk-IYOA3NWO.js} +1 -1
- package/dist/{chunk-JFZPMVEC.js → chunk-JJBM5FYH.js} +2 -2
- package/dist/{chunk-YMJCE2TD.js → chunk-JXZQ4XFL.js} +2 -2
- package/dist/{chunk-IYY7KRNS.js → chunk-KERLAXHG.js} +3 -3
- package/dist/{chunk-JLVVFGYN.js → chunk-LWUDOZHE.js} +4 -4
- package/dist/{chunk-Z2RVYQON.js → chunk-NCN7ANYA.js} +6 -6
- package/dist/{chunk-XO66RJJC.js → chunk-NFK2QF74.js} +5 -5
- package/dist/{chunk-2IBCLVJK.js → chunk-O7ZCWGYA.js} +2 -2
- package/dist/{chunk-2NHK4PUR.js → chunk-OTJEIINV.js} +6 -6
- package/dist/{chunk-PDVGAU7A.js → chunk-OYZUPSD7.js} +6 -6
- package/dist/{chunk-HKL7HXFD.js → chunk-P4JYK7WB.js} +3 -3
- package/dist/{chunk-BDJNHQFA.js → chunk-P6NACIBR.js} +4 -4
- package/dist/{chunk-TBQT2TA6.js → chunk-PUVD22DY.js} +12 -12
- package/dist/{chunk-EXM3ZEUU.js → chunk-R2NYUOTC.js} +9 -9
- package/dist/{chunk-DRY5YWUK.js → chunk-RNPEOAPC.js} +2 -2
- package/dist/{chunk-OESNI7XN.js → chunk-SHAHZQTQ.js} +4 -4
- package/dist/{chunk-6NUEY2FT.js → chunk-T4GV5MOC.js} +3 -3
- package/dist/{chunk-5DSFBND4.js → chunk-TP47JHGJ.js} +1 -1
- package/dist/{chunk-LXHH33MX.js → chunk-UF6RZBTL.js} +3 -3
- package/dist/{chunk-FZQHKRQF.js → chunk-URVW3D2J.js} +11 -11
- package/dist/{chunk-2ACPOE77.js → chunk-UV5ROHY2.js} +1 -1
- package/dist/{chunk-OCHXKVIN.js → chunk-UVNH4UGJ.js} +1 -1
- package/dist/{chunk-7P7ZKS2G.js → chunk-UXQVXB7Q.js} +1 -1
- package/dist/{chunk-XF25RJEV.js → chunk-VDJMYP54.js} +3 -3
- package/dist/{chunk-6D35FDXC.js → chunk-VEE2MRUN.js} +1 -1
- package/dist/{chunk-7IG54T3H.js → chunk-VH5DPURH.js} +1 -1
- package/dist/{chunk-TKGCDWPF.js → chunk-VNCN3Z4T.js} +2 -2
- package/dist/{chunk-QUXD5OW3.js → chunk-WB5DD232.js} +3 -3
- package/dist/{chunk-FWYOB3LW.js → chunk-WNCTMTMG.js} +1 -1
- package/dist/{chunk-EU6NQQNG.js → chunk-X4ENTDFT.js} +2 -2
- package/dist/{chunk-2PQY4TMQ.js → chunk-X7FIYMHC.js} +2 -2
- package/dist/{chunk-52CIHAC2.js → chunk-XMNETXQ4.js} +6 -6
- package/dist/{chunk-SIT46O4V.js → chunk-XONHTLMX.js} +10 -10
- package/dist/{chunk-AYM7IBC5.js → chunk-XSJON4TV.js} +1 -1
- package/dist/{chunk-KZFNXNFH.js → chunk-Y2H5TF7T.js} +1 -1
- package/dist/{chunk-6UICFJRW.js → chunk-YLZRG4U5.js} +1 -1
- package/dist/{chunk-QBPBNFDI.js → chunk-YMULPOSH.js} +5 -5
- package/dist/{chunk-D35DKI3E.js → chunk-ZCR5VTOC.js} +5 -5
- package/dist/{codex-app-cards-switch-5B67TNLS.js → codex-app-cards-switch-UEN23QFT.js} +11 -11
- package/dist/{codex-card-routing-3HSUBI6U.js → codex-card-routing-CJZT26VA.js} +2 -2
- package/dist/{codex-desktop-launch-GG5K77QD.js → codex-desktop-launch-DKOOCOTD.js} +1 -1
- package/dist/{codex-session-launch-XR46HRYK.js → codex-session-launch-UHNV5Z3D.js} +20 -20
- package/dist/{config-K7JUY27J.js → config-EVDZ6OAI.js} +3 -3
- package/dist/{global-upgrade-R24VOCK7.js → global-upgrade-KZQWNABB.js} +9 -9
- package/dist/{identity-IMSNZJZL.js → identity-A2BK7P2A.js} +4 -4
- package/dist/{live-capabilities-BBUGAZJV.js → live-capabilities-43YRGYAR.js} +4 -4
- package/dist/{paths-HGLMPFAG.js → paths-67D2435E.js} +3 -3
- package/dist/reapply-APVASEGC.js +70 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-FML33CIQ.js → upgrade-lock-TG4UOPN7.js} +4 -4
- package/dist/{usage-QMQZCRF2.js → usage-FVDJIMCB.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-LV575VQE.js +0 -62
- package/dist/reapply-SYNZ2IZY.js +0 -70
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exitOnHelpFlag
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AQLIBG2P.js";
|
|
4
4
|
import "./chunk-BG4HHB7E.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-GAAPUS5J.js";
|
|
6
6
|
import "./chunk-UQTQ6HPO.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HMMVGDL3.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
export {
|
|
10
10
|
exitOnHelpFlag
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.192",
|
|
4
4
|
"description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pushary",
|
package/dist/chunk-LV575VQE.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AUTO_DECISION_WINDOW_MS,
|
|
3
|
-
DEFAULT_SESSION,
|
|
4
|
-
claimThrottle,
|
|
5
|
-
releaseThrottle,
|
|
6
|
-
reportEvent
|
|
7
|
-
} from "./chunk-TBQT2TA6.js";
|
|
8
|
-
import {
|
|
9
|
-
deriveToolTarget,
|
|
10
|
-
permissionDeniedAction
|
|
11
|
-
} from "./chunk-3JNBZF4G.js";
|
|
12
|
-
import {
|
|
13
|
-
projectNameFor
|
|
14
|
-
} from "./chunk-7IG54T3H.js";
|
|
15
|
-
import {
|
|
16
|
-
machineDecisionFor,
|
|
17
|
-
wireVerdictFor
|
|
18
|
-
} from "./chunk-3JU27SD5.js";
|
|
19
|
-
|
|
20
|
-
// src/machine-decision-audit.ts
|
|
21
|
-
var reportMachineDenial = async (input, verdict, agent) => {
|
|
22
|
-
const decision = machineDecisionFor(wireVerdictFor(verdict, 0));
|
|
23
|
-
if (!decision) return;
|
|
24
|
-
const sessionKey = input.session_id || DEFAULT_SESSION;
|
|
25
|
-
const toolTarget = deriveToolTarget(input.tool_name, input.tool_input);
|
|
26
|
-
const throttleKey = `machinedecision:${agent.type}:${sessionKey}:${input.tool_name}:${decision.origin}:${toolTarget ?? ""}`;
|
|
27
|
-
const throttle = claimThrottle(throttleKey, AUTO_DECISION_WINDOW_MS);
|
|
28
|
-
if (throttle === "throttled") return;
|
|
29
|
-
if (throttle === "unavailable") {
|
|
30
|
-
console.error("[Pushary] Could not access the audit throttle; reporting this denial without deduplication.");
|
|
31
|
-
}
|
|
32
|
-
try {
|
|
33
|
-
const response = await reportEvent({
|
|
34
|
-
event: "permission_denied",
|
|
35
|
-
occurredAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
36
|
-
toolUseId: input.tool_use_id,
|
|
37
|
-
agentType: agent.type,
|
|
38
|
-
agentName: `${agent.label} - ${projectNameFor(input.cwd)}`,
|
|
39
|
-
action: permissionDeniedAction(input.tool_name),
|
|
40
|
-
sessionId: input.session_id,
|
|
41
|
-
decisionSource: "policy_auto",
|
|
42
|
-
decisionOrigin: decision.origin,
|
|
43
|
-
decisionOutcome: decision.outcome,
|
|
44
|
-
toolName: input.tool_name,
|
|
45
|
-
toolTarget
|
|
46
|
-
}, { maxAttempts: 1, timeoutMs: 800, requireOk: true, skipDrain: true });
|
|
47
|
-
if (response?.ok !== true) throw new Error("Audit delivery was not acknowledged");
|
|
48
|
-
} catch {
|
|
49
|
-
console.error("[Pushary] Could not record the machine denial. The action remains blocked; its audit delivery will be retried on the next matching denial.");
|
|
50
|
-
if (throttle === "passed") {
|
|
51
|
-
try {
|
|
52
|
-
releaseThrottle(throttleKey);
|
|
53
|
-
} catch {
|
|
54
|
-
console.error("[Pushary] Could not reset the failed audit throttle.");
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export {
|
|
61
|
-
reportMachineDenial
|
|
62
|
-
};
|
package/dist/reapply-SYNZ2IZY.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ensureCodexTrustAfterReapply,
|
|
3
|
-
inspectConfiguredManagedProviders,
|
|
4
|
-
reapplyAllAgents,
|
|
5
|
-
reapplyClaudeForVersion,
|
|
6
|
-
reapplyClaudeSettings,
|
|
7
|
-
reapplyClineSettings,
|
|
8
|
-
reapplyCodexSettings,
|
|
9
|
-
reapplyCompatibleHooks,
|
|
10
|
-
reapplyCursorPlugin,
|
|
11
|
-
reapplyGeminiSettings,
|
|
12
|
-
reapplyOpenCodePlugin,
|
|
13
|
-
reapplyVsCodePlugin,
|
|
14
|
-
repairCodexHolds
|
|
15
|
-
} from "./chunk-FZQHKRQF.js";
|
|
16
|
-
import "./chunk-AKAZRQLA.js";
|
|
17
|
-
import "./chunk-Z7OTSKAT.js";
|
|
18
|
-
import "./chunk-IYY7KRNS.js";
|
|
19
|
-
import "./chunk-E2CY63WZ.js";
|
|
20
|
-
import "./chunk-HKL7HXFD.js";
|
|
21
|
-
import "./chunk-I5C35DE5.js";
|
|
22
|
-
import "./chunk-GYIISS2S.js";
|
|
23
|
-
import "./chunk-NNHD7KVL.js";
|
|
24
|
-
import "./chunk-FWYOB3LW.js";
|
|
25
|
-
import "./chunk-DRY5YWUK.js";
|
|
26
|
-
import "./chunk-TCE3J44Z.js";
|
|
27
|
-
import "./chunk-D35DKI3E.js";
|
|
28
|
-
import "./chunk-O7N2FQBH.js";
|
|
29
|
-
import "./chunk-TBQT2TA6.js";
|
|
30
|
-
import "./chunk-3JNBZF4G.js";
|
|
31
|
-
import "./chunk-ZKZL4EFA.js";
|
|
32
|
-
import "./chunk-O5IRXMPV.js";
|
|
33
|
-
import "./chunk-BZIBNSQE.js";
|
|
34
|
-
import "./chunk-VRNGMRJA.js";
|
|
35
|
-
import "./chunk-2NHK4PUR.js";
|
|
36
|
-
import "./chunk-OLU5L3VB.js";
|
|
37
|
-
import "./chunk-POFBE6ZY.js";
|
|
38
|
-
import "./chunk-KOJJ2LPJ.js";
|
|
39
|
-
import "./chunk-6D35FDXC.js";
|
|
40
|
-
import "./chunk-7IG54T3H.js";
|
|
41
|
-
import "./chunk-L7BHOFTF.js";
|
|
42
|
-
import "./chunk-6NUEY2FT.js";
|
|
43
|
-
import "./chunk-AYM7IBC5.js";
|
|
44
|
-
import "./chunk-LXZ6APGN.js";
|
|
45
|
-
import "./chunk-GBKMTVG6.js";
|
|
46
|
-
import "./chunk-BWOQACK7.js";
|
|
47
|
-
import "./chunk-AO5BRDKS.js";
|
|
48
|
-
import "./chunk-KZFNXNFH.js";
|
|
49
|
-
import "./chunk-CINBAX5G.js";
|
|
50
|
-
import "./chunk-PM2NRK6Y.js";
|
|
51
|
-
import "./chunk-BG4HHB7E.js";
|
|
52
|
-
import "./chunk-YUG7PCPJ.js";
|
|
53
|
-
import "./chunk-UQTQ6HPO.js";
|
|
54
|
-
import "./chunk-3JU27SD5.js";
|
|
55
|
-
import "./chunk-MLKGABMK.js";
|
|
56
|
-
export {
|
|
57
|
-
ensureCodexTrustAfterReapply,
|
|
58
|
-
inspectConfiguredManagedProviders,
|
|
59
|
-
reapplyAllAgents,
|
|
60
|
-
reapplyClaudeForVersion,
|
|
61
|
-
reapplyClaudeSettings,
|
|
62
|
-
reapplyClineSettings,
|
|
63
|
-
reapplyCodexSettings,
|
|
64
|
-
reapplyCompatibleHooks,
|
|
65
|
-
reapplyCursorPlugin,
|
|
66
|
-
reapplyGeminiSettings,
|
|
67
|
-
reapplyOpenCodePlugin,
|
|
68
|
-
reapplyVsCodePlugin,
|
|
69
|
-
repairCodexHolds
|
|
70
|
-
};
|