@hivelore/mcp 0.53.0 → 0.53.2
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 +7 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/server.js +3 -3
- package/dist/server.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -10,13 +10,17 @@
|
|
|
10
10
|
|
|
11
11
|
The MCP server is how agents load team policy before changing code. By default it exposes a small harness-oriented tool surface: briefing, relevant memories, failed-attempt capture, anchor verification, code-map lookup, and pre-commit checks. Larger maintenance and experimental surfaces are opt-in via `HAIVE_TOOL_PROFILE`.
|
|
12
12
|
|
|
13
|
-
Hivelore is not just a memory database. The MCP layer participates in context policy: state-changing Hivelore tools require `get_briefing` or `mem_relevant_to` first, so agents cannot silently skip team context while using Hivelore.
|
|
13
|
+
Hivelore is not just a memory database. The MCP layer participates in context policy: state-changing Hivelore tools require `get_briefing` or `mem_relevant_to` first, so agents cannot silently skip team context while using Hivelore. A lesson captured here (`mem_tried`) can attach a **validated guard** that Git hooks and CI then use to refuse any diff reintroducing the documented mistake — same diff, same verdict, on every machine.
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<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" width="720" />
|
|
17
|
+
</p>
|
|
14
18
|
|
|
15
19
|
---
|
|
16
20
|
|
|
17
21
|
## Install
|
|
18
22
|
|
|
19
|
-
**Recommended:** install only `@hivelore/cli`. The MCP server is **bundled** inside `
|
|
23
|
+
**Recommended:** install only `@hivelore/cli`. The MCP server is **bundled** inside the `hivelore` binary — configure clients with `command: "hivelore"` and `args: ["mcp", "--stdio"]` (see `@hivelore/cli` README).
|
|
20
24
|
|
|
21
25
|
Standalone package (legacy / advanced):
|
|
22
26
|
|
|
@@ -88,7 +92,7 @@ Add to `~/.cursor/mcp.json`:
|
|
|
88
92
|
### VS Code
|
|
89
93
|
|
|
90
94
|
```bash
|
|
91
|
-
code --add-mcp '{"name":"
|
|
95
|
+
code --add-mcp '{"name":"hivelore","command":"hivelore","args":["mcp","--stdio","--root","/absolute/path/to/project"]}'
|
|
92
96
|
```
|
|
93
97
|
|
|
94
98
|
### Project-scoped (auto-detected)
|
package/dist/index.js
CHANGED
|
@@ -3237,7 +3237,7 @@ function oneLine(value) {
|
|
|
3237
3237
|
return value.replace(/\s+/g, " ").replace(/"/g, '\\"').trim().slice(0, 120);
|
|
3238
3238
|
}
|
|
3239
3239
|
function serverVersion() {
|
|
3240
|
-
return true ? "0.53.
|
|
3240
|
+
return true ? "0.53.2" : "dev";
|
|
3241
3241
|
}
|
|
3242
3242
|
|
|
3243
3243
|
// src/tools/code-map.ts
|
|
@@ -4702,7 +4702,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
|
|
|
4702
4702
|
// src/server.ts
|
|
4703
4703
|
import { hasRecentBriefingMarker, loadConfigSync } from "@hivelore/core";
|
|
4704
4704
|
var SERVER_NAME = "hivelore";
|
|
4705
|
-
var SERVER_VERSION = "0.53.
|
|
4705
|
+
var SERVER_VERSION = "0.53.2";
|
|
4706
4706
|
function jsonResult(data) {
|
|
4707
4707
|
return {
|
|
4708
4708
|
content: [
|
|
@@ -5645,7 +5645,7 @@ async function runHaiveMcpStdio(options) {
|
|
|
5645
5645
|
await writeMcpRuntimeMarker(context).catch(() => {
|
|
5646
5646
|
});
|
|
5647
5647
|
console.error(
|
|
5648
|
-
`[
|
|
5648
|
+
`[hivelore-mcp] starting server v${SERVER_VERSION} (project root: ${context.paths.root})`
|
|
5649
5649
|
);
|
|
5650
5650
|
await server.connect(new StdioServerTransport());
|
|
5651
5651
|
}
|
|
@@ -5666,7 +5666,7 @@ if (parsed.versionOnly) {
|
|
|
5666
5666
|
process.exit(0);
|
|
5667
5667
|
}
|
|
5668
5668
|
runHaiveMcpStdio({ root: parsed.root }).catch((err) => {
|
|
5669
|
-
console.error("[
|
|
5669
|
+
console.error("[hivelore-mcp] fatal:", err instanceof Error ? err.message : err);
|
|
5670
5670
|
process.exit(1);
|
|
5671
5671
|
});
|
|
5672
5672
|
//# sourceMappingURL=index.js.map
|