pushary 1.9.206 → 1.9.208
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 +8 -0
- package/dist/{api-6QQE4PNY.js → api-ZNUDZZKE.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 +47 -47
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +3 -2
- 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 +22 -22
- 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 +40 -40
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +58 -58
- 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 +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-XVKT6YXA.js → chunk-2KIAN6EN.js} +5 -5
- package/dist/{chunk-OHGH7225.js → chunk-2Q7NC2UY.js} +5 -5
- package/dist/{chunk-KVLEIPFD.js → chunk-3DRUEVV5.js} +2 -2
- package/dist/{chunk-7SNBOQDD.js → chunk-3TCHFJKZ.js} +2 -2
- package/dist/{chunk-6GG6MQMG.js → chunk-5DRF45TA.js} +7 -7
- package/dist/{chunk-WW4M6BTR.js → chunk-5FBSXFYN.js} +3 -3
- package/dist/{chunk-WCFTTXTD.js → chunk-5HLTFF32.js} +2 -2
- package/dist/{chunk-KKEOD7P5.js → chunk-5MHUOT7Z.js} +5 -5
- package/dist/{chunk-4YFM5JLG.js → chunk-5YFCQXKL.js} +1 -1
- package/dist/{chunk-OWNTJUBD.js → chunk-62GMP6L4.js} +1 -1
- package/dist/{chunk-PTHC2H7E.js → chunk-6C7M27NR.js} +1 -1
- package/dist/{chunk-374YKOJZ.js → chunk-6EUMLHLJ.js} +7 -7
- package/dist/{chunk-XMEOARX4.js → chunk-6I6IQNF3.js} +2 -2
- package/dist/{chunk-K3Y4WQJX.js → chunk-6SDP4GSM.js} +13 -13
- package/dist/{chunk-EQM4THGD.js → chunk-6SZ3CI5M.js} +5 -5
- package/dist/{chunk-322DR4ZT.js → chunk-7EWQNCKU.js} +1 -1
- package/dist/{chunk-IAHDERLU.js → chunk-AMELWQJ4.js} +4 -4
- package/dist/{chunk-FBFAOF2S.js → chunk-AWZQOCR6.js} +2 -2
- package/dist/{chunk-AV5527GL.js → chunk-B5JJ2X7Y.js} +5 -5
- package/dist/{chunk-3NGBANTY.js → chunk-BLM5DQ24.js} +1 -1
- package/dist/{chunk-ILI3DBQH.js → chunk-BMTOLFWL.js} +4 -4
- package/dist/{chunk-VIM2IXHL.js → chunk-CD7XQFDR.js} +4 -4
- package/dist/{chunk-OOK2D7YI.js → chunk-COJDALP4.js} +2 -2
- package/dist/{chunk-MM3ZPQZV.js → chunk-CSQJRT35.js} +3 -3
- package/dist/{chunk-O33SA2U7.js → chunk-CW2PDQGF.js} +9 -9
- package/dist/{chunk-75MSER3U.js → chunk-E4P36U57.js} +1 -1
- package/dist/{chunk-QD2LGUZ4.js → chunk-ELRGVHIM.js} +2 -2
- package/dist/{chunk-SZ2HXE6F.js → chunk-ENJNYH35.js} +3 -3
- package/dist/{chunk-CBBRVY77.js → chunk-FNRJJ2GN.js} +1 -1
- package/dist/{chunk-YYPGDGXG.js → chunk-GEDCHWRX.js} +2 -2
- package/dist/{chunk-AU3PCXV3.js → chunk-GWJ5WHO6.js} +6 -6
- package/dist/{chunk-52OHO3HH.js → chunk-GWMCH66R.js} +1 -1
- package/dist/{chunk-SCZELAXA.js → chunk-GZWP4LIJ.js} +1 -1
- package/dist/{chunk-JEPFKTY6.js → chunk-HHU5VKSD.js} +18 -18
- package/dist/{chunk-RMNOELSS.js → chunk-HRT6HCJV.js} +1 -1
- package/dist/{chunk-HS4RZZRG.js → chunk-I7OZFD4V.js} +1 -1
- package/dist/{chunk-6P5E737B.js → chunk-IACTW6SD.js} +5 -5
- package/dist/{chunk-PGGYS32J.js → chunk-ICDROWLR.js} +1 -1
- package/dist/{chunk-4FBETQHZ.js → chunk-INO42IRS.js} +1 -1
- package/dist/{chunk-X6PSPWE3.js → chunk-JHX4RY7J.js} +4 -4
- package/dist/{chunk-6H4WJILH.js → chunk-JQ2NEH5X.js} +2 -2
- package/dist/{chunk-2DIEYUSU.js → chunk-JR4MBD37.js} +3 -3
- package/dist/{chunk-AZMZ2NJI.js → chunk-KLQKPH33.js} +5 -5
- package/dist/{chunk-7VXGU2HE.js → chunk-LEPYZ2V5.js} +2 -2
- package/dist/{chunk-RILOBL2B.js → chunk-LTYFMPZC.js} +2 -2
- package/dist/{chunk-YYYHTH3C.js → chunk-M4IZVJJI.js} +3 -3
- package/dist/{chunk-RAB3PLLF.js → chunk-M4YANMMV.js} +3 -3
- package/dist/{chunk-NJI4OAS2.js → chunk-MGU4BYQD.js} +2 -2
- package/dist/{chunk-VOE5ZSX4.js → chunk-MGXGT6CI.js} +6 -6
- package/dist/{chunk-BTCC3RCQ.js → chunk-MKLU3MU7.js} +21 -13
- package/dist/{chunk-EOMDWPLU.js → chunk-MO3OLSMS.js} +5 -5
- package/dist/{chunk-RG3REA2Y.js → chunk-N2WDRRZ6.js} +1 -1
- package/dist/{chunk-UC56EZPU.js → chunk-OSFGUQ5T.js} +6 -6
- package/dist/{chunk-W7OEJNMQ.js → chunk-OW5W6MUS.js} +3 -3
- package/dist/{chunk-U4DHOTAK.js → chunk-OYENLHOW.js} +8 -8
- package/dist/{chunk-ZVNIVZKH.js → chunk-PIMYERMF.js} +4 -4
- package/dist/{chunk-CFPJRYNK.js → chunk-PPMJLQE4.js} +1 -1
- package/dist/{chunk-Z2GHBFXB.js → chunk-QBGD7AMY.js} +4 -4
- package/dist/{chunk-KNCMUCKG.js → chunk-RCH44MPG.js} +1 -1
- package/dist/{chunk-QSVIT62Y.js → chunk-RGF2NLD6.js} +1 -1
- package/dist/{chunk-QZZU4VHH.js → chunk-RSD4ELVG.js} +1 -1
- package/dist/{chunk-SH2WBJ5M.js → chunk-RZZMRVMQ.js} +1 -1
- package/dist/{chunk-SXMJ7NAN.js → chunk-SAVZ5Z4D.js} +1 -1
- package/dist/{chunk-HTMMJASM.js → chunk-SKF756UZ.js} +7 -1
- package/dist/{chunk-5JRBOJYW.js → chunk-SNLCRVKY.js} +1 -1
- package/dist/{chunk-MX6HK3UN.js → chunk-SOKDEHPF.js} +3 -3
- package/dist/{chunk-HNSTXU6Y.js → chunk-T2TP654U.js} +1 -1
- package/dist/{chunk-DISUP6T3.js → chunk-TD7ORJV6.js} +5 -5
- package/dist/{chunk-B4GSS6UW.js → chunk-TKCHBHGG.js} +6 -6
- package/dist/{chunk-JZOXTGTD.js → chunk-TV3LGIXZ.js} +3 -3
- package/dist/{chunk-RYT23NAI.js → chunk-UYNG4ZA2.js} +3 -3
- package/dist/{chunk-X6DBORWU.js → chunk-W2B4DX6C.js} +2 -2
- package/dist/{chunk-T3JIFRZW.js → chunk-WHHWEAKZ.js} +5 -5
- package/dist/{chunk-7QMNQT64.js → chunk-XR4SSTI3.js} +6 -6
- package/dist/{chunk-EAUVJCVF.js → chunk-XYZQSM5D.js} +12 -12
- package/dist/{chunk-7BTNS54A.js → chunk-YEGXF22Y.js} +56 -49
- package/dist/{chunk-B4J3OPKE.js → chunk-YJM7AYIC.js} +2 -2
- package/dist/{chunk-BXABKD25.js → chunk-YMKJCLTM.js} +4 -4
- package/dist/{chunk-66JDRFIJ.js → chunk-ZAA7ZLWZ.js} +2 -2
- package/dist/{chunk-ZERUCHT6.js → chunk-ZCJNOWRE.js} +4 -4
- package/dist/{chunk-AORWV5JK.js → chunk-ZKNYYECF.js} +1 -1
- package/dist/{chunk-UFJYOMYO.js → chunk-ZLCPGNER.js} +4 -4
- package/dist/{codex-app-cards-switch-DSGF2RO7.js → codex-app-cards-switch-2RZDQQ5C.js} +11 -11
- package/dist/{codex-card-routing-7NYNHVLU.js → codex-card-routing-7SP5X7ZS.js} +2 -2
- package/dist/{codex-desktop-launch-DWA3ET37.js → codex-desktop-launch-UBG7MJZP.js} +1 -1
- package/dist/{codex-session-launch-QXGOMDP5.js → codex-session-launch-CI33RDUH.js} +20 -20
- package/dist/{config-NJ6EGXZF.js → config-6UU25ZQI.js} +3 -3
- package/dist/{global-upgrade-QTCISU4G.js → global-upgrade-IW5QJMMK.js} +9 -9
- package/dist/{identity-CJAHB4I3.js → identity-AR4DUN5E.js} +4 -4
- package/dist/{live-capabilities-UMETUHH3.js → live-capabilities-7APA37BP.js} +4 -4
- package/dist/{paths-QIQFTXCS.js → paths-DHZJMCMF.js} +3 -3
- package/dist/reapply-6QKXO622.js +75 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-K5J7ZDHT.js → upgrade-lock-ZWF5JATD.js} +4 -4
- package/dist/{usage-NEZ2357Z.js → usage-GTYLNJHN.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-QYKTRBVN.js +0 -75
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OSFGUQ5T.js";
|
|
4
4
|
import {
|
|
5
5
|
matchMacAccountStep,
|
|
6
6
|
retryAgentCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ENJNYH35.js";
|
|
8
8
|
import {
|
|
9
9
|
canChangeApprovalSettings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JQ2NEH5X.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND,
|
|
13
13
|
npmExecSetupCommandFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GZWP4LIJ.js";
|
|
15
15
|
import {
|
|
16
16
|
EXIT
|
|
17
17
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
compatibleProfileFor,
|
|
23
23
|
isCompatibleAgentType
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SKF756UZ.js";
|
|
25
25
|
|
|
26
26
|
// src/setup/closing.ts
|
|
27
27
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceNodeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWJ5WHO6.js";
|
|
4
4
|
import {
|
|
5
5
|
OWNER_ONLY_FILE_MODE,
|
|
6
6
|
readOwnerOnlyJson
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
plannedGlobalPackage,
|
|
10
10
|
readGlobalPrefix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QBGD7AMY.js";
|
|
12
12
|
import {
|
|
13
13
|
globalTranscriptRegisterEntry
|
|
14
14
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNLCRVKY.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UYNG4ZA2.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W2B4DX6C.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
6
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolvePackageVersionFromBinary,
|
|
13
13
|
resolvePathBinary,
|
|
14
14
|
resolvePathBinaryAsync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QBGD7AMY.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENTS,
|
|
18
18
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
OPENCODE_BRIDGE_CAPABILITY,
|
|
26
26
|
SPAWN_CAPABILITY,
|
|
27
27
|
sessionProvidersAdvertisedBy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SKF756UZ.js";
|
|
29
29
|
|
|
30
30
|
// src/live-capabilities.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-INO42IRS.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N2WDRRZ6.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-SKF756UZ.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AWZQOCR6.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-SKF756UZ.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6I6IQNF3.js";
|
|
7
7
|
import {
|
|
8
8
|
phoneStartIsRequired
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M4IZVJJI.js";
|
|
10
10
|
import {
|
|
11
11
|
describeAutoUpdateCheck,
|
|
12
12
|
globalInstallLocation,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
readAutoUpdateState,
|
|
19
19
|
updateAutoUpdateState,
|
|
20
20
|
upgradeEntryFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GEDCHWRX.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AWZQOCR6.js";
|
|
27
27
|
import {
|
|
28
28
|
describeReleaseNpmHolds,
|
|
29
29
|
execNpm,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
npmExitedOnReleaseAge,
|
|
34
34
|
readGlobalCliInstallAt,
|
|
35
35
|
readGlobalPrefix
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QBGD7AMY.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GZWP4LIJ.js";
|
|
40
40
|
import {
|
|
41
41
|
EXIT
|
|
42
42
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GWJ5WHO6.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JHX4RY7J.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I7OZFD4V.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-SOKDEHPF.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-RCH44MPG.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchAsCredential
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7EWQNCKU.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UYNG4ZA2.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-AWZQOCR6.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-N2WDRRZ6.js";
|
|
52
52
|
import {
|
|
53
53
|
writeJsonAtomic,
|
|
54
54
|
writeJsonAtomicDurable
|
|
@@ -57,10 +57,11 @@ import {
|
|
|
57
57
|
PENDING_COMMAND_PREFIX,
|
|
58
58
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
59
59
|
canonicalJsonText,
|
|
60
|
+
isHermesVisibleContent,
|
|
60
61
|
isHookSource,
|
|
61
62
|
isRecord,
|
|
62
63
|
redactSecretsFromContent
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-SKF756UZ.js";
|
|
64
65
|
|
|
65
66
|
// src/transcript-registration.ts
|
|
66
67
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -506,7 +507,7 @@ var parseCursorSnapshot = (text) => {
|
|
|
506
507
|
return messages;
|
|
507
508
|
};
|
|
508
509
|
var historyBlock = external_exports.discriminatedUnion("type", [
|
|
509
|
-
external_exports.object({ type: external_exports.literal("text"), text: external_exports.string() }),
|
|
510
|
+
external_exports.object({ type: external_exports.literal("text"), text: external_exports.string(), visibility: external_exports.string().optional() }),
|
|
510
511
|
external_exports.object({ type: external_exports.literal("tool_use"), id: identity, name: external_exports.string(), input: external_exports.record(external_exports.string(), external_exports.unknown()) }),
|
|
511
512
|
external_exports.object({ type: external_exports.literal("tool_result"), tool_use_id: identity, content: external_exports.unknown(), is_error: external_exports.boolean().optional() })
|
|
512
513
|
]);
|
|
@@ -516,7 +517,7 @@ var hermesSnapshot = external_exports.object({
|
|
|
516
517
|
completed: external_exports.boolean().default(false),
|
|
517
518
|
updatedAtMs: external_exports.number().int().positive(),
|
|
518
519
|
error: external_exports.string().optional(),
|
|
519
|
-
messages: external_exports.array(external_exports.object({ id: identity, role: external_exports.enum(["user", "assistant"]), timestamp, content: external_exports.array(historyBlock) })).max(
|
|
520
|
+
messages: external_exports.array(external_exports.object({ id: identity, role: external_exports.enum(["user", "assistant"]), timestamp, content: external_exports.array(historyBlock) })).max(25e3)
|
|
520
521
|
});
|
|
521
522
|
var TranscriptSourceUnavailable = class extends Error {
|
|
522
523
|
};
|
|
@@ -524,6 +525,7 @@ var parseHermesSnapshot = (text, sessionId, nowMs) => {
|
|
|
524
525
|
const snapshot = hermesSnapshot.parse(JSON.parse(text));
|
|
525
526
|
if (snapshot.sessionId !== sessionId) throw new Error("Hermes history identity mismatch");
|
|
526
527
|
if (snapshot.error || !snapshot.completed && nowMs - snapshot.updatedAtMs > 18e4 || snapshot.updatedAtMs > nowMs + 5e3) throw new TranscriptSourceUnavailable("Hermes history exporter is unavailable");
|
|
528
|
+
if (!snapshot.messages.every((message) => isHermesVisibleContent(message.content))) throw new TranscriptSourceUnavailable("Reopen Hermes to refresh its display history");
|
|
527
529
|
return snapshot.messages;
|
|
528
530
|
};
|
|
529
531
|
|
|
@@ -795,6 +797,12 @@ var appendOnlyReader = (path, source, epoch) => ({
|
|
|
795
797
|
var UNCHANGED_SNAPSHOT_REREAD_MS = 6e4;
|
|
796
798
|
var caughtUpReadStillCurrent = (caughtUp, version, nowMs) => caughtUp !== null && caughtUp.version === version && nowMs >= caughtUp.atMs && nowMs - caughtUp.atMs < UNCHANGED_SNAPSHOT_REREAD_MS;
|
|
797
799
|
var UNCHANGED_SNAPSHOT_READ = { lines: [], acknowledge: () => "unchanged" };
|
|
800
|
+
var isVisibleHermesRevision = (line) => {
|
|
801
|
+
const record = JSON.parse(line);
|
|
802
|
+
if (!isRecord(record) || !isRecord(record.historySource)) return false;
|
|
803
|
+
if (record.historySource.removed === true) return !("historyMessage" in record);
|
|
804
|
+
return isRecord(record.historyMessage) && isHermesVisibleContent(record.historyMessage.content);
|
|
805
|
+
};
|
|
798
806
|
var snapshotReader = (options, source) => {
|
|
799
807
|
const { path, epoch } = options;
|
|
800
808
|
const binding = createHash3("sha256").update(JSON.stringify([options.baseUrl, options.apiKey, options.machineId, options.sessionId, source, path])).digest("hex");
|
|
@@ -813,7 +821,7 @@ var snapshotReader = (options, source) => {
|
|
|
813
821
|
if (version !== null && caughtUpReadStillCurrent(caughtUp, version, nowMs)) return UNCHANGED_SNAPSHOT_READ;
|
|
814
822
|
const lines = pending ?? checkpoint.prepare(readTranscriptSnapshot(path, source, options.sessionId), oldestMessage, nowMs);
|
|
815
823
|
return {
|
|
816
|
-
lines,
|
|
824
|
+
lines: source === "hermes" && pending !== null ? lines.filter(isVisibleHermesRevision) : lines,
|
|
817
825
|
acknowledge() {
|
|
818
826
|
checkpoint.settle();
|
|
819
827
|
const progress = version === null || sourceVersion(path) !== version ? "more" : "caught_up";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ENJNYH35.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5FBSXFYN.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UYNG4ZA2.js";
|
|
14
14
|
import {
|
|
15
15
|
CLINE_SERVER_NAME_TAKEN,
|
|
16
16
|
CLINE_SETTINGS_REFUSALS,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AWZQOCR6.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QBGD7AMY.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JQ2NEH5X.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2KIAN6EN.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JR4MBD37.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N2WDRRZ6.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GZWP4LIJ.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-SKF756UZ.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -536,8 +536,8 @@ var loadedOnce = (load) => {
|
|
|
536
536
|
};
|
|
537
537
|
|
|
538
538
|
// src/codex-desktop-proxy.ts
|
|
539
|
-
var loadThePhone = () => import("./api-
|
|
540
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
539
|
+
var loadThePhone = () => import("./api-ZNUDZZKE.js");
|
|
540
|
+
var loadTheCardRouting = () => import("./codex-card-routing-7SP5X7ZS.js");
|
|
541
541
|
var theFirstCardLoadsAgain = () => {
|
|
542
542
|
};
|
|
543
543
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1097
1097
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1098
1098
|
}
|
|
1099
1099
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1100
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1100
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-2RZDQQ5C.js");
|
|
1101
1101
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
postLiveSession,
|
|
7
7
|
postLiveSessionUntilAccepted,
|
|
8
8
|
startLiveSessionHeartbeat
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RSD4ELVG.js";
|
|
10
10
|
import {
|
|
11
11
|
CommandReceipts,
|
|
12
12
|
controllerCommandSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HRT6HCJV.js";
|
|
14
14
|
import {
|
|
15
15
|
SESSION_IDLE_TIMEOUT_MS,
|
|
16
16
|
describeIdleWindow,
|
|
17
17
|
idleDeadlinePassed,
|
|
18
18
|
startProcessOwnership
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MGU4BYQD.js";
|
|
20
20
|
import {
|
|
21
21
|
spawnClaude
|
|
22
22
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -26,18 +26,18 @@ import {
|
|
|
26
26
|
isWaitForAnswerResponse,
|
|
27
27
|
withdrawQuestion,
|
|
28
28
|
writeDegraded
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TKCHBHGG.js";
|
|
30
30
|
import {
|
|
31
31
|
readCommandAck
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RGF2NLD6.js";
|
|
33
33
|
import {
|
|
34
34
|
callMcpTool,
|
|
35
35
|
isRetryable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2KIAN6EN.js";
|
|
37
37
|
import {
|
|
38
38
|
projectNameFor,
|
|
39
39
|
repositoryScopeFor
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SNLCRVKY.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_QUESTION_DESCRIPTION_MAX,
|
|
43
43
|
AGENT_QUESTION_HEADER_MAX,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
parseCodexQuestions,
|
|
59
59
|
planElicitationAsk,
|
|
60
60
|
readElicitationFields
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-SKF756UZ.js";
|
|
62
62
|
|
|
63
63
|
// src/codex-question-owner.ts
|
|
64
64
|
import { createHash } from "crypto";
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XYZQSM5D.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I7OZFD4V.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SNLCRVKY.js";
|
|
15
15
|
import {
|
|
16
16
|
PERMISSION_ALLOWED_EVENT,
|
|
17
17
|
PERMISSION_DENIED_EVENT,
|
|
18
18
|
machineApprovalFor,
|
|
19
19
|
machineDecisionFor,
|
|
20
20
|
wireVerdictFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SKF756UZ.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SKF756UZ.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
|
|
|
600
600
|
}
|
|
601
601
|
const started = (async () => {
|
|
602
602
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
603
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
604
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
605
|
-
const { autoUpdateLock } = await import("./paths-
|
|
603
|
+
const { withUpgradeLock } = await import("./global-upgrade-IW5QJMMK.js");
|
|
604
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-ZWF5JATD.js");
|
|
605
|
+
const { autoUpdateLock } = await import("./paths-DHZJMCMF.js");
|
|
606
606
|
let result = "skipped";
|
|
607
607
|
const install = async () => {
|
|
608
608
|
const planned = readPlannedSetupInstall(process.platform);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SOKDEHPF.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
OPENCODE_PLUGIN_PLACEHOLDER,
|
|
7
7
|
OPENCODE_PLUGIN_SIBLING,
|
|
8
8
|
OPENCODE_PLUGIN_SIBLING_CONTENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ICDROWLR.js";
|
|
10
10
|
|
|
11
11
|
// src/opencode-runtime-bundle.ts
|
|
12
12
|
var openCodeRuntimeSource = `import { spawn } from 'child_process';
|
|
@@ -4070,6 +4070,10 @@ var ANSWER_DRAFT_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
|
4070
4070
|
// ../contracts/src/session-history.ts
|
|
4071
4071
|
var SESSION_HISTORY_BACKFILL_LIMIT_BYTES = 2e7;
|
|
4072
4072
|
|
|
4073
|
+
// ../contracts/src/transcript-projection.ts
|
|
4074
|
+
var HERMES_VISIBLE_TEXT = "hermes-visible-text-v1";
|
|
4075
|
+
var isHermesVisibleContent = (content) => Array.isArray(content) && content.length > 0 && content.every((block) => block?.type === "text" && typeof block.text === "string" && block.visibility === HERMES_VISIBLE_TEXT);
|
|
4076
|
+
|
|
4073
4077
|
// ../contracts/src/decision-lifetime.ts
|
|
4074
4078
|
var DECISION_REMINDER_DELAY_MS = 10 * 60 * 1e3;
|
|
4075
4079
|
var DECISION_CACHE_TTL_SECONDS = 10 * 60;
|
|
@@ -9398,7 +9402,8 @@ var FILE_EDIT_TOOLS = /* @__PURE__ */ new Set([
|
|
|
9398
9402
|
"NotebookEdit"
|
|
9399
9403
|
]);
|
|
9400
9404
|
var TOOL_PATH_MAX_LENGTH = 4096;
|
|
9401
|
-
var
|
|
9405
|
+
var ABSOLUTE_TOOL_PATH_PREFIX = /^(?:\/|[A-Za-z]:[\\/])/;
|
|
9406
|
+
var isAskableToolPath = (path) => ABSOLUTE_TOOL_PATH_PREFIX.test(path) && path.length <= TOOL_PATH_MAX_LENGTH;
|
|
9402
9407
|
var askableToolPathOf = (toolName, toolInput) => {
|
|
9403
9408
|
if (!FILE_EDIT_TOOLS.has(toolName)) return void 0;
|
|
9404
9409
|
const path = extractPolicyArg(toolName, toolInput);
|
|
@@ -10489,6 +10494,7 @@ export {
|
|
|
10489
10494
|
CALL_REFUSED_EVENT,
|
|
10490
10495
|
callRefusalReasonWhenUnanswered,
|
|
10491
10496
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
10497
|
+
isHermesVisibleContent,
|
|
10492
10498
|
PERSONAL_QUESTION_CAPABILITY,
|
|
10493
10499
|
isQuestionOwner,
|
|
10494
10500
|
CODEX_SHELL_COMMAND_FLAGS,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7EWQNCKU.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N2WDRRZ6.js";
|
|
11
11
|
import {
|
|
12
12
|
writeJsonAtomicDurable
|
|
13
13
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
compressTranscriptRecord,
|
|
16
16
|
redactSecretsFromContent,
|
|
17
17
|
transcriptRecordPlaintext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SKF756UZ.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZLCPGNER.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JQ2NEH5X.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JR4MBD37.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-UYNG4ZA2.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SKF756UZ.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|