pushary 1.9.261 → 1.9.265
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 +21 -0
- package/README.md +6 -0
- package/dist/{api-LAG3VCHN.js → api-J6LZMTBN.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -29
- 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 +40 -40
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +35 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +36 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -47
- package/dist/bin/pushary-disconnect.js +31 -31
- package/dist/bin/pushary-display-hook.js +258 -4
- package/dist/bin/pushary-doctor.js +147 -51
- 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 +41 -23
- package/dist/bin/pushary-logout.js +32 -32
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +28 -28
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +35 -35
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +29 -29
- package/dist/bin/pushary-prompt-hook.js +28 -28
- package/dist/bin/pushary-session-end-hook.js +28 -28
- package/dist/bin/pushary-session-start-hook.js +40 -40
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +175 -83
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +37 -37
- package/dist/bin/pushary-stop-hook.js +28 -28
- package/dist/bin/pushary-stopfailure-hook.js +28 -28
- 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 -48
- package/dist/bin/pushary-wait.js +21 -20
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-YHHQICQD.js → chunk-2KJYGGZ6.js} +3 -3
- package/dist/{chunk-SO5DEUCS.js → chunk-2RAXOB4Y.js} +7 -7
- package/dist/{chunk-NVYEQLD5.js → chunk-37LPWX25.js} +2 -2
- package/dist/{chunk-3DW5OCS2.js → chunk-4CQHOOTR.js} +1 -1
- package/dist/{chunk-VVDJCJ3P.js → chunk-57K3LBJB.js} +2 -2
- package/dist/{chunk-FJMZDIKP.js → chunk-5HT5FDRZ.js} +49 -3
- package/dist/{chunk-TX3IJUL7.js → chunk-6EYG42OD.js} +6 -6
- package/dist/{chunk-CHKSE6TO.js → chunk-7DRATORT.js} +1 -1
- package/dist/{chunk-H4O3CV5W.js → chunk-7MTRSXUI.js} +4 -4
- package/dist/{chunk-ZGPUVZZ6.js → chunk-A32JBM4J.js} +2 -2
- package/dist/{chunk-2VTIVLLK.js → chunk-AEMFRMHP.js} +3 -3
- package/dist/{chunk-QAS67ZJH.js → chunk-AFYZW4NA.js} +1 -1
- package/dist/{chunk-SSW4SERP.js → chunk-AHCI4HO3.js} +1 -1
- package/dist/{chunk-65MRCZGE.js → chunk-ANXGIOAH.js} +5 -5
- package/dist/{chunk-YHA5L6D3.js → chunk-BBXMSJPK.js} +3 -3
- package/dist/{chunk-ZSJDCRBA.js → chunk-BEMKLT6F.js} +1 -1
- package/dist/{chunk-WCSSU6QW.js → chunk-BN4GUE43.js} +4 -4
- package/dist/{chunk-SFZWZHZB.js → chunk-CKEVUBAH.js} +2 -2
- package/dist/{chunk-NLG5BY2M.js → chunk-DJKLVHGI.js} +1 -1
- package/dist/{chunk-TW6BQOPH.js → chunk-E77LZTUK.js} +6 -6
- package/dist/{chunk-KMADAVW6.js → chunk-EEDKN264.js} +1 -1
- package/dist/{chunk-BBE7UITT.js → chunk-EY7ZPBFZ.js} +6 -6
- package/dist/{chunk-53LLER7E.js → chunk-FI3QGWFG.js} +1 -1
- package/dist/{chunk-NBEFOUMK.js → chunk-FPHURVGE.js} +3 -3
- package/dist/{chunk-3PAM7BQJ.js → chunk-GDUJTSOO.js} +5 -5
- package/dist/{chunk-PX2MOPB2.js → chunk-GI3A5QH5.js} +1 -1
- package/dist/{chunk-NTTHRLDQ.js → chunk-GOSRXI4T.js} +1 -1
- package/dist/{chunk-T6ZGTBHT.js → chunk-GQS7ZZ3S.js} +4 -4
- package/dist/{chunk-TUBI75B7.js → chunk-HGJH3PKN.js} +1 -1
- package/dist/{chunk-TMJRKWWK.js → chunk-HJTY3GJG.js} +5 -5
- package/dist/{chunk-JC2E7D2W.js → chunk-HRKTB43U.js} +1 -1
- package/dist/{chunk-RSV25NAF.js → chunk-HVBF4P4C.js} +1 -1
- package/dist/{chunk-TDYAVCJ3.js → chunk-HWJJPG6J.js} +4 -4
- package/dist/{chunk-VWJ5KDMM.js → chunk-I6ZP7GX4.js} +4 -4
- package/dist/{chunk-K4PJXC32.js → chunk-ICGOK7N6.js} +1 -1
- package/dist/{chunk-KUVXFNHY.js → chunk-IRF23YVI.js} +10 -10
- package/dist/{chunk-WUZM74HI.js → chunk-J43O2OJJ.js} +4 -4
- package/dist/{chunk-ZNDLGXKO.js → chunk-J4QQJV4L.js} +6 -6
- package/dist/{chunk-DN7PXEXE.js → chunk-K3LBA4XD.js} +6 -6
- package/dist/{chunk-FUXTIM33.js → chunk-K4R2E25S.js} +5 -5
- package/dist/{chunk-6RD6RNJY.js → chunk-KHU46H7O.js} +4 -4
- package/dist/{chunk-5UHGILNO.js → chunk-KIFKXFV5.js} +1 -1
- package/dist/{chunk-5G55TWT5.js → chunk-KQFTD45H.js} +5 -5
- package/dist/{chunk-4SKEGBFV.js → chunk-KTQQBBQR.js} +3 -3
- package/dist/{chunk-CVWG2N3Y.js → chunk-KUVKMGTY.js} +12 -0
- package/dist/{chunk-YBVDF4NV.js → chunk-L67LOALO.js} +4 -4
- package/dist/{chunk-X7BHVGGH.js → chunk-LAA7PD6N.js} +1 -1
- package/dist/{chunk-GIK5P25V.js → chunk-LANIUUOD.js} +5 -5
- package/dist/{chunk-NKSOSZZU.js → chunk-LEPTAZLV.js} +2 -2
- package/dist/{chunk-HAOO2MNV.js → chunk-LNLQJVSL.js} +10 -10
- package/dist/{chunk-HJOXLNYN.js → chunk-LTSE3TEA.js} +3 -3
- package/dist/{chunk-YINXG75Q.js → chunk-N25DYTSR.js} +4 -4
- package/dist/{chunk-GQHIUZRG.js → chunk-NCP5CXKF.js} +12 -12
- package/dist/{chunk-LRF4XS6M.js → chunk-NNOQGK5M.js} +3 -3
- package/dist/{chunk-H6FDFP6W.js → chunk-NNPMQ6L6.js} +81 -29
- package/dist/{chunk-QRPHWWHI.js → chunk-OX6GPAAQ.js} +2 -2
- package/dist/{chunk-BLSGQHGW.js → chunk-P55MQFCO.js} +3 -3
- package/dist/{chunk-GETSAD5F.js → chunk-QLXDNPEN.js} +2 -2
- package/dist/{chunk-WFE4RAWD.js → chunk-R2DXZ3H7.js} +1 -1
- package/dist/{chunk-QWIWACGD.js → chunk-RUGGVWWZ.js} +1 -1
- package/dist/{chunk-EYQZC5IV.js → chunk-RUXC23NN.js} +2 -2
- package/dist/{chunk-Q3JHO3EJ.js → chunk-S6YIK7UL.js} +1 -1
- package/dist/{chunk-IC6ARAAT.js → chunk-SOWPQ2FC.js} +5 -5
- package/dist/{chunk-GAKYGHUR.js → chunk-SXUSGBNY.js} +1 -1
- package/dist/{chunk-JOABO2PX.js → chunk-T6RUSL5H.js} +5 -5
- package/dist/{chunk-I2DSQVSB.js → chunk-T6WMAF5P.js} +1 -1
- package/dist/{chunk-QQ4U4NST.js → chunk-TCEUXUBI.js} +7 -7
- package/dist/{chunk-AKGNLKZP.js → chunk-TYCRIIBI.js} +2 -2
- package/dist/{chunk-GC75Q5P2.js → chunk-UE3YQBQT.js} +5 -5
- package/dist/{chunk-N2IP7IDG.js → chunk-UF55EUBY.js} +1 -1
- package/dist/{chunk-L6IKTYMZ.js → chunk-UKVLAZIH.js} +6 -6
- package/dist/{chunk-LH7NQSUC.js → chunk-V2RKBSFJ.js} +1 -1
- package/dist/{chunk-MGGN37IW.js → chunk-V7KJTDSQ.js} +562 -31
- package/dist/{chunk-B4MK2ZX2.js → chunk-VHXEKBUD.js} +3 -3
- package/dist/{chunk-ATHP6SIZ.js → chunk-VW2YJO5P.js} +2 -2
- package/dist/{chunk-6LJVKWV7.js → chunk-W3J2RRNE.js} +5 -5
- package/dist/{chunk-IXXH6ZDQ.js → chunk-WEHHOYKI.js} +2 -2
- package/dist/{chunk-5AL5W2HQ.js → chunk-WPKBOJX6.js} +3 -3
- package/dist/{chunk-LIZZSMUD.js → chunk-Z4Z7V3EK.js} +8 -8
- package/dist/{chunk-4ARB3SYI.js → chunk-ZBEFKVTK.js} +1 -1
- package/dist/{chunk-RXGEWDA2.js → chunk-ZO2CFED5.js} +38 -27
- package/dist/{chunk-GAO33I7L.js → chunk-ZQUV2VTD.js} +4 -4
- package/dist/{chunk-ZVIF4O6V.js → chunk-ZTC6RRW2.js} +2 -2
- package/dist/{codex-app-cards-switch-325EWQUA.js → codex-app-cards-switch-HUTILTTI.js} +12 -12
- package/dist/{codex-card-routing-NXI4P7PB.js → codex-card-routing-SNGFGTXM.js} +2 -2
- package/dist/{codex-desktop-launch-3OAHHDWE.js → codex-desktop-launch-HF6IMUTX.js} +3 -3
- package/dist/{codex-session-launch-YB4LGTG2.js → codex-session-launch-QLQZTMB7.js} +20 -20
- package/dist/{config-4FJ7KK75.js → config-I34XYHBG.js} +3 -3
- package/dist/{global-upgrade-E4UKP2KG.js → global-upgrade-AFRFVNVD.js} +9 -9
- package/dist/{identity-VQNJSXZO.js → identity-ZPEQQCFS.js} +4 -4
- package/dist/{live-capabilities-YJW4CU7J.js → live-capabilities-GAWWCLCB.js} +4 -4
- package/dist/{paths-FOJGTYX4.js → paths-CHXMUOTC.js} +3 -3
- package/dist/reapply-YJ5GKYYN.js +76 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +34 -34
- package/dist/{upgrade-lock-MGX4PJQZ.js → upgrade-lock-MNUVFYRM.js} +4 -4
- package/dist/{usage-24DU5SWS.js → usage-BH2ND6CM.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-Q2MIQ4A7.js +0 -76
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL,
|
|
3
|
+
MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN,
|
|
4
|
+
WILDCARD_TOOL_PATTERN
|
|
5
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
6
|
+
|
|
1
7
|
// src/wait-ladder.ts
|
|
8
|
+
var WAIT_RULE_LABELS = {
|
|
9
|
+
[WILDCARD_TOOL_PATTERN]: "default (*)",
|
|
10
|
+
[MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN]: MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL
|
|
11
|
+
};
|
|
12
|
+
var waitRuleLabelOf = (tool) => Object.hasOwn(WAIT_RULE_LABELS, tool) ? WAIT_RULE_LABELS[tool] ?? tool : tool;
|
|
2
13
|
var HAND_BACK = "then hand back to the agent's own prompt";
|
|
3
14
|
var describeWaitLadder = (p) => {
|
|
4
15
|
if (p.mode === "terminal_only") return "no approval alerts, the agent's own prompt decides";
|
|
@@ -12,5 +23,6 @@ var describeWaitLadder = (p) => {
|
|
|
12
23
|
};
|
|
13
24
|
|
|
14
25
|
export {
|
|
26
|
+
waitRuleLabelOf,
|
|
15
27
|
describeWaitLadder
|
|
16
28
|
};
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
uninstallOpenClawPlugin,
|
|
17
17
|
unsetOpenClawEntry,
|
|
18
18
|
writeOpenClawEntry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NNOQGK5M.js";
|
|
20
20
|
import {
|
|
21
21
|
needsShell
|
|
22
22
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
openClawDirectoriesToLookIn,
|
|
29
29
|
openClawPluginFolder,
|
|
30
30
|
openClawSetupReceiptDirectory
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-A32JBM4J.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePathBinary
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZQUV2VTD.js";
|
|
35
35
|
import {
|
|
36
36
|
readJsonSafe,
|
|
37
37
|
writeJsonAtomic
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-CXQWDQCJ.js";
|
|
43
43
|
import {
|
|
44
44
|
isRecord
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
46
46
|
|
|
47
47
|
// src/hermes/plugin-payload.ts
|
|
48
48
|
import { createHash } from "crypto";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7MTRSXUI.js";
|
|
13
13
|
import {
|
|
14
14
|
CODEX_APP_LAUNCH_AT_LOGIN_VERB,
|
|
15
15
|
CODEX_APP_LAUNCH_VARIABLE,
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
} from "./chunk-QCGNGEGE.js";
|
|
21
21
|
import {
|
|
22
22
|
parseConfigDocument
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R2DXZ3H7.js";
|
|
24
24
|
import {
|
|
25
25
|
xml
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J4QQJV4L.js";
|
|
27
27
|
import {
|
|
28
28
|
codexHomeFrom
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-A32JBM4J.js";
|
|
30
30
|
import {
|
|
31
31
|
readRegularTextFile,
|
|
32
32
|
writeFileAtomic
|
|
33
33
|
} from "./chunk-PM2NRK6Y.js";
|
|
34
34
|
import {
|
|
35
35
|
isRecord
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
37
37
|
|
|
38
38
|
// src/codex-app-cards-switch.ts
|
|
39
39
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeConfigDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A32JBM4J.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePermissionRulesFromSettings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
7
7
|
|
|
8
8
|
// src/claude-permission-rules.ts
|
|
9
9
|
import { readFileSync, statSync } from "fs";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LEPTAZLV.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OX6GPAAQ.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2RAXOB4Y.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AHCI4HO3.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WPKBOJX6.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-K3LBA4XD.js";
|
|
24
24
|
import {
|
|
25
25
|
parseConfigDocument
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R2DXZ3H7.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_HOOKS_KEY_PATH,
|
|
29
29
|
GEMINI_HOOK_BINARY,
|
|
30
30
|
GEMINI_HOOK_EVENTS,
|
|
31
31
|
hooksAt
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GQS7ZZ3S.js";
|
|
33
33
|
import {
|
|
34
34
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
35
35
|
CODEX_HOOK_BINARY,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
parseHookArgv,
|
|
58
58
|
parseHookCommand,
|
|
59
59
|
supportedClaudeEvents
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-A32JBM4J.js";
|
|
61
61
|
import {
|
|
62
62
|
readRegularJsonFile,
|
|
63
63
|
readRegularTextFile
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
OPENCODE_APPROVAL_EVENT,
|
|
72
72
|
isRecord,
|
|
73
73
|
matcherMatchesEveryCall
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
75
75
|
|
|
76
76
|
// src/hook-wiring.ts
|
|
77
77
|
import { createHash } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2KJYGGZ6.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TYCRIIBI.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-V7KJTDSQ.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;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GDUJTSOO.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HRKTB43U.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TYCRIIBI.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4CQHOOTR.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BBXMSJPK.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-L67LOALO.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-K4R2E25S.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-2RAXOB4Y.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ICGOK7N6.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-K3LBA4XD.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-GQS7ZZ3S.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BEMKLT6F.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-P55MQFCO.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-A32JBM4J.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-ZQUV2VTD.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-V7KJTDSQ.js";
|
|
132
132
|
|
|
133
133
|
// src/reapply.ts
|
|
134
134
|
import { dirname, join } from "path";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A32JBM4J.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZQUV2VTD.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toolResultErrorText,
|
|
30
30
|
transcriptTokensIn,
|
|
31
31
|
transcriptUsageRequest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UF55EUBY.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-6EYG42OD.js";
|
|
49
49
|
import {
|
|
50
50
|
RETRY_ACK,
|
|
51
51
|
readCommandAck,
|
|
52
52
|
refusedReceiptMessage
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-SXUSGBNY.js";
|
|
54
54
|
import {
|
|
55
55
|
SubscriptionRequiredError,
|
|
56
56
|
isRetryable,
|
|
57
57
|
withRetry
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-GDUJTSOO.js";
|
|
59
59
|
import {
|
|
60
60
|
fetchAsCredential
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-HRKTB43U.js";
|
|
62
62
|
import {
|
|
63
63
|
branchFor,
|
|
64
64
|
projectNameFor,
|
|
65
65
|
repoKeyFor
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-T6WMAF5P.js";
|
|
67
67
|
import {
|
|
68
68
|
getMachineId
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-V2RKBSFJ.js";
|
|
70
70
|
import {
|
|
71
71
|
reportedInstallSource
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-57K3LBJB.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-A32JBM4J.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-TYCRIIBI.js";
|
|
88
88
|
import {
|
|
89
89
|
writeFileAtomic,
|
|
90
90
|
writeJsonAtomicDurable
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
resolvePolicy,
|
|
153
153
|
unansweredRefusalReason,
|
|
154
154
|
waitsForThePhone
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
156
156
|
|
|
157
157
|
// src/pending.ts
|
|
158
158
|
import { join } from "path";
|
|
@@ -458,6 +458,12 @@ var emitHookOutput = async (render, write = writeOutput) => {
|
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
|
|
461
|
+
// src/telemetry-opt-out.ts
|
|
462
|
+
var TELEMETRY_OPT_OUT_VARIABLES = ["DO_NOT_TRACK", "PUSHARY_TELEMETRY_DISABLED"];
|
|
463
|
+
var OPT_IN_SPELLINGS = ["", "0", "false"];
|
|
464
|
+
var variableOptsOut = (value) => value !== void 0 && !OPT_IN_SPELLINGS.includes(value.trim().toLowerCase());
|
|
465
|
+
var telemetryOptedOut = (env) => TELEMETRY_OPT_OUT_VARIABLES.some((name) => variableOptsOut(env[name]));
|
|
466
|
+
|
|
461
467
|
// src/policy.ts
|
|
462
468
|
import { createHash as createHash2 } from "crypto";
|
|
463
469
|
import { existsSync as existsSync2, lstatSync as lstatSync2, readFileSync as readFileSync2, readdirSync as readdirSync2, unlinkSync as unlinkSync2, utimesSync, writeFileSync as writeFileSync2 } from "fs";
|
|
@@ -1314,7 +1320,7 @@ var phoneDrivenEnv = (base) => ({
|
|
|
1314
1320
|
import { join as join5 } from "path";
|
|
1315
1321
|
import { tmpdir as tmpdir5 } from "os";
|
|
1316
1322
|
import { createHash as createHash4 } from "crypto";
|
|
1317
|
-
import { existsSync as existsSync4, mkdirSync as mkdirSync3, statSync as statSync3, writeFileSync as writeFileSync5, rmSync as rmSync2 } from "fs";
|
|
1323
|
+
import { existsSync as existsSync4, mkdirSync as mkdirSync3, statSync as statSync3, writeFileSync as writeFileSync5, rmSync as rmSync2, utimesSync as utimesSync2 } from "fs";
|
|
1318
1324
|
var THROTTLE_DIR = join5(tmpdir5(), "pushary-throttle");
|
|
1319
1325
|
var markerPath = (key) => join5(THROTTLE_DIR, createHash4("sha256").update(key).digest("hex").slice(0, 16));
|
|
1320
1326
|
var claimThrottle = (key, windowMs) => {
|
|
@@ -1331,16 +1337,24 @@ var claimThrottle = (key, windowMs) => {
|
|
|
1331
1337
|
var releaseThrottle = (key) => {
|
|
1332
1338
|
rmSync2(markerPath(key), { force: true });
|
|
1333
1339
|
};
|
|
1340
|
+
var rearmThrottle = (key, windowMs, retryAfterMs) => {
|
|
1341
|
+
const stampSeconds = (Date.now() - windowMs + retryAfterMs) / 1e3;
|
|
1342
|
+
utimesSync2(markerPath(key), stampSeconds, stampSeconds);
|
|
1343
|
+
};
|
|
1344
|
+
var renewThrottle = (key) => {
|
|
1345
|
+
const stampSeconds = Date.now() / 1e3;
|
|
1346
|
+
utimesSync2(markerPath(key), stampSeconds, stampSeconds);
|
|
1347
|
+
};
|
|
1334
1348
|
|
|
1335
1349
|
// src/blocked-action-hint.ts
|
|
1336
1350
|
import { createHash as createHash5 } from "crypto";
|
|
1337
|
-
import { existsSync as existsSync5, mkdirSync as mkdirSync5, readFileSync as readFileSync5, readdirSync as readdirSync4, rmSync as rmSync4, statSync as statSync4, utimesSync as
|
|
1351
|
+
import { existsSync as existsSync5, mkdirSync as mkdirSync5, readFileSync as readFileSync5, readdirSync as readdirSync4, rmSync as rmSync4, statSync as statSync4, utimesSync as utimesSync4 } from "fs";
|
|
1338
1352
|
import { tmpdir as tmpdir7 } from "os";
|
|
1339
1353
|
import { join as join7 } from "path";
|
|
1340
1354
|
|
|
1341
1355
|
// src/call-decision-store.ts
|
|
1342
1356
|
import { randomUUID } from "crypto";
|
|
1343
|
-
import { linkSync, lstatSync as lstatSync3, mkdirSync as mkdirSync4, readFileSync as readFileSync4, readdirSync as readdirSync3, renameSync, rmSync as rmSync3, utimesSync as
|
|
1357
|
+
import { linkSync, lstatSync as lstatSync3, mkdirSync as mkdirSync4, readFileSync as readFileSync4, readdirSync as readdirSync3, renameSync, rmSync as rmSync3, utimesSync as utimesSync3, writeFileSync as writeFileSync6 } from "fs";
|
|
1344
1358
|
import { tmpdir as tmpdir6, userInfo } from "os";
|
|
1345
1359
|
import { join as join6 } from "path";
|
|
1346
1360
|
var userScope = () => {
|
|
@@ -1526,7 +1540,7 @@ var callDecisionStore = (name, ttlMs, options = {}) => {
|
|
|
1526
1540
|
const pending = join6(dir, `${key}.${randomUUID()}.pending`);
|
|
1527
1541
|
try {
|
|
1528
1542
|
writeFileSync6(pending, JSON.stringify(decision), { encoding: "utf-8", mode: PRIVATE_FILE_MODE, flag: "wx" });
|
|
1529
|
-
|
|
1543
|
+
utimesSync3(pending, Date.now() / MS_PER_SECOND2, recordedAtMs / MS_PER_SECOND2);
|
|
1530
1544
|
linkSync(pending, join6(dir, key));
|
|
1531
1545
|
} catch (error) {
|
|
1532
1546
|
if (!isAlreadyPresent(error)) reportUnrecordedDecision(error instanceof Error ? error.message : String(error));
|
|
@@ -1645,7 +1659,7 @@ var markApprovalReminded = (approval) => {
|
|
|
1645
1659
|
const { atime, mtime } = statSync4(path);
|
|
1646
1660
|
const { fingerprint, sessionId, toolName } = approval;
|
|
1647
1661
|
writeFileAtomic(path, JSON.stringify({ fingerprint, sessionId, toolName, reminded: true }), 384);
|
|
1648
|
-
|
|
1662
|
+
utimesSync4(path, atime, mtime);
|
|
1649
1663
|
} catch {
|
|
1650
1664
|
return;
|
|
1651
1665
|
}
|
|
@@ -1754,7 +1768,7 @@ var isWaitingOnBackgroundWork = (sessionKey, nowMs = Date.now()) => {
|
|
|
1754
1768
|
|
|
1755
1769
|
// src/gate-outcome-record.ts
|
|
1756
1770
|
import { createHash as createHash7 } from "crypto";
|
|
1757
|
-
import { lstatSync as lstatSync4, readFileSync as readFileSync7, readdirSync as readdirSync6, utimesSync as
|
|
1771
|
+
import { lstatSync as lstatSync4, readFileSync as readFileSync7, readdirSync as readdirSync6, utimesSync as utimesSync5, writeFileSync as writeFileSync8 } from "fs";
|
|
1758
1772
|
import { tmpdir as tmpdir9 } from "os";
|
|
1759
1773
|
import { join as join10 } from "path";
|
|
1760
1774
|
var GATE_OUTCOME_RECORD_TTL_MS = 60 * 60 * 1e3;
|
|
@@ -1775,7 +1789,7 @@ var claimedSweep = (stamp, nowMs) => {
|
|
|
1775
1789
|
try {
|
|
1776
1790
|
const stamped = lstatSync4(stamp);
|
|
1777
1791
|
if (!stamped.isFile() || nowMs - stamped.mtimeMs < GATE_OUTCOME_SWEEP_INTERVAL_MS) return false;
|
|
1778
|
-
|
|
1792
|
+
utimesSync5(stamp, nowMs / 1e3, nowMs / 1e3);
|
|
1779
1793
|
return true;
|
|
1780
1794
|
} catch {
|
|
1781
1795
|
return startedSweepStamp(stamp);
|
|
@@ -1972,6 +1986,42 @@ var deriveAutoDecisionBeacon = (toolName, toolInput, liveMode, agentType, cwd, s
|
|
|
1972
1986
|
};
|
|
1973
1987
|
var AUTO_DECISION_WINDOW_MS = 15 * 60 * 1e3;
|
|
1974
1988
|
var HOOK_ACTIVE_WINDOW_MS = 30 * 60 * 1e3;
|
|
1989
|
+
var HOOK_ACTIVE_REPORT = { maxAttempts: 1, timeoutMs: 800 };
|
|
1990
|
+
var HOOK_ACTIVE_RETRY_MS = 2 * 60 * 1e3;
|
|
1991
|
+
var HOOK_ACTIVE_CUT_SHORT_RETRY_MS = 10 * 60 * 1e3;
|
|
1992
|
+
var EventRejectedError = class extends Error {
|
|
1993
|
+
constructor(status) {
|
|
1994
|
+
super(`/api/agent/event rejected (${status})`);
|
|
1995
|
+
this.status = status;
|
|
1996
|
+
}
|
|
1997
|
+
};
|
|
1998
|
+
var TOO_MANY_REQUESTS = 429;
|
|
1999
|
+
var isDefinitiveRefusal = (error) => error instanceof EventRejectedError && error.status >= 400 && error.status < 500 && error.status !== TOO_MANY_REQUESTS;
|
|
2000
|
+
var isTimeout = (error) => error instanceof Error && error.name === "TimeoutError";
|
|
2001
|
+
var hookActiveWindowAfter = (error, toolReportSettled) => {
|
|
2002
|
+
if (error === null || isDefinitiveRefusal(error)) return { kind: "full" };
|
|
2003
|
+
if (toolReportSettled && !isTimeout(error)) return { kind: "retry", afterMs: HOOK_ACTIVE_CUT_SHORT_RETRY_MS };
|
|
2004
|
+
return { kind: "retry", afterMs: HOOK_ACTIVE_RETRY_MS };
|
|
2005
|
+
};
|
|
2006
|
+
var keepThrottleQuietly = (keep) => {
|
|
2007
|
+
try {
|
|
2008
|
+
keep();
|
|
2009
|
+
} catch {
|
|
2010
|
+
return;
|
|
2011
|
+
}
|
|
2012
|
+
};
|
|
2013
|
+
var holdHookActiveWindow = (throttleKey, window) => keepThrottleQuietly(() => window.kind === "full" ? renewThrottle(throttleKey) : rearmThrottle(throttleKey, HOOK_ACTIVE_WINDOW_MS, window.afterMs));
|
|
2014
|
+
var reportHookActive = async (throttleKey, event, signals, report = reportEvent) => {
|
|
2015
|
+
holdHookActiveWindow(throttleKey, { kind: "retry", afterMs: HOOK_ACTIVE_RETRY_MS });
|
|
2016
|
+
const signal = AbortSignal.any([signals.budget, signals.toolReportSettled]);
|
|
2017
|
+
try {
|
|
2018
|
+
await report(event, { ...HOOK_ACTIVE_REPORT, requireOk: true, skipDrain: true, signal });
|
|
2019
|
+
holdHookActiveWindow(throttleKey, { kind: "full" });
|
|
2020
|
+
} catch (error) {
|
|
2021
|
+
holdHookActiveWindow(throttleKey, hookActiveWindowAfter(error, signals.toolReportSettled.aborted));
|
|
2022
|
+
}
|
|
2023
|
+
};
|
|
2024
|
+
var telemetryOptOutMark = (env = process.env) => telemetryOptedOut(env) ? { telemetryOptOut: true } : {};
|
|
1975
2025
|
var permissionModeOf = (input) => {
|
|
1976
2026
|
const permissionMode = parsePermissionMode(input.permission_mode);
|
|
1977
2027
|
return permissionMode === void 0 ? {} : { permissionMode };
|
|
@@ -2083,7 +2133,7 @@ var reportEvent = async (event, options = {}) => {
|
|
|
2083
2133
|
}),
|
|
2084
2134
|
signal: AbortSignal.any([AbortSignal.timeout(timeoutMs), ...options.signal ? [options.signal] : []])
|
|
2085
2135
|
});
|
|
2086
|
-
if ((options.requireOk || event.usage !== void 0) && !res.ok) throw new
|
|
2136
|
+
if ((options.requireOk || event.usage !== void 0) && !res.ok) throw new EventRejectedError(res.status);
|
|
2087
2137
|
try {
|
|
2088
2138
|
const result = await res.json();
|
|
2089
2139
|
const withoutPending = () => ({ ...result, pendingCommand: void 0, pendingCommandId: void 0 });
|
|
@@ -2212,17 +2262,18 @@ var handlePostToolUse = async (input, agent = CLAUDE_CODE_AGENT) => {
|
|
|
2212
2262
|
skipDrain: insideSubagent
|
|
2213
2263
|
});
|
|
2214
2264
|
const extraReports = [];
|
|
2215
|
-
|
|
2265
|
+
const hookActiveKey = `hookactive:${sessionKey}`;
|
|
2266
|
+
if (claimThrottle(hookActiveKey, HOOK_ACTIVE_WINDOW_MS) === "passed") {
|
|
2267
|
+
const toolReportSettled = new AbortController();
|
|
2268
|
+
void toolReport.finally(() => toolReportSettled.abort()).catch(() => void 0);
|
|
2216
2269
|
extraReports.push(
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
{ maxAttempts: 1, timeoutMs: 800, signal }
|
|
2225
|
-
)
|
|
2270
|
+
reportHookActive(hookActiveKey, {
|
|
2271
|
+
event: "agent_hook_active",
|
|
2272
|
+
agentType: agent.type,
|
|
2273
|
+
agentName: `${agent.label} - ${projectName}`,
|
|
2274
|
+
sessionId: input.session_id,
|
|
2275
|
+
...telemetryOptOutMark()
|
|
2276
|
+
}, { budget: signal, toolReportSettled: toolReportSettled.signal })
|
|
2226
2277
|
);
|
|
2227
2278
|
}
|
|
2228
2279
|
const [reported] = await Promise.allSettled([toolReport, ...extraReports]);
|
|
@@ -2507,6 +2558,7 @@ export {
|
|
|
2507
2558
|
phoneDrivenEnv,
|
|
2508
2559
|
claimThrottle,
|
|
2509
2560
|
releaseThrottle,
|
|
2561
|
+
telemetryOptedOut,
|
|
2510
2562
|
policyRequestFor,
|
|
2511
2563
|
getPolicy,
|
|
2512
2564
|
getPolicyForStandingDenies,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A32JBM4J.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-V7KJTDSQ.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveInstallSourceFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-57K3LBJB.js";
|
|
4
4
|
import {
|
|
5
5
|
apiKeyInForce,
|
|
6
6
|
configFilePath,
|
|
7
7
|
keyPrefixToShow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TYCRIIBI.js";
|
|
9
9
|
import {
|
|
10
10
|
backupFile,
|
|
11
11
|
backupFileInto,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
API_KEY_PREFIX_PATTERN,
|
|
18
18
|
isRecord,
|
|
19
19
|
isValidApiKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-V7KJTDSQ.js";
|
|
21
21
|
|
|
22
22
|
// src/shell-alias.ts
|
|
23
23
|
import { homedir } from "os";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NNPMQ6L6.js";
|
|
4
4
|
import {
|
|
5
5
|
claudePromptMayFollowPreToolUseAllow,
|
|
6
6
|
promptedCallIdentityText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UF55EUBY.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-POFBE6ZY.js";
|
|
4
4
|
import {
|
|
5
5
|
autoUpdateState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A32JBM4J.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-V7KJTDSQ.js";
|
|
21
21
|
|
|
22
22
|
// src/auto-update.ts
|
|
23
23
|
import { spawn } from "child_process";
|