@hivelore/mcp 0.49.0 → 0.51.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/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/server.js +5 -4
- package/dist/server.js.map +1 -1
- package/package.json +4 -5
package/dist/server.js
CHANGED
|
@@ -3231,7 +3231,7 @@ function oneLine(value) {
|
|
|
3231
3231
|
return value.replace(/\s+/g, " ").replace(/"/g, '\\"').trim().slice(0, 120);
|
|
3232
3232
|
}
|
|
3233
3233
|
function serverVersion() {
|
|
3234
|
-
return true ? "0.
|
|
3234
|
+
return true ? "0.51.0" : "dev";
|
|
3235
3235
|
}
|
|
3236
3236
|
|
|
3237
3237
|
// src/tools/code-map.ts
|
|
@@ -3543,7 +3543,7 @@ function isHaiveOwnedPath(p) {
|
|
|
3543
3543
|
if (p.startsWith(".ai/")) return true;
|
|
3544
3544
|
if (HAIVE_GENERATED_FILES.has(p)) return true;
|
|
3545
3545
|
if (p.startsWith(".cursor/rules/")) return true;
|
|
3546
|
-
if (/^\.github\/workflows\/haive-.*\.ya?ml$/.test(p)) return true;
|
|
3546
|
+
if (/^\.github\/workflows\/(hivelore|haive)-.*\.ya?ml$/.test(p)) return true;
|
|
3547
3547
|
return false;
|
|
3548
3548
|
}
|
|
3549
3549
|
var MAX_FUZZY_SCAN_LINES = 2e4;
|
|
@@ -4696,7 +4696,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
|
|
|
4696
4696
|
// src/server.ts
|
|
4697
4697
|
import { hasRecentBriefingMarker, loadConfigSync } from "@hivelore/core";
|
|
4698
4698
|
var SERVER_NAME = "hivelore";
|
|
4699
|
-
var SERVER_VERSION = "0.
|
|
4699
|
+
var SERVER_VERSION = "0.51.0";
|
|
4700
4700
|
function jsonResult(data) {
|
|
4701
4701
|
return {
|
|
4702
4702
|
content: [
|
|
@@ -4773,7 +4773,8 @@ var MUTATING_TOOLS = /* @__PURE__ */ new Set([
|
|
|
4773
4773
|
function createHaiveServer(options = {}) {
|
|
4774
4774
|
const context = createContext(options);
|
|
4775
4775
|
const config = loadConfigSync(context.paths);
|
|
4776
|
-
const toolProfile = options.env?.
|
|
4776
|
+
const toolProfile = options.env?.HIVELORE_TOOL_PROFILE ?? options.env?.HAIVE_TOOL_PROFILE ?? // legacy env name
|
|
4777
|
+
config.enforcement?.toolProfile ?? "enforcement";
|
|
4777
4778
|
const requireBriefingFirst = options.env?.HAIVE_REQUIRE_BRIEFING_FIRST === "0" ? false : config.enforcement?.requireBriefingFirst ?? true;
|
|
4778
4779
|
let briefingLoaded = false;
|
|
4779
4780
|
const tracker = new SessionTracker(context);
|