pushary 1.9.222 → 1.9.224
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 +10 -0
- package/dist/{api-5FMENCWV.js → api-ONC3NYEU.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 +201 -3
- 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 +34 -34
- package/dist/bin/pushary-login.js +22 -22
- 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 +34 -34
- 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 +14 -14
- package/dist/bin/pushary-setup.js +57 -57
- 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-CQMJ5YLX.js → chunk-2CY3RVXV.js} +1 -1
- package/dist/{chunk-ZIE3LCHE.js → chunk-35MX2DYY.js} +4 -4
- package/dist/{chunk-JEKST75E.js → chunk-37O3TEYR.js} +12 -12
- package/dist/{chunk-B5B2W6RF.js → chunk-3I5OH3BQ.js} +1 -1
- package/dist/{chunk-3SROGHN7.js → chunk-3SQBFADX.js} +1 -1
- package/dist/{chunk-5PEALQVY.js → chunk-45FJXU6L.js} +6 -6
- package/dist/{chunk-MXX4JRBI.js → chunk-4E3NSM4E.js} +455 -35
- package/dist/{chunk-VV7XYIC6.js → chunk-4SW5ILAY.js} +9 -9
- package/dist/{chunk-H5GFXPBU.js → chunk-6AQOULFH.js} +1 -1
- package/dist/{chunk-HDYOAYWZ.js → chunk-6EGV3GON.js} +6 -6
- package/dist/{chunk-5R3PKRBZ.js → chunk-7322XHFA.js} +4 -4
- package/dist/{chunk-FERJXII2.js → chunk-73QU5HGK.js} +2 -2
- package/dist/{chunk-Z2JCNR7O.js → chunk-7FSB46RG.js} +1 -1
- package/dist/{chunk-O5YMM4NC.js → chunk-7RWQULME.js} +3 -3
- package/dist/{chunk-YIIGUJP3.js → chunk-7YBP6JUZ.js} +4 -4
- package/dist/{chunk-STXX44Q2.js → chunk-7Z6FW2FX.js} +6 -6
- package/dist/{chunk-AQQ2EATU.js → chunk-BDFS2KC3.js} +2 -2
- package/dist/{chunk-G7GAOYPA.js → chunk-BHQ2USGM.js} +1 -1
- package/dist/{chunk-4PIHRM37.js → chunk-CXYGVLWY.js} +5 -5
- package/dist/{chunk-REGGASP3.js → chunk-ENXYENW3.js} +5 -5
- package/dist/{chunk-XRANKHLM.js → chunk-F4ZWZ3NF.js} +1 -1
- package/dist/{chunk-OLBZ2IR4.js → chunk-FMX56I6G.js} +5 -5
- package/dist/{chunk-W35HZ5LB.js → chunk-FND4HRMJ.js} +2 -2
- package/dist/{chunk-K2RNGCIH.js → chunk-FNIGFFVQ.js} +1 -1
- package/dist/{chunk-5CHF6KSC.js → chunk-GMIIYOOD.js} +1 -1
- package/dist/{chunk-ZB5CQM3S.js → chunk-GV42N5QE.js} +1 -1
- package/dist/{chunk-TY26HQND.js → chunk-H7OAPHT6.js} +3 -3
- package/dist/{chunk-U4TBTVKC.js → chunk-HQQLBTLR.js} +7 -7
- package/dist/{chunk-AJDNOASW.js → chunk-HSHHV7KX.js} +3 -3
- package/dist/{chunk-LHSKKRGC.js → chunk-IRTDVRPP.js} +5 -5
- package/dist/{chunk-B7BT6S66.js → chunk-J4KRS6U6.js} +2 -2
- package/dist/{chunk-JZOOJH63.js → chunk-J6TV66B5.js} +2 -2
- package/dist/{chunk-KESEXC6J.js → chunk-JJECC5TS.js} +4 -4
- package/dist/{chunk-JRQCXNT3.js → chunk-KAE2B7B3.js} +1 -1
- package/dist/{chunk-CCWBBHOQ.js → chunk-KK75BMI5.js} +1 -1
- package/dist/{chunk-UO224FD7.js → chunk-KXWFB5C3.js} +2 -2
- package/dist/{chunk-HG76GEOE.js → chunk-LTGOBKBE.js} +1 -1
- package/dist/{chunk-7DQ4NJHO.js → chunk-LTNWYLVK.js} +3 -3
- package/dist/{chunk-GHYB66LW.js → chunk-MDOLCJRZ.js} +1 -1
- package/dist/{chunk-FLI4GFL2.js → chunk-NQXJ3HP7.js} +8 -8
- package/dist/{chunk-JDTSLDKU.js → chunk-NR6K7SFA.js} +5 -5
- package/dist/{chunk-J7E3CS5N.js → chunk-NSVXD77O.js} +4 -4
- package/dist/{chunk-TY5UXKIU.js → chunk-OCGOLDIU.js} +5 -5
- package/dist/{chunk-QQHOFBU6.js → chunk-OQP2SBVG.js} +31 -22
- package/dist/{chunk-MJOKUFFE.js → chunk-P4FAWEDR.js} +3 -3
- package/dist/{chunk-HNRN7K22.js → chunk-PJQFIGIH.js} +2 -2
- package/dist/{chunk-LRZKYIQ6.js → chunk-PPCDXEKQ.js} +1 -1
- package/dist/{chunk-4XY5VHBW.js → chunk-Q7OEKDFK.js} +4 -4
- package/dist/{chunk-GNPULK7J.js → chunk-QGA57PZ2.js} +25 -21
- package/dist/{chunk-PAPMVRHR.js → chunk-QJT5ZEQ7.js} +1 -1
- package/dist/{chunk-CJOSYTSG.js → chunk-QKMBCZYI.js} +2 -2
- package/dist/{chunk-N4GJ7UEG.js → chunk-QODLGTAJ.js} +2 -2
- package/dist/{chunk-4L274ET5.js → chunk-QVGXCFGJ.js} +3 -3
- package/dist/{chunk-KQUOVCCS.js → chunk-ROJXEYYY.js} +1 -1
- package/dist/{chunk-E3H56JAS.js → chunk-S5GJILJ7.js} +2 -2
- package/dist/{chunk-W5BHO4UE.js → chunk-SNQODYMM.js} +1 -1
- package/dist/{chunk-W75STRF5.js → chunk-SSBYRK22.js} +4 -4
- package/dist/{chunk-JMTFCHR3.js → chunk-SZOG3UW3.js} +5 -5
- package/dist/{chunk-3ZELWDAG.js → chunk-T2X5A6ON.js} +10 -10
- package/dist/{chunk-SYMM37D5.js → chunk-TKWS6E7B.js} +3 -3
- package/dist/{chunk-MNUYTEPY.js → chunk-TO5T2D5C.js} +4 -4
- package/dist/{chunk-U7734QBB.js → chunk-TRTD7K6F.js} +2 -2
- package/dist/{chunk-AJXODCEY.js → chunk-TUL6ESJL.js} +3 -3
- package/dist/{chunk-66M7UB7P.js → chunk-TZTPY2QF.js} +2 -2
- package/dist/{chunk-RJCLIWNI.js → chunk-V3GMYPTF.js} +6 -6
- package/dist/{chunk-WM5DVEHF.js → chunk-VWHZS7CZ.js} +1 -1
- package/dist/{chunk-UG52X3L4.js → chunk-WBM5QRLH.js} +1 -1
- package/dist/{chunk-XKF65PRO.js → chunk-WWWJHD5W.js} +1 -1
- package/dist/{chunk-SBQX7DNO.js → chunk-XANXXZVC.js} +3 -3
- package/dist/{chunk-62OI7PJ6.js → chunk-XLGNI7ZM.js} +6 -6
- package/dist/{chunk-2ODL2KHZ.js → chunk-XP6EIQDC.js} +5 -5
- package/dist/{chunk-IDY5NK64.js → chunk-YIWQPPNE.js} +3 -3
- package/dist/{chunk-ZQYAGL5J.js → chunk-YSASHNPA.js} +2 -2
- package/dist/{chunk-YDLNKHUC.js → chunk-YWJW3GBN.js} +1 -1
- package/dist/{chunk-TMBHLGDG.js → chunk-Z3GKJWBV.js} +3 -3
- package/dist/{chunk-3UNLHFAQ.js → chunk-ZBIDKPCA.js} +7 -159
- package/dist/{chunk-DZUEOUFB.js → chunk-ZJKWVWVW.js} +7 -7
- package/dist/{chunk-BVBKGIAH.js → chunk-ZMFR6APZ.js} +5 -5
- package/dist/{chunk-XAFLPVOH.js → chunk-ZVDJNBYV.js} +4 -4
- package/dist/{codex-app-cards-switch-WIMAJIB7.js → codex-app-cards-switch-LXPMFON2.js} +11 -11
- package/dist/{codex-card-routing-XCFEMXOH.js → codex-card-routing-D5YIOCO4.js} +2 -2
- package/dist/{codex-desktop-launch-SIWL62HT.js → codex-desktop-launch-QPPHABQW.js} +1 -1
- package/dist/{codex-session-launch-LUCQNTVP.js → codex-session-launch-BXQPUMWB.js} +20 -20
- package/dist/{config-CB7VGWF7.js → config-74YKDTUD.js} +3 -3
- package/dist/{global-upgrade-34UV333H.js → global-upgrade-NTZCGPYN.js} +9 -9
- package/dist/{identity-GTVFP3LV.js → identity-F6D3HRMJ.js} +4 -4
- package/dist/{live-capabilities-RG7STBKW.js → live-capabilities-YSGKGSP4.js} +4 -4
- package/dist/{paths-IIFXE7O2.js → paths-Q3PUCZZQ.js} +3 -3
- package/dist/reapply-RSNZA5DQ.js +74 -0
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-GFNGLGR3.js → upgrade-lock-FH6YYKRD.js} +4 -4
- package/dist/{usage-AJ2MWOQT.js → usage-RUBRRQDK.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-ZN6LLFVB.js +0 -74
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZVDJNBYV.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QKMBCZYI.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QVGXCFGJ.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-TKWS6E7B.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4E3NSM4E.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V3GMYPTF.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q7OEKDFK.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ROJXEYYY.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-YIWQPPNE.js";
|
|
28
28
|
import {
|
|
29
29
|
transcriptEnvironmentPreference,
|
|
30
30
|
transcriptsEnabled
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WBM5QRLH.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-FNIGFFVQ.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-TKWS6E7B.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-KXWFB5C3.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KK75BMI5.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-4E3NSM4E.js";
|
|
65
65
|
|
|
66
66
|
// src/transcript-registration.ts
|
|
67
67
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YSASHNPA.js";
|
|
4
4
|
import {
|
|
5
5
|
configFilePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KK75BMI5.js";
|
|
7
7
|
import {
|
|
8
8
|
backupFile,
|
|
9
9
|
backupFileInto,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
API_KEY_PREFIX_PATTERN,
|
|
16
16
|
isRecord,
|
|
17
17
|
isValidApiKey
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4E3NSM4E.js";
|
|
19
19
|
|
|
20
20
|
// src/shell-alias.ts
|
|
21
21
|
import { homedir } from "os";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4E3NSM4E.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
|
|
|
600
600
|
}
|
|
601
601
|
const started = (async () => {
|
|
602
602
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
603
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
604
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
605
|
-
const { autoUpdateLock } = await import("./paths-
|
|
603
|
+
const { withUpgradeLock } = await import("./global-upgrade-NTZCGPYN.js");
|
|
604
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-FH6YYKRD.js");
|
|
605
|
+
const { autoUpdateLock } = await import("./paths-Q3PUCZZQ.js");
|
|
606
606
|
let result = "skipped";
|
|
607
607
|
const install = async () => {
|
|
608
608
|
const planned = readPlannedSetupInstall(process.platform);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3SQBFADX.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKWS6E7B.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QODLGTAJ.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-TO5T2D5C.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-4E3NSM4E.js";
|
|
29
29
|
|
|
30
30
|
// src/live-capabilities.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KXWFB5C3.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TO5T2D5C.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-3PSNUHC5.js";
|
|
5
5
|
import {
|
|
6
6
|
getMachineId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3I5OH3BQ.js";
|
|
8
8
|
import {
|
|
9
9
|
readControlMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TKWS6E7B.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KXWFB5C3.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveGlobalBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TO5T2D5C.js";
|
|
17
17
|
import {
|
|
18
18
|
getApiKey
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KK75BMI5.js";
|
|
20
20
|
import {
|
|
21
21
|
readJsonSafe,
|
|
22
22
|
writeFileAtomic,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-CXQWDQCJ.js";
|
|
33
33
|
import {
|
|
34
34
|
isRecord
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4E3NSM4E.js";
|
|
36
36
|
|
|
37
37
|
// src/daemon-entry-guard.ts
|
|
38
38
|
import { mkdirSync, readFileSync } from "fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETUP_FLAGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PPCDXEKQ.js";
|
|
4
4
|
import {
|
|
5
5
|
parseFlags
|
|
6
6
|
} from "./chunk-BZIBNSQE.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F4ZWZ3NF.js";
|
|
13
13
|
import {
|
|
14
14
|
CLAUDE_CONNECTOR_GUIDE,
|
|
15
15
|
CLAUDE_CONNECTOR_STEPS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
CLAUDE_CONNECTOR_URL,
|
|
18
18
|
COWORK_CONNECTOR_LIMIT,
|
|
19
19
|
COWORK_STANDING_INSTRUCTIONS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4E3NSM4E.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/cowork.ts
|
|
23
23
|
import { readFileSync } from "fs";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QKMBCZYI.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IRTDVRPP.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QVGXCFGJ.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KK75BMI5.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F4ZWZ3NF.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-4E3NSM4E.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SSBYRK22.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-HSHHV7KX.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-P4FAWEDR.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KK75BMI5.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-4E3NSM4E.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FNIGFFVQ.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KK75BMI5.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-4E3NSM4E.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -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-ONC3NYEU.js");
|
|
540
|
+
var loadTheCardRouting = () => import("./codex-card-routing-D5YIOCO4.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-LXPMFON2.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]");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q7OEKDFK.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OQP2SBVG.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ROJXEYYY.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,9 +19,11 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KXWFB5C3.js";
|
|
23
23
|
import {
|
|
24
|
+
AGENT_ENFORCEMENT,
|
|
24
25
|
HOOK_COMPATIBLE_PROFILES,
|
|
26
|
+
HOOK_FAILURE,
|
|
25
27
|
PHONE_ANSWERED_TOOLS,
|
|
26
28
|
compatibleTargetFiles,
|
|
27
29
|
hookCompatibleProfile,
|
|
@@ -30,7 +32,7 @@ import {
|
|
|
30
32
|
pusharyMissingReason,
|
|
31
33
|
refusalOutput,
|
|
32
34
|
withHookHoldBudget
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4E3NSM4E.js";
|
|
34
36
|
|
|
35
37
|
// src/config-document.ts
|
|
36
38
|
import { parse, stringify } from "smol-toml";
|
|
@@ -56,160 +58,6 @@ var serializeConfigDocument = (value, format) => format === "toml" ? stringify(v
|
|
|
56
58
|
// src/compatible-config.ts
|
|
57
59
|
import { homedir } from "os";
|
|
58
60
|
import { join } from "path";
|
|
59
|
-
|
|
60
|
-
// ../contracts/src/agent-enforcement.ts
|
|
61
|
-
var TOOL_CALL_BLOCK = {
|
|
62
|
-
beforeMatchedCalls: "before_matched_calls",
|
|
63
|
-
whenAgentAsks: "when_agent_asks",
|
|
64
|
-
cannotBlock: "cannot_block"
|
|
65
|
-
};
|
|
66
|
-
var LOCAL_PROMPT = {
|
|
67
|
-
agentsOwnPrompt: "agents_own_prompt",
|
|
68
|
-
variesByEvent: "varies_by_event",
|
|
69
|
-
refusalInstead: "refusal_instead",
|
|
70
|
-
noHook: "no_hook"
|
|
71
|
-
};
|
|
72
|
-
var HOOK_FAILURE = {
|
|
73
|
-
agentsOwnApproval: "agents_own_approval",
|
|
74
|
-
variesByEvent: "varies_by_event",
|
|
75
|
-
refusedOnPosix: "refused_on_posix",
|
|
76
|
-
notVerifiableInThisRepo: "not_verifiable_in_this_repo",
|
|
77
|
-
hostBlocksTheCall: "host_blocks_the_call",
|
|
78
|
-
noHook: "no_hook"
|
|
79
|
-
};
|
|
80
|
-
var NO_HOOK_NOTHING_GATED = "Everything. There is no hook, so the agent only reaches a person when it chooses to call Pushary.";
|
|
81
|
-
var NO_HOOK = {
|
|
82
|
-
blocksToolCallBeforeItRuns: TOOL_CALL_BLOCK.cannotBlock,
|
|
83
|
-
phoneCanAnswerTheBlock: false,
|
|
84
|
-
localPrompt: LOCAL_PROMPT.noHook,
|
|
85
|
-
whenHookIsMissing: HOOK_FAILURE.noHook,
|
|
86
|
-
whenHookCrashes: HOOK_FAILURE.noHook,
|
|
87
|
-
gatedTools: [],
|
|
88
|
-
notGated: NO_HOOK_NOTHING_GATED
|
|
89
|
-
};
|
|
90
|
-
var HOOK_DECIDES_BEFORE_THE_CALL = {
|
|
91
|
-
blocksToolCallBeforeItRuns: TOOL_CALL_BLOCK.beforeMatchedCalls,
|
|
92
|
-
phoneCanAnswerTheBlock: true
|
|
93
|
-
};
|
|
94
|
-
var FAILS_TO_THE_AGENTS_OWN_APPROVAL = {
|
|
95
|
-
whenHookIsMissing: HOOK_FAILURE.agentsOwnApproval,
|
|
96
|
-
whenHookCrashes: HOOK_FAILURE.agentsOwnApproval
|
|
97
|
-
};
|
|
98
|
-
var CLAUDE_SHAPED_GATED_TOOLS = ["Bash", "Write", "Edit", "MultiEdit", "NotebookEdit", "PowerShell", "Monitor", "mcp__.*"];
|
|
99
|
-
var CLAUDE_SHAPED_NOT_GATED = "Any tool outside the matcher, such as reads, searches and web fetches. Those only reach a person if this agent raises its own prompt and it sends PermissionRequest.";
|
|
100
|
-
var COMPATIBLE_HOOK_AGENT = {
|
|
101
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
102
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
103
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
104
|
-
gatedTools: CLAUDE_SHAPED_GATED_TOOLS,
|
|
105
|
-
notGated: CLAUDE_SHAPED_NOT_GATED
|
|
106
|
-
};
|
|
107
|
-
var AGENT_ENFORCEMENT = {
|
|
108
|
-
claude_code: {
|
|
109
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
110
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
111
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
112
|
-
gatedTools: ["Bash", "Write", "Edit", "MultiEdit", "NotebookEdit", "PowerShell", "Monitor", "AskUserQuestion", "ExitPlanMode"],
|
|
113
|
-
notGated: "Reads, searches, WebFetch, WebSearch, Task, TodoWrite and third-party MCP tools reach a person only through PermissionRequest, when Claude Code would have asked anyway. In plan, auto and dontAsk modes PreToolUse steps aside unless a scope question or a Team route applies. It also steps aside for edits under acceptEdits and for calls that a Claude Code allowlist rule owns. Under bypassPermissions no opinion means the call runs."
|
|
114
|
-
},
|
|
115
|
-
codex: {
|
|
116
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
117
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
118
|
-
localPrompt: LOCAL_PROMPT.variesByEvent,
|
|
119
|
-
gatedTools: ["Bash", "apply_patch", "mcp__.*", "request_user_input", "request_user_input_async"],
|
|
120
|
-
notGated: "Any other tool, and every hook until Codex trusts it. PreToolUse can only deny; a hand-back there is refused, and only PermissionRequest falls through to the Codex prompt. With the auto_review approvals reviewer, or when a native mode defers the call, the hook passes it ungated unless a scope question applies. Under bypass no opinion means the call runs."
|
|
121
|
-
},
|
|
122
|
-
gemini_cli: {
|
|
123
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
124
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
125
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
126
|
-
gatedTools: ["run_shell_command", "write_file", "replace", "mcp_.*"],
|
|
127
|
-
notGated: "read_file and every other built-in tool outside the BeforeTool matcher. The wire has no ask, so a hand-back is empty output, a Gemini running without prompts then runs the call, and a bridge-launched session, which has no prompt, is refused instead."
|
|
128
|
-
},
|
|
129
|
-
cursor: {
|
|
130
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
131
|
-
localPrompt: LOCAL_PROMPT.variesByEvent,
|
|
132
|
-
whenHookIsMissing: HOOK_FAILURE.variesByEvent,
|
|
133
|
-
whenHookCrashes: HOOK_FAILURE.variesByEvent,
|
|
134
|
-
gatedTools: ["Shell", "MCP:*", "Write", "Delete", "Edit"],
|
|
135
|
-
notGated: "beforeReadFile is deliberately not registered, so file reads are not gated. preToolUse has no ask, so a file edit nobody can decide is refused where shell and MCP fall back to the Cursor prompt."
|
|
136
|
-
},
|
|
137
|
-
vscode: {
|
|
138
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
139
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
140
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
141
|
-
gatedTools: [".*"],
|
|
142
|
-
notGated: "Pushary's own tools. Every other named tool reaches the policy, and a read-only tool passes when the gate has no verdict."
|
|
143
|
-
},
|
|
144
|
-
opencode: {
|
|
145
|
-
blocksToolCallBeforeItRuns: TOOL_CALL_BLOCK.whenAgentAsks,
|
|
146
|
-
phoneCanAnswerTheBlock: true,
|
|
147
|
-
...FAILS_TO_THE_AGENTS_OWN_APPROVAL,
|
|
148
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
149
|
-
gatedTools: ["bash", "edit", "webfetch"],
|
|
150
|
-
notGated: "Anything OpenCode does not raise as permission.asked. A person's own allow rule for bash, edit or webfetch is kept, and then those are not held either."
|
|
151
|
-
},
|
|
152
|
-
hermes: {
|
|
153
|
-
blocksToolCallBeforeItRuns: TOOL_CALL_BLOCK.whenAgentAsks,
|
|
154
|
-
phoneCanAnswerTheBlock: true,
|
|
155
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
156
|
-
whenHookIsMissing: HOOK_FAILURE.notVerifiableInThisRepo,
|
|
157
|
-
whenHookCrashes: HOOK_FAILURE.agentsOwnApproval,
|
|
158
|
-
gatedTools: [],
|
|
159
|
-
notGated: "Everything Hermes does not flag as a dangerous command, unless named in PUSHARY_GATE_TOOLS, which is empty by default. That list refuses on an error, while the approval transport hands back to Hermes."
|
|
160
|
-
},
|
|
161
|
-
openclaw: {
|
|
162
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
163
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
164
|
-
whenHookIsMissing: HOOK_FAILURE.agentsOwnApproval,
|
|
165
|
-
whenHookCrashes: HOOK_FAILURE.hostBlocksTheCall,
|
|
166
|
-
gatedTools: ["exec", "process", "plugins", "gateway", "openclaw", "automations", "terminal"],
|
|
167
|
-
notGated: "The read actions of process, plugins, gateway, openclaw, automations and terminal; write, edit and apply_patch outside the OpenClaw state directories, ~/.pushary, ~/.config/openclaw and the gateway service files, and inside the agent workspace except its hooks folder; and every other OpenClaw tool unless the plugin gatedTools setting names it, such as message or the file-transfer plugin file_write. Tools that an ACP session with approve-all or a CLI backend runs inside its own harness never reach before_tool_call."
|
|
168
|
-
},
|
|
169
|
-
qwen_code: COMPATIBLE_HOOK_AGENT,
|
|
170
|
-
codebuddy: COMPATIBLE_HOOK_AGENT,
|
|
171
|
-
qoder: COMPATIBLE_HOOK_AGENT,
|
|
172
|
-
droid: {
|
|
173
|
-
...COMPATIBLE_HOOK_AGENT,
|
|
174
|
-
notGated: "Any tool outside the matcher, such as reads, searches and web fetches. Droid registers no PermissionRequest, so those never reach a person through Pushary."
|
|
175
|
-
},
|
|
176
|
-
devin: {
|
|
177
|
-
...COMPATIBLE_HOOK_AGENT,
|
|
178
|
-
localPrompt: LOCAL_PROMPT.refusalInstead,
|
|
179
|
-
gatedTools: [...CLAUDE_SHAPED_GATED_TOOLS, "mcp_call_tool", "write_to_process"],
|
|
180
|
-
notGated: "Any tool outside the matcher, such as reads, searches and web fetches. Devin registers no PermissionRequest, so those never reach a person through Pushary. Its wire turns an ask into a block."
|
|
181
|
-
},
|
|
182
|
-
antigravity_cli: {
|
|
183
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
184
|
-
localPrompt: LOCAL_PROMPT.refusalInstead,
|
|
185
|
-
whenHookIsMissing: HOOK_FAILURE.refusedOnPosix,
|
|
186
|
-
whenHookCrashes: HOOK_FAILURE.notVerifiableInThisRepo,
|
|
187
|
-
gatedTools: ["Bash", "Write", "Edit", "MultiEdit", "NotebookEdit", "PowerShell", "Monitor", "call_mcp_tool", "manage_task"],
|
|
188
|
-
notGated: "view_file, read_url_content, search_web, list_resources and read_resource. Deleting the hook entry leaves always-proceed on with nothing watching, and the hook-file guard only covers a missing binary, and not on Windows. A caught error is refused, but nothing here shows what agy does when the hook process dies or exits non-zero."
|
|
189
|
-
},
|
|
190
|
-
grok: {
|
|
191
|
-
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
192
|
-
localPrompt: LOCAL_PROMPT.agentsOwnPrompt,
|
|
193
|
-
whenHookIsMissing: HOOK_FAILURE.refusedOnPosix,
|
|
194
|
-
whenHookCrashes: HOOK_FAILURE.agentsOwnApproval,
|
|
195
|
-
gatedTools: [".*"],
|
|
196
|
-
notGated: "Every call reaches the hook, but the read-only tools (grep, list_dir, glob, read_file, todo_write, search_tool) only honour the kill switch and a deny rule, as Claude Code's reads do. Grok fails open if it kills the hook or cannot start it, the missing-binary guard does not refuse on Windows, and Grok's own permission checks still apply after a phone approval. Its question and plan dialogs stay in Grok."
|
|
197
|
-
},
|
|
198
|
-
claude_chat: NO_HOOK,
|
|
199
|
-
claude_cowork: NO_HOOK,
|
|
200
|
-
chatgpt: NO_HOOK,
|
|
201
|
-
fx: NO_HOOK,
|
|
202
|
-
cline: NO_HOOK,
|
|
203
|
-
grok_bot: NO_HOOK,
|
|
204
|
-
muse: NO_HOOK,
|
|
205
|
-
windsurf: NO_HOOK,
|
|
206
|
-
unknown: NO_HOOK,
|
|
207
|
-
lovable: NO_HOOK,
|
|
208
|
-
mcp: NO_HOOK,
|
|
209
|
-
http: NO_HOOK
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
// src/compatible-config.ts
|
|
213
61
|
var hasCompatibleMcpServer = (profile, contents) => {
|
|
214
62
|
if (!profile.mcp) return false;
|
|
215
63
|
const document = parseConfigDocument(contents, profile.mcp.file.format);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
openCodePluginArgv,
|
|
4
4
|
openCodePluginModule,
|
|
5
5
|
renderOpenCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7FSB46RG.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-6AQOULFH.js";
|
|
16
16
|
import {
|
|
17
17
|
compatibleConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZBIDKPCA.js";
|
|
19
19
|
import {
|
|
20
20
|
hookOwnerOf,
|
|
21
21
|
hookOwnerOfCommands
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Q7OEKDFK.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_CHOICES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PPCDXEKQ.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-KXWFB5C3.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-4E3NSM4E.js";
|
|
50
50
|
|
|
51
51
|
// src/opencode-config.ts
|
|
52
52
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|