pushary 1.9.251 → 1.9.252
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/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/scripts/pushary-gate.mjs +1 -1
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +4 -0
- package/data/vscode-plugin/scripts/pushary-gate.mjs +1 -5
- package/dist/{api-7YLGBPT6.js → api-B3CCB7XF.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +43 -41
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +35 -34
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +36 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -46
- package/dist/bin/pushary-disconnect.js +31 -30
- package/dist/bin/pushary-display-hook.js +5 -1
- package/dist/bin/pushary-doctor.js +48 -47
- package/dist/bin/pushary-elicitation-hook.js +28 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -31
- package/dist/bin/pushary-hook.js +36 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +32 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +28 -27
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +33 -32
- package/dist/bin/pushary-permission-denied-hook.js +35 -34
- package/dist/bin/pushary-permission-hook.js +36 -35
- package/dist/bin/pushary-post-hook.js +29 -28
- package/dist/bin/pushary-prompt-hook.js +28 -27
- package/dist/bin/pushary-session-end-hook.js +28 -27
- package/dist/bin/pushary-session-start-hook.js +40 -39
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +93 -71
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +37 -36
- package/dist/bin/pushary-stop-hook.js +28 -27
- package/dist/bin/pushary-stopfailure-hook.js +28 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +48 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-QG35IQTV.js → chunk-24MGJAU6.js} +1 -1
- package/dist/{chunk-UGUEVRCL.js → chunk-2ODXKLNT.js} +4 -4
- package/dist/{chunk-MTUDWLDC.js → chunk-2U735XOK.js} +5 -5
- package/dist/{chunk-RC77CCJG.js → chunk-2XVTJAYB.js} +5 -5
- package/dist/{chunk-CQIM7TDK.js → chunk-3HGWR547.js} +12 -5
- package/dist/{chunk-K26EFQLD.js → chunk-3REBHADE.js} +6 -6
- package/dist/{chunk-Z77XTRVT.js → chunk-4LTASS5P.js} +1 -1
- package/dist/{chunk-PHTMOEG6.js → chunk-5IHGO436.js} +4 -4
- package/dist/{chunk-G26FRSLD.js → chunk-5KYAO2GI.js} +6 -6
- package/dist/chunk-5LK3UY46.js +30 -0
- package/dist/{chunk-VXOZ4Q4J.js → chunk-5SRTZJ2A.js} +8 -8
- package/dist/{chunk-DQK6NXJH.js → chunk-5UXIPTWM.js} +2 -2
- package/dist/{chunk-6E5MBUJ6.js → chunk-6DQOFD25.js} +1 -1
- package/dist/{chunk-KK7JK2F3.js → chunk-6HGAY3R6.js} +8 -29
- package/dist/{chunk-557J45VJ.js → chunk-6JVSKDBD.js} +2 -2
- package/dist/{chunk-N6TD76US.js → chunk-6LB7PZLK.js} +3 -3
- package/dist/{chunk-AUU5RTTF.js → chunk-6OSGECAY.js} +6 -6
- package/dist/{chunk-T2CWUMXR.js → chunk-6S6ASGR3.js} +3 -3
- package/dist/{chunk-H3HURS3J.js → chunk-76NDZYJU.js} +12 -10
- package/dist/{chunk-ZVPI5BQR.js → chunk-7D25WOPT.js} +1 -1
- package/dist/{chunk-YXIJVUEU.js → chunk-7OF777EU.js} +42 -7
- package/dist/{chunk-FQOM4U2Q.js → chunk-AKHCR2EY.js} +3 -3
- package/dist/{chunk-3PWJ27G2.js → chunk-AOPSJHTB.js} +4 -4
- package/dist/{chunk-2RJOCEWT.js → chunk-AYVW4G3V.js} +1 -1
- package/dist/{chunk-JCVHTX6Q.js → chunk-BWDQ4WOH.js} +2 -2
- package/dist/{chunk-AGJA7LW6.js → chunk-C75GX2HY.js} +5 -5
- package/dist/{chunk-M6QOKJUL.js → chunk-CIJG74KZ.js} +1 -1
- package/dist/{chunk-M4H5OBXD.js → chunk-CVVHT4KY.js} +3 -3
- package/dist/{chunk-VNNXZXHM.js → chunk-CZ4EG35M.js} +1 -1
- package/dist/{chunk-UZXTAN6S.js → chunk-DD5EW5IL.js} +7 -4
- package/dist/{chunk-E5CQGHVW.js → chunk-DYTDYNKC.js} +6 -6
- package/dist/{chunk-VEFEHJLI.js → chunk-E5CTDUSW.js} +5 -5
- package/dist/{chunk-P7LH7M6N.js → chunk-ECXLAR6D.js} +2 -2
- package/dist/{chunk-4LBBSUF7.js → chunk-EIZXYIOM.js} +2 -2
- package/dist/{chunk-B4N3VLXT.js → chunk-EQ6VOXZU.js} +5 -5
- package/dist/{chunk-AAXFWQ7I.js → chunk-EQDLUHZJ.js} +3 -3
- package/dist/{chunk-DPUL5NO5.js → chunk-ERYXHBTE.js} +5 -5
- package/dist/{chunk-EEFE64MW.js → chunk-FM4ULVPT.js} +1 -1
- package/dist/{chunk-IEOTIQDF.js → chunk-G5DP6O5R.js} +5 -5
- package/dist/{chunk-7A6YK73O.js → chunk-GFFNJ3DO.js} +2 -2
- package/dist/{chunk-F6WOVDJY.js → chunk-GK2EYDF2.js} +4 -4
- package/dist/{chunk-JI6TV7FH.js → chunk-GKT2SRRG.js} +4 -4
- package/dist/{chunk-OM7ZE2KW.js → chunk-GM4CMN4A.js} +1 -1
- package/dist/{chunk-7E7FXU2S.js → chunk-GQLHV36Q.js} +1 -1
- package/dist/{chunk-PRQJDPAO.js → chunk-IFQROMKD.js} +2 -2
- package/dist/{chunk-JY2GFDHW.js → chunk-IXLXPPSD.js} +1 -1
- package/dist/{chunk-XEVRUUDW.js → chunk-JIZNXYN5.js} +2 -2
- package/dist/{chunk-D72OYETQ.js → chunk-JPHYKF6V.js} +5 -5
- package/dist/{chunk-54EXI2EP.js → chunk-K3VUIJLP.js} +4 -4
- package/dist/{chunk-JVBRHL7X.js → chunk-L4ANPJUH.js} +3 -3
- package/dist/{chunk-2S52I655.js → chunk-LI7OGANI.js} +2 -2
- package/dist/{chunk-VGKU4AFE.js → chunk-LM7GN5SQ.js} +1 -1
- package/dist/{chunk-VVKCEDTZ.js → chunk-M4ZP7SGR.js} +1 -1
- package/dist/{chunk-UGGISSH4.js → chunk-M773UCGU.js} +1 -1
- package/dist/{chunk-YITMIDDV.js → chunk-MNUJYXAH.js} +1 -1
- package/dist/{chunk-FBHV5HIP.js → chunk-MWYQVXAS.js} +4 -4
- package/dist/{chunk-TDEAHWEX.js → chunk-N7RKXLJR.js} +1 -1
- package/dist/{chunk-Z4L3R6UU.js → chunk-NMADZVTC.js} +1 -1
- package/dist/{chunk-PRU3HRGX.js → chunk-NXKCIKW6.js} +16 -16
- package/dist/{chunk-IWU3QQXI.js → chunk-O5BD64JZ.js} +1 -1
- package/dist/{chunk-LRCPKBFY.js → chunk-P2CXRTW4.js} +7 -7
- package/dist/{chunk-K36ZA3KL.js → chunk-Q3YKGLZ6.js} +2 -2
- package/dist/{chunk-GZMWTWC5.js → chunk-QZESFXVG.js} +4 -4
- package/dist/{chunk-4PQK2E6F.js → chunk-R4JAJBHJ.js} +1 -1
- package/dist/{chunk-QQVCYJ3I.js → chunk-RDRUCPFL.js} +7 -7
- package/dist/{chunk-STOOLWMG.js → chunk-SJ2UBLL7.js} +2 -2
- package/dist/{chunk-63PDFOKG.js → chunk-SJWGQ5LF.js} +3 -3
- package/dist/{chunk-GIX4TVRM.js → chunk-SZMGZ3C5.js} +21 -4
- package/dist/{chunk-UJR2DFED.js → chunk-SZXRQXXN.js} +3 -3
- package/dist/{chunk-XAEMSYXQ.js → chunk-UKQ5MEOA.js} +1 -1
- package/dist/{chunk-TFTPNS6R.js → chunk-V2FIT7FQ.js} +5 -5
- package/dist/{chunk-ZAAYMC7X.js → chunk-VA573E2C.js} +1 -1
- package/dist/{chunk-YZIESS3R.js → chunk-VAAODK2Q.js} +4 -4
- package/dist/{chunk-YGDRJZDL.js → chunk-VFZEUKWI.js} +1 -1
- package/dist/{chunk-LVHTTUGF.js → chunk-VMUXNGA7.js} +11 -11
- package/dist/{chunk-FBJFTOCJ.js → chunk-WSROHGWN.js} +12 -12
- package/dist/{chunk-6GF2JWI6.js → chunk-XB4GIETP.js} +1 -1
- package/dist/{chunk-YUO2WNDQ.js → chunk-XCGE5N3Z.js} +2 -2
- package/dist/{chunk-K7MEMCFJ.js → chunk-XKF5SCK3.js} +3 -3
- package/dist/{chunk-44WHETMS.js → chunk-XU4SUZX3.js} +10 -10
- package/dist/{chunk-WYAGS2L6.js → chunk-XY24PHAC.js} +6 -6
- package/dist/{chunk-UIMKOA23.js → chunk-ZA4AJIOD.js} +3 -3
- package/dist/{codex-app-cards-switch-EPNSIXTL.js → codex-app-cards-switch-FBXQXZ4I.js} +12 -11
- package/dist/{codex-card-routing-D32RHFLK.js → codex-card-routing-5CT7DOHG.js} +2 -2
- package/dist/{codex-desktop-launch-6RNIMOUV.js → codex-desktop-launch-AYVX5Y6L.js} +3 -3
- package/dist/{codex-session-launch-U2FWWVEH.js → codex-session-launch-UM3D3IX4.js} +20 -20
- package/dist/{config-5K6TBO3D.js → config-SZ2H3UZ3.js} +3 -3
- package/dist/{global-upgrade-A5ZCPOES.js → global-upgrade-26NPVCAL.js} +9 -9
- package/dist/{identity-GOG4UBHM.js → identity-5A6DVNBA.js} +4 -4
- package/dist/{live-capabilities-KLUTEUZX.js → live-capabilities-3MRTSUZ4.js} +4 -4
- package/dist/{paths-UUHG2JRC.js → paths-ZLR4ZVF4.js} +3 -3
- package/dist/reapply-T37X6H55.js +76 -0
- package/dist/src/index.js +34 -33
- package/dist/{upgrade-lock-SWYNQVNQ.js → upgrade-lock-27EWUBDP.js} +4 -4
- package/dist/{usage-JIV4LAHK.js → usage-ZZMBG3QZ.js} +3 -3
- package/package.json +2 -1
- package/dist/reapply-7AJEDJGK.js +0 -75
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
phoneApprovalSourceFor,
|
|
5
5
|
rememberPhoneApproval,
|
|
6
6
|
takePhoneApproval
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EQDLUHZJ.js";
|
|
8
8
|
import {
|
|
9
9
|
claudeSettingsLocationFor,
|
|
10
10
|
readClaudePermissionRules
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GFFNJ3DO.js";
|
|
12
12
|
import {
|
|
13
13
|
defersToNativeMode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GQLHV36Q.js";
|
|
15
15
|
import {
|
|
16
16
|
reportMachineDenial
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-K3VUIJLP.js";
|
|
18
18
|
import {
|
|
19
19
|
isGatingMoment,
|
|
20
20
|
recordKeylessMoment
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NMADZVTC.js";
|
|
22
22
|
import {
|
|
23
23
|
isAdmitted,
|
|
24
24
|
readAdmissionRules
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-C75GX2HY.js";
|
|
26
26
|
import {
|
|
27
27
|
activeHookSource,
|
|
28
28
|
activeIdentity,
|
|
29
29
|
namedSource
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6HGAY3R6.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_SESSION,
|
|
33
33
|
allow,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
storedWaitDeadline,
|
|
69
69
|
sweepFilesOlderThan,
|
|
70
70
|
userScope
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-VMUXNGA7.js";
|
|
72
72
|
import {
|
|
73
73
|
UNNAMED_ACTION,
|
|
74
74
|
deriveAction,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
patchDeletesFiles,
|
|
80
80
|
permissionDeniedAction,
|
|
81
81
|
scopePathFor
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-IXLXPPSD.js";
|
|
83
83
|
import {
|
|
84
84
|
askUser,
|
|
85
85
|
cancelQuestion,
|
|
@@ -93,30 +93,30 @@ import {
|
|
|
93
93
|
sendNotification,
|
|
94
94
|
waitForQuestion,
|
|
95
95
|
withdrawQuestion
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-3REBHADE.js";
|
|
97
97
|
import {
|
|
98
98
|
branchFor,
|
|
99
99
|
projectNameFor,
|
|
100
100
|
repoKeyFor,
|
|
101
101
|
repositoryScopeFor
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-R4JAJBHJ.js";
|
|
103
103
|
import {
|
|
104
104
|
getMachineId
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-MNUJYXAH.js";
|
|
106
106
|
import {
|
|
107
107
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
109
109
|
import {
|
|
110
110
|
getApiKey,
|
|
111
111
|
getBaseUrl,
|
|
112
112
|
isMalformedApiKeyError
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-5UXIPTWM.js";
|
|
114
114
|
import {
|
|
115
115
|
writeFileAtomic
|
|
116
116
|
} from "./chunk-PM2NRK6Y.js";
|
|
117
117
|
import {
|
|
118
118
|
NPX_LATEST_COMMAND
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-VA573E2C.js";
|
|
120
120
|
import {
|
|
121
121
|
AGENT_QUESTION_STRATEGY,
|
|
122
122
|
AGENT_QUESTION_TOOL,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
terminalStaysLiveForTheCall,
|
|
186
186
|
timeoutActionWithoutLocalPrompt,
|
|
187
187
|
unapprovedScopeReason
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
189
189
|
|
|
190
190
|
// src/terminal-answer-watch.ts
|
|
191
191
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computerOsOfPlatform,
|
|
3
3
|
isComputerAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
5
5
|
|
|
6
6
|
// src/setup/phone-check.ts
|
|
7
7
|
var NO_AGENT_CONNECTED_LINE = "Skipping the phone step: no agent was connected, so nothing could ask you anything on your phone yet.";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
openCodePluginArgv,
|
|
4
4
|
openCodePluginModule,
|
|
5
5
|
renderOpenCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CIJG74KZ.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENCODE_FAILED_EVENT,
|
|
9
9
|
OPENCODE_IDLE_EVENT,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
OPENCODE_PLUGIN_SIBLING,
|
|
13
13
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
14
14
|
OPENCODE_SUBAGENT_IDLE_EVENT
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LM7GN5SQ.js";
|
|
16
16
|
import {
|
|
17
17
|
compatibleConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6HGAY3R6.js";
|
|
19
19
|
import {
|
|
20
20
|
hookOwnerOf,
|
|
21
21
|
hookOwnerOfCommands
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2ODXKLNT.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_CHOICES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FM4ULVPT.js";
|
|
26
26
|
import {
|
|
27
27
|
OPENCODE_INSTRUCTIONS_LABEL,
|
|
28
28
|
bridgeStub,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveBridgeStub,
|
|
37
37
|
vscodePluginDir,
|
|
38
38
|
windowsNodeLauncherFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
40
40
|
import {
|
|
41
41
|
readJsonSafe
|
|
42
42
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
OPENCODE_APPROVAL_EVENT,
|
|
47
47
|
hookCompatibleProfile,
|
|
48
48
|
isRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
50
50
|
|
|
51
51
|
// src/opencode-config.ts
|
|
52
52
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XCGE5N3Z.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-SZMGZ3C5.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-WHB622LP.js";
|
|
5
5
|
import {
|
|
6
6
|
keyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6S6ASGR3.js";
|
|
8
8
|
import {
|
|
9
9
|
keyPrefixToShow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5UXIPTWM.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VA573E2C.js";
|
|
14
14
|
import {
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/key-account.ts
|
|
19
19
|
var isKeyHeldByMacApp = (key, holder) => holder.macAppInstalled && holder.macAppKey === key;
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IFQROMKD.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SJ2UBLL7.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M4ZP7SGR.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl,
|
|
14
14
|
checkApiKey,
|
|
15
15
|
describeKeyCheck,
|
|
16
16
|
keyCheckFromResponse
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZA4AJIOD.js";
|
|
18
18
|
import {
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6S6ASGR3.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5UXIPTWM.js";
|
|
24
24
|
import {
|
|
25
25
|
EXIT
|
|
26
26
|
} from "./chunk-BG4HHB7E.js";
|
|
27
27
|
import {
|
|
28
28
|
KEY_SCOPE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZA4AJIOD.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETUP_FLAGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FM4ULVPT.js";
|
|
4
4
|
import {
|
|
5
5
|
parseFlags
|
|
6
6
|
} from "./chunk-BZIBNSQE.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VA573E2C.js";
|
|
13
13
|
import {
|
|
14
14
|
CLAUDE_CONNECTOR_GUIDE,
|
|
15
15
|
CLAUDE_CONNECTOR_STEPS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
CLAUDE_CONNECTOR_URL,
|
|
18
18
|
COWORK_CONNECTOR_LIMIT,
|
|
19
19
|
COWORK_STANDING_INSTRUCTIONS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/cowork.ts
|
|
23
23
|
import { readFileSync } from "fs";
|
|
@@ -8170,7 +8170,11 @@ var WRAPPER_SYNTAX = /* @__PURE__ */ new Map([
|
|
|
8170
8170
|
"-t",
|
|
8171
8171
|
"--type",
|
|
8172
8172
|
"-D",
|
|
8173
|
-
"--chdir"
|
|
8173
|
+
"--chdir",
|
|
8174
|
+
"-R",
|
|
8175
|
+
"--chroot",
|
|
8176
|
+
"-T",
|
|
8177
|
+
"--command-timeout"
|
|
8174
8178
|
])],
|
|
8175
8179
|
["doas", wrapperSyntax(["-u", "-C"])],
|
|
8176
8180
|
["time", wrapperSyntax(["-f", "--format", "-o", "--output"])],
|
|
@@ -8199,12 +8203,25 @@ var wrapperOptionConsumesNextWord = (text3, options) => {
|
|
|
8199
8203
|
const position = shortValueOptionPosition(text3, options);
|
|
8200
8204
|
return position !== -1 && position === text3.length - 1;
|
|
8201
8205
|
};
|
|
8202
|
-
var
|
|
8206
|
+
var knownWrapperOption = (text3, syntax, flags) => {
|
|
8207
|
+
if (text3.startsWith("--")) {
|
|
8208
|
+
const [name] = text3.split("=", 1);
|
|
8209
|
+
return name !== void 0 && (syntax.optionsWithAValue.has(name) || flags.includes(name));
|
|
8210
|
+
}
|
|
8211
|
+
for (const letter of text3.slice(1)) {
|
|
8212
|
+
const option = `-${letter}`;
|
|
8213
|
+
if (syntax.optionsWithAValue.has(option)) return true;
|
|
8214
|
+
if (!flags.includes(option)) return false;
|
|
8215
|
+
}
|
|
8216
|
+
return true;
|
|
8217
|
+
};
|
|
8218
|
+
var commandStartAfterWrapper = (words, syntax, knownFlags) => {
|
|
8203
8219
|
let index = 0;
|
|
8204
8220
|
while (index < words.length) {
|
|
8205
8221
|
const text3 = words[index]?.text ?? "";
|
|
8206
8222
|
if (text3 === END_OF_OPTIONS4) return index + 1 + syntax.operandsBeforeTheCommand;
|
|
8207
8223
|
if (!SHELL_ENV_ASSIGNMENT.test(text3) && (!FLAG.test(text3) || text3 === STANDARD_INPUT_ARGUMENT)) break;
|
|
8224
|
+
if (knownFlags && FLAG.test(text3) && !knownWrapperOption(text3, syntax, knownFlags)) return -1;
|
|
8208
8225
|
index += wrapperOptionConsumesNextWord(text3, syntax.optionsWithAValue) ? 2 : 1;
|
|
8209
8226
|
}
|
|
8210
8227
|
return index + syntax.operandsBeforeTheCommand;
|
|
@@ -8215,14 +8232,14 @@ var envWrappedInvocation = (args) => {
|
|
|
8215
8232
|
const command = args[reading.start];
|
|
8216
8233
|
return command === void 0 ? null : { program: command, args: args.slice(reading.start + 1) };
|
|
8217
8234
|
};
|
|
8218
|
-
var wrappedInvocation = ({ program, args }) => {
|
|
8235
|
+
var wrappedInvocation = ({ program, args }, knownFlags) => {
|
|
8219
8236
|
if (program === void 0) return null;
|
|
8220
8237
|
if (basenameOf(program.text) === ENV) return envWrappedInvocation(args);
|
|
8221
8238
|
const assigns = SHELL_ENV_ASSIGNMENT.test(program.text);
|
|
8222
8239
|
const syntax = assigns ? ENVIRONMENT_ASSIGNMENTS : WRAPPER_SYNTAX.get(basenameOf(program.text));
|
|
8223
8240
|
if (syntax === void 0) return null;
|
|
8224
8241
|
const words = assigns ? [program, ...args] : args;
|
|
8225
|
-
const start = commandStartAfterWrapper(words, syntax);
|
|
8242
|
+
const start = commandStartAfterWrapper(words, syntax, knownFlags);
|
|
8226
8243
|
const command = words[start];
|
|
8227
8244
|
return command === void 0 ? null : { program: command, args: words.slice(start + 1) };
|
|
8228
8245
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2ODXKLNT.js";
|
|
4
4
|
import {
|
|
5
5
|
bridgeResolvesToApp,
|
|
6
6
|
cursorUserHooks,
|
|
7
7
|
executableFileName,
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionWindowOf
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VMUXNGA7.js";
|
|
4
4
|
import {
|
|
5
5
|
UNNAMED_ACTION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IXLXPPSD.js";
|
|
7
7
|
import {
|
|
8
8
|
ASK_USER_TIMEOUT_MS,
|
|
9
9
|
WAIT_END_TIMEOUT_MS,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
askUser,
|
|
12
12
|
unavailableQuestionUnlessRefused,
|
|
13
13
|
waitForQuestion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3REBHADE.js";
|
|
15
15
|
import {
|
|
16
16
|
getMachineId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MNUJYXAH.js";
|
|
18
18
|
import {
|
|
19
19
|
hookMaxWaitSeconds,
|
|
20
20
|
hookWaitClamped,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
refusesWhenUnanswered,
|
|
25
25
|
ruleApprovesAfterItsFullWindow,
|
|
26
26
|
scopeBreachReasonOf
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
28
28
|
|
|
29
29
|
// src/pushed-question.ts
|
|
30
30
|
var scopeQuestionOf = (verdict) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile,
|
|
3
3
|
hasCompatibleHooks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6HGAY3R6.js";
|
|
5
5
|
import {
|
|
6
6
|
pusharyHookExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2ODXKLNT.js";
|
|
8
8
|
import {
|
|
9
9
|
isProtectedByScope,
|
|
10
10
|
registerHookEntry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
15
15
|
|
|
16
16
|
// src/cursor-config.ts
|
|
17
17
|
var hookCommandOf = (entry) => {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toolResultErrorText,
|
|
30
30
|
transcriptTokensIn,
|
|
31
31
|
transcriptUsageRequest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IXLXPPSD.js";
|
|
33
33
|
import {
|
|
34
34
|
askUser,
|
|
35
35
|
cancelQuestion,
|
|
@@ -45,37 +45,37 @@ import {
|
|
|
45
45
|
waitForOpenQuestion,
|
|
46
46
|
waitForQuestion,
|
|
47
47
|
writeDegraded
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3REBHADE.js";
|
|
49
49
|
import {
|
|
50
50
|
RETRY_ACK,
|
|
51
51
|
readCommandAck,
|
|
52
52
|
refusedReceiptMessage
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-XB4GIETP.js";
|
|
54
54
|
import {
|
|
55
55
|
SubscriptionRequiredError,
|
|
56
56
|
isRetryable,
|
|
57
57
|
withRetry
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2U735XOK.js";
|
|
59
59
|
import {
|
|
60
60
|
fetchAsCredential
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-M773UCGU.js";
|
|
62
62
|
import {
|
|
63
63
|
branchFor,
|
|
64
64
|
projectNameFor,
|
|
65
65
|
repoKeyFor
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-R4JAJBHJ.js";
|
|
67
67
|
import {
|
|
68
68
|
getMachineId
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-MNUJYXAH.js";
|
|
70
70
|
import {
|
|
71
71
|
reportedInstallSource
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-6JVSKDBD.js";
|
|
73
73
|
import {
|
|
74
74
|
IDLE_PROMPT_NOTIFICATION,
|
|
75
75
|
NOTIFICATION_PUSH_TYPES,
|
|
76
76
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
77
77
|
claudeConfigDir
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
79
79
|
import {
|
|
80
80
|
compareVersion,
|
|
81
81
|
parseVersion
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
getApiKey,
|
|
85
85
|
getBaseUrl,
|
|
86
86
|
isMalformedApiKeyError
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5UXIPTWM.js";
|
|
88
88
|
import {
|
|
89
89
|
writeFileAtomic,
|
|
90
90
|
writeJsonAtomicDurable
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
resolvePolicy,
|
|
152
152
|
unansweredRefusalReason,
|
|
153
153
|
waitsForThePhone
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
155
155
|
|
|
156
156
|
// src/pending.ts
|
|
157
157
|
import { join } from "path";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XKF5SCK3.js";
|
|
9
9
|
import {
|
|
10
10
|
hermesReceiptPaths,
|
|
11
11
|
hermesSetupPredatesThePluginFolder,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
refreshHermesPluginFiles,
|
|
15
15
|
refreshOpenClawPlugin,
|
|
16
16
|
shippedHermesPlugin
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3HGWR547.js";
|
|
18
18
|
import {
|
|
19
19
|
fxIgnoresInstructionsFile,
|
|
20
20
|
fxInstructionsBody,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
macAppFxBridge,
|
|
24
24
|
refreshClineKey,
|
|
25
25
|
switchFxHttpEntryToBridge
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ERYXHBTE.js";
|
|
27
27
|
import {
|
|
28
28
|
OPENCODE_HOOK_BINARY,
|
|
29
29
|
agentHookOwner,
|
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
openCodePluginDir,
|
|
37
37
|
openCodeWired,
|
|
38
38
|
withOpenCodeAskRules
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-P2CXRTW4.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-24MGJAU6.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6HGAY3R6.js";
|
|
49
49
|
import {
|
|
50
50
|
GEMINI_HOOK_BINARY,
|
|
51
51
|
addGeminiHooks,
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
geminiWired,
|
|
58
58
|
hasGeminiHooks,
|
|
59
59
|
planHooks
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2ODXKLNT.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CZ4EG35M.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-6S6ASGR3.js";
|
|
67
67
|
import {
|
|
68
68
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
69
69
|
CLAUDE_HOOK_BINARY,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
renderAgentInstructions,
|
|
111
111
|
supportedClaudeEvents,
|
|
112
112
|
vscodePluginMcp
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
114
114
|
import {
|
|
115
115
|
formatVersion
|
|
116
116
|
} from "./chunk-6ICPEJY5.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
hookCommandsUseBareNames,
|
|
119
119
|
resolveGlobalBinDir,
|
|
120
120
|
resolveGlobalBinary
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-MWYQVXAS.js";
|
|
122
122
|
import {
|
|
123
123
|
readJsonSafe,
|
|
124
124
|
writeFileAtomic,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
HOOK_COMPATIBLE_PROFILES,
|
|
129
129
|
isCompatibleAgentType,
|
|
130
130
|
isRecord
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
132
132
|
|
|
133
133
|
// src/reapply.ts
|
|
134
134
|
import { dirname, join } from "path";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
quoteIfNeeded,
|
|
7
7
|
shellDoubleQuoted
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MWYQVXAS.js";
|
|
9
9
|
import {
|
|
10
10
|
writeFileAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
PUSHARY_HOSTS,
|
|
25
25
|
PUSHARY_TOOL_PREFIX,
|
|
26
26
|
withHookHoldBudget
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SZMGZ3C5.js";
|
|
28
28
|
|
|
29
29
|
// src/setup/paths.ts
|
|
30
30
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceNodeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DYTDYNKC.js";
|
|
4
4
|
import {
|
|
5
5
|
OWNER_ONLY_FILE_MODE,
|
|
6
6
|
readOwnerOnlyJson
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
codexHome,
|
|
15
15
|
codexHooksJsonIn,
|
|
16
16
|
isPusharyCodexCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XCGE5N3Z.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_WINDOWS_PATHEXT,
|
|
20
20
|
DIRECTLY_STARTABLE_EXTENSIONS,
|
|
21
21
|
plannedGlobalPackage,
|
|
22
22
|
readGlobalPrefix,
|
|
23
23
|
resolvePathBinary
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MWYQVXAS.js";
|
|
25
25
|
import {
|
|
26
26
|
getPackageVersion,
|
|
27
27
|
globalTranscriptRegisterEntry
|