@appchy/jarvis 0.1.97 → 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 +11 -3
- package/dist/bin.js.map +1 -1
- package/dist/data/mcp.mjs +1 -1
- package/package.json +3 -3
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
|
-
|
|
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) {
|
|
@@ -7118,7 +7126,7 @@ async function freshness(ctx) {
|
|
|
7118
7126
|
reason2 = `this checkout is ${origin?.behindBy} commit(s) behind ${origin?.ref} \u2014 the map and the board both describe an older world than the origin's. Pull, then \`jarvis build graph\`.`;
|
|
7119
7127
|
} else if (originUnknown) {
|
|
7120
7128
|
verdict = "unknown";
|
|
7121
|
-
reason2 = `cannot reach ${origin?.ref}, so whether this is current
|
|
7129
|
+
reason2 = `cannot reach ${origin?.ref}, so I cannot tell whether this is current \u2014 UNKNOWN rather than out of date, and rebuilding cannot answer it${origin?.lastSyncedIso ? `. Last heard from a remote at ${origin.lastSyncedIso}` : ", and this clone has never fetched"}.`;
|
|
7122
7130
|
} else if (behindHead) {
|
|
7123
7131
|
verdict = "stale";
|
|
7124
7132
|
reason2 = `${graphRel} is ${describeBehind(behindHeadBy, behindHeadForMs)} \u2014 run \`jarvis build graph\` (the incremental update \u2014 it re-extracts in place), then traces and impact are trustworthy again. \`--rebuild\` re-extracts from scratch and relabels; it is for a graph still wrong after a plain build, not for ordinary drift.`;
|
|
@@ -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 = "
|
|
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" : ""}`;
|