pushary 1.9.78 → 1.9.80
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 +21 -0
- package/dist/{api-4WCUP47K.js → api-FPA2PPXY.js} +10 -10
- package/dist/bin/pushary-bell-hook.js +25 -25
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +34 -34
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +30 -30
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +13 -13
- package/dist/bin/pushary-connect.js +26 -26
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +45 -42
- package/dist/bin/pushary-disconnect.js +25 -25
- package/dist/bin/pushary-display-hook.js +16 -16
- package/dist/bin/pushary-doctor.js +41 -41
- package/dist/bin/pushary-elicitation-hook.js +25 -25
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +27 -27
- package/dist/bin/pushary-hook.js +29 -29
- package/dist/bin/pushary-login.js +20 -20
- package/dist/bin/pushary-logout.js +24 -24
- package/dist/bin/pushary-mcp.js +11 -11
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +24 -24
- package/dist/bin/pushary-opencode-hook.js +26 -26
- package/dist/bin/pushary-permission-denied-hook.js +29 -29
- package/dist/bin/pushary-permission-hook.js +29 -29
- package/dist/bin/pushary-post-hook.js +24 -24
- package/dist/bin/pushary-prompt-hook.js +24 -24
- package/dist/bin/pushary-session-end-hook.js +26 -26
- package/dist/bin/pushary-session-start-hook.js +34 -34
- package/dist/bin/pushary-setup.js +46 -46
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +31 -31
- package/dist/bin/pushary-stop-hook.js +24 -24
- package/dist/bin/pushary-stopfailure-hook.js +24 -24
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +16 -16
- package/dist/bin/pushary-transcripts.js +18 -18
- package/dist/bin/pushary-upgrade.js +39 -39
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-VYELSTZK.js → chunk-24FQPJOZ.js} +3 -3
- package/dist/{chunk-22FLBWJH.js → chunk-262U6MMI.js} +2 -2
- package/dist/{chunk-RCDZ2XZ6.js → chunk-35M6YE6T.js} +1 -1
- package/dist/{chunk-TNNB7P6Z.js → chunk-3BPSCYOE.js} +7 -7
- package/dist/{chunk-JLBLEFBK.js → chunk-3G2D5NAG.js} +3 -3
- package/dist/{chunk-NH7C6QBI.js → chunk-3GZRNHH5.js} +4 -4
- package/dist/{chunk-MJXP5MFI.js → chunk-3KQM5AKY.js} +4 -4
- package/dist/{chunk-SV2C7PZV.js → chunk-3LJU2L5S.js} +6 -6
- package/dist/{chunk-TDLK3ZU2.js → chunk-4OXYED6O.js} +4 -4
- package/dist/{chunk-JM4WO3JT.js → chunk-4WCPDCKA.js} +2 -2
- package/dist/{chunk-AOGM34LL.js → chunk-5HA42EV4.js} +1 -1
- package/dist/{chunk-C5LCOXAC.js → chunk-6VLSVB2C.js} +5 -5
- package/dist/{chunk-TQYSBYYZ.js → chunk-7QYERUTD.js} +3 -3
- package/dist/{chunk-6HDYWRCP.js → chunk-7R5ZKOQ4.js} +1 -1
- package/dist/{chunk-7BMBXTN4.js → chunk-7TIDWBXF.js} +10 -10
- package/dist/{chunk-BE5BA3GF.js → chunk-A2OAJ7CS.js} +1 -1
- package/dist/{chunk-Q53QJQLY.js → chunk-AFCKBLEG.js} +1 -1
- package/dist/{chunk-OFQACQDL.js → chunk-B67R6ZCW.js} +2 -2
- package/dist/{chunk-YOPFR22Y.js → chunk-BWE52JRG.js} +2 -2
- package/dist/{chunk-42Y7IZSV.js → chunk-DFW2JKHX.js} +1 -1
- package/dist/{chunk-YH3RAWMV.js → chunk-DLPFYJ7G.js} +1 -1
- package/dist/{chunk-T2MJ5H2V.js → chunk-DN6QYNNC.js} +14 -11
- package/dist/{chunk-CHBK47DU.js → chunk-EU67IKIQ.js} +3 -3
- package/dist/{chunk-5F3L3QOO.js → chunk-EUZ73S73.js} +4 -4
- package/dist/{chunk-ZM3ELQPE.js → chunk-FNBGGKRK.js} +29 -20
- package/dist/{chunk-7KMI2G24.js → chunk-FZJON3RK.js} +6 -6
- package/dist/{chunk-YP35CA5L.js → chunk-GXW43S4A.js} +2 -2
- package/dist/{chunk-OFJUHEEG.js → chunk-HGCUZQUL.js} +2 -0
- package/dist/{chunk-KJYZXX7X.js → chunk-HJZDJS63.js} +3 -3
- package/dist/{chunk-Z6DZHUCO.js → chunk-HMLURCXV.js} +6 -6
- package/dist/{chunk-WJTUCQ47.js → chunk-IPIJY4TI.js} +1 -1
- package/dist/{chunk-Y4I5YX3L.js → chunk-IRE7HPNI.js} +31 -4
- package/dist/{chunk-ZFS2Y5GK.js → chunk-ITVTU4RZ.js} +5 -5
- package/dist/{chunk-TRTAYW7Z.js → chunk-IWYGHJY6.js} +4 -4
- package/dist/{chunk-TKQGDSO4.js → chunk-IYCYKG2B.js} +2 -2
- package/dist/{chunk-DQCQQ2PY.js → chunk-J5BCHHCB.js} +1 -1
- package/dist/{chunk-EUW7JL2K.js → chunk-K6ZOH6P7.js} +13 -6
- package/dist/{chunk-IVBQ5ISS.js → chunk-KHLWYQK7.js} +13 -13
- package/dist/{chunk-5YHI2FN4.js → chunk-L3VBP627.js} +6 -6
- package/dist/{chunk-RJEG3TUZ.js → chunk-LIXHCI4G.js} +6 -6
- package/dist/{chunk-XCBKGQ6N.js → chunk-LK343VAG.js} +3 -3
- package/dist/{chunk-WHTWHHE3.js → chunk-LN32FXTF.js} +5 -5
- package/dist/{chunk-RDU5HWKU.js → chunk-MJNZBNTN.js} +4 -4
- package/dist/{chunk-YJK3LBAJ.js → chunk-N3DOT42Y.js} +6 -6
- package/dist/{chunk-MPZFQP6O.js → chunk-NOQGCGOR.js} +1 -1
- package/dist/{chunk-VZHDSUXK.js → chunk-OJS32QPK.js} +1 -1
- package/dist/{chunk-4FYY6YW3.js → chunk-OSXIMNMJ.js} +1 -1
- package/dist/{chunk-3XH4YLCN.js → chunk-PE6JUMI2.js} +4 -4
- package/dist/{chunk-74R4IZ7N.js → chunk-PJRXYNXG.js} +5 -5
- package/dist/{chunk-4ZSQPGAU.js → chunk-QBI4KSTQ.js} +2 -2
- package/dist/{chunk-5WU6534E.js → chunk-QNPIHZFM.js} +2 -2
- package/dist/{chunk-BM3AT5AF.js → chunk-RNAFUXEK.js} +4 -4
- package/dist/{chunk-NFK5ZCLK.js → chunk-S5MRKUSX.js} +3 -3
- package/dist/{chunk-FMDP5KWV.js → chunk-SGG5GNVW.js} +6 -6
- package/dist/{chunk-5QOMMZFZ.js → chunk-SNQ5HQHE.js} +1 -1
- package/dist/{chunk-VIIQLZJS.js → chunk-T2H6BCRY.js} +3 -3
- package/dist/{chunk-EDHOHS3C.js → chunk-TDW5LI6P.js} +3 -3
- package/dist/{chunk-B4MQSH3R.js → chunk-TSCACSAR.js} +5 -5
- package/dist/{chunk-PYW7VWVZ.js → chunk-UAADLSK5.js} +5 -5
- package/dist/{chunk-OOODSAHW.js → chunk-UCZZX5JH.js} +3 -3
- package/dist/{chunk-RIVCTSYV.js → chunk-VP473NXT.js} +5 -5
- package/dist/{chunk-L2S7KWMF.js → chunk-WJVQOAZY.js} +1 -1
- package/dist/{chunk-IVY6LYTO.js → chunk-WQNHWWVW.js} +1 -1
- package/dist/{chunk-Z5VZWDGL.js → chunk-XU2FL4B6.js} +2 -2
- package/dist/{chunk-LXSGNGK5.js → chunk-YEPXSGFC.js} +3 -3
- package/dist/{chunk-56POFDRB.js → chunk-YJGWHP2I.js} +3 -3
- package/dist/{chunk-74NZ3CJQ.js → chunk-Z4PNECON.js} +1 -1
- package/dist/{chunk-4DOJLAGR.js → chunk-ZJGIJDWP.js} +1 -1
- package/dist/{chunk-DLOUKVLM.js → chunk-ZYFZAZCN.js} +2 -2
- package/dist/{codex-app-cards-switch-GUZ7XMPB.js → codex-app-cards-switch-AT6X3X6U.js} +11 -11
- package/dist/{codex-desktop-launch-Q5UINXU6.js → codex-desktop-launch-4ELF22QM.js} +1 -1
- package/dist/{codex-session-launch-4G5AFXXU.js → codex-session-launch-QEVWHTU7.js} +18 -18
- package/dist/{config-725HOJFK.js → config-PXISW4O5.js} +3 -3
- package/dist/{global-upgrade-AXTMEH3I.js → global-upgrade-H3S4KQ26.js} +10 -10
- package/dist/{identity-HLIZDGEN.js → identity-FB7QFMEZ.js} +4 -4
- package/dist/{live-capabilities-A74OIHWN.js → live-capabilities-27LDDOMC.js} +5 -5
- package/dist/{paths-ZHDLQD25.js → paths-URGGQMFD.js} +3 -3
- package/dist/{reapply-RC2AMGCQ.js → reapply-A6OKNS24.js} +27 -27
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +28 -28
- package/dist/{upgrade-lock-4B3D3OCT.js → upgrade-lock-65A4XSMV.js} +4 -4
- package/dist/{usage-VVPEFYKS.js → usage-FZTPRQRP.js} +3 -3
- package/package.json +1 -1
package/dist/bin/pushary.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installNetworkDefaults
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-LK343VAG.js";
|
|
5
|
+
import "../chunk-QBI4KSTQ.js";
|
|
6
|
+
import "../chunk-7QYERUTD.js";
|
|
7
|
+
import "../chunk-IRE7HPNI.js";
|
|
8
|
+
import "../chunk-AFCKBLEG.js";
|
|
9
9
|
import "../chunk-PPY5N2E6.js";
|
|
10
10
|
import {
|
|
11
11
|
EXIT
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
LISTED_COMMANDS,
|
|
15
15
|
renderHelp,
|
|
16
16
|
resolveCommandName
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-35M6YE6T.js";
|
|
18
18
|
import {
|
|
19
19
|
getPackageVersion
|
|
20
20
|
} from "../chunk-QTOLNRET.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-HGCUZQUL.js";
|
|
22
22
|
import "../chunk-MLKGABMK.js";
|
|
23
23
|
|
|
24
24
|
// src/cli/runtime.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findNativeClaudeInstall
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J5BCHHCB.js";
|
|
4
4
|
import {
|
|
5
5
|
parseVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRE7HPNI.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGCUZQUL.js";
|
|
10
10
|
|
|
11
11
|
// src/setup/agent-probe.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7QYERUTD.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
writeJsonAtomic
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IRE7HPNI.js";
|
|
9
9
|
|
|
10
10
|
// src/upgrade-lock.ts
|
|
11
11
|
import { fork } from "child_process";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerTranscript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DN6QYNNC.js";
|
|
4
4
|
import {
|
|
5
5
|
namedEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4OXYED6O.js";
|
|
7
7
|
import {
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe,
|
|
10
10
|
pusharyHookExecutable,
|
|
11
11
|
resolveBridgeStub
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PE6JUMI2.js";
|
|
13
13
|
import {
|
|
14
14
|
writeDegraded
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UAADLSK5.js";
|
|
16
16
|
import {
|
|
17
17
|
cursorUserHooks
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7QYERUTD.js";
|
|
19
19
|
import {
|
|
20
20
|
atLeast,
|
|
21
21
|
parseVersion
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IRE7HPNI.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-HGCUZQUL.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"];
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B67R6ZCW.js";
|
|
13
13
|
import {
|
|
14
14
|
writeHuman
|
|
15
15
|
} from "./chunk-QCGNGEGE.js";
|
|
16
16
|
import {
|
|
17
17
|
xml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FZJON3RK.js";
|
|
19
19
|
import {
|
|
20
20
|
CODEX_APP_LAUNCH_AT_LOGIN_VERB,
|
|
21
21
|
CODEX_APP_LAUNCH_VARIABLE
|
|
22
22
|
} from "./chunk-E46NE7FB.js";
|
|
23
23
|
import {
|
|
24
24
|
writeFileAtomic
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IRE7HPNI.js";
|
|
26
26
|
|
|
27
27
|
// src/codex-app-cards-switch.ts
|
|
28
28
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GXW43S4A.js";
|
|
4
4
|
import {
|
|
5
5
|
backupFile,
|
|
6
6
|
readJsonSafe,
|
|
7
7
|
writeFileAtomic,
|
|
8
8
|
writeJsonAtomic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IRE7HPNI.js";
|
|
10
10
|
import {
|
|
11
11
|
configFilePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AFCKBLEG.js";
|
|
13
13
|
import {
|
|
14
14
|
API_KEY_PREFIX_PATTERN,
|
|
15
15
|
isRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HGCUZQUL.js";
|
|
17
17
|
|
|
18
18
|
// src/shell-alias.ts
|
|
19
19
|
import { homedir } from "os";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4OXYED6O.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PE6JUMI2.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7QYERUTD.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HGCUZQUL.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4OXYED6O.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands,
|
|
7
7
|
liveBridgeProbe,
|
|
8
8
|
resolveBridgeStub
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PE6JUMI2.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_CHOICES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZJGIJDWP.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeSettings,
|
|
15
15
|
codexHooksJson,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
guardedArgv,
|
|
19
19
|
pusharyDir,
|
|
20
20
|
vscodePluginDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7QYERUTD.js";
|
|
22
22
|
import {
|
|
23
23
|
readJsonSafe
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IRE7HPNI.js";
|
|
25
25
|
import {
|
|
26
26
|
HOOK_BUDGETS,
|
|
27
27
|
HOOK_COMPATIBLE_PROFILES,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
OPENCODE_APPROVAL_EVENT,
|
|
30
30
|
hookCompatibleProfile,
|
|
31
31
|
isRecord
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HGCUZQUL.js";
|
|
33
33
|
|
|
34
34
|
// src/opencode-plugin.ts
|
|
35
35
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PE6JUMI2.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT,
|
|
7
7
|
compatibleToolLookup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FNBGGKRK.js";
|
|
9
9
|
import {
|
|
10
10
|
CLAUDE_HOOK_EVENTS,
|
|
11
11
|
PUSHARY_MCP_URL,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isPusharyHook,
|
|
18
18
|
registerHookEntry,
|
|
19
19
|
removeClaudeMcpServers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7QYERUTD.js";
|
|
21
21
|
import {
|
|
22
22
|
HOOK_COMPATIBLE_PROFILES,
|
|
23
23
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
pusharyMissingReason,
|
|
29
29
|
refusalOutput,
|
|
30
30
|
withHookHoldBudget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HGCUZQUL.js";
|
|
32
32
|
|
|
33
33
|
// src/config-document.ts
|
|
34
34
|
import { parse, stringify } from "smol-toml";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCodeConfigDirFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LJU2L5S.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeClaudeInstallPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J5BCHHCB.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4OXYED6O.js";
|
|
10
10
|
import {
|
|
11
11
|
claudeConfigDir,
|
|
12
12
|
clineDataDirectory,
|
|
13
13
|
codexHomeFrom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7QYERUTD.js";
|
|
15
15
|
import {
|
|
16
16
|
HOOK_COMPATIBLE_PROFILES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HGCUZQUL.js";
|
|
18
18
|
|
|
19
19
|
// src/vscode-config.ts
|
|
20
20
|
import { homedir } from "os";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IRE7HPNI.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_PRETOOLUSE_MATCHER,
|
|
10
10
|
CODEX_QUESTION_TOOLS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
HOOK_LOCATOR_BINARY,
|
|
13
13
|
PRETOOLUSE_GATED_TOOLS,
|
|
14
14
|
withHookHoldBudget
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HGCUZQUL.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/paths.ts
|
|
18
18
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -542,7 +542,7 @@ var ESTABLISHED = [1, 0, 0];
|
|
|
542
542
|
var OBSERVED = [2, 0, 0];
|
|
543
543
|
var CLAUDE_HOOK_BINARY = "pushary-hook";
|
|
544
544
|
var CLAUDE_HOOK_EVENTS = [
|
|
545
|
-
{ event: "MessageDisplay", binary: "pushary-display-hook", timeout: 1, delivery: "telemetry", since: [2, 1, 308] },
|
|
545
|
+
{ event: "MessageDisplay", binary: "pushary-display-hook", timeout: 1, delivery: "telemetry", delaysDisplay: true, since: [2, 1, 308] },
|
|
546
546
|
{ event: "PreToolUse", binary: CLAUDE_HOOK_BINARY, matcher: CLAUDE_PRETOOLUSE_MATCHER, timeout: HOOK_BUDGETS.claude.budgetSeconds, delivery: "approval", since: ESTABLISHED },
|
|
547
547
|
{ event: "PostToolUse", binary: "pushary-post-hook", matcher: MIRRORED_TOOLS, timeout: 10, delivery: "telemetry", since: ESTABLISHED },
|
|
548
548
|
{ event: "Stop", binary: "pushary-stop-hook", timeout: 10, delivery: "telemetry", since: ESTABLISHED },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureCodexTrustsPusharyHooks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QNPIHZFM.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-LN32FXTF.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-PJRXYNXG.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-3LJU2L5S.js";
|
|
32
32
|
import {
|
|
33
33
|
detectClaudeVersion
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-24FQPJOZ.js";
|
|
35
35
|
import {
|
|
36
36
|
addCompatibleHooks,
|
|
37
37
|
compatibleConfigFile,
|
|
38
38
|
compatibleInstructionsFile,
|
|
39
39
|
hasCompatibleHooks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4OXYED6O.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-PE6JUMI2.js";
|
|
53
53
|
import {
|
|
54
54
|
CLAUDE_HOOK_BINARY,
|
|
55
55
|
CLAUDE_HOOK_EVENTS,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
renderAgentInstructions,
|
|
95
95
|
supportedClaudeEvents,
|
|
96
96
|
vscodePluginMcp
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-7QYERUTD.js";
|
|
98
98
|
import {
|
|
99
99
|
formatVersion,
|
|
100
100
|
readJsonSafe,
|
|
@@ -102,12 +102,12 @@ import {
|
|
|
102
102
|
resolveGlobalBinary,
|
|
103
103
|
writeFileAtomic,
|
|
104
104
|
writeJsonAtomic
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IRE7HPNI.js";
|
|
106
106
|
import {
|
|
107
107
|
HOOK_COMPATIBLE_PROFILES,
|
|
108
108
|
isCompatibleAgentType,
|
|
109
109
|
isRecord
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-HGCUZQUL.js";
|
|
111
111
|
|
|
112
112
|
// src/reapply.ts
|
|
113
113
|
import { dirname, join } from "path";
|
|
@@ -521,7 +521,7 @@ var loadedOnce = (load) => {
|
|
|
521
521
|
};
|
|
522
522
|
|
|
523
523
|
// src/codex-desktop-proxy.ts
|
|
524
|
-
var loadThePhone = () => import("./api-
|
|
524
|
+
var loadThePhone = () => import("./api-FPA2PPXY.js");
|
|
525
525
|
var theFirstCardLoadsAgain = () => {
|
|
526
526
|
};
|
|
527
527
|
var APP_SERVER_COMMAND = "app-server";
|
|
@@ -1062,7 +1062,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1062
1062
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1063
1063
|
}
|
|
1064
1064
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1065
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1065
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-AT6X3X6U.js");
|
|
1066
1066
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1067
1067
|
}
|
|
1068
1068
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3GZRNHH5.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-35M6YE6T.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
loadPin,
|
|
4
4
|
savePin,
|
|
5
5
|
verifyRecipients
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NOQGCGOR.js";
|
|
7
7
|
import {
|
|
8
8
|
SESSION_HISTORY_RETENTION_DAYS
|
|
9
9
|
} from "./chunk-MHUKYYYR.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureDaemonRunning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FZJON3RK.js";
|
|
13
13
|
import {
|
|
14
14
|
hookOwnerOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PE6JUMI2.js";
|
|
16
16
|
import {
|
|
17
17
|
buildTranscriptRecords,
|
|
18
18
|
decodePublicKey,
|
|
@@ -23,37 +23,37 @@ import {
|
|
|
23
23
|
recordSealerFor,
|
|
24
24
|
uploadTranscriptRecords,
|
|
25
25
|
wrapSessionKey
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XU2FL4B6.js";
|
|
27
27
|
import {
|
|
28
28
|
external_exports
|
|
29
29
|
} from "./chunk-XMSDA5WA.js";
|
|
30
30
|
import {
|
|
31
31
|
transcriptEnvironmentPreference,
|
|
32
32
|
transcriptsEnabled
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WQNHWWVW.js";
|
|
34
34
|
import {
|
|
35
35
|
readTranscriptPreference
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3GZRNHH5.js";
|
|
37
37
|
import {
|
|
38
38
|
claudeConfigDir,
|
|
39
39
|
codexHome,
|
|
40
40
|
pusharyDir
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7QYERUTD.js";
|
|
42
42
|
import {
|
|
43
43
|
writeJsonAtomic,
|
|
44
44
|
writeJsonAtomicDurable
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IRE7HPNI.js";
|
|
46
46
|
import {
|
|
47
47
|
getApiKey,
|
|
48
48
|
getBaseUrl
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AFCKBLEG.js";
|
|
50
50
|
import {
|
|
51
51
|
PENDING_COMMAND_PREFIX,
|
|
52
52
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
53
53
|
canonicalJsonText,
|
|
54
54
|
isRecord,
|
|
55
55
|
redactSecretsFromContent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HGCUZQUL.js";
|
|
57
57
|
|
|
58
58
|
// src/transcript-registration.ts
|
|
59
59
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -1043,8 +1043,10 @@ var startTranscriptSync = (opts) => {
|
|
|
1043
1043
|
let inFlight = false;
|
|
1044
1044
|
let stalled = false;
|
|
1045
1045
|
let catchingUp = false;
|
|
1046
|
+
let waitingForRecipients = false;
|
|
1046
1047
|
const tick = async () => {
|
|
1047
1048
|
catchingUp = false;
|
|
1049
|
+
waitingForRecipients = false;
|
|
1048
1050
|
if (!running || inFlight || !(opts.enabled ? opts.enabled() : transcriptsEnabled())) return;
|
|
1049
1051
|
inFlight = true;
|
|
1050
1052
|
try {
|
|
@@ -1056,6 +1058,7 @@ var startTranscriptSync = (opts) => {
|
|
|
1056
1058
|
}
|
|
1057
1059
|
const recipients = await fetchPinnedRecipients();
|
|
1058
1060
|
if (!recipients) {
|
|
1061
|
+
waitingForRecipients = true;
|
|
1059
1062
|
await reportHealth(recipientFailure);
|
|
1060
1063
|
return;
|
|
1061
1064
|
}
|
|
@@ -1099,7 +1102,7 @@ var startTranscriptSync = (opts) => {
|
|
|
1099
1102
|
void (async () => {
|
|
1100
1103
|
const before = state.sessionKey;
|
|
1101
1104
|
await tick();
|
|
1102
|
-
const waiting = state.sessionKey === null && before === null || state.keyUnavailable || state.keyRejected;
|
|
1105
|
+
const waiting = state.sessionKey === null && before === null || state.keyUnavailable || state.keyRejected || waitingForRecipients;
|
|
1103
1106
|
const ceilingMs = waiting ? maxIntervalMs : Math.min(maxIntervalMs, baseIntervalMs * STALLED_BACKOFF_FACTOR);
|
|
1104
1107
|
schedule(catchingUp ? CATCH_UP_DELAY_MS : nextInterval(Math.max(delayMs, baseIntervalMs), waiting || stalled, baseIntervalMs, ceilingMs));
|
|
1105
1108
|
})();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7QYERUTD.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRE7HPNI.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGCUZQUL.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
keyCheckFromResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S5MRKUSX.js";
|
|
4
4
|
import {
|
|
5
5
|
installNetworkDefaults
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LK343VAG.js";
|
|
7
7
|
import {
|
|
8
8
|
getBaseUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AFCKBLEG.js";
|
|
10
10
|
import {
|
|
11
11
|
isRecord,
|
|
12
12
|
isToolErrorResult,
|
|
13
13
|
toolFailureCodeOfResult
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HGCUZQUL.js";
|
|
15
15
|
|
|
16
16
|
// src/retry.ts
|
|
17
17
|
var isRetryable = (err) => {
|