pushary 1.9.243 → 1.9.245
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 +9 -0
- package/dist/bin/pushary-bell-hook.js +5 -5
- package/dist/bin/pushary-claude.js +2 -2
- package/dist/bin/pushary-clean.js +9 -9
- package/dist/bin/pushary-codex-hook.js +6 -6
- package/dist/bin/pushary-connect.js +5 -5
- package/dist/bin/pushary-daemon.js +9 -9
- package/dist/bin/pushary-disconnect.js +6 -6
- package/dist/bin/pushary-doctor.js +9 -9
- package/dist/bin/pushary-elicitation-hook.js +5 -5
- package/dist/bin/pushary-gemini-hook.js +5 -5
- package/dist/bin/pushary-hook.js +6 -6
- package/dist/bin/pushary-login.js +2 -2
- package/dist/bin/pushary-logout.js +5 -5
- package/dist/bin/pushary-notification-hook.js +5 -5
- package/dist/bin/pushary-opencode-hook.js +5 -5
- package/dist/bin/pushary-permission-denied-hook.js +6 -6
- package/dist/bin/pushary-permission-hook.js +6 -6
- package/dist/bin/pushary-post-hook.js +5 -5
- package/dist/bin/pushary-prompt-hook.js +5 -5
- package/dist/bin/pushary-session-end-hook.js +5 -5
- package/dist/bin/pushary-session-start-hook.js +9 -9
- package/dist/bin/pushary-setup.js +26 -37
- package/dist/bin/pushary-status.js +4 -4
- package/dist/bin/pushary-stop-hook.js +5 -5
- package/dist/bin/pushary-stopfailure-hook.js +5 -5
- package/dist/bin/pushary-transcript-register.js +2 -2
- package/dist/bin/pushary-transcripts.js +4 -4
- package/dist/bin/pushary-upgrade.js +10 -10
- package/dist/{chunk-NSRARU4G.js → chunk-4OMJ2LP2.js} +1 -1
- package/dist/{chunk-6TJOEVKA.js → chunk-5UZ6VRUA.js} +1 -1
- package/dist/{chunk-7T5IXYCJ.js → chunk-7MFLS3LV.js} +2 -10
- package/dist/{chunk-CIS77AVL.js → chunk-7ZIPMIC2.js} +2 -2
- package/dist/{chunk-PCCNXWVD.js → chunk-DFKAUEKJ.js} +1 -1
- package/dist/{chunk-5LAKBLOK.js → chunk-I3TBXGED.js} +2 -2
- package/dist/{chunk-AXBIUN5S.js → chunk-I46M3FVO.js} +2 -2
- package/dist/{chunk-GHZ6CTB3.js → chunk-I5QXVNJ6.js} +1 -1
- package/dist/{chunk-S2TIA67T.js → chunk-IBLORC2W.js} +4 -4
- package/dist/{chunk-QZQHAFSP.js → chunk-J7AUOLJD.js} +1 -1
- package/dist/{chunk-RL6SYK6P.js → chunk-QV6SWMVL.js} +1 -1
- package/dist/{chunk-LWAMSBU5.js → chunk-RY7SLZVY.js} +2 -2
- package/dist/{chunk-ZB25WE2K.js → chunk-TQVA4OWU.js} +12 -10
- package/dist/{chunk-PHJS5IAO.js → chunk-VBO4B4PL.js} +1 -1
- package/dist/{chunk-KVMPB3X4.js → chunk-VRDTIJQX.js} +1 -1
- package/dist/{chunk-B2UMHA24.js → chunk-WXLHDE5H.js} +3 -3
- package/dist/{chunk-ZGDTT3LR.js → chunk-YTBF2NG7.js} +4 -4
- package/dist/{chunk-UYCL6GGF.js → chunk-ZFLMWNUJ.js} +2 -2
- package/dist/{reapply-OAY3SRY5.js → reapply-77GHMCBD.js} +6 -6
- package/dist/src/index.js +6 -6
- package/package.json +1 -1
|
@@ -44,19 +44,17 @@ var AgentConfigError = class extends Error {
|
|
|
44
44
|
};
|
|
45
45
|
var configFailureKind = (readFailure) => readFailure === "unparseable" ? "config-unparseable" : "config-unreadable";
|
|
46
46
|
var AGENT_FAILURE_DETAILS = {
|
|
47
|
-
"not-wired": "reported success but its config is not there."
|
|
48
|
-
"app-account-mismatch": "Pushary for Mac set it up with an account that does not match this setup, so it was left as it is."
|
|
47
|
+
"not-wired": "reported success but its config is not there."
|
|
49
48
|
};
|
|
50
49
|
var DESCRIBED_FAILURE_REMEDIES = {
|
|
51
|
-
"not-wired": "retry-agent"
|
|
52
|
-
"app-account-mismatch": "match-mac-account"
|
|
50
|
+
"not-wired": "retry-agent"
|
|
53
51
|
};
|
|
54
52
|
var describedAgentFailure = (agent, kind) => ({
|
|
55
53
|
agent,
|
|
56
54
|
kind,
|
|
57
55
|
detail: AGENT_FAILURE_DETAILS[kind],
|
|
58
56
|
remedy: DESCRIBED_FAILURE_REMEDIES[kind],
|
|
59
|
-
stage:
|
|
57
|
+
stage: "hook-validation"
|
|
60
58
|
});
|
|
61
59
|
var NPM_PERMISSION_REMEDIES = {
|
|
62
60
|
"global-prefix": "fix-npm-prefix",
|
|
@@ -90,10 +88,14 @@ var retryAgentCommand = (agent) => `${NPX_LATEST_COMMAND} setup --agents ${agent
|
|
|
90
88
|
var takeOverHooksCommand = (agent) => `${retryAgentCommand(agent)} --take-over-hooks`;
|
|
91
89
|
var matchMacAccountStep = (agent, setupAccount) => `Sign Pushary for Mac into ${setupAccount ?? "this setup's account"}, or run ${takeOverHooksCommand(agent)}`;
|
|
92
90
|
var UNCHECKED_ACCOUNT = "an account that could not be checked";
|
|
93
|
-
var describeMacAccountMismatch = (mismatch) =>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
91
|
+
var describeMacAccountMismatch = (mismatch) => `Pushary for Mac uses ${mismatch.macAccount ?? UNCHECKED_ACCOUNT}. This setup uses ${mismatch.setupAccount ?? UNCHECKED_ACCOUNT}.`;
|
|
92
|
+
var macAccountMismatchFailure = (agent, mismatch) => ({
|
|
93
|
+
agent,
|
|
94
|
+
kind: "app-account-mismatch",
|
|
95
|
+
detail: describeMacAccountMismatch(mismatch),
|
|
96
|
+
remedy: "match-mac-account",
|
|
97
|
+
stage: "account-check"
|
|
98
|
+
});
|
|
97
99
|
var REMAINING_AGENTS_CONTINUE = "Other agents will continue. Re-run setup to retry.";
|
|
98
100
|
var afterAgentFailureNote = (agentsStillToSetUp) => agentsStillToSetUp > 0 ? REMAINING_AGENTS_CONTINUE : null;
|
|
99
101
|
var failedAgentsContext = (configuredAgentNames) => configuredAgentNames.length > 0 ? `(configured: ${configuredAgentNames.join(", ")})` : null;
|
|
@@ -109,7 +111,7 @@ export {
|
|
|
109
111
|
agentFailureFromError,
|
|
110
112
|
retryAgentCommand,
|
|
111
113
|
matchMacAccountStep,
|
|
112
|
-
|
|
114
|
+
macAccountMismatchFailure,
|
|
113
115
|
afterAgentFailureNote,
|
|
114
116
|
failedAgentsContext,
|
|
115
117
|
agentFailureWire
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cursorGateOwnsClaudeCall,
|
|
3
3
|
readCursorGateRegistration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DFKAUEKJ.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VBO4B4PL.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VRDTIJQX.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
13
|
} from "./chunk-PGWUHKNZ.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I46M3FVO.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
15
|
} from "./chunk-BATXVYBR.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DFKAUEKJ.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VRDTIJQX.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7MFLS3LV.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-B62INGJG.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I46M3FVO.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeClaudeInstallPath
|
|
9
9
|
} from "./chunk-TCE3J44Z.js";
|
|
10
10
|
import {
|
|
11
11
|
grokHome
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VRDTIJQX.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
reapplyOpenCodePlugin,
|
|
13
13
|
reapplyVsCodePlugin,
|
|
14
14
|
repairCodexHolds
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IBLORC2W.js";
|
|
16
16
|
import "./chunk-TWWOQKXK.js";
|
|
17
17
|
import "./chunk-DZS3JN6U.js";
|
|
18
18
|
import "./chunk-VJGNKY3G.js";
|
|
19
19
|
import "./chunk-B62INGJG.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-QV6SWMVL.js";
|
|
21
|
+
import "./chunk-TQVA4OWU.js";
|
|
22
22
|
import "./chunk-332UCKZR.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-I46M3FVO.js";
|
|
24
24
|
import "./chunk-BATXVYBR.js";
|
|
25
25
|
import "./chunk-THBEXOTL.js";
|
|
26
26
|
import "./chunk-O2HFH6CO.js";
|
|
27
27
|
import "./chunk-TCE3J44Z.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VRDTIJQX.js";
|
|
29
29
|
import "./chunk-2KJUGUYQ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-7MFLS3LV.js";
|
|
31
31
|
import "./chunk-CA2BNB66.js";
|
|
32
32
|
import "./chunk-4H6DCMIK.js";
|
|
33
33
|
import "./chunk-XWL4ZWTC.js";
|
package/dist/src/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlePreToolUse
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RY7SLZVY.js";
|
|
4
4
|
import "../chunk-ZQYH7EKR.js";
|
|
5
5
|
import "../chunk-3DW6IVG5.js";
|
|
6
6
|
import "../chunk-QRUVYQM5.js";
|
|
7
7
|
import "../chunk-JAXA5POJ.js";
|
|
8
8
|
import "../chunk-3C3U43UY.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-WXLHDE5H.js";
|
|
10
|
+
import "../chunk-DFKAUEKJ.js";
|
|
11
|
+
import "../chunk-VBO4B4PL.js";
|
|
12
12
|
import "../chunk-WHB622LP.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-VRDTIJQX.js";
|
|
14
14
|
import "../chunk-2KJUGUYQ.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-7MFLS3LV.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchModeOverride,
|
|
18
18
|
fetchModeState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.245",
|
|
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",
|