tamperward 2.29.17 → 2.29.18

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/dist/cli/index.js CHANGED
@@ -10747,6 +10747,9 @@ function validate(r, where) {
10747
10747
  const v = r.verify;
10748
10748
  const { command, budget, inputs, backend, image } = v;
10749
10749
  if (command !== void 0 && typeof command !== "string") bad2(`verify.command must be a string, got ${show(command)}`);
10750
+ if (typeof command !== "string" || command.trim() === "") {
10751
+ bad2(`verify.command is required and must be a non-empty command when a verify block is present, got ${show(command)}`);
10752
+ }
10750
10753
  if (budget !== void 0 && !(typeof budget === "number" && Number.isFinite(budget) && budget > 0)) {
10751
10754
  bad2(`verify.budget must be a positive number of seconds, got ${show(budget)}`);
10752
10755
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamperward",
3
- "version": "2.29.17",
3
+ "version": "2.29.18",
4
4
  "description": "The deterministic agent-integrity gate. One ruleset, evaluated on the actual diff/commands as a verdict, enforced everywhere a change can be made.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "hexrift",