pushary 1.9.78 → 1.9.79
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 +15 -0
- package/dist/{api-4WCUP47K.js → api-T6DRYZOD.js} +10 -10
- package/dist/bin/pushary-bell-hook.js +25 -25
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +33 -33
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +30 -30
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +13 -13
- package/dist/bin/pushary-connect.js +26 -26
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +45 -42
- package/dist/bin/pushary-disconnect.js +25 -25
- package/dist/bin/pushary-display-hook.js +16 -16
- package/dist/bin/pushary-doctor.js +41 -41
- package/dist/bin/pushary-elicitation-hook.js +25 -25
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +27 -27
- package/dist/bin/pushary-hook.js +29 -29
- package/dist/bin/pushary-login.js +20 -20
- package/dist/bin/pushary-logout.js +24 -24
- package/dist/bin/pushary-mcp.js +11 -11
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +24 -24
- package/dist/bin/pushary-opencode-hook.js +26 -26
- package/dist/bin/pushary-permission-denied-hook.js +29 -29
- package/dist/bin/pushary-permission-hook.js +29 -29
- package/dist/bin/pushary-post-hook.js +24 -24
- package/dist/bin/pushary-prompt-hook.js +24 -24
- package/dist/bin/pushary-session-end-hook.js +26 -26
- package/dist/bin/pushary-session-start-hook.js +34 -34
- package/dist/bin/pushary-setup.js +45 -45
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +31 -31
- package/dist/bin/pushary-stop-hook.js +24 -24
- package/dist/bin/pushary-stopfailure-hook.js +24 -24
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +16 -16
- package/dist/bin/pushary-transcripts.js +18 -18
- package/dist/bin/pushary-upgrade.js +39 -39
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-OFQACQDL.js → chunk-236NGCTH.js} +2 -2
- package/dist/{chunk-RCDZ2XZ6.js → chunk-35M6YE6T.js} +1 -1
- package/dist/{chunk-VIIQLZJS.js → chunk-3D3L4ULT.js} +3 -3
- package/dist/{chunk-ZM3ELQPE.js → chunk-3K67QTMR.js} +29 -20
- package/dist/{chunk-FMDP5KWV.js → chunk-4DSCZINL.js} +6 -6
- package/dist/{chunk-LXSGNGK5.js → chunk-4NRT3CEF.js} +3 -3
- package/dist/{chunk-AOGM34LL.js → chunk-5HA42EV4.js} +1 -1
- package/dist/{chunk-74NZ3CJQ.js → chunk-5HMSHKZT.js} +1 -1
- package/dist/{chunk-42Y7IZSV.js → chunk-5MKPJ3WR.js} +1 -1
- package/dist/{chunk-5YHI2FN4.js → chunk-5NWAWDRM.js} +6 -6
- package/dist/{chunk-C5LCOXAC.js → chunk-63JW566T.js} +5 -5
- package/dist/{chunk-KJYZXX7X.js → chunk-7BALOMAV.js} +3 -3
- package/dist/{chunk-22FLBWJH.js → chunk-7OSGGPBR.js} +2 -2
- package/dist/{chunk-6HDYWRCP.js → chunk-7R5ZKOQ4.js} +1 -1
- package/dist/{chunk-BE5BA3GF.js → chunk-A2OAJ7CS.js} +1 -1
- package/dist/{chunk-Q53QJQLY.js → chunk-AFCKBLEG.js} +1 -1
- package/dist/{chunk-NFK5ZCLK.js → chunk-AFNLCEHM.js} +3 -3
- package/dist/{chunk-YJK3LBAJ.js → chunk-ANNRW6VU.js} +6 -6
- package/dist/{chunk-IVY6LYTO.js → chunk-AVCPF3VS.js} +1 -1
- package/dist/{chunk-PYW7VWVZ.js → chunk-BH7XLF5R.js} +5 -5
- package/dist/{chunk-MPZFQP6O.js → chunk-BLG7OEX4.js} +1 -1
- package/dist/{chunk-3XH4YLCN.js → chunk-C7BK5C6K.js} +4 -4
- package/dist/{chunk-7BMBXTN4.js → chunk-CB2Y4GEH.js} +10 -10
- package/dist/{chunk-YOPFR22Y.js → chunk-CH3CCVH4.js} +2 -2
- package/dist/{chunk-Y4I5YX3L.js → chunk-CLE7EVOW.js} +3 -3
- package/dist/{chunk-RJEG3TUZ.js → chunk-CSJD7NN6.js} +6 -6
- package/dist/{chunk-TNNB7P6Z.js → chunk-CX6EIW3N.js} +7 -7
- package/dist/{chunk-YH3RAWMV.js → chunk-DLPFYJ7G.js} +1 -1
- package/dist/{chunk-5F3L3QOO.js → chunk-EKVW5Y23.js} +4 -4
- package/dist/{chunk-JLBLEFBK.js → chunk-ERC6QW27.js} +3 -3
- package/dist/{chunk-YP35CA5L.js → chunk-GXW43S4A.js} +2 -2
- package/dist/{chunk-OFJUHEEG.js → chunk-HGCUZQUL.js} +2 -0
- package/dist/{chunk-74R4IZ7N.js → chunk-IEJOZQ7N.js} +5 -5
- package/dist/{chunk-WJTUCQ47.js → chunk-IPIJY4TI.js} +1 -1
- package/dist/{chunk-JM4WO3JT.js → chunk-IYKY3ZAV.js} +2 -2
- package/dist/{chunk-4ZSQPGAU.js → chunk-J3QUMD2E.js} +2 -2
- package/dist/{chunk-RDU5HWKU.js → chunk-KLE2ZMSJ.js} +4 -4
- package/dist/{chunk-TRTAYW7Z.js → chunk-L7FBI7N7.js} +4 -4
- package/dist/{chunk-56POFDRB.js → chunk-LTQJ2IMO.js} +3 -3
- package/dist/{chunk-CHBK47DU.js → chunk-LXV53WHO.js} +3 -3
- package/dist/{chunk-TQYSBYYZ.js → chunk-MVAP3NRX.js} +3 -3
- package/dist/{chunk-TDLK3ZU2.js → chunk-NFRBLMM2.js} +4 -4
- package/dist/{chunk-IVBQ5ISS.js → chunk-O7WSNZIR.js} +13 -13
- package/dist/{chunk-VZHDSUXK.js → chunk-OJS32QPK.js} +1 -1
- package/dist/{chunk-4FYY6YW3.js → chunk-P2PPAW5E.js} +1 -1
- package/dist/{chunk-T2MJ5H2V.js → chunk-PZ3OFAZ7.js} +14 -11
- package/dist/{chunk-7KMI2G24.js → chunk-Q5J33E43.js} +6 -6
- package/dist/{chunk-XCBKGQ6N.js → chunk-Q7J77QL2.js} +3 -3
- package/dist/{chunk-MJXP5MFI.js → chunk-QATBJHE6.js} +4 -4
- package/dist/{chunk-5WU6534E.js → chunk-QZ5KIX6U.js} +2 -2
- package/dist/{chunk-OOODSAHW.js → chunk-RDXNJSXM.js} +3 -3
- package/dist/{chunk-DQCQQ2PY.js → chunk-RQOJ23I4.js} +1 -1
- package/dist/{chunk-5QOMMZFZ.js → chunk-SNQ5HQHE.js} +1 -1
- package/dist/{chunk-EDHOHS3C.js → chunk-TDW5LI6P.js} +3 -3
- package/dist/{chunk-RIVCTSYV.js → chunk-TRVJ6MS5.js} +5 -5
- package/dist/{chunk-NH7C6QBI.js → chunk-UGP4FYMV.js} +4 -4
- package/dist/{chunk-SV2C7PZV.js → chunk-V3EN7LWU.js} +6 -6
- package/dist/{chunk-ZFS2Y5GK.js → chunk-VER45SAA.js} +5 -5
- package/dist/{chunk-VYELSTZK.js → chunk-WA4S6YAT.js} +3 -3
- package/dist/{chunk-B4MQSH3R.js → chunk-WB5PC4TL.js} +5 -5
- package/dist/{chunk-BM3AT5AF.js → chunk-WBC2ZXU7.js} +4 -4
- package/dist/{chunk-L2S7KWMF.js → chunk-WJVQOAZY.js} +1 -1
- package/dist/{chunk-Z6DZHUCO.js → chunk-X7JGHARV.js} +6 -6
- package/dist/{chunk-WHTWHHE3.js → chunk-XKJYTP3G.js} +3 -3
- package/dist/{chunk-Z5VZWDGL.js → chunk-XU2FL4B6.js} +2 -2
- package/dist/{chunk-TKQGDSO4.js → chunk-Z7AIEIM5.js} +2 -2
- package/dist/{chunk-4DOJLAGR.js → chunk-ZJGIJDWP.js} +1 -1
- package/dist/{chunk-DLOUKVLM.js → chunk-ZU7XS6PN.js} +2 -2
- package/dist/{codex-app-cards-switch-GUZ7XMPB.js → codex-app-cards-switch-OWLU462R.js} +11 -11
- package/dist/{codex-desktop-launch-Q5UINXU6.js → codex-desktop-launch-G37GNF4B.js} +1 -1
- package/dist/{codex-session-launch-4G5AFXXU.js → codex-session-launch-AV2AL64X.js} +18 -18
- package/dist/{config-725HOJFK.js → config-PXISW4O5.js} +3 -3
- package/dist/{global-upgrade-AXTMEH3I.js → global-upgrade-JWI5XIZP.js} +10 -10
- package/dist/{identity-HLIZDGEN.js → identity-JAXJ3FOD.js} +4 -4
- package/dist/{live-capabilities-A74OIHWN.js → live-capabilities-7PPQ2HPU.js} +5 -5
- package/dist/{paths-ZHDLQD25.js → paths-YV3ZK5LT.js} +3 -3
- package/dist/{reapply-RC2AMGCQ.js → reapply-YHJHUTFY.js} +27 -27
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +28 -28
- package/dist/{upgrade-lock-4B3D3OCT.js → upgrade-lock-I4JPC4WG.js} +4 -4
- package/dist/{usage-VVPEFYKS.js → usage-FZTPRQRP.js} +3 -3
- package/package.json +1 -1
|
@@ -443,9 +443,9 @@ var installGlobally = (options) => {
|
|
|
443
443
|
}
|
|
444
444
|
const started = (async () => {
|
|
445
445
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
446
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
447
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
448
|
-
const { autoUpdateLock } = await import("./paths-
|
|
446
|
+
const { withUpgradeLock } = await import("./global-upgrade-JWI5XIZP.js");
|
|
447
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-I4JPC4WG.js");
|
|
448
|
+
const { autoUpdateLock } = await import("./paths-YV3ZK5LT.js");
|
|
449
449
|
let result = "skipped";
|
|
450
450
|
const install = async () => {
|
|
451
451
|
const platform = process.platform;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7OSGGPBR.js";
|
|
7
7
|
import {
|
|
8
8
|
phoneStartIsRequired
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WBC2ZXU7.js";
|
|
10
10
|
import {
|
|
11
11
|
describeAutoUpdateCheck,
|
|
12
12
|
globalInstallLocation,
|
|
@@ -18,25 +18,25 @@ import {
|
|
|
18
18
|
readAutoUpdateState,
|
|
19
19
|
updateAutoUpdateState,
|
|
20
20
|
upgradeEntryFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RDXNJSXM.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MVAP3NRX.js";
|
|
27
27
|
import {
|
|
28
28
|
execNpm,
|
|
29
29
|
fetchLatestPublishedVersion,
|
|
30
30
|
npmErrorMessage,
|
|
31
31
|
readGlobalCliInstallAt,
|
|
32
32
|
readGlobalPrefix
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CLE7EVOW.js";
|
|
34
34
|
import {
|
|
35
35
|
EXIT
|
|
36
36
|
} from "./chunk-KZERVKTD.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-35M6YE6T.js";
|
|
40
40
|
import {
|
|
41
41
|
commandsPackage,
|
|
42
42
|
globalUpgradeEntry,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerTranscript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PZ3OFAZ7.js";
|
|
4
4
|
import {
|
|
5
5
|
namedEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NFRBLMM2.js";
|
|
7
7
|
import {
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe,
|
|
10
10
|
pusharyHookExecutable,
|
|
11
11
|
resolveBridgeStub
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C7BK5C6K.js";
|
|
13
13
|
import {
|
|
14
14
|
writeDegraded
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BH7XLF5R.js";
|
|
16
16
|
import {
|
|
17
17
|
cursorUserHooks
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MVAP3NRX.js";
|
|
19
19
|
import {
|
|
20
20
|
atLeast,
|
|
21
21
|
parseVersion
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CLE7EVOW.js";
|
|
23
23
|
import {
|
|
24
24
|
CURSOR_GATE_COVERAGE,
|
|
25
25
|
CURSOR_GATE_SCRIPT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isGrokSessionEndStop,
|
|
34
34
|
isRecord,
|
|
35
35
|
toolsCoveredByGateEntry
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HGCUZQUL.js";
|
|
37
37
|
|
|
38
38
|
// src/tool-hook-input.ts
|
|
39
39
|
var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
keyCheckFromResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFNLCEHM.js";
|
|
4
4
|
import {
|
|
5
5
|
installNetworkDefaults
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q7J77QL2.js";
|
|
7
7
|
import {
|
|
8
8
|
getBaseUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AFCKBLEG.js";
|
|
10
10
|
import {
|
|
11
11
|
isRecord,
|
|
12
12
|
isToolErrorResult,
|
|
13
13
|
toolFailureCodeOfResult
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HGCUZQUL.js";
|
|
15
15
|
|
|
16
16
|
// src/retry.ts
|
|
17
17
|
var isRetryable = (err) => {
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-236NGCTH.js";
|
|
13
13
|
import {
|
|
14
14
|
writeHuman
|
|
15
15
|
} from "./chunk-QCGNGEGE.js";
|
|
16
16
|
import {
|
|
17
17
|
xml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Q5J33E43.js";
|
|
19
19
|
import {
|
|
20
20
|
CODEX_APP_LAUNCH_AT_LOGIN_VERB,
|
|
21
21
|
CODEX_APP_LAUNCH_VARIABLE
|
|
22
22
|
} from "./chunk-E46NE7FB.js";
|
|
23
23
|
import {
|
|
24
24
|
writeFileAtomic
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CLE7EVOW.js";
|
|
26
26
|
|
|
27
27
|
// src/codex-app-cards-switch.ts
|
|
28
28
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -1189,6 +1189,7 @@ var CLAUDE_WAKE = {
|
|
|
1189
1189
|
retainedAttempts: 128,
|
|
1190
1190
|
directory: "run/claude-wake"
|
|
1191
1191
|
};
|
|
1192
|
+
var isClaudeWakePrompt = (prompt) => typeof prompt === "string" && prompt.trim() === CLAUDE_WAKE.message;
|
|
1192
1193
|
var versionAtLeast = (version, floor) => {
|
|
1193
1194
|
if (!version || !/^\d+\.\d+\.\d+$/.test(version)) return false;
|
|
1194
1195
|
const parts = version.split(".").map(Number);
|
|
@@ -7126,6 +7127,7 @@ export {
|
|
|
7126
7127
|
COMMAND_RECOVERY,
|
|
7127
7128
|
isCommandAcknowledgementReceipt,
|
|
7128
7129
|
CLAUDE_WAKE,
|
|
7130
|
+
isClaudeWakePrompt,
|
|
7129
7131
|
claudeWakeDecision,
|
|
7130
7132
|
CLAUDE_WAKE_API,
|
|
7131
7133
|
claudeWakeWaitingOn,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3D3L4ULT.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z7AIEIM5.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UGP4FYMV.js";
|
|
14
14
|
import {
|
|
15
15
|
CLINE_SERVER_NAME_TAKEN,
|
|
16
16
|
CLINE_SETTINGS_REFUSALS,
|
|
@@ -32,13 +32,13 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MVAP3NRX.js";
|
|
36
36
|
import {
|
|
37
37
|
readJsonSafe,
|
|
38
38
|
resolveGlobalBinary,
|
|
39
39
|
writeFileAtomic,
|
|
40
40
|
writeJsonAtomic
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CLE7EVOW.js";
|
|
42
42
|
|
|
43
43
|
// src/fx-config.ts
|
|
44
44
|
var FX_SERVER_NAME = "pushary";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
reachVerdict,
|
|
13
13
|
reachesYou,
|
|
14
14
|
verifyDelivery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X7JGHARV.js";
|
|
16
16
|
import {
|
|
17
17
|
humanIsTty,
|
|
18
18
|
writeHuman
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
} from "./chunk-FO3MDD26.js";
|
|
25
25
|
import {
|
|
26
26
|
reportedInstallSource
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GXW43S4A.js";
|
|
28
28
|
import {
|
|
29
29
|
NPX_LATEST_COMMAND
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-35M6YE6T.js";
|
|
31
31
|
import {
|
|
32
32
|
NO_PAIRING_COMPUTER,
|
|
33
33
|
PAIR_TTL_SECONDS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HGCUZQUL.js";
|
|
35
35
|
|
|
36
36
|
// src/onboarding.ts
|
|
37
37
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X7JGHARV.js";
|
|
4
4
|
import {
|
|
5
5
|
canChangeApprovalSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZU7XS6PN.js";
|
|
7
7
|
import {
|
|
8
8
|
matchMacAccountStep,
|
|
9
9
|
retryAgentCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3D3L4ULT.js";
|
|
11
11
|
import {
|
|
12
12
|
EXIT
|
|
13
13
|
} from "./chunk-KZERVKTD.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-35M6YE6T.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/closing.ts
|
|
19
19
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MVAP3NRX.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CLE7EVOW.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-HGCUZQUL.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MVAP3NRX.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CLE7EVOW.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGCUZQUL.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CLE7EVOW.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_PRETOOLUSE_MATCHER,
|
|
10
10
|
CODEX_QUESTION_TOOLS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
HOOK_LOCATOR_BINARY,
|
|
13
13
|
PRETOOLUSE_GATED_TOOLS,
|
|
14
14
|
withHookHoldBudget
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HGCUZQUL.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/paths.ts
|
|
18
18
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -542,7 +542,7 @@ var ESTABLISHED = [1, 0, 0];
|
|
|
542
542
|
var OBSERVED = [2, 0, 0];
|
|
543
543
|
var CLAUDE_HOOK_BINARY = "pushary-hook";
|
|
544
544
|
var CLAUDE_HOOK_EVENTS = [
|
|
545
|
-
{ event: "MessageDisplay", binary: "pushary-display-hook", timeout: 1, delivery: "telemetry", since: [2, 1, 308] },
|
|
545
|
+
{ event: "MessageDisplay", binary: "pushary-display-hook", timeout: 1, delivery: "telemetry", delaysDisplay: true, since: [2, 1, 308] },
|
|
546
546
|
{ event: "PreToolUse", binary: CLAUDE_HOOK_BINARY, matcher: CLAUDE_PRETOOLUSE_MATCHER, timeout: HOOK_BUDGETS.claude.budgetSeconds, delivery: "approval", since: ESTABLISHED },
|
|
547
547
|
{ event: "PostToolUse", binary: "pushary-post-hook", matcher: MIRRORED_TOOLS, timeout: 10, delivery: "telemetry", since: ESTABLISHED },
|
|
548
548
|
{ event: "Stop", binary: "pushary-stop-hook", timeout: 10, delivery: "telemetry", since: ESTABLISHED },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C7BK5C6K.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT,
|
|
7
7
|
compatibleToolLookup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3K67QTMR.js";
|
|
9
9
|
import {
|
|
10
10
|
CLAUDE_HOOK_EVENTS,
|
|
11
11
|
PUSHARY_MCP_URL,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isPusharyHook,
|
|
18
18
|
registerHookEntry,
|
|
19
19
|
removeClaudeMcpServers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MVAP3NRX.js";
|
|
21
21
|
import {
|
|
22
22
|
HOOK_COMPATIBLE_PROFILES,
|
|
23
23
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
pusharyMissingReason,
|
|
29
29
|
refusalOutput,
|
|
30
30
|
withHookHoldBudget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HGCUZQUL.js";
|
|
32
32
|
|
|
33
33
|
// src/config-document.ts
|
|
34
34
|
import { parse, stringify } from "smol-toml";
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
outcomeOfFailedAsk,
|
|
5
5
|
reportMachineDenial,
|
|
6
6
|
storedWaitDeadline
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ANNRW6VU.js";
|
|
8
8
|
import {
|
|
9
9
|
isGatingMoment,
|
|
10
10
|
recordKeylessMoment
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DLPFYJ7G.js";
|
|
12
12
|
import {
|
|
13
13
|
isAdmitted,
|
|
14
14
|
readAdmissionRules
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CX6EIW3N.js";
|
|
16
16
|
import {
|
|
17
17
|
isDeferAnswer,
|
|
18
18
|
oncePerSession
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5HMSHKZT.js";
|
|
20
20
|
import {
|
|
21
21
|
activeHookSource,
|
|
22
22
|
activeIdentity,
|
|
23
23
|
namedSource
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NFRBLMM2.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_SESSION,
|
|
27
27
|
UNNAMED_ACTION,
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
reportEvent,
|
|
46
46
|
scopePathFor,
|
|
47
47
|
settleQuestionsForToolUse
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3K67QTMR.js";
|
|
49
49
|
import {
|
|
50
50
|
repoKeyFor
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-7R5ZKOQ4.js";
|
|
52
52
|
import {
|
|
53
53
|
askUser,
|
|
54
54
|
cancelQuestion,
|
|
@@ -65,20 +65,20 @@ import {
|
|
|
65
65
|
waitForQuestion,
|
|
66
66
|
waitsForThePhone,
|
|
67
67
|
withdrawQuestion
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-BH7XLF5R.js";
|
|
69
69
|
import {
|
|
70
70
|
getMachineId
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-J3QUMD2E.js";
|
|
72
72
|
import {
|
|
73
73
|
claudeConfigDir
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MVAP3NRX.js";
|
|
75
75
|
import {
|
|
76
76
|
getApiKey,
|
|
77
77
|
getBaseUrl
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-AFCKBLEG.js";
|
|
79
79
|
import {
|
|
80
80
|
NPX_LATEST_COMMAND
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-35M6YE6T.js";
|
|
82
82
|
import {
|
|
83
83
|
AGENT_QUESTION_STRATEGY,
|
|
84
84
|
AGENT_QUESTION_TOOL,
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
terminalStaysLiveForTheCall,
|
|
134
134
|
timeoutActionWithoutLocalPrompt,
|
|
135
135
|
unansweredRefusalReason
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-HGCUZQUL.js";
|
|
137
137
|
|
|
138
138
|
// src/terminal-answer-watch.ts
|
|
139
139
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
loadPin,
|
|
4
4
|
savePin,
|
|
5
5
|
verifyRecipients
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BLG7OEX4.js";
|
|
7
7
|
import {
|
|
8
8
|
SESSION_HISTORY_RETENTION_DAYS
|
|
9
9
|
} from "./chunk-MHUKYYYR.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureDaemonRunning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q5J33E43.js";
|
|
13
13
|
import {
|
|
14
14
|
hookOwnerOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C7BK5C6K.js";
|
|
16
16
|
import {
|
|
17
17
|
buildTranscriptRecords,
|
|
18
18
|
decodePublicKey,
|
|
@@ -23,37 +23,37 @@ import {
|
|
|
23
23
|
recordSealerFor,
|
|
24
24
|
uploadTranscriptRecords,
|
|
25
25
|
wrapSessionKey
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XU2FL4B6.js";
|
|
27
27
|
import {
|
|
28
28
|
external_exports
|
|
29
29
|
} from "./chunk-XMSDA5WA.js";
|
|
30
30
|
import {
|
|
31
31
|
transcriptEnvironmentPreference,
|
|
32
32
|
transcriptsEnabled
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AVCPF3VS.js";
|
|
34
34
|
import {
|
|
35
35
|
readTranscriptPreference
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UGP4FYMV.js";
|
|
37
37
|
import {
|
|
38
38
|
claudeConfigDir,
|
|
39
39
|
codexHome,
|
|
40
40
|
pusharyDir
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MVAP3NRX.js";
|
|
42
42
|
import {
|
|
43
43
|
writeJsonAtomic,
|
|
44
44
|
writeJsonAtomicDurable
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CLE7EVOW.js";
|
|
46
46
|
import {
|
|
47
47
|
getApiKey,
|
|
48
48
|
getBaseUrl
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AFCKBLEG.js";
|
|
50
50
|
import {
|
|
51
51
|
PENDING_COMMAND_PREFIX,
|
|
52
52
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
53
53
|
canonicalJsonText,
|
|
54
54
|
isRecord,
|
|
55
55
|
redactSecretsFromContent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HGCUZQUL.js";
|
|
57
57
|
|
|
58
58
|
// src/transcript-registration.ts
|
|
59
59
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -1043,8 +1043,10 @@ var startTranscriptSync = (opts) => {
|
|
|
1043
1043
|
let inFlight = false;
|
|
1044
1044
|
let stalled = false;
|
|
1045
1045
|
let catchingUp = false;
|
|
1046
|
+
let waitingForRecipients = false;
|
|
1046
1047
|
const tick = async () => {
|
|
1047
1048
|
catchingUp = false;
|
|
1049
|
+
waitingForRecipients = false;
|
|
1048
1050
|
if (!running || inFlight || !(opts.enabled ? opts.enabled() : transcriptsEnabled())) return;
|
|
1049
1051
|
inFlight = true;
|
|
1050
1052
|
try {
|
|
@@ -1056,6 +1058,7 @@ var startTranscriptSync = (opts) => {
|
|
|
1056
1058
|
}
|
|
1057
1059
|
const recipients = await fetchPinnedRecipients();
|
|
1058
1060
|
if (!recipients) {
|
|
1061
|
+
waitingForRecipients = true;
|
|
1059
1062
|
await reportHealth(recipientFailure);
|
|
1060
1063
|
return;
|
|
1061
1064
|
}
|
|
@@ -1099,7 +1102,7 @@ var startTranscriptSync = (opts) => {
|
|
|
1099
1102
|
void (async () => {
|
|
1100
1103
|
const before = state.sessionKey;
|
|
1101
1104
|
await tick();
|
|
1102
|
-
const waiting = state.sessionKey === null && before === null || state.keyUnavailable || state.keyRejected;
|
|
1105
|
+
const waiting = state.sessionKey === null && before === null || state.keyUnavailable || state.keyRejected || waitingForRecipients;
|
|
1103
1106
|
const ceilingMs = waiting ? maxIntervalMs : Math.min(maxIntervalMs, baseIntervalMs * STALLED_BACKOFF_FACTOR);
|
|
1104
1107
|
schedule(catchingUp ? CATCH_UP_DELAY_MS : nextInterval(Math.max(delayMs, baseIntervalMs), waiting || stalled, baseIntervalMs, ceilingMs));
|
|
1105
1108
|
})();
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./chunk-XHKBHWLX.js";
|
|
5
5
|
import {
|
|
6
6
|
readControlMode
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UGP4FYMV.js";
|
|
8
8
|
import {
|
|
9
9
|
getMachineId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J3QUMD2E.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MVAP3NRX.js";
|
|
14
14
|
import {
|
|
15
15
|
readJsonSafe,
|
|
16
16
|
resolveGlobalBinary,
|
|
17
17
|
writeFileAtomic,
|
|
18
18
|
writeJsonAtomic,
|
|
19
19
|
writeJsonAtomicDurable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CLE7EVOW.js";
|
|
21
21
|
import {
|
|
22
22
|
getApiKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AFCKBLEG.js";
|
|
24
24
|
import {
|
|
25
25
|
CLI_PACKAGE_NAMES,
|
|
26
26
|
cmdShimTarget,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-QTOLNRET.js";
|
|
31
31
|
import {
|
|
32
32
|
isRecord
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HGCUZQUL.js";
|
|
34
34
|
|
|
35
35
|
// src/daemon-lifecycle.ts
|
|
36
36
|
import { dirname, join, win32 as win32Path } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J3QUMD2E.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AFCKBLEG.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-PPY5N2E6.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HGCUZQUL.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|