pushary 1.9.227 → 1.9.229
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 +17 -0
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/scripts/pushary-gate.mjs +6 -3
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +4 -0
- package/data/vscode-plugin/scripts/pushary-gate.mjs +6 -4
- package/dist/{api-6XUVXHCP.js → api-FZWBPBK5.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 +26 -26
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- 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 +21 -19
- package/dist/bin/pushary-doctor.js +52 -50
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +38 -37
- package/dist/bin/pushary-login.js +24 -24
- 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 +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +38 -37
- 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 +63 -62
- 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 +46 -46
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-AAFL6HUL.js → chunk-232N6YYN.js} +1 -1
- package/dist/{chunk-ETFYH5IZ.js → chunk-23EZWERU.js} +7 -7
- package/dist/{chunk-55OJQNBO.js → chunk-2EXFFIJ4.js} +4 -4
- package/dist/{chunk-7FNVZ4TK.js → chunk-2ITBFEMY.js} +1 -1
- package/dist/{chunk-2HCM3SOV.js → chunk-2RUMZE2W.js} +1 -1
- package/dist/{chunk-PZEU7LBD.js → chunk-2XFZE4WB.js} +2 -2
- package/dist/{chunk-OPZYY6W5.js → chunk-2YPE2YZ4.js} +8 -8
- package/dist/{chunk-ITOYJTIT.js → chunk-35QDWJYF.js} +5 -5
- package/dist/{chunk-PXBL4P2Y.js → chunk-3BDANUD4.js} +2 -2
- package/dist/{chunk-QJNK3Z2M.js → chunk-3GUYVDK3.js} +9 -9
- package/dist/{chunk-YSRKSUA6.js → chunk-3SAJYDXV.js} +3 -3
- package/dist/{chunk-PMAS2AZ7.js → chunk-436G6M2Q.js} +2 -2
- package/dist/{chunk-2TLSNTYA.js → chunk-4JHJRVPH.js} +3 -3
- package/dist/{chunk-I3MBDNDM.js → chunk-4VCP3ZXO.js} +1 -1
- package/dist/{chunk-Y7EVC2RD.js → chunk-6U6W5PUV.js} +1 -1
- package/dist/{chunk-RWELN5CR.js → chunk-6UBW5WKJ.js} +1 -1
- package/dist/{chunk-QUKCWMP7.js → chunk-7XPV5DIV.js} +6 -6
- package/dist/{chunk-F7M3NBZX.js → chunk-7ZFBZ66X.js} +9 -5
- package/dist/{chunk-DUM5HISL.js → chunk-A3MVG5ZA.js} +4 -4
- package/dist/{chunk-UC66ONKT.js → chunk-B2SCB7HA.js} +5 -5
- package/dist/{chunk-E6JFMLST.js → chunk-DVCI3LT4.js} +2 -2
- package/dist/{chunk-LSKWAWUO.js → chunk-DZABHISP.js} +1 -1
- package/dist/{chunk-35ZGLC3I.js → chunk-E3VBNFAY.js} +3 -3
- package/dist/{chunk-7KRQTNPA.js → chunk-EBNEIECN.js} +3 -3
- package/dist/{chunk-HYY7VUA2.js → chunk-EO6IGXP2.js} +1 -1
- package/dist/{chunk-ZVZI7MRB.js → chunk-EP3XTWKM.js} +1 -1
- package/dist/{chunk-DFVMNFBY.js → chunk-FOLN4OC6.js} +2 -2
- package/dist/{chunk-4SLIHG3G.js → chunk-FXGW5PYE.js} +4 -4
- package/dist/{chunk-GKDDUXW3.js → chunk-G2AHI6T3.js} +1 -1
- package/dist/{chunk-O5SZYNKA.js → chunk-G6TSLDXX.js} +5 -5
- package/dist/{chunk-CBJQSI2W.js → chunk-GR4MDWJB.js} +1 -1
- package/dist/{chunk-SIOCR3MZ.js → chunk-GUBKBGRX.js} +3 -3
- package/dist/{chunk-IDLGCJ3P.js → chunk-INUTZSZ2.js} +1 -1
- package/dist/{chunk-VRBCELDH.js → chunk-JGZCD72E.js} +6 -6
- package/dist/{chunk-LAPLQ7M7.js → chunk-JM5BGRF7.js} +4 -4
- package/dist/{chunk-GLEJK3WC.js → chunk-JTQRYOUL.js} +7 -7
- package/dist/{chunk-HJALQSTD.js → chunk-K3ECNIYM.js} +2 -2
- package/dist/{chunk-BBDK7TVJ.js → chunk-KNBYA7ZN.js} +1 -1
- package/dist/{chunk-FNCKAFWK.js → chunk-LJKYHIEL.js} +5 -5
- package/dist/{chunk-GWLFYYZP.js → chunk-LLEMAWUQ.js} +10 -10
- package/dist/{chunk-2AY4DSZT.js → chunk-M45A5FKV.js} +17 -17
- package/dist/{chunk-FEQWWCVR.js → chunk-MDUXVICE.js} +3 -3
- package/dist/{chunk-CWOQOTRL.js → chunk-MFWRUMYT.js} +1 -1
- package/dist/{chunk-VAIWWB5C.js → chunk-MHOW2X3O.js} +4 -4
- package/dist/{chunk-XVHETKVC.js → chunk-MTDXMQY7.js} +3 -3
- package/dist/{chunk-KGWZIM42.js → chunk-N3IUIVOF.js} +3 -3
- package/dist/{chunk-ME6HK32L.js → chunk-NEISAZSJ.js} +1 -1
- package/dist/{chunk-FN62QEJF.js → chunk-NISPP3L6.js} +5 -5
- package/dist/{chunk-7Z2BZV5Y.js → chunk-OMXJBAVS.js} +4 -4
- package/dist/{chunk-3ZEWNB5K.js → chunk-OPFQNM7J.js} +2 -2
- package/dist/{chunk-3EMACK2X.js → chunk-OTLSLAYC.js} +3 -3
- package/dist/{chunk-DRVYUPFL.js → chunk-OVGASYW6.js} +5 -5
- package/dist/{chunk-YT7ZMEFE.js → chunk-PAMJH6NO.js} +5 -5
- package/dist/{chunk-KLZCRA4D.js → chunk-PPRXZTIA.js} +2 -2
- package/dist/{chunk-PSK2AWNC.js → chunk-PRJ4WFAX.js} +4 -4
- package/dist/{chunk-YSJIEIOP.js → chunk-QBEM25H5.js} +4 -4
- package/dist/{chunk-RONHATBY.js → chunk-R236FVD5.js} +6 -6
- package/dist/{chunk-KPXHLZFB.js → chunk-RPQVCRXM.js} +2 -2
- package/dist/{chunk-SJZUG2UF.js → chunk-SOCH2HJN.js} +1 -1
- package/dist/{chunk-XNZRHX5Q.js → chunk-SQ444NOU.js} +2 -2
- package/dist/{chunk-AA2WZCB3.js → chunk-T55SUYTK.js} +6 -6
- package/dist/{chunk-G3JSEZFW.js → chunk-TBICLJ75.js} +4 -4
- package/dist/{chunk-ILHFZD2P.js → chunk-U56K5R3V.js} +2 -2
- package/dist/chunk-VB6MYKK4.js +14 -0
- package/dist/{chunk-M46PBEZN.js → chunk-VGGJ6JUL.js} +1 -1
- package/dist/{chunk-MV53KPOV.js → chunk-VVXZCLXU.js} +12 -12
- package/dist/{chunk-HK3O5JVJ.js → chunk-W2N32PPX.js} +7 -7
- package/dist/{chunk-DXRKQEH5.js → chunk-WLI5AK4W.js} +12 -12
- package/dist/{chunk-SZS5GQ4P.js → chunk-WQCL3W7S.js} +6 -6
- package/dist/{chunk-BAZEM6A5.js → chunk-WQYECJM7.js} +1 -1
- package/dist/{chunk-IOTFP3WG.js → chunk-X7WSH6LC.js} +4 -4
- package/dist/{chunk-H2M655JV.js → chunk-XE7J3P65.js} +1 -1
- package/dist/{chunk-JKZNJDPI.js → chunk-XEWJSAYJ.js} +2 -2
- package/dist/{chunk-YZGKBT6I.js → chunk-XX3LFLRL.js} +1 -1
- package/dist/{chunk-JALBF3NN.js → chunk-YCQNGQBN.js} +2 -2
- package/dist/{chunk-JBZHTBVZ.js → chunk-YL7IS222.js} +5 -5
- package/dist/{chunk-OCOOPIFG.js → chunk-YUZMQIFF.js} +5 -5
- package/dist/{chunk-KIDOILM5.js → chunk-YYNHXTUR.js} +1 -1
- package/dist/{chunk-FVUPVLZT.js → chunk-ZENZUSTC.js} +2 -2
- package/dist/{chunk-HTOT6MTO.js → chunk-ZPMJTP6N.js} +3 -3
- package/dist/{codex-app-cards-switch-NBQ67I4A.js → codex-app-cards-switch-46ZWEF7W.js} +11 -11
- package/dist/{codex-card-routing-NI7PPFQX.js → codex-card-routing-DIWEEIHR.js} +2 -2
- package/dist/{codex-desktop-launch-HJHD5DVS.js → codex-desktop-launch-ZPKZE3U6.js} +1 -1
- package/dist/{codex-session-launch-OO6WJMCA.js → codex-session-launch-VL2UKF3X.js} +20 -20
- package/dist/{config-RBQEVYOH.js → config-2NLURVCE.js} +3 -3
- package/dist/{global-upgrade-TF2D2VMG.js → global-upgrade-FZWODA3N.js} +9 -9
- package/dist/{identity-7YMAJTX6.js → identity-6YAS6M3P.js} +4 -4
- package/dist/{live-capabilities-FOOBZAR5.js → live-capabilities-ELR2PZ6B.js} +4 -4
- package/dist/{paths-BKI4YSPZ.js → paths-GIPZJ7LI.js} +3 -3
- package/dist/reapply-56OSKAMH.js +74 -0
- package/dist/src/index.d.ts +6 -1
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-ABZFJEJV.js → upgrade-lock-N7T2FTOI.js} +4 -4
- package/dist/{usage-BXXD7A4W.js → usage-3QWXHYRT.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-VQAXPC7J.js +0 -74
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-436G6M2Q.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B2SCB7HA.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N3IUIVOF.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZENZUSTC.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-INUTZSZ2.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-EBNEIECN.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VVXZCLXU.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-232N6YYN.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VGGJ6JUL.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-EBNEIECN.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
openCodePluginArgv,
|
|
4
4
|
openCodePluginModule,
|
|
5
5
|
renderOpenCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MFWRUMYT.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENCODE_FAILED_EVENT,
|
|
9
9
|
OPENCODE_IDLE_EVENT,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
OPENCODE_PLUGIN_SIBLING,
|
|
13
13
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
14
14
|
OPENCODE_SUBAGENT_IDLE_EVENT
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XX3LFLRL.js";
|
|
16
16
|
import {
|
|
17
17
|
compatibleConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YL7IS222.js";
|
|
19
19
|
import {
|
|
20
20
|
hookOwnerOf,
|
|
21
21
|
hookOwnerOfCommands
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-X7WSH6LC.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_CHOICES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2ITBFEMY.js";
|
|
26
26
|
import {
|
|
27
27
|
OPENCODE_INSTRUCTIONS_LABEL,
|
|
28
28
|
bridgeStub,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveBridgeStub,
|
|
37
37
|
vscodePluginDir,
|
|
38
38
|
windowsNodeLauncherFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2XFZE4WB.js";
|
|
40
40
|
import {
|
|
41
41
|
readJsonSafe
|
|
42
42
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
OPENCODE_APPROVAL_EVENT,
|
|
47
47
|
hookCompatibleProfile,
|
|
48
48
|
isRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-EBNEIECN.js";
|
|
50
50
|
|
|
51
51
|
// src/opencode-config.ts
|
|
52
52
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2XFZE4WB.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-EBNEIECN.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JGZCD72E.js";
|
|
4
4
|
import {
|
|
5
5
|
matchMacAccountStep,
|
|
6
6
|
retryAgentCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4JHJRVPH.js";
|
|
8
8
|
import {
|
|
9
9
|
canChangeApprovalSettings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-436G6M2Q.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND,
|
|
13
13
|
npmExecSetupCommandFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-INUTZSZ2.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-EBNEIECN.js";
|
|
25
25
|
|
|
26
26
|
// src/setup/closing.ts
|
|
27
27
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7XPV5DIV.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X7WSH6LC.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-232N6YYN.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-E3VBNFAY.js";
|
|
28
28
|
import {
|
|
29
29
|
transcriptEnvironmentPreference,
|
|
30
30
|
transcriptsEnabled
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GR4MDWJB.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-DZABHISP.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2EXFFIJ4.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-2XFZE4WB.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZENZUSTC.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-EBNEIECN.js";
|
|
65
65
|
|
|
66
66
|
// src/transcript-registration.ts
|
|
67
67
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -2,30 +2,30 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OPFQNM7J.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PPRXZTIA.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EO6IGXP2.js";
|
|
13
13
|
import {
|
|
14
14
|
reportMachineDenial
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JM5BGRF7.js";
|
|
16
16
|
import {
|
|
17
17
|
isGatingMoment,
|
|
18
18
|
recordKeylessMoment
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EP3XTWKM.js";
|
|
20
20
|
import {
|
|
21
21
|
isAdmitted,
|
|
22
22
|
readAdmissionRules
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NISPP3L6.js";
|
|
24
24
|
import {
|
|
25
25
|
activeHookSource,
|
|
26
26
|
activeIdentity,
|
|
27
27
|
namedSource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YL7IS222.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_SESSION,
|
|
31
31
|
allow,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
storedWaitDeadline,
|
|
67
67
|
sweepFilesOlderThan,
|
|
68
68
|
userScope
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VVXZCLXU.js";
|
|
70
70
|
import {
|
|
71
71
|
UNNAMED_ACTION,
|
|
72
72
|
deriveAction,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
patchDeletesFiles,
|
|
78
78
|
permissionDeniedAction,
|
|
79
79
|
scopePathFor
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-232N6YYN.js";
|
|
81
81
|
import {
|
|
82
82
|
askUser,
|
|
83
83
|
cancelQuestion,
|
|
@@ -92,30 +92,30 @@ import {
|
|
|
92
92
|
sendNotification,
|
|
93
93
|
waitForQuestion,
|
|
94
94
|
withdrawQuestion
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-R236FVD5.js";
|
|
96
96
|
import {
|
|
97
97
|
branchFor,
|
|
98
98
|
projectNameFor,
|
|
99
99
|
repoKeyFor,
|
|
100
100
|
repositoryScopeFor
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-VGGJ6JUL.js";
|
|
102
102
|
import {
|
|
103
103
|
getMachineId
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-2RUMZE2W.js";
|
|
105
105
|
import {
|
|
106
106
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-2XFZE4WB.js";
|
|
108
108
|
import {
|
|
109
109
|
getApiKey,
|
|
110
110
|
getBaseUrl,
|
|
111
111
|
isMalformedApiKeyError
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-ZENZUSTC.js";
|
|
113
113
|
import {
|
|
114
114
|
writeFileAtomic
|
|
115
115
|
} from "./chunk-PM2NRK6Y.js";
|
|
116
116
|
import {
|
|
117
117
|
NPX_LATEST_COMMAND
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-INUTZSZ2.js";
|
|
119
119
|
import {
|
|
120
120
|
AGENT_QUESTION_STRATEGY,
|
|
121
121
|
AGENT_QUESTION_TOOL,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
terminalStaysLiveForTheCall,
|
|
184
184
|
timeoutActionWithoutLocalPrompt,
|
|
185
185
|
unapprovedScopeReason
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-EBNEIECN.js";
|
|
187
187
|
|
|
188
188
|
// src/terminal-answer-watch.ts
|
|
189
189
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -700,7 +700,7 @@ var claudeGateInput = (modeState, config, input, canonical) => {
|
|
|
700
700
|
...repositoryScopeFor(input.cwd),
|
|
701
701
|
sessionId: input.session_id,
|
|
702
702
|
permissionMode: permissionsOffLineAppliesTo(ACTIVE_AGENT.type) ? input.permission_mode : void 0,
|
|
703
|
-
deletesFiles: patchDeletesFiles(input.tool_name, input.tool_input ?? {}),
|
|
703
|
+
deletesFiles: canonical?.deletesFiles ?? patchDeletesFiles(input.tool_name, input.tool_input ?? {}),
|
|
704
704
|
currentBranch: currentBranchOfAPush(toolName, toolInputs, input.cwd)
|
|
705
705
|
};
|
|
706
706
|
};
|
|
@@ -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-FZWBPBK5.js");
|
|
540
|
+
var loadTheCardRouting = () => import("./codex-card-routing-DIWEEIHR.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-46ZWEF7W.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,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-XX3LFLRL.js";
|
|
10
10
|
|
|
11
11
|
// src/opencode-runtime-bundle.ts
|
|
12
12
|
var openCodeRuntimeSource = `import { spawn } from 'child_process';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTQRYOUL.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2EXFFIJ4.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2XFZE4WB.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-PM2NRK6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EBNEIECN.js";
|
|
17
17
|
|
|
18
18
|
// src/shared-mcp-key.ts
|
|
19
19
|
var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPQVCRXM.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-TBICLJ75.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-EBNEIECN.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
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUBKBGRX.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZENZUSTC.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EBNEIECN.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cursorGateOwnsClaudeCall,
|
|
3
3
|
readCursorGateRegistration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QBEM25H5.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LLEMAWUQ.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YL7IS222.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R236FVD5.js";
|
|
14
14
|
import {
|
|
15
15
|
claudeShapedHookInput,
|
|
16
16
|
hookCompatibleProfileBySource,
|
|
17
17
|
isGrokHookPayload,
|
|
18
18
|
isGrokSessionEndStop
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EBNEIECN.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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CODEX_HOOK_STATUS,
|
|
3
3
|
HERMES_HISTORY_HELPER_COMMAND
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPMJTP6N.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_SHELL_TOOL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FXGW5PYE.js";
|
|
11
11
|
import {
|
|
12
12
|
retryAgentCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4JHJRVPH.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-INUTZSZ2.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/codex-trust.ts
|
|
19
19
|
var CODEX_TRUST_TELEMETRY = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VVXZCLXU.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2XFZE4WB.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2XFZE4WB.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TBICLJ75.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EBNEIECN.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MHOW2X3O.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-436G6M2Q.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N3IUIVOF.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-2EXFFIJ4.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EBNEIECN.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FXGW5PYE.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCLAW_MIN_VERSION,
|
|
24
24
|
OPENCLAW_PLUGIN_ID,
|
|
25
25
|
OPENCLAW_PLUGIN_PACKAGE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OTLSLAYC.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4JHJRVPH.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZENZUSTC.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonSafe,
|
|
35
35
|
writeJsonAtomic
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readSetupOutcomeProperties,
|
|
39
39
|
redactSecretsFromContent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EBNEIECN.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeConfigDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2XFZE4WB.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePermissionRulesFromSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EBNEIECN.js";
|
|
7
7
|
|
|
8
8
|
// src/claude-permission-rules.ts
|
|
9
9
|
import { readFileSync, statSync } from "fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YL7IS222.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X7WSH6LC.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2XFZE4WB.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EBNEIECN.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X7WSH6LC.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-2XFZE4WB.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TBICLJ75.js";
|
|
15
15
|
import {
|
|
16
16
|
CURSOR_GATE_COVERAGE,
|
|
17
17
|
CURSOR_GATE_SCRIPT,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EBNEIECN.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|