@tayomi/deterministic-gates 0.4.1 → 0.4.2

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.
@@ -9,7 +9,7 @@
9
9
  "name": "deterministic-gates",
10
10
  "source": "./",
11
11
  "description": "Gates that run on what each turn changed and send the agent back until they pass.",
12
- "version": "0.4.1"
12
+ "version": "0.4.2"
13
13
  }
14
14
  ]
15
15
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "deterministic-gates",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "description": "Deterministic backpressure for coding agents: gates that run on what each turn changed and send the agent back until they pass.",
6
6
  "author": {
7
7
  "name": "Pierre Moati",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deterministic-gates",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Deterministic backpressure for coding agents: gates that run on what each turn changed and send the agent back until they pass.",
5
5
  "author": {
6
6
  "name": "Pierre Moati",
package/dist/src/cli.js CHANGED
@@ -14,8 +14,8 @@ function readStdin() {
14
14
  return "";
15
15
  }
16
16
  }
17
- /** What the command prints when it is called with words it does not know. */
18
- export const USAGE = "Usage: node src/cli.ts hook <session-start|turn-start|check>, or node src/cli.ts check";
17
+ /** What the command prints when it is called with words it does not know, named by the bin of the npm package. */
18
+ export const USAGE = "Usage: deterministic-gates check, or deterministic-gates hook <session-start|turn-start|check>";
19
19
  // The helpers of the engine run only on import.meta.main, which came with Node 24.2: below, they are a silent green.
20
20
  const [major = 0, minor = 0] = process.versions.node.split(".").map(Number);
21
21
  const oldNode = major < 24 || (major === 24 && minor < 2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tayomi/deterministic-gates",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Deterministic backpressure for coding agents: gates that run on what each turn changed and send the agent back until they pass.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/cli.ts CHANGED
@@ -15,8 +15,8 @@ function readStdin(): string {
15
15
  }
16
16
  }
17
17
 
18
- /** What the command prints when it is called with words it does not know. */
19
- export const USAGE = "Usage: node src/cli.ts hook <session-start|turn-start|check>, or node src/cli.ts check";
18
+ /** What the command prints when it is called with words it does not know, named by the bin of the npm package. */
19
+ export const USAGE = "Usage: deterministic-gates check, or deterministic-gates hook <session-start|turn-start|check>";
20
20
 
21
21
  // The helpers of the engine run only on import.meta.main, which came with Node 24.2: below, they are a silent green.
22
22
  const [major = 0, minor = 0] = process.versions.node.split(".").map(Number);