pushary 1.9.128 → 1.9.129
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 +4 -0
- package/dist/{api-JRRKVMXE.js → api-WTQOMRGG.js} +12 -12
- package/dist/bin/pushary-audit.js +4 -4
- package/dist/bin/pushary-bell-hook.js +30 -30
- package/dist/bin/pushary-bell.js +11 -11
- package/dist/bin/pushary-claude.js +35 -35
- package/dist/bin/pushary-clean.js +37 -37
- package/dist/bin/pushary-codex-bridge.js +24 -24
- package/dist/bin/pushary-codex-hook.js +37 -37
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +29 -29
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +52 -52
- package/dist/bin/pushary-disconnect.js +28 -28
- package/dist/bin/pushary-display-hook.js +7865 -35
- package/dist/bin/pushary-doctor.js +48 -48
- package/dist/bin/pushary-elicitation-hook.js +30 -30
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +34 -34
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +27 -27
- package/dist/bin/pushary-mcp.js +13 -13
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +29 -29
- package/dist/bin/pushary-opencode-hook.js +33 -33
- 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 +29 -29
- package/dist/bin/pushary-prompt-hook.js +29 -29
- package/dist/bin/pushary-session-end-hook.js +31 -31
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-setup.js +59 -59
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +35 -35
- package/dist/bin/pushary-stop-hook.js +29 -29
- package/dist/bin/pushary-stopfailure-hook.js +29 -29
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +21 -21
- package/dist/bin/pushary-transcripts.js +29 -29
- package/dist/bin/pushary-upgrade.js +43 -43
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +8 -8
- package/dist/{chunk-LG3B5BDP.js → chunk-2KVK6YQR.js} +9 -9
- package/dist/{chunk-X2PN3XNW.js → chunk-2MBD6JHB.js} +1 -1
- package/dist/{chunk-E66FG2DC.js → chunk-36I6HFLZ.js} +5 -5
- package/dist/{chunk-44ONTVVI.js → chunk-3EXJMRSC.js} +1 -1
- package/dist/{chunk-ALRDG7SI.js → chunk-3SREEE2O.js} +7 -7
- package/dist/{chunk-E5LU5MJ2.js → chunk-44ZTLOVE.js} +1 -1
- package/dist/{chunk-WS37PSC5.js → chunk-4U55UQ7X.js} +4 -4
- package/dist/{chunk-OKCK7DNN.js → chunk-6F6WN6C2.js} +5 -5
- package/dist/{chunk-SZV5SLSD.js → chunk-6X2O5QI7.js} +4 -4
- package/dist/{chunk-KEJFRU2Q.js → chunk-7H2RWOO2.js} +7 -7
- package/dist/{chunk-UV2JM3PZ.js → chunk-A5L3WBHV.js} +1 -1
- package/dist/{chunk-H6MBABPQ.js → chunk-AHEC2K7V.js} +9 -9
- package/dist/{chunk-K256TL7E.js → chunk-AHHPHJOE.js} +5 -5
- package/dist/{chunk-VIUANC2F.js → chunk-AN6I3TX7.js} +3 -3
- package/dist/{chunk-TQBYF3W6.js → chunk-BNJ4H57M.js} +2 -2
- package/dist/{chunk-YZHVM5LY.js → chunk-BWYZ3YZM.js} +2 -2
- package/dist/{chunk-2XTK53YK.js → chunk-C74UXIKG.js} +5 -5
- package/dist/{chunk-VKIQR33O.js → chunk-CCZML6KO.js} +3 -3
- package/dist/{chunk-2M7FELUY.js → chunk-CFZRNQIQ.js} +1 -1
- package/dist/{chunk-ROVLRXBI.js → chunk-CYTPQDQY.js} +1 -1
- package/dist/{chunk-VQJT6X3B.js → chunk-D3YLMDPE.js} +6 -6
- package/dist/{chunk-NLEHRQHL.js → chunk-E4LKBXGP.js} +2 -2
- package/dist/{chunk-BZUQXL43.js → chunk-EFTS75PF.js} +3 -3
- package/dist/{chunk-IYM3CXWZ.js → chunk-EJEYQOKX.js} +6 -6
- package/dist/{chunk-27GQFR5J.js → chunk-FN3AKOE6.js} +8 -8
- package/dist/{chunk-XOYZK3XP.js → chunk-FUDV2SJ6.js} +4 -4
- package/dist/{chunk-XSG42MMY.js → chunk-G4JW4QPR.js} +1 -1
- package/dist/{chunk-VUNQZNKR.js → chunk-G6IAWKZ3.js} +3 -3
- package/dist/{chunk-HXBQTPKC.js → chunk-GVSIVBVT.js} +1 -1
- package/dist/{chunk-NKV5AALF.js → chunk-H6CL3T2S.js} +1 -1
- package/dist/{chunk-Z7RGHFAW.js → chunk-HN63QQWB.js} +4 -4
- package/dist/{chunk-4CSFH736.js → chunk-IAAP4OCC.js} +4 -4
- package/dist/{chunk-WVFKRWPE.js → chunk-IGCXQDYL.js} +12 -76
- package/dist/{chunk-XRJU7CZ2.js → chunk-J74XLYS2.js} +3 -3
- package/dist/{chunk-FNLUSPM7.js → chunk-JK3IYOOR.js} +4 -4
- package/dist/{chunk-AH4NLZTT.js → chunk-JWDGPKKL.js} +1 -1
- package/dist/{chunk-2FIS7KDD.js → chunk-KWFZUAET.js} +4 -4
- package/dist/{chunk-RK5VSHBW.js → chunk-MUCBJ2KT.js} +3 -3
- package/dist/{chunk-HHI3MSJJ.js → chunk-NQSQC5OC.js} +5 -5
- package/dist/{chunk-LIIIC27B.js → chunk-NXUZBYBA.js} +1 -1
- package/dist/{chunk-LS3CQ536.js → chunk-O3HKUUXP.js} +1 -1
- package/dist/{chunk-NCHNITQW.js → chunk-ODZBKNIA.js} +2 -2
- package/dist/{chunk-T2WDQ3NT.js → chunk-OH67UPRF.js} +3 -3
- package/dist/{chunk-J35EMNLD.js → chunk-OOCIVAMY.js} +3 -3
- package/dist/{chunk-P3VVRBBI.js → chunk-OUN5T5VX.js} +1 -1
- package/dist/{chunk-VRUVMUHN.js → chunk-OUTWFS6J.js} +2 -2
- package/dist/{chunk-O55LZDLD.js → chunk-PBK24IVU.js} +3 -3
- package/dist/{chunk-4B3KU7O4.js → chunk-PG3BXBVY.js} +16 -16
- package/dist/{chunk-HVJIITL4.js → chunk-PKZJZWYN.js} +8 -8
- package/dist/{chunk-Z7FUHJKU.js → chunk-Q7YNYPRY.js} +1 -1
- package/dist/{chunk-A5GLAQNK.js → chunk-QFS7JNUD.js} +5 -5
- package/dist/{chunk-BVI2N7QA.js → chunk-QLIH4BJ6.js} +1 -1
- package/dist/{chunk-ABMXITA2.js → chunk-QZJ4NGSQ.js} +3 -3
- package/dist/{chunk-2QWQCU7L.js → chunk-R4JOCIQM.js} +1 -1
- package/dist/{chunk-5QFC3NCU.js → chunk-R5TGBKKZ.js} +4 -4
- package/dist/{chunk-5MITA7MU.js → chunk-R5ZFWL4F.js} +3 -3
- package/dist/{chunk-FXLWWEVQ.js → chunk-RS4BEWEZ.js} +1 -1
- package/dist/{chunk-XNKE67NJ.js → chunk-S45FPA72.js} +3 -3
- package/dist/{chunk-LBROBXUC.js → chunk-S6G4C5LS.js} +5 -5
- package/dist/{chunk-WJ4W33WN.js → chunk-SISRFK3I.js} +3 -3
- package/dist/{chunk-LHDKVRIP.js → chunk-TEIL5BHZ.js} +4 -4
- package/dist/{chunk-X4MUM7JK.js → chunk-TFHTZ6GE.js} +6 -6
- package/dist/{chunk-JDGLNYDZ.js → chunk-TGYM6UQJ.js} +2 -2
- package/dist/{chunk-T5I4PKOQ.js → chunk-TODDEIYG.js} +13 -9
- package/dist/{chunk-7EYXAM63.js → chunk-TSZDE5NK.js} +1 -1
- package/dist/{chunk-FMUNFP4O.js → chunk-UDH2BDU2.js} +3 -3
- package/dist/{chunk-7OSBFMRV.js → chunk-UZCD6OFJ.js} +1 -1
- package/dist/{chunk-5S32WI3B.js → chunk-V4OLQBSN.js} +1 -1
- package/dist/{chunk-DPXOELLZ.js → chunk-VHSN7GCK.js} +3 -3
- package/dist/{chunk-PWTW7E5H.js → chunk-VOFCKEIR.js} +4 -4
- package/dist/{chunk-IRZNQAQO.js → chunk-VSNVDY55.js} +6 -6
- package/dist/{chunk-E27MPYOC.js → chunk-VTT7U6TJ.js} +3 -3
- package/dist/{chunk-ZLWWDEQB.js → chunk-W5QKCZ7X.js} +12 -12
- package/dist/{chunk-LCFSGKQW.js → chunk-WLRSM634.js} +3 -3
- package/dist/{chunk-ODUAW2CX.js → chunk-WPER6NNY.js} +6 -6
- package/dist/{chunk-GFCAZD2W.js → chunk-XXCJY3KQ.js} +12 -12
- package/dist/{chunk-PWC4IK4J.js → chunk-Y57QT5SH.js} +3 -3
- package/dist/{codex-app-cards-switch-SC3YKXBG.js → codex-app-cards-switch-KMLJJA3K.js} +13 -13
- package/dist/{codex-card-routing-JTZ2PC24.js → codex-card-routing-QZCKG6N5.js} +2 -2
- package/dist/{codex-desktop-launch-2ODSLA7V.js → codex-desktop-launch-BYR7AZRC.js} +1 -1
- package/dist/{codex-session-launch-AD3AVJC4.js → codex-session-launch-B33B65NA.js} +21 -21
- package/dist/{config-43UOHCK6.js → config-X4S5PT22.js} +3 -3
- package/dist/{global-upgrade-LBL5RJV5.js → global-upgrade-KHN4VJ72.js} +11 -11
- package/dist/{identity-RCT5QKWZ.js → identity-ANBW7VRX.js} +5 -5
- package/dist/{live-capabilities-WZHU2A5C.js → live-capabilities-7O6JXLIM.js} +6 -6
- package/dist/{paths-JK4EFG5J.js → paths-PKHSS7QT.js} +4 -4
- package/dist/reapply-2F24DBKV.js +66 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-MU5RYC57.js → upgrade-lock-DVHGL55R.js} +5 -5
- package/dist/{usage-UO3T2VK7.js → usage-FIAOA3QU.js} +3 -3
- package/package.json +1 -1
- package/dist/bin/pushary-display-hook.d.ts +0 -1
- package/dist/reapply-4V5AZJFZ.js +0 -66
- /package/dist/{chunk-HI5YJFKW.js → chunk-JP3S4FPO.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WLRSM634.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TODDEIYG.js";
|
|
8
8
|
import {
|
|
9
9
|
DECLINED_AGENTS_FILE,
|
|
10
10
|
DISCONNECT_AGENT_IDS,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JP3S4FPO.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IAAP4OCC.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FN3AKOE6.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BNJ4H57M.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6X2O5QI7.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CFZRNQIQ.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-WIIMW5YO.js";
|
|
@@ -399,9 +399,9 @@ var installGlobally = (options) => {
|
|
|
399
399
|
}
|
|
400
400
|
const started = (async () => {
|
|
401
401
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
402
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
403
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
404
|
-
const { autoUpdateLock } = await import("./paths-
|
|
402
|
+
const { withUpgradeLock } = await import("./global-upgrade-KHN4VJ72.js");
|
|
403
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-DVHGL55R.js");
|
|
404
|
+
const { autoUpdateLock } = await import("./paths-PKHSS7QT.js");
|
|
405
405
|
let result = "skipped";
|
|
406
406
|
const install = async () => {
|
|
407
407
|
const platform = process.platform;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7H2RWOO2.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VOFCKEIR.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WLRSM634.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JP3S4FPO.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7H2RWOO2.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VOFCKEIR.js";
|
|
8
8
|
import {
|
|
9
9
|
AGENT_CHOICES
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O3HKUUXP.js";
|
|
11
11
|
import {
|
|
12
12
|
bridgeStub,
|
|
13
13
|
claudeSettings,
|
|
@@ -19,17 +19,17 @@ import {
|
|
|
19
19
|
resolveBridgeStub,
|
|
20
20
|
vscodePluginDir,
|
|
21
21
|
windowsNodeLauncherFor
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WLRSM634.js";
|
|
23
23
|
import {
|
|
24
24
|
readJsonSafe
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TODDEIYG.js";
|
|
26
26
|
import {
|
|
27
27
|
HOOK_BUDGETS,
|
|
28
28
|
HOOK_COMPATIBLE_PROFILES,
|
|
29
29
|
OPENCODE_APPROVAL_EVENT,
|
|
30
30
|
hookCompatibleProfile,
|
|
31
31
|
isRecord
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JP3S4FPO.js";
|
|
33
33
|
|
|
34
34
|
// src/opencode-plugin.ts
|
|
35
35
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -73,19 +73,21 @@ var backupFile = (filePath) => {
|
|
|
73
73
|
copyFileSync(filePath, target);
|
|
74
74
|
return target;
|
|
75
75
|
};
|
|
76
|
-
var
|
|
76
|
+
var replaceThroughTempFile = (filePath, contents, mode, encoding, fsyncBeforeRename) => {
|
|
77
77
|
const target = lstatSync(filePath, { throwIfNoEntry: false })?.isSymbolicLink() ? realpathSync(filePath) : filePath;
|
|
78
78
|
const dir = dirname(target);
|
|
79
79
|
if (!existsSync(dir)) mkdirSync(dir, { recursive: true });
|
|
80
80
|
const temp = join(dir, `.${process.pid}-${stamp()}.pushary-tmp`);
|
|
81
81
|
try {
|
|
82
82
|
writeFileSync(temp, contents, mode === void 0 ? encoding : { encoding, mode });
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
if (mode !== void 0 || fsyncBeforeRename) {
|
|
84
|
+
const handle = openSync(temp, "r+");
|
|
85
|
+
try {
|
|
86
|
+
if (mode !== void 0) fchmodSync(handle, mode);
|
|
87
|
+
if (fsyncBeforeRename) fsyncSync(handle);
|
|
88
|
+
} finally {
|
|
89
|
+
closeSync(handle);
|
|
90
|
+
}
|
|
89
91
|
}
|
|
90
92
|
renameSync(temp, target);
|
|
91
93
|
} catch (err) {
|
|
@@ -96,8 +98,10 @@ var writeFileAtomic = (filePath, contents, mode, encoding = "utf-8") => {
|
|
|
96
98
|
throw err;
|
|
97
99
|
}
|
|
98
100
|
};
|
|
99
|
-
var
|
|
100
|
-
|
|
101
|
+
var writeFileAtomic = (filePath, contents, mode, encoding = "utf-8") => replaceThroughTempFile(filePath, contents, mode, encoding, true);
|
|
102
|
+
var jsonFileContents = (data) => `${JSON.stringify(data, null, 2)}
|
|
103
|
+
`;
|
|
104
|
+
var writeJsonAtomic = (filePath, data, mode) => writeFileAtomic(filePath, jsonFileContents(data), mode);
|
|
101
105
|
var writeJsonAtomicDurable = (filePath, data, mode) => {
|
|
102
106
|
writeJsonAtomic(filePath, data, mode);
|
|
103
107
|
if (process.platform === "win32") return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3SREEE2O.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-44ZTLOVE.js";
|
|
7
7
|
import {
|
|
8
8
|
NPX_LATEST_COMMAND
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V4OLQBSN.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp-stdio-bridge.ts
|
|
12
12
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WLRSM634.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
npmExitedOnPermissionDenied
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SISRFK3I.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TODDEIYG.js";
|
|
12
12
|
|
|
13
13
|
// src/upgrade-lock.ts
|
|
14
14
|
import { fork } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O3HKUUXP.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RS4BEWEZ.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
isBridgeLocator,
|
|
16
16
|
isProtectedByScope,
|
|
17
17
|
registerHookEntry
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WLRSM634.js";
|
|
19
19
|
import {
|
|
20
20
|
CURSOR_GATE_EVENTS,
|
|
21
21
|
HOOK_BUDGETS,
|
|
22
22
|
HOOK_LOCATOR_BINARY,
|
|
23
23
|
hookCommandHoldBudget
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JP3S4FPO.js";
|
|
25
25
|
|
|
26
26
|
// src/gemini-config.ts
|
|
27
27
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OUTWFS6J.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3SREEE2O.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OOCIVAMY.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CFZRNQIQ.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-V4OLQBSN.js";
|
|
17
17
|
import {
|
|
18
18
|
AGENT_STOP_DEFAULT_SECONDS,
|
|
19
19
|
APPROVAL_MODE_META,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
classifyConfirmResponse,
|
|
22
22
|
isAnswerSource,
|
|
23
23
|
roundTripAsk
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JP3S4FPO.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var reachVerdict = (channels) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BNJ4H57M.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CFZRNQIQ.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-YU2EUD7O.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JP3S4FPO.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EFTS75PF.js";
|
|
4
4
|
import {
|
|
5
5
|
hermesReceiptPaths,
|
|
6
6
|
hermesSetupPredatesThePluginFolder,
|
|
7
7
|
installHermesPlugin,
|
|
8
8
|
refreshHermesPluginFiles,
|
|
9
9
|
shippedHermesPlugin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C74UXIKG.js";
|
|
11
11
|
import {
|
|
12
12
|
fxIgnoresInstructionsFile,
|
|
13
13
|
fxInstructionsBody,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
macAppFxBridge,
|
|
17
17
|
refreshClineKey,
|
|
18
18
|
switchFxHttpEntryToBridge
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WPER6NNY.js";
|
|
20
20
|
import {
|
|
21
21
|
OPENCODE_HOOK_BINARY,
|
|
22
22
|
agentHookOwner,
|
|
@@ -28,16 +28,16 @@ import {
|
|
|
28
28
|
openCodePluginDir,
|
|
29
29
|
openCodeWired,
|
|
30
30
|
withOpenCodeAskRules
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TFHTZ6GE.js";
|
|
32
32
|
import {
|
|
33
33
|
detectClaudeVersion
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AN6I3TX7.js";
|
|
35
35
|
import {
|
|
36
36
|
addCompatibleHooks,
|
|
37
37
|
compatibleConfigFile,
|
|
38
38
|
compatibleInstructionsFile,
|
|
39
39
|
hasCompatibleHooks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7H2RWOO2.js";
|
|
41
41
|
import {
|
|
42
42
|
GEMINI_HOOK_BINARY,
|
|
43
43
|
addGeminiHooks,
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
geminiWired,
|
|
50
50
|
hasGeminiHooks,
|
|
51
51
|
planHooks
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VOFCKEIR.js";
|
|
53
53
|
import {
|
|
54
54
|
KEY_FILE_MODE
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-6X2O5QI7.js";
|
|
56
56
|
import {
|
|
57
57
|
CLAUDE_HOOK_BINARY,
|
|
58
58
|
CLAUDE_HOOK_EVENTS,
|
|
@@ -99,23 +99,23 @@ import {
|
|
|
99
99
|
renderAgentInstructions,
|
|
100
100
|
supportedClaudeEvents,
|
|
101
101
|
vscodePluginMcp
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-WLRSM634.js";
|
|
103
103
|
import {
|
|
104
104
|
formatVersion,
|
|
105
105
|
hookCommandsUseBareNames,
|
|
106
106
|
resolveGlobalBinDir,
|
|
107
107
|
resolveGlobalBinary
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-SISRFK3I.js";
|
|
109
109
|
import {
|
|
110
110
|
readJsonSafe,
|
|
111
111
|
writeFileAtomic,
|
|
112
112
|
writeJsonAtomic
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-TODDEIYG.js";
|
|
114
114
|
import {
|
|
115
115
|
HOOK_COMPATIBLE_PROFILES,
|
|
116
116
|
isCompatibleAgentType,
|
|
117
117
|
isRecord
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-JP3S4FPO.js";
|
|
119
119
|
|
|
120
120
|
// src/reapply.ts
|
|
121
121
|
import { dirname, join } from "path";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
formatVersion,
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SISRFK3I.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TODDEIYG.js";
|
|
10
10
|
import {
|
|
11
11
|
cmdShimScriptOf
|
|
12
12
|
} from "./chunk-WIIMW5YO.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
HOOK_LOCATOR_BINARY,
|
|
20
20
|
PRETOOLUSE_GATED_TOOLS,
|
|
21
21
|
withHookHoldBudget
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JP3S4FPO.js";
|
|
23
23
|
|
|
24
24
|
// src/setup/paths.ts
|
|
25
25
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KWFZUAET.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UDH2BDU2.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6X2O5QI7.js";
|
|
14
14
|
import {
|
|
15
15
|
CLINE_SERVER_NAME_TAKEN,
|
|
16
16
|
CLINE_SETTINGS_REFUSALS,
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WLRSM634.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SISRFK3I.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
42
42
|
writeJsonAtomic
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TODDEIYG.js";
|
|
44
44
|
|
|
45
45
|
// src/fx-config.ts
|
|
46
46
|
var FX_SERVER_NAME = "pushary";
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
toolResultErrorText,
|
|
28
28
|
transcriptTokensIn,
|
|
29
29
|
transcriptUsageRequest
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UZCD6OFJ.js";
|
|
31
31
|
import {
|
|
32
32
|
branchFor,
|
|
33
33
|
repoKeyFor
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R4JOCIQM.js";
|
|
35
35
|
import {
|
|
36
36
|
cancelQuestion,
|
|
37
37
|
clientErrorKindOf,
|
|
@@ -39,39 +39,39 @@ import {
|
|
|
39
39
|
reportClientError,
|
|
40
40
|
sendNotification,
|
|
41
41
|
waitForAnswer
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PKZJZWYN.js";
|
|
43
43
|
import {
|
|
44
44
|
isRetryable,
|
|
45
45
|
withRetry
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3SREEE2O.js";
|
|
47
47
|
import {
|
|
48
48
|
fetchAsCredential
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-44ZTLOVE.js";
|
|
50
50
|
import {
|
|
51
51
|
getMachineId
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BNJ4H57M.js";
|
|
53
53
|
import {
|
|
54
54
|
reportedInstallSource
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-ODZBKNIA.js";
|
|
56
56
|
import {
|
|
57
57
|
IDLE_PROMPT_NOTIFICATION,
|
|
58
58
|
NOTIFICATION_PUSH_TYPES,
|
|
59
59
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
60
60
|
canonicalJson,
|
|
61
61
|
claudeConfigDir
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WLRSM634.js";
|
|
63
63
|
import {
|
|
64
64
|
compareVersion,
|
|
65
65
|
parseVersion
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SISRFK3I.js";
|
|
67
67
|
import {
|
|
68
68
|
getApiKey,
|
|
69
69
|
getBaseUrl
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-CFZRNQIQ.js";
|
|
71
71
|
import {
|
|
72
72
|
writeFileAtomic,
|
|
73
73
|
writeJsonAtomicDurable
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-TODDEIYG.js";
|
|
75
75
|
import {
|
|
76
76
|
BLOCKED_ACTION_GRANT_TTL_SECONDS,
|
|
77
77
|
CLI_POLICY_REQUEST_CAPABILITIES,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAutoResolveOrigin,
|
|
97
97
|
resolvePolicy,
|
|
98
98
|
unansweredRefusalReason
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-JP3S4FPO.js";
|
|
100
100
|
|
|
101
101
|
// src/pending.ts
|
|
102
102
|
import { join } from "path";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XXCJY3KQ.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UZCD6OFJ.js";
|
|
12
12
|
import {
|
|
13
13
|
machineDecisionFor,
|
|
14
14
|
wireVerdictFor
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JP3S4FPO.js";
|
|
16
16
|
|
|
17
17
|
// src/machine-decision-audit.ts
|
|
18
18
|
import { basename } from "path";
|
|
@@ -22,22 +22,22 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-MUCBJ2KT.js";
|
|
26
|
+
import "./chunk-J74XLYS2.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-QCGNGEGE.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-FN3AKOE6.js";
|
|
30
|
+
import "./chunk-H6CL3T2S.js";
|
|
31
|
+
import "./chunk-BNJ4H57M.js";
|
|
32
|
+
import "./chunk-6X2O5QI7.js";
|
|
33
|
+
import "./chunk-ODZBKNIA.js";
|
|
34
|
+
import "./chunk-WLRSM634.js";
|
|
35
|
+
import "./chunk-SISRFK3I.js";
|
|
36
|
+
import "./chunk-CFZRNQIQ.js";
|
|
37
|
+
import "./chunk-TODDEIYG.js";
|
|
38
|
+
import "./chunk-V4OLQBSN.js";
|
|
39
39
|
import "./chunk-WIIMW5YO.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-JP3S4FPO.js";
|
|
41
41
|
import "./chunk-E46NE7FB.js";
|
|
42
42
|
import "./chunk-MLKGABMK.js";
|
|
43
43
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZCD6OFJ.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JP3S4FPO.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/codex-card-routing.ts
|