pushary 1.9.290 → 1.9.291
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 +4 -0
- package/dist/{api-XUO467EJ.js → api-SI34TXBM.js} +12 -12
- package/dist/bin/pushary-ask.js +14 -14
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +11 -11
- package/dist/bin/pushary-calls.js +14 -14
- package/dist/bin/pushary-claude.js +27 -26
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +22 -22
- package/dist/bin/pushary-codex-hook.js +34 -34
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +33 -0
- package/dist/bin/pushary-doctor.js +49 -49
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +17 -17
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +42 -42
- package/dist/bin/pushary-logout.js +31 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +21 -21
- package/dist/bin/pushary-opencode-hook.js +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +59 -59
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +16 -16
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +47 -47
- package/dist/bin/pushary-wait.js +24 -24
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-J5E2DZP4.js → chunk-27AEPNYU.js} +2 -2
- package/dist/{chunk-E3I3YRL2.js → chunk-2GS4VF7A.js} +4 -4
- package/dist/{chunk-EAOKHDYP.js → chunk-2VIIDLYI.js} +1 -1
- package/dist/{chunk-ZJLFB6SP.js → chunk-2YAFZ2HK.js} +1 -1
- package/dist/{chunk-PB6NRAHQ.js → chunk-3PJWMAML.js} +1 -1
- package/dist/{chunk-7OMAL4BD.js → chunk-3TR475CK.js} +12 -12
- package/dist/{chunk-YS3HP2GX.js → chunk-4INOYSPO.js} +1 -1
- package/dist/{chunk-ZXNQBKME.js → chunk-5O5WJATG.js} +5 -5
- package/dist/{chunk-NPI65OAW.js → chunk-6DJKBADK.js} +6 -6
- package/dist/{chunk-UHGOSBBI.js → chunk-6FWYCNME.js} +5 -5
- package/dist/{chunk-TFK6KPDM.js → chunk-6URMELKL.js} +1 -1
- package/dist/{chunk-5UYFB6ZF.js → chunk-7DEAFHDQ.js} +4 -4
- package/dist/{chunk-ORVY7TV3.js → chunk-7SQ35UUL.js} +1 -1
- package/dist/{chunk-5YPEMWXR.js → chunk-ABH55QB3.js} +4 -4
- package/dist/{chunk-7HTENZG7.js → chunk-AD63XQSJ.js} +2 -2
- package/dist/{chunk-23NMP36J.js → chunk-B2PJ2NTL.js} +2 -2
- package/dist/{chunk-76KCGGXI.js → chunk-BDO5CVD4.js} +2 -2
- package/dist/{chunk-AW22GX4V.js → chunk-BMXSIQ2H.js} +5 -5
- package/dist/{chunk-DSWITQTK.js → chunk-DX6VGDNF.js} +1 -1
- package/dist/{chunk-XZR2T6FQ.js → chunk-ET5HDZOY.js} +3 -3
- package/dist/{chunk-5RRALKRA.js → chunk-FDGQR72X.js} +3 -3
- package/dist/{chunk-FQVGNJ3J.js → chunk-FHL247ZQ.js} +10 -10
- package/dist/{chunk-HBCSKB7Z.js → chunk-FXRR4CDR.js} +1 -1
- package/dist/{chunk-YRDEOJ6W.js → chunk-GA2JCSEM.js} +1 -1
- package/dist/{chunk-UKZ7ZTTD.js → chunk-GENPHRYD.js} +2 -2
- package/dist/{chunk-HDCGFIG3.js → chunk-GLF63I77.js} +8 -8
- package/dist/{chunk-EOTRICZK.js → chunk-GMUYOPYP.js} +5 -5
- package/dist/{chunk-DLODMDK4.js → chunk-GPUSH7EI.js} +5 -5
- package/dist/{chunk-VUNVF5V2.js → chunk-GSXQ54M2.js} +4 -4
- package/dist/{chunk-TF3C74E5.js → chunk-GURNCWPX.js} +1 -1
- package/dist/{chunk-ZRMOOGSH.js → chunk-GYAE3OZ3.js} +3 -3
- package/dist/{chunk-F4C3YAZZ.js → chunk-HDJ5BJ2K.js} +16 -16
- package/dist/{chunk-YQWSGJUU.js → chunk-HDSNMHQI.js} +3 -3
- package/dist/{chunk-UYNLBSOA.js → chunk-HOQD5CGF.js} +1 -1
- package/dist/{chunk-AHRZ7HMN.js → chunk-HR2T3IFD.js} +4 -4
- package/dist/{chunk-JZ5JGUYX.js → chunk-I6QZXRI2.js} +5 -5
- package/dist/{chunk-O7CD5CO3.js → chunk-JB2RKX2E.js} +2 -2
- package/dist/{chunk-TCHPGXK6.js → chunk-L5VCCG72.js} +1 -1
- package/dist/{chunk-YC7LHEPG.js → chunk-LAZUWHJB.js} +1 -1
- package/dist/{chunk-NIOTHJ6C.js → chunk-LCLG34AP.js} +1 -1
- package/dist/{chunk-54IXUSDI.js → chunk-LNPHNC44.js} +1 -1
- package/dist/{chunk-XUL4QAJP.js → chunk-NBLLHRZY.js} +2 -2
- package/dist/{chunk-DQTRBC64.js → chunk-NQN3QCKD.js} +5 -5
- package/dist/{chunk-ZUP6BEUA.js → chunk-OTHLVPND.js} +1 -1
- package/dist/{chunk-S3YCZXXP.js → chunk-OZ3NARVZ.js} +1 -1
- package/dist/{chunk-DGXNUAPO.js → chunk-PLHHHW4V.js} +3 -3
- package/dist/{chunk-653ESF3J.js → chunk-PY2U2IEB.js} +4 -4
- package/dist/{chunk-3RMIVLDA.js → chunk-Q7ALAPMG.js} +1 -1
- package/dist/{chunk-VCM7JOQ2.js → chunk-QIFBM63U.js} +3 -3
- package/dist/{chunk-HQPUDCJK.js → chunk-QJPQ4B5E.js} +2 -2
- package/dist/{chunk-A2UHRGYB.js → chunk-QQOV6SGU.js} +4 -4
- package/dist/{chunk-Z647XKSU.js → chunk-R5ST2WAT.js} +3 -3
- package/dist/{chunk-AGB3J77S.js → chunk-RAMSBB5E.js} +6 -6
- package/dist/{chunk-COGYV234.js → chunk-RBHILRB3.js} +2 -2
- package/dist/{chunk-CIRFEZML.js → chunk-RCUMQCVV.js} +7 -7
- package/dist/{chunk-MCO6X2UG.js → chunk-S3BZPQUW.js} +2 -2
- package/dist/{chunk-DT2EAF2J.js → chunk-SBKBNRTC.js} +3 -3
- package/dist/{chunk-RJXDHPFS.js → chunk-SGWIAQFO.js} +6 -6
- package/dist/{chunk-LTCYQJTZ.js → chunk-TBV253UO.js} +1 -1
- package/dist/{chunk-R5X6NITA.js → chunk-TRMUSQBI.js} +3 -3
- package/dist/{chunk-7IANCXT2.js → chunk-TWB4FCAV.js} +6 -6
- package/dist/{chunk-DWGPPIWL.js → chunk-TYR4CDHV.js} +4 -4
- package/dist/{chunk-SIQ7LYFS.js → chunk-UEKDVPOU.js} +1 -1
- package/dist/{chunk-VEMKZ52Y.js → chunk-UWGENUNS.js} +3 -3
- package/dist/{chunk-VTET2PRH.js → chunk-VJ67XVG7.js} +5 -5
- package/dist/{chunk-CC6AQFRL.js → chunk-VMDJBE2X.js} +10 -2
- package/dist/{chunk-WTYOMVJU.js → chunk-VQMDAY5C.js} +7 -7
- package/dist/{chunk-X57G34GZ.js → chunk-WL2N25HB.js} +9 -2
- package/dist/{chunk-WIBYA63F.js → chunk-XFETVOB6.js} +1 -1
- package/dist/{chunk-J54Q7G5U.js → chunk-XOYGY2E7.js} +2 -2
- package/dist/{chunk-F7WFNDKO.js → chunk-XWJ4WWSI.js} +1 -1
- package/dist/{chunk-LPNASWI2.js → chunk-XWW3UC6V.js} +5 -5
- package/dist/{chunk-V7I4N2V4.js → chunk-XYPUTMAB.js} +5 -5
- package/dist/{chunk-VQMFU5A7.js → chunk-Y5USLI6L.js} +6 -6
- package/dist/{chunk-T4BALJMO.js → chunk-Y6X4VMUR.js} +1 -1
- package/dist/{chunk-3AQIVVUZ.js → chunk-YNSTSVC6.js} +6 -6
- package/dist/{chunk-4IQ77DKT.js → chunk-Z2WUSQPE.js} +10 -10
- package/dist/{chunk-7T2VDZA4.js → chunk-Z5S7EF3C.js} +7 -7
- package/dist/{chunk-TOYUDS7V.js → chunk-ZAN433XZ.js} +4 -4
- package/dist/{chunk-ERVJC7SE.js → chunk-ZM3BRV2C.js} +3 -3
- package/dist/{chunk-PYZICBUS.js → chunk-ZNZNP5ZQ.js} +12 -12
- package/dist/{chunk-G5PSHIVE.js → chunk-ZSK3GTUI.js} +2 -2
- package/dist/{chunk-RIVBIAV5.js → chunk-ZWIEGONM.js} +1 -1
- package/dist/{codex-app-cards-switch-INFAZNZV.js → codex-app-cards-switch-ZOSJHHOL.js} +11 -11
- package/dist/{codex-card-routing-SMFXRZ7J.js → codex-card-routing-3JTWFMQ3.js} +2 -2
- package/dist/{codex-desktop-launch-O7GXHDEX.js → codex-desktop-launch-JFYBOT5E.js} +3 -3
- package/dist/{codex-session-launch-UGCEEFJQ.js → codex-session-launch-6JZPOA6P.js} +21 -21
- package/dist/{config-AZXO2GK6.js → config-2PISUEKL.js} +3 -3
- package/dist/{global-upgrade-IM5V5Y64.js → global-upgrade-D7HPXAUO.js} +9 -9
- package/dist/{identity-RFN6D7NF.js → identity-6RKCZTTU.js} +4 -4
- package/dist/{live-capabilities-S6E5D7ZM.js → live-capabilities-LE72GLFN.js} +4 -4
- package/dist/{paths-ZKULFBJJ.js → paths-V6DYG4MJ.js} +3 -3
- package/dist/{reapply-A7MJH6MH.js → reapply-J6DVOPJD.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-HELTVB5O.js → upgrade-lock-FKOLMFHL.js} +4 -4
- package/dist/{usage-AKOK2AVC.js → usage-2ZUW4WV2.js} +3 -3
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UNSET_IGNORED_SHELL_VALUE_STEP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7DEAFHDQ.js";
|
|
4
4
|
import {
|
|
5
5
|
notificationAnswerStep
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6DJKBADK.js";
|
|
7
7
|
import {
|
|
8
8
|
matchMacAccountStep,
|
|
9
9
|
retryAgentCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HDSNMHQI.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND,
|
|
13
13
|
npmExecSetupCommandFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZWIEGONM.js";
|
|
15
15
|
import {
|
|
16
16
|
EXIT
|
|
17
17
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
compatibleProfileFor,
|
|
23
23
|
isCompatibleAgentType
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VMDJBE2X.js";
|
|
25
25
|
|
|
26
26
|
// src/setup/closing.ts
|
|
27
27
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SBKBNRTC.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AD63XQSJ.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VMDJBE2X.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YNSTSVC6.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LAZUWHJB.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AD63XQSJ.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZWIEGONM.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
STOPPED_FROM_PUSHARY_LADDER,
|
|
3
3
|
UNREAD_MODE_LADDER
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2YAFZ2HK.js";
|
|
5
5
|
import {
|
|
6
6
|
createIo
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCLG34AP.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_CODE_AGENT,
|
|
10
10
|
fetchModeState,
|
|
11
11
|
getPolicy
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZNZNP5ZQ.js";
|
|
13
13
|
|
|
14
14
|
// src/cli/hook-wait-ladder.ts
|
|
15
15
|
var readClaudeCodeHookWaitState = async (apiKey) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GSXQ54M2.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
PUSHARY_TOOL_PREFIX,
|
|
26
26
|
isRecord,
|
|
27
27
|
withHookHoldBudget
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VMDJBE2X.js";
|
|
29
29
|
|
|
30
30
|
// src/setup/paths.ts
|
|
31
31
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-U4P4NDVB.js";
|
|
17
17
|
import {
|
|
18
18
|
withoutNpmInstallConsent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GSXQ54M2.js";
|
|
20
20
|
|
|
21
21
|
// src/codex-desktop-launch.ts
|
|
22
22
|
import { spawn as spawn2, execFileSync as execFileSync2 } from "child_process";
|
|
@@ -539,8 +539,8 @@ var loadedOnce = (load) => {
|
|
|
539
539
|
};
|
|
540
540
|
|
|
541
541
|
// src/codex-desktop-proxy.ts
|
|
542
|
-
var loadThePhone = () => import("./api-
|
|
543
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
542
|
+
var loadThePhone = () => import("./api-SI34TXBM.js");
|
|
543
|
+
var loadTheCardRouting = () => import("./codex-card-routing-3JTWFMQ3.js");
|
|
544
544
|
var theFirstCardLoadsAgain = () => {
|
|
545
545
|
};
|
|
546
546
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1101,7 +1101,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1101
1101
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1104
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1104
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-ZOSJHHOL.js");
|
|
1105
1105
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1106
1106
|
}
|
|
1107
1107
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LAZUWHJB.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AD63XQSJ.js";
|
|
11
11
|
import {
|
|
12
12
|
writeJsonAtomicDurable
|
|
13
13
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
compressTranscriptRecord,
|
|
16
16
|
redactSecretsFromContent,
|
|
17
17
|
transcriptRecordPlaintext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VMDJBE2X.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XOYGY2E7.js";
|
|
7
7
|
import {
|
|
8
8
|
describeAutoUpdateCheck,
|
|
9
9
|
globalInstallLocation,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
readAutoUpdateState,
|
|
16
16
|
updateAutoUpdateState,
|
|
17
17
|
upgradeEntryFor
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NBLLHRZY.js";
|
|
19
19
|
import {
|
|
20
20
|
phoneStartIsRequired
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GYAE3OZ3.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
27
27
|
import {
|
|
28
28
|
describeReleaseNpmHolds,
|
|
29
29
|
execNpm,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
npmExitedOnReleaseAge,
|
|
34
34
|
readGlobalCliInstallAt,
|
|
35
35
|
readGlobalPrefix
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GSXQ54M2.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZWIEGONM.js";
|
|
40
40
|
import {
|
|
41
41
|
EXIT
|
|
42
42
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VMDJBE2X.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
openCodePluginArgv,
|
|
4
4
|
openCodePluginModule,
|
|
5
5
|
renderOpenCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2VIIDLYI.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENCODE_FAILED_EVENT,
|
|
9
9
|
OPENCODE_IDLE_EVENT,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
OPENCODE_PLUGIN_SIBLING,
|
|
13
13
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
14
14
|
OPENCODE_SUBAGENT_IDLE_EVENT
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBV253UO.js";
|
|
16
16
|
import {
|
|
17
17
|
compatibleConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TWB4FCAV.js";
|
|
19
19
|
import {
|
|
20
20
|
hookOwnerOf,
|
|
21
21
|
hookOwnerOfCommands
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2GS4VF7A.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_CHOICES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Q7ALAPMG.js";
|
|
26
26
|
import {
|
|
27
27
|
OPENCODE_INSTRUCTIONS_LABEL,
|
|
28
28
|
bridgeStub,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveBridgeStub,
|
|
37
37
|
vscodePluginDir,
|
|
38
38
|
windowsNodeLauncherFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
40
40
|
import {
|
|
41
41
|
readJsonSafe
|
|
42
42
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
OPENCODE_APPROVAL_EVENT,
|
|
47
47
|
hookCompatibleProfile,
|
|
48
48
|
isRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VMDJBE2X.js";
|
|
50
50
|
|
|
51
51
|
// src/opencode-config.ts
|
|
52
52
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeConfigDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePermissionRulesFromSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VMDJBE2X.js";
|
|
7
7
|
|
|
8
8
|
// src/claude-permission-rules.ts
|
|
9
9
|
import { readFileSync, statSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GA2JCSEM.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AD63XQSJ.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VMDJBE2X.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6DJKBADK.js";
|
|
18
18
|
import {
|
|
19
19
|
describeRevokeAttempt,
|
|
20
20
|
keyNoLongerAccepted,
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
isCI,
|
|
30
30
|
terminalColumns,
|
|
31
31
|
useColor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LCLG34AP.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PLHHHW4V.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GENPHRYD.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZWIEGONM.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VMDJBE2X.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceNodeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5USLI6L.js";
|
|
4
4
|
import {
|
|
5
5
|
OWNER_ONLY_FILE_MODE,
|
|
6
6
|
readOwnerOnlyJson
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
codexHome,
|
|
15
15
|
codexHooksJsonIn,
|
|
16
16
|
isPusharyCodexCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_WINDOWS_PATHEXT,
|
|
20
20
|
DIRECTLY_STARTABLE_EXTENSIONS,
|
|
21
21
|
plannedGlobalPackage,
|
|
22
22
|
readGlobalPrefix,
|
|
23
23
|
resolvePathBinary
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GSXQ54M2.js";
|
|
25
25
|
import {
|
|
26
26
|
getPackageVersion,
|
|
27
27
|
globalTranscriptRegisterEntry
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseConfigDocument
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4INOYSPO.js";
|
|
4
4
|
import {
|
|
5
5
|
addGeminiMcpServer,
|
|
6
6
|
removeGeminiMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2GS4VF7A.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_CODE_AGENT
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZNZNP5ZQ.js";
|
|
11
11
|
import {
|
|
12
12
|
compatibleToolLookup
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WL2N25HB.js";
|
|
14
14
|
import {
|
|
15
15
|
CLAUDE_HOOK_EVENTS,
|
|
16
16
|
PUSHARY_MCP_URL,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
isPusharyHook,
|
|
23
23
|
registerHookEntry,
|
|
24
24
|
removeClaudeMcpServers
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
26
26
|
import {
|
|
27
27
|
AGENT_ENFORCEMENT,
|
|
28
28
|
HOOK_COMPATIBLE_PROFILES,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
pusharyMissingReason,
|
|
37
37
|
refusalOutput,
|
|
38
38
|
withHookHoldBudget
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VMDJBE2X.js";
|
|
40
40
|
|
|
41
41
|
// src/compatible-config.ts
|
|
42
42
|
import { homedir } from "os";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
uninstallOpenClawPlugin,
|
|
17
17
|
unsetOpenClawEntry,
|
|
18
18
|
writeOpenClawEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ET5HDZOY.js";
|
|
20
20
|
import {
|
|
21
21
|
needsShell
|
|
22
22
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
openClawDirectoriesToLookIn,
|
|
29
29
|
openClawPluginFolder,
|
|
30
30
|
openClawSetupReceiptDirectory
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QJPQ4B5E.js";
|
|
32
32
|
import {
|
|
33
33
|
atLeast,
|
|
34
34
|
parseVersion
|
|
35
35
|
} from "./chunk-6ICPEJY5.js";
|
|
36
36
|
import {
|
|
37
37
|
resolvePathBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GSXQ54M2.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeJsonAtomic
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./chunk-CXQWDQCJ.js";
|
|
47
47
|
import {
|
|
48
48
|
isRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VMDJBE2X.js";
|
|
50
50
|
|
|
51
51
|
// src/hermes/plugin-payload.ts
|
|
52
52
|
import { createHash } from "crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computerOsOfPlatform,
|
|
3
3
|
isComputerAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VMDJBE2X.js";
|
|
5
5
|
|
|
6
6
|
// src/setup/phone-check.ts
|
|
7
7
|
var NO_AGENT_CONNECTED_LINE = "Skipping the phone step: no agent was connected, so nothing could ask you anything on your phone yet.";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2GS4VF7A.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-QJPQ4B5E.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VMDJBE2X.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZAN433XZ.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZSK3GTUI.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PLHHHW4V.js";
|
|
15
15
|
import {
|
|
16
16
|
findExportedKeyLines,
|
|
17
17
|
isAdoptedMacAppKey,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GENPHRYD.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VMDJBE2X.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -4905,6 +4905,9 @@ var parseTestCallReply = (value) => {
|
|
|
4905
4905
|
return null;
|
|
4906
4906
|
};
|
|
4907
4907
|
|
|
4908
|
+
// ../contracts/src/session-background-work.ts
|
|
4909
|
+
var backgroundPauseActionOf = (running) => `Paused with ${running} background task${running === 1 ? "" : "s"} still running`;
|
|
4910
|
+
|
|
4908
4911
|
// ../contracts/src/chatgpt-plugin.ts
|
|
4909
4912
|
var CHATGPT_PLUGIN_URL = "https://chatgpt.com/plugins/plugin_asdk_app_6abc2ebca100819198c8619e9a697ee3";
|
|
4910
4913
|
var CHATGPT_CONNECTOR_TEST = `@Pushary use ask_user to ask \u201C${CONNECTOR_SETUP_QUESTION}\u201D with type \u201Cconfirm\u201D and agentName \u201CChatGPT - Setup check\u201D. Wait for my answer and tell me which answer you received.`;
|
|
@@ -6025,6 +6028,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6025
6028
|
agent_cli_login_needs_payment: ["dashboard_server"],
|
|
6026
6029
|
agent_cli_login_rejected: ["dashboard_server"],
|
|
6027
6030
|
agent_cli_login_started: ["dashboard_server"],
|
|
6031
|
+
agent_claude_code_hooks_not_heard: ["dashboard_server"],
|
|
6028
6032
|
agent_client_seen: ["dashboard_server"],
|
|
6029
6033
|
agent_connector_link_copied: ["dashboard_client"],
|
|
6030
6034
|
agent_connector_link_created: ["dashboard_client"],
|
|
@@ -6171,7 +6175,9 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6171
6175
|
mobile_onboarding_exited: ["phone"],
|
|
6172
6176
|
mobile_onboarding_started: ["phone"],
|
|
6173
6177
|
mobile_pair_result: ["phone"],
|
|
6178
|
+
mobile_paywall_left: ["phone"],
|
|
6174
6179
|
mobile_paywall_plan_state: ["phone"],
|
|
6180
|
+
mobile_paywall_tier_selected: ["phone"],
|
|
6175
6181
|
mobile_paywall_viewed: ["phone"],
|
|
6176
6182
|
mobile_product_changed: ["dashboard_server"],
|
|
6177
6183
|
mobile_purchase_cancelled: ["phone"],
|
|
@@ -11609,11 +11615,11 @@ var isSettledOutcome = (value) => typeof value === "string" && SETTLED_OUTCOMES.
|
|
|
11609
11615
|
var DENY_ANSWER = "no";
|
|
11610
11616
|
var DEFER_ANSWER = "defer";
|
|
11611
11617
|
var PHONE_DENIAL_PREFIX = "Denied from your phone: ";
|
|
11612
|
-
var
|
|
11618
|
+
var USER_DENIED_REASON = "The user denied this in Pushary. Do not retry it or work around it; ask the user what to do instead.";
|
|
11613
11619
|
var denyReasonFrom = (value, note) => {
|
|
11614
11620
|
const trimmed = note?.trim();
|
|
11615
11621
|
if (trimmed) return `${PHONE_DENIAL_PREFIX}${trimmed}`;
|
|
11616
|
-
return value && value !== DENY_ANSWER && value !== APPROVE_ANSWER ? `${PHONE_DENIAL_PREFIX}${value}` :
|
|
11622
|
+
return value && value !== DENY_ANSWER && value !== APPROVE_ANSWER ? `${PHONE_DENIAL_PREFIX}${value}` : USER_DENIED_REASON;
|
|
11617
11623
|
};
|
|
11618
11624
|
var APPROVE_RESPONSE_WORDS = [APPROVE_ANSWER, "approve", "approved"];
|
|
11619
11625
|
var DENY_RESPONSE_WORDS = [DENY_ANSWER, "deny", "denied", "reject", "rejected"];
|
|
@@ -13872,6 +13878,7 @@ export {
|
|
|
13872
13878
|
PHONE_CALL_SETUP_TEST_CALL_PARAM,
|
|
13873
13879
|
parsePhoneCallSetupReply,
|
|
13874
13880
|
parseTestCallReply,
|
|
13881
|
+
backgroundPauseActionOf,
|
|
13875
13882
|
degradedLine,
|
|
13876
13883
|
API_KEY_PREFIX_PATTERN,
|
|
13877
13884
|
isValidApiKey,
|
|
@@ -14014,6 +14021,7 @@ export {
|
|
|
14014
14021
|
ASK_CONTEXT_MAX,
|
|
14015
14022
|
ASK_AGENT_NAME_MAX,
|
|
14016
14023
|
isAnswerSource,
|
|
14024
|
+
USER_DENIED_REASON,
|
|
14017
14025
|
denyReasonFrom,
|
|
14018
14026
|
classifyConfirmResponse,
|
|
14019
14027
|
classifyDecisionRisk,
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BDO5CVD4.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZSK3GTUI.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LCLG34AP.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl,
|
|
14
14
|
checkApiKey,
|
|
15
15
|
describeKeyCheck,
|
|
16
16
|
keyCheckFromResponse
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PLHHHW4V.js";
|
|
18
18
|
import {
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GENPHRYD.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AD63XQSJ.js";
|
|
24
24
|
import {
|
|
25
25
|
EXIT
|
|
26
26
|
} from "./chunk-BG4HHB7E.js";
|
|
27
27
|
import {
|
|
28
28
|
KEY_SCOPE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VMDJBE2X.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|