pushary 1.9.184 → 1.9.186
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/dist/{api-UDDZRXXB.js → api-JW7AA573.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 +36 -36
- 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-doctor.js +47 -47
- 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 +19 -19
- package/dist/bin/pushary-opencode-hook.js +34 -34
- 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 +118 -86
- 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 +53 -46
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-SFP3J5I5.js → chunk-26LAHVWI.js} +18 -18
- package/dist/{chunk-4XNQOTVR.js → chunk-2DNN7O7B.js} +3 -3
- package/dist/{chunk-O4IWURQP.js → chunk-3MKRWTLZ.js} +1 -1
- package/dist/{chunk-AG3BUNOK.js → chunk-4CPKJI4N.js} +3 -3
- package/dist/{chunk-ME4RYRDR.js → chunk-4WJDKZEJ.js} +2 -2
- package/dist/{chunk-PEIQT6KC.js → chunk-5FDIOHNH.js} +2 -2
- package/dist/{chunk-OTY6O2LK.js → chunk-5JRRWACR.js} +1 -1
- package/dist/{chunk-YZPKM7SP.js → chunk-5SN2IITE.js} +5 -5
- package/dist/{chunk-VT4JY2AI.js → chunk-63HIRFYV.js} +1 -1
- package/dist/{chunk-NQXVL6LF.js → chunk-6PBNSFQG.js} +1 -1
- package/dist/{chunk-O4IYGRNI.js → chunk-6TVDGTWR.js} +2 -2
- package/dist/{chunk-G6GI7VCT.js → chunk-6WLQ7WOD.js} +4 -4
- package/dist/{chunk-B4K5OVOE.js → chunk-7KLNBFFD.js} +3 -3
- package/dist/{chunk-FUEREMLD.js → chunk-7OQZ5GL7.js} +1 -1
- package/dist/{chunk-J4LUUYXH.js → chunk-7Z2N3SVV.js} +2 -2
- package/dist/{chunk-VKZPDU25.js → chunk-A4CQJZ3K.js} +6 -6
- package/dist/{chunk-JQCAB544.js → chunk-AWYR3KPA.js} +3 -3
- package/dist/{chunk-M7KHET4S.js → chunk-BLLDCO5A.js} +1 -1
- package/dist/{chunk-VTWMIYBM.js → chunk-CBE5G6UP.js} +4 -4
- package/dist/{chunk-ITLAO546.js → chunk-CEWERXV4.js} +2 -2
- package/dist/{chunk-5BR74QQL.js → chunk-CL7QR6FW.js} +7 -7
- package/dist/{chunk-YH6QFABF.js → chunk-DDNFI2GA.js} +6 -6
- package/dist/{chunk-CVJ6H2VK.js → chunk-DGG75PIW.js} +1 -1
- package/dist/{chunk-TC5H6AI3.js → chunk-DUZ6V74X.js} +1 -1
- package/dist/{chunk-K4IMFKPP.js → chunk-EBSFVPHH.js} +6 -6
- package/dist/{chunk-VD3Q2A5J.js → chunk-ECBECMRW.js} +1 -1
- package/dist/{chunk-EJ6HBNXC.js → chunk-EEFNFZNQ.js} +4 -4
- package/dist/{chunk-LRA423VV.js → chunk-EMGKV2QC.js} +1 -1
- package/dist/{chunk-YQMNDBJD.js → chunk-EQGQPDCH.js} +4 -4
- package/dist/{chunk-2WYCG2EN.js → chunk-ERI4ISGN.js} +5 -5
- package/dist/{chunk-RE3TYSP7.js → chunk-FVQASC2C.js} +3 -3
- package/dist/{chunk-255TJOUT.js → chunk-G2IFBGTY.js} +4 -4
- package/dist/{chunk-CHG3NBBJ.js → chunk-G6V3D64U.js} +2 -2
- package/dist/{chunk-Q7PIFWTG.js → chunk-GL4EIL5Q.js} +1 -1
- package/dist/{chunk-IIW2LAPX.js → chunk-GP377Y34.js} +7 -7
- package/dist/{chunk-J5GK6IVD.js → chunk-GXR3JSXP.js} +6 -6
- package/dist/{chunk-AC6Q7DEQ.js → chunk-H4ZHVSKE.js} +5 -5
- package/dist/{chunk-CGTJIB2V.js → chunk-H6NPQ336.js} +8 -8
- package/dist/{chunk-LD3JUA77.js → chunk-HFDBV3ZJ.js} +9 -9
- package/dist/{chunk-OJWADO7D.js → chunk-I7GUIT7E.js} +25 -6
- package/dist/{chunk-FR6YVSPK.js → chunk-IPVW4IUW.js} +5 -5
- package/dist/{chunk-HPSSY25E.js → chunk-JKF5I32P.js} +2 -2
- package/dist/{chunk-AFH5LR76.js → chunk-K4WBFMAT.js} +1 -1
- package/dist/{chunk-R4TTSINC.js → chunk-KKUUJQ7D.js} +1 -1
- package/dist/{chunk-KFAYDRWP.js → chunk-KTKM7HS5.js} +3 -3
- package/dist/{chunk-IMGGR66U.js → chunk-LRLAIP75.js} +2 -2
- package/dist/{chunk-VWZCVHJG.js → chunk-LWWUA5DF.js} +1 -1
- package/dist/{chunk-RFAHLKZ6.js → chunk-MSUOS64O.js} +2 -2
- package/dist/{chunk-IVE22EJV.js → chunk-N5YRPYPC.js} +11 -11
- package/dist/{chunk-DU5AEFVJ.js → chunk-NDHS2ULF.js} +1 -1
- package/dist/{chunk-K2H2XC52.js → chunk-NGDDNKOV.js} +4 -4
- package/dist/{chunk-PTV6A5SZ.js → chunk-NITOSXEV.js} +1 -1
- package/dist/{chunk-E3XXZPPH.js → chunk-NK3V3E6P.js} +10 -10
- package/dist/{chunk-4AYH5NHM.js → chunk-NZTPGQT7.js} +4 -4
- package/dist/{chunk-FZDPZVRU.js → chunk-O67OY3RA.js} +5 -5
- package/dist/{chunk-4XQN44EO.js → chunk-OBTUMS5L.js} +1 -1
- package/dist/{chunk-JBAFH5Q2.js → chunk-OLED2XSM.js} +2 -2
- package/dist/{chunk-5JR6LPS2.js → chunk-OY5W64TR.js} +1 -1
- package/dist/{chunk-ULYZX6VZ.js → chunk-P5EVSOB6.js} +1 -1
- package/dist/{chunk-PXU2YJ7B.js → chunk-PZBVUHRD.js} +5 -5
- package/dist/{chunk-R2PK26FR.js → chunk-Q4FXPTPH.js} +2 -2
- package/dist/{chunk-MLFPZDKD.js → chunk-R3ECFKO3.js} +5 -5
- package/dist/{chunk-5Q3KXXT3.js → chunk-RNN2XAF7.js} +32 -34
- package/dist/{chunk-2C5DS3GU.js → chunk-RS7CW5W7.js} +2 -2
- package/dist/{chunk-5LRVMXIZ.js → chunk-S67UAFW2.js} +3 -3
- package/dist/{chunk-3OG5JIOA.js → chunk-SQA3ZPM4.js} +5 -5
- package/dist/{chunk-QZNC5XOW.js → chunk-SRCQFOVZ.js} +4 -4
- package/dist/{chunk-FSIIKAGP.js → chunk-STJYAFMW.js} +3 -3
- package/dist/{chunk-JJNBX3SP.js → chunk-STWKEQRM.js} +3 -3
- package/dist/{chunk-BRFHSICQ.js → chunk-TXVRUVBB.js} +1 -1
- package/dist/{chunk-7X4HQKXS.js → chunk-V25PSICC.js} +12 -12
- package/dist/{chunk-ZL2RR6WP.js → chunk-W2WM5IXQ.js} +1 -1
- package/dist/{chunk-LSR6SAV7.js → chunk-W522XWAT.js} +1 -1
- package/dist/{chunk-RNVHH6AN.js → chunk-WMXQFOTJ.js} +1 -1
- package/dist/{chunk-E3TGXTDU.js → chunk-XL2PSZIU.js} +2 -2
- package/dist/{chunk-SNKG7NMV.js → chunk-YXKQXKGV.js} +4 -4
- package/dist/{chunk-5ZGWUKIO.js → chunk-ZIEZJXQY.js} +3 -3
- package/dist/{chunk-LX37P6WT.js → chunk-ZK4E2VID.js} +2 -2
- package/dist/{chunk-W4N2JHFT.js → chunk-ZVGPDR37.js} +4 -4
- package/dist/{chunk-N7EBHNYA.js → chunk-ZXAWHBFW.js} +5 -5
- package/dist/{codex-app-cards-switch-B3FSCCCU.js → codex-app-cards-switch-J4QYBE4B.js} +11 -11
- package/dist/{codex-card-routing-WS72OC7Y.js → codex-card-routing-TLQSULL6.js} +2 -2
- package/dist/{codex-desktop-launch-U3PPGTWK.js → codex-desktop-launch-QS7RJIWL.js} +1 -1
- package/dist/{codex-session-launch-ZIXKXKTB.js → codex-session-launch-IOALOU37.js} +20 -20
- package/dist/{config-4JVYJ27G.js → config-WHD32JOQ.js} +3 -3
- package/dist/{global-upgrade-4FLQ53HE.js → global-upgrade-SILVY22G.js} +9 -9
- package/dist/{identity-7H3PMMPS.js → identity-ZFMKTDMM.js} +4 -4
- package/dist/{live-capabilities-YENLFDYL.js → live-capabilities-A5NUXYA3.js} +4 -4
- package/dist/{paths-PEFZYPII.js → paths-2Q5EPYCM.js} +3 -3
- package/dist/reapply-TXX2GU6T.js +70 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-L5QYJEGO.js → upgrade-lock-YNBGIRDF.js} +4 -4
- package/dist/{usage-SKO6G5XJ.js → usage-K74RCKF7.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-EOOEZXUJ.js +0 -70
- /package/dist/{chunk-CXBOEYV6.js → chunk-X55NVFKJ.js} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_PACKAGE_NAMES,
|
|
3
|
+
LATEST_DIST_TAG,
|
|
3
4
|
OWNERSHIP_PROBE_COMMAND,
|
|
4
5
|
classifyGlobalFolder,
|
|
5
6
|
classifyGlobalInstall,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
} from "./chunk-UQTQ6HPO.js";
|
|
15
16
|
import {
|
|
16
17
|
redactSecretsFromContent
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X55NVFKJ.js";
|
|
18
19
|
|
|
19
20
|
// src/shell-quote.ts
|
|
20
21
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -461,6 +462,23 @@ var throwIfNpmRefusesInstall = (request, runNpm = execNpm) => {
|
|
|
461
462
|
if (preview.kind === "refused_for_release_age") throw preview.refusal;
|
|
462
463
|
if (preview.kind === "failed") throw preview.failure;
|
|
463
464
|
};
|
|
465
|
+
var chosenRelease = (version) => ({ kind: "chosen", version });
|
|
466
|
+
var releaseNpmInstalls = (request, resolved, published, runNpm) => isNewerVersion(published, resolved) && npmExemptsFromReleaseAge(request, runNpm) ? published : resolved;
|
|
467
|
+
var newestReleaseNpmAllows = (target, installed, published, runNpm = execNpm) => {
|
|
468
|
+
const request = { ...target, version: LATEST_DIST_TAG };
|
|
469
|
+
const preview = previewGlobalInstall(request, runNpm);
|
|
470
|
+
switch (preview.kind) {
|
|
471
|
+
case "resolved":
|
|
472
|
+
return chosenRelease(releaseNpmInstalls(request, preview.version, published, runNpm));
|
|
473
|
+
case "refused_for_release_age":
|
|
474
|
+
return chosenRelease(installed);
|
|
475
|
+
case "failed":
|
|
476
|
+
return { kind: "npm_failed", failure: preview.failure };
|
|
477
|
+
case "unavailable":
|
|
478
|
+
return chosenRelease(published);
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
var describeReleaseNpmHolds = (published) => `${published} is not yet allowed by this machine's npm settings, such as min-release-age`;
|
|
464
482
|
var needsGlobalInstall = (requested, installed, binaryPresent) => requested !== installed || !binaryPresent;
|
|
465
483
|
var setupWouldDowngrade = (requested, installed) => installed !== void 0 && isReleaseVersion(installed) && isReleaseVersion(requested) && isNewerVersion(installed, requested);
|
|
466
484
|
var planGlobalInstall = (platform) => {
|
|
@@ -484,9 +502,9 @@ var installGlobally = (options) => {
|
|
|
484
502
|
}
|
|
485
503
|
const started = (async () => {
|
|
486
504
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
487
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
488
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
489
|
-
const { autoUpdateLock } = await import("./paths-
|
|
505
|
+
const { withUpgradeLock } = await import("./global-upgrade-SILVY22G.js");
|
|
506
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-YNBGIRDF.js");
|
|
507
|
+
const { autoUpdateLock } = await import("./paths-2Q5EPYCM.js");
|
|
490
508
|
let result = "skipped";
|
|
491
509
|
const install = async () => {
|
|
492
510
|
const platform = process.platform;
|
|
@@ -555,6 +573,7 @@ export {
|
|
|
555
573
|
NpmPermissionError,
|
|
556
574
|
NpmInstallError,
|
|
557
575
|
NpmReleaseAgeError,
|
|
576
|
+
npmExitedOnReleaseAge,
|
|
558
577
|
npmInstallFailure,
|
|
559
578
|
resolveBinary,
|
|
560
579
|
resolvePackageVersionFromBinary,
|
|
@@ -567,9 +586,9 @@ export {
|
|
|
567
586
|
quoteIfNeeded,
|
|
568
587
|
fetchLatestPublishedVersion,
|
|
569
588
|
installPackageGlobally,
|
|
570
|
-
npmExemptsFromReleaseAge,
|
|
571
|
-
previewGlobalInstall,
|
|
572
589
|
throwIfNpmRefusesInstall,
|
|
590
|
+
newestReleaseNpmAllows,
|
|
591
|
+
describeReleaseNpmHolds,
|
|
573
592
|
plannedGlobalPackage,
|
|
574
593
|
installGlobally
|
|
575
594
|
};
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CBE5G6UP.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCLAW_MIN_VERSION,
|
|
24
24
|
OPENCLAW_PLUGIN_ID,
|
|
25
25
|
OPENCLAW_PLUGIN_PACKAGE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2DNN7O7B.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AWYR3KPA.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3MKRWTLZ.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonSafe,
|
|
35
35
|
writeJsonAtomic
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readSetupOutcomeProperties,
|
|
39
39
|
redactSecretsFromContent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-X55NVFKJ.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6TVDGTWR.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I7GUIT7E.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5JRRWACR.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3MKRWTLZ.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-X55NVFKJ.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
codexHome,
|
|
8
8
|
codexHooksJsonIn,
|
|
9
9
|
isPusharyCodexCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6TVDGTWR.js";
|
|
11
11
|
import {
|
|
12
12
|
resolvePathBinary
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I7GUIT7E.js";
|
|
14
14
|
import {
|
|
15
15
|
getPackageVersion
|
|
16
16
|
} from "./chunk-UQTQ6HPO.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V25PSICC.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6TVDGTWR.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LRLAIP75.js";
|
|
4
4
|
import {
|
|
5
5
|
hermesReceiptPaths,
|
|
6
6
|
hermesSetupPredatesThePluginFolder,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
refreshHermesPluginFiles,
|
|
10
10
|
refreshOpenClawPlugin,
|
|
11
11
|
shippedHermesPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CBE5G6UP.js";
|
|
13
13
|
import {
|
|
14
14
|
fxIgnoresInstructionsFile,
|
|
15
15
|
fxInstructionsBody,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
macAppFxBridge,
|
|
19
19
|
refreshClineKey,
|
|
20
20
|
switchFxHttpEntryToBridge
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H4ZHVSKE.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCODE_HOOK_BINARY,
|
|
24
24
|
agentHookOwner,
|
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
openCodePluginDir,
|
|
32
32
|
openCodeWired,
|
|
33
33
|
withOpenCodeAskRules
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CL7QR6FW.js";
|
|
35
35
|
import {
|
|
36
36
|
detectClaudeVersion
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5FDIOHNH.js";
|
|
38
38
|
import {
|
|
39
39
|
addCompatibleHooks,
|
|
40
40
|
compatibleConfigFile,
|
|
41
41
|
compatibleInstructionsFile,
|
|
42
42
|
hasCompatibleHooks
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PZBVUHRD.js";
|
|
44
44
|
import {
|
|
45
45
|
GEMINI_HOOK_BINARY,
|
|
46
46
|
addGeminiHooks,
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
geminiWired,
|
|
53
53
|
hasGeminiHooks,
|
|
54
54
|
planHooks
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-EQGQPDCH.js";
|
|
56
56
|
import {
|
|
57
57
|
KEY_FILE_MODE
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-S67UAFW2.js";
|
|
59
59
|
import {
|
|
60
60
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
61
61
|
CLAUDE_HOOK_BINARY,
|
|
@@ -102,13 +102,13 @@ import {
|
|
|
102
102
|
renderAgentInstructions,
|
|
103
103
|
supportedClaudeEvents,
|
|
104
104
|
vscodePluginMcp
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-6TVDGTWR.js";
|
|
106
106
|
import {
|
|
107
107
|
formatVersion,
|
|
108
108
|
hookCommandsUseBareNames,
|
|
109
109
|
resolveGlobalBinDir,
|
|
110
110
|
resolveGlobalBinary
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-I7GUIT7E.js";
|
|
112
112
|
import {
|
|
113
113
|
readJsonSafe,
|
|
114
114
|
writeFileAtomic,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
HOOK_COMPATIBLE_PROFILES,
|
|
119
119
|
isCompatibleAgentType,
|
|
120
120
|
isRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-X55NVFKJ.js";
|
|
122
122
|
|
|
123
123
|
// src/reapply.ts
|
|
124
124
|
import { dirname, join } from "path";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CODEX_HOOK_STATUS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LRLAIP75.js";
|
|
4
4
|
import {
|
|
5
5
|
HERMES_ALWAYS_ALLOWED_SHELL_RULE,
|
|
6
6
|
HERMES_COMMAND_ALLOWLIST_KEY,
|
|
7
7
|
HERMES_GATE_TOOLS_KEY,
|
|
8
8
|
HERMES_SHELL_TOOL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CBE5G6UP.js";
|
|
10
10
|
import {
|
|
11
11
|
retryAgentCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AWYR3KPA.js";
|
|
13
13
|
import {
|
|
14
14
|
NPX_LATEST_COMMAND
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GL4EIL5Q.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/codex-trust.ts
|
|
18
18
|
var CODEX_TRUST_TELEMETRY = {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GXR3JSXP.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EQGQPDCH.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EMGKV2QC.js";
|
|
13
13
|
import {
|
|
14
14
|
buildTranscriptRecords,
|
|
15
15
|
changedRecipientsMessage,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
uploadTranscriptRecords,
|
|
25
25
|
verifyAnchoredRecipients,
|
|
26
26
|
wrapSessionKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7KLNBFFD.js";
|
|
28
28
|
import {
|
|
29
29
|
external_exports,
|
|
30
30
|
ownedOnlyByThisUser,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
transcriptEnvironmentPreference,
|
|
35
35
|
transcriptsEnabled
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DUZ6V74X.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchAsCredential
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TXVRUVBB.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-S67UAFW2.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6TVDGTWR.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-3MKRWTLZ.js";
|
|
52
52
|
import {
|
|
53
53
|
writeJsonAtomic,
|
|
54
54
|
writeJsonAtomicDurable
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
isHookSource,
|
|
61
61
|
isRecord,
|
|
62
62
|
redactSecretsFromContent
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-X55NVFKJ.js";
|
|
64
64
|
|
|
65
65
|
// src/transcript-registration.ts
|
|
66
66
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZBVUHRD.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EQGQPDCH.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6TVDGTWR.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-X55NVFKJ.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6WLQ7WOD.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CEWERXV4.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FVQASC2C.js";
|
|
15
15
|
import {
|
|
16
16
|
findExportedKeyLines,
|
|
17
17
|
isAdoptedMacAppKey,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-S67UAFW2.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-X55NVFKJ.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6TVDGTWR.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X55NVFKJ.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7KLNBFFD.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EQGQPDCH.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V25PSICC.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EMGKV2QC.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6TVDGTWR.js";
|
|
23
23
|
import {
|
|
24
24
|
HOOK_COMPATIBLE_PROFILES,
|
|
25
25
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
pusharyMissingReason,
|
|
31
31
|
refusalOutput,
|
|
32
32
|
withHookHoldBudget
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-X55NVFKJ.js";
|
|
34
34
|
|
|
35
35
|
// src/config-document.ts
|
|
36
36
|
import { parse, stringify } from "smol-toml";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6TVDGTWR.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-UQTQ6HPO.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X55NVFKJ.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4CPKJI4N.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-GXR3JSXP.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5JRRWACR.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S67UAFW2.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3MKRWTLZ.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-UQTQ6HPO.js";
|