pushary 1.9.279 → 1.9.280
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/dist/{api-GT5M4FKX.js → api-WBSDPSHN.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 +25 -25
- 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 +16 -0
- package/dist/bin/pushary-doctor.js +48 -48
- 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 +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-TDU6OX63.js → chunk-2562EGWD.js} +46 -1
- package/dist/{chunk-KHXFT64S.js → chunk-2NNCVW26.js} +3 -3
- package/dist/{chunk-BKRM5JCV.js → chunk-2SMGO6SE.js} +1 -1
- package/dist/{chunk-WFGSDO3Q.js → chunk-2USACEVR.js} +5 -5
- package/dist/{chunk-UGTSMWCN.js → chunk-36CZVHOH.js} +1 -1
- package/dist/{chunk-3YJ4BI2T.js → chunk-3AKD2IMA.js} +6 -6
- package/dist/{chunk-W3DZXQ6H.js → chunk-3I6Z6YKA.js} +5 -5
- package/dist/{chunk-HZS36Z4H.js → chunk-4EJ6BFQ6.js} +3 -3
- package/dist/{chunk-GO6NAOSQ.js → chunk-5WZAL3IG.js} +4 -4
- package/dist/{chunk-RP5NRGOP.js → chunk-67D6KDPJ.js} +4 -4
- package/dist/{chunk-TKEPA46W.js → chunk-6CQ75CCI.js} +6 -6
- package/dist/{chunk-PRKOXAHO.js → chunk-6SJ3YYPS.js} +2 -2
- package/dist/{chunk-6PIULJUU.js → chunk-6TC6Y5FE.js} +5 -5
- package/dist/{chunk-7ESVVVE7.js → chunk-7CCJLPFF.js} +2 -2
- package/dist/{chunk-FIWU2MRL.js → chunk-7CIMT2QH.js} +1 -1
- package/dist/{chunk-OWCR6OXE.js → chunk-7FUEG6WT.js} +1 -1
- package/dist/{chunk-2FBFDIRR.js → chunk-7OV4MW6B.js} +2 -2
- package/dist/{chunk-CKUBAL4D.js → chunk-7WCBGOXC.js} +2 -2
- package/dist/{chunk-ATGHQEOT.js → chunk-AGBCUPRE.js} +5 -5
- package/dist/{chunk-43I73BOT.js → chunk-D35MHKUM.js} +2 -2
- package/dist/{chunk-PCVMJOVO.js → chunk-DEGZHZLH.js} +1 -1
- package/dist/{chunk-V5E6C4SV.js → chunk-DGIMLJ7N.js} +3 -3
- package/dist/{chunk-CE62LD4R.js → chunk-DI7VQ4PL.js} +1 -1
- package/dist/{chunk-3OH4BA2L.js → chunk-DLRZZHXC.js} +6 -6
- package/dist/{chunk-HWRIJEZP.js → chunk-DPTI6ZTZ.js} +2 -2
- package/dist/{chunk-6OU5NWTT.js → chunk-EC52MD7O.js} +5 -5
- package/dist/{chunk-WLTWTA7Y.js → chunk-EMB2EWLG.js} +5 -5
- package/dist/{chunk-SQI725GE.js → chunk-ENTFHIJ5.js} +1 -1
- package/dist/{chunk-3VLG23YI.js → chunk-FYGOACNH.js} +2 -2
- package/dist/{chunk-AIGMTA66.js → chunk-G6EN7DLG.js} +10 -10
- package/dist/{chunk-Q2AFOK5B.js → chunk-GBMURSB4.js} +7 -7
- package/dist/{chunk-OEILSIE3.js → chunk-GS6XPW45.js} +7 -7
- package/dist/{chunk-P6EVCLSJ.js → chunk-GYELGSCS.js} +4 -4
- package/dist/{chunk-TFUU6KAD.js → chunk-H5BATWAL.js} +3 -3
- package/dist/{chunk-M7OWPXMI.js → chunk-HE5SRKH3.js} +10 -10
- package/dist/{chunk-GTPZORP6.js → chunk-HJ25OOZL.js} +1 -1
- package/dist/{chunk-Y3AUJZL2.js → chunk-HPYVOBVO.js} +1 -1
- package/dist/{chunk-IC2YS3AL.js → chunk-I2OOSUJN.js} +1 -1
- package/dist/{chunk-HPBUJ5OT.js → chunk-I5RNSFXB.js} +4 -4
- package/dist/{chunk-INF7TIRX.js → chunk-IHF7J7ZN.js} +16 -16
- package/dist/{chunk-SRVTHK4B.js → chunk-IJOGKO3Z.js} +1 -1
- package/dist/{chunk-SFDR2DLM.js → chunk-JKMX5HMU.js} +1 -1
- package/dist/{chunk-YYMCUCIR.js → chunk-JP545GB4.js} +1 -1
- package/dist/{chunk-WZXN2CDL.js → chunk-JXVZO2TC.js} +2 -2
- package/dist/{chunk-ZXXBFL76.js → chunk-KKPI7MVG.js} +4 -4
- package/dist/{chunk-ITNXSCOH.js → chunk-KSHM2X7A.js} +2 -2
- package/dist/{chunk-JWFGRBH2.js → chunk-KV65OAIF.js} +1 -1
- package/dist/{chunk-YKNNBTHO.js → chunk-LE2GNKVF.js} +3 -0
- package/dist/{chunk-EGFRLDJB.js → chunk-LKL7VIWF.js} +3 -3
- package/dist/{chunk-S62CVNXC.js → chunk-M4B3D76U.js} +1 -1
- package/dist/{chunk-HAG3FFOR.js → chunk-MZPWMXPX.js} +1 -1
- package/dist/{chunk-SCVUFRYF.js → chunk-NL4NVNSD.js} +2 -2
- package/dist/{chunk-YDNG5HN2.js → chunk-NQCIACTR.js} +4 -4
- package/dist/{chunk-NZQAGASN.js → chunk-O6LVUSRY.js} +6 -6
- package/dist/{chunk-FXA52N7Y.js → chunk-ODSUVMII.js} +5 -5
- package/dist/{chunk-SR6NWRFS.js → chunk-OVUJLLPD.js} +47 -15
- package/dist/{chunk-TZVDJSWD.js → chunk-PATTVCJS.js} +2 -2
- package/dist/{chunk-M562C2RF.js → chunk-PUDKDFOZ.js} +1 -1
- package/dist/{chunk-A2A5RBRJ.js → chunk-Q5MYEDCP.js} +6 -6
- package/dist/{chunk-6K3F2AGC.js → chunk-QG742PJG.js} +1 -1
- package/dist/{chunk-JFOHPFUF.js → chunk-QGQA4VUR.js} +8 -8
- package/dist/{chunk-E46NKCRK.js → chunk-QXPI7LOZ.js} +3 -3
- package/dist/{chunk-WPN7VRG3.js → chunk-R5P25UN2.js} +5 -5
- package/dist/{chunk-DNJEB32G.js → chunk-RI6C7WBQ.js} +2 -2
- package/dist/{chunk-7ELAO3P7.js → chunk-SIZMK3SF.js} +1 -1
- package/dist/{chunk-ZMGEKGZO.js → chunk-T2JHF3E4.js} +7 -7
- package/dist/{chunk-3TRVAPX3.js → chunk-TCQ3SHEC.js} +6 -6
- package/dist/{chunk-ZGSKURAU.js → chunk-URYZAUMK.js} +4 -4
- package/dist/{chunk-JZTPNERT.js → chunk-USRBNJJX.js} +1 -1
- package/dist/{chunk-O6USMJ4U.js → chunk-VSF3OSWI.js} +1 -1
- package/dist/{chunk-PQ4RL4ZK.js → chunk-VY7Q5MEQ.js} +5 -5
- package/dist/{chunk-YA3MKWMP.js → chunk-VYMBV6M5.js} +3 -3
- package/dist/{chunk-6AV7BUHX.js → chunk-WF6QID2G.js} +12 -12
- package/dist/{chunk-WQXP4SM7.js → chunk-XKTBFWO2.js} +1 -1
- package/dist/{chunk-7N5LP2HN.js → chunk-XV54WWNB.js} +3 -3
- package/dist/{chunk-OS2RKMN3.js → chunk-YEQF4H76.js} +4 -4
- package/dist/{chunk-BGAQHTZM.js → chunk-YM3TSHT2.js} +1 -1
- package/dist/{chunk-PSV33ZBR.js → chunk-YQNGHX3P.js} +3 -3
- package/dist/{chunk-LEOOBAXK.js → chunk-Z3EV2HKF.js} +4 -4
- package/dist/{chunk-B5UEGN6X.js → chunk-Z7F7SITX.js} +4 -4
- package/dist/{chunk-UPKETGVO.js → chunk-ZL46IS5W.js} +1 -1
- package/dist/{chunk-EZZ3UZ3U.js → chunk-ZOADLPWB.js} +3 -3
- package/dist/{codex-app-cards-switch-42G2GEUY.js → codex-app-cards-switch-PNZGL4UT.js} +11 -11
- package/dist/{codex-card-routing-53HSDB65.js → codex-card-routing-ESKPXKXS.js} +2 -2
- package/dist/{codex-desktop-launch-DZDQXGS3.js → codex-desktop-launch-CGIHCZL6.js} +3 -3
- package/dist/{codex-session-launch-B23Y37D6.js → codex-session-launch-PXWW7EDP.js} +21 -21
- package/dist/{config-XH37DHCK.js → config-PFH6OQ6M.js} +3 -3
- package/dist/{global-upgrade-YODVEWJU.js → global-upgrade-UU3H3EFW.js} +9 -9
- package/dist/{identity-JO36DJEU.js → identity-JHCLWMLI.js} +4 -4
- package/dist/{live-capabilities-IOIA52MG.js → live-capabilities-3K6DM4A3.js} +4 -4
- package/dist/{paths-O6LYJ665.js → paths-TMTWXB5B.js} +3 -3
- package/dist/{reapply-CYCGQW2O.js → reapply-YLNXKKWT.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-ZSYUO5XC.js → upgrade-lock-NGYIAYBZ.js} +4 -4
- package/dist/{usage-7NJ6YNDB.js → usage-LGGUWLJM.js} +3 -3
- package/package.json +1 -1
|
@@ -7,30 +7,30 @@ import {
|
|
|
7
7
|
restorePhoneApprovals,
|
|
8
8
|
setAsidePhoneApprovalsOfOtherCalls,
|
|
9
9
|
takePhoneApproval
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FYGOACNH.js";
|
|
11
11
|
import {
|
|
12
12
|
defersToNativeMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IJOGKO3Z.js";
|
|
14
14
|
import {
|
|
15
15
|
reportMachineDenial
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I5RNSFXB.js";
|
|
17
17
|
import {
|
|
18
18
|
claudeSettingsLocationFor,
|
|
19
19
|
readClaudePermissionRules
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6SJ3YYPS.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HPYVOBVO.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EMB2EWLG.js";
|
|
29
29
|
import {
|
|
30
30
|
activeHookSource,
|
|
31
31
|
activeIdentity,
|
|
32
32
|
namedSource
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-Q5MYEDCP.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_SESSION,
|
|
36
36
|
allow,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
storedWaitDeadline,
|
|
72
72
|
sweepFilesOlderThan,
|
|
73
73
|
userScope
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-OVUJLLPD.js";
|
|
75
75
|
import {
|
|
76
76
|
UNNAMED_ACTION,
|
|
77
77
|
deriveAction,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
patchDeletesFiles,
|
|
83
83
|
permissionDeniedAction,
|
|
84
84
|
scopePathFor
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-2562EGWD.js";
|
|
86
86
|
import {
|
|
87
87
|
isDeferAnswer
|
|
88
88
|
} from "./chunk-Z25VDYAL.js";
|
|
@@ -99,30 +99,30 @@ import {
|
|
|
99
99
|
sendNotification,
|
|
100
100
|
waitForQuestion,
|
|
101
101
|
withdrawQuestion
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-T2JHF3E4.js";
|
|
103
103
|
import {
|
|
104
104
|
branchFor,
|
|
105
105
|
projectNameFor,
|
|
106
106
|
repoKeyFor,
|
|
107
107
|
repositoryScopeFor
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YM3TSHT2.js";
|
|
109
109
|
import {
|
|
110
110
|
getMachineId
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-I2OOSUJN.js";
|
|
112
112
|
import {
|
|
113
113
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-KSHM2X7A.js";
|
|
115
115
|
import {
|
|
116
116
|
getApiKey,
|
|
117
117
|
getBaseUrl,
|
|
118
118
|
isMalformedApiKeyError
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-D35MHKUM.js";
|
|
120
120
|
import {
|
|
121
121
|
writeFileAtomic
|
|
122
122
|
} from "./chunk-PM2NRK6Y.js";
|
|
123
123
|
import {
|
|
124
124
|
NPX_LATEST_COMMAND
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-USRBNJJX.js";
|
|
126
126
|
import {
|
|
127
127
|
AGENT_QUESTION_STRATEGY,
|
|
128
128
|
AGENT_QUESTION_TOOL,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
terminalStaysLiveForTheCall,
|
|
195
195
|
timeoutActionWithoutLocalPrompt,
|
|
196
196
|
unapprovedScopeReason
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-LE2GNKVF.js";
|
|
198
198
|
|
|
199
199
|
// src/terminal-answer-watch.ts
|
|
200
200
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VYMBV6M5.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KSHM2X7A.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-CXQWDQCJ.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LE2GNKVF.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LE2GNKVF.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -610,9 +610,9 @@ var installGlobally = (options) => {
|
|
|
610
610
|
}
|
|
611
611
|
const started = (async () => {
|
|
612
612
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
613
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
614
|
-
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
615
|
-
const { autoUpdateLock } = await import("./paths-
|
|
613
|
+
const { withUpgradeLock } = await import("./global-upgrade-UU3H3EFW.js");
|
|
614
|
+
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-NGYIAYBZ.js");
|
|
615
|
+
const { autoUpdateLock } = await import("./paths-TMTWXB5B.js");
|
|
616
616
|
const lockPath = options.lockPath ?? autoUpdateLock();
|
|
617
617
|
const lockFile = canonicalLockPath(lockPath);
|
|
618
618
|
const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KKPI7MVG.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-LE2GNKVF.js";
|
|
29
29
|
|
|
30
30
|
// src/setup/paths.ts
|
|
31
31
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -6138,6 +6138,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6138
6138
|
mac_sign_in_started: ["dashboard_server"],
|
|
6139
6139
|
marketing_setup_command_copied: ["dashboard_client"],
|
|
6140
6140
|
marketing_setup_link_handed_off: ["dashboard_client"],
|
|
6141
|
+
marketing_setup_prompt_copied: ["dashboard_client"],
|
|
6141
6142
|
mcp_oauth_refused: ["dashboard_server"],
|
|
6142
6143
|
memo_unlocked: ["dashboard_server"],
|
|
6143
6144
|
memo_view: ["dashboard_server", "dashboard_client"],
|
|
@@ -6173,6 +6174,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6173
6174
|
mobile_review_requested: ["phone"],
|
|
6174
6175
|
mobile_session_renewal_failed: ["phone"],
|
|
6175
6176
|
mobile_session_renewed: ["phone"],
|
|
6177
|
+
mobile_settings_snapshot: ["phone"],
|
|
6176
6178
|
mobile_sign_in_failed: ["phone"],
|
|
6177
6179
|
mobile_sign_in_second_factor_required: ["phone"],
|
|
6178
6180
|
mobile_sign_up_failed: ["phone"],
|
|
@@ -6233,6 +6235,7 @@ var POSTHOG_EVENT_CATALOGUE = {
|
|
|
6233
6235
|
sign_up_completed: [],
|
|
6234
6236
|
sign_up_field_error: ["dashboard_client"],
|
|
6235
6237
|
sign_up_started: [],
|
|
6238
|
+
signup_source_reported: ["dashboard_server"],
|
|
6236
6239
|
site_created: ["dashboard_client"],
|
|
6237
6240
|
stale_deployment_notice_raised: ["dashboard_client"],
|
|
6238
6241
|
stats_interest_vote: ["dashboard_client"],
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-3EGEA4KH.js";
|
|
10
10
|
import {
|
|
11
11
|
testTrafficHeaders
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T2JHF3E4.js";
|
|
13
13
|
import {
|
|
14
14
|
getBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D35MHKUM.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-LE2GNKVF.js";
|
|
27
27
|
|
|
28
28
|
// src/cli/login-ui.ts
|
|
29
29
|
import { hostname } from "os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KSHM2X7A.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KKPI7MVG.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3AKD2IMA.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XKTBFWO2.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D35MHKUM.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USRBNJJX.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7CCJLPFF.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3AKD2IMA.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QXPI7LOZ.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-D35MHKUM.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-USRBNJJX.js";
|
|
17
17
|
import {
|
|
18
18
|
AGENT_STOP_DEFAULT_SECONDS,
|
|
19
19
|
APPROVAL_MODE_META,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
classifyConfirmResponse,
|
|
22
22
|
isAnswerSource,
|
|
23
23
|
roundTripAsk
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LE2GNKVF.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DGIMLJ7N.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GBMURSB4.js";
|
|
7
7
|
import {
|
|
8
8
|
grokHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q5MYEDCP.js";
|
|
10
10
|
import {
|
|
11
11
|
nativeClaudeInstallPath
|
|
12
12
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KSHM2X7A.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LE2GNKVF.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
compactionAction,
|
|
10
10
|
deriveReceiptMeta,
|
|
11
11
|
deriveToolTarget,
|
|
12
|
-
describeStopFailure,
|
|
13
12
|
describeToolCall,
|
|
13
|
+
describeUsageLimitStop,
|
|
14
14
|
estimateMessageCostUsd,
|
|
15
15
|
isModelPrice,
|
|
16
16
|
isToolResultError,
|
|
@@ -20,16 +20,19 @@ import {
|
|
|
20
20
|
parseApplyPatchOps,
|
|
21
21
|
readTranscriptMessageUsage,
|
|
22
22
|
rememberTranscriptMessage,
|
|
23
|
+
resetNamesADate,
|
|
23
24
|
sessionEndAction,
|
|
24
25
|
sessionIdentityOf,
|
|
25
26
|
sessionStartAction,
|
|
27
|
+
stopFailureReason,
|
|
26
28
|
subagentStopSummary,
|
|
27
29
|
summarizeStop,
|
|
28
30
|
taskTitleFrom,
|
|
29
31
|
toolResultErrorText,
|
|
30
32
|
transcriptTokensIn,
|
|
31
|
-
transcriptUsageRequest
|
|
32
|
-
|
|
33
|
+
transcriptUsageRequest,
|
|
34
|
+
usageLimitStopOf
|
|
35
|
+
} from "./chunk-2562EGWD.js";
|
|
33
36
|
import {
|
|
34
37
|
isDeferAnswer
|
|
35
38
|
} from "./chunk-Z25VDYAL.js";
|
|
@@ -37,7 +40,7 @@ import {
|
|
|
37
40
|
RETRY_ACK,
|
|
38
41
|
readCommandAck,
|
|
39
42
|
refusedReceiptMessage
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-M4B3D76U.js";
|
|
41
44
|
import {
|
|
42
45
|
askUser,
|
|
43
46
|
cancelQuestionSettledAtComputer,
|
|
@@ -54,32 +57,32 @@ import {
|
|
|
54
57
|
waitForOpenQuestion,
|
|
55
58
|
waitForQuestion,
|
|
56
59
|
writeDegraded
|
|
57
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-T2JHF3E4.js";
|
|
58
61
|
import {
|
|
59
62
|
SubscriptionRequiredError,
|
|
60
63
|
isRetryable,
|
|
61
64
|
withRetry
|
|
62
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3AKD2IMA.js";
|
|
63
66
|
import {
|
|
64
67
|
fetchAsCredential
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-XKTBFWO2.js";
|
|
66
69
|
import {
|
|
67
70
|
branchFor,
|
|
68
71
|
projectNameFor,
|
|
69
72
|
repoKeyFor
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-YM3TSHT2.js";
|
|
71
74
|
import {
|
|
72
75
|
getMachineId
|
|
73
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-I2OOSUJN.js";
|
|
74
77
|
import {
|
|
75
78
|
reportedInstallSource
|
|
76
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-DPTI6ZTZ.js";
|
|
77
80
|
import {
|
|
78
81
|
IDLE_PROMPT_NOTIFICATION,
|
|
79
82
|
NOTIFICATION_PUSH_TYPES,
|
|
80
83
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
81
84
|
claudeConfigDir
|
|
82
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-KSHM2X7A.js";
|
|
83
86
|
import {
|
|
84
87
|
compareVersion,
|
|
85
88
|
parseVersion
|
|
@@ -88,14 +91,14 @@ import {
|
|
|
88
91
|
getApiKey,
|
|
89
92
|
getBaseUrl,
|
|
90
93
|
isMalformedApiKeyError
|
|
91
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-D35MHKUM.js";
|
|
92
95
|
import {
|
|
93
96
|
writeFileAtomic,
|
|
94
97
|
writeJsonAtomicDurable
|
|
95
98
|
} from "./chunk-PM2NRK6Y.js";
|
|
96
99
|
import {
|
|
97
100
|
NPX_LATEST_COMMAND
|
|
98
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-USRBNJJX.js";
|
|
99
102
|
import {
|
|
100
103
|
getPackageVersion,
|
|
101
104
|
isKnownReleaseVersion
|
|
@@ -161,7 +164,7 @@ import {
|
|
|
161
164
|
responseRejectsCredential,
|
|
162
165
|
unansweredRefusalReason,
|
|
163
166
|
waitsForThePhone
|
|
164
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-LE2GNKVF.js";
|
|
165
168
|
|
|
166
169
|
// src/pending.ts
|
|
167
170
|
import { join } from "path";
|
|
@@ -2523,7 +2526,7 @@ var handleStopFailure = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
2523
2526
|
return;
|
|
2524
2527
|
}
|
|
2525
2528
|
const projectName = projectNameFor(input.cwd);
|
|
2526
|
-
const reason =
|
|
2529
|
+
const reason = stopFailureReason(input);
|
|
2527
2530
|
await reportEvent({
|
|
2528
2531
|
event: "turn_error",
|
|
2529
2532
|
agentType: agent.type,
|
|
@@ -2541,6 +2544,11 @@ var handleStopFailure = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
2541
2544
|
if (cancelledTurnNeedsNoPush(input)) return;
|
|
2542
2545
|
const mode = await fetchModeState(apiKey, input.session_id, MODE_REUSE_MS, signal).catch(() => null);
|
|
2543
2546
|
if (mode?.kill || mode?.mode === "terminal_only") return;
|
|
2547
|
+
const usageLimit = usageLimitStopOf(input);
|
|
2548
|
+
if (usageLimit) {
|
|
2549
|
+
await sendUsageLimitNotice(apiKey, usageLimit, { agent, projectName, sessionId: input.session_id, signal });
|
|
2550
|
+
return;
|
|
2551
|
+
}
|
|
2544
2552
|
await sendNotification(apiKey, {
|
|
2545
2553
|
title: `${agent.label} stopped on an error`,
|
|
2546
2554
|
body: reason,
|
|
@@ -2552,6 +2560,30 @@ var handleStopFailure = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
2552
2560
|
} catch {
|
|
2553
2561
|
}
|
|
2554
2562
|
};
|
|
2563
|
+
var HOUR_MS = 60 * 60 * 1e3;
|
|
2564
|
+
var DATED_RESET_NOTICE_HOLD_MS = 8 * 24 * HOUR_MS;
|
|
2565
|
+
var FIVE_HOUR_RESET_NOTICE_HOLD_MS = 5 * HOUR_MS;
|
|
2566
|
+
var UNDATED_RESET_NOTICE_HOLD_MS = 24 * HOUR_MS;
|
|
2567
|
+
var usageLimitNoticeHoldMs = (stop) => {
|
|
2568
|
+
if (resetNamesADate(stop)) return DATED_RESET_NOTICE_HOLD_MS;
|
|
2569
|
+
return stop.window === "five_hour" ? FIVE_HOUR_RESET_NOTICE_HOLD_MS : UNDATED_RESET_NOTICE_HOLD_MS;
|
|
2570
|
+
};
|
|
2571
|
+
var usageLimitNoticeKey = (sessionId, stop) => `usage-limit:${sessionId ?? "no-session"}:${stop.limitName}:${stop.resetsAt ?? "no-reset"}`;
|
|
2572
|
+
var usageLimitNoticeTitle = (agent, stop) => `${agent.label} stopped at your ${stop.limitName}`;
|
|
2573
|
+
var usageLimitNoticeBody = (stop) => stop.resetsAt ? `It resets ${stop.resetsAt}. Send a message after that to continue.` : "Open Claude Code on your computer to see how to continue.";
|
|
2574
|
+
var sendUsageLimitNotice = async (apiKey, stop, target) => {
|
|
2575
|
+
const key = usageLimitNoticeKey(target.sessionId, stop);
|
|
2576
|
+
if (claimThrottle(key, usageLimitNoticeHoldMs(stop)) === "throttled") return;
|
|
2577
|
+
const title = usageLimitNoticeTitle(target.agent, stop);
|
|
2578
|
+
const body = usageLimitNoticeBody(stop);
|
|
2579
|
+
await sendNotification(apiKey, {
|
|
2580
|
+
title,
|
|
2581
|
+
body,
|
|
2582
|
+
agentName: `${target.agent.label} - ${target.projectName}`,
|
|
2583
|
+
sessionId: target.sessionId,
|
|
2584
|
+
context: { type: "error", errorMessage: describeUsageLimitStop(stop), nextSteps: body }
|
|
2585
|
+
}, 4e3, target.signal).catch(() => releaseThrottle(key));
|
|
2586
|
+
};
|
|
2555
2587
|
|
|
2556
2588
|
export {
|
|
2557
2589
|
DEFAULT_SESSION,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DPTI6ZTZ.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-USRBNJJX.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseConfigDocument
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HJ25OOZL.js";
|
|
4
4
|
import {
|
|
5
5
|
addGeminiMcpServer,
|
|
6
6
|
removeGeminiMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YEQF4H76.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_CODE_AGENT
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OVUJLLPD.js";
|
|
11
11
|
import {
|
|
12
12
|
compatibleToolLookup
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2562EGWD.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-KSHM2X7A.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-LE2GNKVF.js";
|
|
40
40
|
|
|
41
41
|
// src/compatible-config.ts
|
|
42
42
|
import { homedir } from "os";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
OPENCODE_PLUGIN_PLACEHOLDER,
|
|
7
7
|
OPENCODE_PLUGIN_SIBLING,
|
|
8
8
|
OPENCODE_PLUGIN_SIBLING_CONTENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZL46IS5W.js";
|
|
10
10
|
|
|
11
11
|
// src/opencode-runtime-bundle.ts
|
|
12
12
|
var openCodeRuntimeSource = `import { spawn } from 'child_process';
|
|
@@ -6,37 +6,37 @@ import {
|
|
|
6
6
|
postLiveSession,
|
|
7
7
|
postLiveSessionUntilAccepted,
|
|
8
8
|
startLiveSessionHeartbeat
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JKMX5HMU.js";
|
|
10
10
|
import {
|
|
11
11
|
CommandReceipts,
|
|
12
12
|
controllerCommandSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DEGZHZLH.js";
|
|
14
14
|
import {
|
|
15
15
|
SESSION_IDLE_TIMEOUT_MS,
|
|
16
16
|
describeIdleWindow,
|
|
17
17
|
idleDeadlinePassed,
|
|
18
18
|
startProcessOwnership
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RI6C7WBQ.js";
|
|
20
20
|
import {
|
|
21
21
|
spawnClaude
|
|
22
22
|
} from "./chunk-3PSNUHC5.js";
|
|
23
23
|
import {
|
|
24
24
|
readCommandAck
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-M4B3D76U.js";
|
|
26
26
|
import {
|
|
27
27
|
isDecisionStopped,
|
|
28
28
|
isWaitForAnswerResponse,
|
|
29
29
|
withdrawQuestion,
|
|
30
30
|
writeDegraded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-T2JHF3E4.js";
|
|
32
32
|
import {
|
|
33
33
|
callMcpTool,
|
|
34
34
|
isRetryable
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3AKD2IMA.js";
|
|
36
36
|
import {
|
|
37
37
|
projectNameFor,
|
|
38
38
|
repositoryScopeFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YM3TSHT2.js";
|
|
40
40
|
import {
|
|
41
41
|
AGENT_QUESTION_DESCRIPTION_MAX,
|
|
42
42
|
AGENT_QUESTION_HEADER_MAX,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
parseCodexQuestions,
|
|
59
59
|
planElicitationAsk,
|
|
60
60
|
readElicitationFields
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LE2GNKVF.js";
|
|
62
62
|
|
|
63
63
|
// src/codex-question-owner.ts
|
|
64
64
|
import { createHash } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YQNGHX3P.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D35MHKUM.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-LE2GNKVF.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;
|