@hivelore/cli 0.39.0 → 0.39.1
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/{chunk-I4VELI5K.js → chunk-YMIQAOFL.js} +28 -5
- package/dist/chunk-YMIQAOFL.js.map +1 -0
- package/dist/index.js +12 -9
- package/dist/index.js.map +1 -1
- package/dist/{server-47VOVJJT.js → server-X6S6KTYJ.js} +2 -2
- package/package.json +4 -4
- package/dist/chunk-I4VELI5K.js.map +0 -1
- /package/dist/{server-47VOVJJT.js.map → server-X6S6KTYJ.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
preCommitCheck,
|
|
12
12
|
readPresumedCorrectTargets,
|
|
13
13
|
runHaiveMcpStdio
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YMIQAOFL.js";
|
|
15
15
|
import {
|
|
16
16
|
registerMemoryPending
|
|
17
17
|
} from "./chunk-OYJKHD22.js";
|
|
@@ -3756,7 +3756,7 @@ ${SEED_FOOTER(stack)}` });
|
|
|
3756
3756
|
|
|
3757
3757
|
// src/commands/init.ts
|
|
3758
3758
|
var execFileAsync = promisify2(execFile2);
|
|
3759
|
-
var HAIVE_GITHUB_ACTION_REF = `v${"0.39.
|
|
3759
|
+
var HAIVE_GITHUB_ACTION_REF = `v${"0.39.1"}`;
|
|
3760
3760
|
var PROJECT_CONTEXT_TEMPLATE = `# Project context
|
|
3761
3761
|
|
|
3762
3762
|
> Generated by \`hivelore init\`. Run \`hivelore init --bootstrap\` to auto-fill from your codebase,
|
|
@@ -9053,7 +9053,7 @@ function registerDoctor(program2) {
|
|
|
9053
9053
|
fix: "Edit .ai/haive.config.json: set autoSessionEnd: true (or re-run `hivelore init` without --manual)."
|
|
9054
9054
|
});
|
|
9055
9055
|
}
|
|
9056
|
-
findings.push(...await collectInstallFindings(root, "0.39.
|
|
9056
|
+
findings.push(...await collectInstallFindings(root, "0.39.1"));
|
|
9057
9057
|
findings.push(...await collectToolchainFindings(root));
|
|
9058
9058
|
try {
|
|
9059
9059
|
const legacyRaw = execSync("haive-mcp --version", {
|
|
@@ -9061,7 +9061,7 @@ function registerDoctor(program2) {
|
|
|
9061
9061
|
timeout: 3e3,
|
|
9062
9062
|
stdio: ["ignore", "pipe", "ignore"]
|
|
9063
9063
|
}).trim();
|
|
9064
|
-
const cliVersion = "0.39.
|
|
9064
|
+
const cliVersion = "0.39.1";
|
|
9065
9065
|
if (legacyRaw && legacyRaw !== cliVersion) {
|
|
9066
9066
|
findings.push({
|
|
9067
9067
|
severity: "warn",
|
|
@@ -9179,8 +9179,11 @@ function emit(findings, opts, repairs = []) {
|
|
|
9179
9179
|
}
|
|
9180
9180
|
const actions = nextActions(classified);
|
|
9181
9181
|
if (actions.length > 0) {
|
|
9182
|
-
console.log(ui.bold("
|
|
9183
|
-
for (const action of actions.slice(0, 5))
|
|
9182
|
+
console.log(ui.bold("Suggested commands"));
|
|
9183
|
+
for (const action of actions.slice(0, 5)) {
|
|
9184
|
+
const isCommand = /^(hivelore|haive|git|npm|pnpm|npx|node|gh|rm|code|cd)\b/.test(action);
|
|
9185
|
+
console.log(` ${ui.dim(isCommand ? "$" : "\u2192")} ${action}`);
|
|
9186
|
+
}
|
|
9184
9187
|
} else if (!opts.fix && classified.some((f) => f.fix)) {
|
|
9185
9188
|
ui.info("Re-run with --fix to see suggested commands.");
|
|
9186
9189
|
}
|
|
@@ -10782,7 +10785,7 @@ async function buildEnforcementReport(dir, stage, sessionId) {
|
|
|
10782
10785
|
findings: [{ severity: "info", code: "enforcement-off", message: "Hivelore enforcement is disabled." }]
|
|
10783
10786
|
});
|
|
10784
10787
|
}
|
|
10785
|
-
findings.push(...await inspectIntegrationVersions(root, "0.39.
|
|
10788
|
+
findings.push(...await inspectIntegrationVersions(root, "0.39.1"));
|
|
10786
10789
|
if (config.enforcement?.requireBriefingFirst !== false && stage !== "ci") {
|
|
10787
10790
|
const hasBriefing = await hasRecentBriefingMarker(paths, sessionId);
|
|
10788
10791
|
findings.push(hasBriefing ? { severity: "ok", code: "briefing-loaded", message: "A recent Hivelore briefing marker exists." } : {
|
|
@@ -12546,7 +12549,7 @@ function registerSensors(program2) {
|
|
|
12546
12549
|
return;
|
|
12547
12550
|
}
|
|
12548
12551
|
const root2 = findProjectRoot39(opts.dir);
|
|
12549
|
-
const { proposeSensor } = await import("./server-
|
|
12552
|
+
const { proposeSensor } = await import("./server-X6S6KTYJ.js");
|
|
12550
12553
|
const out = await proposeSensor(
|
|
12551
12554
|
{
|
|
12552
12555
|
memory_id: id,
|
|
@@ -13457,7 +13460,7 @@ function registerBridges(program2) {
|
|
|
13457
13460
|
|
|
13458
13461
|
// src/index.ts
|
|
13459
13462
|
var program = new Command48();
|
|
13460
|
-
program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.39.
|
|
13463
|
+
program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.39.1").option("--advanced", "show maintenance and experimental commands in help").showSuggestionAfterError(true);
|
|
13461
13464
|
registerInit(program);
|
|
13462
13465
|
registerResolveProject(program);
|
|
13463
13466
|
registerEnforce(program);
|