@hasna/hooks 0.11.5 → 0.11.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/README.md +6 -2
- package/bin/hooks-mcp.js +2 -2
- package/bin/index.js +114 -585
- package/bin/serve.js +9 -9
- package/dist/index.js +13 -13
- package/dist/sdk/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,8 +205,12 @@ The command accepts a native Linux ELF or macOS Mach-O executable for the host
|
|
|
205
205
|
architecture (arm64 or x64); script launchers are refused before execution. When
|
|
206
206
|
Codex is installed through npm, pass the platform package's native binary rather
|
|
207
207
|
than its JavaScript launcher. Executable ownership, permissions, ancestry and
|
|
208
|
-
bytes are checked. Supported protocol versions are 0.153.0, 0.154.0,
|
|
209
|
-
0.
|
|
208
|
+
bytes are checked. Supported protocol versions are 0.153.0, 0.154.0,
|
|
209
|
+
0.154.0-alpha.6.1, 0.155.0, 0.155.1, 0.156.1, 0.157.0, 0.157.1, 0.158.0 and 0.159.0;
|
|
210
|
+
other versions refuse pending compatibility validation. Updating Codex can
|
|
211
|
+
therefore require a compatible Hooks release before native safety verification
|
|
212
|
+
and trust provisioning succeed. Keep existing hook definitions and trust intact
|
|
213
|
+
when this check reports `native_unsupported`.
|
|
210
214
|
The version probe has a five-second forced timeout and native discovery a
|
|
211
215
|
fifteen-second lifetime budget. Neither step restarts an existing agent.
|
|
212
216
|
|
package/bin/hooks-mcp.js
CHANGED
|
@@ -1419,7 +1419,7 @@ var init_redact = __esm(() => {
|
|
|
1419
1419
|
];
|
|
1420
1420
|
});
|
|
1421
1421
|
|
|
1422
|
-
//
|
|
1422
|
+
// ../../../../validation/build/apps/hooks/node_modules/@hasna/contracts/dist/client/transport.js
|
|
1423
1423
|
import { isIP } from "net";
|
|
1424
1424
|
import { spawnSync } from "child_process";
|
|
1425
1425
|
import { closeSync as closeSync22, fstatSync as fstatSync22, openSync as openSync22, readFileSync as readFileSync22 } from "fs";
|
|
@@ -3342,7 +3342,7 @@ function writeHookSettingsPreimage(path, settings, before) {
|
|
|
3342
3342
|
// src/lib/claude-skills-coordination.ts
|
|
3343
3343
|
import { createHash as createHash6 } from "crypto";
|
|
3344
3344
|
|
|
3345
|
-
//
|
|
3345
|
+
// ../../../../validation/build/apps/hooks/node_modules/@hasna/skills/dist/index.js
|
|
3346
3346
|
import { existsSync as existsSync10 } from "fs";
|
|
3347
3347
|
import { homedir as homedir5 } from "os";
|
|
3348
3348
|
import { join as join9, resolve as resolve3 } from "path";
|