pushary 1.9.99 → 1.9.101
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 +16 -0
- package/dist/{api-UGCOLWF4.js → api-3O3GJV3V.js} +10 -10
- package/dist/bin/pushary-bell-hook.js +26 -26
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +34 -34
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +31 -31
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +14 -14
- package/dist/bin/pushary-connect.js +27 -27
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +39 -39
- package/dist/bin/pushary-disconnect.js +26 -26
- package/dist/bin/pushary-display-hook.js +17 -17
- package/dist/bin/pushary-doctor.js +42 -42
- package/dist/bin/pushary-elicitation-hook.js +26 -26
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +28 -28
- package/dist/bin/pushary-hook.js +30 -30
- package/dist/bin/pushary-login.js +20 -20
- package/dist/bin/pushary-logout.js +25 -25
- package/dist/bin/pushary-mcp.js +11 -11
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +25 -25
- package/dist/bin/pushary-opencode-hook.js +27 -27
- package/dist/bin/pushary-permission-denied-hook.js +30 -30
- package/dist/bin/pushary-permission-hook.js +30 -30
- package/dist/bin/pushary-post-hook.js +25 -25
- package/dist/bin/pushary-prompt-hook.js +25 -25
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +35 -35
- package/dist/bin/pushary-setup.js +48 -48
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +32 -32
- package/dist/bin/pushary-stop-hook.js +25 -25
- package/dist/bin/pushary-stopfailure-hook.js +25 -25
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +18 -18
- package/dist/bin/pushary-transcripts.js +26 -26
- 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-BSG7IIMK.js → chunk-2PR5EP7N.js} +4 -4
- package/dist/{chunk-LN53RAXQ.js → chunk-2S5J5YI2.js} +4 -4
- package/dist/{chunk-35Q2Z7HD.js → chunk-3ITURBPE.js} +3 -3
- package/dist/{chunk-PDC4UQUC.js → chunk-3K7PB5LI.js} +3 -3
- package/dist/{chunk-2CO34UJK.js → chunk-3OIUMHHO.js} +2 -2
- package/dist/{chunk-E7WAVZNC.js → chunk-3Q2X3T3U.js} +1 -1
- package/dist/{chunk-EBGUGOS3.js → chunk-4FAJQPFY.js} +59 -3
- package/dist/{chunk-P7SBX7QQ.js → chunk-4QO267OY.js} +1 -1
- package/dist/{chunk-FRAXLEC2.js → chunk-4TVLPGJV.js} +1 -1
- package/dist/{chunk-GOHFQONY.js → chunk-5PW25NHB.js} +3 -3
- package/dist/{chunk-EXDEE4KB.js → chunk-6N5DQG5F.js} +2 -2
- package/dist/{chunk-IOMU3A6E.js → chunk-7BIVBOD5.js} +3 -3
- package/dist/{chunk-5UKWIMMW.js → chunk-7OZOFTTB.js} +5 -5
- package/dist/{chunk-TBE76OH7.js → chunk-AFGMZZEB.js} +2 -2
- package/dist/{chunk-YIPSSNTL.js → chunk-AHIAB7JQ.js} +1 -1
- package/dist/{chunk-YLBUBQEL.js → chunk-AVXG5QB2.js} +5 -5
- package/dist/{chunk-54476CMC.js → chunk-AWF5WICI.js} +2 -2
- package/dist/{chunk-AWO5VRPH.js → chunk-AZSOH2SF.js} +2 -2
- package/dist/{chunk-7DJWJWRS.js → chunk-BQHZRH6S.js} +9 -3
- package/dist/{chunk-PVERXZOS.js → chunk-CQ7QE4W2.js} +1 -1
- package/dist/{chunk-PT43DN4J.js → chunk-E7WJQBK3.js} +14 -14
- package/dist/{chunk-NTAVA4LB.js → chunk-EOD3DBIN.js} +3 -3
- package/dist/{chunk-MCZF73KL.js → chunk-FF7L4B3W.js} +6 -6
- package/dist/{chunk-56MGFZDM.js → chunk-G7RMOSRX.js} +1 -1
- package/dist/{chunk-BYGU5IV4.js → chunk-HYAQIKYB.js} +4 -4
- package/dist/{chunk-HF24RY6N.js → chunk-IOQ3ZCAE.js} +1 -1
- package/dist/{chunk-GKRGH3SF.js → chunk-IUBDGISO.js} +10 -10
- package/dist/{chunk-GJ7CPXXB.js → chunk-J6SSLXSU.js} +4 -4
- package/dist/{chunk-GNW6AHGY.js → chunk-JECH4NJL.js} +3 -3
- package/dist/{chunk-LM2YX5SO.js → chunk-JKOAAIJD.js} +5 -5
- package/dist/{chunk-HVQSHNVK.js → chunk-JPKJBKZE.js} +6 -6
- package/dist/{chunk-ZP7R762D.js → chunk-JUA7MX2V.js} +4 -4
- package/dist/{chunk-73WH2KOH.js → chunk-JVE4P54I.js} +11 -4
- package/dist/{chunk-4OG7AYQN.js → chunk-KACD6W6J.js} +1 -1
- package/dist/{chunk-UMRO47H3.js → chunk-KLJ2CTT7.js} +3 -3
- package/dist/{chunk-L6Q5FZ54.js → chunk-KOUB4ZLX.js} +1 -1
- package/dist/{chunk-N4SM5GMN.js → chunk-KTM2X3XQ.js} +11 -11
- package/dist/{chunk-PED2VA34.js → chunk-LURFSDCL.js} +1 -1
- package/dist/{chunk-VWGZZSJG.js → chunk-MK2XE66G.js} +3 -3
- package/dist/{chunk-TMRJOWWU.js → chunk-MP3SEXXJ.js} +1 -1
- package/dist/{chunk-BFA36PR4.js → chunk-NZQEABRO.js} +6 -6
- package/dist/{chunk-2DKM45TQ.js → chunk-O5ZKMUTP.js} +6 -6
- package/dist/{chunk-KRQKPVHG.js → chunk-O7ITTNDD.js} +2 -2
- package/dist/{chunk-RB4E2YHR.js → chunk-PM34Z5WX.js} +6 -6
- package/dist/{chunk-3QTUISNT.js → chunk-PWGD5EP6.js} +1 -1
- package/dist/{chunk-3NS3YK5S.js → chunk-QD57EL3I.js} +1 -1
- package/dist/{chunk-T3HCMKX4.js → chunk-RVSRPDRF.js} +2 -2
- package/dist/{chunk-EXUGDNCF.js → chunk-SA4PCB6N.js} +7 -7
- package/dist/{chunk-VSKHU5XR.js → chunk-SRE6XJ3K.js} +6 -6
- package/dist/{chunk-EJ7DI2HX.js → chunk-SXAZPWL7.js} +5 -5
- package/dist/{chunk-JE6UEOMG.js → chunk-T6TQETDN.js} +4 -4
- package/dist/{chunk-NDOQN5VC.js → chunk-T7G6IIV4.js} +3 -3
- package/dist/{chunk-UKX7IMD2.js → chunk-TLERJKSE.js} +1 -1
- package/dist/{chunk-JATIKUQ5.js → chunk-UOE26LPT.js} +5 -5
- package/dist/{chunk-7C5M5NY3.js → chunk-UQWEH7CK.js} +3 -3
- package/dist/{chunk-QTFN3ND3.js → chunk-V5DV7XZN.js} +4 -4
- package/dist/{chunk-MLFZ4F2L.js → chunk-VD6CAELE.js} +4 -4
- package/dist/{chunk-AP2VXDQB.js → chunk-VJOMBYY5.js} +1 -1
- package/dist/{chunk-U4MEORPA.js → chunk-VSE4OIBT.js} +3 -3
- package/dist/{chunk-EIREGHP2.js → chunk-WPK2UWDU.js} +1 -1
- package/dist/{chunk-SYMYZNSB.js → chunk-WVAJSBI2.js} +1 -1
- package/dist/{chunk-KLLX5ZTC.js → chunk-WYJ6QM7K.js} +2 -2
- package/dist/{chunk-G24MYZIR.js → chunk-WZNLWDSL.js} +5 -5
- package/dist/{chunk-4CD75FOI.js → chunk-X3HBR57D.js} +7 -7
- package/dist/{chunk-OBIXCQPF.js → chunk-Y3SZVZF6.js} +2 -2
- package/dist/{chunk-FSQXIJYX.js → chunk-Y7KRX7U4.js} +1 -1
- package/dist/{chunk-IBHSZUXM.js → chunk-YETNUPV5.js} +3 -3
- package/dist/{chunk-OLA7MWVD.js → chunk-Z2TX7DVU.js} +10 -10
- package/dist/{chunk-3VWS2EAB.js → chunk-ZCYLCD6L.js} +5 -5
- package/dist/{chunk-T7YK7FNA.js → chunk-ZXK46QT4.js} +2 -2
- package/dist/{codex-app-cards-switch-XMHI5UNS.js → codex-app-cards-switch-D475JLP5.js} +11 -11
- package/dist/{codex-desktop-launch-QSD3X65K.js → codex-desktop-launch-WOPEZMO6.js} +1 -1
- package/dist/{codex-session-launch-TKDH5MHT.js → codex-session-launch-AWWECV2L.js} +18 -18
- package/dist/{config-R3P7U2TH.js → config-A5EC37VZ.js} +3 -3
- package/dist/{global-upgrade-SYF6JI7C.js → global-upgrade-V6FA6MUF.js} +10 -10
- package/dist/{identity-VH233LC3.js → identity-BEPQQHNR.js} +4 -4
- package/dist/{live-capabilities-THIEYKPD.js → live-capabilities-EAM2QN73.js} +5 -5
- package/dist/{paths-UA5EZQAH.js → paths-2IEEYSHM.js} +3 -3
- package/dist/{reapply-QDTONXI3.js → reapply-GTEJJ6HZ.js} +28 -28
- package/dist/src/index.js +29 -29
- package/dist/{upgrade-lock-GHMTQ3JP.js → upgrade-lock-DLGVC34L.js} +4 -4
- package/dist/{usage-E3M5YPYW.js → usage-U6H5UFS2.js} +3 -3
- package/package.json +1 -1
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZXK46QT4.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WYJ6QM7K.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
11
|
} from "./chunk-FO3MDD26.js";
|
|
12
12
|
import {
|
|
13
13
|
readKeySource
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HYAQIKYB.js";
|
|
15
15
|
import {
|
|
16
16
|
absoluteUrl,
|
|
17
17
|
checkApiKey,
|
|
18
18
|
describeKeyCheck,
|
|
19
19
|
keyCheckFromResponse
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7BIVBOD5.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
24
24
|
import {
|
|
25
25
|
EXIT
|
|
26
26
|
} from "./chunk-KZERVKTD.js";
|
|
27
27
|
import {
|
|
28
28
|
KEY_SCOPE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4FAJQPFY.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFGMZZEB.js";
|
|
4
4
|
import {
|
|
5
5
|
backupFile,
|
|
6
6
|
readJsonSafe,
|
|
7
7
|
writeFileAtomic,
|
|
8
8
|
writeJsonAtomic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BQHZRH6S.js";
|
|
10
10
|
import {
|
|
11
11
|
configFilePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
13
13
|
import {
|
|
14
14
|
API_KEY_PREFIX_PATTERN,
|
|
15
15
|
isRecord,
|
|
16
16
|
isValidApiKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4FAJQPFY.js";
|
|
18
18
|
|
|
19
19
|
// src/shell-alias.ts
|
|
20
20
|
import { homedir } from "os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RVSRPDRF.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-VSE4OIBT.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-SXAZPWL7.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-PM34Z5WX.js";
|
|
32
32
|
import {
|
|
33
33
|
detectClaudeVersion
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YETNUPV5.js";
|
|
35
35
|
import {
|
|
36
36
|
addCompatibleHooks,
|
|
37
37
|
compatibleConfigFile,
|
|
38
38
|
compatibleInstructionsFile,
|
|
39
39
|
hasCompatibleHooks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UOE26LPT.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-VD6CAELE.js";
|
|
53
53
|
import {
|
|
54
54
|
CLAUDE_HOOK_BINARY,
|
|
55
55
|
CLAUDE_HOOK_EVENTS,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
renderAgentInstructions,
|
|
96
96
|
supportedClaudeEvents,
|
|
97
97
|
vscodePluginMcp
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-O7ITTNDD.js";
|
|
99
99
|
import {
|
|
100
100
|
formatVersion,
|
|
101
101
|
hookCommandsUseBareNames,
|
|
@@ -104,12 +104,12 @@ import {
|
|
|
104
104
|
resolveGlobalBinary,
|
|
105
105
|
writeFileAtomic,
|
|
106
106
|
writeJsonAtomic
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-BQHZRH6S.js";
|
|
108
108
|
import {
|
|
109
109
|
HOOK_COMPATIBLE_PROFILES,
|
|
110
110
|
isCompatibleAgentType,
|
|
111
111
|
isRecord
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4FAJQPFY.js";
|
|
113
113
|
|
|
114
114
|
// src/reapply.ts
|
|
115
115
|
import { dirname, join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YETNUPV5.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LURFSDCL.js";
|
|
7
7
|
import {
|
|
8
8
|
readGlobalPrefixAsync,
|
|
9
9
|
resolveGlobalBinary,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
resolvePackageVersionFromBinary,
|
|
14
14
|
resolvePathBinary,
|
|
15
15
|
resolvePathBinaryAsync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BQHZRH6S.js";
|
|
17
17
|
import {
|
|
18
18
|
MANAGED_PROVIDERS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4FAJQPFY.js";
|
|
20
20
|
|
|
21
21
|
// src/live-capabilities.ts
|
|
22
22
|
import { homedir } from "os";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
NpmMissingError,
|
|
4
4
|
NpmPermissionError,
|
|
5
5
|
writeFileAtomic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BQHZRH6S.js";
|
|
7
7
|
import {
|
|
8
8
|
NPX_LATEST_COMMAND
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PWGD5EP6.js";
|
|
10
10
|
import {
|
|
11
11
|
readSetupAgentFailures
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4FAJQPFY.js";
|
|
13
13
|
|
|
14
14
|
// src/setup/config-write.ts
|
|
15
15
|
var AgentConfigWriteError = class extends Error {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PM34Z5WX.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HYAQIKYB.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O7ITTNDD.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BQHZRH6S.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FAJQPFY.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;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
postLiveSession,
|
|
5
5
|
postLiveSessionUntilAccepted,
|
|
6
6
|
startLiveSessionHeartbeat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KACD6W6J.js";
|
|
8
8
|
import {
|
|
9
9
|
CommandReceipts,
|
|
10
10
|
controllerCommandSchema
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
describeIdleWindow,
|
|
15
15
|
idleDeadlinePassed,
|
|
16
16
|
startProcessOwnership
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T7G6IIV4.js";
|
|
18
18
|
import {
|
|
19
19
|
spawnClaude
|
|
20
20
|
} from "./chunk-XHKBHWLX.js";
|
|
21
21
|
import {
|
|
22
22
|
repositoryScopeFor
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4QO267OY.js";
|
|
24
24
|
import {
|
|
25
25
|
isAskUserResponse,
|
|
26
26
|
isDecisionStopped,
|
|
27
27
|
isWaitForAnswerResponse,
|
|
28
28
|
withdrawQuestion,
|
|
29
29
|
writeDegraded
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZCYLCD6L.js";
|
|
31
31
|
import {
|
|
32
32
|
callMcpTool,
|
|
33
33
|
isRetryable
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-V5DV7XZN.js";
|
|
35
35
|
import {
|
|
36
36
|
AGENT_QUESTION_DESCRIPTION_MAX,
|
|
37
37
|
AGENT_QUESTION_HEADER_MAX,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
parseCodexQuestions,
|
|
53
53
|
planElicitationAsk,
|
|
54
54
|
readElicitationFields
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4FAJQPFY.js";
|
|
56
56
|
|
|
57
57
|
// src/codex-question-owner.ts
|
|
58
58
|
import { createHash } from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UOE26LPT.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VD6CAELE.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O7ITTNDD.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4FAJQPFY.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O7ITTNDD.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
|
+
npmExitedOnPermissionDenied,
|
|
7
8
|
writeJsonAtomic
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BQHZRH6S.js";
|
|
9
10
|
|
|
10
11
|
// src/upgrade-lock.ts
|
|
11
12
|
import { fork } from "child_process";
|
|
@@ -157,12 +158,18 @@ var forkFinishWithUpgradeLock = (request) => new Promise((resolve, reject) => {
|
|
|
157
158
|
resolve({ code, signal });
|
|
158
159
|
});
|
|
159
160
|
});
|
|
161
|
+
var writeSettledLockRecord = (path) => writeJsonAtomic(path, { pid: process.pid, format: KERNEL_LOCK_FORMAT }, 384);
|
|
160
162
|
var installWithUpgradeLock = (request, lockPath = autoUpdateLock(), runNpm) => {
|
|
161
163
|
const path = canonicalLockPath(lockPath);
|
|
162
164
|
if (!heldLocks.has(path)) throw new Error("Cannot install an upgrade without its lock");
|
|
163
165
|
writeJsonAtomic(path, { pid: process.pid, format: KERNEL_LOCK_FORMAT, installationPending: true }, 384);
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
try {
|
|
167
|
+
installPackageGlobally(request, runNpm);
|
|
168
|
+
} catch (error) {
|
|
169
|
+
if (npmExitedOnPermissionDenied(error, process.platform)) writeSettledLockRecord(path);
|
|
170
|
+
throw error;
|
|
171
|
+
}
|
|
172
|
+
writeSettledLockRecord(path);
|
|
166
173
|
};
|
|
167
174
|
|
|
168
175
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6N5DQG5F.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-PPY5N2E6.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FAJQPFY.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readOwnerOnlyJson,
|
|
3
3
|
savedTranscriptReadPositions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G7RMOSRX.js";
|
|
5
5
|
import {
|
|
6
6
|
SESSION_HISTORY_RETENTION_DAYS
|
|
7
7
|
} from "./chunk-G66WIAST.js";
|
|
8
8
|
import {
|
|
9
9
|
ensureDaemonRunning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NZQEABRO.js";
|
|
11
11
|
import {
|
|
12
12
|
hookOwnerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VD6CAELE.js";
|
|
14
14
|
import {
|
|
15
15
|
buildTranscriptRecords,
|
|
16
16
|
decodePublicKey,
|
|
@@ -21,33 +21,33 @@ import {
|
|
|
21
21
|
recordSealerFor,
|
|
22
22
|
uploadTranscriptRecords,
|
|
23
23
|
wrapSessionKey
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3OIUMHHO.js";
|
|
25
25
|
import {
|
|
26
26
|
external_exports
|
|
27
27
|
} from "./chunk-XMSDA5WA.js";
|
|
28
28
|
import {
|
|
29
29
|
transcriptEnvironmentPreference,
|
|
30
30
|
transcriptsEnabled
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3Q2X3T3U.js";
|
|
32
32
|
import {
|
|
33
33
|
readTranscriptPreference
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HYAQIKYB.js";
|
|
35
35
|
import {
|
|
36
36
|
hookMeaning
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MP3SEXXJ.js";
|
|
38
38
|
import {
|
|
39
39
|
claudeConfigDir,
|
|
40
40
|
codexHome,
|
|
41
41
|
pusharyDir
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-O7ITTNDD.js";
|
|
43
43
|
import {
|
|
44
44
|
writeJsonAtomic,
|
|
45
45
|
writeJsonAtomicDurable
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-BQHZRH6S.js";
|
|
47
47
|
import {
|
|
48
48
|
getApiKey,
|
|
49
49
|
getBaseUrl
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
51
51
|
import {
|
|
52
52
|
PENDING_COMMAND_PREFIX,
|
|
53
53
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
isHookSource,
|
|
56
56
|
isRecord,
|
|
57
57
|
redactSecretsFromContent
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4FAJQPFY.js";
|
|
59
59
|
|
|
60
60
|
// src/transcript-recipient-pin.ts
|
|
61
61
|
import { createHash } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O7ITTNDD.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BQHZRH6S.js";
|
|
8
8
|
import {
|
|
9
9
|
DECLINED_AGENTS_FILE,
|
|
10
10
|
DISCONNECT_AGENT_IDS,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FAJQPFY.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./chunk-XHKBHWLX.js";
|
|
5
5
|
import {
|
|
6
6
|
readControlMode
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HYAQIKYB.js";
|
|
8
8
|
import {
|
|
9
9
|
getMachineId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6N5DQG5F.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O7ITTNDD.js";
|
|
14
14
|
import {
|
|
15
15
|
readJsonSafe,
|
|
16
16
|
resolveGlobalBinary,
|
|
17
17
|
writeFileAtomic,
|
|
18
18
|
writeJsonAtomic,
|
|
19
19
|
writeJsonAtomicDurable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BQHZRH6S.js";
|
|
21
21
|
import {
|
|
22
22
|
getApiKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
24
24
|
import {
|
|
25
25
|
CLI_PACKAGE_NAMES,
|
|
26
26
|
cmdShimScriptOf,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-ZVU6WMMU.js";
|
|
31
31
|
import {
|
|
32
32
|
isRecord
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4FAJQPFY.js";
|
|
34
34
|
|
|
35
35
|
// src/daemon-lifecycle.ts
|
|
36
36
|
import { dirname, join, win32 as win32Path } from "path";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WYJ6QM7K.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V5DV7XZN.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7BIVBOD5.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KOUB4ZLX.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PWGD5EP6.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-4FAJQPFY.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var reachVerdict = (channels) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BQHZRH6S.js";
|
|
8
8
|
import {
|
|
9
9
|
cmdShimScriptOf
|
|
10
10
|
} from "./chunk-ZVU6WMMU.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
HOOK_LOCATOR_BINARY,
|
|
16
16
|
PRETOOLUSE_GATED_TOOLS,
|
|
17
17
|
withHookHoldBudget
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4FAJQPFY.js";
|
|
19
19
|
|
|
20
20
|
// src/setup/paths.ts
|
|
21
21
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UOE26LPT.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands,
|
|
7
7
|
liveBridgeProbe,
|
|
8
8
|
resolveBridgeStub
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VD6CAELE.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_CHOICES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WVAJSBI2.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeSettings,
|
|
15
15
|
codexHooksJson,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
pusharyDir,
|
|
20
20
|
vscodePluginDir,
|
|
21
21
|
windowsNodeLauncherFor
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O7ITTNDD.js";
|
|
23
23
|
import {
|
|
24
24
|
readJsonSafe
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BQHZRH6S.js";
|
|
26
26
|
import {
|
|
27
27
|
HOOK_BUDGETS,
|
|
28
28
|
HOOK_COMPATIBLE_PROFILES,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
OPENCODE_APPROVAL_EVENT,
|
|
31
31
|
hookCompatibleProfile,
|
|
32
32
|
isRecord
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4FAJQPFY.js";
|
|
34
34
|
|
|
35
35
|
// src/opencode-plugin.ts
|
|
36
36
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
codexHome,
|
|
8
8
|
codexHooksJsonIn,
|
|
9
9
|
isPusharyCodexCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O7ITTNDD.js";
|
|
11
11
|
import {
|
|
12
12
|
resolvePathBinary
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BQHZRH6S.js";
|
|
14
14
|
import {
|
|
15
15
|
getPackageVersion
|
|
16
16
|
} from "./chunk-ZVU6WMMU.js";
|