@pushary/agent-hooks 0.95.1 → 0.95.2
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 +6 -0
- package/README.md +9 -0
- package/data/cowork/SKILL.md +77 -0
- package/dist/bin/pushary-bell-hook.js +17 -16
- package/dist/bin/pushary-bell.js +7 -7
- package/dist/bin/pushary-claude.js +18 -17
- package/dist/bin/pushary-clean.js +16 -15
- package/dist/bin/pushary-codex-bridge.js +9 -9
- package/dist/bin/pushary-codex-hook.js +20 -19
- package/dist/bin/pushary-codex.js +7 -7
- package/dist/bin/pushary-connect.js +8 -8
- package/dist/bin/pushary-cowork.d.ts +1 -0
- package/dist/bin/pushary-cowork.js +37 -0
- package/dist/bin/pushary-daemon.js +22 -21
- package/dist/bin/pushary-disconnect.js +8 -8
- package/dist/bin/pushary-doctor.js +20 -20
- package/dist/bin/pushary-elicitation-hook.js +16 -15
- package/dist/bin/pushary-gemini-bridge.js +9 -9
- package/dist/bin/pushary-gemini-hook.js +19 -18
- package/dist/bin/pushary-hook.js +23 -22
- package/dist/bin/pushary-login.js +11 -10
- package/dist/bin/pushary-logout.js +6 -6
- package/dist/bin/pushary-mode.js +5 -5
- package/dist/bin/pushary-notification-hook.js +18 -17
- package/dist/bin/pushary-opencode-hook.js +19 -18
- package/dist/bin/pushary-permission-denied-hook.js +21 -20
- package/dist/bin/pushary-permission-hook.js +21 -20
- package/dist/bin/pushary-post-hook.js +18 -17
- package/dist/bin/pushary-prompt-hook.js +18 -17
- package/dist/bin/pushary-session-end-hook.js +18 -17
- package/dist/bin/pushary-session-start-hook.js +21 -20
- package/dist/bin/pushary-setup.js +39 -27
- package/dist/bin/pushary-stats.js +4 -4
- package/dist/bin/pushary-status.js +10 -10
- package/dist/bin/pushary-stop-hook.js +18 -17
- package/dist/bin/pushary-stopfailure-hook.js +18 -17
- package/dist/bin/pushary-suggestions.js +2 -2
- package/dist/bin/pushary-transcript-register.js +15 -14
- package/dist/bin/pushary-transcripts.js +6 -6
- package/dist/bin/pushary-upgrade.js +15 -15
- package/dist/bin/pushary-wait.js +5 -5
- package/dist/bin/pushary.js +2 -1
- package/dist/{chunk-77U3ZVV6.js → chunk-2XUPP4WM.js} +1 -1
- package/dist/chunk-3ZUTNTZA.js +133 -0
- package/dist/{chunk-T23EGPRI.js → chunk-4XXUHWIK.js} +1 -1
- package/dist/chunk-5GLPYGKS.js +88 -0
- package/dist/{chunk-VOWZ5VOO.js → chunk-6FAHPGCZ.js} +30 -0
- package/dist/{chunk-WJZUTMMU.js → chunk-76XICHYT.js} +3 -3
- package/dist/{chunk-BWNU4MX4.js → chunk-7LUFYRH4.js} +3 -3
- package/dist/{chunk-C2MV4G4A.js → chunk-A4R6BZCK.js} +1 -1
- package/dist/{chunk-R7NPGCSD.js → chunk-AMZJ3CKW.js} +1 -1
- package/dist/{chunk-IFCS6LXB.js → chunk-CH6DTGQR.js} +3 -3
- package/dist/{chunk-VLKEAYJ4.js → chunk-CKOLDI47.js} +1 -1
- package/dist/{chunk-J55K6YS4.js → chunk-DNVDKHQD.js} +5 -5
- package/dist/{chunk-IZRI4M3C.js → chunk-E3NF5CL2.js} +1 -1
- package/dist/{chunk-RNH2AE52.js → chunk-EPFDN2ZT.js} +1 -1
- package/dist/{chunk-UQSKCQBO.js → chunk-EUAQ4YAN.js} +1 -1
- package/dist/{chunk-IP63LMZM.js → chunk-FQUV5KTM.js} +6 -6
- package/dist/{chunk-YPYPI6BG.js → chunk-G24SEVCI.js} +2 -2
- package/dist/{chunk-MF64S7WO.js → chunk-G4TL4YWH.js} +1 -1
- package/dist/{chunk-Z3Z4VK5F.js → chunk-GKIUEIDX.js} +4 -33
- package/dist/{chunk-JSASMV3H.js → chunk-GUVCYYDK.js} +1 -1
- package/dist/{chunk-SSQ5X6SA.js → chunk-IAEXPTXA.js} +1 -1
- package/dist/{chunk-UFGDCMUD.js → chunk-IPHOUBTU.js} +1 -1
- package/dist/{chunk-PDFVIRPB.js → chunk-JDFB3YKG.js} +1 -1
- package/dist/{chunk-M64I4T7J.js → chunk-M7WWEFG6.js} +1 -1
- package/dist/{chunk-BVBEURWJ.js → chunk-MOY5X6HJ.js} +1 -1
- package/dist/chunk-PUZZELE6.js +37 -0
- package/dist/{chunk-ZOR5OJZJ.js → chunk-QF4RI5CD.js} +1 -1
- package/dist/{chunk-7MGF5Q7G.js → chunk-QUE76J4H.js} +1 -1
- package/dist/{chunk-CU5KI425.js → chunk-RVSEGFPD.js} +2 -2
- package/dist/{chunk-Y24D5ZWS.js → chunk-UOTSWS5N.js} +7 -7
- package/dist/{chunk-CC625NRG.js → chunk-UW4LWAWY.js} +6 -6
- package/dist/{chunk-TTO76NZJ.js → chunk-V27AHID3.js} +1 -1
- package/dist/{chunk-K7ZZGI2Y.js → chunk-VX3BWMC5.js} +1 -1
- package/dist/{chunk-3F4VV5TS.js → chunk-WB2C7VPF.js} +1 -1
- package/dist/{chunk-ZW3KAWTM.js → chunk-WM5XMCID.js} +5 -131
- package/dist/{chunk-T5B3LRYF.js → chunk-X7YWD6IS.js} +1 -1
- package/dist/{chunk-AQ5OAYOH.js → chunk-YJAQRKH5.js} +1 -1
- package/dist/{chunk-43GMYSS4.js → chunk-ZDAT5KMU.js} +12 -0
- package/dist/src/index.js +10 -10
- package/package.json +2 -1
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-L4ZCFMWW.js";
|
|
8
8
|
import {
|
|
9
9
|
getMachineId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IAEXPTXA.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WB2C7VPF.js";
|
|
14
14
|
import {
|
|
15
15
|
getPackageVersion
|
|
16
16
|
} from "./chunk-DINDL2CF.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defersToNativeMode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A4R6BZCK.js";
|
|
4
4
|
import {
|
|
5
5
|
isGatingMoment,
|
|
6
6
|
recordKeylessMoment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EUAQ4YAN.js";
|
|
8
8
|
import {
|
|
9
9
|
denyReasonFrom,
|
|
10
10
|
isDeferAnswer
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
reportEvent,
|
|
20
20
|
settleQuestionsForToolUse,
|
|
21
21
|
throttlePass
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DNVDKHQD.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_SESSION,
|
|
25
25
|
askUser,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
describeToolCall,
|
|
38
38
|
permissionDeniedAction,
|
|
39
39
|
scopePathFor
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CKOLDI47.js";
|
|
41
41
|
import {
|
|
42
42
|
PRETOOLUSE_HANDLED_TOOLS,
|
|
43
43
|
PRETOOLUSE_PHONE_ANSWERED_TOOLS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-V27AHID3.js";
|
|
45
45
|
import {
|
|
46
46
|
getMachineId
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IAEXPTXA.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
parseAgentQuestions,
|
|
62
62
|
resolveGate,
|
|
63
63
|
stoppedOutput
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-6FAHPGCZ.js";
|
|
65
65
|
|
|
66
66
|
// src/decision-episode.ts
|
|
67
67
|
var EPISODE_PATH = "/api/agent/decision-episode";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./chunk-YKLCWWEI.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WM5XMCID.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureDaemonRunning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RVSEGFPD.js";
|
|
13
13
|
import {
|
|
14
14
|
buildTranscriptRecords,
|
|
15
15
|
decodePublicKey,
|
|
16
16
|
generateSessionKey,
|
|
17
17
|
wrapSessionKey
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IPHOUBTU.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchTranscriptRecipients,
|
|
21
21
|
uploadTranscriptRecords
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
transcriptEnvironmentPreference,
|
|
25
25
|
transcriptsEnabled
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QF4RI5CD.js";
|
|
27
27
|
import {
|
|
28
28
|
codexHome,
|
|
29
29
|
pusharyDir
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WB2C7VPF.js";
|
|
31
31
|
import {
|
|
32
32
|
readTranscriptPreference
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GUVCYYDK.js";
|
|
34
34
|
import {
|
|
35
35
|
writeJsonAtomic
|
|
36
36
|
} from "./chunk-4LL6LG5X.js";
|
|
@@ -1,137 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AGENT_CHOICES
|
|
3
|
+
} from "./chunk-3ZUTNTZA.js";
|
|
1
4
|
import {
|
|
2
5
|
isBridgeLocator
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2XUPP4WM.js";
|
|
4
7
|
import {
|
|
5
8
|
pusharyHookExecutable
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CH6DTGQR.js";
|
|
7
10
|
import {
|
|
8
11
|
BELL_HOOK_BINARY
|
|
9
12
|
} from "./chunk-DSTLA2TC.js";
|
|
10
|
-
import {
|
|
11
|
-
parseFlags
|
|
12
|
-
} from "./chunk-GMXKITVA.js";
|
|
13
|
-
import {
|
|
14
|
-
UsageError
|
|
15
|
-
} from "./chunk-7QLSKOSU.js";
|
|
16
|
-
import {
|
|
17
|
-
isValidApiKey
|
|
18
|
-
} from "./chunk-VOWZ5VOO.js";
|
|
19
|
-
|
|
20
|
-
// src/setup/options.ts
|
|
21
|
-
var AGENT_CHOICES = ["claude_code", "codex", "gemini_cli", "hermes", "cursor", "vscode", "opencode", "custom"];
|
|
22
|
-
var CONNECT_MODES = ["app", "browser", "web", "none"];
|
|
23
|
-
var CONNECT_ALIASES = { auto: "app", pwa: "web" };
|
|
24
|
-
var parseConnectMode = (raw) => {
|
|
25
|
-
const value = raw.trim().toLowerCase();
|
|
26
|
-
if (Object.hasOwn(CONNECT_ALIASES, value)) return CONNECT_ALIASES[value];
|
|
27
|
-
if (CONNECT_MODES.includes(value)) return value;
|
|
28
|
-
throw new UsageError(`--connect must be one of: ${CONNECT_MODES.join(", ")} (got ${raw})`);
|
|
29
|
-
};
|
|
30
|
-
var VERIFY_MODES = ["roundtrip", "push", "none"];
|
|
31
|
-
var parseVerifyMode = (raw) => {
|
|
32
|
-
const value = raw.trim().toLowerCase();
|
|
33
|
-
if (VERIFY_MODES.includes(value)) return value;
|
|
34
|
-
throw new UsageError(`--verify must be one of: ${VERIFY_MODES.join(", ")} (got ${raw})`);
|
|
35
|
-
};
|
|
36
|
-
var CONTROL_MODES = ["auto", "on", "off"];
|
|
37
|
-
var parseControlMode = (raw) => {
|
|
38
|
-
const value = raw.trim().toLowerCase();
|
|
39
|
-
if (CONTROL_MODES.includes(value)) return value;
|
|
40
|
-
throw new UsageError(`--control must be one of: ${CONTROL_MODES.join(", ")} (got ${raw})`);
|
|
41
|
-
};
|
|
42
|
-
var effectiveVerify = (options, context) => {
|
|
43
|
-
if (options.verifyExplicit) return options.verify;
|
|
44
|
-
if (options.verify === "roundtrip") return "roundtrip";
|
|
45
|
-
return context.paired ? "roundtrip" : options.verify;
|
|
46
|
-
};
|
|
47
|
-
var SETUP_FLAGS = {
|
|
48
|
-
bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "help", "h"],
|
|
49
|
-
values: ["key", "connect", "agents", "verify", "control", "transcripts"]
|
|
50
|
-
};
|
|
51
|
-
var effectiveControlMode = (options, stored, configPresent) => options.controlExplicit ? options.control : stored ?? (configPresent ? null : options.control);
|
|
52
|
-
var isAgentChoice = (value) => AGENT_CHOICES.includes(value);
|
|
53
|
-
var parseAgentSelection = (raw, yes) => {
|
|
54
|
-
if (raw === void 0) {
|
|
55
|
-
return yes ? { kind: "auto" } : { kind: "ask" };
|
|
56
|
-
}
|
|
57
|
-
const value = raw.trim().toLowerCase();
|
|
58
|
-
if (value === "auto") return { kind: "auto" };
|
|
59
|
-
if (value === "none") return { kind: "none" };
|
|
60
|
-
const parts = value.split(",").map((part) => part.trim()).filter((part) => part !== "");
|
|
61
|
-
if (parts.length === 0) throw new UsageError("--agents needs a value");
|
|
62
|
-
const unknown = parts.filter((part) => !isAgentChoice(part));
|
|
63
|
-
if (unknown.length > 0) {
|
|
64
|
-
throw new UsageError(
|
|
65
|
-
`--agents does not know: ${unknown.join(", ")}. Use auto, none, or any of: ${AGENT_CHOICES.join(", ")}`
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
return { kind: "explicit", agents: [...new Set(parts)] };
|
|
69
|
-
};
|
|
70
|
-
var parseSetupOptions = (input) => {
|
|
71
|
-
const flags = parseFlags(input.argv, SETUP_FLAGS);
|
|
72
|
-
const stray = [
|
|
73
|
-
...flags.command !== void 0 && flags.command !== "setup" ? [flags.command] : [],
|
|
74
|
-
...flags.rest
|
|
75
|
-
];
|
|
76
|
-
if (stray.length > 0) {
|
|
77
|
-
throw new UsageError(
|
|
78
|
-
`setup takes no positional arguments (got ${stray.join(", ")}). Did you mean --agents ${stray[0]}?`
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
const yes = flags.bools.has("yes") || flags.bools.has("y");
|
|
82
|
-
const help = flags.bools.has("help") || flags.bools.has("h");
|
|
83
|
-
const agentsFlag = flags.values.get("agents");
|
|
84
|
-
const agents = parseAgentSelection(agentsFlag, yes);
|
|
85
|
-
const connectRaw = flags.values.get("connect");
|
|
86
|
-
const connectMode = connectRaw === void 0 ? "app" : parseConnectMode(connectRaw);
|
|
87
|
-
const verifyRaw = flags.values.get("verify");
|
|
88
|
-
const controlRaw = flags.values.get("control");
|
|
89
|
-
const transcriptsRaw = flags.values.get("transcripts")?.trim().toLowerCase();
|
|
90
|
-
if (transcriptsRaw !== void 0 && transcriptsRaw !== "on" && transcriptsRaw !== "off") {
|
|
91
|
-
throw new UsageError(`--transcripts must be one of: on, off (got ${transcriptsRaw})`);
|
|
92
|
-
}
|
|
93
|
-
const nonInteractive = yes || agentsFlag !== void 0 || flags.bools.has("json") || !input.stdinIsTty;
|
|
94
|
-
const verify = verifyRaw !== void 0 ? parseVerifyMode(verifyRaw) : nonInteractive ? "push" : "roundtrip";
|
|
95
|
-
const key = flags.values.get("key")?.trim() || null;
|
|
96
|
-
const keyStdin = flags.bools.has("key-stdin");
|
|
97
|
-
if (key && keyStdin) {
|
|
98
|
-
throw new UsageError("Pass either --key or --key-stdin, not both");
|
|
99
|
-
}
|
|
100
|
-
if (key && !isValidApiKey(key)) {
|
|
101
|
-
throw new UsageError("--key is not a valid API key. Expected the pk_xxx.xxx shape from pushary.com/dashboard/agent/settings");
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
connectMode,
|
|
105
|
-
connectExplicit: connectRaw !== void 0,
|
|
106
|
-
// `--connect none` and `--skip-phone` are the same instruction, so they
|
|
107
|
-
// resolve to the same field rather than being checked separately at the two
|
|
108
|
-
// call sites that would inevitably drift apart.
|
|
109
|
-
skipPhone: flags.bools.has("skip-phone") || connectMode === "none",
|
|
110
|
-
// Anything that means "there is nobody to answer a prompt". A non-TTY stdin
|
|
111
|
-
// is included because that is the case that used to hang: it is better to
|
|
112
|
-
// take the defaults and say so than to wait forever for a keypress.
|
|
113
|
-
//
|
|
114
|
-
// --json counts. Under it stdout carries exactly one object and every human
|
|
115
|
-
// line is redirected to stderr, so a prompt has nowhere to render: the
|
|
116
|
-
// question goes to stderr while the run blocks on a keypress the caller
|
|
117
|
-
// cannot see it is waiting for, and whatever is reading stdout waits forever
|
|
118
|
-
// for an object that never arrives. Asking for machine-readable output is
|
|
119
|
-
// itself a statement that no human is watching.
|
|
120
|
-
nonInteractive,
|
|
121
|
-
json: flags.bools.has("json"),
|
|
122
|
-
dryRun: flags.bools.has("dry-run"),
|
|
123
|
-
help,
|
|
124
|
-
agents,
|
|
125
|
-
key,
|
|
126
|
-
keyStdin,
|
|
127
|
-
verify,
|
|
128
|
-
verifyExplicit: verifyRaw !== void 0,
|
|
129
|
-
control: controlRaw === void 0 ? "auto" : parseControlMode(controlRaw),
|
|
130
|
-
controlExplicit: controlRaw !== void 0,
|
|
131
|
-
transcripts: transcriptsRaw === void 0 ? null : transcriptsRaw === "on",
|
|
132
|
-
takeOverHooks: flags.bools.has("take-over-hooks")
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
13
|
|
|
136
14
|
// src/setup/hook-ownership.ts
|
|
137
15
|
var commandsIn = (value) => {
|
|
@@ -248,10 +126,6 @@ var describeHookOwnership = (entries, names) => {
|
|
|
248
126
|
};
|
|
249
127
|
|
|
250
128
|
export {
|
|
251
|
-
AGENT_CHOICES,
|
|
252
|
-
effectiveVerify,
|
|
253
|
-
effectiveControlMode,
|
|
254
|
-
parseSetupOptions,
|
|
255
129
|
mcpBearerKey,
|
|
256
130
|
captureMcpServer,
|
|
257
131
|
restoreMcpServer,
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// src/cli/commands.ts
|
|
2
2
|
var COMMAND_LIST = [
|
|
3
|
+
{
|
|
4
|
+
name: "cowork",
|
|
5
|
+
module: "pushary-cowork",
|
|
6
|
+
summary: "Set up Claude Desktop and Cowork with the Pushary connector"
|
|
7
|
+
},
|
|
3
8
|
{
|
|
4
9
|
name: "setup",
|
|
5
10
|
module: "pushary-setup",
|
|
@@ -85,6 +90,12 @@ var COMMANDS = COMMAND_LIST;
|
|
|
85
90
|
var findCommand = (name) => COMMANDS.find((command) => command.name === name);
|
|
86
91
|
var isCommandName = (name) => COMMANDS.some((command) => command.name === name);
|
|
87
92
|
var COMMAND_OPTIONS = {
|
|
93
|
+
cowork: [
|
|
94
|
+
["--open", "Also open the setup guide in your browser"],
|
|
95
|
+
["--instructions", "Print standing instructions to paste into Cowork"],
|
|
96
|
+
["--skill", "Print the packaged Cowork SKILL.md for upload"],
|
|
97
|
+
["--json", "Print setup steps and capabilities as JSON; does not claim connection is verified"]
|
|
98
|
+
],
|
|
88
99
|
clean: [
|
|
89
100
|
["--dry-run", "List everything it would remove and change nothing"],
|
|
90
101
|
["--yes", "Remove everything without asking"]
|
|
@@ -138,6 +149,7 @@ var COMMAND_OPTIONS = {
|
|
|
138
149
|
]
|
|
139
150
|
};
|
|
140
151
|
var SETUP_OPTIONS = [
|
|
152
|
+
["--agents cowork", "Show Claude Desktop/Cowork connector setup without installing CLI hooks"],
|
|
141
153
|
["--key <pk_xxx.xxx>", "Use this API key instead of prompting. Visible in the process list; prefer --key-stdin in CI."],
|
|
142
154
|
["--key-stdin", "Read the API key from the first line of stdin, so it never appears in argv or shell history"],
|
|
143
155
|
["--agents <list>", 'Comma-separated agent ids, or "auto" for everything detected, or "none" to save the key only'],
|
package/dist/src/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlePreToolUse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-UOTSWS5N.js";
|
|
4
|
+
import "../chunk-A4R6BZCK.js";
|
|
5
|
+
import "../chunk-EUAQ4YAN.js";
|
|
6
6
|
import "../chunk-YHG74UFF.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAccountPublicKey
|
|
@@ -15,21 +15,21 @@ import {
|
|
|
15
15
|
handlePostToolUse,
|
|
16
16
|
handleStop,
|
|
17
17
|
reportEvent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-DNVDKHQD.js";
|
|
19
19
|
import {
|
|
20
20
|
askUser,
|
|
21
21
|
cancelQuestion,
|
|
22
22
|
waitForAnswer
|
|
23
23
|
} from "../chunk-RER3FRTD.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-CKOLDI47.js";
|
|
25
|
+
import "../chunk-V27AHID3.js";
|
|
26
|
+
import "../chunk-IAEXPTXA.js";
|
|
27
|
+
import "../chunk-WB2C7VPF.js";
|
|
28
28
|
import "../chunk-EYRGBYZG.js";
|
|
29
29
|
import "../chunk-SAF6HGAA.js";
|
|
30
30
|
import "../chunk-7QLSKOSU.js";
|
|
31
31
|
import "../chunk-KZERVKTD.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-X7YWD6IS.js";
|
|
33
33
|
import "../chunk-4LL6LG5X.js";
|
|
34
34
|
import {
|
|
35
35
|
getApiKey,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "../chunk-2UMNXADU.js";
|
|
38
38
|
import {
|
|
39
39
|
resolvePolicy
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-6FAHPGCZ.js";
|
|
41
41
|
export {
|
|
42
42
|
askUser,
|
|
43
43
|
cancelQuestion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushary/agent-hooks",
|
|
3
|
-
"version": "0.95.
|
|
3
|
+
"version": "0.95.2",
|
|
4
4
|
"description": "Permission hooks for AI coding agents: route tool approvals through Pushary push notifications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pushary",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"pushary-gemini-bridge": "./dist/bin/pushary-gemini-bridge.js",
|
|
60
60
|
"pushary-opencode-hook": "./dist/bin/pushary-opencode-hook.js",
|
|
61
61
|
"pushary-setup": "./dist/bin/pushary-setup.js",
|
|
62
|
+
"pushary-cowork": "./dist/bin/pushary-cowork.js",
|
|
62
63
|
"pushary-clean": "./dist/bin/pushary-clean.js",
|
|
63
64
|
"pushary-status": "./dist/bin/pushary-status.js",
|
|
64
65
|
"pushary-login": "./dist/bin/pushary-login.js",
|