pushary 1.9.276 → 1.9.278
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 +11 -0
- package/README.md +1 -0
- package/dist/{api-OLFIDMS7.js → api-JDJKIBJ2.js} +12 -12
- package/dist/bin/pushary-ask.d.ts +1 -0
- package/dist/bin/pushary-ask.js +303 -0
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +31 -30
- package/dist/bin/pushary-bell.js +11 -11
- package/dist/bin/pushary-calls.js +14 -14
- package/dist/bin/pushary-claude.js +42 -40
- package/dist/bin/pushary-clean.js +47 -46
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +37 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +17 -16
- package/dist/bin/pushary-connect.js +37 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +69 -68
- package/dist/bin/pushary-disconnect.js +33 -32
- package/dist/bin/pushary-display-hook.js +79 -48
- package/dist/bin/pushary-doctor.js +76 -75
- package/dist/bin/pushary-elicitation-hook.js +30 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +34 -32
- package/dist/bin/pushary-hook.js +38 -37
- package/dist/bin/pushary-login.js +45 -44
- package/dist/bin/pushary-logout.js +33 -32
- package/dist/bin/pushary-mcp.js +14 -14
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +28 -27
- package/dist/bin/pushary-opencode-bridge.js +25 -25
- package/dist/bin/pushary-opencode-hook.js +48 -46
- package/dist/bin/pushary-permission-denied-hook.js +35 -34
- package/dist/bin/pushary-permission-hook.js +36 -35
- package/dist/bin/pushary-post-hook.js +29 -28
- package/dist/bin/pushary-prompt-hook.js +28 -27
- package/dist/bin/pushary-session-end-hook.js +31 -30
- package/dist/bin/pushary-session-start-hook.js +41 -40
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +94 -93
- package/dist/bin/pushary-stats.js +7 -7
- package/dist/bin/pushary-status.js +38 -37
- package/dist/bin/pushary-stop-hook.js +28 -27
- package/dist/bin/pushary-stopfailure-hook.js +28 -27
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +16 -16
- package/dist/bin/pushary-transcripts.js +27 -27
- package/dist/bin/pushary-upgrade.js +65 -64
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +8 -7
- package/dist/{chunk-LP7DPO3E.js → chunk-22OYSTAN.js} +1 -1
- package/dist/{chunk-YN4YRZNF.js → chunk-2BW7GNNB.js} +2 -2
- package/dist/{chunk-ZW2BWWIP.js → chunk-2XAZO2Q3.js} +2 -2
- package/dist/{chunk-GXXZLEHJ.js → chunk-33IU43ZR.js} +7 -7
- package/dist/{chunk-FDJ74WHC.js → chunk-3CNXRECH.js} +4 -4
- package/dist/{chunk-D6BE2O76.js → chunk-3HKTW7AH.js} +2 -2
- package/dist/{chunk-RLDWWF4R.js → chunk-4IX2PONM.js} +1 -1
- package/dist/{chunk-N6YV7ZYB.js → chunk-5XVPGNE5.js} +6 -6
- package/dist/{chunk-DTJ654CO.js → chunk-5ZX57DNR.js} +2 -2
- package/dist/{chunk-M4G55A3C.js → chunk-6RSP2BY4.js} +3 -3
- package/dist/{chunk-FTWDXWIC.js → chunk-6X7GXEBI.js} +15 -4
- package/dist/{chunk-4TZE23IY.js → chunk-72CPOGDP.js} +3 -3
- package/dist/{chunk-PJ2MCXPU.js → chunk-76XC2ICT.js} +18 -19
- package/dist/{chunk-YWSNBQFN.js → chunk-7AMWTZTL.js} +5 -5
- package/dist/{chunk-DXY77UVL.js → chunk-7DA3YV66.js} +14 -14
- package/dist/{chunk-ACOOCU2C.js → chunk-7RLMFVUZ.js} +2 -2
- package/dist/{chunk-3XNTOZSO.js → chunk-A7PIULSY.js} +1 -1
- package/dist/{chunk-ZCSQCI3V.js → chunk-AECDNNRM.js} +1 -1
- package/dist/{chunk-6ILWJR5J.js → chunk-B5565Y33.js} +1 -1
- package/dist/{chunk-5MD7VE6J.js → chunk-B6RL3XXW.js} +3 -3
- package/dist/{chunk-GXJ5WI6B.js → chunk-BAYA2H6O.js} +7 -7
- package/dist/{chunk-UMW3HCWQ.js → chunk-C3E5KDBH.js} +10 -10
- package/dist/{chunk-X6HX2UHZ.js → chunk-CB2NT2J5.js} +1 -1
- package/dist/{chunk-OAZ7WMAU.js → chunk-CUXMOQDW.js} +3 -3
- package/dist/{chunk-5PB5PLYU.js → chunk-DFNJBEFV.js} +10 -10
- package/dist/{chunk-DFEGXN5S.js → chunk-DIQKY76N.js} +1 -1
- package/dist/{chunk-EWT4JVQ6.js → chunk-DISRB3NE.js} +1 -1
- package/dist/{chunk-CREEYGND.js → chunk-DMMIXJKD.js} +12 -12
- package/dist/{chunk-S3H2J5PJ.js → chunk-DWM7BYVK.js} +1 -1
- package/dist/{chunk-KS2H54MK.js → chunk-EEC52E5K.js} +1 -1
- package/dist/{chunk-HF47DPMN.js → chunk-ETZUDUCB.js} +1 -1
- package/dist/{chunk-SCWBZEDN.js → chunk-FGIJ46DR.js} +5 -5
- package/dist/{chunk-QU5K42CD.js → chunk-GJQJHWQ4.js} +2 -2
- package/dist/{chunk-V54U7EAG.js → chunk-GP7Q2DCX.js} +4 -4
- package/dist/{chunk-ZMVHJCM2.js → chunk-GQDJPX3J.js} +1 -1
- package/dist/{chunk-YIWLOD3H.js → chunk-GUL5YSME.js} +5 -5
- package/dist/{chunk-M23WDLIC.js → chunk-HMUSFFEH.js} +3 -3
- package/dist/{chunk-4YHQYYTJ.js → chunk-HQSTVSDO.js} +169 -74
- package/dist/{chunk-TGS5T7AD.js → chunk-I4A6CL5Q.js} +6 -6
- package/dist/{chunk-YABFR43V.js → chunk-I5I5PXQL.js} +10 -10
- package/dist/{chunk-ZMMCHRJF.js → chunk-ISPN73NA.js} +5 -5
- package/dist/{chunk-HYHA7TQV.js → chunk-J2N3BNNE.js} +1 -1
- package/dist/{chunk-5YKEUZCZ.js → chunk-JHJPAG6R.js} +6 -6
- package/dist/{chunk-ZM3LMIDN.js → chunk-JNPWASVJ.js} +11 -1
- package/dist/{chunk-FI4ZDYXT.js → chunk-K5JEB3I4.js} +8 -8
- package/dist/{chunk-52T655NA.js → chunk-K5LHDTYS.js} +1 -1
- package/dist/{chunk-6ZYEZF6R.js → chunk-KKEX5FAB.js} +8 -8
- package/dist/{chunk-YNDJIBLB.js → chunk-KO2QJNTA.js} +1 -1
- package/dist/{chunk-46NACONX.js → chunk-MGV6KJJF.js} +1 -1
- package/dist/{chunk-EA7G2WD3.js → chunk-MOMA4DD4.js} +1 -1
- package/dist/{chunk-2JZM72KC.js → chunk-MZJIL5CA.js} +5 -5
- package/dist/{chunk-OK5XINZK.js → chunk-NDDIA2YJ.js} +7 -7
- package/dist/{chunk-6BSQQQPF.js → chunk-NLJUHVZJ.js} +3 -3
- package/dist/{chunk-5CIJT5EW.js → chunk-OIRKU5GW.js} +4 -4
- package/dist/{chunk-SBULIKB5.js → chunk-OMHFKENS.js} +6 -6
- package/dist/{chunk-ESHKK3NZ.js → chunk-PW6FMKMZ.js} +7 -7
- package/dist/{chunk-WXYSJULN.js → chunk-QHSJVHNC.js} +4 -4
- package/dist/{chunk-E6DLZK6F.js → chunk-QNMJJMZF.js} +4 -4
- package/dist/{chunk-6IEGHLAQ.js → chunk-QRIRB7KV.js} +4 -4
- package/dist/{chunk-CK2XAWUK.js → chunk-QUU74XFH.js} +3 -3
- package/dist/{chunk-QMFJHEHJ.js → chunk-R5FAM3I6.js} +1 -1
- package/dist/{chunk-TRNII2FW.js → chunk-R7VMXE6A.js} +1 -1
- package/dist/{chunk-WGN5Z3WG.js → chunk-SMI5X7BO.js} +1 -1
- package/dist/{chunk-JOWPUJPT.js → chunk-TPSRKMMW.js} +5 -5
- package/dist/{chunk-U43TDW57.js → chunk-TSKDJNC5.js} +1 -1
- package/dist/{chunk-UIVL7CLE.js → chunk-UCX7X333.js} +1 -1
- package/dist/{chunk-HYLZSXGI.js → chunk-UXB54PYF.js} +29 -22
- package/dist/{chunk-RVEJ2HQO.js → chunk-WCTHF35Z.js} +3 -3
- package/dist/{chunk-KMCKHX4S.js → chunk-WFDFDUHU.js} +2 -2
- package/dist/{chunk-CABA3Y5F.js → chunk-WG4Y6DJD.js} +24 -11
- package/dist/{chunk-DHLVNUDU.js → chunk-WJALXH6I.js} +1 -1
- package/dist/{chunk-NDE2U7MH.js → chunk-WTPNWUEQ.js} +3 -3
- package/dist/{chunk-EL3X6A4S.js → chunk-WXXAFKZE.js} +2 -2
- package/dist/{chunk-BZCSYGXX.js → chunk-WY6VFXYH.js} +22 -20
- package/dist/{chunk-KFSWRHKU.js → chunk-XHEF2MQZ.js} +2 -2
- package/dist/{chunk-37U5RQKQ.js → chunk-XOALU2TA.js} +4 -4
- package/dist/{chunk-SNPJ6XXM.js → chunk-XUIQOGUN.js} +3 -3
- package/dist/{chunk-YXDPRTVM.js → chunk-YAV677T2.js} +4 -4
- package/dist/{chunk-DQ4JAE76.js → chunk-YBTS5ZR3.js} +6 -2
- package/dist/{chunk-7QBTDXGQ.js → chunk-YPTRRRD3.js} +1 -1
- package/dist/{chunk-HGNBFVY5.js → chunk-YSDITWDH.js} +4 -4
- package/dist/chunk-Z25VDYAL.js +6 -0
- package/dist/{chunk-I5L4QXWJ.js → chunk-Z5H2XKMF.js} +2 -2
- package/dist/{codex-app-cards-switch-5LUDTLSJ.js → codex-app-cards-switch-YN66WO7X.js} +12 -12
- package/dist/{codex-card-routing-3KMBEQOC.js → codex-card-routing-QXVDJGWF.js} +2 -2
- package/dist/{codex-desktop-launch-AJWF2S4W.js → codex-desktop-launch-XFRDRYXQ.js} +3 -3
- package/dist/{codex-session-launch-VSXLEJVF.js → codex-session-launch-W3SUQJMA.js} +22 -22
- package/dist/{config-YXLVQ5T7.js → config-EGAARNM4.js} +9 -3
- package/dist/{global-upgrade-KHCU2JYT.js → global-upgrade-KKCSLSUA.js} +9 -9
- package/dist/{identity-CGMWCMVP.js → identity-P35TDUOJ.js} +4 -4
- package/dist/{live-capabilities-NLUOLMSU.js → live-capabilities-6NS5JAL4.js} +4 -4
- package/dist/{paths-KDPFVDE5.js → paths-FCBX57O2.js} +3 -3
- package/dist/{reapply-7ALGSM56.js → reapply-LOFPNVDB.js} +36 -35
- package/dist/src/index.d.ts +14 -3
- package/dist/src/index.js +34 -33
- package/dist/{upgrade-lock-CRYW2DXA.js → upgrade-lock-HOMFI7KP.js} +4 -4
- package/dist/{usage-Q3DQZVW2.js → usage-MAE6ZECN.js} +3 -3
- package/package.json +2 -1
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PW6FMKMZ.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCLAW_MIN_VERSION,
|
|
24
24
|
OPENCLAW_PLUGIN_ID,
|
|
25
25
|
OPENCLAW_PLUGIN_PACKAGE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NLJUHVZJ.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WTPNWUEQ.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6X7GXEBI.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonSafe,
|
|
35
35
|
writeJsonAtomic
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readSetupOutcomeProperties,
|
|
39
39
|
redactSecretsFromContent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher, pluginVersion = null) => {
|
|
@@ -8,24 +8,26 @@ import {
|
|
|
8
8
|
SubscriptionRequiredError,
|
|
9
9
|
callMcpTool,
|
|
10
10
|
isRetryable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WG4Y6DJD.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchAsCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WJALXH6I.js";
|
|
15
15
|
import {
|
|
16
16
|
installNetworkDefaults,
|
|
17
17
|
isNetworkFailure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B6RL3XXW.js";
|
|
19
19
|
import {
|
|
20
20
|
keyPrefix
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5ZX57DNR.js";
|
|
22
22
|
import {
|
|
23
|
+
MacAppRefusedError,
|
|
24
|
+
MacAppUnreachableError,
|
|
23
25
|
clientReportClaims
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HQSTVSDO.js";
|
|
25
27
|
import {
|
|
26
28
|
getApiKey,
|
|
27
29
|
getBaseUrl
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6X7GXEBI.js";
|
|
29
31
|
import {
|
|
30
32
|
getPackageVersion
|
|
31
33
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -55,7 +57,7 @@ import {
|
|
|
55
57
|
responseRejectsCredential,
|
|
56
58
|
truncateLine,
|
|
57
59
|
waitEndAnswered
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
59
61
|
|
|
60
62
|
// src/api.ts
|
|
61
63
|
import { randomUUID } from "crypto";
|
|
@@ -101,6 +103,8 @@ var isThePersonsStop = (reply) => reply.status === PERSON_STOPPED_STATUS;
|
|
|
101
103
|
var isPending = (reply) => reply.status === void 0 || reply.status === PENDING_STATUS;
|
|
102
104
|
var isUnavailable = (reply) => reply.status === UNAVAILABLE_STATUS;
|
|
103
105
|
var askingProcessWaits = (asker, currentParent, isGone) => currentParent === asker && !isGone(asker);
|
|
106
|
+
var INIT_PROCESS = 1;
|
|
107
|
+
var askingProcessWaitsFrom = ({ asker, currentParent, waitedMs, isGone }) => asker <= INIT_PROCESS ? waitedMs < OPEN_QUESTION_LIVE_WINDOW_MS : askingProcessWaits(asker, currentParent, isGone);
|
|
104
108
|
var waitWhileTheQuestionIsOpen = async (effects) => {
|
|
105
109
|
const startedAt = effects.now();
|
|
106
110
|
let failures = 0;
|
|
@@ -122,7 +126,7 @@ var waitWhileTheQuestionIsOpen = async (effects) => {
|
|
|
122
126
|
continue;
|
|
123
127
|
}
|
|
124
128
|
failures = 0;
|
|
125
|
-
if (!isPending(reply)) return { kind: "closed" };
|
|
129
|
+
if (!isPending(reply)) return { kind: "closed", reply };
|
|
126
130
|
await effects.sleep(poll.pauseMs);
|
|
127
131
|
}
|
|
128
132
|
return { kind: "abandoned" };
|
|
@@ -322,14 +326,14 @@ var withinAskUserLimits = (params) => ({
|
|
|
322
326
|
permissionMode: boundedPermissionMode(params.permissionMode)
|
|
323
327
|
});
|
|
324
328
|
var ASK_USER_TIMEOUT_MS = 15e3;
|
|
325
|
-
var askUser = async (
|
|
329
|
+
var askUser = async (signIn, params, timeoutMs = ASK_USER_TIMEOUT_MS, baseUrl, signal) => {
|
|
326
330
|
const identified = params.toolUseId || params.requestId ? params : { ...params, requestId: randomUUID() };
|
|
327
|
-
const result = await callMcpTool(
|
|
331
|
+
const result = await callMcpTool(signIn, "ask_user", { ...withinAskUserLimits(identified), pausedAware: true, wait: false }, { maxRetries: 3, timeoutMs, baseUrl, signal });
|
|
328
332
|
if (!isAskUserReply(result)) throw new Error("Invalid ask_user response");
|
|
329
333
|
return result;
|
|
330
334
|
};
|
|
331
|
-
var waitForAnswer = async (
|
|
332
|
-
const result = await callMcpTool(
|
|
335
|
+
var waitForAnswer = async (signIn, correlationId, timeoutMs = 3e4, signal, baseUrl) => {
|
|
336
|
+
const result = await callMcpTool(signIn, "wait_for_answer", {
|
|
333
337
|
correlationId,
|
|
334
338
|
timeoutMs
|
|
335
339
|
}, { timeoutMs: timeoutMs + 1e4, signal, baseUrl });
|
|
@@ -360,7 +364,8 @@ var isDroppedConnection = (error) => {
|
|
|
360
364
|
return error.message === DROPPED_RESPONSE_MESSAGE || code !== null && DROPPED_CONNECTION_CODES.has(code);
|
|
361
365
|
};
|
|
362
366
|
var isTransientWaitFailure = (error) => {
|
|
363
|
-
if (error instanceof McpHttpError) return isPassingHttpStatus(error.status);
|
|
367
|
+
if (error instanceof McpHttpError || error instanceof MacAppRefusedError) return isPassingHttpStatus(error.status);
|
|
368
|
+
if (error instanceof MacAppUnreachableError) return true;
|
|
364
369
|
if (error instanceof SubscriptionRequiredError || error instanceof McpToolError) return false;
|
|
365
370
|
return isRetryable(error) || isDroppedConnection(error);
|
|
366
371
|
};
|
|
@@ -453,17 +458,17 @@ var pollForAnswer = async (apiKey, correlationId, deadlineMs, pollInterval = 2e3
|
|
|
453
458
|
return settleAtTheDeadline(apiKey, correlationId, atDeadline, withdraw, signal);
|
|
454
459
|
};
|
|
455
460
|
var CANCEL_QUESTION_TIMEOUT_MS = 4e3;
|
|
456
|
-
var cancelQuestion = async (
|
|
457
|
-
return callMcpTool(
|
|
461
|
+
var cancelQuestion = async (signIn, correlationId, signal, baseUrl) => {
|
|
462
|
+
return callMcpTool(signIn, "cancel_question", { correlationId }, { signal, timeoutMs: CANCEL_QUESTION_TIMEOUT_MS, maxRetries: 1, baseUrl });
|
|
458
463
|
};
|
|
459
464
|
var cancelQuestionSettledAtComputer = async (apiKey, correlationId, signal) => callMcpTool(apiKey, "cancel_question", { correlationId, [CANCEL_QUESTION_REASON_FIELD]: QUESTION_WITHDRAWAL_REASON.settledAtComputer }, { signal, timeoutMs: CANCEL_QUESTION_TIMEOUT_MS, maxRetries: 1 });
|
|
460
465
|
var WITHDRAW_READ_TIMEOUT_MS = 2e3;
|
|
461
|
-
var withdrawQuestion = async (
|
|
466
|
+
var withdrawQuestion = async (signIn, correlationId, transport = { cancelQuestion, waitForAnswer }) => {
|
|
462
467
|
try {
|
|
463
|
-
const cancelled = await transport.cancelQuestion(
|
|
468
|
+
const cancelled = await transport.cancelQuestion(signIn, correlationId, AbortSignal.timeout(CANCEL_QUESTION_TIMEOUT_MS));
|
|
464
469
|
if (!cancelled || isDecisionStopped(cancelled)) return STOPPED;
|
|
465
470
|
if (cancelled.cancelled === true) return { answered: false, status: "withdrawn" };
|
|
466
|
-
const late = await transport.waitForAnswer(
|
|
471
|
+
const late = await transport.waitForAnswer(signIn, correlationId, 1e3, AbortSignal.timeout(WITHDRAW_READ_TIMEOUT_MS));
|
|
467
472
|
if (late.answered || isDecisionStopped(late)) return late;
|
|
468
473
|
return late.status === "expired" ? { answered: false, status: "withdrawn" } : STOPPED;
|
|
469
474
|
} catch {
|
|
@@ -556,6 +561,12 @@ var claimBlockedAction = async (apiKey, request, timeoutMs) => {
|
|
|
556
561
|
};
|
|
557
562
|
|
|
558
563
|
export {
|
|
564
|
+
isPolicyConfig,
|
|
565
|
+
isWaitForAnswerResponse,
|
|
566
|
+
isThePersonsStop,
|
|
567
|
+
askingProcessWaits,
|
|
568
|
+
askingProcessWaitsFrom,
|
|
569
|
+
waitWhileTheQuestionIsOpen,
|
|
559
570
|
testTrafficHeaders,
|
|
560
571
|
postKeylessBeacon,
|
|
561
572
|
telemetryOptedOut,
|
|
@@ -564,10 +575,6 @@ export {
|
|
|
564
575
|
exitAfterClientReports,
|
|
565
576
|
clientErrorKindOf,
|
|
566
577
|
writeDegraded,
|
|
567
|
-
isPolicyConfig,
|
|
568
|
-
isWaitForAnswerResponse,
|
|
569
|
-
isThePersonsStop,
|
|
570
|
-
askingProcessWaits,
|
|
571
578
|
isDecisionStopped,
|
|
572
579
|
isStoredPastThePushCap,
|
|
573
580
|
isQuestionLimitRefusal,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-3EGEA4KH.js";
|
|
10
10
|
import {
|
|
11
11
|
testTrafficHeaders
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UXB54PYF.js";
|
|
13
13
|
import {
|
|
14
14
|
getBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6X7GXEBI.js";
|
|
16
16
|
import {
|
|
17
17
|
CLI_LOCAL_BIND_PATH,
|
|
18
18
|
LOCAL_CONFIRM_HOST,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isLocalConfirmToken,
|
|
24
24
|
isPhonePass,
|
|
25
25
|
localTerminalEntryUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
27
27
|
|
|
28
28
|
// src/cli/login-ui.ts
|
|
29
29
|
import { hostname } from "os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQSTVSDO.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-YBTS5ZR3.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAsCredential
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WJALXH6I.js";
|
|
4
4
|
import {
|
|
5
5
|
keyCheckFromResponse
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QUU74XFH.js";
|
|
7
7
|
import {
|
|
8
8
|
installNetworkDefaults
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B6RL3XXW.js";
|
|
10
|
+
import {
|
|
11
|
+
MacAppUnreachableError,
|
|
12
|
+
macAppReplyError,
|
|
13
|
+
requestThroughMacApp
|
|
14
|
+
} from "./chunk-HQSTVSDO.js";
|
|
10
15
|
import {
|
|
11
16
|
getBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6X7GXEBI.js";
|
|
13
18
|
import {
|
|
14
19
|
isRecord,
|
|
15
20
|
isToolErrorResult,
|
|
16
21
|
toolFailureCodeOfResult
|
|
17
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
18
23
|
|
|
19
24
|
// src/retry.ts
|
|
20
25
|
var isRetryable = (err) => {
|
|
@@ -104,20 +109,28 @@ var parseMcpResponse = (body, contentType) => {
|
|
|
104
109
|
}
|
|
105
110
|
return JSON.parse(body);
|
|
106
111
|
};
|
|
107
|
-
var
|
|
112
|
+
var sendThroughMacApp = async (signIn, message, { timeoutMs, signal }) => {
|
|
113
|
+
const reply = await requestThroughMacApp(signIn, message, { timeoutMs, signal });
|
|
114
|
+
const failure = macAppReplyError(reply);
|
|
115
|
+
if (failure) throw failure;
|
|
116
|
+
return { data: reply, sessionId: "", status: 200, statusText: "OK" };
|
|
117
|
+
};
|
|
118
|
+
var retryableRequest = (signal) => (error) => retryableUnlessTheCallerGaveUp(signal)(error) || signal?.aborted !== true && error instanceof MacAppUnreachableError;
|
|
119
|
+
var sendMcpRequest = async (signIn, message, options = {}) => {
|
|
108
120
|
return withRetry(async () => {
|
|
109
121
|
options.signal?.throwIfAborted();
|
|
122
|
+
if (typeof signIn !== "string") return sendThroughMacApp(signIn, message, options);
|
|
110
123
|
const baseUrl = options.baseUrl ?? getBaseUrl();
|
|
111
124
|
const fetchFn = options.fetchFn ?? fetch;
|
|
112
125
|
const headers = {
|
|
113
126
|
"Content-Type": "application/json",
|
|
114
127
|
"Accept": "application/json, text/event-stream",
|
|
115
|
-
"Authorization": `Bearer ${
|
|
128
|
+
"Authorization": `Bearer ${signIn}`
|
|
116
129
|
};
|
|
117
130
|
if (options.sessionId) {
|
|
118
131
|
headers["Mcp-Session-Id"] = options.sessionId;
|
|
119
132
|
}
|
|
120
|
-
const response = await fetchAsCredential(
|
|
133
|
+
const response = await fetchAsCredential(signIn, `${baseUrl}/api/mcp/mcp`, {
|
|
121
134
|
method: "POST",
|
|
122
135
|
headers,
|
|
123
136
|
body: JSON.stringify(message),
|
|
@@ -147,10 +160,10 @@ var sendMcpRequest = async (apiKey, message, options = {}) => {
|
|
|
147
160
|
status: response.status,
|
|
148
161
|
statusText: response.statusText
|
|
149
162
|
};
|
|
150
|
-
}, { maxAttempts: options.maxRetries ?? 1, shouldRetry:
|
|
163
|
+
}, { maxAttempts: options.maxRetries ?? 1, shouldRetry: retryableRequest(options.signal) });
|
|
151
164
|
};
|
|
152
|
-
var callMcpTool = async (
|
|
153
|
-
const { data } = await sendMcpRequest(
|
|
165
|
+
var callMcpTool = async (signIn, toolName, params, options = {}) => {
|
|
166
|
+
const { data } = await sendMcpRequest(signIn, {
|
|
154
167
|
jsonrpc: "2.0",
|
|
155
168
|
id: options.id ?? Date.now(),
|
|
156
169
|
method: "tools/call",
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
NpmMissingError,
|
|
5
5
|
NpmPermissionError,
|
|
6
6
|
NpmReleaseAgeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QNMJJMZF.js";
|
|
8
8
|
import {
|
|
9
9
|
writeFileAtomic
|
|
10
10
|
} from "./chunk-PM2NRK6Y.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JNPWASVJ.js";
|
|
14
14
|
import {
|
|
15
15
|
readSetupAgentFailures
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/config-write.ts
|
|
19
19
|
var AgentConfigWriteError = class extends Error {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQSTVSDO.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QNMJJMZF.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -7,30 +7,30 @@ import {
|
|
|
7
7
|
restorePhoneApprovals,
|
|
8
8
|
setAsidePhoneApprovalsOfOtherCalls,
|
|
9
9
|
takePhoneApproval
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
claudeSettingsLocationFor,
|
|
13
|
-
readClaudePermissionRules
|
|
14
|
-
} from "./chunk-D6BE2O76.js";
|
|
10
|
+
} from "./chunk-2XAZO2Q3.js";
|
|
15
11
|
import {
|
|
16
12
|
defersToNativeMode
|
|
17
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J2N3BNNE.js";
|
|
18
14
|
import {
|
|
19
15
|
reportMachineDenial
|
|
20
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3CNXRECH.js";
|
|
17
|
+
import {
|
|
18
|
+
claudeSettingsLocationFor,
|
|
19
|
+
readClaudePermissionRules
|
|
20
|
+
} from "./chunk-3HKTW7AH.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A7PIULSY.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GUL5YSME.js";
|
|
29
29
|
import {
|
|
30
30
|
activeHookSource,
|
|
31
31
|
activeIdentity,
|
|
32
32
|
namedSource
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OMHFKENS.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_SESSION,
|
|
36
36
|
allow,
|
|
@@ -52,7 +52,6 @@ import {
|
|
|
52
52
|
handlePushFirst,
|
|
53
53
|
handlePushOnly,
|
|
54
54
|
hasBlockedActionHint,
|
|
55
|
-
isDeferAnswer,
|
|
56
55
|
markApprovalReminded,
|
|
57
56
|
noteAStopAtTheAsk,
|
|
58
57
|
oncePerSession,
|
|
@@ -72,7 +71,7 @@ import {
|
|
|
72
71
|
storedWaitDeadline,
|
|
73
72
|
sweepFilesOlderThan,
|
|
74
73
|
userScope
|
|
75
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-76XC2ICT.js";
|
|
76
75
|
import {
|
|
77
76
|
UNNAMED_ACTION,
|
|
78
77
|
deriveAction,
|
|
@@ -83,7 +82,10 @@ import {
|
|
|
83
82
|
patchDeletesFiles,
|
|
84
83
|
permissionDeniedAction,
|
|
85
84
|
scopePathFor
|
|
86
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-DIQKY76N.js";
|
|
86
|
+
import {
|
|
87
|
+
isDeferAnswer
|
|
88
|
+
} from "./chunk-Z25VDYAL.js";
|
|
87
89
|
import {
|
|
88
90
|
askUser,
|
|
89
91
|
cancelQuestion,
|
|
@@ -97,30 +99,30 @@ import {
|
|
|
97
99
|
sendNotification,
|
|
98
100
|
waitForQuestion,
|
|
99
101
|
withdrawQuestion
|
|
100
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-UXB54PYF.js";
|
|
101
103
|
import {
|
|
102
104
|
branchFor,
|
|
103
105
|
projectNameFor,
|
|
104
106
|
repoKeyFor,
|
|
105
107
|
repositoryScopeFor
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-DWM7BYVK.js";
|
|
107
109
|
import {
|
|
108
110
|
getMachineId
|
|
109
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-SMI5X7BO.js";
|
|
110
112
|
import {
|
|
111
113
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
112
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-HQSTVSDO.js";
|
|
113
115
|
import {
|
|
114
116
|
getApiKey,
|
|
115
117
|
getBaseUrl,
|
|
116
118
|
isMalformedApiKeyError
|
|
117
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-6X7GXEBI.js";
|
|
118
120
|
import {
|
|
119
121
|
writeFileAtomic
|
|
120
122
|
} from "./chunk-PM2NRK6Y.js";
|
|
121
123
|
import {
|
|
122
124
|
NPX_LATEST_COMMAND
|
|
123
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-JNPWASVJ.js";
|
|
124
126
|
import {
|
|
125
127
|
AGENT_QUESTION_STRATEGY,
|
|
126
128
|
AGENT_QUESTION_TOOL,
|
|
@@ -192,7 +194,7 @@ import {
|
|
|
192
194
|
terminalStaysLiveForTheCall,
|
|
193
195
|
timeoutActionWithoutLocalPrompt,
|
|
194
196
|
unapprovedScopeReason
|
|
195
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
196
198
|
|
|
197
199
|
// src/terminal-answer-watch.ts
|
|
198
200
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QUU74XFH.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGV6KJJF.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UCX7X333.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
isBridgeLocator,
|
|
17
17
|
isProtectedByScope,
|
|
18
18
|
registerHookEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HQSTVSDO.js";
|
|
20
20
|
import {
|
|
21
21
|
CURSOR_GATE_EVENTS,
|
|
22
22
|
HOOK_BUDGETS,
|
|
23
23
|
HOOK_LOCATOR_BINARY,
|
|
24
24
|
hookCommandHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETUP_FLAGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGV6KJJF.js";
|
|
4
4
|
import {
|
|
5
5
|
parseFlags
|
|
6
6
|
} from "./chunk-BZIBNSQE.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JNPWASVJ.js";
|
|
13
13
|
import {
|
|
14
14
|
CLAUDE_CONNECTOR_GUIDE,
|
|
15
15
|
CLAUDE_CONNECTOR_STEPS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
CLAUDE_CONNECTOR_URL,
|
|
18
18
|
COWORK_CONNECTOR_LIMIT,
|
|
19
19
|
COWORK_STANDING_INSTRUCTIONS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/cowork.ts
|
|
23
23
|
import { readFileSync } from "fs";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-WHB622LP.js";
|
|
5
5
|
import {
|
|
6
6
|
keyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5ZX57DNR.js";
|
|
8
8
|
import {
|
|
9
9
|
keyPrefixToShow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6X7GXEBI.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JNPWASVJ.js";
|
|
14
14
|
import {
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/key-account.ts
|
|
19
19
|
var isKeyHeldByMacApp = (key, holder) => holder.macAppInstalled && holder.macAppKey === key;
|
|
@@ -1311,6 +1311,7 @@ var APPROVE_ANSWER = "yes";
|
|
|
1311
1311
|
var STOP_HANDOFF_ACTION = "stop";
|
|
1312
1312
|
var DECISION_STOP_STATUSES = ["cancelled", "unavailable", "stopped", "missing"];
|
|
1313
1313
|
var isDecisionStoppedReply = (reply) => reply.handoffAction === STOP_HANDOFF_ACTION || typeof reply.status === "string" && DECISION_STOP_STATUSES.includes(reply.status);
|
|
1314
|
+
var isApprovingAnswer = (answer) => answer === APPROVE_ANSWER;
|
|
1314
1315
|
var isAwayPaused = (result) => result.paused === true;
|
|
1315
1316
|
var isLocalQuestionHandoff = (result) => !isAwayPaused(result) && (result.suppressed === true || result.noDevices === true || result.status === "terminal" || result.status === "notified");
|
|
1316
1317
|
var waitsForThePhone = (result) => result.answered !== true && !isAwayPaused(result) && !isLocalQuestionHandoff(result);
|
|
@@ -4914,9 +4915,9 @@ var GROK_BOT_CONNECTOR_TEST = `Use Pushary ask_user to ask \u201C${CONNECTOR_SET
|
|
|
4914
4915
|
var PARTNER_API_KEYS_URL = "https://pushary.com/dashboard/agent/settings";
|
|
4915
4916
|
var PARTNER_INSTALL_COMMAND = "npm i @pushary/server";
|
|
4916
4917
|
var PARTNER_DEVELOPER_STEPS = [
|
|
4917
|
-
`Install on our server: ${PARTNER_INSTALL_COMMAND}. Create the client with our Partner API key
|
|
4918
|
+
`Install on our server: ${PARTNER_INSTALL_COMMAND}. Create the client with our Partner API key, shown once in onboarding, and keep it on the server. Lost it? Create a new one at ${PARTNER_API_KEYS_URL}.`,
|
|
4918
4919
|
"For each customer, call pushary.enroll(customerId) and show the universalLink it returns as a button or QR code in our app. They open it in the free Pushary app and allow notifications. Installing the app does not carry the link over, so keep it available until they finish.",
|
|
4919
|
-
"Before a risky action, call pushary.
|
|
4920
|
+
"Before a risky action, call pushary.decisions.ask({ externalId: customerId, question }) and run the action only if approved is true.",
|
|
4920
4921
|
"If the answer can come later than the request, create a decision with pushary.decisions.create, save its id, and resume from pushary.decisions.get or the webhook."
|
|
4921
4922
|
];
|
|
4922
4923
|
|
|
@@ -13748,6 +13749,8 @@ export {
|
|
|
13748
13749
|
AGENT_QUESTION_HEADER_MAX,
|
|
13749
13750
|
AGENT_QUESTION_OPTION_MAX,
|
|
13750
13751
|
AGENT_QUESTION_DESCRIPTION_MAX,
|
|
13752
|
+
MIN_ASK_SELECT_OPTIONS,
|
|
13753
|
+
MAX_ASK_SELECT_OPTIONS,
|
|
13751
13754
|
fitsAPlainSelect,
|
|
13752
13755
|
parseAgentQuestions,
|
|
13753
13756
|
isTypedAnswerQuestion,
|
|
@@ -13815,6 +13818,7 @@ export {
|
|
|
13815
13818
|
AGENT_ENFORCEMENT,
|
|
13816
13819
|
STOP_HANDOFF_ACTION,
|
|
13817
13820
|
isDecisionStoppedReply,
|
|
13821
|
+
isApprovingAnswer,
|
|
13818
13822
|
isAwayPaused,
|
|
13819
13823
|
isLocalQuestionHandoff,
|
|
13820
13824
|
waitsForThePhone,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6RSP2BY4.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-U4P4NDVB.js";
|
|
17
17
|
import {
|
|
18
18
|
withoutNpmInstallConsent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QNMJJMZF.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-JDJKIBJ2.js");
|
|
543
|
+
var loadTheCardRouting = () => import("./codex-card-routing-QXVDJGWF.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-YN66WO7X.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]");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQSTVSDO.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YBTS5ZR3.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|