pushary 1.9.210 → 1.9.212
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 +18 -0
- package/dist/{api-GBK5CCGM.js → api-SNFXRUBO.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 +34 -33
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +38 -42
- 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 +47 -47
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +1 -0
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +28 -29
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +33 -35
- package/dist/bin/pushary-hook.js +34 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +30 -30
- 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-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +35 -39
- package/dist/bin/pushary-permission-denied-hook.js +34 -36
- package/dist/bin/pushary-permission-hook.js +34 -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 +40 -40
- package/dist/bin/pushary-sessions.js +14 -14
- 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 +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 +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-LEOHGIZ5.js → chunk-2FFSF562.js} +5 -5
- package/dist/{chunk-ULDH35EQ.js → chunk-3KADQBEQ.js} +5 -5
- package/dist/{chunk-3MO2JND5.js → chunk-3NEKVCP2.js} +4 -4
- package/dist/{chunk-672F6V2L.js → chunk-4NJBLOER.js} +2 -2
- package/dist/{chunk-GS4RR3LH.js → chunk-5B5PPHJH.js} +1 -1
- package/dist/{chunk-5QEFRYVG.js → chunk-5E7QI7VP.js} +9 -9
- package/dist/{chunk-EH6ATZZU.js → chunk-65QMCTQ3.js} +2 -2
- package/dist/{chunk-JWPOZFT6.js → chunk-6FN7NPOE.js} +2 -2
- package/dist/{chunk-JMKJHN6U.js → chunk-74RTPZ2B.js} +45 -167
- package/dist/{chunk-LSUB2RBM.js → chunk-7H6BFJU5.js} +1 -1
- package/dist/{chunk-JA6DFYFJ.js → chunk-7KTLZJGF.js} +3 -3
- package/dist/{chunk-2L6RQHDJ.js → chunk-7MPVFAYZ.js} +1 -1
- package/dist/{chunk-JJB34JRR.js → chunk-7TROI3WY.js} +3 -3
- package/dist/{chunk-BV74A4Q3.js → chunk-A4I6XOX3.js} +3 -3
- package/dist/{chunk-SA634ZQS.js → chunk-AINVDTY2.js} +4 -4
- package/dist/{chunk-JFSAQQO2.js → chunk-ARTOOCLW.js} +1 -1
- package/dist/{chunk-QMXE2YQO.js → chunk-AUDKOK2X.js} +6 -6
- package/dist/{chunk-FGYQI6YP.js → chunk-BLQ2JF2F.js} +1 -1
- package/dist/{chunk-GAJ5BULC.js → chunk-CR5X46JQ.js} +1 -1
- package/dist/{chunk-GXGJYRAN.js → chunk-CVZMRD73.js} +4 -4
- package/dist/{chunk-5AY2STJB.js → chunk-D347AAH7.js} +4 -4
- package/dist/{chunk-VM6WBORP.js → chunk-DOPDHW6I.js} +2 -2
- package/dist/{chunk-NQQDBWMM.js → chunk-E5BZJAJ7.js} +7 -7
- package/dist/{chunk-SK65JVE3.js → chunk-FCIJEVDH.js} +1 -1
- package/dist/{chunk-AYITBDTL.js → chunk-FUZSKAEQ.js} +3 -3
- package/dist/{chunk-X6KWCU54.js → chunk-FYAEQIYF.js} +4 -4
- package/dist/{chunk-E4AOJK33.js → chunk-GDWAKBBT.js} +4 -4
- package/dist/{chunk-5SGCCWNR.js → chunk-GJ5XTWNZ.js} +1 -1
- package/dist/{chunk-XRURBIKQ.js → chunk-GKTQXPUM.js} +1 -1
- package/dist/{chunk-ERVRBZNI.js → chunk-GWDAFH4B.js} +2 -2
- package/dist/{chunk-RYK2DXDF.js → chunk-HCBPEZXH.js} +7 -7
- package/dist/{chunk-FZDIXPVK.js → chunk-HCILDIRX.js} +2 -2
- package/dist/{chunk-TC6DWKY5.js → chunk-HFDNWC2K.js} +1 -1
- package/dist/{chunk-GTHM6XOG.js → chunk-HTLG7JIU.js} +1 -1
- package/dist/{chunk-Q2NOGE3Y.js → chunk-HVBMU7HP.js} +8 -13
- package/dist/{chunk-CJAHB4QY.js → chunk-I2ZILRS4.js} +6 -6
- package/dist/{chunk-HUDP6NKM.js → chunk-I7KUHNSA.js} +3 -3
- package/dist/{chunk-TFCNGH7V.js → chunk-ID7W4YBQ.js} +1 -1
- package/dist/{chunk-VIKKRYII.js → chunk-KQRWWJLF.js} +1 -1
- package/dist/{chunk-52CYFOP4.js → chunk-KSAE6TKK.js} +5 -5
- package/dist/{chunk-73TR7RU4.js → chunk-LLCNGORA.js} +3 -3
- package/dist/{chunk-GILLSUOE.js → chunk-LMQDIQI4.js} +5 -5
- package/dist/{chunk-SWUBCXOZ.js → chunk-LWFFQJ3Y.js} +3 -3
- package/dist/{chunk-VUUC2V3L.js → chunk-N4D5YYO2.js} +2 -2
- package/dist/{chunk-SW33W47V.js → chunk-NCPBMIR5.js} +4 -4
- package/dist/{chunk-DVCYIK56.js → chunk-NDYH6TS3.js} +2 -2
- package/dist/{chunk-7AYZRIII.js → chunk-NETM5KD2.js} +2 -2
- package/dist/{chunk-6EPBLKBZ.js → chunk-NMG6GB3W.js} +5 -5
- package/dist/{chunk-XE47DXLF.js → chunk-NYJXBV6G.js} +5 -5
- package/dist/{chunk-GTNSTDUB.js → chunk-O3375GQ5.js} +2 -2
- package/dist/{chunk-ADNPGA5K.js → chunk-PIXOAUE6.js} +6 -6
- package/dist/{chunk-YOM5NVDW.js → chunk-PKDU2BY4.js} +3 -3
- package/dist/{chunk-JF3IB3QX.js → chunk-POXHWH73.js} +14 -3
- package/dist/{chunk-W7EUKTEI.js → chunk-PRRJZZAF.js} +3 -3
- package/dist/{chunk-JSTAZSTC.js → chunk-PSKPKVM6.js} +1 -1
- package/dist/{chunk-HFDMGCBY.js → chunk-Q73RI245.js} +5 -5
- package/dist/{chunk-7V4ZAQNO.js → chunk-QLKIY3FD.js} +1 -1
- package/dist/{chunk-XELCQFDJ.js → chunk-QQEJDPYK.js} +1 -1
- package/dist/{chunk-AJV7HEGB.js → chunk-R4BUYRSV.js} +15 -13
- package/dist/{chunk-NPYCMOFC.js → chunk-RE5KA47K.js} +3 -3
- package/dist/{chunk-BPEYHTXU.js → chunk-RIGWC5YP.js} +2 -2
- package/dist/{chunk-7WVGOW6O.js → chunk-RS6WYORY.js} +5 -5
- package/dist/{chunk-VXXWVOKF.js → chunk-SGOP6D4K.js} +1 -1
- package/dist/{chunk-BXFI56J5.js → chunk-UP2JWLPI.js} +2 -2
- package/dist/{chunk-V3PYEJRY.js → chunk-UQQN6ST3.js} +1 -1
- package/dist/{chunk-52MSHZYI.js → chunk-UXQI33VO.js} +6 -6
- package/dist/{chunk-TGYDKCOB.js → chunk-V2R6Y4ES.js} +2 -2
- package/dist/{chunk-XMZEG5QB.js → chunk-V3QWU2WK.js} +4 -4
- package/dist/{chunk-IYGEE7XO.js → chunk-VKGJ4XY5.js} +1 -1
- package/dist/{chunk-37HOIRPC.js → chunk-VLV34V6X.js} +13 -13
- package/dist/{chunk-GC64OIDA.js → chunk-VY7UHIPW.js} +2 -2
- package/dist/{chunk-E2WCYHXF.js → chunk-W2LDJTM6.js} +5 -5
- package/dist/{chunk-VQLAGEHH.js → chunk-WXWWCODY.js} +1 -1
- package/dist/{chunk-SOMSKUI6.js → chunk-Y3OHWGZV.js} +2 -2
- package/dist/{chunk-TAKPXBNF.js → chunk-Z5OUGH4K.js} +10 -10
- package/dist/{chunk-7Y4AMZG3.js → chunk-ZJYSZDFR.js} +1 -1
- package/dist/{chunk-M2PWMMXD.js → chunk-ZNF5ATIQ.js} +422 -71
- package/dist/{chunk-NQAET7YS.js → chunk-ZWT4WF2W.js} +4 -4
- package/dist/{chunk-TSUPVKMX.js → chunk-ZXQNUTK3.js} +10 -10
- package/dist/{chunk-RMASRYS4.js → chunk-ZYXC6ZEQ.js} +1 -1
- package/dist/{codex-app-cards-switch-VSNLHN5H.js → codex-app-cards-switch-3TCXMVNB.js} +11 -11
- package/dist/{codex-card-routing-EBLLT4JN.js → codex-card-routing-SYP6VQTQ.js} +2 -2
- package/dist/{codex-desktop-launch-XGXKINN5.js → codex-desktop-launch-4JX7HA66.js} +1 -1
- package/dist/{codex-session-launch-YQNK4MEM.js → codex-session-launch-ITEGM77S.js} +20 -20
- package/dist/{config-QTON6UUP.js → config-KVGNGI6J.js} +3 -3
- package/dist/{global-upgrade-AOZNS5TM.js → global-upgrade-SSWKV5NF.js} +9 -9
- package/dist/{identity-TILIXUYO.js → identity-BMEZY3ST.js} +4 -4
- package/dist/{live-capabilities-BE7NSCFI.js → live-capabilities-AXVWZKBK.js} +4 -4
- package/dist/{paths-MIWMKITN.js → paths-EFJCRBNQ.js} +3 -3
- package/dist/reapply-S26S7GHW.js +75 -0
- package/dist/src/index.d.ts +2 -21
- package/dist/src/index.js +33 -35
- package/dist/{upgrade-lock-N75TGVFZ.js → upgrade-lock-FCKMP6W2.js} +4 -4
- package/dist/{usage-IH2QUEKB.js → usage-NCJLUCAW.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ELY55B2S.js +0 -162
- package/dist/chunk-SHK2PLZC.js +0 -39
- package/dist/reapply-NBOQ7UO2.js +0 -75
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HCILDIRX.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RIGWC5YP.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E5BZJAJ7.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QQEJDPYK.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V3QWU2WK.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-W2LDJTM6.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NCPBMIR5.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseHookArgv,
|
|
56
56
|
parseHookCommand,
|
|
57
57
|
supportedClaudeEvents
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-O3375GQ5.js";
|
|
59
59
|
import {
|
|
60
60
|
readRegularJsonFile,
|
|
61
61
|
readRegularTextFile
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
OPENCODE_APPROVAL_EVENT,
|
|
70
70
|
isRecord,
|
|
71
71
|
matcherMatchesEveryCall
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-POXHWH73.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZNF5ATIQ.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O3375GQ5.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QLKIY3FD.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PKDU2BY4.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -2,63 +2,70 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-65QMCTQ3.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HCILDIRX.js";
|
|
10
10
|
import {
|
|
11
11
|
defersToNativeMode
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
askAgentQuestions,
|
|
15
|
-
outcomeOfFailedAsk,
|
|
16
|
-
storedWaitDeadline
|
|
17
|
-
} from "./chunk-ELY55B2S.js";
|
|
12
|
+
} from "./chunk-7MPVFAYZ.js";
|
|
18
13
|
import {
|
|
19
14
|
reportMachineDenial
|
|
20
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CVZMRD73.js";
|
|
21
16
|
import {
|
|
22
17
|
isGatingMoment,
|
|
23
18
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GKTQXPUM.js";
|
|
25
20
|
import {
|
|
26
21
|
isAdmitted,
|
|
27
22
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
isDeferAnswer,
|
|
31
|
-
oncePerSession
|
|
32
|
-
} from "./chunk-SHK2PLZC.js";
|
|
23
|
+
} from "./chunk-KSAE6TKK.js";
|
|
33
24
|
import {
|
|
34
25
|
activeHookSource,
|
|
35
26
|
activeIdentity,
|
|
36
27
|
namedSource
|
|
37
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-W2LDJTM6.js";
|
|
38
29
|
import {
|
|
39
30
|
DEFAULT_SESSION,
|
|
31
|
+
allow,
|
|
40
32
|
approvalAwaitingRetry,
|
|
33
|
+
approvingTimeoutOutput,
|
|
34
|
+
ask,
|
|
35
|
+
askAgentQuestions,
|
|
36
|
+
askedFilePathOf,
|
|
41
37
|
blockedActionFingerprint,
|
|
42
38
|
claimThrottle,
|
|
39
|
+
deny,
|
|
43
40
|
fetchLiveModeState,
|
|
44
41
|
fetchModeState,
|
|
45
42
|
forgetBlockedActionHint,
|
|
46
43
|
getPolicy,
|
|
47
44
|
getPolicyForStandingDenies,
|
|
45
|
+
halted,
|
|
46
|
+
handlePushFirst,
|
|
47
|
+
handlePushOnly,
|
|
48
48
|
hasBlockedActionHint,
|
|
49
|
+
isDeferAnswer,
|
|
49
50
|
markApprovalReminded,
|
|
51
|
+
oncePerSession,
|
|
52
|
+
outcomeOfFailedAsk,
|
|
50
53
|
permissionModeOf,
|
|
54
|
+
questionLimitOutput,
|
|
55
|
+
questionWindowOf,
|
|
51
56
|
readCachedPolicy,
|
|
52
57
|
readLastPrompt,
|
|
53
58
|
readLastUserPrompt,
|
|
54
59
|
recordBlockedActionHint,
|
|
55
60
|
recordGateOutcome,
|
|
61
|
+
refusingTimeoutOutput,
|
|
56
62
|
reportEvent,
|
|
57
63
|
reportStandingDeniesFromStalePolicy,
|
|
58
64
|
settleQuestionsForToolUse,
|
|
65
|
+
storedWaitDeadline,
|
|
59
66
|
sweepFilesOlderThan,
|
|
60
67
|
userScope
|
|
61
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-ZNF5ATIQ.js";
|
|
62
69
|
import {
|
|
63
70
|
UNNAMED_ACTION,
|
|
64
71
|
deriveAction,
|
|
@@ -69,13 +76,12 @@ import {
|
|
|
69
76
|
patchDeletesFiles,
|
|
70
77
|
permissionDeniedAction,
|
|
71
78
|
scopePathFor
|
|
72
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UQQN6ST3.js";
|
|
73
80
|
import {
|
|
74
81
|
askUser,
|
|
75
82
|
cancelQuestion,
|
|
76
83
|
claimBlockedAction,
|
|
77
84
|
clientErrorKindOf,
|
|
78
|
-
isAwayPaused,
|
|
79
85
|
isDecisionStopped,
|
|
80
86
|
isLocalQuestionHandoff,
|
|
81
87
|
isQuestionLimitRefusal,
|
|
@@ -84,31 +90,30 @@ import {
|
|
|
84
90
|
requestGate,
|
|
85
91
|
sendNotification,
|
|
86
92
|
waitForQuestion,
|
|
87
|
-
waitsForThePhone,
|
|
88
93
|
withdrawQuestion
|
|
89
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-HVBMU7HP.js";
|
|
90
95
|
import {
|
|
91
96
|
branchFor,
|
|
92
97
|
projectNameFor,
|
|
93
98
|
repoKeyFor,
|
|
94
99
|
repositoryScopeFor
|
|
95
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-QLKIY3FD.js";
|
|
96
101
|
import {
|
|
97
102
|
getMachineId
|
|
98
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-BLQ2JF2F.js";
|
|
99
104
|
import {
|
|
100
105
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
101
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-O3375GQ5.js";
|
|
102
107
|
import {
|
|
103
108
|
getApiKey,
|
|
104
109
|
getBaseUrl
|
|
105
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-ZJYSZDFR.js";
|
|
106
111
|
import {
|
|
107
112
|
writeFileAtomic
|
|
108
113
|
} from "./chunk-PM2NRK6Y.js";
|
|
109
114
|
import {
|
|
110
115
|
NPX_LATEST_COMMAND
|
|
111
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-KQRWWJLF.js";
|
|
112
117
|
import {
|
|
113
118
|
AGENT_QUESTION_STRATEGY,
|
|
114
119
|
AGENT_QUESTION_TOOL,
|
|
@@ -120,14 +125,12 @@ import {
|
|
|
120
125
|
MCP_TOOL_PREFIX,
|
|
121
126
|
PLAN_DECLINED_REASON,
|
|
122
127
|
PRETOOLUSE_HANDLED_TOOLS,
|
|
123
|
-
QUESTION_LIMIT_PROMPT_REASON,
|
|
124
128
|
SCOPE_BATCH_REASON,
|
|
125
129
|
SOLE_GATE_SIGNED_OUT_REASON,
|
|
126
130
|
SOLE_GATE_SUBSCRIPTION_REASON,
|
|
127
131
|
SOLE_GATE_UNDECIDED_REASON,
|
|
128
132
|
TERMINAL_AND_PHONE_REASON,
|
|
129
133
|
UNREADABLE_CALL_REASON,
|
|
130
|
-
UNVERIFIABLE_APPROVAL_REASON,
|
|
131
134
|
WITHDRAWN_APPROVAL_REASON,
|
|
132
135
|
agentQuestionStrategy,
|
|
133
136
|
agentRulesAllowEveryInput,
|
|
@@ -145,7 +148,6 @@ import {
|
|
|
145
148
|
claudeQuestionAnswers,
|
|
146
149
|
claudeQuestionAskedInBothPlaces,
|
|
147
150
|
claudeStoppedPermissionRequestOutput,
|
|
148
|
-
claudeStoppedPreToolUseOutput,
|
|
149
151
|
denyReasonFrom,
|
|
150
152
|
editGoesToTheAgentsPrompt,
|
|
151
153
|
effectiveWaitSeconds,
|
|
@@ -153,9 +155,7 @@ import {
|
|
|
153
155
|
hookCompatibleProfileBySource,
|
|
154
156
|
hookHoldWindowMs,
|
|
155
157
|
hookMaxWaitSeconds,
|
|
156
|
-
hookWaitClamped,
|
|
157
158
|
hookWaitDeadline,
|
|
158
|
-
hookWritePath,
|
|
159
159
|
isApprovedOnlyAtPermissionRequest,
|
|
160
160
|
isBlockedActionRequest,
|
|
161
161
|
isClaudeRefusalsOnlyTool,
|
|
@@ -174,15 +174,13 @@ import {
|
|
|
174
174
|
permissionsOffLineAppliesTo,
|
|
175
175
|
questionHandedToTheTerminal,
|
|
176
176
|
questionLimitHandBack,
|
|
177
|
-
refusesWhenUnanswered,
|
|
178
177
|
resolveGate,
|
|
179
178
|
standingDenyOfSubagentAlias,
|
|
180
179
|
terminalLiveWait,
|
|
181
180
|
terminalStaysLiveForTheCall,
|
|
182
181
|
timeoutActionWithoutLocalPrompt,
|
|
183
|
-
unansweredRefusalReason,
|
|
184
182
|
unapprovedScopeReason
|
|
185
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-POXHWH73.js";
|
|
186
184
|
|
|
187
185
|
// src/terminal-answer-watch.ts
|
|
188
186
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -301,128 +299,6 @@ var reportDecisionEpisode = async (apiKey, input) => {
|
|
|
301
299
|
}
|
|
302
300
|
};
|
|
303
301
|
|
|
304
|
-
// src/pre-tool-use-output.ts
|
|
305
|
-
var allow = (reason) => claudePreToolUseOutput("allow", reason);
|
|
306
|
-
var deny = (reason) => claudePreToolUseOutput("deny", reason);
|
|
307
|
-
var ask = (reason) => claudePreToolUseOutput("ask", reason);
|
|
308
|
-
var halted = (reason) => claudeStoppedPreToolUseOutput(reason);
|
|
309
|
-
|
|
310
|
-
// src/permission-ask-outcome.ts
|
|
311
|
-
var questionLimitOutput = (handBack) => handBack.kind === "refuse" ? deny(handBack.reason) : ask(QUESTION_LIMIT_PROMPT_REASON);
|
|
312
|
-
var outcomeOfFailedPermissionAsk = (error, sessionId, questionLimitFacts, subscriptionRequiredOutput) => {
|
|
313
|
-
if (isQuestionLimitRefusal(error)) return questionLimitOutput(questionLimitHandBack(questionLimitFacts));
|
|
314
|
-
return outcomeOfFailedAsk(error, sessionId, halted(UNVERIFIABLE_APPROVAL_REASON)) ?? subscriptionRequiredOutput;
|
|
315
|
-
};
|
|
316
|
-
var handlePushOnly = async (apiKey, call, timeoutSeconds, timeoutAction, signals) => {
|
|
317
|
-
const {
|
|
318
|
-
description,
|
|
319
|
-
projectName,
|
|
320
|
-
agentName,
|
|
321
|
-
sessionId,
|
|
322
|
-
machineId,
|
|
323
|
-
toolName,
|
|
324
|
-
toolTarget,
|
|
325
|
-
decision,
|
|
326
|
-
agentPromptFollows,
|
|
327
|
-
startMs,
|
|
328
|
-
subscriptionRequiredOutput,
|
|
329
|
-
announceWait: announceWait2
|
|
330
|
-
} = call;
|
|
331
|
-
const effectiveWait = effectiveWaitSeconds(timeoutAction, timeoutSeconds, "claude");
|
|
332
|
-
const now = Date.now();
|
|
333
|
-
const requestedDeadline = hookWaitDeadline(startMs, effectiveWait, "claude", now);
|
|
334
|
-
const clampCut = hookWaitClamped(startMs, effectiveWait, "claude", now);
|
|
335
|
-
let result;
|
|
336
|
-
try {
|
|
337
|
-
result = await askUser(apiKey, {
|
|
338
|
-
question: `Allow ${description || UNNAMED_ACTION}?`,
|
|
339
|
-
type: "confirm",
|
|
340
|
-
context: `Agent wants to run this in ${projectName}`,
|
|
341
|
-
agentName,
|
|
342
|
-
sessionId,
|
|
343
|
-
machineId,
|
|
344
|
-
toolName,
|
|
345
|
-
toolTarget,
|
|
346
|
-
waitEndsAt: timeoutAction !== "approve" && timeoutAction !== "deny" || clampCut ? new Date(requestedDeadline).toISOString() : void 0,
|
|
347
|
-
...decision
|
|
348
|
-
});
|
|
349
|
-
} catch (error) {
|
|
350
|
-
signals.askFailed = true;
|
|
351
|
-
return outcomeOfFailedPermissionAsk(error, sessionId, {
|
|
352
|
-
refusesUnanswered: refusesWhenUnanswered({ mode: "push_only", timeoutAction }),
|
|
353
|
-
agentPromptFollows
|
|
354
|
-
}, subscriptionRequiredOutput);
|
|
355
|
-
}
|
|
356
|
-
if (isDecisionStopped(result)) return halted(DECISION_STOP_REASON);
|
|
357
|
-
const deadline = storedWaitDeadline(result, requestedDeadline);
|
|
358
|
-
if (waitsForThePhone(result)) announceWait2(effectiveWait, result.answerUrl, sessionId);
|
|
359
|
-
const answer = await waitForQuestion(apiKey, result, deadline);
|
|
360
|
-
if (isDecisionStopped(answer)) return halted(DECISION_STOP_REASON);
|
|
361
|
-
if (!answer.answered && isLocalQuestionHandoff(result)) return ask("Approve in the current client.");
|
|
362
|
-
if (answer.answered) {
|
|
363
|
-
if (isDeferAnswer(answer.value)) return ask(HANDED_BACK_REASON);
|
|
364
|
-
signals.humanDecision = true;
|
|
365
|
-
return answer.value === "yes" ? allow() : deny(denyReasonFrom(answer.value, answer.note));
|
|
366
|
-
}
|
|
367
|
-
if (timeoutAction === "wait" || clampCut || deadline < requestedDeadline) {
|
|
368
|
-
return ask(WITHDRAWN_APPROVAL_REASON);
|
|
369
|
-
}
|
|
370
|
-
switch (timeoutAction) {
|
|
371
|
-
case "approve":
|
|
372
|
-
return allow();
|
|
373
|
-
case "deny":
|
|
374
|
-
return deny(unansweredRefusalReason(isAwayPaused(result)));
|
|
375
|
-
default:
|
|
376
|
-
return ask("No push response, asking in terminal");
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
var handlePushFirst = async (apiKey, call, pushFirstSeconds, signals) => {
|
|
380
|
-
const {
|
|
381
|
-
description,
|
|
382
|
-
projectName,
|
|
383
|
-
agentName,
|
|
384
|
-
sessionId,
|
|
385
|
-
machineId,
|
|
386
|
-
toolName,
|
|
387
|
-
toolTarget,
|
|
388
|
-
decision,
|
|
389
|
-
agentPromptFollows,
|
|
390
|
-
startMs,
|
|
391
|
-
subscriptionRequiredOutput,
|
|
392
|
-
announceWait: announceWait2
|
|
393
|
-
} = call;
|
|
394
|
-
const requestedDeadline = hookWaitDeadline(startMs, pushFirstSeconds, "claude", Date.now());
|
|
395
|
-
let result;
|
|
396
|
-
try {
|
|
397
|
-
result = await askUser(apiKey, {
|
|
398
|
-
question: `Allow ${description || UNNAMED_ACTION}?`,
|
|
399
|
-
type: "confirm",
|
|
400
|
-
context: `Agent wants to run this in ${projectName}`,
|
|
401
|
-
agentName,
|
|
402
|
-
sessionId,
|
|
403
|
-
machineId,
|
|
404
|
-
toolName,
|
|
405
|
-
toolTarget,
|
|
406
|
-
waitEndsAt: new Date(requestedDeadline).toISOString(),
|
|
407
|
-
...decision
|
|
408
|
-
});
|
|
409
|
-
} catch (error) {
|
|
410
|
-
signals.askFailed = true;
|
|
411
|
-
return outcomeOfFailedPermissionAsk(error, sessionId, { refusesUnanswered: false, agentPromptFollows }, subscriptionRequiredOutput);
|
|
412
|
-
}
|
|
413
|
-
if (isDecisionStopped(result)) return halted(DECISION_STOP_REASON);
|
|
414
|
-
if (waitsForThePhone(result)) announceWait2(pushFirstSeconds, result.answerUrl, sessionId);
|
|
415
|
-
const deadline = storedWaitDeadline(result, requestedDeadline);
|
|
416
|
-
const answer = await waitForQuestion(apiKey, result, deadline, 1500);
|
|
417
|
-
if (isDecisionStopped(answer)) return halted(DECISION_STOP_REASON);
|
|
418
|
-
if (answer.answered) {
|
|
419
|
-
if (isDeferAnswer(answer.value)) return ask(HANDED_BACK_REASON);
|
|
420
|
-
signals.humanDecision = true;
|
|
421
|
-
return answer.value === "yes" ? allow() : deny(denyReasonFrom(answer.value, answer.note));
|
|
422
|
-
}
|
|
423
|
-
return ask(WITHDRAWN_APPROVAL_REASON);
|
|
424
|
-
};
|
|
425
|
-
|
|
426
302
|
// src/route-hold-handback.ts
|
|
427
303
|
import { existsSync, mkdirSync, rmSync, statSync as statSync2 } from "fs";
|
|
428
304
|
import { tmpdir } from "os";
|
|
@@ -499,18 +375,18 @@ var handleNotifyOnly = async (apiKey, description, projectName, sessionId, machi
|
|
|
499
375
|
};
|
|
500
376
|
var TERMINAL_ANSWERED = /* @__PURE__ */ Symbol("terminal-answered");
|
|
501
377
|
var terminalAnswered = (input, signal) => watchForTerminalAnswer(input.transcript_path, { toolName: input.tool_name, toolInput: input.tool_input ?? {} }, START_MS, signal).then(() => TERMINAL_ANSWERED);
|
|
502
|
-
var terminalLiveTimeoutOutput = (onTimeout,
|
|
378
|
+
var terminalLiveTimeoutOutput = (onTimeout, window, event) => {
|
|
503
379
|
switch (onTimeout) {
|
|
504
380
|
case "allow":
|
|
505
|
-
return
|
|
381
|
+
return approvingTimeoutOutput(window, event);
|
|
506
382
|
case "deny":
|
|
507
|
-
return
|
|
383
|
+
return refusingTimeoutOutput(window);
|
|
508
384
|
case "leave_to_terminal":
|
|
509
385
|
return ask(WITHDRAWN_APPROVAL_REASON);
|
|
510
386
|
}
|
|
511
387
|
};
|
|
512
388
|
var outcomeOfFailedTerminalLiveAsk = (error, sessionId, refusesUnanswered) => isQuestionLimitRefusal(error) ? questionLimitOutput(questionLimitHandBack({ refusesUnanswered, agentPromptFollows: true })) : outcomeOfFailedAsk(error, sessionId, void 0);
|
|
513
|
-
var handleTerminalLive = async (apiKey, input, description, projectName, toolPolicy, holdBudgetSeconds, machineId, toolTarget, decision, signals) => {
|
|
389
|
+
var handleTerminalLive = async (apiKey, input, event, description, projectName, toolPolicy, holdBudgetSeconds, machineId, toolTarget, decision, signals) => {
|
|
514
390
|
const plan = terminalLiveWait(toolPolicy, holdBudgetSeconds);
|
|
515
391
|
const sessionId = input.session_id;
|
|
516
392
|
const stop = new AbortController();
|
|
@@ -552,7 +428,8 @@ var handleTerminalLive = async (apiKey, input, description, projectName, toolPol
|
|
|
552
428
|
signals.humanDecision = true;
|
|
553
429
|
return first.value === "yes" ? allow() : deny(denyReasonFrom(first.value, first.note));
|
|
554
430
|
}
|
|
555
|
-
|
|
431
|
+
const cutShort = deadline < servedEndsAt;
|
|
432
|
+
return terminalLiveTimeoutOutput(cutShort ? "leave_to_terminal" : plan.onTimeout, questionWindowOf(question, { cutShort }), event);
|
|
556
433
|
};
|
|
557
434
|
var pushesToThePhone = (mode) => mode !== "terminal_only" && mode !== "notify_only";
|
|
558
435
|
var emitDecisionEpisode = (apiKey, input, toolPolicy, machineId, toolTarget, decision, result) => {
|
|
@@ -587,7 +464,7 @@ var outcomeOfDispatch = (decided) => {
|
|
|
587
464
|
if (decided.mode === "terminal_only") return "terminal_only";
|
|
588
465
|
return decided.askFailed ? "ask_failed" : "asked";
|
|
589
466
|
};
|
|
590
|
-
var dispatchModeDecision = async (apiKey, input, toolPolicy, machineId, trainingConsent = false, scopeReason, scopePath, terminalLive, askReason, matchedRoute) => {
|
|
467
|
+
var dispatchModeDecision = async (apiKey, input, event, toolPolicy, machineId, trainingConsent = false, scopeReason, scopePath, terminalLive, askReason, matchedRoute) => {
|
|
591
468
|
const description = describeToolCall(input.tool_name, input.tool_input, "hook");
|
|
592
469
|
const projectName = projectNameFor(input.cwd);
|
|
593
470
|
const sessionId = input.session_id;
|
|
@@ -599,7 +476,7 @@ var dispatchModeDecision = async (apiKey, input, toolPolicy, machineId, training
|
|
|
599
476
|
const scopeQuestionFromCursor = scopeReason !== void 0 && isCursorHookPayload(input);
|
|
600
477
|
const intent = readLastPrompt(sessionId ?? DEFAULT_SESSION) ?? (input.transcript_path ? readLastUserPrompt(input.transcript_path) : void 0);
|
|
601
478
|
const decision = {
|
|
602
|
-
|
|
479
|
+
...askedFilePathOf(input.tool_name, input.tool_input, input.cwd),
|
|
603
480
|
...matchedRoute ? { matchedRoute } : {},
|
|
604
481
|
intent,
|
|
605
482
|
action: deriveAction(input.tool_name, input.tool_input),
|
|
@@ -619,6 +496,7 @@ var dispatchModeDecision = async (apiKey, input, toolPolicy, machineId, training
|
|
|
619
496
|
};
|
|
620
497
|
const signals = {};
|
|
621
498
|
const permissionAsk = {
|
|
499
|
+
event,
|
|
622
500
|
description,
|
|
623
501
|
projectName,
|
|
624
502
|
agentName: agentNameIn(projectName),
|
|
@@ -635,7 +513,7 @@ var dispatchModeDecision = async (apiKey, input, toolPolicy, machineId, training
|
|
|
635
513
|
const mode = deliveredWithoutAPrompt ? approvalModeWithoutLocalPrompt(toolPolicy.mode) : toolPolicy.mode;
|
|
636
514
|
const runHandler = () => {
|
|
637
515
|
if (terminalLive && pushesToThePhone(mode)) {
|
|
638
|
-
return handleTerminalLive(apiKey, input, description, projectName, { ...toolPolicy, mode }, terminalLive.holdBudgetSeconds, machineId, toolTarget, decision, signals);
|
|
516
|
+
return handleTerminalLive(apiKey, input, event, description, projectName, { ...toolPolicy, mode }, terminalLive.holdBudgetSeconds, machineId, toolTarget, decision, signals);
|
|
639
517
|
}
|
|
640
518
|
switch (mode) {
|
|
641
519
|
case "push_only":
|
|
@@ -984,7 +862,7 @@ var decidePreToolUse = async (input, canonical) => {
|
|
|
984
862
|
return settledAs("undecided", undecidedCall(SOLE_GATE_UNDECIDED_REASON));
|
|
985
863
|
default: {
|
|
986
864
|
if (preToolUseHandsOff(input, gateInput, verdict)) return settledAs("terminal_only", ask(TERMINAL_AND_PHONE_REASON));
|
|
987
|
-
const decided = await dispatchModeDecision(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, void 0, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput));
|
|
865
|
+
const decided = await dispatchModeDecision(apiKey, input, "PreToolUse", verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, void 0, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput));
|
|
988
866
|
if (PHONE_APPROVAL_SOURCE && isPhoneApproval(decided)) rememberPhoneApproval(PHONE_APPROVAL_SOURCE, input);
|
|
989
867
|
return settledAs(outcomeOfDispatch(decided), rememberHandbackToThePrompt(input, heldForMcpRoute, decided.result));
|
|
990
868
|
}
|
|
@@ -1126,11 +1004,11 @@ var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
|
|
|
1126
1004
|
default:
|
|
1127
1005
|
if (approvedCall) {
|
|
1128
1006
|
return answerOfTheReplay(
|
|
1129
|
-
await dispatchModeDecision(apiKey, approvedCall, verdict.policy, getMachineId(), false, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput))
|
|
1007
|
+
await dispatchModeDecision(apiKey, approvedCall, "PermissionRequest", verdict.policy, getMachineId(), false, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput))
|
|
1130
1008
|
);
|
|
1131
1009
|
}
|
|
1132
1010
|
return toPermissionRequestOutput(
|
|
1133
|
-
await dispatchModeHandler(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput))
|
|
1011
|
+
await dispatchModeHandler(apiKey, input, "PermissionRequest", verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch, permissionsOffAskReason(gateInput, verdict), matchedRouteOf(gateInput))
|
|
1134
1012
|
);
|
|
1135
1013
|
}
|
|
1136
1014
|
} catch (error) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWDAFH4B.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-GDWAKBBT.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENTS,
|
|
18
18
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
OPENCODE_BRIDGE_CAPABILITY,
|
|
26
26
|
SPAWN_CAPABILITY,
|
|
27
27
|
sessionProvidersAdvertisedBy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-POXHWH73.js";
|
|
29
29
|
|
|
30
30
|
// src/live-capabilities.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LLCNGORA.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZJYSZDFR.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-POXHWH73.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;
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O3375GQ5.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GDWAKBBT.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-POXHWH73.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W2LDJTM6.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NCPBMIR5.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O3375GQ5.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-POXHWH73.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PIXOAUE6.js";
|
|
18
18
|
import {
|
|
19
19
|
describeRevokeAttempt,
|
|
20
20
|
keyNoLongerAccepted,
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
isCI,
|
|
30
30
|
terminalColumns,
|
|
31
31
|
useColor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZYXC6ZEQ.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-7TROI3WY.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-Y3OHWGZV.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KQRWWJLF.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-POXHWH73.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|