pushary 1.9.175 → 1.9.176
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-MMBCOOHP.js → api-HKDF4HUI.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +27 -27
- package/dist/bin/pushary-clean.js +38 -38
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +36 -36
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +34 -34
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +45 -45
- package/dist/bin/pushary-disconnect.js +29 -29
- package/dist/bin/pushary-display-hook.js +4 -1
- package/dist/bin/pushary-doctor.js +46 -46
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +29 -29
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- 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 +38 -38
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +54 -54
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +35 -35
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +43 -43
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-A3DLOQJ7.js → chunk-22YIXSYO.js} +1 -1
- package/dist/{chunk-X4RHTBTI.js → chunk-2QAYI67U.js} +5 -5
- package/dist/{chunk-WXVCXQKB.js → chunk-32B47XDJ.js} +6 -6
- package/dist/{chunk-AN7252SG.js → chunk-33LHUEVR.js} +2 -2
- package/dist/{chunk-WC3JA2Q3.js → chunk-35G4EP75.js} +2 -2
- package/dist/{chunk-MFNSTUPF.js → chunk-37MNIPTT.js} +4 -4
- package/dist/{chunk-H75BEIQN.js → chunk-3G5MYQAW.js} +1 -1
- package/dist/{chunk-PWIHCKC2.js → chunk-3YRDILR5.js} +5 -5
- package/dist/{chunk-WWBOST2M.js → chunk-3ZYXWHVC.js} +2 -2
- package/dist/{chunk-YPGLRH6E.js → chunk-4632OXAT.js} +2 -2
- package/dist/{chunk-CZG2AXJD.js → chunk-47CLYXO4.js} +1 -1
- package/dist/{chunk-UEKEMOE7.js → chunk-4CGAP5FK.js} +2 -2
- package/dist/{chunk-3TGLZAON.js → chunk-4HBW4LQA.js} +1 -1
- package/dist/{chunk-6RAM3F5N.js → chunk-4KDNWZY5.js} +8 -7
- package/dist/{chunk-RIH62UGR.js → chunk-4XXSXD6V.js} +3 -3
- package/dist/{chunk-GT4GUCCK.js → chunk-5IMANOES.js} +6 -6
- package/dist/{chunk-GHTQ7IAZ.js → chunk-5YCBMSQ5.js} +5 -5
- package/dist/{chunk-CZQGXJQY.js → chunk-62QSMUXP.js} +2 -2
- package/dist/{chunk-3O42YMMA.js → chunk-7BS6GDNH.js} +4 -4
- package/dist/{chunk-5RAMEVL5.js → chunk-AARWOJLD.js} +1 -1
- package/dist/{chunk-VRY3F35M.js → chunk-AFN7QVA3.js} +7 -7
- package/dist/{chunk-37EEYMUJ.js → chunk-AWTLZVZY.js} +5 -5
- package/dist/{chunk-3FMW4G3B.js → chunk-BTURZF5T.js} +2 -2
- package/dist/{chunk-G74JB53L.js → chunk-DTVZOI3P.js} +4 -4
- package/dist/{chunk-DOVLWIA4.js → chunk-E2BTTHFS.js} +2 -2
- package/dist/{chunk-RDCP7PVJ.js → chunk-E3Q4PPT2.js} +4 -4
- package/dist/{chunk-D3U46VX5.js → chunk-EORZZO65.js} +1 -1
- package/dist/{chunk-S7AT7T7H.js → chunk-EP52XR6V.js} +4 -4
- package/dist/{chunk-HQS7MUTB.js → chunk-FCP5RKB5.js} +4 -4
- package/dist/{chunk-3F4UI7DP.js → chunk-FNIWB2SF.js} +4 -4
- package/dist/{chunk-B7S5NLZB.js → chunk-FX7OHXSS.js} +5 -5
- package/dist/{chunk-77FE2JQB.js → chunk-GMJT73OD.js} +5 -5
- package/dist/{chunk-ACWLYAEM.js → chunk-GTZAV2C5.js} +1 -1
- package/dist/{chunk-TVJ4A32Y.js → chunk-HP3CGRSN.js} +9 -9
- package/dist/{chunk-I2TMZ2VO.js → chunk-IE6AT2WY.js} +10 -10
- package/dist/{chunk-OQVTK7HS.js → chunk-JLDZKC7C.js} +1 -1
- package/dist/{chunk-6YR7VLHE.js → chunk-JPAG6LFV.js} +8 -8
- package/dist/{chunk-GC75JZFG.js → chunk-K67ODHSQ.js} +1 -1
- package/dist/{chunk-5DEG6XEK.js → chunk-KALND7MK.js} +1 -1
- package/dist/{chunk-F66QGIJR.js → chunk-KLNNWG4Q.js} +3 -3
- package/dist/{chunk-NGXZD5B2.js → chunk-LCRF7HAY.js} +3 -3
- package/dist/{chunk-TDZRZNXX.js → chunk-LE3K3ATT.js} +3 -3
- package/dist/{chunk-537VC73A.js → chunk-LMHNRNXY.js} +6 -6
- package/dist/{chunk-2RILXRZ5.js → chunk-LQMJJPUZ.js} +6 -6
- package/dist/{chunk-OZBNNBZG.js → chunk-MMQPOOEO.js} +2 -2
- package/dist/{chunk-GVMPWNPA.js → chunk-MP6ZJBDX.js} +4 -4
- package/dist/{chunk-PYNRQFXB.js → chunk-MPDJBJMJ.js} +1 -1
- package/dist/{chunk-KZ7FPLTR.js → chunk-MPVNNWB7.js} +1 -1
- package/dist/{chunk-6TJ463K6.js → chunk-N2IXM43C.js} +6 -6
- package/dist/{chunk-GMNBIURN.js → chunk-N6DXMU4B.js} +3 -3
- package/dist/{chunk-NIYGTZZ4.js → chunk-NGR6Z3XV.js} +3 -3
- package/dist/{chunk-YHXH4SDN.js → chunk-NQ5OIMQM.js} +11 -11
- package/dist/{chunk-YAP7HQNG.js → chunk-NTM53JUG.js} +1 -1
- package/dist/{chunk-LYC7OGLM.js → chunk-O7RSKV2Z.js} +1 -1
- package/dist/{chunk-3HVCLYEA.js → chunk-OIPN6XBI.js} +1 -1
- package/dist/{chunk-UNKYMIVH.js → chunk-OIVFH66C.js} +3 -3
- package/dist/{chunk-HB2EJOEM.js → chunk-OS47GTXC.js} +2 -2
- package/dist/{chunk-QDF4VGHL.js → chunk-P3CSTJ4U.js} +1 -1
- package/dist/{chunk-6L5Q4I4V.js → chunk-PI3EX3VU.js} +1 -1
- package/dist/{chunk-RHOZMBEL.js → chunk-PI7Y4RP5.js} +1 -1
- package/dist/{chunk-YJWMKS4K.js → chunk-PXYVGBX5.js} +2 -2
- package/dist/{chunk-TKGSV72S.js → chunk-Q2U2JJKN.js} +82 -31
- package/dist/{chunk-EH7M4CXB.js → chunk-QJ5CHRK7.js} +6 -6
- package/dist/{chunk-P35JKWDS.js → chunk-QKBGPBTG.js} +2 -2
- package/dist/{chunk-EMRFCGWI.js → chunk-REJKLD33.js} +4 -4
- package/dist/{chunk-YH6DJA7F.js → chunk-RXWTLPC2.js} +1 -1
- package/dist/{chunk-EG23IMEU.js → chunk-SFJTCSBC.js} +3 -3
- package/dist/{chunk-UJKHGU7E.js → chunk-SGYE4TSV.js} +1 -1
- package/dist/{chunk-24W735XB.js → chunk-ST7NYREC.js} +2 -2
- package/dist/{chunk-VWKCVBDJ.js → chunk-SZTB7X2F.js} +12 -12
- package/dist/{chunk-P5AJZMHG.js → chunk-TD77E4IG.js} +5 -5
- package/dist/{chunk-DJHPBM5S.js → chunk-UTBF532I.js} +3 -0
- package/dist/{chunk-PBPF46MM.js → chunk-UYATTR34.js} +4 -4
- package/dist/{chunk-RX64LJJQ.js → chunk-W7GT3CQ2.js} +3 -3
- package/dist/{chunk-N4AVMDS3.js → chunk-XUHE6XZC.js} +1 -1
- package/dist/{chunk-Y5IBOWHQ.js → chunk-YJ2SYX6E.js} +1 -1
- package/dist/{chunk-SFXASSHE.js → chunk-YKOQ432L.js} +3 -3
- package/dist/{chunk-NW4M5WK6.js → chunk-YYI6OSY7.js} +2 -2
- package/dist/{chunk-F7JATJWH.js → chunk-YYTWOEVU.js} +4 -4
- package/dist/{chunk-HLDDLBXI.js → chunk-ZF5OOZYY.js} +5 -5
- package/dist/{codex-app-cards-switch-2KIZJC4H.js → codex-app-cards-switch-R3AQ7GCL.js} +11 -11
- package/dist/{codex-card-routing-WWPQAJ4X.js → codex-card-routing-MINRBWOA.js} +2 -2
- package/dist/{codex-desktop-launch-H325FPFI.js → codex-desktop-launch-IM7LRNWD.js} +1 -1
- package/dist/{codex-session-launch-IRN5OGXZ.js → codex-session-launch-5LVPMCPB.js} +20 -20
- package/dist/{config-IDRTM5J7.js → config-JZAIUJYX.js} +3 -3
- package/dist/{global-upgrade-DX4ZXLZ5.js → global-upgrade-N6W3SRLW.js} +9 -9
- package/dist/{identity-FZSHIS7P.js → identity-5DYBKLN4.js} +4 -4
- package/dist/{live-capabilities-2DIRQWGQ.js → live-capabilities-3MCCEAF5.js} +4 -4
- package/dist/{paths-BQORCROG.js → paths-HDL3JGPR.js} +3 -3
- package/dist/{reapply-7SA3FKAJ.js → reapply-WOVIOPFX.js} +31 -31
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-TKFFUNHB.js → upgrade-lock-AIEM2X72.js} +4 -4
- package/dist/{usage-XHC7EO7E.js → usage-5RBIRZ6S.js} +3 -3
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-55L4JSPA.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JLDZKC7C.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O7RSKV2Z.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-UTBF532I.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCRF7HAY.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YJ2SYX6E.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OIVFH66C.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RXWTLPC2.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LCRF7HAY.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E2BTTHFS.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4632OXAT.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MPDJBJMJ.js";
|
|
13
13
|
import {
|
|
14
14
|
askAgentQuestions,
|
|
15
15
|
outcomeOfFailedAsk,
|
|
16
16
|
storedWaitDeadline
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4KDNWZY5.js";
|
|
18
18
|
import {
|
|
19
19
|
reportMachineDenial
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7BS6GDNH.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NTM53JUG.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZF5OOZYY.js";
|
|
29
29
|
import {
|
|
30
30
|
isDeferAnswer,
|
|
31
31
|
oncePerSession
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PI7Y4RP5.js";
|
|
33
33
|
import {
|
|
34
34
|
activeHookSource,
|
|
35
35
|
activeIdentity,
|
|
36
36
|
namedSource
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AWTLZVZY.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_SESSION,
|
|
40
40
|
approvalAwaitingRetry,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
settleQuestionsForToolUse,
|
|
58
58
|
sweepFilesOlderThan,
|
|
59
59
|
userScope
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SZTB7X2F.js";
|
|
61
61
|
import {
|
|
62
62
|
UNNAMED_ACTION,
|
|
63
63
|
deriveAction,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
patchDeletesFiles,
|
|
69
69
|
permissionDeniedAction,
|
|
70
70
|
scopePathFor
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EORZZO65.js";
|
|
72
72
|
import {
|
|
73
73
|
askUser,
|
|
74
74
|
cancelQuestion,
|
|
@@ -85,29 +85,29 @@ import {
|
|
|
85
85
|
waitForQuestion,
|
|
86
86
|
waitsForThePhone,
|
|
87
87
|
withdrawQuestion
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-QJ5CHRK7.js";
|
|
89
89
|
import {
|
|
90
90
|
branchFor,
|
|
91
91
|
projectNameFor,
|
|
92
92
|
repoKeyFor,
|
|
93
93
|
repositoryScopeFor
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-RXWTLPC2.js";
|
|
95
95
|
import {
|
|
96
96
|
getMachineId
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KALND7MK.js";
|
|
98
98
|
import {
|
|
99
99
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-3ZYXWHVC.js";
|
|
101
101
|
import {
|
|
102
102
|
getApiKey,
|
|
103
103
|
getBaseUrl
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-O7RSKV2Z.js";
|
|
105
105
|
import {
|
|
106
106
|
writeFileAtomic
|
|
107
107
|
} from "./chunk-PM2NRK6Y.js";
|
|
108
108
|
import {
|
|
109
109
|
NPX_LATEST_COMMAND
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-YJ2SYX6E.js";
|
|
111
111
|
import {
|
|
112
112
|
AGENT_QUESTION_STRATEGY,
|
|
113
113
|
AGENT_QUESTION_TOOL,
|
|
@@ -142,6 +142,7 @@ import {
|
|
|
142
142
|
claudePreToolUseOutput,
|
|
143
143
|
claudePromptTakesTheCall,
|
|
144
144
|
claudeQuestionAnswers,
|
|
145
|
+
claudeQuestionAskedInBothPlaces,
|
|
145
146
|
claudeStoppedPermissionRequestOutput,
|
|
146
147
|
claudeStoppedPreToolUseOutput,
|
|
147
148
|
denyReasonFrom,
|
|
@@ -180,7 +181,7 @@ import {
|
|
|
180
181
|
timeoutActionWithoutLocalPrompt,
|
|
181
182
|
unansweredRefusalReason,
|
|
182
183
|
unapprovedScopeReason
|
|
183
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-UTBF532I.js";
|
|
184
185
|
|
|
185
186
|
// src/terminal-answer-watch.ts
|
|
186
187
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -207,9 +208,11 @@ var messageParts = (line) => {
|
|
|
207
208
|
};
|
|
208
209
|
var isToolUse = (part) => part.type === "tool_use" && typeof part.id === "string" && typeof part.name === "string";
|
|
209
210
|
var isToolResultFor = (toolUseId) => (part) => part.type === "tool_result" && part.tool_use_id === toolUseId;
|
|
211
|
+
var questionsAskedBy = (toolName, toolInput) => toolName === AGENT_QUESTION_TOOL && isRecord(toolInput) ? parseAgentQuestions(toolInput) : void 0;
|
|
212
|
+
var identifyingInputOf = (toolName, toolInput) => questionsAskedBy(toolName, toolInput) ?? toolInput ?? {};
|
|
210
213
|
var matchingToolUseIds = (lines, call) => {
|
|
211
|
-
const wanted = stableJson(call.toolInput);
|
|
212
|
-
return lines.flatMap(messageParts).filter(isToolUse).filter((part) => part.name === call.toolName && stableJson(part.input
|
|
214
|
+
const wanted = stableJson(identifyingInputOf(call.toolName, call.toolInput));
|
|
215
|
+
return lines.flatMap(messageParts).filter(isToolUse).filter((part) => part.name === call.toolName && stableJson(identifyingInputOf(part.name, part.input)) === wanted).map((part) => part.id);
|
|
213
216
|
};
|
|
214
217
|
var toolUseIdOf = (lines, call) => matchingToolUseIds(lines, call).at(-1);
|
|
215
218
|
var toolResultArrived = (lines, toolUseId) => lines.some((line) => messageParts(line).some(isToolResultFor(toolUseId)));
|
|
@@ -693,20 +696,22 @@ var terminalLiveFactsOf = (input) => ({
|
|
|
693
696
|
toolName: input.tool_name
|
|
694
697
|
});
|
|
695
698
|
var preToolUseHandsOff = (input, gateInput, verdict) => claudePromptTakesTheCall(terminalLiveFactsOf(input), gateInput, verdict);
|
|
696
|
-
var
|
|
697
|
-
if (questionHandedToTheTerminal(input.tool_name, modeState)) return void 0;
|
|
698
|
-
const questions = parseAgentQuestions(input.tool_input ?? {});
|
|
699
|
-
if (!questions) return void 0;
|
|
699
|
+
var claudeQuestionAskOf = (input) => {
|
|
700
700
|
const projectName = projectNameFor(input.cwd);
|
|
701
|
-
|
|
702
|
-
const outcome = await askAgentQuestions(apiKey, {
|
|
701
|
+
return {
|
|
703
702
|
toolName: AGENT_QUESTION_TOOL,
|
|
704
703
|
agentName: agentNameIn(projectName),
|
|
705
704
|
projectName,
|
|
706
705
|
sessionId: input.session_id,
|
|
707
|
-
toolUseId: input.tool_use_id
|
|
708
|
-
|
|
709
|
-
|
|
706
|
+
toolUseId: input.tool_use_id
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
var claudeQuestionDeadline = () => hookWaitDeadline(START_MS, effectiveWaitSeconds("wait", 0, "claude"), "claude", Date.now());
|
|
710
|
+
var handleAskUserQuestion = async (apiKey, input, modeState) => {
|
|
711
|
+
if (questionHandedToTheTerminal(input.tool_name, modeState)) return void 0;
|
|
712
|
+
const questions = parseAgentQuestions(input.tool_input ?? {});
|
|
713
|
+
if (!questions) return void 0;
|
|
714
|
+
const outcome = await askAgentQuestions(apiKey, { ...claudeQuestionAskOf(input), deadline: claudeQuestionDeadline() }, questions);
|
|
710
715
|
switch (outcome.kind) {
|
|
711
716
|
case "answered":
|
|
712
717
|
return allowWithInput({ ...input.tool_input ?? {}, answers: claudeQuestionAnswers(questions, outcome.answers) });
|
|
@@ -946,6 +951,7 @@ var decidePreToolUse = async (input, canonical) => {
|
|
|
946
951
|
if (verdict.kind === "gate" && verdict.scopeReason && (canonical?.toolInputs.length ?? 0) > 1) return settledAs("denied", deny(SCOPE_BATCH_REASON));
|
|
947
952
|
if (agentQuestionStrategy(ACTIVE_SOURCE, "PreToolUse", input.tool_name) === AGENT_QUESTION_STRATEGY.native) return settledAs("terminal_only", void 0);
|
|
948
953
|
if (input.tool_name === "AskUserQuestion") {
|
|
954
|
+
if (claudeQuestionAskedInBothPlaces(terminalLiveFactsOf(input))) return settledAs("terminal_only", void 0);
|
|
949
955
|
return settledAs("asked", await handleAskUserQuestion(apiKey, input, modeState));
|
|
950
956
|
}
|
|
951
957
|
if (isApprovedOnlyAtPermissionRequest(ACTIVE_SOURCE, input.tool_name)) return settledAs("native_mode", void 0);
|
|
@@ -1024,10 +1030,54 @@ var answerThePlanBesideTheDialog = async (apiKey, input) => {
|
|
|
1024
1030
|
}
|
|
1025
1031
|
return permissionRequestPlanOutput(first, toolInput);
|
|
1026
1032
|
};
|
|
1033
|
+
var questionDeadlineBesideTheDialog = (holdBudgetSeconds) => holdBudgetSeconds === void 0 ? claudeQuestionDeadline() : Math.min(claudeQuestionDeadline(), START_MS + hookHoldWindowMs("claude", holdBudgetSeconds));
|
|
1034
|
+
var dialogAnswerFromThePhone = (input, questions, outcome) => outcome.kind === "answered" ? permReqAllow({ ...input.tool_input ?? {}, answers: claudeQuestionAnswers(questions, outcome.answers) }) : void 0;
|
|
1035
|
+
var DIALOG_CLOSING_SIGNALS = ["SIGTERM", "SIGHUP", "SIGINT"];
|
|
1036
|
+
var DIALOG_CLOSE_WITHDRAWAL_BACKSTOP_MS = 3e3;
|
|
1037
|
+
var withdrawWhenTheDialogCloses = (apiKey, stop, openPhoneQuestion) => {
|
|
1038
|
+
const onClose = () => {
|
|
1039
|
+
stop.abort();
|
|
1040
|
+
setTimeout(() => process.exit(0), DIALOG_CLOSE_WITHDRAWAL_BACKSTOP_MS).unref();
|
|
1041
|
+
void openPhoneQuestion().then((open) => open === void 0 ? void 0 : withdrawQuestion(apiKey, open)).catch(() => void 0).finally(() => process.exit(0));
|
|
1042
|
+
};
|
|
1043
|
+
for (const signal of DIALOG_CLOSING_SIGNALS) process.once(signal, onClose);
|
|
1044
|
+
return () => {
|
|
1045
|
+
for (const signal of DIALOG_CLOSING_SIGNALS) process.off(signal, onClose);
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
var askClaudeQuestionBesideTheDialog = async (apiKey, input, modeState, holdBudgetSeconds) => {
|
|
1049
|
+
if (questionHandedToTheTerminal(input.tool_name, modeState)) return void 0;
|
|
1050
|
+
const questions = parseAgentQuestions(input.tool_input ?? {});
|
|
1051
|
+
if (!questions) return void 0;
|
|
1052
|
+
const stop = new AbortController();
|
|
1053
|
+
const asked = [];
|
|
1054
|
+
const terminal = terminalAnswered(input, stop.signal);
|
|
1055
|
+
const phone = askAgentQuestions(apiKey, {
|
|
1056
|
+
...claudeQuestionAskOf(input),
|
|
1057
|
+
deadline: questionDeadlineBesideTheDialog(holdBudgetSeconds),
|
|
1058
|
+
signal: stop.signal,
|
|
1059
|
+
onQuestionCreated: (correlationId) => {
|
|
1060
|
+
asked.push(correlationId);
|
|
1061
|
+
}
|
|
1062
|
+
}, questions);
|
|
1063
|
+
const stopWatchingTheDialog = withdrawWhenTheDialogCloses(apiKey, stop, () => phone.then(() => asked.at(-1), () => asked.at(-1)));
|
|
1064
|
+
try {
|
|
1065
|
+
const first = await Promise.race([phone, terminal]).finally(() => stop.abort());
|
|
1066
|
+
if (first !== TERMINAL_ANSWERED) return dialogAnswerFromThePhone(input, questions, first);
|
|
1067
|
+
await phone;
|
|
1068
|
+
const openOnThePhone = asked.at(-1);
|
|
1069
|
+
if (openOnThePhone !== void 0) await withdrawQuestion(apiKey, openOnThePhone);
|
|
1070
|
+
return void 0;
|
|
1071
|
+
} finally {
|
|
1072
|
+
stopWatchingTheDialog();
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1027
1075
|
var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
|
|
1028
1076
|
if (isPusharyOwnOrConnectorTool(input.tool_name)) return permReqAllow();
|
|
1029
1077
|
const claudeRules = claudePermissionRulesFor(input);
|
|
1030
|
-
|
|
1078
|
+
const callFacts = terminalLiveFactsOf(input);
|
|
1079
|
+
const questionBesideTheDialog = claudeQuestionAskedInBothPlaces(callFacts);
|
|
1080
|
+
if (canonical === void 0 && !claudeRulesMayCover(input, claudeRules) && isPermissionRequestOwnedByPreToolUse(ACTIVE_SOURCE, input.tool_name, input.permission_mode, shouldDeferToNativeMode) && !terminalStaysLiveForTheCall(callFacts) && !questionBesideTheDialog) return void 0;
|
|
1031
1081
|
let apiKey;
|
|
1032
1082
|
try {
|
|
1033
1083
|
apiKey = getApiKey();
|
|
@@ -1048,6 +1098,7 @@ var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
|
|
|
1048
1098
|
return permReqDeny(verdict.reason);
|
|
1049
1099
|
}
|
|
1050
1100
|
if (canonical === null) return permReqDeny(UNREADABLE_CALL_REASON);
|
|
1101
|
+
if (questionBesideTheDialog) return await askClaudeQuestionBesideTheDialog(apiKey, input, modeState, holdBudgetSeconds);
|
|
1051
1102
|
if (isMcpCallInClaudeCode(input) && claimMcpHoldHandback(blockedActionFingerprintFor(input))) return void 0;
|
|
1052
1103
|
if (agentQuestionStrategy(ACTIVE_SOURCE, "PermissionRequest", input.tool_name) === AGENT_QUESTION_STRATEGY.native) return void 0;
|
|
1053
1104
|
if (isApprovedOnlyAtPermissionRequest(ACTIVE_SOURCE, input.tool_name)) return await answerThePlanBesideTheDialog(apiKey, input);
|
|
@@ -1055,7 +1106,7 @@ var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
|
|
|
1055
1106
|
const approvedCall = PHONE_APPROVAL_SOURCE ? takePhoneApproval(PHONE_APPROVAL_SOURCE, input) : void 0;
|
|
1056
1107
|
const preToolUseAllowLeftThePrompt = PHONE_APPROVAL_SOURCE !== null && (verdict.kind === "allow" || approvedCall !== void 0);
|
|
1057
1108
|
const handedOff = preToolUseHandsOff(input, gateInput, verdict);
|
|
1058
|
-
const terminalLive = terminalStaysLiveForTheCall(
|
|
1109
|
+
const terminalLive = terminalStaysLiveForTheCall(callFacts);
|
|
1059
1110
|
const scopeQuestion = verdict.kind === "gate" && Boolean(verdict.scopeReason);
|
|
1060
1111
|
const preToolUseRanForTheCall = PRETOOLUSE_HANDLED_TOOLS.has(input.tool_name) && isAdmitted(readAdmissionRules(), "claude", "PreToolUse");
|
|
1061
1112
|
const preToolUseAskedTheScopeQuestion = scopeQuestion && terminalLive && preToolUseRanForTheCall;
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
SubscriptionRequiredError,
|
|
9
9
|
callMcpTool,
|
|
10
10
|
isRetryable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5YCBMSQ5.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchAsCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JLDZKC7C.js";
|
|
15
15
|
import {
|
|
16
16
|
installNetworkDefaults,
|
|
17
17
|
isNetworkFailure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4XXSXD6V.js";
|
|
19
19
|
import {
|
|
20
20
|
clientReportClaims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3ZYXWHVC.js";
|
|
22
22
|
import {
|
|
23
23
|
getApiKey,
|
|
24
24
|
getBaseUrl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-O7RSKV2Z.js";
|
|
26
26
|
import {
|
|
27
27
|
ASK_AGENT_NAME_MAX,
|
|
28
28
|
CLIENT_REPORT_PATH,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
degradedLine,
|
|
33
33
|
isDecisionStoppedReply,
|
|
34
34
|
truncateLine
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UTBF532I.js";
|
|
36
36
|
|
|
37
37
|
// src/api.ts
|
|
38
38
|
import { randomUUID } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3ZYXWHVC.js";
|
|
7
7
|
import {
|
|
8
8
|
readJsonSafe,
|
|
9
9
|
writeJsonAtomic
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-UQTQ6HPO.js";
|
|
18
18
|
import {
|
|
19
19
|
isAutoUpdateResult
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UTBF532I.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UNNAMED_ACTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EORZZO65.js";
|
|
4
4
|
import {
|
|
5
5
|
askUser,
|
|
6
6
|
isAwayPaused,
|
|
7
7
|
isLocalQuestionHandoff,
|
|
8
8
|
unavailableQuestionUnlessRefused,
|
|
9
9
|
waitForQuestion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QJ5CHRK7.js";
|
|
11
11
|
import {
|
|
12
12
|
getMachineId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KALND7MK.js";
|
|
14
14
|
import {
|
|
15
15
|
hookWaitClamped,
|
|
16
16
|
hookWaitDeadline,
|
|
17
17
|
scopeBreachReasonOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UTBF532I.js";
|
|
19
19
|
|
|
20
20
|
// src/pushed-question.ts
|
|
21
21
|
var scopeQuestionOf = (verdict) => {
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
NpmMissingError,
|
|
4
4
|
NpmPermissionError,
|
|
5
5
|
NpmReleaseAgeError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UYATTR34.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-PM2NRK6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YJ2SYX6E.js";
|
|
13
13
|
import {
|
|
14
14
|
readSetupAgentFailures
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UTBF532I.js";
|
|
16
16
|
|
|
17
17
|
// src/setup/config-write.ts
|
|
18
18
|
var AgentConfigWriteError = class extends Error {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3ZYXWHVC.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UYATTR34.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolResultErrorText,
|
|
28
28
|
transcriptTokensIn,
|
|
29
29
|
transcriptUsageRequest
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EORZZO65.js";
|
|
31
31
|
import {
|
|
32
32
|
cancelQuestion,
|
|
33
33
|
clientErrorKindOf,
|
|
@@ -35,44 +35,44 @@ import {
|
|
|
35
35
|
reportClientError,
|
|
36
36
|
sendNotification,
|
|
37
37
|
waitForAnswer
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QJ5CHRK7.js";
|
|
39
39
|
import {
|
|
40
40
|
RETRY_ACK,
|
|
41
41
|
readCommandAck,
|
|
42
42
|
refusedReceiptMessage
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4HBW4LQA.js";
|
|
44
44
|
import {
|
|
45
45
|
isRetryable,
|
|
46
46
|
withRetry
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5YCBMSQ5.js";
|
|
48
48
|
import {
|
|
49
49
|
fetchAsCredential
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JLDZKC7C.js";
|
|
51
51
|
import {
|
|
52
52
|
branchFor,
|
|
53
53
|
projectNameFor,
|
|
54
54
|
repoKeyFor
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-RXWTLPC2.js";
|
|
56
56
|
import {
|
|
57
57
|
getMachineId
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-KALND7MK.js";
|
|
59
59
|
import {
|
|
60
60
|
reportedInstallSource
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-BTURZF5T.js";
|
|
62
62
|
import {
|
|
63
63
|
IDLE_PROMPT_NOTIFICATION,
|
|
64
64
|
NOTIFICATION_PUSH_TYPES,
|
|
65
65
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
66
66
|
claudeConfigDir
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-3ZYXWHVC.js";
|
|
68
68
|
import {
|
|
69
69
|
compareVersion,
|
|
70
70
|
parseVersion
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-UYATTR34.js";
|
|
72
72
|
import {
|
|
73
73
|
getApiKey,
|
|
74
74
|
getBaseUrl
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-O7RSKV2Z.js";
|
|
76
76
|
import {
|
|
77
77
|
writeFileAtomic,
|
|
78
78
|
writeJsonAtomicDurable
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveAutoResolveOrigin,
|
|
104
104
|
resolvePolicy,
|
|
105
105
|
unansweredRefusalReason
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-UTBF532I.js";
|
|
107
107
|
|
|
108
108
|
// src/pending.ts
|
|
109
109
|
import { join } from "path";
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DTVZOI3P.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-LE3K3ATT.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SFJTCSBC.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-O7RSKV2Z.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-UTBF532I.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -9401,6 +9401,8 @@ var isApprovedOnlyAtPermissionRequest = (source, toolName) => source === "claude
|
|
|
9401
9401
|
var MODES_WITH_A_TERMINAL_PROMPT = /* @__PURE__ */ new Set(["default", "acceptEdits"]);
|
|
9402
9402
|
var TERMINAL_AND_PHONE_REASON = "Pushary may also ask your phone. The first answer counts.";
|
|
9403
9403
|
var terminalStaysLiveForTheCall = (facts) => facts.source === "claude" && facts.sessionAttended && facts.permissionHookAdmitted && !facts.handedDownByTheMacBridge && !facts.fromCursor && MODES_WITH_A_TERMINAL_PROMPT.has(facts.permissionMode ?? "") && !isAskedInEveryMode(facts.toolName);
|
|
9404
|
+
var MODES_WHERE_CLAUDE_SHOWS_ITS_QUESTION = /* @__PURE__ */ new Set([...MODES_WITH_A_TERMINAL_PROMPT, "plan", "auto", BYPASS_PERMISSION_MODE]);
|
|
9405
|
+
var claudeQuestionAskedInBothPlaces = (facts) => facts.source === "claude" && facts.toolName === AGENT_QUESTION_TOOL && facts.permissionHookAdmitted && !facts.handedDownByTheMacBridge && !facts.fromCursor && MODES_WHERE_CLAUDE_SHOWS_ITS_QUESTION.has(facts.permissionMode ?? "");
|
|
9404
9406
|
var TIMEOUT_DECISIONS = { approve: "allow", deny: "deny" };
|
|
9405
9407
|
var pushOnlyTimeoutDecision = (policy) => policy.mode === "push_only" ? TIMEOUT_DECISIONS[policy.timeoutAction] : void 0;
|
|
9406
9408
|
var phoneWindowSeconds = (policy) => Math.max(policy.mode === "push_only" ? policy.timeoutSeconds : policy.pushFirstSeconds, 0);
|
|
@@ -10518,6 +10520,7 @@ export {
|
|
|
10518
10520
|
isApprovedOnlyAtPermissionRequest,
|
|
10519
10521
|
TERMINAL_AND_PHONE_REASON,
|
|
10520
10522
|
terminalStaysLiveForTheCall,
|
|
10523
|
+
claudeQuestionAskedInBothPlaces,
|
|
10521
10524
|
terminalLiveWait,
|
|
10522
10525
|
CODEX_RESCUE_TOOL_NAME,
|
|
10523
10526
|
CODEX_RESCUE_STOP_RESERVE_SECONDS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-UQTQ6HPO.js";
|
|
15
15
|
import {
|
|
16
16
|
redactSecretsFromContent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UTBF532I.js";
|
|
18
18
|
|
|
19
19
|
// src/shell-quote.ts
|
|
20
20
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -484,9 +484,9 @@ var installGlobally = (options) => {
|
|
|
484
484
|
}
|
|
485
485
|
const started = (async () => {
|
|
486
486
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
487
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
488
|
-
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
489
|
-
const { autoUpdateLock } = await import("./paths-
|
|
487
|
+
const { withUpgradeLock } = await import("./global-upgrade-N6W3SRLW.js");
|
|
488
|
+
const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-AIEM2X72.js");
|
|
489
|
+
const { autoUpdateLock } = await import("./paths-HDL3JGPR.js");
|
|
490
490
|
let result = "skipped";
|
|
491
491
|
const install = async () => {
|
|
492
492
|
const platform = process.platform;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-62QSMUXP.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
6
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolvePackageVersionFromBinary,
|
|
13
13
|
resolvePathBinary,
|
|
14
14
|
resolvePathBinaryAsync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UYATTR34.js";
|
|
16
16
|
import {
|
|
17
17
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
18
18
|
CLAUDE_RESUME_CAPABILITY,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
MANAGED_PROVIDERS,
|
|
24
24
|
SPAWN_CAPABILITY,
|
|
25
25
|
sessionProvidersAdvertisedBy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UTBF532I.js";
|
|
27
27
|
|
|
28
28
|
// src/live-capabilities.ts
|
|
29
29
|
import { accessSync, constants, statSync as statSync2 } from "fs";
|