@ev-ai/agent-hook 1.1.6 → 1.1.7
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/COLLECTED-DATA.md +16 -12
- package/README.md +3 -3
- package/dist/cli.mjs +37 -31
- package/dist/hook.mjs +33 -27
- package/dist/plugin-hooks.mjs +4 -2
- package/package.json +1 -1
package/dist/plugin-hooks.mjs
CHANGED
|
@@ -8,11 +8,11 @@ var HOOK_CHECKSUMS_FILE = "SHA256SUMS";
|
|
|
8
8
|
var GLOBAL_HOOK_BINARY_RELATIVE = `current/${HOOK_BINARY_NAME}`;
|
|
9
9
|
var PROJECT_HOOK_BINARY_RELATIVE = `.ev-ai/agent-hook/${HOOK_BINARY_NAME}`;
|
|
10
10
|
var HOOK_INPUT_ALLOWLIST_MAX_BYTES = 4 * 1024;
|
|
11
|
-
var HOOK_INPUT_FULL_MAX_BYTES =
|
|
11
|
+
var HOOK_INPUT_FULL_MAX_BYTES = 256 * 1024;
|
|
12
12
|
var HOOK_INPUT_MCP_MAX_BYTES = 4 * 1024;
|
|
13
13
|
var GZIP_MIN_BYTES = 32 * 1024;
|
|
14
14
|
var USER_SPEC_COOLDOWN_MS = 14 * 60 * 60 * 1e3;
|
|
15
|
-
var PACKAGE_VERSION = "1.1.
|
|
15
|
+
var PACKAGE_VERSION = "1.1.7";
|
|
16
16
|
var NPX_PACKAGE_SPEC = `@ev-ai/agent-hook@${PACKAGE_VERSION}`;
|
|
17
17
|
var HOOK_STATUS_MESSAGE = "ev-ai runtime report";
|
|
18
18
|
|
|
@@ -28,6 +28,8 @@ function desiredClaudeHookGroups(command) {
|
|
|
28
28
|
SessionStart: [commandHook()],
|
|
29
29
|
// Slash skills bypass PreToolUse(Skill); UserPromptExpansion is the observable path.
|
|
30
30
|
UserPromptExpansion: [commandHook()],
|
|
31
|
+
// Prompt bodies (non-slash included). Slash skill ids still come from Expansion.
|
|
32
|
+
UserPromptSubmit: [commandHook()],
|
|
31
33
|
// All tools (replaces prior Skill-only matcher on reinstall).
|
|
32
34
|
PreToolUse: [commandHook()],
|
|
33
35
|
PostToolUse: [commandHook()],
|