pushary 1.9.143 → 1.9.144
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 +6 -0
- package/data/SKILL.md +4 -2
- package/data/cursor-plugin/skills/pushary/SKILL.md +3 -1
- package/data/vscode-plugin/skills/pushary/SKILL.md +3 -1
- package/dist/{api-2YC2KSIM.js → api-ZV7TT25P.js} +7 -7
- package/dist/bin/pushary-bell-hook.js +15 -15
- package/dist/bin/pushary-bell.js +3 -3
- package/dist/bin/pushary-claude.js +14 -14
- package/dist/bin/pushary-clean.js +24 -24
- package/dist/bin/pushary-codex-bridge.js +11 -11
- package/dist/bin/pushary-codex-hook.js +21 -21
- package/dist/bin/pushary-codex-session.js +6 -6
- package/dist/bin/pushary-codex.js +8 -8
- package/dist/bin/pushary-connect.js +17 -17
- package/dist/bin/pushary-daemon.js +29 -29
- package/dist/bin/pushary-disconnect.js +17 -17
- package/dist/bin/pushary-doctor.js +28 -28
- package/dist/bin/pushary-elicitation-hook.js +16 -16
- package/dist/bin/pushary-gemini-bridge.js +6 -6
- package/dist/bin/pushary-gemini-hook.js +19 -19
- package/dist/bin/pushary-hook.js +21 -21
- package/dist/bin/pushary-login.js +11 -11
- package/dist/bin/pushary-logout.js +15 -15
- package/dist/bin/pushary-mcp.js +8 -8
- package/dist/bin/pushary-mode.js +7 -7
- package/dist/bin/pushary-notification-hook.js +15 -15
- package/dist/bin/pushary-opencode-hook.js +18 -18
- package/dist/bin/pushary-permission-denied-hook.js +21 -21
- package/dist/bin/pushary-permission-hook.js +21 -21
- package/dist/bin/pushary-post-hook.js +16 -16
- package/dist/bin/pushary-prompt-hook.js +15 -15
- package/dist/bin/pushary-session-end-hook.js +15 -15
- package/dist/bin/pushary-session-start-hook.js +24 -24
- package/dist/bin/pushary-setup.js +38 -37
- package/dist/bin/pushary-status.js +20 -20
- package/dist/bin/pushary-stop-hook.js +15 -15
- package/dist/bin/pushary-stopfailure-hook.js +15 -15
- package/dist/bin/pushary-suggestions.js +7 -7
- package/dist/bin/pushary-transcript-register.js +7 -7
- package/dist/bin/pushary-transcripts.js +14 -14
- package/dist/bin/pushary-upgrade.js +30 -30
- package/dist/bin/pushary-wait.js +7 -7
- package/dist/bin/pushary.js +4 -4
- package/dist/{chunk-4YH326C5.js → chunk-23CGCD5L.js} +2 -2
- package/dist/{chunk-KRSZFHNS.js → chunk-3KRGT5AZ.js} +2 -2
- package/dist/{chunk-FS47XZCE.js → chunk-44BLJJPH.js} +1 -1
- package/dist/{chunk-MQF6MQMR.js → chunk-44WPMZGQ.js} +4 -4
- package/dist/{chunk-MOYEHNFP.js → chunk-4524ZR2U.js} +1 -1
- package/dist/{chunk-NZHRH4RR.js → chunk-56HFENZK.js} +4 -4
- package/dist/{chunk-NQF652IG.js → chunk-5AXDNDUJ.js} +1 -1
- package/dist/{chunk-4Z7YVVKQ.js → chunk-5BTAIFVV.js} +1 -1
- package/dist/{chunk-QFZNPZRO.js → chunk-5I3UQEAX.js} +3 -3
- package/dist/{chunk-HLWS6ADK.js → chunk-6LALK6GI.js} +2 -2
- package/dist/{chunk-CNURORKI.js → chunk-74QCFZKV.js} +3 -3
- package/dist/{chunk-R27HXRSK.js → chunk-AGUL2JDK.js} +2 -2
- package/dist/{chunk-44Z6MQZ2.js → chunk-AJQ4TTPJ.js} +2 -2
- package/dist/{chunk-UIZE4YMU.js → chunk-BE5LO5VW.js} +1 -1
- package/dist/{chunk-EGUT2MWV.js → chunk-BHNX7XNO.js} +1 -1
- package/dist/{chunk-G3G7DWR3.js → chunk-C6SKS6IU.js} +9 -9
- package/dist/{chunk-KP6FVUCC.js → chunk-CV4EIXPV.js} +2 -2
- package/dist/{chunk-DU4KCXC2.js → chunk-CWWO3JTD.js} +1 -1
- package/dist/{chunk-USNGPJXF.js → chunk-CZOMD2IW.js} +3 -3
- package/dist/{chunk-DZLLKJJT.js → chunk-E32SRYTE.js} +1 -1
- package/dist/{chunk-V7CS72Q5.js → chunk-EC7VHNHE.js} +3 -3
- package/dist/{chunk-K7MVCPH5.js → chunk-EOKUIOMT.js} +2 -2
- package/dist/{chunk-QGJK3NAR.js → chunk-EY5CVFDL.js} +5 -5
- package/dist/{chunk-MH5BRZOQ.js → chunk-F37YD4YE.js} +1 -1
- package/dist/{chunk-WSKBXADV.js → chunk-FC2ENROR.js} +2 -2
- package/dist/{chunk-LWQLM3AO.js → chunk-GV3FDGQH.js} +1 -1
- package/dist/{chunk-FYB6HBHQ.js → chunk-HGIW56MU.js} +2 -2
- package/dist/{chunk-G7G2ZPT4.js → chunk-HNFYZPNJ.js} +3 -3
- package/dist/{chunk-SMF4TBPU.js → chunk-JK7DTAQH.js} +3 -3
- package/dist/{chunk-3VOUWGFF.js → chunk-KEBI7NYU.js} +2 -2
- package/dist/{chunk-SYZF5SDG.js → chunk-LVOHE66T.js} +3 -3
- package/dist/{chunk-XWYCFODT.js → chunk-MCI6KYN7.js} +1 -1
- package/dist/{chunk-PYSDCPZ3.js → chunk-OZG6CGYW.js} +5 -5
- package/dist/{chunk-LTPKSJWY.js → chunk-PYT4WXXR.js} +3 -3
- package/dist/{chunk-IG7NGXBS.js → chunk-RPXSGCRG.js} +2 -1
- package/dist/{chunk-6JLANX5L.js → chunk-S7WVJ6AR.js} +3 -3
- package/dist/{chunk-UJETZZG5.js → chunk-UK5DKLZY.js} +7 -7
- package/dist/{chunk-ZF4CPOO7.js → chunk-VP4T5352.js} +3 -3
- package/dist/{chunk-MMS7R3VO.js → chunk-WC25Z4XS.js} +2 -2
- package/dist/{chunk-5RSM5DRT.js → chunk-WGOTBZ23.js} +3 -3
- package/dist/{chunk-V53QYJNY.js → chunk-WGT5LCIB.js} +2 -2
- package/dist/{chunk-MLOYBLO4.js → chunk-WTBFPSTR.js} +3 -3
- package/dist/{chunk-QQHUUPPW.js → chunk-WTULK73V.js} +2 -2
- package/dist/{chunk-42DRRA6N.js → chunk-WWCM6UL7.js} +1 -1
- package/dist/{chunk-NOTW7GOC.js → chunk-XLMJEEW3.js} +1 -1
- package/dist/{chunk-ZDOTNMGL.js → chunk-YD376BLV.js} +9 -7
- package/dist/{chunk-4OX4SJGA.js → chunk-YESBU4VQ.js} +1 -1
- package/dist/{chunk-TKFNIDZK.js → chunk-YFK3MJGZ.js} +1 -1
- package/dist/{chunk-3WZMIDGX.js → chunk-YY5YVMBA.js} +3 -3
- package/dist/{chunk-DOXH5BV4.js → chunk-Z2WQD2W6.js} +3 -3
- package/dist/{chunk-X2MC2CF3.js → chunk-ZGYGKKXF.js} +10 -10
- package/dist/{codex-app-cards-switch-EGUHSLTG.js → codex-app-cards-switch-5PWB62W3.js} +6 -6
- package/dist/{codex-desktop-launch-6UN5CWCX.js → codex-desktop-launch-BCPUKOCV.js} +1 -1
- package/dist/{codex-session-launch-7R3HNIDJ.js → codex-session-launch-4ZUBROFZ.js} +11 -11
- package/dist/{global-upgrade-CCVIYELF.js → global-upgrade-4IKWJHLE.js} +7 -7
- package/dist/{identity-7QA3EDOM.js → identity-I2VWLZAQ.js} +3 -3
- package/dist/{live-capabilities-SDMX6CPZ.js → live-capabilities-4CLCROSP.js} +3 -3
- package/dist/{paths-ZC6XY73Q.js → paths-YMHQKLFX.js} +2 -2
- package/dist/{reapply-W6AIK5PH.js → reapply-FBQ7VR6L.js} +19 -19
- package/dist/src/index.js +21 -21
- package/dist/{upgrade-lock-BRVUBSLD.js → upgrade-lock-7ONNXM6V.js} +3 -3
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YFK3MJGZ.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WGT5LCIB.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E32SRYTE.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
13
|
} from "./chunk-4EBJ4PTZ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LVOHE66T.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
6
|
} from "./chunk-HIIXYZYV.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RPXSGCRG.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-TODDEIYG.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
reportClientError,
|
|
40
40
|
sendNotification,
|
|
41
41
|
waitForAnswer
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-74QCFZKV.js";
|
|
43
43
|
import {
|
|
44
44
|
isRetryable,
|
|
45
45
|
withRetry
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WGT5LCIB.js";
|
|
47
47
|
import {
|
|
48
48
|
RETRY_ACK,
|
|
49
49
|
readCommandAck,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-YCU7Y77H.js";
|
|
55
55
|
import {
|
|
56
56
|
getMachineId
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5BTAIFVV.js";
|
|
58
58
|
import {
|
|
59
59
|
reportedInstallSource
|
|
60
60
|
} from "./chunk-BHKODM4L.js";
|
|
@@ -63,11 +63,11 @@ import {
|
|
|
63
63
|
NOTIFICATION_PUSH_TYPES,
|
|
64
64
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
65
65
|
claudeConfigDir
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-RPXSGCRG.js";
|
|
67
67
|
import {
|
|
68
68
|
compareVersion,
|
|
69
69
|
parseVersion
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-5I3UQEAX.js";
|
|
71
71
|
import {
|
|
72
72
|
getApiKey,
|
|
73
73
|
getBaseUrl
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
isLocalQuestionHandoff,
|
|
8
8
|
unavailableQuestionUnlessRefused,
|
|
9
9
|
waitForQuestion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-74QCFZKV.js";
|
|
11
11
|
import {
|
|
12
12
|
getMachineId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5BTAIFVV.js";
|
|
14
14
|
import {
|
|
15
15
|
hookWaitClamped,
|
|
16
16
|
hookWaitDeadline,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AJQ4TTPJ.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-VP4T5352.js";
|
|
19
19
|
import {
|
|
20
20
|
writeFileAtomic
|
|
21
21
|
} from "./chunk-TODDEIYG.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCodeConfigDirFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LVOHE66T.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeClaudeInstallPath
|
|
6
6
|
} from "./chunk-CYTPQDQY.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WGOTBZ23.js";
|
|
10
10
|
import {
|
|
11
11
|
claudeConfigDir,
|
|
12
12
|
clineDataDirectory,
|
|
13
13
|
codexHomeFrom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RPXSGCRG.js";
|
|
15
15
|
import {
|
|
16
16
|
HOOK_COMPATIBLE_PROFILES
|
|
17
17
|
} from "./chunk-C5LIS3XM.js";
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AGUL2JDK.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-VP4T5352.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5BTAIFVV.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-53KLGXFL.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F37YD4YE.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isBridgeLocator,
|
|
17
17
|
isProtectedByScope,
|
|
18
18
|
registerHookEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RPXSGCRG.js";
|
|
20
20
|
import {
|
|
21
21
|
CURSOR_GATE_EVENTS,
|
|
22
22
|
HOOK_BUDGETS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WGOTBZ23.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KEBI7NYU.js";
|
|
8
8
|
import {
|
|
9
9
|
AGENT_CHOICES
|
|
10
10
|
} from "./chunk-53KLGXFL.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveBridgeStub,
|
|
20
20
|
vscodePluginDir,
|
|
21
21
|
windowsNodeLauncherFor
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RPXSGCRG.js";
|
|
23
23
|
import {
|
|
24
24
|
readJsonSafe
|
|
25
25
|
} from "./chunk-TODDEIYG.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WTULK73V.js";
|
|
7
7
|
import {
|
|
8
8
|
phoneStartIsRequired
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AGUL2JDK.js";
|
|
10
10
|
import {
|
|
11
11
|
describeAutoUpdateCheck,
|
|
12
12
|
globalInstallLocation,
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
readAutoUpdateState,
|
|
19
19
|
updateAutoUpdateState,
|
|
20
20
|
upgradeEntryFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4524ZR2U.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RPXSGCRG.js";
|
|
27
27
|
import {
|
|
28
28
|
execNpm,
|
|
29
29
|
fetchLatestPublishedVersion,
|
|
30
30
|
npmErrorMessage,
|
|
31
31
|
readGlobalCliInstallAt,
|
|
32
32
|
readGlobalPrefix
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5I3UQEAX.js";
|
|
34
34
|
import {
|
|
35
35
|
EXIT
|
|
36
36
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-G66WIAST.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureDaemonRunning
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VP4T5352.js";
|
|
12
12
|
import {
|
|
13
13
|
hookOwnerOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KEBI7NYU.js";
|
|
15
15
|
import {
|
|
16
16
|
hookMeaning
|
|
17
17
|
} from "./chunk-7QWH257P.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
claudeConfigDir,
|
|
44
44
|
codexHome,
|
|
45
45
|
pusharyDir
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RPXSGCRG.js";
|
|
47
47
|
import {
|
|
48
48
|
getApiKey,
|
|
49
49
|
getBaseUrl
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatVersion,
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5I3UQEAX.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-TODDEIYG.js";
|
|
@@ -953,6 +953,7 @@ You have Pushary MCP tools that reach the user on their phone. Use them proactiv
|
|
|
953
953
|
- Call \`propose_scope\` only for an unresolved or requested file boundary. A ratified scope narrows what may proceed; it does not bypass other approval rules. Do not add a plan approval merely because work spans several files, and do not propose a new scope mid-run just to widen it. Let the installed gate request any scope expansion before the edit executes. Only file paths are checked, and only on tool calls that carry one, so put a boundary that is not a path (recipients, channels, spend, systems you will not open) in \`promises\` and never in \`allowedPaths\`. Read the \`enforces\` field that comes back: an empty array means nothing in that contract is checked automatically, and you must say so rather than report that a scope is in force. \`hookSeen: false\` means no hook has reported that sessionId, so the gate will never find the contract: fix the session id rather than proceeding as if a scope were in force.
|
|
954
954
|
- Before a task of more than two steps, break it into steps and find the forks. Settle by yourself every fork that a file, a command or a tool call can answer, then ask the rest as one numbered round with your recommended answer against each. A question in the terminal is free; a push is not. When the user is at the terminal, ask the whole round there. When the user is away, send only the fork that stops the run. Decide another fork on your recommendation only if it is reversible, spends nothing and stays inside the task, and list it in your final message; ask the rest once the first answer is back.
|
|
955
955
|
- When you are blocked, stuck, or hit an error you cannot resolve on your own, call \`send_notification\` so the user knows, and call \`ask_user\` if you need a decision to continue.
|
|
956
|
+
- When the user asks you to call, phone or ring them if you get stuck or blocked, ask with \`ask_user\`; there is no separate call tool. Pushary may phone them only when the \`ask_user\` reply includes \`phoneCall\`, and then records the spoken answer as the answer; without \`phoneCall\` no call is planned, so do not promise one. While the reply is pending and has no \`handoffAction\`, keep waiting with \`wait_for_answer\` and the same correlationId; when it has one, follow it.
|
|
956
957
|
- When meaningful work finishes while the user is away, or they requested an alert, call \`send_notification\` so the user knows it is done. Skip trivial completions and duplicate reports to someone already reading. Always pass \`context\` with a \`type\` of "task_complete", "error" or "info": it is what tells Pushary this is a task update, so the user's own setting for where updates land can route it.
|
|
957
958
|
- Confirm notifications can offer lock-screen actions; arbitrary choices and text open the app. The Mac notch answers questions too.
|
|
958
959
|
- Use \`cancel_question\` to retract a pending question once it is no longer needed.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KEBI7NYU.js";
|
|
4
4
|
import {
|
|
5
5
|
bridgeResolvesToApp,
|
|
6
6
|
cursorUserHooks,
|
|
7
7
|
executableFileName,
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RPXSGCRG.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5I3UQEAX.js";
|
|
15
15
|
import {
|
|
16
16
|
CURSOR_GATE_COVERAGE,
|
|
17
17
|
CURSOR_GATE_SCRIPT,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-44BLJJPH.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XLMJEEW3.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginArgv,
|
|
12
12
|
openCodePluginFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LVOHE66T.js";
|
|
14
14
|
import {
|
|
15
15
|
liveCursorGateCoverage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S7WVJ6AR.js";
|
|
17
17
|
import {
|
|
18
18
|
compatibleConfigFile,
|
|
19
19
|
compatibleHookEvents,
|
|
20
20
|
grokHome,
|
|
21
21
|
parseConfigDocument
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WGOTBZ23.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_HOOKS_KEY_PATH,
|
|
25
25
|
GEMINI_HOOK_BINARY,
|
|
26
26
|
GEMINI_HOOK_EVENTS,
|
|
27
27
|
hooksAt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KEBI7NYU.js";
|
|
29
29
|
import {
|
|
30
30
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
31
31
|
CODEX_HOOK_BINARY,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
parseHookArgv,
|
|
54
54
|
parseHookCommand,
|
|
55
55
|
supportedClaudeEvents
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-RPXSGCRG.js";
|
|
57
57
|
import {
|
|
58
58
|
readRegularJsonFile,
|
|
59
59
|
readRegularTextFile
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-H6CL3T2S.js";
|
|
5
5
|
import {
|
|
6
6
|
getMachineId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5BTAIFVV.js";
|
|
8
8
|
import {
|
|
9
9
|
readControlMode
|
|
10
10
|
} from "./chunk-HIIXYZYV.js";
|
|
11
11
|
import {
|
|
12
12
|
pusharyDir
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RPXSGCRG.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveGlobalBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5I3UQEAX.js";
|
|
17
17
|
import {
|
|
18
18
|
getApiKey
|
|
19
19
|
} from "./chunk-4EBJ4PTZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EY5CVFDL.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RPXSGCRG.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KEBI7NYU.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EY5CVFDL.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
10
|
} from "./chunk-7QWH257P.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RPXSGCRG.js";
|
|
23
23
|
import {
|
|
24
24
|
HOOK_COMPATIBLE_PROFILES,
|
|
25
25
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EC7VHNHE.js";
|
|
4
4
|
import {
|
|
5
5
|
canChangeApprovalSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YFK3MJGZ.js";
|
|
7
7
|
import {
|
|
8
8
|
matchMacAccountStep,
|
|
9
9
|
retryAgentCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MCI6KYN7.js";
|
|
11
11
|
import {
|
|
12
12
|
EXIT
|
|
13
13
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPXSGCRG.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
npmExitedOnPermissionDenied
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5I3UQEAX.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-TODDEIYG.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MCI6KYN7.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BHNX7XNO.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
13
|
} from "./chunk-HIIXYZYV.js";
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
withClinePusharyServer,
|
|
33
33
|
withRefreshedClineKey,
|
|
34
34
|
withoutClinePusharyServer
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RPXSGCRG.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5I3UQEAX.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -48,12 +48,12 @@ var FX_OPERATION_TIMEOUT_MS = 75e3;
|
|
|
48
48
|
var FX_PROFILE_MAX_BYTES = 1024 * 1024 - 1;
|
|
49
49
|
var FX_SETTINGS_MAX_BYTES = 64 * 1024;
|
|
50
50
|
var FX_PUSHARY_TOOLS_RULE = "mcp_pushary_*";
|
|
51
|
-
var FX_TOOL_DISCOVERY_NOTE = 'In fx, these tools are named mcp_pushary_ask_user, mcp_pushary_send_notification, mcp_pushary_wait_for_answer, mcp_pushary_cancel_question and mcp_pushary_propose_scope. fx does not load them at the start of a turn:
|
|
51
|
+
var FX_TOOL_DISCOVERY_NOTE = 'In fx, these tools are named mcp_pushary_ask_user, mcp_pushary_send_notification, mcp_pushary_wait_for_answer, mcp_pushary_cancel_question and mcp_pushary_propose_scope. fx does not load them at the start of a turn. With the fx toolbox tool, open the tool by its exact name, for example {"open": "mcp_pushary_ask_user"}, then run it with {"run": "mcp_pushary_ask_user", "arguments": {...}}. An fx without toolbox loads it with mcp_select_tool and the exact name, for example {"name": "mcp_pushary_ask_user"}, then calls it. For fx this replaces the guidance above to ask the whole round in the terminal while the user is there: ask every question through mcp_pushary_ask_user, even while the user is at this terminal, rather than through ask_user_question. fx cannot show its own question prompt in the Mac notch or on the phone, so a question asked there waits unseen once the user steps away. Ask in your reply instead only when a Pushary handoffAction tells you to ask here, or when mcp_pushary_ask_user is unavailable or fails without one.';
|
|
52
52
|
var FX_AGENT_LABEL = "fx";
|
|
53
53
|
var fxInstructionsBody = () => `${renderAgentInstructions(FX_AGENT_LABEL)}
|
|
54
54
|
|
|
55
55
|
${FX_TOOL_DISCOVERY_NOTE}
|
|
56
|
-
For a reminder later, select mcp_pushary_schedule_reminder
|
|
56
|
+
For a reminder later, open or select mcp_pushary_schedule_reminder the same way, then run it. Pushary schedules delivery on its server; fx can exit.`;
|
|
57
57
|
var ALLOW_ACTION = "allow";
|
|
58
58
|
var PERMISSION_KEY = "permission";
|
|
59
59
|
var WORKSPACES_KEY = "workspaces";
|
|
@@ -66,7 +66,8 @@ var HTTP_TRANSPORTS = /* @__PURE__ */ new Set(["http", "streamable-http", "sse"]
|
|
|
66
66
|
var PUSHARY_KEY_ENV = "PUSHARY_API_KEY";
|
|
67
67
|
var URL_KEY_PARAM = "api_key";
|
|
68
68
|
var FX_HTTP_CALLS_CAN_DROP = "fx's MCP-v2 engine (FX_MCP_ENGINE=v2) reuses an HTTP connection the server has already closed, so the first Pushary call after a few idle minutes can fail without reaching Pushary";
|
|
69
|
-
var
|
|
69
|
+
var FX_PICKS_UP_CONFIGURATION = "fx picks up the change automatically. If Pushary's tools do not appear, restart fx.";
|
|
70
|
+
var FX_RELOAD_AFTER_BRIDGE = `${FX_PICKS_UP_CONFIGURATION} Then fx reaches Pushary through the local bridge.`;
|
|
70
71
|
var AMBIGUOUS_SERVER_KEYS = /* @__PURE__ */ new Set([
|
|
71
72
|
"mcpserver",
|
|
72
73
|
"mcpservers",
|
|
@@ -780,6 +781,7 @@ var removeClineServer = (settingsPath) => {
|
|
|
780
781
|
export {
|
|
781
782
|
FX_PUSHARY_TOOLS_RULE,
|
|
782
783
|
fxInstructionsBody,
|
|
784
|
+
FX_PICKS_UP_CONFIGURATION,
|
|
783
785
|
FX_RELOAD_AFTER_BRIDGE,
|
|
784
786
|
FX_PROFILE_REFUSALS,
|
|
785
787
|
withFxPusharyServer,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readMacAppAgentKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EOKUIOMT.js";
|
|
4
4
|
import {
|
|
5
5
|
API_KEYS_PATH
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YFK3MJGZ.js";
|
|
7
7
|
import {
|
|
8
8
|
absoluteUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E32SRYTE.js";
|
|
10
10
|
import {
|
|
11
11
|
findExportedKeyLines,
|
|
12
12
|
isAdoptedMacAppKey,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WGOTBZ23.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KEBI7NYU.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RPXSGCRG.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
14
|
} from "./chunk-C5LIS3XM.js";
|