pushary 1.9.178 → 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 +8 -0
- package/dist/{api-Y4XA3RLD.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 +45 -45
- package/dist/bin/pushary-disconnect.js +29 -29
- package/dist/bin/pushary-doctor.js +46 -46
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +22 -22
- package/dist/bin/pushary-logout.js +29 -29
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +19 -19
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +36 -36
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +38 -38
- package/dist/bin/pushary-sessions.js +14 -14
- package/dist/bin/pushary-setup.js +54 -54
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +35 -35
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +25 -25
- package/dist/bin/pushary-upgrade.js +43 -43
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-2VQNNQCL.js → chunk-2HMDWEER.js} +1 -1
- package/dist/{chunk-3GE7GJMQ.js → chunk-2JSTCD7L.js} +2 -2
- package/dist/{chunk-2O5VF2QP.js → chunk-32YARQJC.js} +5 -5
- package/dist/{chunk-7EH5V64U.js → chunk-3BZ7IGGW.js} +5 -5
- package/dist/{chunk-Q356XS2F.js → chunk-3JXSIPLF.js} +1 -1
- package/dist/{chunk-7C2YDR2P.js → chunk-3NTAU6DN.js} +2 -2
- package/dist/{chunk-5XUN2ATK.js → chunk-65CSOPQW.js} +8 -8
- package/dist/{chunk-XXUNYVUE.js → chunk-6BIC2SHE.js} +2 -2
- package/dist/{chunk-GSOMT5RJ.js → chunk-6KF26UUL.js} +3 -3
- package/dist/{chunk-52U74DDW.js → chunk-6W7Q6VB6.js} +2 -2
- package/dist/{chunk-3F6SGTZP.js → chunk-7VNTZY7V.js} +90 -21
- package/dist/{chunk-O2FHVZCR.js → chunk-A7G6CFZU.js} +4 -4
- package/dist/{chunk-OI4JRC3E.js → chunk-AXPZZFBW.js} +2 -2
- package/dist/{chunk-5ATP6NKJ.js → chunk-AYMFOYOZ.js} +9 -9
- package/dist/{chunk-JWZZO6T5.js → chunk-AYP4GE3X.js} +11 -0
- package/dist/{chunk-FA4MQUX3.js → chunk-BKZZSXEQ.js} +4 -4
- package/dist/{chunk-IMVJ3H2C.js → chunk-BNZYEIBB.js} +18 -18
- package/dist/{chunk-3CLTRY7V.js → chunk-CTJRWP6Y.js} +3 -3
- package/dist/{chunk-6KHVI5GM.js → chunk-D7GUUTOT.js} +4 -4
- package/dist/{chunk-OMHNCIKL.js → chunk-E25IZ5S3.js} +4 -4
- package/dist/{chunk-ASMMRKHJ.js → chunk-EEHTVBKI.js} +6 -6
- package/dist/{chunk-MTZOVCWL.js → chunk-FHVGZ6AN.js} +1 -1
- package/dist/{chunk-PDIPCZRU.js → chunk-FWUF33U6.js} +2 -2
- package/dist/{chunk-WBSJ2GNP.js → chunk-HGP2DDW3.js} +1 -1
- package/dist/{chunk-5I7OXXV6.js → chunk-HNQ2FIBA.js} +2 -2
- package/dist/{chunk-4DMRIGY5.js → chunk-HOVBZBAJ.js} +4 -4
- package/dist/{chunk-6CIKM5GN.js → chunk-I4XCADTT.js} +1 -1
- package/dist/{chunk-HZ5N2WGD.js → chunk-I6AMLYXS.js} +4 -4
- package/dist/{chunk-NA3GEZG4.js → chunk-INUW2CXK.js} +6 -6
- package/dist/{chunk-L7OCJAEF.js → chunk-IV4ZY2DS.js} +5 -5
- package/dist/{chunk-T6PQ47XZ.js → chunk-J5PTUQMF.js} +3 -3
- package/dist/{chunk-WP52TPG6.js → chunk-JDNQC5IG.js} +5 -5
- package/dist/{chunk-IWOP6BX2.js → chunk-JMPC7HL6.js} +6 -6
- package/dist/{chunk-E2JUP323.js → chunk-JSSCR6M2.js} +2 -2
- package/dist/{chunk-FIFFXOEQ.js → chunk-KFLHGN4D.js} +3 -3
- package/dist/{chunk-L2WALXZE.js → chunk-KUB4OGLG.js} +5 -5
- package/dist/{chunk-2CKP2FXL.js → chunk-M2P5KFP5.js} +3 -3
- package/dist/{chunk-247ADQBU.js → chunk-MIJ2P4FZ.js} +7 -7
- package/dist/{chunk-7PSU6TXK.js → chunk-MKKRQBQF.js} +3 -3
- package/dist/{chunk-RCXQPIRI.js → chunk-MM5QO2ZY.js} +1 -1
- package/dist/{chunk-DITKCHAY.js → chunk-MWKKUBHQ.js} +1 -1
- package/dist/{chunk-W4LIY2RO.js → chunk-N24MKYZ2.js} +1 -1
- package/dist/{chunk-WYNYVOJ2.js → chunk-N2L7E5NE.js} +5 -5
- package/dist/{chunk-DGWLGPR3.js → chunk-NEAJLLIG.js} +5 -5
- package/dist/{chunk-AQEJRCRK.js → chunk-NX33EVEP.js} +1 -1
- package/dist/{chunk-DKZJDNTJ.js → chunk-OD6JNTGZ.js} +2 -2
- package/dist/{chunk-SUVMKXJM.js → chunk-OIFWZESQ.js} +11 -11
- package/dist/{chunk-A767YPE5.js → chunk-P3MYHWF5.js} +5 -5
- package/dist/{chunk-RKWA5PRV.js → chunk-PFH7XMHE.js} +1 -1
- package/dist/{chunk-IMZ2O6I7.js → chunk-PJHYFHP4.js} +1 -1
- package/dist/{chunk-C3MRJDTL.js → chunk-POESL3CD.js} +1 -1
- package/dist/{chunk-AIBJGDBE.js → chunk-QMV7WS7D.js} +2 -2
- package/dist/{chunk-WBPHMW55.js → chunk-QYGO5EKA.js} +2 -2
- package/dist/{chunk-55LUC2XS.js → chunk-RM3F4V6A.js} +64 -15
- package/dist/{chunk-B4R55F4P.js → chunk-RM3YENVK.js} +3 -3
- package/dist/{chunk-3VM7CX4Z.js → chunk-RVIYAQC7.js} +2 -2
- package/dist/{chunk-FEFIMTBN.js → chunk-S7X3PENP.js} +4 -4
- package/dist/{chunk-I3RQS5F6.js → chunk-SV6AMA7J.js} +10 -10
- package/dist/{chunk-CSY7A6UE.js → chunk-SYIAWMBA.js} +6 -6
- package/dist/{chunk-NBMWRS3J.js → chunk-TVBND3VL.js} +2 -2
- package/dist/{chunk-4KSQRCH5.js → chunk-UJUXZCQS.js} +6 -6
- package/dist/{chunk-426PTJL4.js → chunk-VOWNWXVE.js} +38 -10
- package/dist/{chunk-PO6UUHBD.js → chunk-W27VNI6G.js} +1 -1
- package/dist/{chunk-25PD2NWC.js → chunk-WDPIZXCZ.js} +3 -3
- package/dist/{chunk-2GFMA5F6.js → chunk-WII73NRE.js} +1 -1
- package/dist/{chunk-D4RE37P7.js → chunk-WIKPDEOR.js} +1 -1
- package/dist/{chunk-OB3KVRKZ.js → chunk-WMHXZDUT.js} +2 -2
- package/dist/{chunk-NNVIWYDZ.js → chunk-XJG7YRF7.js} +3 -3
- package/dist/{chunk-NCXJE3LY.js → chunk-XOVAERD7.js} +1 -1
- package/dist/{chunk-IK442FLD.js → chunk-XQGU77H7.js} +4 -4
- package/dist/{chunk-3WK3ZOMA.js → chunk-XWWD2KTY.js} +1 -1
- package/dist/{chunk-OAK44Y4T.js → chunk-Y5BRXPL6.js} +1 -1
- package/dist/{chunk-LPUBT3LM.js → chunk-YRGDHBS5.js} +4 -4
- package/dist/{chunk-ESCQRNNN.js → chunk-YXLJTIGG.js} +4 -4
- package/dist/{chunk-JE42QYDU.js → chunk-Z2DAWG5U.js} +1 -1
- package/dist/{chunk-CN7AHMS3.js → chunk-ZMJKA7CF.js} +5 -5
- package/dist/{chunk-JLR4IGC2.js → chunk-ZMSQQVVY.js} +1 -1
- package/dist/{chunk-S4RR2SW2.js → chunk-ZNCRZNLJ.js} +1 -1
- package/dist/{chunk-KQRATFYV.js → chunk-ZPHPNTGW.js} +1 -1
- package/dist/{chunk-GWYSHO6R.js → chunk-ZTNGM6NU.js} +3 -3
- package/dist/{codex-app-cards-switch-IRV5H4QX.js → codex-app-cards-switch-RDVTCDVO.js} +11 -11
- package/dist/{codex-card-routing-GLYARSKQ.js → codex-card-routing-XUYIRUB7.js} +2 -2
- package/dist/{codex-desktop-launch-3QB4LAYW.js → codex-desktop-launch-EX3E3T3Q.js} +1 -1
- package/dist/{codex-session-launch-ISLV5J36.js → codex-session-launch-TDEWJ3G6.js} +20 -20
- package/dist/{config-V7FP5LRI.js → config-XDZZTOHU.js} +3 -3
- package/dist/{global-upgrade-L3D27Z2N.js → global-upgrade-QVFP4F7D.js} +9 -9
- package/dist/{identity-IFUX72BS.js → identity-Q5HWBCJY.js} +4 -4
- package/dist/{live-capabilities-XWR6FVYJ.js → live-capabilities-G5FB5VBL.js} +4 -4
- package/dist/{paths-NQ4U74JJ.js → paths-IVCUVJM6.js} +3 -3
- package/dist/{reapply-PPKLBFB7.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-PSOXTS7H.js → upgrade-lock-Y56NERM5.js} +4 -4
- package/dist/{usage-RFWDFYXH.js → usage-J7O2QQEQ.js} +3 -3
- package/package.json +1 -1
package/dist/bin/pushary-wait.js
CHANGED
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
import {
|
|
3
3
|
waitResponse,
|
|
4
4
|
waitWindowResponse
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2HMDWEER.js";
|
|
6
6
|
import {
|
|
7
7
|
describeWaitLadder
|
|
8
8
|
} from "../chunk-CVWG2N3Y.js";
|
|
9
9
|
import {
|
|
10
10
|
exitOnFailedSettingsRequest
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-MIJ2P4FZ.js";
|
|
12
|
+
import "../chunk-OD6JNTGZ.js";
|
|
13
13
|
import {
|
|
14
14
|
APPROVAL_RULES_PATH,
|
|
15
15
|
PUSH_WINDOW_COMMAND,
|
|
16
16
|
PUSH_WINDOW_RESET_COMMAND
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-RVIYAQC7.js";
|
|
18
18
|
import {
|
|
19
19
|
createIo
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-W27VNI6G.js";
|
|
21
21
|
import {
|
|
22
22
|
exitOnHelpFlag
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-POESL3CD.js";
|
|
24
24
|
import {
|
|
25
25
|
parseFlags
|
|
26
26
|
} from "../chunk-BZIBNSQE.js";
|
|
27
27
|
import {
|
|
28
28
|
absoluteUrl
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-WDPIZXCZ.js";
|
|
30
30
|
import {
|
|
31
31
|
pusharyFetch
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
32
|
+
} from "../chunk-XJG7YRF7.js";
|
|
33
|
+
import "../chunk-PFH7XMHE.js";
|
|
34
|
+
import "../chunk-ZTNGM6NU.js";
|
|
35
|
+
import "../chunk-HNQ2FIBA.js";
|
|
36
|
+
import "../chunk-3NTAU6DN.js";
|
|
37
|
+
import "../chunk-BKZZSXEQ.js";
|
|
38
38
|
import {
|
|
39
39
|
getApiKey,
|
|
40
40
|
getBaseUrl
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-ZPHPNTGW.js";
|
|
42
42
|
import {
|
|
43
43
|
UsageError,
|
|
44
44
|
exitCodeFor
|
|
@@ -47,9 +47,9 @@ import "../chunk-PM2NRK6Y.js";
|
|
|
47
47
|
import {
|
|
48
48
|
EXIT
|
|
49
49
|
} from "../chunk-BG4HHB7E.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-MWKKUBHQ.js";
|
|
51
51
|
import "../chunk-UQTQ6HPO.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-AYP4GE3X.js";
|
|
53
53
|
import "../chunk-MLKGABMK.js";
|
|
54
54
|
|
|
55
55
|
// bin/pushary-wait.ts
|
package/dist/bin/pushary.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installNetworkDefaults
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XJG7YRF7.js";
|
|
5
|
+
import "../chunk-PFH7XMHE.js";
|
|
6
|
+
import "../chunk-3NTAU6DN.js";
|
|
7
|
+
import "../chunk-BKZZSXEQ.js";
|
|
8
|
+
import "../chunk-ZPHPNTGW.js";
|
|
9
9
|
import "../chunk-CINBAX5G.js";
|
|
10
10
|
import "../chunk-PM2NRK6Y.js";
|
|
11
11
|
import {
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
LISTED_COMMANDS,
|
|
16
16
|
renderHelp,
|
|
17
17
|
resolveCommandName
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-MWKKUBHQ.js";
|
|
19
19
|
import {
|
|
20
20
|
getPackageVersion
|
|
21
21
|
} from "../chunk-UQTQ6HPO.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-AYP4GE3X.js";
|
|
23
23
|
import "../chunk-MLKGABMK.js";
|
|
24
24
|
|
|
25
25
|
// src/cli/runtime.ts
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-TCE3J44Z.js";
|
|
4
4
|
import {
|
|
5
5
|
parseVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BKZZSXEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AYP4GE3X.js";
|
|
10
10
|
|
|
11
11
|
// src/setup/agent-probe.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAsCredential
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PJHYFHP4.js";
|
|
4
4
|
import {
|
|
5
5
|
keyCheckFromResponse
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WDPIZXCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
installNetworkDefaults
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XJG7YRF7.js";
|
|
10
10
|
import {
|
|
11
11
|
getBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isToolErrorResult,
|
|
16
16
|
toolFailureCodeOfResult
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AYP4GE3X.js";
|
|
18
18
|
|
|
19
19
|
// src/retry.ts
|
|
20
20
|
var isRetryable = (err) => {
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MKKRQBQF.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EEHTVBKI.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PFH7XMHE.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZTNGM6NU.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-UQTQ6HPO.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatVersion,
|
|
4
4
|
quoteIfNeeded,
|
|
5
5
|
shellDoubleQuoted
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BKZZSXEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
writeFileAtomic
|
|
9
9
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
PUSHARY_HOSTS,
|
|
23
23
|
PUSHARY_TOOL_PREFIX,
|
|
24
24
|
withHookHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AYP4GE3X.js";
|
|
26
26
|
|
|
27
27
|
// src/setup/paths.ts
|
|
28
28
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
postLiveSession,
|
|
7
7
|
postLiveSessionUntilAccepted,
|
|
8
8
|
startLiveSessionHeartbeat
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XWWD2KTY.js";
|
|
10
10
|
import {
|
|
11
11
|
CommandReceipts,
|
|
12
12
|
controllerCommandSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HGP2DDW3.js";
|
|
14
14
|
import {
|
|
15
15
|
SESSION_IDLE_TIMEOUT_MS,
|
|
16
16
|
describeIdleWindow,
|
|
17
17
|
idleDeadlinePassed,
|
|
18
18
|
startProcessOwnership
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6W7Q6VB6.js";
|
|
20
20
|
import {
|
|
21
21
|
spawnClaude
|
|
22
22
|
} from "./chunk-VRNGMRJA.js";
|
|
@@ -26,18 +26,18 @@ import {
|
|
|
26
26
|
isWaitForAnswerResponse,
|
|
27
27
|
withdrawQuestion,
|
|
28
28
|
writeDegraded
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RM3F4V6A.js";
|
|
30
30
|
import {
|
|
31
31
|
readCommandAck
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XOVAERD7.js";
|
|
33
33
|
import {
|
|
34
34
|
callMcpTool,
|
|
35
35
|
isRetryable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-32YARQJC.js";
|
|
37
37
|
import {
|
|
38
38
|
projectNameFor,
|
|
39
39
|
repositoryScopeFor
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Y5BRXPL6.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_QUESTION_DESCRIPTION_MAX,
|
|
43
43
|
AGENT_QUESTION_HEADER_MAX,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
parseCodexQuestions,
|
|
59
59
|
planElicitationAsk,
|
|
60
60
|
readElicitationFields
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-AYP4GE3X.js";
|
|
62
62
|
|
|
63
63
|
// src/codex-question-owner.ts
|
|
64
64
|
import { createHash } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5BRXPL6.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZTNGM6NU.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3NTAU6DN.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BKZZSXEQ.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AYP4GE3X.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3NTAU6DN.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AYP4GE3X.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolResultErrorText,
|
|
28
28
|
transcriptTokensIn,
|
|
29
29
|
transcriptUsageRequest
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z2DAWG5U.js";
|
|
31
31
|
import {
|
|
32
32
|
cancelQuestion,
|
|
33
33
|
clientErrorKindOf,
|
|
@@ -35,44 +35,44 @@ import {
|
|
|
35
35
|
reportClientError,
|
|
36
36
|
sendNotification,
|
|
37
37
|
waitForAnswer
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RM3F4V6A.js";
|
|
39
39
|
import {
|
|
40
40
|
RETRY_ACK,
|
|
41
41
|
readCommandAck,
|
|
42
42
|
refusedReceiptMessage
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XOVAERD7.js";
|
|
44
44
|
import {
|
|
45
45
|
isRetryable,
|
|
46
46
|
withRetry
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-32YARQJC.js";
|
|
48
48
|
import {
|
|
49
49
|
fetchAsCredential
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PJHYFHP4.js";
|
|
51
51
|
import {
|
|
52
52
|
branchFor,
|
|
53
53
|
projectNameFor,
|
|
54
54
|
repoKeyFor
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Y5BRXPL6.js";
|
|
56
56
|
import {
|
|
57
57
|
getMachineId
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PFH7XMHE.js";
|
|
59
59
|
import {
|
|
60
60
|
reportedInstallSource
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-HNQ2FIBA.js";
|
|
62
62
|
import {
|
|
63
63
|
IDLE_PROMPT_NOTIFICATION,
|
|
64
64
|
NOTIFICATION_PUSH_TYPES,
|
|
65
65
|
POSTTOOLUSE_MIRROR_ONLY_TOOLS,
|
|
66
66
|
claudeConfigDir
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-3NTAU6DN.js";
|
|
68
68
|
import {
|
|
69
69
|
compareVersion,
|
|
70
70
|
parseVersion
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BKZZSXEQ.js";
|
|
72
72
|
import {
|
|
73
73
|
getApiKey,
|
|
74
74
|
getBaseUrl
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ZPHPNTGW.js";
|
|
76
76
|
import {
|
|
77
77
|
writeFileAtomic,
|
|
78
78
|
writeJsonAtomicDurable
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveAutoResolveOrigin,
|
|
104
104
|
resolvePolicy,
|
|
105
105
|
unansweredRefusalReason
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-AYP4GE3X.js";
|
|
107
107
|
|
|
108
108
|
// src/pending.ts
|
|
109
109
|
import { join } from "path";
|
|
@@ -111,11 +111,14 @@ import { homedir, tmpdir } from "os";
|
|
|
111
111
|
import { createHash } from "crypto";
|
|
112
112
|
import { openSync, closeSync, fsyncSync, lstatSync, existsSync, mkdirSync, writeFileSync, readFileSync, readdirSync, unlinkSync, rmSync, statSync } from "fs";
|
|
113
113
|
var PENDING_DIR = join(tmpdir(), "pushary-pending");
|
|
114
|
+
var LEFT_OPEN_DIR = join(tmpdir(), "pushary-left-open");
|
|
114
115
|
var commandRoot = () => process.env.PUSHARY_COMMAND_DIR?.trim() || join(homedir(), ".pushary", "run", "commands");
|
|
115
116
|
var DEFAULT_SESSION = "_no_session";
|
|
116
117
|
var GRACE_MS = 10 * 60 * 1e3;
|
|
117
118
|
var sanitize = (sessionId) => sessionId.replace(/[^A-Za-z0-9_-]/g, "_").slice(0, 128) || DEFAULT_SESSION;
|
|
118
119
|
var dirFor = (sessionId) => join(PENDING_DIR, sanitize(sessionId));
|
|
120
|
+
var leftOpenDirFor = (sessionId) => join(LEFT_OPEN_DIR, sanitize(sessionId));
|
|
121
|
+
var isMarkerName = (correlationId) => correlationId.length > 0 && sanitize(correlationId) === correlationId;
|
|
119
122
|
var commandDirFor = (sessionId, namespace = "") => join(
|
|
120
123
|
commandRoot(),
|
|
121
124
|
createHash("sha256").update(namespace).digest("hex").slice(0, 16),
|
|
@@ -317,17 +320,54 @@ var listPendingQuestions = (sessionId) => {
|
|
|
317
320
|
}
|
|
318
321
|
});
|
|
319
322
|
};
|
|
323
|
+
var saveLeftOpenQuestion = (sessionId, correlationId, callFingerprint) => {
|
|
324
|
+
if (!isMarkerName(correlationId)) return false;
|
|
325
|
+
try {
|
|
326
|
+
mkdirSync(leftOpenDirFor(sessionId), { recursive: true });
|
|
327
|
+
writeFileSync(join(leftOpenDirFor(sessionId), correlationId), callFingerprint, "utf-8");
|
|
328
|
+
return true;
|
|
329
|
+
} catch {
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
var listLeftOpenQuestions = (sessionId) => {
|
|
334
|
+
try {
|
|
335
|
+
return readdirSync(leftOpenDirFor(sessionId)).filter(isMarkerName);
|
|
336
|
+
} catch {
|
|
337
|
+
return [];
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
var leftOpenBy = (sessionId, callFingerprint) => (correlationId) => {
|
|
341
|
+
try {
|
|
342
|
+
return readFileSync(join(leftOpenDirFor(sessionId), correlationId), "utf-8") === callFingerprint;
|
|
343
|
+
} catch {
|
|
344
|
+
return false;
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
var listLeftOpenQuestionsOfCall = (sessionId, callFingerprint) => listLeftOpenQuestions(sessionId).filter(leftOpenBy(sessionId, callFingerprint));
|
|
348
|
+
var removeLeftOpenQuestion = (sessionId, correlationId) => {
|
|
349
|
+
if (!isMarkerName(correlationId)) return;
|
|
350
|
+
try {
|
|
351
|
+
unlinkSync(join(leftOpenDirFor(sessionId), correlationId));
|
|
352
|
+
} catch {
|
|
353
|
+
}
|
|
354
|
+
};
|
|
320
355
|
var removePendingQuestion = (sessionId, correlationId) => {
|
|
321
356
|
try {
|
|
322
357
|
unlinkSync(join(dirFor(sessionId), correlationId));
|
|
323
358
|
} catch {
|
|
324
359
|
}
|
|
360
|
+
removeLeftOpenQuestion(sessionId, correlationId);
|
|
325
361
|
};
|
|
326
362
|
var removePendingSession = (sessionId) => {
|
|
327
363
|
try {
|
|
328
364
|
rmSync(dirFor(sessionId), { recursive: true, force: true });
|
|
329
365
|
} catch {
|
|
330
366
|
}
|
|
367
|
+
try {
|
|
368
|
+
rmSync(leftOpenDirFor(sessionId), { recursive: true, force: true });
|
|
369
|
+
} catch {
|
|
370
|
+
}
|
|
331
371
|
};
|
|
332
372
|
|
|
333
373
|
// src/hook-command-delivery.ts
|
|
@@ -746,6 +786,7 @@ import { resolve } from "path";
|
|
|
746
786
|
var CODEX_AGENT = { type: "codex", label: "Codex" };
|
|
747
787
|
var codexAllow = () => ({ kind: "allow" });
|
|
748
788
|
var codexDeny = (reason) => ({ kind: "deny", reason });
|
|
789
|
+
var WAITING_ON_PHONE_REASON = "Waiting for the person to approve this on their phone, so it did not run. Run the same call again to keep waiting. It runs once they approve";
|
|
749
790
|
var codexPass = () => ({ kind: "pass" });
|
|
750
791
|
var toCodexWire = (event, decision) => {
|
|
751
792
|
if (decision.kind === "pass") return null;
|
|
@@ -1273,21 +1314,37 @@ var pendingQuestionsToSettle = (sessionId, toolUseId, insideSubagent = false) =>
|
|
|
1273
1314
|
if (insideSubagent) return settledElsewhere;
|
|
1274
1315
|
return [.../* @__PURE__ */ new Set([...settledElsewhere, ...listPendingQuestions(sessionId)])];
|
|
1275
1316
|
};
|
|
1276
|
-
var
|
|
1317
|
+
var MARKER_ANSWER_HOLD_MS = 1e3;
|
|
1318
|
+
var WITHDRAWN_MARKER = { answered: false, status: "withdrawn" };
|
|
1319
|
+
var answerUnlessWithdrawn = async (apiKey, correlationId, signal) => {
|
|
1320
|
+
const answer = await waitForAnswer(apiKey, correlationId, MARKER_ANSWER_HOLD_MS, signal);
|
|
1321
|
+
if (!answer.answered) await cancelQuestion(apiKey, correlationId, signal);
|
|
1322
|
+
return answer;
|
|
1323
|
+
};
|
|
1324
|
+
var answerAfterWithdrawing = async (apiKey, correlationId, signal) => {
|
|
1325
|
+
const withdrawal = await cancelQuestion(apiKey, correlationId, signal);
|
|
1326
|
+
return withdrawal.cancelled === true ? WITHDRAWN_MARKER : waitForAnswer(apiKey, correlationId, MARKER_ANSWER_HOLD_MS, signal);
|
|
1327
|
+
};
|
|
1328
|
+
var handedOffMarkers = (files) => markersSettledBy(answerUnlessWithdrawn, files);
|
|
1329
|
+
var cancelWithoutReading = async (apiKey, correlationId, signal) => {
|
|
1330
|
+
await cancelQuestion(apiKey, correlationId, signal).catch(() => void 0);
|
|
1331
|
+
return WITHDRAWN_MARKER;
|
|
1332
|
+
};
|
|
1333
|
+
var markersSettledBy = (settle, correlationIds) => correlationIds.map((correlationId) => ({ correlationId, settle }));
|
|
1334
|
+
var reconcileQuestions = async (sessionId, markers, signal) => {
|
|
1277
1335
|
const late = [];
|
|
1278
1336
|
try {
|
|
1279
|
-
if (
|
|
1337
|
+
if (markers.length === 0) return late;
|
|
1280
1338
|
const apiKey = getApiKey();
|
|
1281
1339
|
if (signal) signal = AbortSignal.any([signal, AbortSignal.timeout(2e3)]);
|
|
1282
|
-
for (const correlationId of
|
|
1340
|
+
for (const { correlationId, settle } of markers) {
|
|
1283
1341
|
if (signal?.aborted) break;
|
|
1284
1342
|
try {
|
|
1285
|
-
const answer = await
|
|
1343
|
+
const answer = await settle(apiKey, correlationId, signal);
|
|
1286
1344
|
if (answer.answered) {
|
|
1287
1345
|
late.push({ correlationId, value: answer.value });
|
|
1288
1346
|
continue;
|
|
1289
1347
|
}
|
|
1290
|
-
await cancelQuestion(apiKey, correlationId, signal);
|
|
1291
1348
|
} catch {
|
|
1292
1349
|
continue;
|
|
1293
1350
|
}
|
|
@@ -1297,7 +1354,15 @@ var reconcileQuestions = async (sessionId, files, signal) => {
|
|
|
1297
1354
|
}
|
|
1298
1355
|
return late;
|
|
1299
1356
|
};
|
|
1300
|
-
var
|
|
1357
|
+
var leftOpenQuestionIds = (sessionId, which) => which.kind === "of_session" ? listLeftOpenQuestions(sessionId) : listLeftOpenQuestionsOfCall(sessionId, which.callFingerprint);
|
|
1358
|
+
var settlementOfLeftOpen = (which) => which.kind === "of_a_call_that_runs" ? cancelWithoutReading : answerAfterWithdrawing;
|
|
1359
|
+
var withdrawLeftOpenQuestions = async (sessionId, which) => {
|
|
1360
|
+
const markers = markersSettledBy(settlementOfLeftOpen(which), leftOpenQuestionIds(sessionId, which));
|
|
1361
|
+
if (markers.length === 0) return;
|
|
1362
|
+
await reconcileQuestions(sessionId, markers, AbortSignal.timeout(HOOK_BUDGET_MS));
|
|
1363
|
+
};
|
|
1364
|
+
var sessionHasNoQuestionMarkers = (sessionId) => listPendingQuestions(sessionId).length === 0 && listLeftOpenQuestions(sessionId).length === 0;
|
|
1365
|
+
var reconcilePendingQuestions = (sessionId, toolUseId, signal) => reconcileQuestions(sessionId, [...handedOffMarkers(pendingQuestionsToSettle(sessionId, toolUseId)), ...markersSettledBy(answerAfterWithdrawing, listLeftOpenQuestions(sessionId))], signal);
|
|
1301
1366
|
var describeLateAnswer = (value) => {
|
|
1302
1367
|
const v = (value ?? "").trim();
|
|
1303
1368
|
if (v === "yes") return "approved it";
|
|
@@ -1557,7 +1622,7 @@ var HOOK_BUDGET_MS = 9e3;
|
|
|
1557
1622
|
var DRAINING_REPORT_BUDGET_MS = 8e3;
|
|
1558
1623
|
var settleQuestionsForToolUse = async (sessionId, toolUseId) => {
|
|
1559
1624
|
if (!toolUseId) return;
|
|
1560
|
-
const late = await reconcileQuestions(sessionId, listPendingQuestionsForToolUse(sessionId, toolUseId));
|
|
1625
|
+
const late = await reconcileQuestions(sessionId, handedOffMarkers(listPendingQuestionsForToolUse(sessionId, toolUseId)));
|
|
1561
1626
|
for (const answer of late) removePendingQuestion(sessionId, answer.correlationId);
|
|
1562
1627
|
};
|
|
1563
1628
|
var ranInsideSubagent = (input) => sessionIdentityOf(input).parentSessionId !== void 0;
|
|
@@ -1577,7 +1642,7 @@ var handlePostToolUse = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
1577
1642
|
const questionsToSettle = pendingQuestionsToSettle(sessionKey, input.tool_use_id, insideSubagent);
|
|
1578
1643
|
const [liveMode, late] = await Promise.all([
|
|
1579
1644
|
fetchModeState(getApiKey(), input.session_id, MODE_REUSE_MS, signal),
|
|
1580
|
-
reconcileQuestions(sessionKey, questionsToSettle, signal)
|
|
1645
|
+
reconcileQuestions(sessionKey, handedOffMarkers(questionsToSettle), signal)
|
|
1581
1646
|
]);
|
|
1582
1647
|
let additionalContext;
|
|
1583
1648
|
if (late.length > 0 && agent.type === CLAUDE_CODE_AGENT.type) {
|
|
@@ -1701,7 +1766,7 @@ var handleStop = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
1701
1766
|
tasks.push(notifyLateAnswers(getApiKey(), late, `${agent.label} - ${projectName}`, input.session_id, signal));
|
|
1702
1767
|
for (const l of late) removePendingQuestion(sessionKey, l.correlationId);
|
|
1703
1768
|
}
|
|
1704
|
-
if (!isDefaultSession(sessionKey) &&
|
|
1769
|
+
if (!isDefaultSession(sessionKey) && sessionHasNoQuestionMarkers(sessionKey)) removePendingSession(sessionKey);
|
|
1705
1770
|
const [reported] = await Promise.allSettled(tasks);
|
|
1706
1771
|
const unusedApproval = !input.stop_hook_active && approvalAwaitingRetry(input.session_id) !== null;
|
|
1707
1772
|
const instruction = carriesInstruction ? pendingInstructionOf(reported) : void 0;
|
|
@@ -1897,6 +1962,8 @@ export {
|
|
|
1897
1962
|
markPendingCommandFailed,
|
|
1898
1963
|
markPendingCommandRefused,
|
|
1899
1964
|
removePendingCommand,
|
|
1965
|
+
saveLeftOpenQuestion,
|
|
1966
|
+
removeLeftOpenQuestion,
|
|
1900
1967
|
emitHookOutput,
|
|
1901
1968
|
PHONE_DRIVER,
|
|
1902
1969
|
phoneDrivenEnv,
|
|
@@ -1913,6 +1980,7 @@ export {
|
|
|
1913
1980
|
CODEX_AGENT,
|
|
1914
1981
|
codexAllow,
|
|
1915
1982
|
codexDeny,
|
|
1983
|
+
WAITING_ON_PHONE_REASON,
|
|
1916
1984
|
codexPass,
|
|
1917
1985
|
toCodexWire,
|
|
1918
1986
|
describeApplyPatch,
|
|
@@ -1932,6 +2000,7 @@ export {
|
|
|
1932
2000
|
forgetBlockedActionHint,
|
|
1933
2001
|
recordGateOutcome,
|
|
1934
2002
|
readLastPrompt,
|
|
2003
|
+
withdrawLeftOpenQuestions,
|
|
1935
2004
|
CLAUDE_CODE_AGENT,
|
|
1936
2005
|
AUTO_DECISION_WINDOW_MS,
|
|
1937
2006
|
permissionModeOf,
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7VNTZY7V.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z2DAWG5U.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y5BRXPL6.js";
|
|
15
15
|
import {
|
|
16
16
|
machineDecisionFor,
|
|
17
17
|
wireVerdictFor
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AYP4GE3X.js";
|
|
19
19
|
|
|
20
20
|
// src/machine-decision-audit.ts
|
|
21
21
|
var reportMachineDenial = async (input, verdict, agent) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7VNTZY7V.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3NTAU6DN.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FWUF33U6.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WMHXZDUT.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SYIAWMBA.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WIKPDEOR.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XQGU77H7.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N2L7E5NE.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-YRGDHBS5.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-3NTAU6DN.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-AYP4GE3X.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|