@hivelore/cli 0.53.0 → 0.53.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/README.md CHANGED
@@ -6,11 +6,13 @@
6
6
 
7
7
  # @hivelore/cli
8
8
 
9
- > **Hivelore** - repo-native memory and context policy for coding-agent harnesses.
9
+ > **The deterministic policy gate for agent-written code** it refuses the commit that repeats a mistake your team already paid for.
10
10
 
11
- Hivelore makes your team knowledge enforceable inside the harness around AI coding agents. It gives agents a required briefing before work starts, stores decisions/gotchas/failed attempts as version-controlled Markdown, and adds MCP, Git, CI, and wrapper gates so AI-generated changes cannot quietly bypass project policy.
11
+ Hivelore is the **enforcement layer** inside an AI coding-agent harness. A failed approach or gotcha captured via MCP (`mem_tried`) becomes a **validated guard** a regex, an [ast-grep](https://ast-grep.github.io) structural pattern, or a command/test oracle routing your own test — trusted to block only after it is proven silent on the correct code and firing on the mistake. Git hooks and a CI entrypoint then refuse any diff that reintroduces the documented mistake — **same diff, same verdict, on every machine**. The knowledge lives as repo-native Markdown in `.ai/`, versioned with your code and briefed to any agent over MCP; it complements tests, linters, and evals rather than replacing them.
12
12
 
13
- The memory system is the mechanism. The CLI is the control plane: initialize context policy, run agents inside Hivelore, check the repo, and block unsafe workflow states. Hivelore complements tests, linters, evals, and observability by carrying the repo-specific knowledge they cannot infer.
13
+ <p align="center">
14
+ <img src="https://raw.githubusercontent.com/Doucs91/hivelore/main/docs/demo/hivelore-demo.gif" alt="A captured lesson attaches a validated guard; the commit that reintroduces the mistake is refused — same diff, same verdict on every machine" width="720" />
15
+ </p>
14
16
 
15
17
  ---
16
18
 
@@ -20,11 +22,11 @@ The memory system is the mechanism. The CLI is the control plane: initialize con
20
22
  npm install -g @hivelore/cli
21
23
  ```
22
24
 
23
- This installs the `haive` command globally. **The MCP server is bundled** — use `hivelore mcp --stdio` in your AI client (no separate `@hivelore/mcp` install required for normal use).
25
+ This installs the `hivelore` command globally. **The MCP server is bundled** — use `hivelore mcp --stdio` in your AI client (no separate `@hivelore/mcp` install required for normal use).
24
26
 
25
27
  > **Semantic search** (optional): install `@hivelore/embeddings` for local embedding-based search (no data leaves your machine).
26
28
 
27
- > Legacy configs may still use the standalone `haive-mcp` binary from `@hivelore/mcp`; prefer `haive` so CLI and MCP versions always match.
29
+ > Repos installed before the `haive`→`hivelore` rename are migrated automatically on the next `hivelore init` / `hivelore enforce install`; if an old git hook still calls the removed `haive` binary, `hivelore doctor --fix` regenerates it.
28
30
 
29
31
  ---
30
32
 
@@ -3257,7 +3257,7 @@ function oneLine(value) {
3257
3257
  return value.replace(/\s+/g, " ").replace(/"/g, '\\"').trim().slice(0, 120);
3258
3258
  }
3259
3259
  function serverVersion() {
3260
- return true ? "0.53.0" : "dev";
3260
+ return true ? "0.53.1" : "dev";
3261
3261
  }
3262
3262
  var CodeMapInputSchema = {
3263
3263
  file: z21.string().optional().describe("Filter to files whose path contains this substring"),
@@ -4620,7 +4620,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
4620
4620
  };
4621
4621
  }
4622
4622
  var SERVER_NAME = "hivelore";
4623
- var SERVER_VERSION = "0.53.0";
4623
+ var SERVER_VERSION = "0.53.1";
4624
4624
  function jsonResult(data) {
4625
4625
  return {
4626
4626
  content: [
@@ -5613,4 +5613,4 @@ export {
5613
5613
  runHaiveMcpStdio,
5614
5614
  writeMcpRuntimeMarker
5615
5615
  };
5616
- //# sourceMappingURL=chunk-JHHU64YA.js.map
5616
+ //# sourceMappingURL=chunk-FSPKWOJD.js.map
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  readPresumedCorrectTargets,
14
14
  runAstSensorOnContent,
15
15
  runHaiveMcpStdio
16
- } from "./chunk-JHHU64YA.js";
16
+ } from "./chunk-FSPKWOJD.js";
17
17
  import {
18
18
  registerMemoryPending
19
19
  } from "./chunk-OYJKHD22.js";
@@ -3762,7 +3762,7 @@ ${SEED_FOOTER(stack)}` });
3762
3762
 
3763
3763
  // src/commands/init.ts
3764
3764
  var execFileAsync = promisify2(execFile2);
