pushary 1.9.238 → 1.9.240
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 +13 -0
- package/dist/{api-6COZTYZM.js → api-S3HQL4CV.js} +15 -15
- 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 +30 -30
- 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 +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +11 -0
- package/dist/bin/pushary-doctor.js +48 -48
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +31 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +34 -34
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- 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 +39 -39
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +140 -173
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +41 -37
- 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 +26 -26
- package/dist/bin/pushary-upgrade.js +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-NW62NODJ.js → chunk-2FKAQDIY.js} +2 -2
- package/dist/{chunk-5YBE5264.js → chunk-3KR7IXGP.js} +4 -4
- package/dist/{chunk-66EXK6N2.js → chunk-3RHUT4CT.js} +5 -5
- package/dist/{chunk-6NGQKZRR.js → chunk-3VGW6MMH.js} +4 -4
- package/dist/{chunk-RUNGEQEF.js → chunk-47PF7UUS.js} +3 -3
- package/dist/{chunk-WI6LLJX6.js → chunk-4ALCCCOW.js} +34 -16
- package/dist/{chunk-BG2KNRIP.js → chunk-4KA5FPCU.js} +2 -2
- package/dist/{chunk-IWZL36GG.js → chunk-4SERWSEJ.js} +8 -8
- package/dist/{chunk-KMYEVS64.js → chunk-54FAMVFU.js} +1 -1
- package/dist/{chunk-QMMZ3MAM.js → chunk-5JEWS5WP.js} +1 -1
- package/dist/{chunk-LHEPU5IM.js → chunk-5MTDC25A.js} +6 -6
- package/dist/{chunk-WX3Q3PGJ.js → chunk-5ONH6JSZ.js} +1 -1
- package/dist/{chunk-NB4LZJQA.js → chunk-6HCARNSZ.js} +23 -3
- package/dist/{chunk-QKHQ5LXZ.js → chunk-6MK3OFFQ.js} +12 -12
- package/dist/{chunk-QM73W2QU.js → chunk-6O4LOD7E.js} +1 -1
- package/dist/{chunk-5TYCY5OA.js → chunk-6T3JNLXH.js} +1 -1
- package/dist/{chunk-BSHMTL23.js → chunk-7HX3GQ3J.js} +1 -1
- package/dist/{chunk-FNKI57UP.js → chunk-AZ7I6F6U.js} +2 -2
- package/dist/{chunk-B7GWLPB4.js → chunk-B4U25UYA.js} +3 -3
- package/dist/{chunk-HKJR64XL.js → chunk-B7LTTHPP.js} +2 -2
- package/dist/{chunk-V5RKFW5U.js → chunk-B7TUAYY4.js} +7 -7
- package/dist/{chunk-MEKVWNU5.js → chunk-BFFE3XUB.js} +11 -5
- package/dist/{chunk-CPO4FB4I.js → chunk-BWJ5XWOY.js} +1 -1
- package/dist/{chunk-RKRF6LAH.js → chunk-BXIW4PYY.js} +1 -1
- package/dist/{chunk-5EKG2O3X.js → chunk-C2G6EI42.js} +5 -5
- package/dist/{chunk-AH6WIF2B.js → chunk-CBNSLSTN.js} +20 -20
- package/dist/{chunk-EWR5FW3E.js → chunk-CDP47IC4.js} +1 -1
- package/dist/{chunk-DICSJJEX.js → chunk-CGNHFWTM.js} +24 -3
- package/dist/{chunk-EPREWBWT.js → chunk-CP7FDXDR.js} +4 -4
- package/dist/{chunk-X3G23U6W.js → chunk-DGF63IWR.js} +1 -1
- package/dist/{chunk-JH5YPNWT.js → chunk-EJIVYRYV.js} +8 -12
- package/dist/{chunk-C2OEIBC5.js → chunk-EOIWK4T3.js} +2 -2
- package/dist/{chunk-6BDJHPF4.js → chunk-FIW3N3OO.js} +2 -2
- package/dist/{chunk-N6HSV5WS.js → chunk-FN6K5DJE.js} +1 -1
- package/dist/{chunk-3PGYWPK3.js → chunk-G7N3AMF2.js} +4 -4
- package/dist/{chunk-6PATJ424.js → chunk-GRDGIN5F.js} +1 -1
- package/dist/{chunk-BBCNN2AH.js → chunk-GUZHMUPZ.js} +2 -9
- package/dist/{chunk-XCRSQHF6.js → chunk-HYCSVBZU.js} +6 -6
- package/dist/{chunk-MR3FB53W.js → chunk-I2PDVTLE.js} +14 -7
- package/dist/{chunk-OUW4OC62.js → chunk-IIHJRQUH.js} +4 -4
- package/dist/{chunk-RTH2HEDI.js → chunk-IUGLAPOI.js} +7 -3
- package/dist/{chunk-JPAS42V6.js → chunk-IVVAUS4X.js} +4 -4
- package/dist/{chunk-LSOUQM34.js → chunk-JNGQTIM4.js} +2 -2
- package/dist/{chunk-PN5DELQ2.js → chunk-JVVVKMHW.js} +1 -1
- package/dist/{chunk-4X7ABZ7Y.js → chunk-KIY2LDOS.js} +1 -1
- package/dist/{chunk-OVBOPN5A.js → chunk-KNR4GPWC.js} +1 -1
- package/dist/{chunk-C7KDVFUC.js → chunk-MGGUU2HK.js} +5 -5
- package/dist/{chunk-2J72WZUR.js → chunk-MN52HESI.js} +2 -2
- package/dist/{chunk-2CTSBFHV.js → chunk-MRRFHM5W.js} +3 -3
- package/dist/{chunk-27CJNWPD.js → chunk-MUJQEBEI.js} +3 -3
- package/dist/{chunk-W3R6V5QK.js → chunk-N27CCH7E.js} +3 -24
- package/dist/{chunk-K4XKLJ5T.js → chunk-NSTSKANY.js} +1 -1
- package/dist/{chunk-QKTNDYQB.js → chunk-OCX3VPL7.js} +14 -12
- package/dist/{chunk-4QAP6GHR.js → chunk-OKAFHEJQ.js} +3 -3
- package/dist/{chunk-P7JSTMBS.js → chunk-ON7GUC77.js} +84 -36
- package/dist/{chunk-VBLHVZFM.js → chunk-OQMYK75R.js} +1 -1
- package/dist/{chunk-MTH4ZICV.js → chunk-OSQPNWK2.js} +3 -3
- package/dist/{chunk-JBG4QVAU.js → chunk-PBAX5ZTC.js} +3 -3
- package/dist/{chunk-HWTQWEWD.js → chunk-PIF4FJBM.js} +4 -4
- package/dist/{chunk-45ZHB7MW.js → chunk-QHZUGUXM.js} +4 -4
- package/dist/{chunk-52IFCHA7.js → chunk-R3KWJHV5.js} +5 -5
- package/dist/{chunk-T6QHUFXH.js → chunk-RRDNCZ5B.js} +1 -1
- package/dist/{chunk-AIQFWVE2.js → chunk-S5NZYFIW.js} +5 -5
- package/dist/{chunk-TBR5X5OH.js → chunk-SFE3KYTV.js} +1 -1
- package/dist/{chunk-CL6MOOT5.js → chunk-SHJTV4M2.js} +7 -7
- package/dist/{chunk-ZFBLE2TM.js → chunk-SR3IJPFT.js} +5 -5
- package/dist/{chunk-6II2RZ2P.js → chunk-T7BENAXJ.js} +2 -2
- package/dist/{chunk-HQ6U3IHW.js → chunk-UPLB3UAG.js} +5 -5
- package/dist/{chunk-O5X3Y2PU.js → chunk-UZDOP52C.js} +3 -3
- package/dist/{chunk-H6KDC2P5.js → chunk-VBXEKGOD.js} +1 -1
- package/dist/{chunk-2G62SVZ3.js → chunk-VGPLLTWD.js} +1 -1
- package/dist/{chunk-GQDPJZYM.js → chunk-VWYNFCZZ.js} +9 -9
- package/dist/{chunk-B7SBG62C.js → chunk-W5RHKVDB.js} +10 -10
- package/dist/{chunk-P6ZDJNZ6.js → chunk-WSVJH327.js} +2 -2
- package/dist/{chunk-LHGVDWHK.js → chunk-WVKLSWNF.js} +1 -1
- package/dist/{chunk-UOPOVQ2P.js → chunk-XNF5DVAF.js} +1 -3
- package/dist/{chunk-CGIJEEBF.js → chunk-YBEZ373R.js} +5 -5
- package/dist/{chunk-X3SZK7H3.js → chunk-YMNUS2OX.js} +2 -2
- package/dist/{chunk-S3GVSOSL.js → chunk-Z3GHXUCO.js} +7 -5
- package/dist/{chunk-4BH6DSMA.js → chunk-Z443YMGX.js} +5 -5
- package/dist/{chunk-N5NRJWDX.js → chunk-ZOCOTPP5.js} +2 -2
- package/dist/{chunk-YFSXI43Z.js → chunk-ZVMQ5WJM.js} +1 -1
- package/dist/{codex-app-cards-switch-REJOYOIR.js → codex-app-cards-switch-JY256N6Q.js} +11 -11
- package/dist/{codex-card-routing-H5DR6WTQ.js → codex-card-routing-GJFKRHFN.js} +2 -2
- package/dist/{codex-desktop-launch-WSSRYBTK.js → codex-desktop-launch-KADUT764.js} +3 -3
- package/dist/{codex-session-launch-TSXHQDHH.js → codex-session-launch-5UQLTCD6.js} +20 -20
- package/dist/{config-WVVYAJNO.js → config-BCLQDBDL.js} +3 -3
- package/dist/{global-upgrade-QDGZOY54.js → global-upgrade-GF52LKRB.js} +9 -9
- package/dist/{identity-GE54TGUB.js → identity-KJUPRF7O.js} +4 -4
- package/dist/{live-capabilities-VXTEH2AJ.js → live-capabilities-3WYHLMMU.js} +4 -4
- package/dist/{paths-LGMQB66Z.js → paths-M2JGTCLR.js} +3 -3
- package/dist/{reapply-54P5YVT7.js → reapply-UEQZ26JC.js} +34 -34
- package/dist/src/index.d.ts +8 -3
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-BGNM2EIC.js → upgrade-lock-EGMKQLIM.js} +4 -4
- package/dist/{usage-KORQN3ZK.js → usage-DN7WLHLX.js} +3 -3
- package/package.json +1 -1
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
OPENCLAW_ENVIRONMENT_KEYS,
|
|
6
6
|
openClawEnvironmentOf,
|
|
7
7
|
openClawPathsFrom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GUZHMUPZ.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePathBinary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IIHJRQUH.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecord
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CGNHFWTM.js";
|
|
15
15
|
|
|
16
16
|
// src/openclaw/wiring-state.ts
|
|
17
17
|
var OPENCLAW_PLUGIN_ID = "pushary";
|
|
@@ -19,6 +19,19 @@ var OPENCLAW_PLUGIN_PACKAGE = "@pushary/openclaw";
|
|
|
19
19
|
var OPENCLAW_GATE_HOOK = "before_tool_call";
|
|
20
20
|
var OPENCLAW_NOT_FOUND_MARKER = "Plugin not found";
|
|
21
21
|
var OPENCLAW_MIN_VERSION = "2026.11.3";
|
|
22
|
+
var OPENCLAW_VERSION_PATTERN = /(?<![\d.])v?(20\d{2})\.(\d+)\.(\d+)(?![\d.])/;
|
|
23
|
+
var versionPartsOf = (text) => {
|
|
24
|
+
const match = OPENCLAW_VERSION_PATTERN.exec(text);
|
|
25
|
+
return match ? [Number(match[1]), Number(match[2]), Number(match[3])] : null;
|
|
26
|
+
};
|
|
27
|
+
var openClawVersionIn = (output) => OPENCLAW_VERSION_PATTERN.exec(output)?.[0] ?? null;
|
|
28
|
+
var openClawIsOlderThanSupported = (version) => {
|
|
29
|
+
const found = versionPartsOf(version);
|
|
30
|
+
const minimum = versionPartsOf(OPENCLAW_MIN_VERSION);
|
|
31
|
+
if (found === null || minimum === null) return false;
|
|
32
|
+
const differing = found.findIndex((part, index) => part !== minimum[index]);
|
|
33
|
+
return differing !== -1 && found[differing] < minimum[differing];
|
|
34
|
+
};
|
|
22
35
|
var OPENCLAW_ENTRY_UNSET_MARKER = "Config path is valid but unset";
|
|
23
36
|
var LOADED_STATUS = "loaded";
|
|
24
37
|
var ERROR_STATUS = "error";
|
|
@@ -85,6 +98,7 @@ var OPENCLAW_LAUNCHER_NAME = "openclaw";
|
|
|
85
98
|
var OPENCLAW_ENTRY_PATH = `plugins.entries.${OPENCLAW_PLUGIN_ID}`;
|
|
86
99
|
var OPENCLAW_PATH_NOT_FOUND = "Config path not found";
|
|
87
100
|
var OPENCLAW_INSPECT_TIMEOUT_MS = 6e4;
|
|
101
|
+
var OPENCLAW_VERSION_TIMEOUT_MS = 15e3;
|
|
88
102
|
var OPENCLAW_CONFIG_TIMEOUT_MS = 6e4;
|
|
89
103
|
var OPENCLAW_ENABLE_TIMEOUT_MS = 12e4;
|
|
90
104
|
var OPENCLAW_INSTALL_TIMEOUT_MS = 6e5;
|
|
@@ -142,6 +156,10 @@ var inspectOpenClawPlugin = async (session, options) => {
|
|
|
142
156
|
const result = await runOpenClawCommand(session, args, OPENCLAW_INSPECT_TIMEOUT_MS);
|
|
143
157
|
return openClawPluginFactsFrom(result.kind === "ok" ? result : { kind: "failed", output: result.output });
|
|
144
158
|
};
|
|
159
|
+
var readOpenClawVersion = async (session) => {
|
|
160
|
+
const result = await runOpenClawCommand(session, ["--version"], OPENCLAW_VERSION_TIMEOUT_MS);
|
|
161
|
+
return result.kind === "ok" ? openClawVersionIn(result.stdout) : null;
|
|
162
|
+
};
|
|
145
163
|
var readOpenClawEntry = async (session) => {
|
|
146
164
|
const result = await runOpenClawCommand(session, ["config", "get", OPENCLAW_ENTRY_PATH, "--json"], OPENCLAW_CONFIG_TIMEOUT_MS);
|
|
147
165
|
return openClawEntryFrom(result.kind === "ok" ? result : { kind: "failed", output: result.output });
|
|
@@ -159,6 +177,7 @@ export {
|
|
|
159
177
|
OPENCLAW_PLUGIN_ID,
|
|
160
178
|
OPENCLAW_PLUGIN_PACKAGE,
|
|
161
179
|
OPENCLAW_MIN_VERSION,
|
|
180
|
+
openClawIsOlderThanSupported,
|
|
162
181
|
openClawWiringState,
|
|
163
182
|
isOpenClawWired,
|
|
164
183
|
isOursToRemove,
|
|
@@ -167,6 +186,7 @@ export {
|
|
|
167
186
|
openClawLauncherCandidates,
|
|
168
187
|
findOpenClawLauncher,
|
|
169
188
|
inspectOpenClawPlugin,
|
|
189
|
+
readOpenClawVersion,
|
|
170
190
|
readOpenClawEntry,
|
|
171
191
|
writeOpenClawEntry,
|
|
172
192
|
unsetOpenClawEntry,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ensureCodexTrustsPusharyHooks,
|
|
6
6
|
hermesHistoryNeedsTheCliHelper,
|
|
7
7
|
recordInstalledHermesHistoryHelper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OKAFHEJQ.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-BFFE3XUB.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-S5NZYFIW.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-SHJTV4M2.js";
|
|
40
40
|
import {
|
|
41
41
|
detectClaudeVersion
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5JEWS5WP.js";
|
|
43
43
|
import {
|
|
44
44
|
addCompatibleHooks,
|
|
45
45
|
compatibleConfigFile,
|
|
46
46
|
compatibleInstructionsFile,
|
|
47
47
|
hasCompatibleHooks
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3RHUT4CT.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-G7N3AMF2.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BWJ5XWOY.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-N27CCH7E.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-GUZHMUPZ.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-IIHJRQUH.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-CGNHFWTM.js";
|
|
132
132
|
|
|
133
133
|
// src/reapply.ts
|
|
134
134
|
import { dirname, join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectNameFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFE3KYTV.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N27CCH7E.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KNR4GPWC.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2FKAQDIY.js";
|
|
11
11
|
import {
|
|
12
12
|
writeJsonAtomicDurable
|
|
13
13
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
compressTranscriptRecord,
|
|
16
16
|
redactSecretsFromContent,
|
|
17
17
|
transcriptRecordPlaintext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CGNHFWTM.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUGLAPOI.js";
|
|
4
4
|
import {
|
|
5
5
|
KEY_SCOPE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CGNHFWTM.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/approval-settings-pages.ts
|
|
9
9
|
var API_KEYS_PATH = "/dashboard/agent/settings";
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZOCOTPP5.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B7LTTHPP.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VBXEKGOD.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl,
|
|
14
14
|
checkApiKey,
|
|
15
15
|
describeKeyCheck,
|
|
16
16
|
keyCheckFromResponse
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IUGLAPOI.js";
|
|
18
18
|
import {
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-N27CCH7E.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2FKAQDIY.js";
|
|
24
24
|
import {
|
|
25
25
|
EXIT
|
|
26
26
|
} from "./chunk-BG4HHB7E.js";
|
|
27
27
|
import {
|
|
28
28
|
KEY_SCOPE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CGNHFWTM.js";
|
|
30
30
|
|
|
31
31
|
// src/cli/report-key.ts
|
|
32
32
|
var { dim, yellow } = createIo();
|
|
@@ -7,13 +7,15 @@ import {
|
|
|
7
7
|
inspectOpenClawPlugin,
|
|
8
8
|
installOpenClawPluginFrom,
|
|
9
9
|
isOursToRemove,
|
|
10
|
+
openClawIsOlderThanSupported,
|
|
10
11
|
openClawPathsNow,
|
|
11
12
|
openClawWiringState,
|
|
12
13
|
readOpenClawEntry,
|
|
14
|
+
readOpenClawVersion,
|
|
13
15
|
uninstallOpenClawPlugin,
|
|
14
16
|
unsetOpenClawEntry,
|
|
15
17
|
writeOpenClawEntry
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6HCARNSZ.js";
|
|
17
19
|
import {
|
|
18
20
|
needsShell
|
|
19
21
|
} from "./chunk-3PSNUHC5.js";
|
|
@@ -25,10 +27,10 @@ import {
|
|
|
25
27
|
openClawDirectoriesToLookIn,
|
|
26
28
|
openClawPluginFolder,
|
|
27
29
|
openClawSetupReceiptDirectory
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GUZHMUPZ.js";
|
|
29
31
|
import {
|
|
30
32
|
resolvePathBinary
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IIHJRQUH.js";
|
|
32
34
|
import {
|
|
33
35
|
readJsonSafe,
|
|
34
36
|
writeJsonAtomic
|
|
@@ -39,7 +41,7 @@ import {
|
|
|
39
41
|
} from "./chunk-CXQWDQCJ.js";
|
|
40
42
|
import {
|
|
41
43
|
isRecord
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CGNHFWTM.js";
|
|
43
45
|
|
|
44
46
|
// src/hermes/plugin-payload.ts
|
|
45
47
|
import { createHash } from "crypto";
|
|
@@ -3903,6 +3905,10 @@ var recordInstalled = (bundle, folder) => {
|
|
|
3903
3905
|
return;
|
|
3904
3906
|
}
|
|
3905
3907
|
};
|
|
3908
|
+
var unreadableInspectFailure = async (session) => {
|
|
3909
|
+
const version = await readOpenClawVersion(session);
|
|
3910
|
+
return version !== null && openClawIsOlderThanSupported(version) ? { kind: "failed", reason: "openclaw_too_old", detail: version } : { kind: "failed", reason: "inspect_unreadable", detail: "" };
|
|
3911
|
+
};
|
|
3906
3912
|
var installOpenClawPlugin = async (request) => {
|
|
3907
3913
|
const launcher = launcherFor(request.launcher, findOpenClawLauncher);
|
|
3908
3914
|
if (launcher === null) return { kind: "no_launcher" };
|
|
@@ -3911,7 +3917,7 @@ var installOpenClawPlugin = async (request) => {
|
|
|
3911
3917
|
const environment = currentOpenClawEnvironment();
|
|
3912
3918
|
const session = sessionFor(launcher, environment);
|
|
3913
3919
|
const before = await inspectOpenClawPlugin(session, { runtime: false });
|
|
3914
|
-
if (before.kind === "unreadable") return
|
|
3920
|
+
if (before.kind === "unreadable") return await unreadableInspectFailure(session);
|
|
3915
3921
|
if (pluginIdTakenBySomeoneElse(before)) {
|
|
3916
3922
|
return { kind: "failed", reason: "plugin_id_taken", detail: before.kind === "installed" ? before.packageName ?? "" : "" };
|
|
3917
3923
|
}
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IVVAUS4X.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B7LTTHPP.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IUGLAPOI.js";
|
|
15
15
|
import {
|
|
16
16
|
findExportedKeyLines,
|
|
17
17
|
isAdoptedMacAppKey,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N27CCH7E.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CGNHFWTM.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
phoneApprovalSourceFor,
|
|
5
5
|
rememberPhoneApproval,
|
|
6
6
|
takePhoneApproval
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-47PF7UUS.js";
|
|
8
8
|
import {
|
|
9
9
|
claudeSettingsLocationFor,
|
|
10
10
|
readClaudePermissionRules
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WSVJH327.js";
|
|
12
12
|
import {
|
|
13
13
|
defersToNativeMode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GRDGIN5F.js";
|
|
15
15
|
import {
|
|
16
16
|
reportMachineDenial
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CP7FDXDR.js";
|
|
18
18
|
import {
|
|
19
19
|
isGatingMoment,
|
|
20
20
|
recordKeylessMoment
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OQMYK75R.js";
|
|
22
22
|
import {
|
|
23
23
|
isAdmitted,
|
|
24
24
|
readAdmissionRules
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YBEZ373R.js";
|
|
26
26
|
import {
|
|
27
27
|
activeHookSource,
|
|
28
28
|
activeIdentity,
|
|
29
29
|
namedSource
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3RHUT4CT.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_SESSION,
|
|
33
33
|
allow,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
storedWaitDeadline,
|
|
69
69
|
sweepFilesOlderThan,
|
|
70
70
|
userScope
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-ON7GUC77.js";
|
|
72
72
|
import {
|
|
73
73
|
UNNAMED_ACTION,
|
|
74
74
|
deriveAction,
|
|
@@ -79,14 +79,13 @@ import {
|
|
|
79
79
|
patchDeletesFiles,
|
|
80
80
|
permissionDeniedAction,
|
|
81
81
|
scopePathFor
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-7HX3GQ3J.js";
|
|
83
83
|
import {
|
|
84
84
|
askUser,
|
|
85
85
|
cancelQuestion,
|
|
86
86
|
claimBlockedAction,
|
|
87
87
|
clientErrorKindOf,
|
|
88
88
|
isDecisionStopped,
|
|
89
|
-
isLocalQuestionHandoff,
|
|
90
89
|
isQuestionLimitRefusal,
|
|
91
90
|
pollForAnswer,
|
|
92
91
|
reportClientError,
|
|
@@ -94,30 +93,30 @@ import {
|
|
|
94
93
|
sendNotification,
|
|
95
94
|
waitForQuestion,
|
|
96
95
|
withdrawQuestion
|
|
97
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-EJIVYRYV.js";
|
|
98
97
|
import {
|
|
99
98
|
branchFor,
|
|
100
99
|
projectNameFor,
|
|
101
100
|
repoKeyFor,
|
|
102
101
|
repositoryScopeFor
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-SFE3KYTV.js";
|
|
104
103
|
import {
|
|
105
104
|
getMachineId
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZVMQ5WJM.js";
|
|
107
106
|
import {
|
|
108
107
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-GUZHMUPZ.js";
|
|
110
109
|
import {
|
|
111
110
|
getApiKey,
|
|
112
111
|
getBaseUrl,
|
|
113
112
|
isMalformedApiKeyError
|
|
114
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-2FKAQDIY.js";
|
|
115
114
|
import {
|
|
116
115
|
writeFileAtomic
|
|
117
116
|
} from "./chunk-PM2NRK6Y.js";
|
|
118
117
|
import {
|
|
119
118
|
NPX_LATEST_COMMAND
|
|
120
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-DGF63IWR.js";
|
|
121
120
|
import {
|
|
122
121
|
AGENT_QUESTION_STRATEGY,
|
|
123
122
|
AGENT_QUESTION_TOOL,
|
|
@@ -164,6 +163,7 @@ import {
|
|
|
164
163
|
isBlockedActionRequest,
|
|
165
164
|
isClaudeRefusalsOnlyTool,
|
|
166
165
|
isCursorHookPayload,
|
|
166
|
+
isLocalQuestionHandoff,
|
|
167
167
|
isNeverAskedToolOfACatchAllAgent,
|
|
168
168
|
isPermissionRequestOwnedByPreToolUse,
|
|
169
169
|
isPusharyConnectorTool,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
terminalStaysLiveForTheCall,
|
|
186
186
|
timeoutActionWithoutLocalPrompt,
|
|
187
187
|
unapprovedScopeReason
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-CGNHFWTM.js";
|
|
189
189
|
|
|
190
190
|
// src/terminal-answer-watch.ts
|
|
191
191
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -813,7 +813,7 @@ var standingRefusalOf = async (input, canonical) => {
|
|
|
813
813
|
await reportMachineDenial(input, { kind: "kill", reason: KILL_REASON }, ACTIVE_AGENT);
|
|
814
814
|
return settledAs("killed", halted(KILL_REASON));
|
|
815
815
|
}
|
|
816
|
-
const policy = answeredLive ? policyReportingAStaleFallback(await getPolicyForStandingDenies(apiKey, modeState
|
|
816
|
+
const policy = answeredLive ? policyReportingAStaleFallback(await getPolicyForStandingDenies(apiKey, modeState, ACTIVE_AGENT.type, true, input.session_id, networkBudget)) : readCachedPolicy(apiKey, ACTIVE_AGENT.type, true);
|
|
817
817
|
if (policy === null) return settledAs("undecided", void 0);
|
|
818
818
|
const gateInputFor = (toolName) => claudeGateInput(modeState, policy, { ...input, tool_name: toolName }, canonical && { ...canonical, toolName });
|
|
819
819
|
const asCalled = resolveGate(gateInputFor(input.tool_name));
|
|
@@ -843,7 +843,7 @@ var decidePreToolUse = async (input, canonical) => {
|
|
|
843
843
|
}
|
|
844
844
|
try {
|
|
845
845
|
const modeState = await fetchModeState(apiKey, input.session_id);
|
|
846
|
-
const policy = await getPolicy(apiKey, modeState
|
|
846
|
+
const policy = await getPolicy(apiKey, modeState, ACTIVE_AGENT.type, true, input.session_id);
|
|
847
847
|
const gateInput = claudeGateInput(modeState, policy, input, canonical);
|
|
848
848
|
const verdict = resolveGate(gateInput);
|
|
849
849
|
if (verdict.kind === "kill") {
|
|
@@ -992,7 +992,7 @@ var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
|
|
|
992
992
|
}
|
|
993
993
|
try {
|
|
994
994
|
const modeState = await fetchModeState(apiKey, input.session_id);
|
|
995
|
-
const policy = await getPolicy(apiKey, modeState
|
|
995
|
+
const policy = await getPolicy(apiKey, modeState, ACTIVE_AGENT.type, true, input.session_id);
|
|
996
996
|
const gateInput = claudeGateInput(modeState, policy, input, canonical);
|
|
997
997
|
const verdict = resolveGate(gateInput);
|
|
998
998
|
if (verdict.kind === "kill") {
|
|
@@ -1200,6 +1200,9 @@ var APPROVE_ANSWER = "yes";
|
|
|
1200
1200
|
var STOP_HANDOFF_ACTION = "stop";
|
|
1201
1201
|
var DECISION_STOP_STATUSES = ["cancelled", "unavailable", "stopped", "missing"];
|
|
1202
1202
|
var isDecisionStoppedReply = (reply) => reply.handoffAction === STOP_HANDOFF_ACTION || typeof reply.status === "string" && DECISION_STOP_STATUSES.includes(reply.status);
|
|
1203
|
+
var isAwayPaused = (result) => result.paused === true;
|
|
1204
|
+
var isLocalQuestionHandoff = (result) => !isAwayPaused(result) && (result.suppressed === true || result.noDevices === true || result.status === "terminal" || result.status === "notified");
|
|
1205
|
+
var waitsForThePhone = (result) => result.answered !== true && !isAwayPaused(result) && !isLocalQuestionHandoff(result);
|
|
1203
1206
|
var isAbsentOrString = (value) => value === void 0 || typeof value === "string";
|
|
1204
1207
|
var isAbsentOrBoolean = (value) => value === void 0 || typeof value === "boolean";
|
|
1205
1208
|
var isAbsentOrTrue = (value) => value === void 0 || value === true;
|
|
@@ -3272,6 +3275,12 @@ var AGENT_ENFORCEMENT = {
|
|
|
3272
3275
|
http: NO_HOOK
|
|
3273
3276
|
};
|
|
3274
3277
|
|
|
3278
|
+
// ../contracts/src/policy-reuse.ts
|
|
3279
|
+
var POLICY_CACHE_TTL_SECONDS = 60;
|
|
3280
|
+
var POLICY_REUSE_CEILING_SECONDS = 60 * 60;
|
|
3281
|
+
var POLICY_REUSE_KEY_MAX_LENGTH = 64;
|
|
3282
|
+
var isPolicyReuseKey = (value) => typeof value === "string" && value.length > 0 && value.length <= POLICY_REUSE_KEY_MAX_LENGTH;
|
|
3283
|
+
|
|
3275
3284
|
// ../contracts/src/approval-risk.ts
|
|
3276
3285
|
var APPROVAL_RISK_LEVEL = {
|
|
3277
3286
|
normal: "normal",
|
|
@@ -10337,8 +10346,8 @@ var terminalLiveWait = (policy, holdBudgetProof) => {
|
|
|
10337
10346
|
const policySeconds = phoneWindowSeconds(policy);
|
|
10338
10347
|
const decision = pushOnlyTimeoutDecision(policy);
|
|
10339
10348
|
if (decision !== void 0 && policySeconds <= ceiling) return { waitSeconds: policySeconds, holdSeconds: ceiling, onTimeout: decision };
|
|
10340
|
-
const
|
|
10341
|
-
const holdsTheBudget =
|
|
10349
|
+
const waitsForThePhone2 = policy.mode === "push_only" && policy.timeoutAction === "wait";
|
|
10350
|
+
const holdsTheBudget = waitsForThePhone2 || holdBudgetProof !== void 0 && decision === void 0;
|
|
10342
10351
|
return { waitSeconds: holdsTheBudget ? ceiling : Math.min(policySeconds, ceiling), holdSeconds: ceiling, onTimeout: "leave_to_terminal" };
|
|
10343
10352
|
};
|
|
10344
10353
|
var NATIVE_ASK_EVENTS = /* @__PURE__ */ new Set(["PermissionRequest"]);
|
|
@@ -10592,6 +10601,11 @@ var missedAnswerHandBack = ({ agentType, agentLabel, permissionMode }) => {
|
|
|
10592
10601
|
const mode = reportedAutoApprovingMode(agentType, permissionMode);
|
|
10593
10602
|
return mode === null ? HAND_BACK_TO_THE_AGENTS_PROMPT : { kind: "refuse", reason: unansweredInAutoApprovingModeReason(agentLabel, mode) };
|
|
10594
10603
|
};
|
|
10604
|
+
var missedAnswerRefusalReason = (missedAnswer, reach) => {
|
|
10605
|
+
if (missedAnswer.kind !== "refuse") return void 0;
|
|
10606
|
+
if (isAwayPaused(reach)) return unansweredRefusalReason(true);
|
|
10607
|
+
return waitsForThePhone(reach) ? missedAnswer.reason : void 0;
|
|
10608
|
+
};
|
|
10595
10609
|
var QUESTION_LIMIT_REASON = "Pushary already has as many open questions in this session as it allows, so nobody was asked about this and it did not run. Wait until the person answers or cancels one before trying it again.";
|
|
10596
10610
|
var QUESTION_LIMIT_PROMPT_REASON = "Pushary has too many open questions in this session, so this was not sent to the phone. Approve it here.";
|
|
10597
10611
|
var QUESTION_LIMIT_REFUSAL = { kind: "refuse", reason: QUESTION_LIMIT_REASON };
|
|
@@ -10906,6 +10920,7 @@ var aChosenRuleHoldsTheCall = (input) => aChosenRuleGovernsInEitherRepository(in
|
|
|
10906
10920
|
var claudePromptTakesTheCall = (facts, input, verdict) => verdict.kind === "gate" && !verdict.scopeReason && terminalStaysLiveForTheCall(facts) && noModeOverrideIsActive(input) && !aChosenRuleHoldsTheCall(input) && !editGoesToTheAgentsPrompt({ source: facts.source, event: "PreToolUse", permissionMode: facts.permissionMode }, input, verdict);
|
|
10907
10921
|
var isProvenModeResponse = (value) => isRecord(value) && typeof value.kill === "boolean";
|
|
10908
10922
|
var toPolicyVersion = (value) => typeof value === "string" || typeof value === "number" ? String(value) : null;
|
|
10923
|
+
var policyReuseKeyFieldOf = (value) => isPolicyReuseKey(value) ? { policyReuseKey: value } : {};
|
|
10909
10924
|
var modeStateFromResponse = (data) => {
|
|
10910
10925
|
const mode = data.override?.mode;
|
|
10911
10926
|
return {
|
|
@@ -10918,7 +10933,8 @@ var modeStateFromResponse = (data) => {
|
|
|
10918
10933
|
// never as one that silently matches nothing.
|
|
10919
10934
|
scope: isScopeContract(data.scope) ? data.scope : null,
|
|
10920
10935
|
degraded: false,
|
|
10921
|
-
askHandoff: data.askHandoff === true
|
|
10936
|
+
askHandoff: data.askHandoff === true,
|
|
10937
|
+
...policyReuseKeyFieldOf(data.policyReuseKey)
|
|
10922
10938
|
};
|
|
10923
10939
|
};
|
|
10924
10940
|
var GATE_WIRE = 1;
|
|
@@ -11367,7 +11383,11 @@ export {
|
|
|
11367
11383
|
HOOK_FAILURE,
|
|
11368
11384
|
AGENT_ENFORCEMENT,
|
|
11369
11385
|
isDecisionStoppedReply,
|
|
11386
|
+
isAwayPaused,
|
|
11387
|
+
isLocalQuestionHandoff,
|
|
11388
|
+
waitsForThePhone,
|
|
11370
11389
|
isAskUserReply,
|
|
11390
|
+
POLICY_CACHE_TTL_SECONDS,
|
|
11371
11391
|
DECISION_LINE_MAX,
|
|
11372
11392
|
truncateLine,
|
|
11373
11393
|
CURSOR_GATE_EVENTS,
|
|
@@ -11567,6 +11587,7 @@ export {
|
|
|
11567
11587
|
HANDED_BACK_REASON,
|
|
11568
11588
|
HAND_BACK_WITHOUT_A_PROMPT,
|
|
11569
11589
|
missedAnswerHandBack,
|
|
11590
|
+
missedAnswerRefusalReason,
|
|
11570
11591
|
QUESTION_LIMIT_PROMPT_REASON,
|
|
11571
11592
|
questionLimitHandBack,
|
|
11572
11593
|
refusesWhenUnanswered,
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ON7GUC77.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7HX3GQ3J.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SFE3KYTV.js";
|
|
15
15
|
import {
|
|
16
16
|
PERMISSION_ALLOWED_EVENT,
|
|
17
17
|
PERMISSION_DENIED_EVENT,
|
|
18
18
|
machineApprovalFor,
|
|
19
19
|
machineDecisionFor,
|
|
20
20
|
wireVerdictFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CGNHFWTM.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|