@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 CHANGED
@@ -3225,7 +3225,7 @@ function oneLine(value) {
3225
3225
  return value.replace(/\s+/g, " ").replace(/"/g, '\\"').trim().slice(0, 120);
3226
3226
  }
3227
3227
  function serverVersion() {
3228
- return true ? "0.49.0" : "dev";
3228
+ return true ? "0.51.0" : "dev";
3229
3229
  }
3230
3230
 
3231
3231
  // src/tools/code-map.ts
@@ -3537,7 +3537,7 @@ function isHaiveOwnedPath(p) {
3537
3537
  if (p.startsWith(".ai/")) return true;
3538
3538
  if (HAIVE_GENERATED_FILES.has(p)) return true;
3539
3539
  if (p.startsWith(".cursor/rules/")) return true;
3540
- if (/^\.github\/workflows\/haive-.*\.ya?ml$/.test(p)) return true;
3540
+ if (/^\.github\/workflows\/(hivelore|haive)-.*\.ya?ml$/.test(p)) return true;
3541
3541
  return false;
3542
3542
  }
3543
3543
  var MAX_FUZZY_SCAN_LINES = 2e4;
@@ -4690,7 +4690,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
4690
4690
  // src/server.ts
4691
4691
  import { hasRecentBriefingMarker, loadConfigSync } from "@hivelore/core";
4692
4692
  var SERVER_NAME = "hivelore";
4693
- var SERVER_VERSION = "0.49.0";
4693
+ var SERVER_VERSION = "0.51.0";
4694
4694
  function jsonResult(data) {
4695
4695
  return {
4696
4696
  content: [
@@ -4767,7 +4767,8 @@ var MUTATING_TOOLS = /* @__PURE__ */ new Set([
4767
4767
  function createHaiveServer(options = {}) {
4768
4768
  const context = createContext(options);
4769
4769
  const config = loadConfigSync(context.paths);
4770
- const toolProfile = options.env?.HAIVE_TOOL_PROFILE ?? config.enforcement?.toolProfile ?? "enforcement";
4770
+ const toolProfile = options.env?.HIVELORE_TOOL_PROFILE ?? options.env?.HAIVE_TOOL_PROFILE ?? // legacy env name
4771
+ config.enforcement?.toolProfile ?? "enforcement";
4771
4772
  const requireBriefingFirst = options.env?.HAIVE_REQUIRE_BRIEFING_FIRST === "0" ? false : config.enforcement?.requireBriefingFirst ?? true;
4772
4773
  let briefingLoaded = false;
4773
4774
  const tracker = new SessionTracker(context);