3765
- var HAIVE_GITHUB_ACTION_REF = `v${"0.53.0"}`;
3765
+ var HAIVE_GITHUB_ACTION_REF = `v${"0.53.1"}`;
3766
3766
  var PROJECT_CONTEXT_TEMPLATE = `# Project context
3767
3767
 
3768
3768
  > Generated by \`hivelore init\`. Run \`hivelore init --bootstrap\` to auto-fill from your codebase,
@@ -9948,7 +9948,7 @@ async function buildEnforcementReport(dir, stage, sessionId) {
9948
9948
  findings: [{ severity: "info", code: "enforcement-off", message: "Hivelore enforcement is disabled." }]
9949
9949
  });
9950
9950
  }
9951
- findings.push(...await inspectIntegrationVersions(root, "0.53.0"));
9951
+ findings.push(...await inspectIntegrationVersions(root, "0.53.1"));
9952
9952
  if (config.enforcement?.requireBriefingFirst !== false && stage !== "ci") {
9953
9953
  const hasBriefing = await hasRecentBriefingMarker(paths, sessionId);
9954
9954
  findings.push(hasBriefing ? { severity: "ok", code: "briefing-loaded", message: "A recent Hivelore briefing marker exists." } : {
@@ -11754,7 +11754,7 @@ function registerDoctor(program2) {
11754
11754
  }
11755
11755
  const astSensorCount = sensorMemories.filter((m) => m.memory.frontmatter.sensor?.kind === "ast").length;
11756
11756
  if (astSensorCount > 0) {
11757
- const { astEngineAvailable: astEngineAvailable2 } = await import("./server-CZQE6B4I.js");
11757
+ const { astEngineAvailable: astEngineAvailable2 } = await import("./server-P3WWLLJ3.js");
11758
11758
  if (!await astEngineAvailable2()) {
11759
11759
  findings.push({
11760
11760
  severity: "warn",
@@ -11925,8 +11925,8 @@ function registerDoctor(program2) {
11925
11925
  fix: "Edit .ai/hivelore.config.json: set autoSessionEnd: true (or re-run `hivelore init` without --manual)."
11926
11926
  });
11927
11927
  }
11928
- findings.push(...await collectInstallFindings(root, "0.53.0"));
11929
- findings.push(...await collectMcpRuntimeFindings(paths, "0.53.0"));
11928
+ findings.push(...await collectInstallFindings(root, "0.53.1"));
11929
+ findings.push(...await collectMcpRuntimeFindings(paths, "0.53.1"));
11930
11930
  findings.push(...await collectToolchainFindings(root));
11931
11931
  try {
11932
11932
  const legacyRaw = execSync("haive-mcp --version", {
@@ -11934,7 +11934,7 @@ function registerDoctor(program2) {
11934
11934
  timeout: 3e3,
11935
11935
  stdio: ["ignore", "pipe", "ignore"]
11936
11936
  }).trim();
11937
- const cliVersion = "0.53.0";
11937
+ const cliVersion = "0.53.1";
11938
11938
  if (legacyRaw && legacyRaw !== cliVersion) {
11939
11939
  findings.push({
11940
11940
  severity: "warn",
@@ -13265,7 +13265,7 @@ function registerSensors(program2) {
13265
13265
  }
13266
13266
  }
13267
13267
  const root2 = findProjectRoot39(opts.dir);
13268
- const { proposeSensor } = await import("./server-CZQE6B4I.js");
13268
+ const { proposeSensor } = await import("./server-P3WWLLJ3.js");
13269
13269
  const out = await proposeSensor(
13270
13270
  {
13271
13271
  memory_id: id,
@@ -14353,7 +14353,7 @@ function registerBridges(program2) {
14353
14353
 
14354
14354
  // src/index.ts
14355
14355
  var program = new Command48();
14356
- program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.53.0").option("--advanced", "show maintenance and experimental commands in help").showSuggestionAfterError(true);
14356
+ program.name("hivelore").description("Hivelore - the deterministic policy gate for agent-written code (rules live as repo-native team memory)").version("0.53.1").option("--advanced", "show maintenance and experimental commands in help").showSuggestionAfterError(true);
14357
14357
  registerInit(program);
14358
14358
  registerResolveProject(program);
14359
14359
  registerEnforce(program);
@@ -34,7 +34,7 @@ import {
34
34
  runHaiveMcpStdio,
35
35
  scaffoldTest,
36
36
  writeMcpRuntimeMarker
37
- } from "./chunk-JHHU64YA.js";
37
+ } from "./chunk-FSPKWOJD.js";
38
38
  export {
39
39
  ENFORCEMENT_PROFILE_TOOLS,
40
40
  EXPERIMENTAL_PROFILE_TOOLS,
@@ -71,4 +71,4 @@ export {
71
71
  scaffoldTest,
72
72
  writeMcpRuntimeMarker
73
73
  };
74
- //# sourceMappingURL=server-CZQE6B4I.js.map
74
+ //# sourceMappingURL=server-P3WWLLJ3.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivelore/cli",
3
- "version": "0.53.0",
3
+ "version": "0.53.1",
4
4
  "description": "Hivelore CLI - the deterministic policy gate for agent-written code (rules live as repo-native team memory)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,12 +43,12 @@
43
43
  "picocolors": "^1.1.1",
44
44
  "react": "^19.2.5",
45
45
  "zod": "^3.23.8",
46
- "@hivelore/core": "0.53.0",
47
- "@hivelore/mcp": "0.53.0"
46
+ "@hivelore/mcp": "0.53.1",
47
+ "@hivelore/core": "0.53.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/react": "^19.2.14",
51
- "@hivelore/embeddings": "0.53.0"
51
+ "@hivelore/embeddings": "0.53.1"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@hivelore/embeddings": "*"