pushary 1.9.92 → 1.9.94
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-QUARGXSY.js → api-QBIRIMGU.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 +34 -32
- 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 +54 -52
- 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-OFQJHWAS.js → chunk-2TA5UKNE.js} +10 -10
- package/dist/{chunk-3CJFBWID.js → chunk-3DASOC3M.js} +3 -3
- package/dist/{chunk-7YB2XRY7.js → chunk-3GZCHFYV.js} +3 -3
- package/dist/{chunk-ANDG4PUV.js → chunk-4GNFBBE6.js} +6 -6
- package/dist/{chunk-2FL5PLA4.js → chunk-4N6MND55.js} +2 -2
- package/dist/{chunk-6QH4MWCW.js → chunk-4YPTEVZD.js} +3 -3
- package/dist/{chunk-7PQ66CB3.js → chunk-4YSFD4RY.js} +1 -1
- package/dist/{chunk-NZKH2RMQ.js → chunk-5M6ASRLB.js} +1 -1
- package/dist/{chunk-GLA6MCOG.js → chunk-5QSPRDUO.js} +1 -1
- package/dist/{chunk-GDVS6J4R.js → chunk-5ZBYW7IO.js} +2 -2
- package/dist/{chunk-7S3LH5AX.js → chunk-6SN6L5YT.js} +11 -11
- package/dist/{chunk-4HQTZQ4D.js → chunk-6YX4VASU.js} +2 -2
- package/dist/{chunk-VTCSUU4R.js → chunk-7Y3AQNHV.js} +5 -5
- package/dist/{chunk-JZ2MRWC4.js → chunk-AEKTC2DX.js} +3 -3
- package/dist/{chunk-DV7LLH25.js → chunk-AMPF5FAS.js} +1 -1
- package/dist/{chunk-UGGACQMD.js → chunk-ANZECRZO.js} +3 -3
- package/dist/{chunk-RXAQOAZI.js → chunk-AUIRBCYE.js} +3 -3
- package/dist/{chunk-INSLGCGD.js → chunk-BE4KMA7N.js} +18 -15
- package/dist/{chunk-UHS3JZLN.js → chunk-BOHUB5VP.js} +2 -2
- package/dist/{chunk-CFD3IESN.js → chunk-CA2V7TKX.js} +6 -6
- package/dist/{chunk-4PD7FP55.js → chunk-CDIVGMBR.js} +2 -2
- package/dist/{chunk-DYNMKVNO.js → chunk-CS2C7S5L.js} +5 -5
- package/dist/{chunk-HUNGCBCF.js → chunk-E2WYLZIL.js} +3 -3
- package/dist/{chunk-SPPMPM7F.js → chunk-EFCHGKAD.js} +1 -1
- package/dist/{chunk-B6WYXY32.js → chunk-ERQD5UVH.js} +7 -7
- package/dist/{chunk-PS2K6ZQ3.js → chunk-F74RBPJY.js} +6 -6
- package/dist/{chunk-NDPOESVW.js → chunk-FQZSKWWL.js} +1 -1
- package/dist/{chunk-3JVV6PMG.js → chunk-FSMR6GJT.js} +5 -5
- package/dist/{chunk-Y7AX6BS4.js → chunk-GPGLRSGY.js} +3 -3
- package/dist/{chunk-R3EUVK3A.js → chunk-HHE7ONVT.js} +4 -4
- package/dist/{chunk-FCBFWXPE.js → chunk-HHKBWPXA.js} +5 -5
- package/dist/{chunk-CI6VDIHW.js → chunk-HRFOVTCQ.js} +10 -10
- package/dist/{chunk-FTJ5DQL7.js → chunk-HZQIC3DG.js} +2 -2
- package/dist/{chunk-NPZ5L2WQ.js → chunk-IB5MLSE3.js} +1 -1
- package/dist/{chunk-CSUO5YJG.js → chunk-IMNXYNBJ.js} +2 -2
- package/dist/{chunk-76ROCOWD.js → chunk-JCZ7WE5G.js} +7 -7
- package/dist/{chunk-N7CPX5S5.js → chunk-JJ2AA3N6.js} +5 -5
- package/dist/{chunk-VMIWR724.js → chunk-JLWI2HZF.js} +1 -1
- package/dist/{chunk-F2CWT6Y6.js → chunk-K3E3NFTT.js} +6 -6
- package/dist/{chunk-ITGPUTFV.js → chunk-K56A3LSA.js} +4 -4
- package/dist/{chunk-X3AHEUQ5.js → chunk-KH3QOWTE.js} +3 -3
- package/dist/{chunk-KJ752DUH.js → chunk-KXCSF2IK.js} +6 -6
- package/dist/{chunk-CHVXLS7U.js → chunk-LFIFIIMK.js} +2 -2
- package/dist/{chunk-NHGOCUX7.js → chunk-MC7I3SZW.js} +1 -1
- package/dist/{chunk-7DOSRSRU.js → chunk-OSDL6OND.js} +6 -6
- package/dist/{chunk-XTNCXIYR.js → chunk-OWCWJBGW.js} +4 -4
- package/dist/{chunk-BETKU76V.js → chunk-PGCDYBKG.js} +3 -3
- package/dist/{chunk-2BVVMWVF.js → chunk-QNFDU72D.js} +1 -1
- package/dist/{chunk-YLCNW7YN.js → chunk-QR7RXGNF.js} +2 -2
- package/dist/{chunk-LTMMFZHG.js → chunk-QU2G6MM7.js} +1 -1
- package/dist/{chunk-66VEUAN5.js → chunk-QVCDU4NT.js} +1 -1
- package/dist/{chunk-YT3ENXBT.js → chunk-QYP4EEDA.js} +2 -2
- package/dist/{chunk-UZRKR6NZ.js → chunk-RCDCFFG4.js} +3 -3
- package/dist/{chunk-LANGH7UF.js → chunk-REV2QMUD.js} +4 -4
- package/dist/{chunk-V3LBQFQM.js → chunk-RGMS5EDS.js} +1 -1
- package/dist/{chunk-SR44ZNZF.js → chunk-SKYDYDGX.js} +5 -5
- package/dist/{chunk-JJWZIPDL.js → chunk-SSXMA23D.js} +4 -4
- package/dist/{chunk-H4MIOBC6.js → chunk-SV6WE5QB.js} +2 -2
- package/dist/{chunk-V7TNHTHH.js → chunk-TYHOBIDF.js} +1 -1
- package/dist/{chunk-5TQC2LS6.js → chunk-UC6IZRXP.js} +4 -4
- package/dist/{chunk-2BXWBKVN.js → chunk-UFT4R4V7.js} +3 -3
- package/dist/{chunk-OC47FGOY.js → chunk-VDBRLNW7.js} +1 -1
- package/dist/{chunk-373552A3.js → chunk-X5DCL36E.js} +4 -4
- package/dist/{chunk-CA4PS7XT.js → chunk-X7GKDLW7.js} +5 -5
- package/dist/{chunk-WW4OMRZX.js → chunk-XASOD3XX.js} +1 -1
- package/dist/{chunk-OMN5UCMW.js → chunk-XERTD7VZ.js} +520 -40
- package/dist/{chunk-CO6TQ44W.js → chunk-YQCRX4T6.js} +3 -3
- package/dist/{chunk-RXQT5FTX.js → chunk-Z4JULPCS.js} +1 -1
- package/dist/{chunk-UNPDFIPQ.js → chunk-Z5QJONDX.js} +2 -2
- package/dist/{chunk-PFHU3CW4.js → chunk-ZZ5QZ24I.js} +1 -1
- package/dist/{codex-app-cards-switch-XP2H2CZO.js → codex-app-cards-switch-QEMMPNK3.js} +11 -11
- package/dist/{codex-desktop-launch-QRFE2GHZ.js → codex-desktop-launch-LNIZPXSJ.js} +1 -1
- package/dist/{codex-session-launch-EUUWALWW.js → codex-session-launch-IZ4IQDS7.js} +18 -18
- package/dist/{config-WBDMUTD4.js → config-3J5OOY3O.js} +3 -3
- package/dist/{global-upgrade-ZXFLRGGV.js → global-upgrade-LQM7IFAP.js} +10 -10
- package/dist/{identity-NUQ75BP7.js → identity-IQ3JVAIM.js} +4 -4
- package/dist/{live-capabilities-SIQ25SSK.js → live-capabilities-3AWVBJSK.js} +5 -5
- package/dist/{paths-BGO6PZFZ.js → paths-TAAVCO2D.js} +3 -3
- package/dist/{reapply-QOXNSRFA.js → reapply-37FCVQCJ.js} +28 -28
- package/dist/src/index.js +29 -29
- package/dist/{upgrade-lock-B5HTMEWT.js → upgrade-lock-GWB57A36.js} +4 -4
- package/dist/{usage-YHFALPKW.js → usage-QJYVQ3GS.js} +3 -3
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-XMSDA5WA.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IB5MLSE3.js";
|
|
7
7
|
import {
|
|
8
8
|
compressTranscriptRecord,
|
|
9
9
|
redactSecretsFromContent,
|
|
10
10
|
transcriptRecordPlaintext
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XERTD7VZ.js";
|
|
12
12
|
|
|
13
13
|
// src/transcript-api.ts
|
|
14
14
|
var providerRecipientSchema = external_exports.object({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K3E3NFTT.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-REV2QMUD.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LFIFIIMK.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GPGLRSGY.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XERTD7VZ.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,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LFIFIIMK.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GPGLRSGY.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_PACKAGE_NAMES,
|
|
13
13
|
POSIX_GLOBAL_ROOT_SEGMENTS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-ZVU6WMMU.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XERTD7VZ.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerTranscript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6SN6L5YT.js";
|
|
4
4
|
import {
|
|
5
5
|
namedEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X7GKDLW7.js";
|
|
7
7
|
import {
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe,
|
|
10
10
|
pusharyHookExecutable,
|
|
11
11
|
resolveBridgeStub
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K56A3LSA.js";
|
|
13
13
|
import {
|
|
14
14
|
writeDegraded
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SKYDYDGX.js";
|
|
16
16
|
import {
|
|
17
17
|
cursorUserHooks
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LFIFIIMK.js";
|
|
19
19
|
import {
|
|
20
20
|
atLeast,
|
|
21
21
|
parseVersion
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GPGLRSGY.js";
|
|
23
23
|
import {
|
|
24
24
|
CURSOR_GATE_COVERAGE,
|
|
25
25
|
CURSOR_GATE_SCRIPT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isGrokSessionEndStop,
|
|
34
34
|
isRecord,
|
|
35
35
|
toolsCoveredByGateEntry
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XERTD7VZ.js";
|
|
37
37
|
|
|
38
38
|
// src/tool-hook-input.ts
|
|
39
39
|
var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
postLiveSession,
|
|
5
5
|
postLiveSessionUntilAccepted,
|
|
6
6
|
startLiveSessionHeartbeat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EFCHGKAD.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-UFT4R4V7.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-Z4JULPCS.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-SKYDYDGX.js";
|
|
31
31
|
import {
|
|
32
32
|
callMcpTool,
|
|
33
33
|
isRetryable
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OWCWJBGW.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-XERTD7VZ.js";
|
|
56
56
|
|
|
57
57
|
// src/codex-question-owner.ts
|
|
58
58
|
import { createHash } from "crypto";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SSXMA23D.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-CA2V7TKX.js";
|
|
14
14
|
import {
|
|
15
15
|
readControlMode,
|
|
16
16
|
readKeySource
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-REV2QMUD.js";
|
|
18
18
|
import {
|
|
19
19
|
getMachineId
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IMNXYNBJ.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IB5MLSE3.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-ZVU6WMMU.js";
|
|
@@ -471,9 +471,9 @@ var installGlobally = (options) => {
|
|
|
471
471
|
}
|
|
472
472
|
const started = (async () => {
|
|
473
473
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
474
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
475
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
476
|
-
const { autoUpdateLock } = await import("./paths-
|
|
474
|
+
const { withUpgradeLock } = await import("./global-upgrade-LQM7IFAP.js");
|
|
475
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-GWB57A36.js");
|
|
476
|
+
const { autoUpdateLock } = await import("./paths-TAAVCO2D.js");
|
|
477
477
|
let result = "skipped";
|
|
478
478
|
const install = async () => {
|
|
479
479
|
const platform = process.platform;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X7GKDLW7.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K56A3LSA.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LFIFIIMK.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XERTD7VZ.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCodeConfigDirFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K3E3NFTT.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeClaudeInstallPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QVCDU4NT.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X7GKDLW7.js";
|
|
10
10
|
import {
|
|
11
11
|
claudeConfigDir,
|
|
12
12
|
clineDataDirectory,
|
|
13
13
|
codexHomeFrom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LFIFIIMK.js";
|
|
15
15
|
import {
|
|
16
16
|
HOOK_COMPATIBLE_PROFILES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XERTD7VZ.js";
|
|
18
18
|
|
|
19
19
|
// src/vscode-config.ts
|
|
20
20
|
import { homedir } from "os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6YX4VASU.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-AEKTC2DX.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-JJ2AA3N6.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-K3E3NFTT.js";
|
|
32
32
|
import {
|
|
33
33
|
detectClaudeVersion
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AUIRBCYE.js";
|
|
35
35
|
import {
|
|
36
36
|
addCompatibleHooks,
|
|
37
37
|
compatibleConfigFile,
|
|
38
38
|
compatibleInstructionsFile,
|
|
39
39
|
hasCompatibleHooks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-X7GKDLW7.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-K56A3LSA.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-LFIFIIMK.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-GPGLRSGY.js";
|
|
108
108
|
import {
|
|
109
109
|
HOOK_COMPATIBLE_PROFILES,
|
|
110
110
|
isCompatibleAgentType,
|
|
111
111
|
isRecord
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-XERTD7VZ.js";
|
|
113
113
|
|
|
114
114
|
// src/reapply.ts
|
|
115
115
|
import { dirname, join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RCDCFFG4.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XERTD7VZ.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
announceSubscriptionRequired,
|
|
3
3
|
isDeferAnswer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGMS5EDS.js";
|
|
5
5
|
import {
|
|
6
6
|
AUTO_DECISION_WINDOW_MS,
|
|
7
7
|
DEFAULT_SESSION,
|
|
8
8
|
claimThrottle,
|
|
9
9
|
releaseThrottle,
|
|
10
10
|
reportEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2TA5UKNE.js";
|
|
12
12
|
import {
|
|
13
13
|
deriveToolTarget,
|
|
14
14
|
permissionDeniedAction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QNFDU72D.js";
|
|
16
16
|
import {
|
|
17
17
|
askUser,
|
|
18
18
|
isDecisionStopped,
|
|
19
19
|
isQuestionLimitRefusal,
|
|
20
20
|
waitForQuestion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SKYDYDGX.js";
|
|
22
22
|
import {
|
|
23
23
|
SubscriptionRequiredError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OWCWJBGW.js";
|
|
25
25
|
import {
|
|
26
26
|
getMachineId
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IMNXYNBJ.js";
|
|
28
28
|
import {
|
|
29
29
|
ASK_CONTEXT_MAX,
|
|
30
30
|
agentQuestionContext,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
questionsShownAsASet,
|
|
37
37
|
shouldDeferToNativeMode,
|
|
38
38
|
wireVerdictFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XERTD7VZ.js";
|
|
40
40
|
|
|
41
41
|
// src/machine-decision-audit.ts
|
|
42
42
|
import { basename } from "path";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3GZCHFYV.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BOHUB5VP.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-REV2QMUD.js";
|
|
14
14
|
import {
|
|
15
15
|
CLINE_SERVER_NAME_TAKEN,
|
|
16
16
|
CLINE_SETTINGS_REFUSALS,
|
|
@@ -32,13 +32,13 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LFIFIIMK.js";
|
|
36
36
|
import {
|
|
37
37
|
readJsonSafe,
|
|
38
38
|
resolveGlobalBinary,
|
|
39
39
|
writeFileAtomic,
|
|
40
40
|
writeJsonAtomic
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GPGLRSGY.js";
|
|
42
42
|
|
|
43
43
|
// src/fx-config.ts
|
|
44
44
|
var FX_SERVER_NAME = "pushary";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X7GKDLW7.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands,
|
|
7
7
|
liveBridgeProbe,
|
|
8
8
|
resolveBridgeStub
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K56A3LSA.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_CHOICES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ZBYW7IO.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-LFIFIIMK.js";
|
|
23
23
|
import {
|
|
24
24
|
readJsonSafe
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GPGLRSGY.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-XERTD7VZ.js";
|
|
34
34
|
|
|
35
35
|
// src/opencode-plugin.ts
|
|
36
36
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5ZBYW7IO.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZZ5QZ24I.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
hookBinaryNameOf,
|
|
14
14
|
isProtectedByScope,
|
|
15
15
|
registerHookEntry
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LFIFIIMK.js";
|
|
17
17
|
import {
|
|
18
18
|
CURSOR_GATE_EVENTS,
|
|
19
19
|
HOOK_BUDGETS,
|
|
20
20
|
HOOK_LOCATOR_BINARY,
|
|
21
21
|
hookCommandHoldBudget
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XERTD7VZ.js";
|
|
23
23
|
|
|
24
24
|
// src/diagnostics/bridge.ts
|
|
25
25
|
import { execFileSync } from "child_process";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readJsonSafe,
|
|
3
3
|
writeJsonAtomic
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GPGLRSGY.js";
|
|
5
5
|
import {
|
|
6
6
|
configFilePath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IB5MLSE3.js";
|
|
8
8
|
import {
|
|
9
9
|
readSetupOutcomeProperties
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XERTD7VZ.js";
|
|
11
11
|
|
|
12
12
|
// src/diagnostics/service-runtime.ts
|
|
13
13
|
var unescapeXml = (value) => value.replaceAll(""", '"').replaceAll("'", "'").replaceAll("<", "<").replaceAll(">", ">").replaceAll("&", "&");
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SV6WE5QB.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HZQIC3DG.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-REV2QMUD.js";
|
|
15
15
|
import {
|
|
16
16
|
absoluteUrl,
|
|
17
17
|
checkApiKey,
|
|
18
18
|
describeKeyCheck,
|
|
19
19
|
keyCheckFromResponse
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RCDCFFG4.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IB5MLSE3.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-XERTD7VZ.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GPGLRSGY.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-XERTD7VZ.js";
|
|
19
19
|
|
|
20
20
|
// src/setup/paths.ts
|
|
21
21
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HZQIC3DG.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWCWJBGW.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RCDCFFG4.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IB5MLSE3.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FQZSKWWL.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-XERTD7VZ.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var reachVerdict = (channels) => {
|