pushary 1.9.278 → 1.9.279
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 +7 -2
- package/dist/{api-JDJKIBJ2.js → api-GT5M4FKX.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-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-WFDFDUHU.js → chunk-2FBFDIRR.js} +2 -2
- package/dist/{chunk-I4A6CL5Q.js → chunk-3OH4BA2L.js} +6 -6
- package/dist/{chunk-K5JEB3I4.js → chunk-3TRVAPX3.js} +6 -6
- package/dist/{chunk-2XAZO2Q3.js → chunk-3VLG23YI.js} +2 -2
- package/dist/{chunk-WG4Y6DJD.js → chunk-3YJ4BI2T.js} +6 -6
- package/dist/{chunk-6X7GXEBI.js → chunk-43I73BOT.js} +2 -2
- package/dist/{chunk-7DA3YV66.js → chunk-6AV7BUHX.js} +12 -12
- package/dist/{chunk-EEC52E5K.js → chunk-6K3F2AGC.js} +1 -1
- package/dist/{chunk-C3E5KDBH.js → chunk-6OU5NWTT.js} +5 -5
- package/dist/{chunk-7AMWTZTL.js → chunk-6PIULJUU.js} +5 -5
- package/dist/{chunk-GQDJPX3J.js → chunk-7ELAO3P7.js} +1 -1
- package/dist/{chunk-XHEF2MQZ.js → chunk-7ESVVVE7.js} +2 -2
- package/dist/{chunk-XUIQOGUN.js → chunk-7N5LP2HN.js} +3 -3
- package/dist/{chunk-OMHFKENS.js → chunk-A2A5RBRJ.js} +6 -6
- package/dist/{chunk-DMMIXJKD.js → chunk-AIGMTA66.js} +10 -10
- package/dist/{chunk-ISPN73NA.js → chunk-ATGHQEOT.js} +5 -5
- package/dist/{chunk-YAV677T2.js → chunk-B5UEGN6X.js} +4 -4
- package/dist/{chunk-DWM7BYVK.js → chunk-BGAQHTZM.js} +1 -1
- package/dist/{chunk-DISRB3NE.js → chunk-BKRM5JCV.js} +1 -1
- package/dist/{chunk-MGV6KJJF.js → chunk-CE62LD4R.js} +1 -1
- package/dist/{chunk-7RLMFVUZ.js → chunk-CKUBAL4D.js} +2 -2
- package/dist/{chunk-Z5H2XKMF.js → chunk-DNJEB32G.js} +2 -2
- package/dist/{chunk-QUU74XFH.js → chunk-E46NKCRK.js} +3 -3
- package/dist/{chunk-WCTHF35Z.js → chunk-EGFRLDJB.js} +3 -3
- package/dist/{chunk-72CPOGDP.js → chunk-EZZ3UZ3U.js} +3 -3
- package/dist/{chunk-ETZUDUCB.js → chunk-FIWU2MRL.js} +1 -1
- package/dist/{chunk-BAYA2H6O.js → chunk-FXA52N7Y.js} +5 -5
- package/dist/{chunk-QHSJVHNC.js → chunk-GO6NAOSQ.js} +4 -4
- package/dist/{chunk-AECDNNRM.js → chunk-GTPZORP6.js} +1 -1
- package/dist/{chunk-KO2QJNTA.js → chunk-HAG3FFOR.js} +1 -1
- package/dist/{chunk-3CNXRECH.js → chunk-HPBUJ5OT.js} +4 -4
- package/dist/{chunk-5ZX57DNR.js → chunk-HWRIJEZP.js} +2 -2
- package/dist/{chunk-WTPNWUEQ.js → chunk-HZS36Z4H.js} +3 -3
- package/dist/{chunk-SMI5X7BO.js → chunk-IC2YS3AL.js} +1 -1
- package/dist/{chunk-WY6VFXYH.js → chunk-INF7TIRX.js} +16 -16
- package/dist/{chunk-HQSTVSDO.js → chunk-ITNXSCOH.js} +2 -2
- package/dist/{chunk-I5I5PXQL.js → chunk-JFOHPFUF.js} +8 -8
- package/dist/{chunk-K5LHDTYS.js → chunk-JWFGRBH2.js} +1 -1
- package/dist/{chunk-JNPWASVJ.js → chunk-JZTPNERT.js} +1 -1
- package/dist/{chunk-HMUSFFEH.js → chunk-KHXFT64S.js} +3 -3
- package/dist/{chunk-YSDITWDH.js → chunk-LEOOBAXK.js} +4 -4
- package/dist/{chunk-UCX7X333.js → chunk-M562C2RF.js} +1 -1
- package/dist/{chunk-DFNJBEFV.js → chunk-M7OWPXMI.js} +10 -10
- package/dist/{chunk-5XVPGNE5.js → chunk-NZQAGASN.js} +6 -6
- package/dist/{chunk-R5FAM3I6.js → chunk-O6USMJ4U.js} +1 -1
- package/dist/{chunk-33IU43ZR.js → chunk-OEILSIE3.js} +7 -7
- package/dist/{chunk-XOALU2TA.js → chunk-OS2RKMN3.js} +4 -4
- package/dist/{chunk-MOMA4DD4.js → chunk-OWCR6OXE.js} +1 -1
- package/dist/{chunk-QRIRB7KV.js → chunk-P6EVCLSJ.js} +4 -4
- package/dist/{chunk-B5565Y33.js → chunk-PCVMJOVO.js} +1 -1
- package/dist/{chunk-TPSRKMMW.js → chunk-PQ4RL4ZK.js} +5 -5
- package/dist/{chunk-3HKTW7AH.js → chunk-PRKOXAHO.js} +2 -2
- package/dist/{chunk-B6RL3XXW.js → chunk-PSV33ZBR.js} +3 -3
- package/dist/{chunk-NDDIA2YJ.js → chunk-Q2AFOK5B.js} +7 -7
- package/dist/{chunk-PW6FMKMZ.js → chunk-RP5NRGOP.js} +4 -4
- package/dist/{chunk-TSKDJNC5.js → chunk-S62CVNXC.js} +1 -1
- package/dist/{chunk-WXXAFKZE.js → chunk-SCVUFRYF.js} +2 -2
- package/dist/{chunk-YPTRRRD3.js → chunk-SFDR2DLM.js} +1 -1
- package/dist/{chunk-R7VMXE6A.js → chunk-SQI725GE.js} +1 -1
- package/dist/{chunk-76XC2ICT.js → chunk-SR6NWRFS.js} +15 -12
- package/dist/{chunk-J2N3BNNE.js → chunk-SRVTHK4B.js} +1 -1
- package/dist/{chunk-DIQKY76N.js → chunk-TDU6OX63.js} +1 -1
- package/dist/{chunk-CUXMOQDW.js → chunk-TFUU6KAD.js} +3 -3
- package/dist/{chunk-JHJPAG6R.js → chunk-TKEPA46W.js} +6 -6
- package/dist/{chunk-2BW7GNNB.js → chunk-TZVDJSWD.js} +2 -2
- package/dist/{chunk-22OYSTAN.js → chunk-UGTSMWCN.js} +1 -1
- package/dist/{chunk-4IX2PONM.js → chunk-UPKETGVO.js} +1 -1
- package/dist/{chunk-NLJUHVZJ.js → chunk-V5E6C4SV.js} +3 -3
- package/dist/{chunk-MZJIL5CA.js → chunk-W3DZXQ6H.js} +5 -5
- package/dist/{chunk-KKEX5FAB.js → chunk-WFGSDO3Q.js} +5 -5
- package/dist/{chunk-GUL5YSME.js → chunk-WLTWTA7Y.js} +5 -5
- package/dist/{chunk-FGIJ46DR.js → chunk-WPN7VRG3.js} +5 -5
- package/dist/{chunk-WJALXH6I.js → chunk-WQXP4SM7.js} +1 -1
- package/dist/{chunk-GJQJHWQ4.js → chunk-WZXN2CDL.js} +2 -2
- package/dist/{chunk-A7PIULSY.js → chunk-Y3AUJZL2.js} +1 -1
- package/dist/{chunk-6RSP2BY4.js → chunk-YA3MKWMP.js} +3 -3
- package/dist/{chunk-OIRKU5GW.js → chunk-YDNG5HN2.js} +4 -4
- package/dist/{chunk-YBTS5ZR3.js → chunk-YKNNBTHO.js} +8 -2
- package/dist/{chunk-CB2NT2J5.js → chunk-YYMCUCIR.js} +1 -1
- package/dist/{chunk-GP7Q2DCX.js → chunk-ZGSKURAU.js} +4 -4
- package/dist/{chunk-UXB54PYF.js → chunk-ZMGEKGZO.js} +7 -7
- package/dist/{chunk-QNMJJMZF.js → chunk-ZXXBFL76.js} +4 -4
- package/dist/{codex-app-cards-switch-YN66WO7X.js → codex-app-cards-switch-42G2GEUY.js} +11 -11
- package/dist/{codex-card-routing-QXVDJGWF.js → codex-card-routing-53HSDB65.js} +2 -2
- package/dist/{codex-desktop-launch-XFRDRYXQ.js → codex-desktop-launch-DZDQXGS3.js} +3 -3
- package/dist/{codex-session-launch-W3SUQJMA.js → codex-session-launch-B23Y37D6.js} +21 -21
- package/dist/{config-EGAARNM4.js → config-XH37DHCK.js} +3 -3
- package/dist/{global-upgrade-KKCSLSUA.js → global-upgrade-YODVEWJU.js} +9 -9
- package/dist/{identity-P35TDUOJ.js → identity-JO36DJEU.js} +4 -4
- package/dist/{live-capabilities-6NS5JAL4.js → live-capabilities-IOIA52MG.js} +4 -4
- package/dist/{paths-FCBX57O2.js → paths-O6LYJ665.js} +3 -3
- package/dist/{reapply-LOFPNVDB.js → reapply-CYCGQW2O.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-HOMFI7KP.js → upgrade-lock-ZSYUO5XC.js} +4 -4
- package/dist/{usage-MAE6ZECN.js → usage-7NJ6YNDB.js} +3 -3
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toolResultErrorText,
|
|
30
30
|
transcriptTokensIn,
|
|
31
31
|
transcriptUsageRequest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TDU6OX63.js";
|
|
33
33
|
import {
|
|
34
34
|
isDeferAnswer
|
|
35
35
|
} from "./chunk-Z25VDYAL.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
RETRY_ACK,
|
|
38
38
|
readCommandAck,
|
|
39
39
|
refusedReceiptMessage
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S62CVNXC.js";
|
|
41
41
|
import {
|
|
42
42
|
askUser,
|
|
43
43
|
cancelQuestionSettledAtComputer,
|
|
@@ -54,32 +54,32 @@ import {
|
|
|
54
54
|
waitForOpenQuestion,
|
|
55
55
|
waitForQuestion,
|
|
56
56
|
writeDegraded
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ZMGEKGZO.js";
|
|
58
58
|
import {
|
|
59
59
|
SubscriptionRequiredError,
|
|
60
60
|
isRetryable,
|
|
61
61
|
withRetry
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3YJ4BI2T.js";
|
|
63
63
|
import {
|
|
64
64
|
fetchAsCredential
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-WQXP4SM7.js";
|
|
66
66
|
import {
|
|
67
67
|
branchFor,
|
|
68
68
|
projectNameFor,
|
|
69
69
|
repoKeyFor
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BGAQHTZM.js";
|
|
71
71
|
import {
|
|
72
72
|
getMachineId
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-IC2YS3AL.js";
|
|
74
74
|
import {
|
|
75
75
|
reportedInstallSource
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HWRIJEZP.js";
|
|
77
77
|
import {
|
|
78
78
|
IDLE_PROMPT_NOTIFICATION,
|
|
79
79
|
NOTIFICATION_PUSH_TYPES,
|
|
80
80
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
81
81
|
claudeConfigDir
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ITNXSCOH.js";
|
|
83
83
|
import {
|
|
84
84
|
compareVersion,
|
|
85
85
|
parseVersion
|
|
@@ -88,11 +88,14 @@ import {
|
|
|
88
88
|
getApiKey,
|
|
89
89
|
getBaseUrl,
|
|
90
90
|
isMalformedApiKeyError
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-43I73BOT.js";
|
|
92
92
|
import {
|
|
93
93
|
writeFileAtomic,
|
|
94
94
|
writeJsonAtomicDurable
|
|
95
95
|
} from "./chunk-PM2NRK6Y.js";
|
|
96
|
+
import {
|
|
97
|
+
NPX_LATEST_COMMAND
|
|
98
|
+
} from "./chunk-JZTPNERT.js";
|
|
96
99
|
import {
|
|
97
100
|
getPackageVersion,
|
|
98
101
|
isKnownReleaseVersion
|
|
@@ -158,7 +161,7 @@ import {
|
|
|
158
161
|
responseRejectsCredential,
|
|
159
162
|
unansweredRefusalReason,
|
|
160
163
|
waitsForThePhone
|
|
161
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-YKNNBTHO.js";
|
|
162
165
|
|
|
163
166
|
// src/pending.ts
|
|
164
167
|
import { join } from "path";
|
|
@@ -471,7 +474,7 @@ import { join as join2 } from "path";
|
|
|
471
474
|
var SUBSCRIPTION_REQUIRED_NOTICE_KIND = "subscription-required";
|
|
472
475
|
var MALFORMED_API_KEY_NOTICE_KIND = "malformed-key";
|
|
473
476
|
var REJECTED_API_KEY_NOTICE_KIND = "rejected-key";
|
|
474
|
-
var REJECTED_API_KEY_NOTICE =
|
|
477
|
+
var REJECTED_API_KEY_NOTICE = `[pushary] Pushary rejected this key. Approvals are off until you run \`${NPX_LATEST_COMMAND} login\`.`;
|
|
475
478
|
var oncePerSession = (kind, sessionId) => {
|
|
476
479
|
try {
|
|
477
480
|
const key = (sessionId || DEFAULT_SESSION).replace(/[^a-zA-Z0-9_-]/g, "");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OS2RKMN3.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-ITNXSCOH.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-YKNNBTHO.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./chunk-3PSNUHC5.js";
|
|
5
5
|
import {
|
|
6
6
|
getMachineId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IC2YS3AL.js";
|
|
8
8
|
import {
|
|
9
9
|
readControlMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HWRIJEZP.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ITNXSCOH.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveGlobalBinary,
|
|
16
16
|
withoutNpmInstallConsent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZXXBFL76.js";
|
|
18
18
|
import {
|
|
19
19
|
getApiKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-43I73BOT.js";
|
|
21
21
|
import {
|
|
22
22
|
readJsonSafe,
|
|
23
23
|
writeFileAtomic,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-CXQWDQCJ.js";
|
|
34
34
|
import {
|
|
35
35
|
isRecord
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YKNNBTHO.js";
|
|
37
37
|
|
|
38
38
|
// src/daemon-entry-guard.ts
|
|
39
39
|
import { mkdirSync, readFileSync } from "fs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HWRIJEZP.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JZTPNERT.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ITNXSCOH.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZXXBFL76.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YKNNBTHO.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HZS36Z4H.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YDNG5HN2.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HWRIJEZP.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-ITNXSCOH.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZXXBFL76.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LEOOBAXK.js";
|
|
13
13
|
import {
|
|
14
14
|
writeHuman
|
|
15
15
|
} from "./chunk-QCGNGEGE.js";
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
} from "./chunk-U4P4NDVB.js";
|
|
21
21
|
import {
|
|
22
22
|
parseConfigDocument
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GTPZORP6.js";
|
|
24
24
|
import {
|
|
25
25
|
xml
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TKEPA46W.js";
|
|
27
27
|
import {
|
|
28
28
|
codexHomeFrom
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ITNXSCOH.js";
|
|
30
30
|
import {
|
|
31
31
|
readRegularTextFile,
|
|
32
32
|
writeFileAtomic
|
|
33
33
|
} from "./chunk-PM2NRK6Y.js";
|
|
34
34
|
import {
|
|
35
35
|
isRecord
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YKNNBTHO.js";
|
|
37
37
|
|
|
38
38
|
// src/codex-app-cards-switch.ts
|
|
39
39
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cursorGateOwnsClaudeCall,
|
|
3
3
|
readCursorGateRegistration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TFUU6KAD.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M7OWPXMI.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A2A5RBRJ.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZMGEKGZO.js";
|
|
14
14
|
import {
|
|
15
15
|
claudeShapedHookInput,
|
|
16
16
|
hookCompatibleProfileBySource,
|
|
17
17
|
isGrokHookPayload,
|
|
18
18
|
isGrokSessionEndStop
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YKNNBTHO.js";
|
|
20
20
|
|
|
21
21
|
// src/tool-hook-input.ts
|
|
22
22
|
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
|
UNSET_IGNORED_SHELL_VALUE_STEP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B5UEGN6X.js";
|
|
4
4
|
import {
|
|
5
5
|
notificationAnswerStep
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NZQAGASN.js";
|
|
7
7
|
import {
|
|
8
8
|
matchMacAccountStep,
|
|
9
9
|
retryAgentCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HZS36Z4H.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND,
|
|
13
13
|
npmExecSetupCommandFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JZTPNERT.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-YKNNBTHO.js";
|
|
25
25
|
|
|
26
26
|
// src/setup/closing.ts
|
|
27
27
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ITNXSCOH.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-YKNNBTHO.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WQXP4SM7.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-43I73BOT.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-YKNNBTHO.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3YJ4BI2T.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WQXP4SM7.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-43I73BOT.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JZTPNERT.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -12910,7 +12910,13 @@ var verdictsHeldToTheirOwnSteps = (steps, depth, budget) => {
|
|
|
12910
12910
|
}
|
|
12911
12911
|
return verdicts;
|
|
12912
12912
|
};
|
|
12913
|
-
var verdictWithoutTheAsksThatMayApprove = (input) =>
|
|
12913
|
+
var verdictWithoutTheAsksThatMayApprove = (input, original) => {
|
|
12914
|
+
const fallback = { ...input, config: withoutAsksThatMayApproveWithoutAnAnswer(input.config) };
|
|
12915
|
+
const verdict = gateVerdictOfTheCall(fallback);
|
|
12916
|
+
if (verdict.kind !== "deny" || namesAnArgumentOf(verdict.policy.tool, input.toolName)) return verdict;
|
|
12917
|
+
const explicitAnswer = { ...original, policy: { ...original.policy, timeoutAction: "wait" } };
|
|
12918
|
+
return strictestGateVerdictOf(explicitAnswer, gateVerdictOfTheCall(withoutStandingDeniesOfTheWholeTool(fallback)));
|
|
12919
|
+
};
|
|
12914
12920
|
var theWholeVerdictThatDoesNotApprove = (withoutTheAsks, verdict) => withoutTheAsks.kind === "gate" && !gateMayApproveWithoutAnAnswer(withoutTheAsks) ? withoutTheAsks : strictestGateVerdictOf(verdict, withoutTheAsks);
|
|
12915
12921
|
var gateVerdictHeldToTheRulesOfItsSteps = (input, depth, budget) => {
|
|
12916
12922
|
const verdict = gateVerdictNoWeakerThanItsSteps(input, 0, stepBudgetFor(input));
|
|
@@ -12925,7 +12931,7 @@ var gateVerdictHeldToTheRulesOfItsSteps = (input, depth, budget) => {
|
|
|
12925
12931
|
...unread ? refusalsByTheStandingDeniesOfTheWholeCall(input) : []
|
|
12926
12932
|
];
|
|
12927
12933
|
const isHeldWithoutTheAsks = gateMayApproveWithoutAnAnswer(verdict) && (unread || judged.some(isHeldByAChosenAsk(input, rules)));
|
|
12928
|
-
const held = isHeldWithoutTheAsks ? theWholeVerdictThatDoesNotApprove(verdictWithoutTheAsksThatMayApprove(input), verdict) : verdict;
|
|
12934
|
+
const held = isHeldWithoutTheAsks ? theWholeVerdictThatDoesNotApprove(verdictWithoutTheAsksThatMayApprove(input, verdict), verdict) : verdict;
|
|
12929
12935
|
return refusals.reduce(strictestGateVerdictOf, held);
|
|
12930
12936
|
};
|
|
12931
12937
|
var LEAST_VALUE_READING_TEXT_IN_A_CALL = 4096;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A2A5RBRJ.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OS2RKMN3.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ITNXSCOH.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YKNNBTHO.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -8,26 +8,26 @@ import {
|
|
|
8
8
|
SubscriptionRequiredError,
|
|
9
9
|
callMcpTool,
|
|
10
10
|
isRetryable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3YJ4BI2T.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchAsCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WQXP4SM7.js";
|
|
15
15
|
import {
|
|
16
16
|
installNetworkDefaults,
|
|
17
17
|
isNetworkFailure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PSV33ZBR.js";
|
|
19
19
|
import {
|
|
20
20
|
keyPrefix
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HWRIJEZP.js";
|
|
22
22
|
import {
|
|
23
23
|
MacAppRefusedError,
|
|
24
24
|
MacAppUnreachableError,
|
|
25
25
|
clientReportClaims
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ITNXSCOH.js";
|
|
27
27
|
import {
|
|
28
28
|
getApiKey,
|
|
29
29
|
getBaseUrl
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-43I73BOT.js";
|
|
31
31
|
import {
|
|
32
32
|
getPackageVersion
|
|
33
33
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
responseRejectsCredential,
|
|
58
58
|
truncateLine,
|
|
59
59
|
waitEndAnswered
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YKNNBTHO.js";
|
|
61
61
|
|
|
62
62
|
// src/api.ts
|
|
63
63
|
import { randomUUID } from "crypto";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YKNNBTHO.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-YODVEWJU.js");
|
|
614
|
+
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-ZSYUO5XC.js");
|
|
615
|
+
const { autoUpdateLock } = await import("./paths-O6LYJ665.js");
|
|
616
616
|
const lockPath = options.lockPath ?? autoUpdateLock();
|
|
617
617
|
const lockFile = canonicalLockPath(lockPath);
|
|
618
618
|
const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
turnCodexAppCardsOff,
|
|
25
25
|
turnCodexAppCardsOn,
|
|
26
26
|
whyLaunchctlFailed
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-WFGSDO3Q.js";
|
|
28
|
+
import "./chunk-LEOOBAXK.js";
|
|
29
29
|
import "./chunk-XCEN33UP.js";
|
|
30
30
|
import "./chunk-QCGNGEGE.js";
|
|
31
31
|
import "./chunk-U4P4NDVB.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GTPZORP6.js";
|
|
33
|
+
import "./chunk-TKEPA46W.js";
|
|
34
34
|
import "./chunk-3PSNUHC5.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-IC2YS3AL.js";
|
|
36
|
+
import "./chunk-HWRIJEZP.js";
|
|
37
|
+
import "./chunk-ITNXSCOH.js";
|
|
38
38
|
import "./chunk-6ICPEJY5.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ZXXBFL76.js";
|
|
40
|
+
import "./chunk-43I73BOT.js";
|
|
41
41
|
import "./chunk-PM2NRK6Y.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-JZTPNERT.js";
|
|
43
43
|
import "./chunk-BG4HHB7E.js";
|
|
44
44
|
import "./chunk-CXQWDQCJ.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-YKNNBTHO.js";
|
|
46
46
|
import "./chunk-MLKGABMK.js";
|
|
47
47
|
export {
|
|
48
48
|
CODEX_APP_CARDS_DIRECTORY,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TDU6OX63.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YKNNBTHO.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/codex-card-routing.ts
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
installedCodexApp,
|
|
13
13
|
shellQuoted,
|
|
14
14
|
writeDesktopProxy
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LEOOBAXK.js";
|
|
16
16
|
import "./chunk-XCEN33UP.js";
|
|
17
17
|
import {
|
|
18
18
|
CODEX_APP_LAUNCH_VARIABLE
|
|
19
19
|
} from "./chunk-U4P4NDVB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZXXBFL76.js";
|
|
21
21
|
import "./chunk-BG4HHB7E.js";
|
|
22
22
|
import "./chunk-CXQWDQCJ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-YKNNBTHO.js";
|
|
24
24
|
import "./chunk-MLKGABMK.js";
|
|
25
25
|
export {
|
|
26
26
|
CODEX_APP_LAUNCH_VARIABLE,
|