@pushary/agent-hooks 1.9.30 → 1.9.31
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 +11 -0
- package/data/SKILL.md +46 -12
- package/data/cursor-plugin/skills/pushary/SKILL.md +46 -12
- package/data/vscode-plugin/skills/pushary/SKILL.md +46 -12
- package/dist/bin/pushary-bell-hook.js +26 -26
- package/dist/bin/pushary-bell.js +9 -9
- package/dist/bin/pushary-claude.js +25 -25
- package/dist/bin/pushary-clean.js +29 -29
- package/dist/bin/pushary-codex-bridge.js +17 -17
- package/dist/bin/pushary-codex-hook.js +31 -31
- package/dist/bin/pushary-codex.js +12 -12
- package/dist/bin/pushary-connect.js +24 -24
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +33 -33
- package/dist/bin/pushary-disconnect.js +24 -24
- package/dist/bin/pushary-doctor.js +33 -33
- package/dist/bin/pushary-elicitation-hook.js +26 -26
- package/dist/bin/pushary-gemini-bridge.js +13 -13
- package/dist/bin/pushary-gemini-hook.js +28 -28
- package/dist/bin/pushary-hook.js +30 -30
- package/dist/bin/pushary-login.js +12 -12
- package/dist/bin/pushary-logout.js +24 -24
- package/dist/bin/pushary-mcp.js +9 -9
- package/dist/bin/pushary-mode.js +12 -12
- package/dist/bin/pushary-notification-hook.js +25 -25
- package/dist/bin/pushary-opencode-hook.js +27 -27
- package/dist/bin/pushary-permission-denied-hook.js +30 -30
- package/dist/bin/pushary-permission-hook.js +29 -29
- package/dist/bin/pushary-post-hook.js +25 -25
- package/dist/bin/pushary-prompt-hook.js +25 -25
- package/dist/bin/pushary-session-end-hook.js +25 -25
- package/dist/bin/pushary-session-start-hook.js +29 -29
- package/dist/bin/pushary-setup.js +35 -35
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +26 -26
- package/dist/bin/pushary-stop-hook.js +25 -25
- package/dist/bin/pushary-stopfailure-hook.js +25 -25
- package/dist/bin/pushary-suggestions.js +12 -12
- package/dist/bin/pushary-transcript-register.js +18 -18
- package/dist/bin/pushary-transcripts.js +8 -8
- package/dist/bin/pushary-upgrade.js +30 -30
- package/dist/bin/pushary-wait.js +12 -12
- package/dist/bin/pushary.js +6 -6
- package/dist/{chunk-SMA7LUCS.js → chunk-2ROXUEZV.js} +1 -1
- package/dist/{chunk-DP6FJABB.js → chunk-35RJKPIC.js} +1 -1
- package/dist/{chunk-PWQN4D6R.js → chunk-3EIJDBVB.js} +5 -5
- package/dist/{chunk-OQ5K6QHU.js → chunk-464FX6W5.js} +5 -5
- package/dist/{chunk-Q6HJD6SH.js → chunk-4JOWKPUF.js} +1 -1
- package/dist/{chunk-3QKX22ZA.js → chunk-4WGKAGIU.js} +3 -3
- package/dist/{chunk-XNKFK27C.js → chunk-5EX2SD5N.js} +1 -1
- package/dist/{chunk-VTTHXOCR.js → chunk-5F32ZTWD.js} +2 -2
- package/dist/{chunk-DU6UZXGV.js → chunk-5FNE6ZVV.js} +2 -2
- package/dist/{chunk-RZTWWE26.js → chunk-5GDNIEL5.js} +1 -1
- package/dist/{chunk-E2WJLU5U.js → chunk-7447DYNW.js} +1 -1
- package/dist/{chunk-SAGO6JNL.js → chunk-75UCMLT5.js} +1 -1
- package/dist/{chunk-NKDK3H3I.js → chunk-77J4RVB2.js} +4 -4
- package/dist/{chunk-AO75FKBR.js → chunk-7S4Z36H7.js} +3 -3
- package/dist/{chunk-HMA7QQ3P.js → chunk-ALSIMOFS.js} +4 -4
- package/dist/{chunk-CI2H3U7O.js → chunk-AXANUGOV.js} +2 -2
- package/dist/{chunk-3FIKV3PW.js → chunk-BMUTA66M.js} +11 -11
- package/dist/{chunk-6R22H57A.js → chunk-CJCVPCOB.js} +2 -2
- package/dist/{chunk-CS5JKDWW.js → chunk-D3TVRNZC.js} +2 -2
- package/dist/{chunk-3HTCA4SQ.js → chunk-DP2FAIW6.js} +1 -1
- package/dist/{chunk-VTR4VRL2.js → chunk-DWQYCOPI.js} +2 -4
- package/dist/{chunk-IMUCTAM2.js → chunk-EPVY3JU3.js} +1 -1
- package/dist/{chunk-7JO33ODX.js → chunk-FEICGRNI.js} +3 -3
- package/dist/{chunk-OARF7TWF.js → chunk-FGFFUCEL.js} +6 -6
- package/dist/{chunk-GFY6XONT.js → chunk-FXJ5SEQT.js} +5 -5
- package/dist/{chunk-XZRRYMY2.js → chunk-GROYT52D.js} +4 -4
- package/dist/{chunk-JHVSVVHB.js → chunk-GSBOLJZ4.js} +177 -56
- package/dist/{chunk-2VQULZ4L.js → chunk-H2PQXK26.js} +2 -2
- package/dist/{chunk-S6J3A4DF.js → chunk-IDGESFKZ.js} +1 -1
- package/dist/{chunk-GSMB7FWI.js → chunk-IIP4LEO3.js} +7 -7
- package/dist/{chunk-LD3A63IE.js → chunk-IKJJB4QG.js} +3 -3
- package/dist/{chunk-KRZECDHA.js → chunk-KBRKQMCI.js} +2 -2
- package/dist/{chunk-J3HI2SRD.js → chunk-MG523AVN.js} +1 -1
- package/dist/{chunk-434NFCK2.js → chunk-MRR4NQ3H.js} +1 -1
- package/dist/{chunk-V2FRBKMP.js → chunk-N4LLBUU2.js} +2 -2
- package/dist/{chunk-6DJBVMTR.js → chunk-NTWTU6FA.js} +1 -1
- package/dist/{chunk-2OIGS4P2.js → chunk-OS6AE2MR.js} +3 -3
- package/dist/{chunk-MTPE6BW7.js → chunk-OSUAY4SA.js} +1 -1
- package/dist/{chunk-SM4P6VIY.js → chunk-OTDRNEED.js} +1 -1
- package/dist/{chunk-EDEEITT3.js → chunk-OULHOX5C.js} +5 -5
- package/dist/{chunk-PGFLQXW5.js → chunk-Q2GSTQ3R.js} +2 -2
- package/dist/{chunk-SMAY3CGD.js → chunk-Q7H2IMJQ.js} +2 -2
- package/dist/{chunk-ZLKJHXSC.js → chunk-QCOE42GO.js} +4 -4
- package/dist/{chunk-H7HRHS3M.js → chunk-QGCEQGH6.js} +4 -4
- package/dist/{chunk-KHYUAZPL.js → chunk-RN3KZDWP.js} +2 -2
- package/dist/{chunk-KT4SP73I.js → chunk-SAHD5DYW.js} +4 -4
- package/dist/{chunk-4GIGQIRN.js → chunk-SJJA2GPD.js} +2 -2
- package/dist/{chunk-T4KXYKDL.js → chunk-SQIZGUAN.js} +5 -5
- package/dist/{chunk-2QEW5FJK.js → chunk-SRRJLA24.js} +4 -4
- package/dist/{chunk-XKSAXKRY.js → chunk-SYUHM6V3.js} +3 -3
- package/dist/{chunk-JBVKA3UR.js → chunk-TDLEFGAM.js} +707 -101
- package/dist/{chunk-QYD5TN2J.js → chunk-VFNYTVTJ.js} +5 -5
- package/dist/{chunk-XLNSQLTV.js → chunk-X427XA76.js} +8 -8
- package/dist/{chunk-YZPCDR32.js → chunk-X5HK4XUN.js} +4 -4
- package/dist/{chunk-MYTWZ33A.js → chunk-ZYDSHR5P.js} +3 -3
- package/dist/{global-upgrade-JDZPAQ6B.js → global-upgrade-YMBTZHDP.js} +6 -6
- package/dist/{paths-4QBYMQHK.js → paths-BPFRUWMB.js} +2 -2
- package/dist/{reapply-26GMHUWI.js → reapply-ZC2LSUVZ.js} +20 -20
- package/dist/src/index.js +19 -19
- package/dist/{upgrade-lock-DIRCINDI.js → upgrade-lock-TTZMLZPB.js} +3 -3
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SAHD5DYW.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands,
|
|
7
7
|
liveBridgeProbe,
|
|
8
8
|
resolveBridgeStub
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FXJ5SEQT.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_CHOICES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-35RJKPIC.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeSettings,
|
|
15
15
|
codexHooksJson,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
guardedArgv,
|
|
19
19
|
pusharyDir,
|
|
20
20
|
vscodePluginDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SRRJLA24.js";
|
|
22
22
|
import {
|
|
23
23
|
readJsonSafe
|
|
24
24
|
} from "./chunk-AQFEP65J.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
OPENCODE_APPROVAL_EVENT,
|
|
30
30
|
hookCompatibleProfile,
|
|
31
31
|
isRecord
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TDLEFGAM.js";
|
|
33
33
|
|
|
34
34
|
// src/opencode-plugin.ts
|
|
35
35
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
codexHooksJsonIn,
|
|
9
9
|
isPusharyCodexCommand,
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SRRJLA24.js";
|
|
12
12
|
import {
|
|
13
13
|
getPackageVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TDLEFGAM.js";
|
|
15
15
|
|
|
16
16
|
// src/codex-app-server.ts
|
|
17
17
|
import { existsSync, realpathSync } from "fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SAHD5DYW.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FXJ5SEQT.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SRRJLA24.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TDLEFGAM.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OULHOX5C.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IKJJB4QG.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SRRJLA24.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-AQFEP65J.js";
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TDLEFGAM.js";
|
|
16
16
|
|
|
17
17
|
// src/shared-mcp-key.ts
|
|
18
18
|
var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SRRJLA24.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TDLEFGAM.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
addGeminiMcpServer,
|
|
4
4
|
removeGeminiMcpServer,
|
|
5
5
|
supportedClaudeEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OS6AE2MR.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_CODE_AGENT,
|
|
9
9
|
parseApplyPatchFiles
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X427XA76.js";
|
|
11
11
|
import {
|
|
12
12
|
guardBinary,
|
|
13
13
|
guardBinaryRefusing,
|
|
14
14
|
holdBudgetOf,
|
|
15
15
|
isProtectedByScope,
|
|
16
16
|
registerHookEntry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SRRJLA24.js";
|
|
18
18
|
import {
|
|
19
19
|
HOOK_LOCATOR_BINARY,
|
|
20
20
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
refusalOutput,
|
|
25
25
|
toToolLookup,
|
|
26
26
|
withHookHoldBudget
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TDLEFGAM.js";
|
|
28
28
|
|
|
29
29
|
// src/claude-config.ts
|
|
30
30
|
import { join } from "path";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SRRJLA24.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
globalUpgradeEntry,
|
|
16
16
|
isAutoUpdateResult,
|
|
17
17
|
ownPackageRoot
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TDLEFGAM.js";
|
|
19
19
|
|
|
20
20
|
// src/auto-update.ts
|
|
21
21
|
import { spawn } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_SETTINGS_PATH
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-77J4RVB2.js";
|
|
4
4
|
import {
|
|
5
5
|
readMacAppAgentKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QGCEQGH6.js";
|
|
7
7
|
import {
|
|
8
8
|
findExportedKeyLines,
|
|
9
9
|
isAdoptedMacAppKey,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
readConfigFileKey,
|
|
14
14
|
readKeySource,
|
|
15
15
|
readMacAppKeyPrefix
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IKJJB4QG.js";
|
|
17
17
|
import {
|
|
18
18
|
absoluteUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SYUHM6V3.js";
|
|
20
20
|
import {
|
|
21
21
|
isValidApiKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TDLEFGAM.js";
|
|
23
23
|
|
|
24
24
|
// src/key-revocation.ts
|
|
25
25
|
var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isReleaseVersion,
|
|
14
14
|
ownPackageName,
|
|
15
15
|
withHookHoldBudget
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TDLEFGAM.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/paths.ts
|
|
19
19
|
import { homedir as homedir2 } from "os";
|
|
@@ -395,9 +395,9 @@ var installGlobally = (options) => {
|
|
|
395
395
|
}
|
|
396
396
|
const started = (async () => {
|
|
397
397
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
398
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
399
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
400
|
-
const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-
|
|
398
|
+
const { withUpgradeLock } = await import("./global-upgrade-YMBTZHDP.js");
|
|
399
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-TTZMLZPB.js");
|
|
400
|
+
const { autoUpdateLock: autoUpdateLock2 } = await import("./paths-BPFRUWMB.js");
|
|
401
401
|
let result = "skipped";
|
|
402
402
|
const install = async () => {
|
|
403
403
|
const platform = process.platform;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4WGKAGIU.js";
|
|
4
4
|
import {
|
|
5
5
|
NetworkError
|
|
6
6
|
} from "./chunk-7QLSKOSU.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-KZERVKTD.js";
|
|
10
10
|
import {
|
|
11
11
|
getBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5EX2SD5N.js";
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TDLEFGAM.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|