pushary 1.9.233 → 1.9.235
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 +18 -0
- package/README.md +29 -3
- package/data/cursor-plugin/README.md +30 -3
- package/data/openclaw-plugin/README.md +26 -0
- package/data/openclaw-plugin/package.json +1 -1
- package/data/vscode-plugin/README.md +30 -3
- package/dist/{api-OGSNXX5I.js → api-UVFEVNJD.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 +8 -5
- package/dist/bin/pushary-doctor.js +47 -47
- 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 +35 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +31 -31
- 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 +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 +367 -109
- 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 +26 -26
- 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-3DME4GIN.js → chunk-2QUYUFYQ.js} +7 -7
- package/dist/{chunk-LFJOCVHG.js → chunk-3B5FQ542.js} +2 -2
- package/dist/{chunk-22N3UUS4.js → chunk-3C2XMGXE.js} +3 -3
- package/dist/{chunk-TAXD56ZD.js → chunk-3K2S4OW7.js} +10 -33
- package/dist/{chunk-XO64RMVL.js → chunk-3QQY5USW.js} +4 -4
- package/dist/{chunk-A6VE7WBN.js → chunk-4CEGJAEB.js} +1 -1
- package/dist/{chunk-GA4IZMXT.js → chunk-4QQ3HXGR.js} +3 -3
- package/dist/{chunk-KVLYD2EE.js → chunk-4UIVOCDT.js} +1 -1
- package/dist/{chunk-FFMM7VZH.js → chunk-52PIW2SN.js} +3 -3
- package/dist/{chunk-KGMSC4Y4.js → chunk-5DRTR5FC.js} +5 -5
- package/dist/{chunk-DOC3PQTD.js → chunk-5QLIXOVT.js} +1 -1
- package/dist/{chunk-RXLKOYN3.js → chunk-6H3RBEHP.js} +1 -1
- package/dist/{chunk-X6GHL4KM.js → chunk-7B2DHU32.js} +16 -16
- package/dist/{chunk-LYO34MJ4.js → chunk-7MRK2WXT.js} +4 -3
- package/dist/{chunk-KHL6NLZN.js → chunk-7XCL66ON.js} +2 -2
- package/dist/{chunk-WNZR4KFV.js → chunk-A2GO3G2I.js} +6 -6
- package/dist/{chunk-UKBHJNN4.js → chunk-AA54OZM2.js} +5 -5
- package/dist/{chunk-Q473YQNT.js → chunk-BBZ3BBZC.js} +4 -4
- package/dist/{chunk-GIF3SFYU.js → chunk-BJRPBKE7.js} +12 -4
- package/dist/{chunk-WHMZT7EG.js → chunk-CSXA4HMV.js} +2 -2
- package/dist/{chunk-SOIG3VQU.js → chunk-DN6HPGCI.js} +5 -5
- package/dist/{chunk-2SHF7DI5.js → chunk-DW7ZQX7L.js} +1 -1
- package/dist/{chunk-PKENJCUM.js → chunk-E6IFBGZF.js} +2 -2
- package/dist/{chunk-HWQFHEHX.js → chunk-EINN22XV.js} +2 -2
- package/dist/{chunk-MHGXV2UI.js → chunk-ELP65DFC.js} +1 -1
- package/dist/{chunk-3ZDGQGBL.js → chunk-FCQ52N4E.js} +8 -8
- package/dist/{chunk-SHAZ6DT6.js → chunk-FEVQDABQ.js} +2 -2
- package/dist/{chunk-XT7RG6WO.js → chunk-FKX7SWNT.js} +7 -7
- package/dist/{chunk-TM5LRIUB.js → chunk-FMWG4X3D.js} +5 -5
- package/dist/{chunk-KAO2GIZQ.js → chunk-FUJZW3R5.js} +1 -1
- package/dist/{chunk-AX6S5V22.js → chunk-FZN7TKSM.js} +1 -1
- package/dist/{chunk-G6ZSGVZL.js → chunk-G5EKU4RB.js} +3 -3
- package/dist/{chunk-4UKOA6F5.js → chunk-G5OTSL26.js} +3 -3
- package/dist/{chunk-HCKJEXJJ.js → chunk-GPD4BB76.js} +1 -1
- package/dist/{chunk-546OR2Y5.js → chunk-GSB62GNT.js} +4 -4
- package/dist/{chunk-X5M3LLDZ.js → chunk-H4364HR3.js} +5 -5
- package/dist/{chunk-X275KIXO.js → chunk-H5TBR4BB.js} +5 -5
- package/dist/{chunk-CIT3XX7B.js → chunk-HDD23XYP.js} +11 -11
- package/dist/{chunk-JGEIHCPR.js → chunk-HI3LOBT5.js} +9 -7
- package/dist/{chunk-4PWUPWPY.js → chunk-HJSW3MH2.js} +2 -2
- package/dist/{chunk-KBZJUOJJ.js → chunk-HPFGXE6Y.js} +6 -6
- package/dist/{chunk-5JB4JJF5.js → chunk-ICLT2KA5.js} +1 -1
- package/dist/{chunk-UDPXFSUQ.js → chunk-JF3ONE4H.js} +2 -2
- package/dist/{chunk-WNSBSSTB.js → chunk-JF4VX754.js} +1 -1
- package/dist/{chunk-FG2EF7PP.js → chunk-JFXYGMV5.js} +4 -4
- package/dist/{chunk-OC5SCORI.js → chunk-JM6EAV42.js} +5 -5
- package/dist/{chunk-V6YWRP4V.js → chunk-JPKOYDQJ.js} +6 -6
- package/dist/{chunk-RXXHQXMO.js → chunk-JYFMVOML.js} +1 -1
- package/dist/{chunk-JZZ62IV5.js → chunk-K6PBTBLO.js} +4 -4
- package/dist/{chunk-ARBMPOYR.js → chunk-KTJHZVCD.js} +3 -3
- package/dist/{chunk-5F2FKQQ6.js → chunk-LDX3KQMJ.js} +2 -2
- package/dist/{chunk-FZMLD3MF.js → chunk-LIYQSMYK.js} +4 -4
- package/dist/{chunk-ETIAYTAI.js → chunk-M64A2Z2F.js} +1 -1
- package/dist/{chunk-2UUCN62T.js → chunk-MHZSIN5K.js} +3 -3
- package/dist/{chunk-LW4AG6EP.js → chunk-MN6DXDJR.js} +6 -6
- package/dist/{chunk-WNWN4U2V.js → chunk-MQSO2S3H.js} +1 -1
- package/dist/{chunk-A54UFNGF.js → chunk-NDXTGRZG.js} +1 -1
- package/dist/{chunk-KABI55PA.js → chunk-OSDIFFSP.js} +3 -3
- package/dist/{chunk-32ZIGQNS.js → chunk-OV2XD2UY.js} +1 -1
- package/dist/{chunk-EVGZE3TK.js → chunk-Q5SVRCFU.js} +1 -1
- package/dist/{chunk-JGVXURHK.js → chunk-RV5LIW3K.js} +12 -12
- package/dist/{chunk-ML6AWSKK.js → chunk-SFIYMKWT.js} +5 -5
- package/dist/{chunk-PYMLNBAY.js → chunk-TAXOI6AK.js} +4 -4
- package/dist/{chunk-URMAZGQN.js → chunk-TGM2WHUG.js} +2 -2
- package/dist/{chunk-GKWFLK7K.js → chunk-TMN7LKDC.js} +7 -7
- package/dist/{chunk-2R5HU7EL.js → chunk-TWACA7ER.js} +9 -9
- package/dist/{chunk-TAW3Z5NA.js → chunk-UIBQDALO.js} +3 -3
- package/dist/{chunk-J2GQIBMK.js → chunk-ULDUDSTW.js} +6 -2
- package/dist/{chunk-W7HK5KMH.js → chunk-URDT623B.js} +1 -1
- package/dist/{chunk-E6XGP76X.js → chunk-V4ZQBKI6.js} +1 -1
- package/dist/{chunk-KJMIFUE2.js → chunk-V7ULGI7U.js} +4 -4
- package/dist/{chunk-QHR2T5EW.js → chunk-VPG6QENY.js} +10 -10
- package/dist/{chunk-HU5IFHHG.js → chunk-WMCF6PR5.js} +3 -3
- package/dist/{chunk-J4X5T5DO.js → chunk-WVJFHP75.js} +1 -1
- package/dist/{chunk-MBYHALGD.js → chunk-WY2UKKLD.js} +1 -1
- package/dist/{chunk-C4SPXQAE.js → chunk-X4G5G2ZN.js} +2 -2
- package/dist/{chunk-TJYY2ZNV.js → chunk-XGW4PJPO.js} +2 -2
- package/dist/{chunk-W6N2MU2G.js → chunk-XYRXKL3V.js} +1 -1
- package/dist/{chunk-X2BMTMY2.js → chunk-Z5EWWGD2.js} +5 -5
- package/dist/{chunk-AAP2HENZ.js → chunk-Z7LAWFZ7.js} +4 -3
- package/dist/{chunk-C4PGW3PU.js → chunk-ZPQPTIIY.js} +2 -2
- package/dist/{codex-app-cards-switch-MBJFUQBT.js → codex-app-cards-switch-DBFQJU3Y.js} +11 -11
- package/dist/{codex-card-routing-LAM2ADY2.js → codex-card-routing-TKG7LOP4.js} +2 -2
- package/dist/{codex-desktop-launch-LB4RWOSI.js → codex-desktop-launch-UXMYKS5C.js} +3 -3
- package/dist/{codex-session-launch-PRWQGIGE.js → codex-session-launch-5NOJKDWN.js} +20 -20
- package/dist/{config-BBTWVECF.js → config-HHUSXJZE.js} +3 -3
- package/dist/{global-upgrade-C6HNF5OW.js → global-upgrade-J2NB62DV.js} +9 -9
- package/dist/{identity-7PUBPQNU.js → identity-7O3ZBVUY.js} +4 -4
- package/dist/{live-capabilities-ZAQZQQR4.js → live-capabilities-773SVQWH.js} +4 -4
- package/dist/{paths-ZALQKETP.js → paths-VZXMX35O.js} +3 -3
- package/dist/{reapply-JWQ5H3RL.js → reapply-7MIBK2WB.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-UWYE4CPX.js → upgrade-lock-WWTTPOIZ.js} +4 -4
- package/dist/{usage-BR4DQNAS.js → usage-PHTLHFL2.js} +3 -3
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KTJHZVCD.js";
|
|
9
9
|
import {
|
|
10
10
|
hermesReceiptPaths,
|
|
11
11
|
hermesSetupPredatesThePluginFolder,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
refreshHermesPluginFiles,
|
|
15
15
|
refreshOpenClawPlugin,
|
|
16
16
|
shippedHermesPlugin
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2QUYUFYQ.js";
|
|
18
18
|
import {
|
|
19
19
|
fxIgnoresInstructionsFile,
|
|
20
20
|
fxInstructionsBody,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
macAppFxBridge,
|
|
24
24
|
refreshClineKey,
|
|
25
25
|
switchFxHttpEntryToBridge
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SFIYMKWT.js";
|
|
27
27
|
import {
|
|
28
28
|
OPENCODE_HOOK_BINARY,
|
|
29
29
|
agentHookOwner,
|
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
openCodePluginDir,
|
|
37
37
|
openCodeWired,
|
|
38
38
|
withOpenCodeAskRules
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FKX7SWNT.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Q5SVRCFU.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FMWG4X3D.js";
|
|
49
49
|
import {
|
|
50
50
|
GEMINI_HOOK_BINARY,
|
|
51
51
|
addGeminiHooks,
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
geminiWired,
|
|
58
58
|
hasGeminiHooks,
|
|
59
59
|
planHooks
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-K6PBTBLO.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XYRXKL3V.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WMCF6PR5.js";
|
|
67
67
|
import {
|
|
68
68
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
69
69
|
CLAUDE_HOOK_BINARY,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
renderAgentInstructions,
|
|
111
111
|
supportedClaudeEvents,
|
|
112
112
|
vscodePluginMcp
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-FEVQDABQ.js";
|
|
114
114
|
import {
|
|
115
115
|
formatVersion
|
|
116
116
|
} from "./chunk-6ICPEJY5.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
hookCommandsUseBareNames,
|
|
119
119
|
resolveGlobalBinDir,
|
|
120
120
|
resolveGlobalBinary
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-JFXYGMV5.js";
|
|
122
122
|
import {
|
|
123
123
|
readJsonSafe,
|
|
124
124
|
writeFileAtomic,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
HOOK_COMPATIBLE_PROFILES,
|
|
129
129
|
isCompatibleAgentType,
|
|
130
130
|
isRecord
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ULDUDSTW.js";
|
|
132
132
|
|
|
133
133
|
// src/reapply.ts
|
|
134
134
|
import { dirname, join } from "path";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MHZSIN5K.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GSB62GNT.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WMCF6PR5.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-FEVQDABQ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JFXYGMV5.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-WHB622LP.js";
|
|
5
5
|
import {
|
|
6
6
|
keyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WMCF6PR5.js";
|
|
8
8
|
import {
|
|
9
9
|
keyPrefixToShow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XGW4PJPO.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7MRK2WXT.js";
|
|
14
14
|
import {
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ULDUDSTW.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/key-account.ts
|
|
19
19
|
var isKeyHeldByMacApp = (key, holder) => holder.macAppInstalled && holder.macAppKey === key;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FEVQDABQ.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-ULDUDSTW.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7XCL66ON.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZPQPTIIY.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FZN7TKSM.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl,
|
|
14
14
|
checkApiKey,
|
|
15
15
|
describeKeyCheck,
|
|
16
16
|
keyCheckFromResponse
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G5OTSL26.js";
|
|
18
18
|
import {
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WMCF6PR5.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XGW4PJPO.js";
|
|
24
24
|
import {
|
|
25
25
|
EXIT
|
|
26
26
|
} from "./chunk-BG4HHB7E.js";
|
|
27
27
|
import {
|
|
28
28
|
KEY_SCOPE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ULDUDSTW.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LDX3KQMJ.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EINN22XV.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FKX7SWNT.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GPD4BB76.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UIBQDALO.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FMWG4X3D.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K6PBTBLO.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseHookArgv,
|
|
56
56
|
parseHookCommand,
|
|
57
57
|
supportedClaudeEvents
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-FEVQDABQ.js";
|
|
59
59
|
import {
|
|
60
60
|
readRegularJsonFile,
|
|
61
61
|
readRegularTextFile
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
OPENCODE_APPROVAL_EVENT,
|
|
70
70
|
isRecord,
|
|
71
71
|
matcherMatchesEveryCall
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ULDUDSTW.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K6PBTBLO.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-FEVQDABQ.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-ULDUDSTW.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -3328,12 +3328,13 @@ var RISK_REASONS_PER_STEP_MAX = 2;
|
|
|
3328
3328
|
var NORMAL_APPROVAL_RISK = { level: APPROVAL_RISK_LEVEL.normal, reasons: [] };
|
|
3329
3329
|
var UNCHECKED_STEP_RISK = { level: APPROVAL_RISK_LEVEL.risky, reasons: [RISK_REASON.couldNotCheck] };
|
|
3330
3330
|
var remoteApproveFor = (risk) => risk.level === APPROVAL_RISK_LEVEL.normal;
|
|
3331
|
-
var RISK_CONFIRMATIONS = ["device_auth", "sheet_and_device_auth", "web_confirm", "notch_confirm"];
|
|
3331
|
+
var RISK_CONFIRMATIONS = ["device_auth", "sheet_and_device_auth", "web_confirm", "notch_confirm", "call_confirm"];
|
|
3332
3332
|
var RISK_CONFIRMATION = {
|
|
3333
3333
|
deviceAuth: "device_auth",
|
|
3334
3334
|
sheetAndDeviceAuth: "sheet_and_device_auth",
|
|
3335
3335
|
webConfirm: "web_confirm",
|
|
3336
|
-
notchConfirm: "notch_confirm"
|
|
3336
|
+
notchConfirm: "notch_confirm",
|
|
3337
|
+
callConfirm: "call_confirm"
|
|
3337
3338
|
};
|
|
3338
3339
|
var ACKNOWLEDGED_RISK_LEVELS = [APPROVAL_RISK_LEVEL.risky, APPROVAL_RISK_LEVEL.mismatch];
|
|
3339
3340
|
var LEGACY_FLAGGED_RISK = { level: APPROVAL_RISK_LEVEL.risky, reasons: [] };
|
|
@@ -3380,6 +3381,7 @@ var TEAM_SETTING_REFUSALS = {
|
|
|
3380
3381
|
};
|
|
3381
3382
|
var WEB_CONFIRMATION = { risky: [RISK_CONFIRMATION.webConfirm], mismatch: [RISK_CONFIRMATION.webConfirm] };
|
|
3382
3383
|
var NOTCH_CONFIRMATION = { risky: [RISK_CONFIRMATION.notchConfirm], mismatch: [RISK_CONFIRMATION.notchConfirm] };
|
|
3384
|
+
var CALL_CONFIRMATION = { risky: [RISK_CONFIRMATION.callConfirm], mismatch: [RISK_CONFIRMATION.callConfirm] };
|
|
3383
3385
|
var PHONE_CONFIRMATION = {
|
|
3384
3386
|
risky: [RISK_CONFIRMATION.deviceAuth, RISK_CONFIRMATION.sheetAndDeviceAuth],
|
|
3385
3387
|
mismatch: [RISK_CONFIRMATION.sheetAndDeviceAuth]
|
|
@@ -4689,6 +4691,7 @@ var readSetupOutcomeProperties = (body) => {
|
|
|
4689
4691
|
os: readOptional(body.os, isComputerOs)
|
|
4690
4692
|
};
|
|
4691
4693
|
};
|
|
4694
|
+
var SETUP_STOPPED_PATH = "/api/agent/setup-stopped";
|
|
4692
4695
|
|
|
4693
4696
|
// ../contracts/src/policy-capabilities.ts
|
|
4694
4697
|
var POLICY_REQUEST_CAPABILITIES_HEADER = "x-pushary-policy-capabilities";
|
|
@@ -11387,6 +11390,7 @@ export {
|
|
|
11387
11390
|
readSetupAgentFailures,
|
|
11388
11391
|
isSetupConnectMode,
|
|
11389
11392
|
readSetupOutcomeProperties,
|
|
11393
|
+
SETUP_STOPPED_PATH,
|
|
11390
11394
|
POLICY_REQUEST_CAPABILITIES_HEADER,
|
|
11391
11395
|
CLI_POLICY_REQUEST_CAPABILITIES,
|
|
11392
11396
|
policyRequestCapabilitiesHeaderValue,
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HDD23XYP.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WVJFHP75.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4UIVOCDT.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-ULDUDSTW.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JPKOYDQJ.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K6PBTBLO.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WVJFHP75.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-52PIW2SN.js";
|
|
28
28
|
import {
|
|
29
29
|
transcriptEnvironmentPreference,
|
|
30
30
|
transcriptsEnabled
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XYRXKL3V.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-NDXTGRZG.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WMCF6PR5.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FEVQDABQ.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XGW4PJPO.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-ULDUDSTW.js";
|
|
65
65
|
|
|
66
66
|
// src/transcript-registration.ts
|
|
67
67
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4G5G2ZN.js";
|
|
4
4
|
import {
|
|
5
5
|
apiKeyInForce,
|
|
6
6
|
configFilePath,
|
|
7
7
|
keyPrefixToShow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XGW4PJPO.js";
|
|
9
9
|
import {
|
|
10
10
|
backupFile,
|
|
11
11
|
backupFileInto,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
API_KEY_PREFIX_PATTERN,
|
|
18
18
|
isRecord,
|
|
19
19
|
isValidApiKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ULDUDSTW.js";
|
|
21
21
|
|
|
22
22
|
// src/shell-alias.ts
|
|
23
23
|
import { homedir } from "os";
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2QUYUFYQ.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-4QQ3HXGR.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MHZSIN5K.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XGW4PJPO.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-ULDUDSTW.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isSetupConnectMode,
|
|
10
10
|
isValidApiKey,
|
|
11
11
|
normalizeAgentId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ULDUDSTW.js";
|
|
13
13
|
|
|
14
14
|
// src/setup/options.ts
|
|
15
15
|
var AGENT_CHOICES = SETUP_AGENT_CHOICES;
|
|
@@ -39,7 +39,7 @@ var effectiveVerify = (options, context) => {
|
|
|
39
39
|
};
|
|
40
40
|
var effectiveAgentSelection = (selection, context) => selection.kind === "ask" && !context.someoneCanAnswer ? { kind: "auto" } : selection;
|
|
41
41
|
var SETUP_FLAGS = {
|
|
42
|
-
bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "hermes-gate-terminal", "help", "h"],
|
|
42
|
+
bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "hermes-gate-terminal", "verbose", "help", "h"],
|
|
43
43
|
values: ["key", "connect", "agents", "verify", "control", "transcripts"]
|
|
44
44
|
};
|
|
45
45
|
var effectiveControlMode = (options, stored) => options.controlExplicit ? options.control : stored ?? options.control;
|
|
@@ -125,7 +125,8 @@ var parseSetupOptions = (input) => {
|
|
|
125
125
|
controlExplicit: controlRaw !== void 0,
|
|
126
126
|
transcripts: transcriptsRaw === void 0 ? null : transcriptsRaw === "on",
|
|
127
127
|
takeOverHooks: flags.bools.has("take-over-hooks"),
|
|
128
|
-
hermesGateTerminal: flags.bools.has("hermes-gate-terminal")
|
|
128
|
+
hermesGateTerminal: flags.bools.has("hermes-gate-terminal"),
|
|
129
|
+
verbose: flags.bools.has("verbose")
|
|
129
130
|
};
|
|
130
131
|
};
|
|
131
132
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G5OTSL26.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ULDUDSTW.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -22,25 +22,25 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3B5FQ542.js";
|
|
26
|
+
import "./chunk-LIYQSMYK.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-U4P4NDVB.js";
|
|
29
29
|
import "./chunk-QCGNGEGE.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-JPKOYDQJ.js";
|
|
31
31
|
import "./chunk-3PSNUHC5.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-OV2XD2UY.js";
|
|
33
|
+
import "./chunk-WMCF6PR5.js";
|
|
34
|
+
import "./chunk-X4G5G2ZN.js";
|
|
35
|
+
import "./chunk-FEVQDABQ.js";
|
|
36
36
|
import "./chunk-6ICPEJY5.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-JFXYGMV5.js";
|
|
38
|
+
import "./chunk-XGW4PJPO.js";
|
|
39
39
|
import "./chunk-PM2NRK6Y.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-7MRK2WXT.js";
|
|
41
41
|
import "./chunk-BG4HHB7E.js";
|
|
42
42
|
import "./chunk-CXQWDQCJ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-ULDUDSTW.js";
|
|
44
44
|
import "./chunk-MLKGABMK.js";
|
|
45
45
|
export {
|
|
46
46
|
CODEX_APP_CARDS_DIRECTORY,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WVJFHP75.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ULDUDSTW.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-LIYQSMYK.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-JFXYGMV5.js";
|
|
21
21
|
import "./chunk-BG4HHB7E.js";
|
|
22
22
|
import "./chunk-CXQWDQCJ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-ULDUDSTW.js";
|
|
24
24
|
import "./chunk-MLKGABMK.js";
|
|
25
25
|
export {
|
|
26
26
|
CODEX_APP_LAUNCH_VARIABLE,
|