pushary 1.9.89 → 1.9.90
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-RMTM2T46.js → api-ORGHXO4N.js} +10 -10
- package/dist/bin/pushary-bell-hook.js +26 -26
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +34 -34
- package/dist/bin/pushary-codex-bridge.js +21 -21
- package/dist/bin/pushary-codex-hook.js +31 -31
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +14 -14
- package/dist/bin/pushary-connect.js +27 -27
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +39 -39
- package/dist/bin/pushary-disconnect.js +26 -26
- package/dist/bin/pushary-display-hook.js +17 -17
- package/dist/bin/pushary-doctor.js +42 -42
- package/dist/bin/pushary-elicitation-hook.js +26 -26
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +28 -28
- package/dist/bin/pushary-hook.js +30 -30
- package/dist/bin/pushary-login.js +20 -20
- package/dist/bin/pushary-logout.js +25 -25
- package/dist/bin/pushary-mcp.js +11 -11
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +25 -25
- package/dist/bin/pushary-opencode-hook.js +27 -27
- package/dist/bin/pushary-permission-denied-hook.js +30 -30
- package/dist/bin/pushary-permission-hook.js +30 -30
- package/dist/bin/pushary-post-hook.js +25 -25
- package/dist/bin/pushary-prompt-hook.js +25 -25
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +35 -35
- package/dist/bin/pushary-setup.js +48 -48
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +32 -32
- package/dist/bin/pushary-stop-hook.js +25 -25
- package/dist/bin/pushary-stopfailure-hook.js +25 -25
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +18 -18
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +40 -40
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-U4DG4RC4.js → chunk-2EOTXWFK.js} +3 -3
- package/dist/{chunk-ZOKA75MZ.js → chunk-2RUJIPNN.js} +2 -2
- package/dist/{chunk-M7MVHBKI.js → chunk-2U6FPMXG.js} +3 -3
- package/dist/{chunk-L4FQ3I7N.js → chunk-32F3BWRY.js} +1 -1
- package/dist/{chunk-UYKOZLKX.js → chunk-3EVOYLXQ.js} +5 -5
- package/dist/{chunk-PPJSAS57.js → chunk-3N4GETIW.js} +2 -2
- package/dist/{chunk-R3LNXXPV.js → chunk-4V25M4X5.js} +2 -2
- package/dist/{chunk-IBYD6P5T.js → chunk-53YQO4HL.js} +20 -13
- package/dist/{chunk-SDRHH6LW.js → chunk-5DTOMJVD.js} +2 -2
- package/dist/{chunk-XGVKU7PM.js → chunk-6B4O7XNC.js} +6 -6
- package/dist/{chunk-LVOBBWSN.js → chunk-6LJOCQBB.js} +1 -1
- package/dist/{chunk-F7FED2QT.js → chunk-6P4II3ZL.js} +5 -5
- package/dist/{chunk-ILBVL464.js → chunk-72UCLJJW.js} +1 -1
- package/dist/{chunk-MV34QALO.js → chunk-7BEQB3X4.js} +1 -1
- package/dist/{chunk-JBR2FQKG.js → chunk-7EGNVZLK.js} +2 -2
- package/dist/{chunk-UYVCRG3J.js → chunk-7MN3KPHM.js} +1 -1
- package/dist/{chunk-RKX2ZOIG.js → chunk-AF3OHGKE.js} +1 -1
- package/dist/{chunk-SXELNIYK.js → chunk-ALT4KW5M.js} +5 -5
- package/dist/{chunk-D7ZJ3AUK.js → chunk-ALTGRWSO.js} +1 -1
- package/dist/{chunk-DBWFWMHB.js → chunk-APT7KJ5I.js} +6 -6
- package/dist/{chunk-33RQ7I3K.js → chunk-ASTOMXHJ.js} +1 -1
- package/dist/{chunk-N574OILO.js → chunk-CDBGZWPY.js} +3 -3
- package/dist/{chunk-RQGGP52F.js → chunk-CE2ISNPN.js} +5 -5
- package/dist/{chunk-2WRQQTOZ.js → chunk-CNFM6JEV.js} +2 -2
- package/dist/{chunk-XLR4QO4R.js → chunk-DADN6GJO.js} +4 -4
- package/dist/{chunk-R5F2A2IT.js → chunk-E3EJARHF.js} +1 -1
- package/dist/{chunk-RC65MCPA.js → chunk-E4XGV5UG.js} +1 -1
- package/dist/{chunk-WNW2HFNT.js → chunk-EFQQLEWW.js} +4 -4
- package/dist/{chunk-TXJ65MIV.js → chunk-FAM2TLFC.js} +1 -1
- package/dist/{chunk-SOBEBLLW.js → chunk-FSJYYZ3G.js} +5 -5
- package/dist/{chunk-662O4JBY.js → chunk-G7GVI5RL.js} +3 -3
- package/dist/{chunk-SUEB56Y4.js → chunk-G7MVZHMM.js} +2 -2
- package/dist/{chunk-H4CKXYWR.js → chunk-GKDVI6WX.js} +3 -3
- package/dist/{chunk-X5MW6LB5.js → chunk-HKGGENVU.js} +6 -6
- package/dist/{chunk-XZYUFVUW.js → chunk-HT5WOP2M.js} +6 -6
- package/dist/{chunk-TEFWZEL2.js → chunk-I567L2KG.js} +10 -10
- package/dist/{chunk-UEWTZZY4.js → chunk-I7UZODYO.js} +3 -3
- package/dist/{chunk-CV3ALIG7.js → chunk-INNH7EUK.js} +10 -10
- package/dist/{chunk-55K5ST53.js → chunk-JJNO3ACZ.js} +3 -3
- package/dist/{chunk-YKA6HMYO.js → chunk-JQUMX7YZ.js} +2 -2
- package/dist/{chunk-TXDXHR2G.js → chunk-K2NIENKY.js} +1 -1
- package/dist/{chunk-OUIUIJV4.js → chunk-K6QLKUCT.js} +1 -1
- package/dist/{chunk-Y7FF5WKE.js → chunk-KT25MC57.js} +4 -4
- package/dist/{chunk-P6EUHG5X.js → chunk-LGQQUQDZ.js} +4 -4
- package/dist/{chunk-54RUDSDE.js → chunk-LJFITB6T.js} +4 -4
- package/dist/{chunk-KXGKUV2F.js → chunk-MWXX34K4.js} +1 -1
- package/dist/{chunk-RJXWGSXY.js → chunk-NIZ6ITRH.js} +1 -1
- package/dist/{chunk-YH2ZWZSG.js → chunk-NMDWW3EY.js} +3 -3
- package/dist/{chunk-ZQMR6OMT.js → chunk-NWSGMYX7.js} +4 -4
- package/dist/{chunk-OCRNH4YT.js → chunk-OEPP5VUW.js} +6 -6
- package/dist/{chunk-2UQDRCEI.js → chunk-OGR5WSHI.js} +7 -7
- package/dist/{chunk-YQYCQ2KY.js → chunk-OH67LB2U.js} +14 -14
- package/dist/{chunk-FMOIAZXN.js → chunk-OODEIR3Z.js} +6 -6
- package/dist/{chunk-TBKO5EOS.js → chunk-P4OZVK2B.js} +4 -4
- package/dist/{chunk-PF2COPAW.js → chunk-QCSPLJL6.js} +3 -3
- package/dist/{chunk-OMS5V4ER.js → chunk-QUKDNQ4L.js} +3 -3
- package/dist/{chunk-ZUIAABLS.js → chunk-SJCPI4WT.js} +1 -1
- package/dist/{chunk-G3GSI7E6.js → chunk-TOPXBWUN.js} +2 -2
- package/dist/{chunk-YFNUFWSK.js → chunk-TTXUWHBL.js} +1 -1
- package/dist/{chunk-JVWD6UWG.js → chunk-URJHH72Z.js} +1 -1
- package/dist/{chunk-IJKSZTFR.js → chunk-V4ZLZYQ4.js} +3 -3
- package/dist/{chunk-3YN7TPIQ.js → chunk-VMUBIBHQ.js} +7 -7
- package/dist/{chunk-F6WJEBBK.js → chunk-VTF6EYVB.js} +5 -5
- package/dist/{chunk-4D6PR2MK.js → chunk-WGBW66IO.js} +5 -5
- package/dist/{chunk-VHQCMNIO.js → chunk-XBXBX7YF.js} +2 -2
- package/dist/{chunk-YCPUVARV.js → chunk-XIPP777K.js} +3 -3
- package/dist/{chunk-VHO3HV7P.js → chunk-XO3UJDJE.js} +2 -2
- package/dist/{chunk-53CFDLGE.js → chunk-XRSE2PAM.js} +3 -3
- package/dist/{chunk-LC4OFGTU.js → chunk-Y5BPNOJI.js} +1 -1
- package/dist/{codex-app-cards-switch-BSMP3FMX.js → codex-app-cards-switch-UQ7TGFYV.js} +11 -11
- package/dist/{codex-desktop-launch-LZL2LBBZ.js → codex-desktop-launch-O5FWONZ7.js} +1 -1
- package/dist/{codex-session-launch-LDY5BQCQ.js → codex-session-launch-MTKJC2RH.js} +18 -18
- package/dist/{config-RTZAI4JI.js → config-EGBMIS5K.js} +3 -3
- package/dist/{global-upgrade-Y6AEYIJ5.js → global-upgrade-QOAUUHZ6.js} +10 -10
- package/dist/{identity-HKL7Z55E.js → identity-Z5TRRQL5.js} +4 -4
- package/dist/{live-capabilities-BUP4EEKC.js → live-capabilities-M4HOY7EM.js} +5 -5
- package/dist/{paths-P5K3AYLX.js → paths-ZOS6Y3PS.js} +3 -3
- package/dist/{reapply-DN4VZ54U.js → reapply-PYDRWYKU.js} +28 -28
- package/dist/src/index.js +29 -29
- package/dist/{upgrade-lock-FW74BNQL.js → upgrade-lock-QZOSOFK5.js} +4 -4
- package/dist/{usage-J2D7WYM4.js → usage-4FVOG3QN.js} +3 -3
- package/package.json +2 -2
- /package/dist/{chunk-5TLDFPW6.js → chunk-VE333PL5.js} +0 -0
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
hermesAppWiringRecord,
|
|
6
6
|
hermesConfigReceipt,
|
|
7
7
|
hermesSetupReceipt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7EGNVZLK.js";
|
|
9
9
|
import {
|
|
10
10
|
readJsonSafe,
|
|
11
11
|
resolvePathBinary,
|
|
12
12
|
writeJsonAtomic
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I7UZODYO.js";
|
|
14
14
|
import {
|
|
15
15
|
isNewerVersion,
|
|
16
16
|
isReleaseVersion
|
|
17
17
|
} from "./chunk-ZVU6WMMU.js";
|
|
18
18
|
import {
|
|
19
19
|
isRecord
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VE333PL5.js";
|
|
21
21
|
|
|
22
22
|
// src/hermes/plugin-payload.ts
|
|
23
23
|
import { createHash } from "crypto";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OEPP5VUW.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LGQQUQDZ.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7EGNVZLK.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I7UZODYO.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VE333PL5.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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7EGNVZLK.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
writeJsonAtomic
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I7UZODYO.js";
|
|
9
9
|
|
|
10
10
|
// src/upgrade-lock.ts
|
|
11
11
|
import { fork } from "child_process";
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
SESSION_HISTORY_RETENTION_DAYS,
|
|
3
3
|
readOwnerOnlyJson,
|
|
4
4
|
savedTranscriptReadPositions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7MN3KPHM.js";
|
|
6
6
|
import {
|
|
7
7
|
ensureDaemonRunning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HT5WOP2M.js";
|
|
9
9
|
import {
|
|
10
10
|
hookOwnerOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJFITB6T.js";
|
|
12
12
|
import {
|
|
13
13
|
buildTranscriptRecords,
|
|
14
14
|
decodePublicKey,
|
|
@@ -19,33 +19,33 @@ import {
|
|
|
19
19
|
recordSealerFor,
|
|
20
20
|
uploadTranscriptRecords,
|
|
21
21
|
wrapSessionKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XO3UJDJE.js";
|
|
23
23
|
import {
|
|
24
24
|
external_exports
|
|
25
25
|
} from "./chunk-XMSDA5WA.js";
|
|
26
26
|
import {
|
|
27
27
|
transcriptEnvironmentPreference,
|
|
28
28
|
transcriptsEnabled
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-72UCLJJW.js";
|
|
30
30
|
import {
|
|
31
31
|
readTranscriptPreference
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LGQQUQDZ.js";
|
|
33
33
|
import {
|
|
34
34
|
hookMeaning
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FAM2TLFC.js";
|
|
36
36
|
import {
|
|
37
37
|
claudeConfigDir,
|
|
38
38
|
codexHome,
|
|
39
39
|
pusharyDir
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7EGNVZLK.js";
|
|
41
41
|
import {
|
|
42
42
|
writeJsonAtomic,
|
|
43
43
|
writeJsonAtomicDurable
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-I7UZODYO.js";
|
|
45
45
|
import {
|
|
46
46
|
getApiKey,
|
|
47
47
|
getBaseUrl
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-32F3BWRY.js";
|
|
49
49
|
import {
|
|
50
50
|
PENDING_COMMAND_PREFIX,
|
|
51
51
|
SESSION_HISTORY_BACKFILL_LIMIT_BYTES,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
isHookSource,
|
|
54
54
|
isRecord,
|
|
55
55
|
redactSecretsFromContent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-VE333PL5.js";
|
|
57
57
|
|
|
58
58
|
// src/transcript-recipient-pin.ts
|
|
59
59
|
import { createHash } from "crypto";
|
|
@@ -142,6 +142,12 @@ var verifyTrustedRecipients = (offer, path = recipientPinFile()) => {
|
|
|
142
142
|
if (verdict.kind !== "changed" || !pin || !sameRecoveryRecipient(offer, pin)) return verdict;
|
|
143
143
|
return phoneWasApproved(offer, pin, path) ? { kind: "match" } : verdict;
|
|
144
144
|
};
|
|
145
|
+
var verifyAnchoredRecipients = (offer, path = recipientPinFile(), anchorPath) => {
|
|
146
|
+
const verdict = verifyTrustedRecipients(offer, path);
|
|
147
|
+
if (verdict.kind !== "first-use" || anchorPath === void 0 || loadPin(anchorPath) === null) return verdict;
|
|
148
|
+
const anchored = verifyTrustedRecipients(offer, anchorPath);
|
|
149
|
+
return anchored.kind === "match" ? verdict : anchored;
|
|
150
|
+
};
|
|
145
151
|
var assertVerifiedPhone = (offer, pin, expectedFingerprint) => {
|
|
146
152
|
if (!canonicalPublicKey(offer.phonePublicKey) || fingerprint(offer.phonePublicKey) !== expectedFingerprint.trim().toLowerCase()) {
|
|
147
153
|
throw new Error("The fingerprint does not match this phone. Nothing was changed.");
|
|
@@ -1147,7 +1153,7 @@ var startTranscriptSync = (opts) => {
|
|
|
1147
1153
|
recipientFailure = reason;
|
|
1148
1154
|
});
|
|
1149
1155
|
if (!offer) return null;
|
|
1150
|
-
const verdict =
|
|
1156
|
+
const verdict = verifyAnchoredRecipients(offer, opts.storage?.recipientPinFile, opts.storage?.firstUseAnchorPinFile);
|
|
1151
1157
|
if (verdict.kind === "first-use" && !savePin(verdict.pin, opts.storage?.recipientPinFile)) return null;
|
|
1152
1158
|
if (verdict.kind === "changed") {
|
|
1153
1159
|
recipientFailure = "phone_key_changed";
|
|
@@ -1516,7 +1522,8 @@ var startRegisteredTranscripts = (apiKey, machineId, options = {}) => {
|
|
|
1516
1522
|
const current = () => read(registration.registrationPath);
|
|
1517
1523
|
const keyStorage = storage ?? (registration.source === "claude" || registration.source === "codex" ? void 0 : {
|
|
1518
1524
|
sessionKeyDirectory: snapshotKeyDirectory(registry),
|
|
1519
|
-
recipientPinFile: snapshotRecipientPinFile(registry)
|
|
1525
|
+
recipientPinFile: snapshotRecipientPinFile(registry),
|
|
1526
|
+
firstUseAnchorPinFile: recipientPinFile()
|
|
1520
1527
|
});
|
|
1521
1528
|
active.set(id, { path: registration.path, stop: startTranscriptSync({
|
|
1522
1529
|
apiKey,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JJNO3ACZ.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VE333PL5.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
postLiveSession,
|
|
5
5
|
postLiveSessionUntilAccepted,
|
|
6
6
|
startLiveSessionHeartbeat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6LJOCQBB.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-NMDWW3EY.js";
|
|
18
18
|
import {
|
|
19
19
|
spawnClaude
|
|
20
20
|
} from "./chunk-XHKBHWLX.js";
|
|
21
21
|
import {
|
|
22
22
|
repoKeyFor
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-K6QLKUCT.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-FSJYYZ3G.js";
|
|
31
31
|
import {
|
|
32
32
|
callMcpTool,
|
|
33
33
|
isRetryable
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NWSGMYX7.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-VE333PL5.js";
|
|
56
56
|
|
|
57
57
|
// src/codex-question-owner.ts
|
|
58
58
|
import { createHash } from "crypto";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2EOTXWFK.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3N4GETIW.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LGQQUQDZ.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-7EGNVZLK.js";
|
|
36
36
|
import {
|
|
37
37
|
readJsonSafe,
|
|
38
38
|
resolveGlobalBinary,
|
|
39
39
|
writeFileAtomic,
|
|
40
40
|
writeJsonAtomic
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-I7UZODYO.js";
|
|
42
42
|
|
|
43
43
|
// src/fx-config.ts
|
|
44
44
|
var FX_SERVER_NAME = "pushary";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted,
|
|
6
6
|
writeFileAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I7UZODYO.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-VE333PL5.js";
|
|
19
19
|
|
|
20
20
|
// src/setup/paths.ts
|
|
21
21
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LJFITB6T.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-INNH7EUK.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FAM2TLFC.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7EGNVZLK.js";
|
|
23
23
|
import {
|
|
24
24
|
HOOK_COMPATIBLE_PROFILES,
|
|
25
25
|
PHONE_ANSWERED_TOOLS,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
pusharyMissingReason,
|
|
31
31
|
refusalOutput,
|
|
32
32
|
withHookHoldBudget
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VE333PL5.js";
|
|
34
34
|
|
|
35
35
|
// src/config-document.ts
|
|
36
36
|
import { parse, stringify } from "smol-toml";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4V25M4X5.js";
|
|
7
7
|
import {
|
|
8
8
|
phoneStartIsRequired
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DADN6GJO.js";
|
|
10
10
|
import {
|
|
11
11
|
describeAutoUpdateCheck,
|
|
12
12
|
globalInstallLocation,
|
|
@@ -18,25 +18,25 @@ import {
|
|
|
18
18
|
readAutoUpdateState,
|
|
19
19
|
updateAutoUpdateState,
|
|
20
20
|
upgradeEntryFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CDBGZWPY.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7EGNVZLK.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-I7UZODYO.js";
|
|
34
34
|
import {
|
|
35
35
|
EXIT
|
|
36
36
|
} from "./chunk-KZERVKTD.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E4XGV5UG.js";
|
|
40
40
|
import {
|
|
41
41
|
commandsPackage,
|
|
42
42
|
globalUpgradeEntry,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7EGNVZLK.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7UZODYO.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-VE333PL5.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCodeConfigDirFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OEPP5VUW.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeClaudeInstallPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K2NIENKY.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ALT4KW5M.js";
|
|
10
10
|
import {
|
|
11
11
|
claudeConfigDir,
|
|
12
12
|
clineDataDirectory,
|
|
13
13
|
codexHomeFrom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7EGNVZLK.js";
|
|
15
15
|
import {
|
|
16
16
|
HOOK_COMPATIBLE_PROFILES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VE333PL5.js";
|
|
18
18
|
|
|
19
19
|
// src/vscode-config.ts
|
|
20
20
|
import { homedir } from "os";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XRSE2PAM.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K2NIENKY.js";
|
|
7
7
|
import {
|
|
8
8
|
readGlobalPrefixAsync,
|
|
9
9
|
resolveGlobalBinary,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
resolvePackageVersionFromBinary,
|
|
14
14
|
resolvePathBinary,
|
|
15
15
|
resolvePathBinaryAsync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I7UZODYO.js";
|
|
17
17
|
import {
|
|
18
18
|
MANAGED_PROVIDERS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VE333PL5.js";
|
|
20
20
|
|
|
21
21
|
// src/live-capabilities.ts
|
|
22
22
|
import { homedir } from "os";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
reachVerdict,
|
|
13
13
|
reachesYou,
|
|
14
14
|
verifyDelivery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OODEIR3Z.js";
|
|
16
16
|
import {
|
|
17
17
|
humanIsTty,
|
|
18
18
|
writeHuman
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
} from "./chunk-FO3MDD26.js";
|
|
25
25
|
import {
|
|
26
26
|
reportedInstallSource
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-G7MVZHMM.js";
|
|
28
28
|
import {
|
|
29
29
|
NPX_LATEST_COMMAND
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-E4XGV5UG.js";
|
|
31
31
|
import {
|
|
32
32
|
NO_PAIRING_COMPUTER,
|
|
33
33
|
PAIR_TTL_SECONDS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VE333PL5.js";
|
|
35
35
|
|
|
36
36
|
// src/onboarding.ts
|
|
37
37
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
McpToolError,
|
|
7
7
|
SubscriptionRequiredError,
|
|
8
8
|
callMcpTool
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NWSGMYX7.js";
|
|
10
10
|
import {
|
|
11
11
|
installNetworkDefaults,
|
|
12
12
|
isNetworkFailure
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QCSPLJL6.js";
|
|
14
14
|
import {
|
|
15
15
|
clientReportClaims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7EGNVZLK.js";
|
|
17
17
|
import {
|
|
18
18
|
getApiKey,
|
|
19
19
|
getBaseUrl
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-32F3BWRY.js";
|
|
21
21
|
import {
|
|
22
22
|
ASK_AGENT_NAME_MAX,
|
|
23
23
|
CLIENT_REPORT_PATH,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
TOOL_FAILURE_CODES,
|
|
27
27
|
degradedLine,
|
|
28
28
|
truncateLine
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VE333PL5.js";
|
|
30
30
|
|
|
31
31
|
// src/api.ts
|
|
32
32
|
import { randomUUID } from "crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CODEX_HOOK_STATUS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TOPXBWUN.js";
|
|
4
4
|
import {
|
|
5
5
|
retryAgentCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2EOTXWFK.js";
|
|
7
7
|
import {
|
|
8
8
|
NPX_LATEST_COMMAND
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E4XGV5UG.js";
|
|
10
10
|
|
|
11
11
|
// src/setup/codex-trust.ts
|
|
12
12
|
var CODEX_TRUST_TELEMETRY = {
|