pushary 1.9.278 → 1.9.280
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 +13 -2
- package/dist/{api-JDJKIBJ2.js → api-WBSDPSHN.js} +12 -12
- package/dist/bin/pushary-ask.js +14 -14
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +11 -11
- package/dist/bin/pushary-calls.js +14 -14
- package/dist/bin/pushary-claude.js +25 -25
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +22 -22
- package/dist/bin/pushary-codex-hook.js +34 -34
- 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-display-hook.js +16 -0
- package/dist/bin/pushary-doctor.js +48 -48
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +17 -17
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +45 -43
- package/dist/bin/pushary-logout.js +31 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +21 -21
- package/dist/bin/pushary-opencode-hook.js +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- 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 +12 -12
- package/dist/bin/pushary-setup.js +59 -59
- 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 +15 -15
- package/dist/bin/pushary-transcript-register.js +16 -16
- 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-DIQKY76N.js → chunk-2562EGWD.js} +46 -1
- package/dist/{chunk-HMUSFFEH.js → chunk-2NNCVW26.js} +3 -3
- package/dist/{chunk-DISRB3NE.js → chunk-2SMGO6SE.js} +1 -1
- package/dist/{chunk-KKEX5FAB.js → chunk-2USACEVR.js} +5 -5
- package/dist/{chunk-22OYSTAN.js → chunk-36CZVHOH.js} +1 -1
- package/dist/{chunk-WG4Y6DJD.js → chunk-3AKD2IMA.js} +6 -6
- package/dist/{chunk-MZJIL5CA.js → chunk-3I6Z6YKA.js} +5 -5
- package/dist/{chunk-WTPNWUEQ.js → chunk-4EJ6BFQ6.js} +3 -3
- package/dist/{chunk-QHSJVHNC.js → chunk-5WZAL3IG.js} +4 -4
- package/dist/{chunk-PW6FMKMZ.js → chunk-67D6KDPJ.js} +4 -4
- package/dist/{chunk-JHJPAG6R.js → chunk-6CQ75CCI.js} +6 -6
- package/dist/{chunk-3HKTW7AH.js → chunk-6SJ3YYPS.js} +2 -2
- package/dist/{chunk-7AMWTZTL.js → chunk-6TC6Y5FE.js} +5 -5
- package/dist/{chunk-XHEF2MQZ.js → chunk-7CCJLPFF.js} +2 -2
- package/dist/{chunk-ETZUDUCB.js → chunk-7CIMT2QH.js} +1 -1
- package/dist/{chunk-MOMA4DD4.js → chunk-7FUEG6WT.js} +1 -1
- package/dist/{chunk-WFDFDUHU.js → chunk-7OV4MW6B.js} +2 -2
- package/dist/{chunk-7RLMFVUZ.js → chunk-7WCBGOXC.js} +2 -2
- package/dist/{chunk-ISPN73NA.js → chunk-AGBCUPRE.js} +5 -5
- package/dist/{chunk-6X7GXEBI.js → chunk-D35MHKUM.js} +2 -2
- package/dist/{chunk-B5565Y33.js → chunk-DEGZHZLH.js} +1 -1
- package/dist/{chunk-NLJUHVZJ.js → chunk-DGIMLJ7N.js} +3 -3
- package/dist/{chunk-MGV6KJJF.js → chunk-DI7VQ4PL.js} +1 -1
- package/dist/{chunk-I4A6CL5Q.js → chunk-DLRZZHXC.js} +6 -6
- package/dist/{chunk-5ZX57DNR.js → chunk-DPTI6ZTZ.js} +2 -2
- package/dist/{chunk-C3E5KDBH.js → chunk-EC52MD7O.js} +5 -5
- package/dist/{chunk-GUL5YSME.js → chunk-EMB2EWLG.js} +5 -5
- package/dist/{chunk-R7VMXE6A.js → chunk-ENTFHIJ5.js} +1 -1
- package/dist/{chunk-2XAZO2Q3.js → chunk-FYGOACNH.js} +2 -2
- package/dist/{chunk-DMMIXJKD.js → chunk-G6EN7DLG.js} +10 -10
- package/dist/{chunk-NDDIA2YJ.js → chunk-GBMURSB4.js} +7 -7
- package/dist/{chunk-33IU43ZR.js → chunk-GS6XPW45.js} +7 -7
- package/dist/{chunk-QRIRB7KV.js → chunk-GYELGSCS.js} +4 -4
- package/dist/{chunk-CUXMOQDW.js → chunk-H5BATWAL.js} +3 -3
- package/dist/{chunk-DFNJBEFV.js → chunk-HE5SRKH3.js} +10 -10
- package/dist/{chunk-AECDNNRM.js → chunk-HJ25OOZL.js} +1 -1
- package/dist/{chunk-A7PIULSY.js → chunk-HPYVOBVO.js} +1 -1
- package/dist/{chunk-SMI5X7BO.js → chunk-I2OOSUJN.js} +1 -1
- package/dist/{chunk-3CNXRECH.js → chunk-I5RNSFXB.js} +4 -4
- package/dist/{chunk-WY6VFXYH.js → chunk-IHF7J7ZN.js} +16 -16
- package/dist/{chunk-J2N3BNNE.js → chunk-IJOGKO3Z.js} +1 -1
- package/dist/{chunk-YPTRRRD3.js → chunk-JKMX5HMU.js} +1 -1
- package/dist/{chunk-CB2NT2J5.js → chunk-JP545GB4.js} +1 -1
- package/dist/{chunk-GJQJHWQ4.js → chunk-JXVZO2TC.js} +2 -2
- package/dist/{chunk-QNMJJMZF.js → chunk-KKPI7MVG.js} +4 -4
- package/dist/{chunk-HQSTVSDO.js → chunk-KSHM2X7A.js} +2 -2
- package/dist/{chunk-K5LHDTYS.js → chunk-KV65OAIF.js} +1 -1
- package/dist/{chunk-YBTS5ZR3.js → chunk-LE2GNKVF.js} +11 -2
- package/dist/{chunk-WCTHF35Z.js → chunk-LKL7VIWF.js} +3 -3
- package/dist/{chunk-TSKDJNC5.js → chunk-M4B3D76U.js} +1 -1
- package/dist/{chunk-KO2QJNTA.js → chunk-MZPWMXPX.js} +1 -1
- package/dist/{chunk-WXXAFKZE.js → chunk-NL4NVNSD.js} +2 -2
- package/dist/{chunk-OIRKU5GW.js → chunk-NQCIACTR.js} +4 -4
- package/dist/{chunk-5XVPGNE5.js → chunk-O6LVUSRY.js} +6 -6
- package/dist/{chunk-BAYA2H6O.js → chunk-ODSUVMII.js} +5 -5
- package/dist/{chunk-76XC2ICT.js → chunk-OVUJLLPD.js} +50 -15
- package/dist/{chunk-2BW7GNNB.js → chunk-PATTVCJS.js} +2 -2
- package/dist/{chunk-UCX7X333.js → chunk-PUDKDFOZ.js} +1 -1
- package/dist/{chunk-OMHFKENS.js → chunk-Q5MYEDCP.js} +6 -6
- package/dist/{chunk-EEC52E5K.js → chunk-QG742PJG.js} +1 -1
- package/dist/{chunk-I5I5PXQL.js → chunk-QGQA4VUR.js} +8 -8
- package/dist/{chunk-QUU74XFH.js → chunk-QXPI7LOZ.js} +3 -3
- package/dist/{chunk-FGIJ46DR.js → chunk-R5P25UN2.js} +5 -5
- package/dist/{chunk-Z5H2XKMF.js → chunk-RI6C7WBQ.js} +2 -2
- package/dist/{chunk-GQDJPX3J.js → chunk-SIZMK3SF.js} +1 -1
- package/dist/{chunk-UXB54PYF.js → chunk-T2JHF3E4.js} +7 -7
- package/dist/{chunk-K5JEB3I4.js → chunk-TCQ3SHEC.js} +6 -6
- package/dist/{chunk-GP7Q2DCX.js → chunk-URYZAUMK.js} +4 -4
- package/dist/{chunk-JNPWASVJ.js → chunk-USRBNJJX.js} +1 -1
- package/dist/{chunk-R5FAM3I6.js → chunk-VSF3OSWI.js} +1 -1
- package/dist/{chunk-TPSRKMMW.js → chunk-VY7Q5MEQ.js} +5 -5
- package/dist/{chunk-6RSP2BY4.js → chunk-VYMBV6M5.js} +3 -3
- package/dist/{chunk-7DA3YV66.js → chunk-WF6QID2G.js} +12 -12
- package/dist/{chunk-WJALXH6I.js → chunk-XKTBFWO2.js} +1 -1
- package/dist/{chunk-XUIQOGUN.js → chunk-XV54WWNB.js} +3 -3
- package/dist/{chunk-XOALU2TA.js → chunk-YEQF4H76.js} +4 -4
- package/dist/{chunk-DWM7BYVK.js → chunk-YM3TSHT2.js} +1 -1
- package/dist/{chunk-B6RL3XXW.js → chunk-YQNGHX3P.js} +3 -3
- package/dist/{chunk-YSDITWDH.js → chunk-Z3EV2HKF.js} +4 -4
- package/dist/{chunk-YAV677T2.js → chunk-Z7F7SITX.js} +4 -4
- package/dist/{chunk-4IX2PONM.js → chunk-ZL46IS5W.js} +1 -1
- package/dist/{chunk-72CPOGDP.js → chunk-ZOADLPWB.js} +3 -3
- package/dist/{codex-app-cards-switch-YN66WO7X.js → codex-app-cards-switch-PNZGL4UT.js} +11 -11
- package/dist/{codex-card-routing-QXVDJGWF.js → codex-card-routing-ESKPXKXS.js} +2 -2
- package/dist/{codex-desktop-launch-XFRDRYXQ.js → codex-desktop-launch-CGIHCZL6.js} +3 -3
- package/dist/{codex-session-launch-W3SUQJMA.js → codex-session-launch-PXWW7EDP.js} +21 -21
- package/dist/{config-EGAARNM4.js → config-PFH6OQ6M.js} +3 -3
- package/dist/{global-upgrade-KKCSLSUA.js → global-upgrade-UU3H3EFW.js} +9 -9
- package/dist/{identity-P35TDUOJ.js → identity-JHCLWMLI.js} +4 -4
- package/dist/{live-capabilities-6NS5JAL4.js → live-capabilities-3K6DM4A3.js} +4 -4
- package/dist/{paths-FCBX57O2.js → paths-TMTWXB5B.js} +3 -3
- package/dist/{reapply-LOFPNVDB.js → reapply-YLNXKKWT.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-HOMFI7KP.js → upgrade-lock-NGYIAYBZ.js} +4 -4
- package/dist/{usage-MAE6ZECN.js → usage-LGGUWLJM.js} +3 -3
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CODEX_HOOK_STATUS,
|
|
3
3
|
HERMES_HISTORY_HELPER_COMMAND
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZOADLPWB.js";
|
|
5
5
|
import {
|
|
6
6
|
HERMES_ALWAYS_ALLOWED_SHELL_RULE,
|
|
7
7
|
HERMES_COMMAND_ALLOWLIST_KEY,
|
|
8
8
|
HERMES_GATE_TOOLS_KEY,
|
|
9
9
|
HERMES_PLUGIN_ASKS_PAST_ALWAYS_ALLOW,
|
|
10
10
|
HERMES_SHELL_TOOL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-67D6KDPJ.js";
|
|
12
12
|
import {
|
|
13
13
|
retryAgentCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4EJ6BFQ6.js";
|
|
15
15
|
import {
|
|
16
16
|
NPX_LATEST_COMMAND
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-USRBNJJX.js";
|
|
18
18
|
|
|
19
19
|
// src/setup/codex-trust.ts
|
|
20
20
|
var CODEX_TRUST_TELEMETRY = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YEQF4H76.js";
|
|
4
4
|
import {
|
|
5
5
|
bridgeResolvesToApp,
|
|
6
6
|
cursorUserHooks,
|
|
7
7
|
executableFileName,
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KSHM2X7A.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LE2GNKVF.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6CQ75CCI.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YEQF4H76.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2562EGWD.js";
|
|
13
13
|
import {
|
|
14
14
|
buildTranscriptRecords,
|
|
15
15
|
changedRecipientsMessage,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
uploadTranscriptRecords,
|
|
25
25
|
verifyAnchoredRecipients,
|
|
26
26
|
wrapSessionKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VYMBV6M5.js";
|
|
28
28
|
import {
|
|
29
29
|
transcriptEnvironmentPreference,
|
|
30
30
|
transcriptsEnabled
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SIZMK3SF.js";
|
|
32
32
|
import {
|
|
33
33
|
external_exports,
|
|
34
34
|
ownedOnlyByThisUser,
|
|
@@ -36,19 +36,19 @@ import {
|
|
|
36
36
|
} from "./chunk-P6DUWKAO.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchAsCredential
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XKTBFWO2.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DPTI6ZTZ.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-KSHM2X7A.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-D35MHKUM.js";
|
|
52
52
|
import {
|
|
53
53
|
writeJsonAtomic,
|
|
54
54
|
writeJsonAtomicDurable
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
isHookSource,
|
|
62
62
|
isRecord,
|
|
63
63
|
redactSecretsFromContent
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-LE2GNKVF.js";
|
|
65
65
|
|
|
66
66
|
// src/transcript-registration.ts
|
|
67
67
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OVUJLLPD.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2562EGWD.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YM3TSHT2.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-LE2GNKVF.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|
|
@@ -7,30 +7,30 @@ import {
|
|
|
7
7
|
restorePhoneApprovals,
|
|
8
8
|
setAsidePhoneApprovalsOfOtherCalls,
|
|
9
9
|
takePhoneApproval
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FYGOACNH.js";
|
|
11
11
|
import {
|
|
12
12
|
defersToNativeMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IJOGKO3Z.js";
|
|
14
14
|
import {
|
|
15
15
|
reportMachineDenial
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I5RNSFXB.js";
|
|
17
17
|
import {
|
|
18
18
|
claudeSettingsLocationFor,
|
|
19
19
|
readClaudePermissionRules
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6SJ3YYPS.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HPYVOBVO.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EMB2EWLG.js";
|
|
29
29
|
import {
|
|
30
30
|
activeHookSource,
|
|
31
31
|
activeIdentity,
|
|
32
32
|
namedSource
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-Q5MYEDCP.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_SESSION,
|
|
36
36
|
allow,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
storedWaitDeadline,
|
|
72
72
|
sweepFilesOlderThan,
|
|
73
73
|
userScope
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-OVUJLLPD.js";
|
|
75
75
|
import {
|
|
76
76
|
UNNAMED_ACTION,
|
|
77
77
|
deriveAction,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
patchDeletesFiles,
|
|
83
83
|
permissionDeniedAction,
|
|
84
84
|
scopePathFor
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-2562EGWD.js";
|
|
86
86
|
import {
|
|
87
87
|
isDeferAnswer
|
|
88
88
|
} from "./chunk-Z25VDYAL.js";
|
|
@@ -99,30 +99,30 @@ import {
|
|
|
99
99
|
sendNotification,
|
|
100
100
|
waitForQuestion,
|
|
101
101
|
withdrawQuestion
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-T2JHF3E4.js";
|
|
103
103
|
import {
|
|
104
104
|
branchFor,
|
|
105
105
|
projectNameFor,
|
|
106
106
|
repoKeyFor,
|
|
107
107
|
repositoryScopeFor
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YM3TSHT2.js";
|
|
109
109
|
import {
|
|
110
110
|
getMachineId
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-I2OOSUJN.js";
|
|
112
112
|
import {
|
|
113
113
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-KSHM2X7A.js";
|
|
115
115
|
import {
|
|
116
116
|
getApiKey,
|
|
117
117
|
getBaseUrl,
|
|
118
118
|
isMalformedApiKeyError
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-D35MHKUM.js";
|
|
120
120
|
import {
|
|
121
121
|
writeFileAtomic
|
|
122
122
|
} from "./chunk-PM2NRK6Y.js";
|
|
123
123
|
import {
|
|
124
124
|
NPX_LATEST_COMMAND
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-USRBNJJX.js";
|
|
126
126
|
import {
|
|
127
127
|
AGENT_QUESTION_STRATEGY,
|
|
128
128
|
AGENT_QUESTION_TOOL,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
terminalStaysLiveForTheCall,
|
|
195
195
|
timeoutActionWithoutLocalPrompt,
|
|
196
196
|
unapprovedScopeReason
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-LE2GNKVF.js";
|
|
198
198
|
|
|
199
199
|
// src/terminal-answer-watch.ts
|
|
200
200
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VYMBV6M5.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KSHM2X7A.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-CXQWDQCJ.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LE2GNKVF.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LE2GNKVF.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -610,9 +610,9 @@ var installGlobally = (options) => {
|
|
|
610
610
|
}
|
|
611
611
|
const started = (async () => {
|
|
612
612
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
613
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
614
|
-
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
615
|
-
const { autoUpdateLock } = await import("./paths-
|
|
613
|
+
const { withUpgradeLock } = await import("./global-upgrade-UU3H3EFW.js");
|
|
614
|
+
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-NGYIAYBZ.js");
|
|
615
|
+
const { autoUpdateLock } = await import("./paths-TMTWXB5B.js");
|
|
616
616
|
const lockPath = options.lockPath ?? autoUpdateLock();
|
|
617
617
|
const lockFile = canonicalLockPath(lockPath);
|
|
618
618
|
const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KKPI7MVG.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
PUSHARY_TOOL_PREFIX,
|
|
26
26
|
isRecord,
|
|
27
27
|
withHookHoldBudget
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LE2GNKVF.js";
|
|
29
29
|
|
|
30
30
|
// src/setup/paths.ts
|
|
31
31
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -6138,6 +6138,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6138
6138
|
mac_sign_in_started: ["dashboard_server"],
|
|
6139
6139
|
marketing_setup_command_copied: ["dashboard_client"],
|
|
6140
6140
|
marketing_setup_link_handed_off: ["dashboard_client"],
|
|
6141
|
+
marketing_setup_prompt_copied: ["dashboard_client"],
|
|
6141
6142
|
mcp_oauth_refused: ["dashboard_server"],
|
|
6142
6143
|
memo_unlocked: ["dashboard_server"],
|
|
6143
6144
|
memo_view: ["dashboard_server", "dashboard_client"],
|
|
@@ -6173,6 +6174,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6173
6174
|
mobile_review_requested: ["phone"],
|
|
6174
6175
|
mobile_session_renewal_failed: ["phone"],
|
|
6175
6176
|
mobile_session_renewed: ["phone"],
|
|
6177
|
+
mobile_settings_snapshot: ["phone"],
|
|
6176
6178
|
mobile_sign_in_failed: ["phone"],
|
|
6177
6179
|
mobile_sign_in_second_factor_required: ["phone"],
|
|
6178
6180
|
mobile_sign_up_failed: ["phone"],
|
|
@@ -6233,6 +6235,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6233
6235
|
sign_up_completed: [],
|
|
6234
6236
|
sign_up_field_error: ["dashboard_client"],
|
|
6235
6237
|
sign_up_started: [],
|
|
6238
|
+
signup_source_reported: ["dashboard_server"],
|
|
6236
6239
|
site_created: ["dashboard_client"],
|
|
6237
6240
|
stale_deployment_notice_raised: ["dashboard_client"],
|
|
6238
6241
|
stats_interest_vote: ["dashboard_client"],
|
|
@@ -12910,7 +12913,13 @@ var verdictsHeldToTheirOwnSteps = (steps, depth, budget) => {
|
|
|
12910
12913
|
}
|
|
12911
12914
|
return verdicts;
|
|
12912
12915
|
};
|
|
12913
|
-
var verdictWithoutTheAsksThatMayApprove = (input) =>
|
|
12916
|
+
var verdictWithoutTheAsksThatMayApprove = (input, original) => {
|
|
12917
|
+
const fallback = { ...input, config: withoutAsksThatMayApproveWithoutAnAnswer(input.config) };
|
|
12918
|
+
const verdict = gateVerdictOfTheCall(fallback);
|
|
12919
|
+
if (verdict.kind !== "deny" || namesAnArgumentOf(verdict.policy.tool, input.toolName)) return verdict;
|
|
12920
|
+
const explicitAnswer = { ...original, policy: { ...original.policy, timeoutAction: "wait" } };
|
|
12921
|
+
return strictestGateVerdictOf(explicitAnswer, gateVerdictOfTheCall(withoutStandingDeniesOfTheWholeTool(fallback)));
|
|
12922
|
+
};
|
|
12914
12923
|
var theWholeVerdictThatDoesNotApprove = (withoutTheAsks, verdict) => withoutTheAsks.kind === "gate" && !gateMayApproveWithoutAnAnswer(withoutTheAsks) ? withoutTheAsks : strictestGateVerdictOf(verdict, withoutTheAsks);
|
|
12915
12924
|
var gateVerdictHeldToTheRulesOfItsSteps = (input, depth, budget) => {
|
|
12916
12925
|
const verdict = gateVerdictNoWeakerThanItsSteps(input, 0, stepBudgetFor(input));
|
|
@@ -12925,7 +12934,7 @@ var gateVerdictHeldToTheRulesOfItsSteps = (input, depth, budget) => {
|
|
|
12925
12934
|
...unread ? refusalsByTheStandingDeniesOfTheWholeCall(input) : []
|
|
12926
12935
|
];
|
|
12927
12936
|
const isHeldWithoutTheAsks = gateMayApproveWithoutAnAnswer(verdict) && (unread || judged.some(isHeldByAChosenAsk(input, rules)));
|
|
12928
|
-
const held = isHeldWithoutTheAsks ? theWholeVerdictThatDoesNotApprove(verdictWithoutTheAsksThatMayApprove(input), verdict) : verdict;
|
|
12937
|
+
const held = isHeldWithoutTheAsks ? theWholeVerdictThatDoesNotApprove(verdictWithoutTheAsksThatMayApprove(input, verdict), verdict) : verdict;
|
|
12929
12938
|
return refusals.reduce(strictestGateVerdictOf, held);
|
|
12930
12939
|
};
|
|
12931
12940
|
var LEAST_VALUE_READING_TEXT_IN_A_CALL = 4096;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-3EGEA4KH.js";
|
|
10
10
|
import {
|
|
11
11
|
testTrafficHeaders
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T2JHF3E4.js";
|
|
13
13
|
import {
|
|
14
14
|
getBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D35MHKUM.js";
|
|
16
16
|
import {
|
|
17
17
|
CLI_LOCAL_BIND_PATH,
|
|
18
18
|
LOCAL_CONFIRM_HOST,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isLocalConfirmToken,
|
|
24
24
|
isPhonePass,
|
|
25
25
|
localTerminalEntryUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LE2GNKVF.js";
|
|
27
27
|
|
|
28
28
|
// src/cli/login-ui.ts
|
|
29
29
|
import { hostname } from "os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KSHM2X7A.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KKPI7MVG.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3AKD2IMA.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XKTBFWO2.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D35MHKUM.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USRBNJJX.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7CCJLPFF.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3AKD2IMA.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QXPI7LOZ.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-D35MHKUM.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-USRBNJJX.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-LE2GNKVF.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DGIMLJ7N.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GBMURSB4.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q5MYEDCP.js";
|
|
10
10
|
import {
|
|
11
11
|
nativeClaudeInstallPath
|
|
12
12
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KSHM2X7A.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LE2GNKVF.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|