pushary 1.9.111 → 1.9.112
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 +4 -0
- package/dist/{api-AESRTYYT.js → api-3AWH6PR6.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +27 -27
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +25 -25
- package/dist/bin/pushary-clean.js +34 -34
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +32 -32
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +15 -15
- package/dist/bin/pushary-connect.js +28 -28
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +66 -484
- package/dist/bin/pushary-disconnect.js +27 -27
- package/dist/bin/pushary-display-hook.js +17 -17
- package/dist/bin/pushary-doctor.js +42 -42
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +29 -29
- package/dist/bin/pushary-hook.js +32 -32
- package/dist/bin/pushary-login.js +21 -21
- package/dist/bin/pushary-logout.js +26 -26
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +26 -26
- package/dist/bin/pushary-opencode-hook.js +28 -28
- package/dist/bin/pushary-permission-denied-hook.js +32 -32
- package/dist/bin/pushary-permission-hook.js +32 -32
- package/dist/bin/pushary-post-hook.js +26 -26
- package/dist/bin/pushary-prompt-hook.js +26 -26
- package/dist/bin/pushary-session-end-hook.js +26 -26
- package/dist/bin/pushary-session-start-hook.js +35 -35
- package/dist/bin/pushary-setup.js +61 -47
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +32 -32
- package/dist/bin/pushary-stop-hook.js +26 -26
- package/dist/bin/pushary-stopfailure-hook.js +26 -26
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +40 -40
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-GXTW3W45.js → chunk-2SCXLYWI.js} +1 -1
- package/dist/{chunk-DZE26BID.js → chunk-2Y2HEOT6.js} +2 -0
- package/dist/{chunk-CIT4NO5H.js → chunk-3JCT4ABX.js} +34 -13
- package/dist/{chunk-AW7IJ56H.js → chunk-4D53JUQC.js} +4 -4
- package/dist/{chunk-KLCT2YQD.js → chunk-5CHFR4SM.js} +6 -6
- package/dist/{chunk-YHHWO4IU.js → chunk-5HEKYLZD.js} +1 -1
- package/dist/{chunk-56ANL3UO.js → chunk-5TWYZGZY.js} +10 -10
- package/dist/{chunk-NZZFIIH6.js → chunk-66FYIYTH.js} +4 -4
- package/dist/{chunk-4M6VUUTX.js → chunk-6DWWTT2K.js} +3 -3
- package/dist/{chunk-X2XXKXC5.js → chunk-7M5QJE24.js} +3 -3
- package/dist/{chunk-O76PTPKP.js → chunk-BATGR3LA.js} +1 -1
- package/dist/{chunk-YNTB3MIQ.js → chunk-BI7NKEEZ.js} +1 -1
- package/dist/{chunk-ZLLQO4RU.js → chunk-BJ6INBM6.js} +6 -6
- package/dist/{chunk-BH5WEDQ4.js → chunk-BNZOA7RL.js} +1 -1
- package/dist/{chunk-KICQRZAT.js → chunk-BS3IFLU4.js} +1 -1
- package/dist/{chunk-LMECI62A.js → chunk-BSZNW4BV.js} +6 -6
- package/dist/{chunk-54DPX27B.js → chunk-D37U7BKX.js} +1 -1
- package/dist/{chunk-O2MZQPP4.js → chunk-D6KWDBL5.js} +3 -3
- package/dist/{chunk-7HDO5W4C.js → chunk-DO63NPJX.js} +11 -11
- package/dist/{chunk-UN2QALQO.js → chunk-DRXRTLL4.js} +5 -5
- package/dist/{chunk-G42VQNBC.js → chunk-EKIA5CSV.js} +1 -1
- package/dist/{chunk-N2VH44GL.js → chunk-F7F5PTQE.js} +6 -6
- package/dist/{chunk-Y3N7LIFV.js → chunk-FF3UYU76.js} +3 -3
- package/dist/{chunk-37F75NBN.js → chunk-FUFJKR53.js} +2 -2
- package/dist/{chunk-KHWNW4AS.js → chunk-FWFOABQJ.js} +1 -1
- package/dist/{chunk-SDQQ43FT.js → chunk-GJWBVRPF.js} +1 -1
- package/dist/{chunk-YQMARTNQ.js → chunk-HNR23BLB.js} +2 -2
- package/dist/{chunk-SSW4QRGU.js → chunk-IAI6ZRVA.js} +6 -6
- package/dist/{chunk-RFFIAX33.js → chunk-IFJ3XS2R.js} +2 -2
- package/dist/{chunk-Q63L3VBY.js → chunk-J3THYTYM.js} +4 -4
- package/dist/{chunk-3AX5BKYN.js → chunk-JG75WTA6.js} +2 -2
- package/dist/{chunk-OECCPPO6.js → chunk-JY2QQNS4.js} +3 -3
- package/dist/{chunk-X5P3IO37.js → chunk-KBPUTWVR.js} +2 -2
- package/dist/{chunk-R3KDA7JB.js → chunk-KJFCQ5I5.js} +15 -3
- package/dist/{chunk-PYAPWXVP.js → chunk-KSPVTLCC.js} +1 -1
- package/dist/{chunk-262UYDKT.js → chunk-KZ56PDQ2.js} +3 -3
- package/dist/{chunk-YI5I2TF3.js → chunk-LWVOQZ24.js} +3 -3
- package/dist/{chunk-BM32JPXJ.js → chunk-M52Q62SO.js} +7 -7
- package/dist/{chunk-NHDTSA7V.js → chunk-M6U4CXYS.js} +1 -1
- package/dist/chunk-MMHO6RWH.js +454 -0
- package/dist/{chunk-TILEGY4M.js → chunk-MQTXIY32.js} +6 -6
- package/dist/{chunk-5RVL2CQK.js → chunk-MZOJR4TO.js} +3 -3
- package/dist/{chunk-LUFKWK7N.js → chunk-O465JWZH.js} +3 -3
- package/dist/{chunk-YBQF7DCL.js → chunk-OL5DDV6T.js} +1 -1
- package/dist/{chunk-YILMWIZN.js → chunk-OW3WQWBA.js} +2 -2
- package/dist/{chunk-DEHWKUKF.js → chunk-OXME4ZAD.js} +4 -4
- package/dist/{chunk-M73Q37LC.js → chunk-P27ZXTQ6.js} +2 -2
- package/dist/{chunk-5EEW4WIS.js → chunk-PDB5DALK.js} +5 -5
- package/dist/{chunk-RBM2ROSY.js → chunk-PFZGAUTM.js} +1 -1
- package/dist/{chunk-FE7HSLTK.js → chunk-PKVNCWKH.js} +5 -5
- package/dist/{chunk-LDE7L7XO.js → chunk-QGZ4BPFE.js} +4 -4
- package/dist/{chunk-QVGE26SZ.js → chunk-QVGVFLKO.js} +4 -4
- package/dist/{chunk-LTVILMEZ.js → chunk-QXRW4G7Q.js} +2 -2
- package/dist/{chunk-G2TTGQ5A.js → chunk-RDUOOCAQ.js} +10 -10
- package/dist/{chunk-QQMT2JIC.js → chunk-RXIZTNVQ.js} +3 -3
- package/dist/{chunk-NUU2JVOG.js → chunk-SLMDTNKA.js} +3 -3
- package/dist/{chunk-PTBWLU4G.js → chunk-SOVLQH6W.js} +5 -5
- package/dist/{chunk-YXFLZ2LO.js → chunk-SZQKXQIX.js} +2 -2
- package/dist/{chunk-WO46WX65.js → chunk-TC6TGMST.js} +2 -2
- package/dist/{chunk-XJ4PMNCR.js → chunk-TCRITVSK.js} +1 -1
- package/dist/{chunk-4AKZALX4.js → chunk-TFZUWGXG.js} +14 -14
- package/dist/{chunk-EPMIBLCE.js → chunk-TTIMLMWS.js} +5 -5
- package/dist/{chunk-2MOWY5QL.js → chunk-UEXWOQWA.js} +5 -5
- package/dist/{chunk-NVPCETJ3.js → chunk-UORHVH4P.js} +1 -1
- package/dist/{chunk-75UJ7W6H.js → chunk-VQ4C6Y2C.js} +2 -2
- package/dist/{chunk-76ATPJN2.js → chunk-VTK353JE.js} +4 -4
- package/dist/{chunk-PCFIYMK4.js → chunk-WOI2LYGL.js} +2 -2
- package/dist/{chunk-RUORT3DE.js → chunk-WQ5FG3ED.js} +5 -5
- package/dist/{chunk-VA4OGALQ.js → chunk-YAULUCRG.js} +2 -2
- package/dist/{chunk-FYVRA5GN.js → chunk-ZF2GMORS.js} +1 -1
- package/dist/{codex-app-cards-switch-SXY732CY.js → codex-app-cards-switch-XJAPXIM4.js} +11 -11
- package/dist/{codex-card-routing-K5FNOTBK.js → codex-card-routing-MT2V4TZW.js} +2 -2
- package/dist/{codex-desktop-launch-SMWGCLWW.js → codex-desktop-launch-T236LJJF.js} +1 -1
- package/dist/{codex-session-launch-MDMNYCCG.js → codex-session-launch-AHN34OHP.js} +18 -18
- package/dist/{config-3R7UVC67.js → config-DVOF7LRQ.js} +3 -3
- package/dist/{global-upgrade-2BXXJQHR.js → global-upgrade-RMJEXXYL.js} +9 -9
- package/dist/{identity-N45XKYBA.js → identity-3GG54AII.js} +4 -4
- package/dist/{live-capabilities-YT7CENI2.js → live-capabilities-AF5VHAIS.js} +4 -4
- package/dist/{paths-A2TITMY3.js → paths-IAK4623I.js} +3 -3
- package/dist/{reapply-O4TGPUVZ.js → reapply-HTAXDM76.js} +28 -28
- package/dist/src/index.js +31 -31
- package/dist/{upgrade-lock-HYD3MFFS.js → upgrade-lock-CNS3ST2M.js} +4 -4
- package/dist/{usage-PTPB2XF6.js → usage-GPRH7WHQ.js} +3 -3
- package/package.json +1 -1
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FF3UYU76.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D6KWDBL5.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SLMDTNKA.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-WOI2LYGL.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RXIZTNVQ.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readMacAppAgentKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VTK353JE.js";
|
|
4
4
|
import {
|
|
5
5
|
API_KEYS_PATH
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VQ4C6Y2C.js";
|
|
7
7
|
import {
|
|
8
8
|
absoluteUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JY2QQNS4.js";
|
|
10
10
|
import {
|
|
11
11
|
findExportedKeyLines,
|
|
12
12
|
isAdoptedMacAppKey,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
readConfigFileKey,
|
|
17
17
|
readKeySource,
|
|
18
18
|
readMacAppKeyPrefix
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SLMDTNKA.js";
|
|
20
20
|
import {
|
|
21
21
|
isValidApiKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
23
23
|
|
|
24
24
|
// src/key-revocation.ts
|
|
25
25
|
var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
reachVerdict,
|
|
13
13
|
reachesYou,
|
|
14
14
|
verifyDelivery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F7F5PTQE.js";
|
|
16
16
|
import {
|
|
17
17
|
humanIsTty,
|
|
18
18
|
writeHuman
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
} from "./chunk-FO3MDD26.js";
|
|
25
25
|
import {
|
|
26
26
|
reportedInstallSource
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QXRW4G7Q.js";
|
|
28
28
|
import {
|
|
29
29
|
NPX_LATEST_COMMAND
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FWFOABQJ.js";
|
|
31
31
|
import {
|
|
32
32
|
NO_PAIRING_COMPUTER,
|
|
33
33
|
PAIR_TTL_SECONDS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
35
35
|
|
|
36
36
|
// src/onboarding.ts
|
|
37
37
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-66FYIYTH.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-WOI2LYGL.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RXIZTNVQ.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-2Y2HEOT6.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JG75WTA6.js";
|
|
4
4
|
import {
|
|
5
5
|
hermesReceiptPaths,
|
|
6
6
|
hermesSetupPredatesThePluginFolder,
|
|
7
7
|
installHermesPlugin,
|
|
8
8
|
refreshHermesPluginFiles,
|
|
9
9
|
shippedHermesPlugin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6DWWTT2K.js";
|
|
11
11
|
import {
|
|
12
12
|
fxIgnoresInstructionsFile,
|
|
13
13
|
fxInstructionsBody,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
macAppFxBridge,
|
|
17
17
|
refreshClineKey,
|
|
18
18
|
switchFxHttpEntryToBridge
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PDB5DALK.js";
|
|
20
20
|
import {
|
|
21
21
|
OPENCODE_HOOK_BINARY,
|
|
22
22
|
agentHookOwner,
|
|
@@ -28,16 +28,16 @@ import {
|
|
|
28
28
|
openCodePluginDir,
|
|
29
29
|
openCodeWired,
|
|
30
30
|
withOpenCodeAskRules
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DRXRTLL4.js";
|
|
32
32
|
import {
|
|
33
33
|
detectClaudeVersion
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TC6TGMST.js";
|
|
35
35
|
import {
|
|
36
36
|
addCompatibleHooks,
|
|
37
37
|
compatibleConfigFile,
|
|
38
38
|
compatibleInstructionsFile,
|
|
39
39
|
hasCompatibleHooks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WQ5FG3ED.js";
|
|
41
41
|
import {
|
|
42
42
|
GEMINI_HOOK_BINARY,
|
|
43
43
|
addGeminiHooks,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
geminiWired,
|
|
50
50
|
hasGeminiHooks,
|
|
51
51
|
planHooks
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-66FYIYTH.js";
|
|
53
53
|
import {
|
|
54
54
|
CLAUDE_HOOK_BINARY,
|
|
55
55
|
CLAUDE_HOOK_EVENTS,
|
|
@@ -95,13 +95,13 @@ import {
|
|
|
95
95
|
renderAgentInstructions,
|
|
96
96
|
supportedClaudeEvents,
|
|
97
97
|
vscodePluginMcp
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-WOI2LYGL.js";
|
|
99
99
|
import {
|
|
100
100
|
formatVersion,
|
|
101
101
|
hookCommandsUseBareNames,
|
|
102
102
|
resolveGlobalBinDir,
|
|
103
103
|
resolveGlobalBinary
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-RXIZTNVQ.js";
|
|
105
105
|
import {
|
|
106
106
|
readJsonSafe,
|
|
107
107
|
writeFileAtomic,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
HOOK_COMPATIBLE_PROFILES,
|
|
112
112
|
isCompatibleAgentType,
|
|
113
113
|
isRecord
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
115
115
|
|
|
116
116
|
// src/reapply.ts
|
|
117
117
|
import { dirname, join } from "path";
|
|
@@ -399,9 +399,9 @@ var installGlobally = (options) => {
|
|
|
399
399
|
}
|
|
400
400
|
const started = (async () => {
|
|
401
401
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
402
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
403
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
404
|
-
const { autoUpdateLock } = await import("./paths-
|
|
402
|
+
const { withUpgradeLock } = await import("./global-upgrade-RMJEXXYL.js");
|
|
403
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-CNS3ST2M.js");
|
|
404
|
+
const { autoUpdateLock } = await import("./paths-IAK4623I.js");
|
|
405
405
|
let result = "skipped";
|
|
406
406
|
const install = async () => {
|
|
407
407
|
const platform = process.platform;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QXRW4G7Q.js";
|
|
4
4
|
import {
|
|
5
5
|
configFilePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BATGR3LA.js";
|
|
7
7
|
import {
|
|
8
8
|
backupFile,
|
|
9
9
|
readJsonSafe,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
API_KEY_PREFIX_PATTERN,
|
|
15
15
|
isRecord,
|
|
16
16
|
isValidApiKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
18
18
|
|
|
19
19
|
// src/shell-alias.ts
|
|
20
20
|
import { homedir } from "os";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7M5QJE24.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IAI6ZRVA.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GJWBVRPF.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SLMDTNKA.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BATGR3LA.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-ZVU6WMMU.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SLMDTNKA.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FWFOABQJ.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-ROVLRXBI.js";
|
|
4
4
|
import {
|
|
5
5
|
parseVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXIZTNVQ.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
10
10
|
|
|
11
11
|
// src/setup/agent-probe.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeSettingsLocationFor,
|
|
3
3
|
readClaudePermissionRules
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P27ZXTQ6.js";
|
|
5
5
|
import {
|
|
6
6
|
askAgentQuestions,
|
|
7
7
|
defersToNativeMode,
|
|
8
8
|
outcomeOfFailedAsk,
|
|
9
9
|
reportMachineDenial,
|
|
10
10
|
storedWaitDeadline
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M52Q62SO.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatingMoment,
|
|
14
14
|
recordKeylessMoment
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TCRITVSK.js";
|
|
16
16
|
import {
|
|
17
17
|
isAdmitted,
|
|
18
18
|
readAdmissionRules
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UEXWOQWA.js";
|
|
20
20
|
import {
|
|
21
21
|
isDeferAnswer,
|
|
22
22
|
oncePerSession
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BNZOA7RL.js";
|
|
24
24
|
import {
|
|
25
25
|
activeHookSource,
|
|
26
26
|
activeIdentity,
|
|
27
27
|
namedSource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WQ5FG3ED.js";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_SESSION,
|
|
31
31
|
approvalAwaitingRetry,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
recordBlockedActionHint,
|
|
42
42
|
reportEvent,
|
|
43
43
|
settleQuestionsForToolUse
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DO63NPJX.js";
|
|
45
45
|
import {
|
|
46
46
|
UNNAMED_ACTION,
|
|
47
47
|
deriveAction,
|
|
@@ -52,11 +52,11 @@ import {
|
|
|
52
52
|
patchDeletesFiles,
|
|
53
53
|
permissionDeniedAction,
|
|
54
54
|
scopePathFor
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-ZF2GMORS.js";
|
|
56
56
|
import {
|
|
57
57
|
repoKeyFor,
|
|
58
58
|
repositoryScopeFor
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UORHVH4P.js";
|
|
60
60
|
import {
|
|
61
61
|
askUser,
|
|
62
62
|
cancelQuestion,
|
|
@@ -73,17 +73,17 @@ import {
|
|
|
73
73
|
waitForQuestion,
|
|
74
74
|
waitsForThePhone,
|
|
75
75
|
withdrawQuestion
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-MQTXIY32.js";
|
|
77
77
|
import {
|
|
78
78
|
getMachineId
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-GJWBVRPF.js";
|
|
80
80
|
import {
|
|
81
81
|
getApiKey,
|
|
82
82
|
getBaseUrl
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-BATGR3LA.js";
|
|
84
84
|
import {
|
|
85
85
|
NPX_LATEST_COMMAND
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-FWFOABQJ.js";
|
|
87
87
|
import {
|
|
88
88
|
AGENT_QUESTION_STRATEGY,
|
|
89
89
|
AGENT_QUESTION_TOOL,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
terminalStaysLiveForTheCall,
|
|
140
140
|
timeoutActionWithoutLocalPrompt,
|
|
141
141
|
unansweredRefusalReason
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
143
143
|
|
|
144
144
|
// src/terminal-answer-watch.ts
|
|
145
145
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
keyCheckFromResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JY2QQNS4.js";
|
|
4
4
|
import {
|
|
5
5
|
installNetworkDefaults
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MZOJR4TO.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAsCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KSPVTLCC.js";
|
|
10
10
|
import {
|
|
11
11
|
getBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BATGR3LA.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isToolErrorResult,
|
|
16
16
|
toolFailureCodeOfResult
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
18
18
|
|
|
19
19
|
// src/retry.ts
|
|
20
20
|
var isRetryable = (err) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cursorGateOwnsClaudeCall,
|
|
3
3
|
readCursorGateRegistration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QVGVFLKO.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5TWYZGZY.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WQ5FG3ED.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MQTXIY32.js";
|
|
14
14
|
import {
|
|
15
15
|
claudeShapedHookInput,
|
|
16
16
|
hookCompatibleProfileBySource,
|
|
17
17
|
isGrokHookPayload,
|
|
18
18
|
isGrokSessionEndStop
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2Y2HEOT6.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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JY2QQNS4.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DRXRTLL4.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SLMDTNKA.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WOI2LYGL.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-T5I4PKOQ.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2Y2HEOT6.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;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatVersion,
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXIZTNVQ.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-T5I4PKOQ.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
HOOK_LOCATOR_BINARY,
|
|
18
18
|
PRETOOLUSE_GATED_TOOLS,
|
|
19
19
|
withHookHoldBudget
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
21
21
|
|
|
22
22
|
// src/setup/paths.ts
|
|
23
23
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLAUDE_CODE_AGENT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DO63NPJX.js";
|
|
4
4
|
import {
|
|
5
5
|
addGeminiMcpServer,
|
|
6
6
|
removeGeminiMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-66FYIYTH.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZF2GMORS.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WOI2LYGL.js";
|
|
23
23
|
import {
|
|
24
24
|
HOOK_COMPATIBLE_PROFILES,
|
|
25
25
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
pusharyMissingReason,
|
|
31
31
|
refusalOutput,
|
|
32
32
|
withHookHoldBudget
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
34
34
|
|
|
35
35
|
// src/config-document.ts
|
|
36
36
|
import { parse, stringify } from "smol-toml";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WOI2LYGL.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -22,22 +22,22 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-KBPUTWVR.js";
|
|
26
|
+
import "./chunk-LWVOQZ24.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-QCGNGEGE.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-IAI6ZRVA.js";
|
|
30
30
|
import "./chunk-XHKBHWLX.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-GJWBVRPF.js";
|
|
32
|
+
import "./chunk-SLMDTNKA.js";
|
|
33
|
+
import "./chunk-QXRW4G7Q.js";
|
|
34
|
+
import "./chunk-WOI2LYGL.js";
|
|
35
|
+
import "./chunk-RXIZTNVQ.js";
|
|
36
|
+
import "./chunk-BATGR3LA.js";
|
|
37
37
|
import "./chunk-T5I4PKOQ.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-FWFOABQJ.js";
|
|
39
39
|
import "./chunk-ZVU6WMMU.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-2Y2HEOT6.js";
|
|
41
41
|
import "./chunk-E46NE7FB.js";
|
|
42
42
|
import "./chunk-MLKGABMK.js";
|
|
43
43
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZF2GMORS.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2Y2HEOT6.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/codex-card-routing.ts
|