@hivelore/cli 0.46.0 → 0.47.0
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-W7EPRKOZ.js → chunk-HBS7PNNY.js} +3 -3
- package/dist/index.js +11 -12
- package/dist/index.js.map +1 -1
- package/dist/{server-V3ZGBTAG.js → server-LNSXYVVW.js} +2 -2
- package/package.json +4 -4
- /package/dist/{chunk-W7EPRKOZ.js.map → chunk-HBS7PNNY.js.map} +0 -0
- /package/dist/{server-V3ZGBTAG.js.map → server-LNSXYVVW.js.map} +0 -0
|
@@ -3235,7 +3235,7 @@ function oneLine(value) {
|
|
|
3235
3235
|
return value.replace(/\s+/g, " ").replace(/"/g, '\\"').trim().slice(0, 120);
|
|
3236
3236
|
}
|
|
3237
3237
|
function serverVersion() {
|
|
3238
|
-
return true ? "0.
|
|
3238
|
+
return true ? "0.47.0" : "dev";
|
|
3239
3239
|
}
|
|
3240
3240
|
var CodeMapInputSchema = {
|
|
3241
3241
|
file: z21.string().optional().describe("Filter to files whose path contains this substring"),
|
|
@@ -4586,7 +4586,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
|
|
|
4586
4586
|
};
|
|
4587
4587
|
}
|
|
4588
4588
|
var SERVER_NAME = "hivelore";
|
|
4589
|
-
var SERVER_VERSION = "0.
|
|
4589
|
+
var SERVER_VERSION = "0.47.0";
|
|
4590
4590
|
function jsonResult(data) {
|
|
4591
4591
|
return {
|
|
4592
4592
|
content: [
|
|
@@ -5578,4 +5578,4 @@ export {
|
|
|
5578
5578
|
runHaiveMcpStdio,
|
|
5579
5579
|
writeMcpRuntimeMarker
|
|
5580
5580
|
};
|
|
5581
|
-
//# sourceMappingURL=chunk-
|
|
5581
|
+
//# sourceMappingURL=chunk-HBS7PNNY.js.map
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
readPresumedCorrectTargets,
|
|
14
14
|
runAstSensorOnContent,
|
|
15
15
|
runHaiveMcpStdio
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HBS7PNNY.js";
|
|
17
17
|
import {
|
|
18
18
|
registerMemoryPending
|
|
19
19
|
} from "./chunk-OYJKHD22.js";
|
|
@@ -3758,7 +3758,7 @@ ${SEED_FOOTER(stack)}` });
|
|
|
3758
3758
|
|
|
3759
3759
|
// src/commands/init.ts
|
|
3760
3760
|
var execFileAsync = promisify2(execFile2);
|
|
3761
|
-
var HAIVE_GITHUB_ACTION_REF = `v${"0.
|
|
3761
|
+
var HAIVE_GITHUB_ACTION_REF = `v${"0.47.0"}`;
|
|
3762
3762
|
var PROJECT_CONTEXT_TEMPLATE = `# Project context
|
|
3763
3763
|
|
|
3764
3764
|
> Generated by \`hivelore init\`. Run \`hivelore init --bootstrap\` to auto-fill from your codebase,
|
|
@@ -9142,7 +9142,7 @@ function registerDoctor(program2) {
|
|
|
9142
9142
|
}
|
|
9143
9143
|
const astSensorCount = sensorMemories.filter((m) => m.memory.frontmatter.sensor?.kind === "ast").length;
|
|
9144
9144
|
if (astSensorCount > 0) {
|
|
9145
|
-
const { astEngineAvailable: astEngineAvailable2 } = await import("./server-
|
|
9145
|
+
const { astEngineAvailable: astEngineAvailable2 } = await import("./server-LNSXYVVW.js");
|
|
9146
9146
|
if (!await astEngineAvailable2()) {
|
|
9147
9147
|
findings.push({
|
|
9148
9148
|
severity: "warn",
|
|
@@ -9313,8 +9313,8 @@ function registerDoctor(program2) {
|
|
|
9313
9313
|
fix: "Edit .ai/haive.config.json: set autoSessionEnd: true (or re-run `hivelore init` without --manual)."
|
|
9314
9314
|
});
|
|
9315
9315
|
}
|
|
9316
|
-
findings.push(...await collectInstallFindings(root, "0.
|
|
9317
|
-
findings.push(...await collectMcpRuntimeFindings(paths, "0.
|
|
9316
|
+
findings.push(...await collectInstallFindings(root, "0.47.0"));
|
|
9317
|
+
findings.push(...await collectMcpRuntimeFindings(paths, "0.47.0"));
|
|
9318
9318
|
findings.push(...await collectToolchainFindings(root));
|
|
9319
9319
|
try {
|
|
9320
9320
|
const legacyRaw = execSync("haive-mcp --version", {
|
|
@@ -9322,7 +9322,7 @@ function registerDoctor(program2) {
|
|
|
9322
9322
|
timeout: 3e3,
|
|
9323
9323
|
stdio: ["ignore", "pipe", "ignore"]
|
|
9324
9324
|
}).trim();
|
|
9325
|
-
const cliVersion = "0.
|
|
9325
|
+
const cliVersion = "0.47.0";
|
|
9326
9326
|
if (legacyRaw && legacyRaw !== cliVersion) {
|
|
9327
9327
|
findings.push({
|
|
9328
9328
|
severity: "warn",
|
|
@@ -9591,9 +9591,8 @@ function collectBehaviourCoverageFindings(codeMap, memories) {
|
|
|
9591
9591
|
const lines = cov.uncoveredAreaSuggestions.slice(0, 4).map(
|
|
9592
9592
|
(s) => s.candidateLessonId ? `hivelore sensors scaffold ${s.candidateLessonId} --red-ref <pre-fix-commit> # guard ${s.area}` : `hivelore memory tried --paths ${s.area}/ --what "<incident>" --why-failed "<why>" # then scaffold --red-ref for ${s.area}`
|
|
9593
9593
|
);
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
fix = "Scaffold a behavioural oracle for each uncovered area:\n " + lines.join("\n ") + more;
|
|
9594
|
+
if (cov.uncoveredAreas.length > 4) lines.push(`# +${cov.uncoveredAreas.length - 4} more uncovered area(s) \u2014 run doctor after guarding these`);
|
|
9595
|
+
fix = lines.join("\n");
|
|
9597
9596
|
} else if (cov.armedOracles < cov.totalOracles || cov.redProvenOracles < cov.armedOracles) {
|
|
9598
9597
|
fix = "Arm warn-only oracles to `block` and re-propose with `--red-ref` so each substantiates its incident.";
|
|
9599
9598
|
}
|
|
@@ -11129,7 +11128,7 @@ async function buildEnforcementReport(dir, stage, sessionId) {
|
|
|
11129
11128
|
findings: [{ severity: "info", code: "enforcement-off", message: "Hivelore enforcement is disabled." }]
|
|
11130
11129
|
});
|
|
11131
11130
|
}
|
|
11132
|
-
findings.push(...await inspectIntegrationVersions(root, "0.
|
|
11131
|
+
findings.push(...await inspectIntegrationVersions(root, "0.47.0"));
|
|
11133
11132
|
if (config.enforcement?.requireBriefingFirst !== false && stage !== "ci") {
|
|
11134
11133
|
const hasBriefing = await hasRecentBriefingMarker(paths, sessionId);
|
|
11135
11134
|
findings.push(hasBriefing ? { severity: "ok", code: "briefing-loaded", message: "A recent Hivelore briefing marker exists." } : {
|
|
@@ -13101,7 +13100,7 @@ function registerSensors(program2) {
|
|
|
13101
13100
|
}
|
|
13102
13101
|
}
|
|
13103
13102
|
const root2 = findProjectRoot39(opts.dir);
|
|
13104
|
-
const { proposeSensor } = await import("./server-
|
|
13103
|
+
const { proposeSensor } = await import("./server-LNSXYVVW.js");
|
|
13105
13104
|
const out = await proposeSensor(
|
|
13106
13105
|
{
|
|
13107
13106
|
memory_id: id,
|
|
@@ -14150,7 +14149,7 @@ function registerBridges(program2) {
|
|
|
14150
14149
|
|
|
14151
14150
|
// src/index.ts
|
|
14152
14151
|
var program = new Command48();
|
|
14153
|
-
program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.
|
|
14152
|
+
program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.47.0").option("--advanced", "show maintenance and experimental commands in help").showSuggestionAfterError(true);
|
|
14154
14153
|
registerInit(program);
|
|
14155
14154
|
registerResolveProject(program);
|
|
14156
14155
|
registerEnforce(program);
|