@appchy/jarvis 0.1.98 → 0.1.99

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/bin.js CHANGED
@@ -1395,8 +1395,16 @@ var SCRIPT = `#!/bin/sh
1395
1395
  ${SIGNATURE} \u2014 keeps this repo's map current, so what an agent plans against is what is here.
1396
1396
  # Detached and silenced: git waits for a hook's output streams to close, so a build left on stdout
1397
1397
  # would hold up every commit by the length of a build. Never fails a commit.
1398
+ #
1399
+ # Run at the lowest priority the machine offers. A code commit still costs a real extract, and one
1400
+ # arriving at normal priority the instant you commit is felt as the machine going away for half a
1401
+ # minute \u2014 which is how a background job becomes something people turn off. Borrowed from the
1402
+ # docdoc-era hook in crispy, which had this right first.
1398
1403
  command -v jarvis >/dev/null 2>&1 || exit 0
1399
- (jarvis build graph >/dev/null 2>&1 &) >/dev/null 2>&1
1404
+ NICE=""
1405
+ command -v nice >/dev/null 2>&1 && NICE="nice -n 19"
1406
+ command -v taskpolicy >/dev/null 2>&1 && NICE="taskpolicy -b $NICE"
1407
+ ( $NICE jarvis build graph >/dev/null 2>&1 & ) >/dev/null 2>&1
1400
1408
  exit 0
1401
1409
  `;
1402
1410
  function installCommitHook(repoRoot) {
@@ -10252,7 +10260,7 @@ import { createRequire as createRequire2 } from "module";
10252
10260
  var _require = createRequire2(import.meta.url);
10253
10261
  var VERSION2 = _require("../package.json").version ?? "0.0.0";
10254
10262
  var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
10255
- var SHA = "43aad76";
10263
+ var SHA = "dd93b07";
10256
10264
  var BUILT = "2026-09-11";
10257
10265
  var BUILD = SHA ?? "source";
10258
10266
  var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;