pushary 1.9.177 → 1.9.179
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 +14 -0
- package/dist/{api-MOK62OPO.js → api-YH7WN4FA.js} +21 -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 +108 -54
- 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 +102 -78
- package/dist/bin/pushary-disconnect.js +29 -29
- package/dist/bin/pushary-display-hook.js +22 -1
- package/dist/bin/pushary-doctor.js +62 -48
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +20 -33
- 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-bridge.d.ts +1 -0
- package/dist/bin/pushary-opencode-bridge.js +576 -0
- 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 +58 -58
- 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 +45 -44
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-2SFXPVAE.js → chunk-2HMDWEER.js} +1 -1
- package/dist/{chunk-7ZDL4EOA.js → chunk-2JSTCD7L.js} +2 -2
- package/dist/{chunk-GOL7TCMO.js → chunk-32YARQJC.js} +5 -5
- package/dist/{chunk-2HREYLQL.js → chunk-3BZ7IGGW.js} +5 -5
- package/dist/{chunk-G2RTHSTU.js → chunk-3JXSIPLF.js} +1 -1
- package/dist/{chunk-N7GV4Y5B.js → chunk-3NTAU6DN.js} +2 -2
- package/dist/{chunk-BTOP6AHZ.js → chunk-65CSOPQW.js} +12 -25
- package/dist/{chunk-MNWUZ4JH.js → chunk-6BIC2SHE.js} +2 -2
- package/dist/{chunk-FLEDJCTE.js → chunk-6KF26UUL.js} +3 -3
- package/dist/{chunk-6FFXBHVF.js → chunk-6W7Q6VB6.js} +2 -2
- package/dist/{chunk-77PUYCLF.js → chunk-7VNTZY7V.js} +90 -21
- package/dist/{chunk-A4AG42X2.js → chunk-A7G6CFZU.js} +4 -4
- package/dist/{chunk-HCW3KFL3.js → chunk-AXPZZFBW.js} +2 -2
- package/dist/{chunk-AH6FRO37.js → chunk-AYMFOYOZ.js} +9 -9
- package/dist/{chunk-UC4DTMPM.js → chunk-AYP4GE3X.js} +24 -0
- package/dist/{chunk-SOWF5BU3.js → chunk-BKZZSXEQ.js} +4 -4
- package/dist/{chunk-2O6TO2YW.js → chunk-BNZYEIBB.js} +18 -18
- package/dist/{chunk-UYBCGHGQ.js → chunk-CTJRWP6Y.js} +3 -3
- package/dist/{chunk-3HGR5T4W.js → chunk-D7GUUTOT.js} +4 -4
- package/dist/{chunk-AIM5GLBI.js → chunk-E25IZ5S3.js} +4 -4
- package/dist/{chunk-5SNBTQOU.js → chunk-EEHTVBKI.js} +6 -6
- package/dist/{chunk-R2VQ4OKM.js → chunk-FHVGZ6AN.js} +1 -1
- package/dist/{chunk-MIHH354F.js → chunk-FWUF33U6.js} +2 -2
- package/dist/{chunk-XWG4PSQL.js → chunk-HGP2DDW3.js} +1 -1
- package/dist/{chunk-WVU5TTRU.js → chunk-HNQ2FIBA.js} +2 -2
- package/dist/{chunk-FUSZOEZK.js → chunk-HOVBZBAJ.js} +4 -4
- package/dist/{chunk-5OBLFHMG.js → chunk-I4XCADTT.js} +1 -1
- package/dist/{chunk-M7LXGZM6.js → chunk-I6AMLYXS.js} +4 -4
- package/dist/{chunk-NNWUE7PY.js → chunk-INUW2CXK.js} +6 -6
- package/dist/{chunk-2HK3KVEJ.js → chunk-IV4ZY2DS.js} +5 -5
- package/dist/{chunk-OU4FPSNZ.js → chunk-J5PTUQMF.js} +3 -3
- package/dist/{chunk-5YUBUJ6F.js → chunk-JDNQC5IG.js} +5 -5
- package/dist/{chunk-JH6IUXXS.js → chunk-JMPC7HL6.js} +6 -6
- package/dist/{chunk-JLOOLENK.js → chunk-JSSCR6M2.js} +2 -2
- package/dist/{chunk-KLPOTV4Q.js → chunk-KFLHGN4D.js} +3 -3
- package/dist/{chunk-KSRMVJ2V.js → chunk-KUB4OGLG.js} +5 -5
- package/dist/{chunk-3DFKZATL.js → chunk-M2P5KFP5.js} +3 -3
- package/dist/{chunk-AUVB3J6X.js → chunk-MIJ2P4FZ.js} +7 -7
- package/dist/{chunk-XJJ4KJF5.js → chunk-MKKRQBQF.js} +114 -15
- package/dist/{chunk-5F2GVH3H.js → chunk-MM5QO2ZY.js} +1 -1
- package/dist/{chunk-LAJ62ADY.js → chunk-MWKKUBHQ.js} +1 -1
- package/dist/{chunk-ZHVWYX5I.js → chunk-N24MKYZ2.js} +1 -1
- package/dist/{chunk-6HEYIMTE.js → chunk-N2L7E5NE.js} +5 -5
- package/dist/{chunk-IIIVVFHC.js → chunk-NEAJLLIG.js} +5 -5
- package/dist/{chunk-RQYNZJZ3.js → chunk-NX33EVEP.js} +1 -1
- package/dist/{chunk-GCAFTVYG.js → chunk-OD6JNTGZ.js} +2 -2
- package/dist/{chunk-QS4IPOAQ.js → chunk-OIFWZESQ.js} +14 -11
- package/dist/{chunk-4YBTCIIU.js → chunk-P3MYHWF5.js} +5 -5
- package/dist/{chunk-L3R3XAQC.js → chunk-PFH7XMHE.js} +1 -1
- package/dist/{chunk-HWBO3QVL.js → chunk-PJHYFHP4.js} +1 -1
- package/dist/{chunk-ZRMI7POM.js → chunk-POESL3CD.js} +1 -1
- package/dist/{chunk-2MMTYCCV.js → chunk-QMV7WS7D.js} +2 -2
- package/dist/{chunk-TIGCU3PF.js → chunk-QYGO5EKA.js} +2 -2
- package/dist/{chunk-3CWVK6BS.js → chunk-RM3F4V6A.js} +64 -15
- package/dist/{chunk-RSRWMXEM.js → chunk-RM3YENVK.js} +3 -3
- package/dist/{chunk-UOM2JOQZ.js → chunk-RVIYAQC7.js} +2 -2
- package/dist/{chunk-CUE6IPNE.js → chunk-S7X3PENP.js} +6 -6
- package/dist/{chunk-G2T7S5RU.js → chunk-SV6AMA7J.js} +10 -10
- package/dist/{chunk-DOCNSQOB.js → chunk-SYIAWMBA.js} +6 -6
- package/dist/{chunk-SV7PLR6Z.js → chunk-TVBND3VL.js} +2 -2
- package/dist/{chunk-CEMYK6BM.js → chunk-UJUXZCQS.js} +6 -6
- package/dist/{chunk-NWO4GVKC.js → chunk-VOWNWXVE.js} +38 -10
- package/dist/{chunk-4PRJDA3J.js → chunk-W27VNI6G.js} +1 -1
- package/dist/{chunk-IR5B5EQI.js → chunk-WDPIZXCZ.js} +3 -3
- package/dist/{chunk-KX2SWWSD.js → chunk-WII73NRE.js} +1 -1
- package/dist/{chunk-J3V4CBKZ.js → chunk-WIKPDEOR.js} +29 -8
- package/dist/{chunk-FDB2VMJM.js → chunk-WMHXZDUT.js} +2 -2
- package/dist/{chunk-NSR3ZTUJ.js → chunk-XJG7YRF7.js} +3 -3
- package/dist/{chunk-W7KAVPQP.js → chunk-XOVAERD7.js} +1 -1
- package/dist/{chunk-EXK47DWS.js → chunk-XQGU77H7.js} +4 -4
- package/dist/{chunk-DN5FNT3O.js → chunk-XWWD2KTY.js} +22 -1
- package/dist/{chunk-LGKFRWQL.js → chunk-Y5BRXPL6.js} +1 -1
- package/dist/{chunk-QBIALYLY.js → chunk-YRGDHBS5.js} +4 -4
- package/dist/{chunk-EHFUVDRM.js → chunk-YXLJTIGG.js} +4 -4
- package/dist/{chunk-MIRXACOR.js → chunk-Z2DAWG5U.js} +6 -1
- package/dist/{chunk-QES7CGHR.js → chunk-ZMJKA7CF.js} +5 -5
- package/dist/{chunk-VOPORKYP.js → chunk-ZMSQQVVY.js} +1 -1
- package/dist/{chunk-LEWVT2A2.js → chunk-ZNCRZNLJ.js} +1 -1
- package/dist/{chunk-JWMS3WIN.js → chunk-ZPHPNTGW.js} +1 -1
- package/dist/{chunk-L7MROSFJ.js → chunk-ZTNGM6NU.js} +3 -3
- package/dist/{codex-app-cards-switch-VUX7FUBE.js → codex-app-cards-switch-RDVTCDVO.js} +11 -11
- package/dist/{codex-card-routing-F6PBOHKA.js → codex-card-routing-XUYIRUB7.js} +2 -2
- package/dist/{codex-desktop-launch-DHE24VP2.js → codex-desktop-launch-EX3E3T3Q.js} +1 -1
- package/dist/{codex-session-launch-5QMO4UNL.js → codex-session-launch-TDEWJ3G6.js} +20 -20
- package/dist/{config-VEUG5WVO.js → config-XDZZTOHU.js} +3 -3
- package/dist/{global-upgrade-TE6N2LPD.js → global-upgrade-QVFP4F7D.js} +9 -9
- package/dist/{identity-RUUBB2GE.js → identity-Q5HWBCJY.js} +4 -4
- package/dist/{live-capabilities-CATPYBSX.js → live-capabilities-G5FB5VBL.js} +28 -4
- package/dist/{paths-LE4WLG45.js → paths-IVCUVJM6.js} +3 -3
- package/dist/{reapply-4BTKZGKT.js → reapply-MQTAPBPH.js} +31 -31
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +35 -35
- package/dist/{upgrade-lock-HU2F5X57.js → upgrade-lock-Y56NERM5.js} +4 -4
- package/dist/{usage-UMIDTEI3.js → usage-J7O2QQEQ.js} +3 -3
- package/package.json +2 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-32YARQJC.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PJHYFHP4.js";
|
|
7
7
|
import {
|
|
8
8
|
NPX_LATEST_COMMAND
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MWKKUBHQ.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp-stdio-bridge.ts
|
|
12
12
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDPIZXCZ.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AYP4GE3X.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-INUW2CXK.js";
|
|
4
4
|
import {
|
|
5
5
|
matchMacAccountStep,
|
|
6
6
|
retryAgentCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CTJRWP6Y.js";
|
|
8
8
|
import {
|
|
9
9
|
canChangeApprovalSettings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RVIYAQC7.js";
|
|
11
11
|
import {
|
|
12
12
|
EXIT
|
|
13
13
|
} from "./chunk-BG4HHB7E.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND,
|
|
16
16
|
npmExecSetupCommandFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MWKKUBHQ.js";
|
|
18
18
|
import {
|
|
19
19
|
LATEST_DIST_TAG
|
|
20
20
|
} from "./chunk-UQTQ6HPO.js";
|
|
@@ -119,8 +119,8 @@ var PHONE_START_CANNOT_RUN_LINE = "Agent configuration and managed control are s
|
|
|
119
119
|
var STOP_REQUIRING_PHONE_START_STEP = `${NPX_LATEST_COMMAND} setup --control off stop requiring phone-start on this computer`;
|
|
120
120
|
var WHAT_PHONE_START_NEEDS = {
|
|
121
121
|
provider: [
|
|
122
|
-
"It needs Claude Code, Codex
|
|
123
|
-
"It looks for claude, codex and
|
|
122
|
+
"It needs Claude Code, Codex, Gemini CLI or OpenCode 2 set up here with a command it can start, and setup found none.",
|
|
123
|
+
"It looks for claude, codex, gemini and opencode on PATH and in npm's global folder, for claude in Claude Code's own install folder, and for opencode in ~/.opencode/bin and OpenCode.app too.",
|
|
124
124
|
"Install one, or open a terminal where it runs, then run setup again."
|
|
125
125
|
],
|
|
126
126
|
"service-manager": [
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EEHTVBKI.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YRGDHBS5.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z2DAWG5U.js";
|
|
13
13
|
import {
|
|
14
14
|
buildTranscriptRecords,
|
|
15
15
|
changedRecipientsMessage,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
uploadTranscriptRecords,
|
|
25
25
|
verifyAnchoredRecipients,
|
|
26
26
|
wrapSessionKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M2P5KFP5.js";
|
|
28
28
|
import {
|
|
29
29
|
external_exports,
|
|
30
30
|
ownedOnlyByThisUser,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
transcriptEnvironmentPreference,
|
|
35
35
|
transcriptsEnabled
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3JXSIPLF.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchAsCredential
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PJHYFHP4.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZTNGM6NU.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
46
46
|
pusharyDir
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3NTAU6DN.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey,
|
|
50
50
|
getBaseUrl
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
52
52
|
import {
|
|
53
53
|
writeJsonAtomic,
|
|
54
54
|
writeJsonAtomicDurable
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
isHookSource,
|
|
61
61
|
isRecord,
|
|
62
62
|
redactSecretsFromContent
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-AYP4GE3X.js";
|
|
64
64
|
|
|
65
65
|
// src/transcript-registration.ts
|
|
66
66
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
openCodePluginArgv,
|
|
11
11
|
openCodePluginModule,
|
|
12
12
|
renderOpenCodePlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WIKPDEOR.js";
|
|
14
14
|
import {
|
|
15
15
|
compatibleConfigFile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N2L7E5NE.js";
|
|
17
17
|
import {
|
|
18
18
|
hookOwnerOf,
|
|
19
19
|
hookOwnerOfCommands
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YRGDHBS5.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_CHOICES
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I4XCADTT.js";
|
|
24
24
|
import {
|
|
25
25
|
OPENCODE_INSTRUCTIONS_LABEL,
|
|
26
26
|
bridgeStub,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
resolveBridgeStub,
|
|
35
35
|
vscodePluginDir,
|
|
36
36
|
windowsNodeLauncherFor
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-3NTAU6DN.js";
|
|
38
38
|
import {
|
|
39
39
|
readJsonSafe
|
|
40
40
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
OPENCODE_APPROVAL_EVENT,
|
|
45
45
|
hookCompatibleProfile,
|
|
46
46
|
isRecord
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-AYP4GE3X.js";
|
|
48
48
|
|
|
49
49
|
// src/opencode-config.ts
|
|
50
50
|
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-3NTAU6DN.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-AYP4GE3X.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-INUW2CXK.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-W27VNI6G.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WDPIZXCZ.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HNQ2FIBA.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MWKKUBHQ.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AYP4GE3X.js";
|
|
46
46
|
|
|
47
47
|
// src/onboarding.ts
|
|
48
48
|
import qrcodeTerminal from "qrcode-terminal";
|
|
@@ -1,46 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UNNAMED_ACTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z2DAWG5U.js";
|
|
4
4
|
import {
|
|
5
|
+
WAIT_END_TIMEOUT_MS,
|
|
6
|
+
WITHDRAW_AT_THE_DEADLINE,
|
|
5
7
|
askUser,
|
|
6
8
|
isAwayPaused,
|
|
7
9
|
isLocalQuestionHandoff,
|
|
8
10
|
unavailableQuestionUnlessRefused,
|
|
9
11
|
waitForQuestion
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RM3F4V6A.js";
|
|
11
13
|
import {
|
|
12
14
|
getMachineId
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PFH7XMHE.js";
|
|
14
16
|
import {
|
|
17
|
+
hookMaxWaitSeconds,
|
|
15
18
|
hookWaitClamped,
|
|
16
19
|
hookWaitDeadline,
|
|
20
|
+
refusesWhenUnanswered,
|
|
21
|
+
ruleApprovesAfterItsFullWindow,
|
|
17
22
|
scopeBreachReasonOf
|
|
18
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AYP4GE3X.js";
|
|
19
24
|
|
|
20
25
|
// src/pushed-question.ts
|
|
21
26
|
var scopeQuestionOf = (verdict) => {
|
|
22
27
|
const reason = scopeBreachReasonOf(verdict);
|
|
23
28
|
return reason !== void 0 && verdict.kind === "gate" ? { reason, path: verdict.scopePath } : void 0;
|
|
24
29
|
};
|
|
30
|
+
var keepsTheQuestionOpenAtTheDeadline = (question) => question.mode === "push_only" && !question.paused && !question.scopeAsk && !refusesWhenUnanswered(question) && !ruleApprovesAfterItsFullWindow(question);
|
|
31
|
+
var openQuestionCallOf = (question, wait) => {
|
|
32
|
+
const toolUseId = question.decision.toolUseId;
|
|
33
|
+
return wait.rejoinable && question.sessionId && toolUseId ? { rejoinable: wait.rejoinable, toolUseId } : null;
|
|
34
|
+
};
|
|
35
|
+
var keepsTheQuestionOpen = (call, facts) => call !== null && keepsTheQuestionOpenAtTheDeadline({ ...call.rejoinable.rule, fullWindowServed: !facts.clampCut, paused: facts.paused });
|
|
36
|
+
var atTheDeadlineOf = (call, facts, machineId) => keepsTheQuestionOpen(call, facts) ? { kind: "end_wait", toolUseId: call.toolUseId, machineId } : WITHDRAW_AT_THE_DEADLINE;
|
|
37
|
+
var waitWindowAt = (wait, nowMs) => ({
|
|
38
|
+
deadline: hookWaitDeadline(wait.startMs, wait.waitSeconds, wait.agent, nowMs),
|
|
39
|
+
clampCut: hookWaitClamped(wait.startMs, wait.waitSeconds, wait.agent, nowMs)
|
|
40
|
+
});
|
|
41
|
+
var MILLISECONDS_PER_SECOND = 1e3;
|
|
42
|
+
var endedWaitPollDeadline = (deadlineMs, wait) => Math.min(deadlineMs, wait.startMs + hookMaxWaitSeconds(wait.agent) * MILLISECONDS_PER_SECOND - WAIT_END_TIMEOUT_MS);
|
|
43
|
+
var pollDeadlineOf = (deadlineMs, atDeadline, wait) => atDeadline.kind === "end_wait" ? endedWaitPollDeadline(deadlineMs, wait) : deadlineMs;
|
|
44
|
+
var rejoinFieldsOf = (call, wait, nowMs) => {
|
|
45
|
+
const window = waitWindowAt(wait, nowMs);
|
|
46
|
+
return keepsTheQuestionOpen(call, { clampCut: window.clampCut, paused: false }) ? { callFingerprint: call.rejoinable.callFingerprint, waitEndsAt: new Date(endedWaitPollDeadline(window.deadline, wait)).toISOString() } : {};
|
|
47
|
+
};
|
|
25
48
|
var pushQuestionAndWait = async (apiKey, question, wait) => {
|
|
49
|
+
const machineId = getMachineId();
|
|
50
|
+
const openQuestionCall = openQuestionCallOf(question, wait);
|
|
51
|
+
const rejoinFields = rejoinFieldsOf(openQuestionCall, wait, Date.now());
|
|
26
52
|
const creating = askUser(apiKey, {
|
|
27
53
|
question: `Allow ${question.description || UNNAMED_ACTION}?`,
|
|
28
54
|
type: "confirm",
|
|
29
55
|
context: `Agent wants to run this in ${question.projectName}`,
|
|
30
56
|
agentName: question.agentName,
|
|
31
57
|
sessionId: question.sessionId,
|
|
32
|
-
machineId
|
|
58
|
+
machineId,
|
|
33
59
|
toolName: question.toolName,
|
|
34
60
|
toolTarget: question.toolTarget,
|
|
35
|
-
...question.decision
|
|
61
|
+
...question.decision,
|
|
62
|
+
...rejoinFields
|
|
36
63
|
});
|
|
37
64
|
const created = await (wait.askFailure === "wait_as_unavailable" ? creating.catch(unavailableQuestionUnlessRefused) : creating);
|
|
38
65
|
wait.onQuestionCreated?.(created.correlationId);
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const answer = await waitForQuestion(apiKey, created, deadline, wait.pollIntervalMs, wait.signal);
|
|
66
|
+
const { deadline, clampCut } = waitWindowAt(wait, Date.now());
|
|
67
|
+
const askedToStayOpen = rejoinFields.callFingerprint === void 0 ? null : openQuestionCall;
|
|
68
|
+
const atDeadline = atTheDeadlineOf(askedToStayOpen, { clampCut, paused: isAwayPaused(created) }, machineId);
|
|
69
|
+
const answer = await waitForQuestion(apiKey, created, pollDeadlineOf(deadline, atDeadline, wait), wait.pollIntervalMs, wait.signal, atDeadline);
|
|
43
70
|
return {
|
|
71
|
+
correlationId: created.correlationId,
|
|
44
72
|
answer,
|
|
45
73
|
localHandoff: !answer.answered && isLocalQuestionHandoff(created),
|
|
46
74
|
clampCut,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XJG7YRF7.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPHPNTGW.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-AYP4GE3X.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;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HOOK_BUDGETS,
|
|
4
4
|
KILL_REASON,
|
|
5
5
|
OPENCODE_APPROVAL_EVENT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AYP4GE3X.js";
|
|
7
7
|
|
|
8
8
|
// src/opencode-plugin.ts
|
|
9
9
|
var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
|
|
@@ -39,6 +39,19 @@ var OPENCODE_SERVICE_REVERIFY_MS = 2e3;
|
|
|
39
39
|
var OPENCODE_SETTLED_ELSEWHERE_STATUSES = [404, 409];
|
|
40
40
|
var OPENCODE_CLI_BRIDGES_QUESTIONS = true;
|
|
41
41
|
var OPENCODE_SERVICE_REQUEST_TIMEOUT_MS = 5e3;
|
|
42
|
+
var OPENCODE_STATE_DIRECTORY = "opencode";
|
|
43
|
+
var OPENCODE_SERVICE_REGISTRATION = /^service.*\.json$/;
|
|
44
|
+
var OPENCODE_SERVICE_USER = "opencode";
|
|
45
|
+
var OPENCODE_SERVICE_PROTOCOL = "http:";
|
|
46
|
+
var OPENCODE_SERVICE_INFO_PATH = "/api/info";
|
|
47
|
+
var OPENCODE_LOOPBACK_HOSTS = ["127.0.0.1", "[::1]"];
|
|
48
|
+
var OPENCODE_LOOPBACK_ALIASES = {
|
|
49
|
+
"0.0.0.0": "127.0.0.1",
|
|
50
|
+
localhost: "127.0.0.1",
|
|
51
|
+
"[::]": "[::1]"
|
|
52
|
+
};
|
|
53
|
+
var javaScriptArrayLiteral = (values) => `[${values.map((value) => JSON.stringify(value)).join(", ")}]`;
|
|
54
|
+
var javaScriptObjectLiteral = (record) => `{ ${Object.entries(record).map(([key, value]) => `${JSON.stringify(key)}: ${JSON.stringify(value)}`).join(", ")} }`;
|
|
42
55
|
var OPENCODE_WITHDRAW_ON_STDIN_END = "withdraw_on_stdin_end";
|
|
43
56
|
var OPENCODE_CAPABILITIES_EVENT = "pushary.capabilities";
|
|
44
57
|
var OPENCODE_HOOK_CAPABILITIES = { capabilities: [OPENCODE_WITHDRAW_ON_STDIN_END] };
|
|
@@ -88,12 +101,12 @@ const WITHDRAW_ON_STDIN_END = ${JSON.stringify(OPENCODE_WITHDRAW_ON_STDIN_END)}
|
|
|
88
101
|
const CAPABILITIES_EVENT = ${JSON.stringify(OPENCODE_CAPABILITIES_EVENT)}
|
|
89
102
|
const CAPABILITY_PROBE_TIMEOUT_MS = ${OPENCODE_CAPABILITY_PROBE_TIMEOUT_MS}
|
|
90
103
|
const QUESTION_WITHDRAW_GRACE_MS = ${OPENCODE_QUESTION_WITHDRAW_GRACE_MS}
|
|
91
|
-
const SERVICE_REGISTRATION =
|
|
92
|
-
const SERVICE_USER =
|
|
93
|
-
const SERVICE_PROTOCOL =
|
|
94
|
-
const SERVICE_INFO_PATH =
|
|
95
|
-
const LOOPBACK_HOSTS =
|
|
96
|
-
const LOOPBACK_LITERAL = {
|
|
104
|
+
const SERVICE_REGISTRATION = ${OPENCODE_SERVICE_REGISTRATION}
|
|
105
|
+
const SERVICE_USER = ${JSON.stringify(OPENCODE_SERVICE_USER)}
|
|
106
|
+
const SERVICE_PROTOCOL = ${JSON.stringify(OPENCODE_SERVICE_PROTOCOL)}
|
|
107
|
+
const SERVICE_INFO_PATH = ${JSON.stringify(OPENCODE_SERVICE_INFO_PATH)}
|
|
108
|
+
const LOOPBACK_HOSTS = ${javaScriptArrayLiteral(OPENCODE_LOOPBACK_HOSTS)}
|
|
109
|
+
const LOOPBACK_LITERAL = ${javaScriptObjectLiteral(OPENCODE_LOOPBACK_ALIASES)}
|
|
97
110
|
const NOT_FOUND = 404
|
|
98
111
|
const FORM_PENDING = "pending"
|
|
99
112
|
const QUESTION_FORM_KIND = ${JSON.stringify(OPENCODE_QUESTION_FORM_KIND)}
|
|
@@ -105,7 +118,7 @@ const SETTLED_ELSEWHERE_STATUSES = ${JSON.stringify(OPENCODE_SETTLED_ELSEWHERE_S
|
|
|
105
118
|
const REPLY_DELIVERED = "delivered"
|
|
106
119
|
const REPLY_SETTLED_ELSEWHERE = "settled_elsewhere"
|
|
107
120
|
const REPLY_REFUSED = "refused"
|
|
108
|
-
const STATE_DIRECTORY =
|
|
121
|
+
const STATE_DIRECTORY = ${JSON.stringify(OPENCODE_STATE_DIRECTORY)}
|
|
109
122
|
const TELEMETRY_TIMEOUT_MS = 10000
|
|
110
123
|
const MAX_REPLY_BYTES = 65536
|
|
111
124
|
const FORWARDED_ACTIONS = ${JSON.stringify(OPENCODE_V2_FORWARDED_ACTIONS)}
|
|
@@ -951,6 +964,14 @@ export {
|
|
|
951
964
|
OPENCODE_QUESTION_CANCELLED,
|
|
952
965
|
OPENCODE_QUESTION_UNDELIVERED_EVENT,
|
|
953
966
|
OPENCODE_QUESTION_UNREACHABLE_EVENT,
|
|
967
|
+
OPENCODE_SERVICE_REQUEST_TIMEOUT_MS,
|
|
968
|
+
OPENCODE_STATE_DIRECTORY,
|
|
969
|
+
OPENCODE_SERVICE_REGISTRATION,
|
|
970
|
+
OPENCODE_SERVICE_USER,
|
|
971
|
+
OPENCODE_SERVICE_PROTOCOL,
|
|
972
|
+
OPENCODE_SERVICE_INFO_PATH,
|
|
973
|
+
OPENCODE_LOOPBACK_HOSTS,
|
|
974
|
+
OPENCODE_LOOPBACK_ALIASES,
|
|
954
975
|
OPENCODE_CAPABILITIES_EVENT,
|
|
955
976
|
OPENCODE_HOOK_CAPABILITIES,
|
|
956
977
|
OPENCODE_QUESTION_WITHDRAW_TIMEOUT_MS,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3NTAU6DN.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AYP4GE3X.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PFH7XMHE.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AYP4GE3X.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YRGDHBS5.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-3NTAU6DN.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BKZZSXEQ.js";
|
|
15
15
|
import {
|
|
16
16
|
CURSOR_GATE_COVERAGE,
|
|
17
17
|
CURSOR_GATE_SCRIPT,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AYP4GE3X.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M2P5KFP5.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -49,6 +49,25 @@ var postLiveSessionUntilAccepted = async (options, path, body) => {
|
|
|
49
49
|
}
|
|
50
50
|
throw new Error("Live session stopped before it linked");
|
|
51
51
|
};
|
|
52
|
+
var BRIDGE_FAILURE_MESSAGE_MAX = 240;
|
|
53
|
+
var SPAWN_FAILURE_ACK_ATTEMPTS = 3;
|
|
54
|
+
var acknowledgeSpawnFailure = async (options, claim, message) => {
|
|
55
|
+
for (let attempt = 0; attempt < SPAWN_FAILURE_ACK_ATTEMPTS; attempt++) {
|
|
56
|
+
const acknowledged = await postLiveSession(options, "/api/agent/spawn/ack", {
|
|
57
|
+
spawnId: claim.spawnId,
|
|
58
|
+
claimId: claim.claimId,
|
|
59
|
+
machineId: options.machineId,
|
|
60
|
+
state: "failed",
|
|
61
|
+
failure: {
|
|
62
|
+
code: "bridge_failed",
|
|
63
|
+
message: message.slice(0, BRIDGE_FAILURE_MESSAGE_MAX),
|
|
64
|
+
retryable: false
|
|
65
|
+
}
|
|
66
|
+
}).catch(() => null);
|
|
67
|
+
if (acknowledged?.ok) return;
|
|
68
|
+
await liveSessionSleep(200 * (attempt + 1), options.signal);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
52
71
|
var startLiveSessionHeartbeat = (options, body, intervalMs = LIVE_SESSION_HEARTBEAT_MS, onBeat) => {
|
|
53
72
|
const timer = setInterval(() => {
|
|
54
73
|
if (!options.signal.aborted) {
|
|
@@ -154,6 +173,8 @@ export {
|
|
|
154
173
|
liveSessionSleep,
|
|
155
174
|
postLiveSession,
|
|
156
175
|
postLiveSessionUntilAccepted,
|
|
176
|
+
BRIDGE_FAILURE_MESSAGE_MAX,
|
|
177
|
+
acknowledgeSpawnFailure,
|
|
157
178
|
startLiveSessionHeartbeat,
|
|
158
179
|
LiveTranscriptRelay
|
|
159
180
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4XCADTT.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZNCRZNLJ.js";
|
|
7
7
|
import {
|
|
8
8
|
CLAUDE_HOOK_EVENTS,
|
|
9
9
|
CODEX_HOOK_EVENTS,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
isBridgeLocator,
|
|
17
17
|
isProtectedByScope,
|
|
18
18
|
registerHookEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3NTAU6DN.js";
|
|
20
20
|
import {
|
|
21
21
|
CURSOR_GATE_EVENTS,
|
|
22
22
|
HOOK_BUDGETS,
|
|
23
23
|
HOOK_LOCATOR_BINARY,
|
|
24
24
|
hookCommandHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AYP4GE3X.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
} from "./chunk-WHB622LP.js";
|
|
14
14
|
import {
|
|
15
15
|
keyPrefix
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZTNGM6NU.js";
|
|
17
17
|
import {
|
|
18
18
|
getBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
20
20
|
import {
|
|
21
21
|
NPX_LATEST_COMMAND
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MWKKUBHQ.js";
|
|
23
23
|
import {
|
|
24
24
|
isValidApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AYP4GE3X.js";
|
|
26
26
|
|
|
27
27
|
// src/cli/login-ui.ts
|
|
28
28
|
import { hostname } from "os";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
reportableSessionId,
|
|
27
27
|
toToolLookup,
|
|
28
28
|
truncateLine
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AYP4GE3X.js";
|
|
30
30
|
|
|
31
31
|
// ../hook-mapping/src/commit-receipt.ts
|
|
32
32
|
var COMMIT_OUTPUT_MAX_LENGTH = 65536;
|
|
@@ -669,6 +669,10 @@ var permissionDeniedAction = (toolName) => {
|
|
|
669
669
|
const tool = asString(toolName);
|
|
670
670
|
return tool ? `Auto-mode blocked ${tool}` : "Auto-mode blocked a tool call";
|
|
671
671
|
};
|
|
672
|
+
var agentNameFor = (identity, cwd) => {
|
|
673
|
+
const path = asString(cwd);
|
|
674
|
+
return path ? `${identity.label} - ${basename(path)}` : identity.label;
|
|
675
|
+
};
|
|
672
676
|
var sessionIdentityOf = (payload) => {
|
|
673
677
|
const sessionId = asString(payload.session_id ?? payload.sessionId ?? payload.conversation_id);
|
|
674
678
|
const agentId = asString(payload.agent_id);
|
|
@@ -877,6 +881,7 @@ export {
|
|
|
877
881
|
notificationAction,
|
|
878
882
|
describeStopFailure,
|
|
879
883
|
permissionDeniedAction,
|
|
884
|
+
agentNameFor,
|
|
880
885
|
sessionIdentityOf,
|
|
881
886
|
readCodexTurnContext,
|
|
882
887
|
isCodexGuardianRolloutHead,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KF26UUL.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SYIAWMBA.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeClaudeInstallPath
|
|
9
9
|
} from "./chunk-TCE3J44Z.js";
|
|
10
10
|
import {
|
|
11
11
|
grokHome
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N2L7E5NE.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3NTAU6DN.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AYP4GE3X.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|