@hasna/hooks 0.11.5 → 0.11.6
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/index.js +1 -1
- package/dist/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 and 0.158.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/index.js
CHANGED
|
@@ -35254,7 +35254,7 @@ var init_codex_safety_check = __esm(() => {
|
|
|
35254
35254
|
init_native_readiness_command();
|
|
35255
35255
|
init_native_safety2();
|
|
35256
35256
|
init_native_readiness();
|
|
35257
|
-
versions = new Set(["codex-cli 0.153.0", "codex-cli 0.154.0", "codex-cli 0.154.0-alpha.6.1", "codex-cli 0.155.0", "codex-cli 0.155.1", "codex-cli 0.156.1", "codex-cli 0.157.0", "codex-cli 0.157.1"]);
|
|
35257
|
+
versions = new Set(["codex-cli 0.153.0", "codex-cli 0.154.0", "codex-cli 0.154.0-alpha.6.1", "codex-cli 0.155.0", "codex-cli 0.155.1", "codex-cli 0.156.1", "codex-cli 0.157.0", "codex-cli 0.157.1", "codex-cli 0.158.0"]);
|
|
35258
35258
|
CodexSafetyError = class CodexSafetyError extends Error {
|
|
35259
35259
|
code;
|
|
35260
35260
|
constructor(code2) {
|
package/dist/index.js
CHANGED
|
@@ -41351,7 +41351,7 @@ async function verifyNativeSafetyCommand(command, home = homedir7()) {
|
|
|
41351
41351
|
}
|
|
41352
41352
|
|
|
41353
41353
|
// src/lib/codex-safety-check.ts
|
|
41354
|
-
var versions = new Set(["codex-cli 0.153.0", "codex-cli 0.154.0", "codex-cli 0.154.0-alpha.6.1", "codex-cli 0.155.0", "codex-cli 0.155.1", "codex-cli 0.156.1", "codex-cli 0.157.0", "codex-cli 0.157.1"]);
|
|
41354
|
+
var versions = new Set(["codex-cli 0.153.0", "codex-cli 0.154.0", "codex-cli 0.154.0-alpha.6.1", "codex-cli 0.155.0", "codex-cli 0.155.1", "codex-cli 0.156.1", "codex-cli 0.157.0", "codex-cli 0.157.1", "codex-cli 0.158.0"]);
|
|
41355
41355
|
var matcher = "^(Bash|apply_patch|ApplyPatch|functions\\.apply_patch)$";
|
|
41356
41356
|
|
|
41357
41357
|
class CodexSafetyError extends Error {
|
package/package.json
CHANGED